Commit Graph
2450 Commits
Author SHA1 Message Date
Julius Marmingeandcodex 48eeebe7c2 test(desktop): expect orchestrator v2 state directory
Refs CI: https://github.com/pingdotgg/t3code/actions/runs/29750215334/job/88378428137

Co-authored-by: codex <[email protected]>
2026-08-07 13:24:46 +02:00
Julius Marmingeandcodex 848a0520ad fix(ci): restore Claude permission request identity
Refs CI: https://github.com/pingdotgg/t3code/actions/runs/29750215334/job/88378428015

Co-authored-by: codex <[email protected]>
2026-08-07 13:24:46 +02:00
Julius Marmingeandcodex 4a40d4f66d fix(orchestrator): align Claude permission replay with SDK
Co-authored-by: codex <[email protected]>
2026-08-07 13:24:46 +02:00
Alex e282b480e0 feat(orchestrator): pass model options through MCP thread targets (#3872) 2026-08-07 13:24:46 +02:00
Alex 189820e5e7 fix(orchestrator): scope Claude MCP tool pre-approval (#3862) 2026-08-07 13:24:46 +02:00
Mike Olson b253e8d44f [orchestrator-v2] fix(orchestrator): Codex background command completion and subagent resume (#3908) 2026-08-07 13:24:46 +02:00
e4c3ce69c9 [orchestrator-v2] fix(orchestrator): Restore Claude session continuity for resume, wake, and idle release (#3860)
Co-authored-by: Julius Marminge <[email protected]>
Co-authored-by: Claude Fable 5 <[email protected]>
2026-08-07 13:24:46 +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 MarmingeandClaude Fable 5 1be13970ca feat: scheduled tasks (automations) (#3638)
Co-authored-by: Claude Fable 5 <[email protected]>
2026-08-07 13:24:46 +02:00
Julius Marmingeandcodex 002a3922ca Fix Claude task turn mapping
Co-authored-by: codex <[email protected]>
2026-08-07 13:24:29 +02:00
Julius Marminge c0f30e2e08 Allow provider switching via handoff in chat threads
- Let started threads switch providers when handoff is supported
- Keep model picker and block reasons aligned with thread capabilities
- Update logic tests for the new provider-switching rule
2026-08-07 13:24:29 +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
maria de0b44e60a fix(web): align thread details panel controls and menus (#3606) 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 e2d5653871 Keep persistent cards visible in folded turns
- Treat persistent resource cards as foldable turn entries
- Preserve cards that arrive before commentary when collapsing settled turns
2026-08-07 13:24:29 +02:00
Julius Marminge f731afa893 Clarify thread relationship icons and ordering
- Show parent-thread links with a dedicated return icon
- Prioritize parent and merge relationships in the thread panel
2026-08-07 13:24:14 +02:00
Julius Marminge 13d1749e0e Map nested Codex subagent threads correctly
- Preserve app-thread projection when spawning Codex subagents
- Add replay fixture coverage for nested provider-native subagents
2026-08-07 13:24:14 +02:00
Julius Marminge 10f9ad75cb Adopt userdata-v2 and subagent activity mapping
- Move desktop and server state paths to `userdata-v2`
- Handle Codex subagent activity events in orchestration v2
- Update related path and lifecycle tests
2026-08-07 13:24:14 +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 66cecc8041 Add iOS associated domains for Clerk
- Configure applinks and webcredentials for all mobile variants
- Set the Clerk relying party used by app config
2026-08-07 13:24:14 +02:00
Julius Marmingeandcodex d849d1caf9 Retire V1 client orchestration parity
Co-authored-by: codex <[email protected]>
2026-08-07 13:24:13 +02:00
Julius Marmingeandcodex 5bb00ebbe7 Expose V2 thread workflows on mobile
Co-authored-by: codex <[email protected]>
2026-08-07 13:23:38 +02:00
Julius Marmingeandcodex 5f4c3efce3 Enrich mobile V2 execution items
Share V2 item-to-entity linkage across clients and give mobile targeted execution, provider, request, checkpoint, search, subagent, and handoff inspection without reconstructing the timeline.

Co-authored-by: codex <[email protected]>
2026-08-07 13:23:22 +02:00
Julius Marmingeandcodex 5264ebdad0 Render mobile timelines from V2 turn items
Use the authoritative visibleTurnItems projection directly so mobile preserves server ordering, inherited items, and synthetic items without rebuilding a parallel feed.

Co-authored-by: codex <[email protected]>
2026-08-07 13:23:22 +02:00
Julius Marminge f08145690a Hide subagent threads and simplify thread controls
- Remove subagent prefixes from titles and timeline labels
- Hide subagent threads in the sidebar and add parent-thread navigation
- Align thread details, picker, and git/script controls with panel styling
2026-08-07 13:23:22 +02:00
Julius Marminge 3e9701fff3 Split open-in editor controls into panel and toolbar variants
- Move Open in editor shortcut handling into a shared hook
- Show Open in picker inside the thread details panel and restyle PR actions
- Tighten popover positioning for the panel layout
2026-08-07 13:22:49 +02:00
Julius Marminge 1ce4de9d32 Reserve space for inline thread details panel
- Move the inline thread panel to an absolute overlay
- Add shared inset styling so the timeline and composer avoid overlap
- Rename composer glass styling to the shared floating surface class
2026-08-07 13:22:22 +02:00
Julius Marmingeandcodex abd5cc5ff8 Map thread panel into title bar and sidebar
- Add thread-panel presentation logic for inline vs popover layouts
- Move thread details controls into the chat header/sidebar flow
- Add shared wait-for-atom helper and workspace display name parsing

Co-authored-by: codex <[email protected]>
2026-08-07 13:22:22 +02:00
Julius Marminge 420ecb8f92 Record created threads and subagent progress
- Add parent-thread records for spawned child threads
- Persist Claude subagent progress as reasoning items
- Tighten projection verification around readable thread projections
2026-08-07 13:21:41 +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 799e032fe9 Integrate orchestration V2 controls and process recovery
- Add V2 item inspection, thread relationships, queued-run controls, and composer dispatch policies
- Reconcile interrupted provider state safely across shutdown and startup
- Preserve checkpoint baselines and shared provider-session projections
2026-08-07 13:21:01 +02:00
Julius Marminge 8f521e516e Complete orchestration V2 frontend cutover
- Migrate web and mobile state, commands, and persistence to V2 projections
- Render conversations from authoritative visible turn items
- Harden runtime policy, launch handling, attachments, and cache invalidation
2026-08-07 13:20:20 +02:00
Julius Marminge 4db4dfa985 Split the V2 frontend plan into parity and enrichment phases
- Define Shape 4.0 for the client cutover and product parity
- Define Shape 4.5 for V2-native UI capabilities
- Defer existing V1 state migration to an out-of-scope Stage 5
2026-08-07 13:20:00 +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 8616a426b2 Guarantee MCP revocation during session release 2026-08-07 13:18:41 +02:00
Julius Marminge 243a5dee3a Remove MCP credential expiration 2026-08-07 13:18:41 +02:00
Julius Marminge ec79eb1411 Require MCP registry for V2 provider sessions 2026-08-07 13:18:41 +02:00
Julius Marminge 14abe0feb7 Complete orchestration V2 application services 2026-08-07 13:18:41 +02:00
Julius Marminge ffd02c6239 Start orchestration V2 application services 2026-08-07 13:18:02 +02:00
Julius Marminge d7d3fec8e6 Align orchestration V2 with Effect service conventions 2026-08-07 13:18:02 +02:00
Julius Marminge 5f4c29df2b Share Codex sessions across orchestration threads
- Track explicit thread-to-session bindings and detach without stopping siblings
- Apply runtime settings per Codex thread and filter multiplexed events by turn
- Add migration, projection, lifecycle, and concurrency coverage
2026-08-07 13:18:02 +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 9b18afb890 Add Orchestration V2 application integration plan
- Define four implementation shapes for the V2-only migration
- Add the plan to the plans index
2026-08-07 13:17:53 +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 e30da49e1d Handle segmented Cursor turns and stable visible timelines
- split streaming assistant and reasoning output into separate segments
- filter hidden interruption artifacts from projections and replay fixtures
- keep visible timeline positions stable when upserting streamed items
2026-08-07 13:17:36 +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 Marminge 66c36aa086 Add orchestration MCP toolkit
- Register orchestration tools on the MCP HTTP server
- Grant orchestration capability to MCP sessions
- Add service and integration coverage for delegated tasks and thread creation
2026-08-07 13:17:35 +02:00
Julius Marmingeandcodex c15de61875 refactor(orchestration-v2): adopt host process spawn policy
Co-authored-by: codex <[email protected]>
2026-08-07 13:17:35 +02:00