Commit Graph
1222 Commits
Author SHA1 Message Date
Julius Marminge d4511012f4 servicify 2026-04-17 16:44:48 -07:00
Julius Marminge b1b7907853 Settle pending user input on session stop
- Cancel pending approvals when stopping a Cursor session
- Resolve pending user-input waits so sendTurn can exit cleanly
- Add regression coverage for both stop paths
2026-04-17 16:44:48 -07:00
Julius Marminge 442ea99691 Constrain ACP runtime event source types
- derive ACP adapter raw sources from shared runtime event sources
- keep canonical request mapping typed consistently
2026-04-17 16:44:48 -07:00
Julius Marminge af0323abac Extract ACP runtime event helpers and preserve model slugs
- move ACP runtime event mapping into shared helpers
- keep unrecognized Cursor ACP model slugs unchanged
2026-04-17 16:44:48 -07:00
Julius Marminge b965cc168f Handle cancelled Cursor ACP turns and simplify model ids
- propagate session cancel into pending ACP approvals
- emit cancelled turn state when interruptions resolve as cancelled
- stop adding default ACP config traits for built-in Cursor models
2026-04-17 16:44:48 -07:00
Julius Marminge 85905d5da2 small nit 2026-04-17 16:44:48 -07:00
Julius Marminge c5e24e9a13 tidy up effect-acp 2026-04-17 16:44:48 -07:00
Julius Marmingeandcodex eedac90be5 Log ACP requests and preserve turn-start failures
- add request and protocol logging for ACP sessions
- validate session config values before sending them
- keep provider turn-start failures on the thread session
- add coverage for ACP runtime and orchestration errors

Co-authored-by: codex <[email protected]>
2026-04-17 16:44:48 -07:00
Julius Marminge 8c358a89ef nit 2026-04-17 16:44:48 -07:00
Julius Marminge 7afe841e21 improve sdk and use it 2026-04-17 16:44:48 -07:00
Julius Marminge eb44e0f8e4 Add ACP agent registry support
- Wire ACP agent registry and client into server startup
- Mark ACP session failures on active sendTurn errors
- Add ACP adapter coverage and native event logging
2026-04-17 16:44:48 -07:00
Julius Marminge 93338cd619 kewl 2026-04-17 16:43:47 -07:00
Julius Marminge 74a6a32df7 nit 2026-04-17 16:43:47 -07:00
Julius Marminge 8c5fc4e690 kewl 2026-04-17 16:43:47 -07:00
Julius Marminge e39fa96421 rm unused test 2026-04-17 16:43:47 -07:00
Julius Marminge d2dea0f22c move claude model id lookup 2026-04-17 16:43:47 -07:00
Julius Marminge 4dd3e5f098 kewl 2026-04-17 16:43:47 -07:00
Julius Marminge 02596b6de6 use constructors 2026-04-17 16:43:47 -07:00
Julius Marminge b6d2ad82a8 fix effect lsp issues 2026-04-17 16:43:47 -07:00
Julius Marminge 27174db68b Add Cursor text generation and model mapping
- route Cursor commit/PR/branch generation through the agent CLI
- resolve separate ACP and agent model IDs for Cursor models
- improve git action failure logging and surface command output
2026-04-17 16:43:47 -07:00
Julius Marminge dbcc55637b fix spawning 2026-04-17 16:43:35 -07:00
Julius Marminge 163025b615 fix picker 2026-04-17 16:43:35 -07:00
Julius Marminge 87668ec2b7 Normalize provider model IDs and Cursor options
- Canonicalize Claude and Cursor dispatch model slugs
- Update provider model selection, defaults, and tests
2026-04-17 16:43:35 -07:00
Julius Marminge a07ad3a632 rm unused probe 2026-04-17 16:43:35 -07:00
Julius Marminge d4bd1ccb4f Probe Cursor ACP session setup in one script
- Add a standalone ACP probe script for initialize/auth/session/new
- Switch Cursor provider status checks to `agent about` for version and auth
- Log the ACP session/new result in the probe test
2026-04-17 16:43:35 -07:00
Julius Marminge 988453993e rm probes 2026-04-17 16:43:35 -07:00
Julius Marminge 04d6d12c8c Refactor Cursor model handling in ChatView and ProviderModelPicker
- Removed unused CursorModelOptions and related logic from ChatView.
- Updated model selection handling to map concrete Cursor slugs to server-provided options.
- Simplified ProviderModelPicker by eliminating unnecessary cursor-related state and logic.
- Adjusted tests to reflect changes in model selection behavior for Cursor provider.

Made-with: Cursor
2026-04-17 16:43:35 -07:00
Julius Marminge bab95e796d Switch Cursor model selection to in-session via session/set_config_option
Instead of restarting the ACP process when the model changes mid-thread,
use session/set_config_option to switch models within a live session.
Update sessionModelSwitch to "in-session" and add probe tests to verify
the real agent supports this method.

