Commit Graph
168 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 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 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 d2dea0f22c move claude model id lookup 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 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 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
Julius Marminge a3b1df5224 Add Claude Opus 4.5 to built-in Claude models (#2143) 2026-04-17 16:02:41 -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
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 8dba2d6484 Adopt Node-native TypeScript for desktop and server (#2098) 2026-04-16 22:14:35 -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
Ibrahim ElkamaliandJulius Marminge 3e07f5a6a4 feat: add Claude Opus 4.7 to built-in models (#2072)
Co-authored-by: Julius Marminge <[email protected]>
2026-04-16 11:11:59 -07:00
AndreiandJulius Marminge 5e1dd56d2c feat: add Launch Args setting for Claude provider (#1971)
Co-authored-by: Julius Marminge <[email protected]>
2026-04-15 21:26:36 +00:00
0d280262f6 fix(claude): emit plan events for TodoWrite during input streaming (#1541)
Co-authored-by: Claude Opus 4.6 (1M context) <[email protected]>
Co-authored-by: Julius Marminge <[email protected]>
Co-authored-by: codex <[email protected]>
2026-04-13 19:35:40 -07:00
008ac5c3e5 Cache provider status and gate desktop startup (#1962)
Co-authored-by: Cursor Agent <[email protected]>
Co-authored-by: codex <[email protected]>
2026-04-13 15:29:08 -07:00
7a008461fc fix: Align token usage metrics for both Claude and Codex (#1943)
Co-authored-by: Julius Marminge <[email protected]>
Co-authored-by: Claude Opus 4.6 (1M context) <[email protected]>
2026-04-12 01:03:36 -07:00
58e5f714b0 Add provider skill discovery (#1905)
Co-authored-by: Cursor Agent <[email protected]>
Co-authored-by: codex <[email protected]>
Co-authored-by: cursor[bot] <206951365+cursor[bot]@users.noreply.github.com>
2026-04-10 17:19:23 -07:00
Julius Marminge 678f827f0b Remove Claude subscription-based model adjustment (#1899) 2026-04-10 15:00:47 -07:00
Julius Marmingeandcodex e3004ae806 Harden secret store and resolve catalog overrides (#1891)
Co-authored-by: codex <[email protected]>
2026-04-10 13:09:39 -07:00
3405a64dd8 bump effect to latest beta (#1866)
Co-authored-by: Claude Opus 4.6 (1M context) <[email protected]>
Co-authored-by: Julius Marminge <[email protected]>
Co-authored-by: codex <[email protected]>
2026-04-10 01:51:31 -07:00
7372184d06 fix: map runtime modes to correct permission levels (#1587)
Co-authored-by: Julius Marminge <[email protected]>
Co-authored-by: codex <[email protected]>
2026-04-09 18:10:05 +00:00
Julius Marminge 11d456f6c8 Support multi-select pending user inputs (#1797) 2026-04-06 16:08:46 -07:00
Julius Marminge 226ed997e1 Assign default capabilities to Codex custom models (#1793) 2026-04-06 15:29:11 -07:00
Julius Marmingeandcodex 740d7a3216 Use lazy stream accessors for provider runtime events (#1746)
Co-authored-by: codex <[email protected]>
2026-04-04 23:22:55 -07:00
Julius Marmingeandcodex 752f96e9ae Add server observability tracing and metrics (#1697)
Co-authored-by: codex <[email protected]>
2026-04-03 02:30:51 +00:00
Julius Marmingeandcodex 556a195c9d [codex] migrate Effect.fn in apps/server/src/provider/Layers/ProviderService.ts (#1639)
Co-authored-by: codex <[email protected]>
2026-04-01 16:19:38 +00:00
Julius Marmingeandcodex 80b282ece7 [codex] migrate Effect.fn in apps/server/src/provider/Layers/ProviderRegistry.ts (#1638)
Co-authored-by: codex <[email protected]>
2026-04-01 16:19:36 +00:00
Julius Marmingeandcodex d15075b32d [codex] migrate Effect.fn in apps/server/src/provider/Layers/EventNdjsonLogger.ts (#1636)
Co-authored-by: codex <[email protected]>
2026-04-01 16:14:55 +00:00
Julius Marmingeandcodex c6ff7c0d5b [codex] migrate Effect.fn in apps/server/src/provider/makeManagedServerProvider.ts (#1640)
Co-authored-by: codex <[email protected]>
2026-04-01 16:03:08 +00:00
Julius Marmingeandcodex a9e5a84c03 [codex] migrate Effect.fn in apps/server/src/provider/Layers/ProviderAdapterRegistry.ts (#1637)
Co-authored-by: codex <[email protected]>
2026-04-01 08:58:04 -07:00
Julius Marmingeandcodex 67ca528fea [codex] migrate Effect.fn in apps/server/src/provider/Layers/ClaudeProvider.ts (#1634)
Co-authored-by: codex <[email protected]>
2026-04-01 15:57:31 +00:00