Commit Graph
286 Commits
Author SHA1 Message Date
Julius Marmingeandcodex 9256400b27 fix(acp): make xai cancellation reliable
Cancel pending prompt completions without restarting ACP, and keep text-only monitor acknowledgements tracked as background work.

Co-authored-by: codex <[email protected]>
2026-08-07 13:26:25 +02:00
Julius Marmingeandcodex 795a5b0258 fix(server): enforce ACP auth and preserve fork provenance
Co-authored-by: codex <[email protected]>
2026-08-07 13:25:10 +02:00
Julius Marmingeandcodex e50b801e85 fix(orchestration): clarify agent delegation and scheduling
Co-authored-by: codex <[email protected]>
2026-08-07 13:24:47 +02:00
Julius Marmingeandcodex 2e2b3b2be9 fix(grok): align ACP extensions with open source runtime
Co-authored-by: codex <[email protected]>
2026-08-07 13:24:47 +02:00
Mike Olsonandcodex f0ac9e5fea fix(orchestrator): harden Grok v2 lifecycle (#3578)
Integrate the current Grok settlement, monitor/subagent lifecycle, interrupt containment, steer visibility, and image support stack into the orchestration-v2 branch.

Co-authored-by: codex <[email protected]>
2026-08-07 13:24:47 +02:00
Julius Marmingeandcodex 8686703d5f fix(acp): bind MCP credentials to activated threads
Passes the current target thread MCP configuration through ACP load, resume, and fork requests instead of reusing the credentials captured when the provider process opened.

Addresses https://github.com/pingdotgg/t3code/pull/2829#discussion_r3507807130

Co-authored-by: codex <[email protected]>
2026-08-07 13:24:47 +02:00
Mike Olson b5d16c1b39 feat(orchestrator): Add shared provider continuation and background item plumbing
Introduce a provider-agnostic continuation request queue, worker, and optional
hasPendingBackgroundWork idle pin so adapters can surface post-settle native
wake traffic as first-class runs. No adapter offers continuations here; the
per-provider specialty commits wire attach mode.

Also fix shared run event ingestion dropping late background item
completions. The per-run provider event fiber stopped as soon as the root
turn terminalized and no child provider turns or subagent rows remained
active. Background-capable turn items (background commands, monitors,
subagent rows) that complete after root settlement then lost their trailing
turn_item.updated: the projection kept the item running forever even when
the underlying work (and any wake) succeeded.

Track non-terminal command_execution, dynamic_tool, and subagent turn items
owned by the run or an owned child thread, and keep ingesting until they
terminalize, gated on the root terminal status being completed so
interrupted and failed runs do not pin the stream open.

Repro evidence: Codex emits subagent.updated(completed) before the trailing
turn_item.updated(completed), so post-settle subagent items stuck at running
in the UI; background command items never completed in the
codex-background-exec-wake projection even though the wake run fired. The
same stuck-running signature appears on the Claude background Bash wake and
Grok monitor paths, which reuse this shared ingestion loop.
2026-08-07 13:24:46 +02:00
Julius Marminge 9acdef5551 Remove early access badges from Cursor and Grok
- Keep provider labels aligned across server and web metadata
- Leave interaction mode and thread-change behavior unchanged
2026-08-07 13:24:29 +02:00
Julius Marminge 20a114898d Switch Cursor provider to the official SDK
- remove ACP model discovery and mismatch probe code
- update provider, orchestration, and tests for SDK-based flows
- refresh marketing copy to match the SDK runtime
2026-08-07 13:24:29 +02:00
Julius Marminge 428abea589 Require Cursor API key for provider checks
- Switch Cursor provider status and model discovery to the SDK catalog
- Improve chat content lane alignment and provider secret handling
2026-08-07 13:24:29 +02:00
Julius Marminge b450011a28 Map Grok task envelopes to subagent lineage
- Detect xAI Task tool calls as native subagents
- Project child session IDs and buffered chunks into the orchestration tree
- Add replay fixture coverage for Grok subagent lineage
2026-08-07 13:24:14 +02:00
Julius Marminge 39142c4d16 Handle preparing turns across provider orchestration
- Treat preparing as an active turn state in mobile and server flows
- Tighten ACP model option validation and selection reconfiguration
- Add coverage for turn mapping, raw protocol logging, and recovery paths
2026-08-07 13:21:22 +02:00
Julius Marminge f38dbfd84c Integrate orchestration v2 with the application runtime
Retain the existing event-sourced application data plane for projects and shell state while making orchestration v2 the sole agent runtime. Adapt v2 events and receipts to the shared infrastructure and remove the v1 provider reactors.
2026-08-07 13:20:00 +02:00
Julius Marminge c4eea8d512 Map orchestration turns to provider instances
- Separate provider driver identity from configured provider instances
- Add durable event, effect, checkpoint, and turn-position persistence
- Route turn lifecycle and recovery through shared orchestration services
2026-08-07 13:18:02 +02:00
Julius Marminge c3f140c2b8 Add MCP thread management and Codex turn mapping
- Add scoped thread list, read, send, wait, and interrupt tools
- Track creation provenance and map provider turns across adapters
- Centralize thread lifecycle operations in a management service
2026-08-07 13:17:53 +02:00
Julius Marminge 5254973761 Add ACP replay harness and session lifecycle support
- Add replay agent and fixture-driven ACP transcript testing
- Support session lifecycle, auth methods, and session resume/fork flows
- Expand orchestration V2 adapter coverage and debug tooling
2026-08-07 13:17:53 +02:00
Julius Marminge 287048ed1b Add Cursor SDK orchestration replay support
- Wire Cursor adapter and provider session handling into orchestration v2
- Add replay fixtures, recording script, and coverage for Cursor turn flows
- Update docs and debug timeline mapping for Cursor events
2026-08-07 13:17:36 +02:00
Julius Marmingeandcodex 5c5bc8c3c1 feat(orchestration-v2): wire claude adapter primitives
Co-authored-by: codex <[email protected]>
2026-08-07 13:17:27 +02:00
Julius Marmingeandcodex 47322f1175 Fix Codex provider status test expectations
Co-authored-by: codex <[email protected]>
2026-08-07 13:17:01 +02:00
Julius Marmingeandcodex 625f049017 Address Codex review feedback
Co-authored-by: codex <[email protected]>
2026-08-07 13:17:01 +02:00
Julius Marminge 46fb2a207d Switch Codex provider checks to app-server probe
- Use codex app-server snapshots for auth, models, and skills
- Remove legacy CLI/config discovery paths and related helpers
- Update tests for the new provider status flow
2026-08-07 13:17:01 +02:00
Julius Marminge 1fd0285160 Flush native logs on adapter shutdown
- Close the managed native event logger when the adapter layer tears down
- Make session runtime close idempotent with an atomic closed flag
- Add coverage for flushing thread native logs on shutdown
2026-08-07 13:17:01 +02:00
Julius Marminge 059aee3132 Scope Codex session runtime lifetimes
- Transfer session-owned scopes into adapter state
- Ensure runtime scopes close on stop and startup failure
- Add regression coverage for scoped lifecycle cleanup
2026-08-07 13:17:01 +02:00
Julius Marminge 0b6e778a54 Normalize Codex IDs and preserve streamed stdout decoding
- Use strict TurnId and ProviderItemId parsing in Codex session routing
- Decode in-memory stdio chunks in streaming mode to avoid split UTF-8 corruption
2026-08-07 13:17:01 +02:00
Julius Marminge 4d6492e788 Return Cursor ACP runtime with explicit scope
- Type the runtime effect with `Scope`
- Build the ACP session runtime without wrapping it in `Effect.scoped`
2026-08-07 13:17:01 +02:00
Julius Marminge b2155632ce Delay Codex provider availability until checked
- Initialize provider as unchecked in a pending state
- Update initial probe message to reflect session-local status
2026-08-07 13:17:01 +02:00
Julius Marminge 996506d3fa revert more 2026-08-07 13:17:00 +02:00
Julius Marminge 9e8109774a nit 2026-08-07 13:16:40 +02:00
Julius Marmingeandcodex 35011750c4 Integrate Codex app-server support
Co-authored-by: codex <[email protected]>
2026-08-07 13:16:39 +02:00
Theo BrowneandClaude Opus 5 7963cc70f3 feat(server): record runtime mode per turn and on mode changes (#5593)
Co-authored-by: Claude Opus 5 (1M context) <[email protected]>
2026-08-07 03:16:11 -07:00
Theo Browne 6fa4576078 fix(server): settle stopped Claude subagents (#5568) 2026-08-06 21:15:59 -07:00
Theo BrowneandClaude Fable 5 c471145e96 fix(server): stopping a Claude thread no longer shows an ede_diagnostic error (#5557)
Co-authored-by: Claude Fable 5 <[email protected]>
2026-08-06 17:55:20 -07:00
Theo BrowneandClaude Fable 5 0ec4fbc4a3 fix(server): stop showing commit/push/PR notices as errors in the work log (#5559)
Co-authored-by: Claude Fable 5 <[email protected]>
2026-08-06 17:52:29 -07:00
t3-code[bot] 99d91ddaa4 fix(acp): keep unknown approvals actionable (#5430)
Co-authored-by: t3-code[bot] <269035359+t3-code[bot]@users.noreply.github.com>
2026-08-06 12:55:31 -04:00
Theo BrowneandClaude Fable 5 a2ca89aa10 feat: native subagent & workflow observability (#5219)
Co-authored-by: Claude Fable 5 <[email protected]>
2026-08-06 00:32:28 -04:00
Arham AminandClaude Opus 4.8 82b76e2138 fix(server): use a Cursor todo's title when its content is blank (#5073)
Co-authored-by: Claude Opus 4.8 (1M context) <[email protected]>
2026-08-04 09:19:12 -04:00
Julius Marminge 2b1d4fecb8 Upgrade Effect to beta.103 (#5331) 2026-08-04 13:56:50 +02:00
Theo Browne e60821f0e0 feat: fold legacy models into separate menus (#5190) 2026-08-02 00:45:05 -07:00
Theo Browne d3037064e6 fix(server): make remote updates rollback-safe (#5181) 2026-08-01 05:48:03 -07:00
Theo Browne 4b71a2ae2f feat(search): find threads by conversation content (#4959) 2026-07-30 05:30:11 -07:00
Julius Marmingeandcodex 49c0d96edf Reduce idle work and disk churn with native resource diagnostics (#2679)
Co-authored-by: codex <[email protected]>
2026-07-29 14:42:01 +02:00
Julius Marminge 0e19c103ef Keep MCP credentials alive across provider turns (#4659) 2026-07-27 19:57:22 +02:00
41a430a88e Add Claude Opus 5 model (#4472)
Co-authored-by: Claude Opus 5 (1M context) <[email protected]>
Co-authored-by: Theo Browne <[email protected]>
2026-07-24 13:16:33 -07:00
Theo BrowneandClaude Fable 5 6b9a5987f6 fix: Claude Code skills discoverable for the composer $ picker (#4414)
Co-authored-by: Claude Fable 5 <[email protected]>
2026-07-23 18:39:42 -07:00
Theo BrowneandClaude Fable 5 fbd77420f2 feat: add "Auto" runtime mode — AI-reviewed approvals for Codex and Claude (#4272)
Co-authored-by: Claude Fable 5 <[email protected]>
2026-07-23 02:06:24 -07:00
Yukun Shanandcodex 4e09cddb40 fix(server): stop restoring stale OpenCode models (#4095)
Co-authored-by: codex <[email protected]>
2026-07-22 15:57:29 +02:00
Jaret Bottomsandcodex aa5ec80364 fix(claude): isolate capability probe from user MCP servers (#4015)
Co-authored-by: codex <[email protected]>
2026-07-22 15:54:30 +02:00
32c6012dab Sidebar v2 beta: flat thread list with a server-backed settled lifecycle (#4026)
Co-authored-by: Claude Fable 5 <[email protected]>
Co-authored-by: maria-rcks <[email protected]>
2026-07-22 03:36:34 -07:00
Theo BrowneandClaude Fable 5 6f34ad3e87 fix(claude): handle all SDK stream messages; stop spurious work-log warning rows (#4244)
Co-authored-by: Claude Fable 5 <[email protected]>
2026-07-21 19:58:39 -07:00
Theo BrowneandClaude Fable 5 62cf461759 fix: better defaults — Claude 1M context, Codex gpt-5.6, worktrees from origin main (#4240)
Co-authored-by: Claude Fable 5 <[email protected]>
2026-07-21 17:13:44 -07:00