Made-with: Cursor
2026-04-17 16:43:35 -07:00
Julius Marminge 96a9a73f1d Use server-driven ModelCapabilities for Cursor traits
Replace the hardcoded client-side CURSOR_MODEL_CAPABILITY_BY_FAMILY map
with server-provided ModelCapabilities, matching the Codex/Claude pattern.

- Add CursorProvider snapshot service with BUILT_IN_MODELS and per-model
  capabilities; register it in ProviderRegistry alongside Codex/Claude.
- Delete CursorTraitsPicker and route Cursor through the generic
  TraitsPicker, adding cursor support for the reasoning/effort key.
- Add normalizeCursorModelOptionsWithCapabilities to providerModels.

Made-with: Cursor
2026-04-17 16:43:35 -07:00
Julius Marminge 1561c77c5c Add Cursor provider session and model selection support
- Introduce Cursor ACP adapter and model selection probe
- Preserve cursor session resume state across model changes
- Propagate provider and runtime tool metadata through orchestration and UI

Made-with: Cursor
2026-04-17 16:43:35 -07:00
9c64f12ea0 Add ACP support with Cursor provider (#1355)
Co-authored-by: codex <[email protected]>
Co-authored-by: Julius Marminge <[email protected]>
Co-authored-by: Cursor Agent <[email protected]>
Co-authored-by: cursor[bot] <206951365+cursor[bot]@users.noreply.github.com>
2026-04-17 16:21:31 -07:00
Matt Van HornandMatt Van Horn 0f184c28b0 fix(web): use capture-phase keydown listener so CTRL+J toggles terminal from terminal focus on Windows (#2113) (#2142)
Co-authored-by: Matt Van Horn <[email protected]>
2026-04-17 23:07:04 +00:00
Julius Marminge a3b1df5224 Add Claude Opus 4.5 to built-in Claude models (#2143) 2026-04-17 16:02:41 -07:00
4e0c003e78 fix(web): allow deleting non-empty projects from the warning toast (#1264)
Co-authored-by: Julius Marminge <[email protected]>
Co-authored-by: codex <[email protected]>
2026-04-17 15:05:56 -07:00
Utkarsh Patil 60387f67e9 fix: show restore defaults only on General settings (#1710) 2026-04-17 13:49:18 -07:00
ce94feeea1 feat: add opencode provider support (#1758)
Co-authored-by: Julius Marminge <[email protected]>
Co-authored-by: codex <[email protected]>
Co-authored-by: Claude Opus 4.6 <[email protected]>
2026-04-17 13:31:41 -07:00
Ariaj 39ca3ee858 fix(web): bypass xterm for global terminal shortcuts (#1580) 2026-04-17 13:11:04 -07:00
721b6b4c6f Preserve provider bindings when stopping sessions (#2125)
Co-authored-by: Julius Marminge <[email protected]>
Co-authored-by: codex <[email protected]>
2026-04-17 11:27:12 -07:00
Julius Marminge 40009735ee Extract backend startup readiness coordination (#2133) 2026-04-17 11:09:26 -07:00
Julius Marminge f297e30e4c Clean up invalid pending approval projections (#2106) 2026-04-16 23:26:28 -07:00
Evan YuandJulius Marminge a7a44d0662 Fix Windows PATH hydration and repair (#1729)
Co-authored-by: Julius Marminge <[email protected]>
2026-04-17 06:12:17 +00:00
Jono Kemball d8d329691a Show thread status in command palette (#2107) 2026-04-16 22:21:57 -07:00
Julius Marminge 8dba2d6484 Adopt Node-native TypeScript for desktop and server (#2098) 2026-04-16 22:14:35 -07:00
Nathan HarmonandJulius Marminge ed6b7fbf27 fix(server): honor gitignored files in workspace search (#2078)
Co-authored-by: Julius Marminge <[email protected]>
2026-04-16 21:19:14 -07:00
t3-code[bot] 2d87574e62 chore(release): prepare v0.0.20 2026-04-17 03:00:57 +00:00
Julius Marminge 549043863a fix: guard against missing sidebarProjectGroupingOverrides in client settings (#2099) 2026-04-17 02:36:39 +00:00
m9d5m d90e15d1d7 fix(server): extend negative repository identity cache ttl (#2083) 2026-04-16 16:57:39 -07:00
e0117b271a Fix Claude Process leak[MEMORY INTENSIVE], archiving, and stale claude session monitoring. (#2042)
Co-authored-by: Julius Marminge <[email protected]>
Co-authored-by: codex <[email protected]>
2026-04-16 16:30:56 -07:00
188a40c315 feat: configurable project grouping (#2055)
Co-authored-by: tlh38 <[email protected]>
Co-authored-by: Julius Marminge <[email protected]>
Co-authored-by: codex <[email protected]>
2026-04-16 16:29:25 -07:00
Utkarsh Patil 7a08fcf2e8 fix(server): drop stale text generation options when resetting text-gen model selection (#2076) 2026-04-16 20:01:35 +00:00