Commit Graph
1022 Commits
Author SHA1 Message Date
Julius Marmingeandcodex b75aa98050 fix(server): preserve released migration ordering
Co-authored-by: codex <[email protected]>
2026-08-14 11:23:26 +02:00
Julius Marmingeandcodex daddf826fd fix(orchestration): clarify agent delegation and scheduling
Co-authored-by: codex <[email protected]>
2026-08-14 11:23:26 +02:00
Julius Marmingeandcodex 41a16d958a fix(grok): align ACP extensions with open source runtime
Co-authored-by: codex <[email protected]>
2026-08-14 11:23:26 +02:00
Julius Marmingeandcodex 9c65560b35 test(orchestrator): align integration fixtures
Co-authored-by: codex <[email protected]>
2026-08-14 11:23:26 +02:00
Mike Olson 97474423c7 fix(orchestrator): Harden Grok v2 runtime lifecycle
Settle root turns from provider signals and preserve post-settle continuations.

Track asynchronous subagent and monitor work, allow image prompts, and keep steered messages visible.

Separate soft steering from hard Stop while containing and reaping native process trees.
2026-08-14 11:23:26 +02:00
Julius Marmingeandcodex d584feccda fix(orchestrator): dedupe Grok continuation dispatch
Co-authored-by: codex <[email protected]>
2026-08-14 11:23:26 +02:00
Mike Olsonandcodex 8ccb33f755 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-14 11:23:26 +02:00
Julius Marmingeandcodex 1519070601 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-14 11:23:26 +02:00
Julius Marmingeandcodex b13febf528 fix(acp): release turns after interrupt timeout
Clears the timed-out turn with an identity guard so a late completion cannot clobber a newer active turn.

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

Co-authored-by: codex <[email protected]>
2026-08-14 11:23:25 +02:00
Julius Marmingeandcodex 4d7d87c3d9 fix(claude): reopen queries after MCP credential rotation
Fixes review: https://github.com/pingdotgg/t3code/pull/2829#discussion_r3566081244

Co-authored-by: codex <[email protected]>
2026-08-14 11:23:25 +02:00
Julius Marmingeandcodex d1118b6183 fix(claude): enforce read-only tool availability
Fixes review: https://github.com/pingdotgg/t3code/pull/2829#discussion_r3509702833

Co-authored-by: codex <[email protected]>
2026-08-14 11:23:25 +02:00
Julius Marmingeandcodex 6e491d199d fix(claude): honor never-approval runtime policies
Fixes review: https://github.com/pingdotgg/t3code/pull/2829#discussion_r3507807129

Co-authored-by: codex <[email protected]>
2026-08-14 11:23:25 +02:00
Julius Marmingeandcodex 7fa6cdcbd1 fix(claude): allow questions during plan mode
Fixes review: https://github.com/pingdotgg/t3code/pull/2829#discussion_r3501073032

Co-authored-by: codex <[email protected]>
2026-08-14 11:23:25 +02:00
Julius Marmingeandcodex 4c8471a271 fix(claude): preserve approvals with full-access sandbox
Fixes review: https://github.com/pingdotgg/t3code/pull/2829#discussion_r3476628169

Co-authored-by: codex <[email protected]>
2026-08-14 11:23:25 +02:00
Julius Marmingeandcodex f5e797c70e fix(claude): redact launch arguments from protocol logs
Fixes review: https://github.com/pingdotgg/t3code/pull/2829#discussion_r3471595059

Co-authored-by: codex <[email protected]>
2026-08-14 11:23:25 +02:00
Julius Marmingeandcodex 728d184c8e 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-14 11:23:25 +02:00
Julius Marmingeandcodex bd76cc06c0 fix(orchestrator): align Claude permission replay with SDK
Co-authored-by: codex <[email protected]>
2026-08-14 11:23:25 +02:00
Alex bc76ab4db3 feat(orchestrator): pass model options through MCP thread targets (#3872) 2026-08-14 11:23:25 +02:00
Alex e62b8710aa fix(orchestrator): scope Claude MCP tool pre-approval (#3862) 2026-08-14 11:23:25 +02:00
Mike Olson b6d302cd82 [orchestrator-v2] fix(orchestrator): Codex background command completion and subagent resume (#3908) 2026-08-14 11:23:25 +02:00
b883940c9a [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-14 11:23:25 +02:00
Mike Olson fc72144f40 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-14 11:23:25 +02:00
Julius MarmingeandClaude Fable 5 8d7bfec473 feat: scheduled tasks (automations) (#3638)
Co-authored-by: Claude Fable 5 <[email protected]>
2026-08-14 11:23:25 +02:00
Julius Marmingeandcodex 4e28472e91 Fix Claude task turn mapping
Co-authored-by: codex <[email protected]>
2026-08-14 11:23:25 +02:00
Julius Marminge 74217a71af 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-14 11:23:24 +02:00
Julius Marminge 6f35159fbe 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-14 11:23:24 +02:00
maria 89ec767058 fix(web): align thread details panel controls and menus (#3606) 2026-08-14 11:23:24 +02:00
Julius Marminge 29cd06590a 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-14 11:23:24 +02:00
Julius Marminge 5e28e470b8 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-14 11:23:24 +02:00
Julius Marminge 3f50a50f8d 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-14 11:23:24 +02:00
Julius Marminge 76785f31f7 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-14 11:23:24 +02:00
Julius Marmingeandcodex 6b04c941d5 Retire V1 client orchestration parity
Co-authored-by: codex <[email protected]>
2026-08-14 11:23:24 +02:00
Julius Marminge d11747b27c 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-14 11:23:23 +02:00
Julius Marminge 6ff48331b7 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-14 11:23:08 +02:00
Julius Marminge 0d295cf098 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-14 11:23:08 +02:00
Julius Marminge 5e1536e260 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-14 11:23:08 +02:00
Julius Marminge b7f71acd29 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-14 11:23:08 +02:00
Julius Marminge 9bf8cea6af 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-14 11:22:52 +02:00
Julius Marminge 3aa295a9f6 Guarantee MCP revocation during session release 2026-08-14 11:22:52 +02:00
Julius Marminge be243ae91a Remove MCP credential expiration 2026-08-14 11:22:52 +02:00
Julius Marminge 559e41a91f Require MCP registry for V2 provider sessions 2026-08-14 11:22:52 +02:00
Julius Marminge 6d64cac00b Complete orchestration V2 application services 2026-08-14 11:22:52 +02:00
Julius Marminge d358d16a39 Start orchestration V2 application services 2026-08-14 11:22:52 +02:00
Julius Marminge 63f2e161e7 Align orchestration V2 with Effect service conventions 2026-08-14 11:22:52 +02:00
Julius Marminge 27da49519f 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-14 11:22:52 +02:00
Julius Marminge 12173fe8e9 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-14 11:22:52 +02:00
Julius Marminge c8b20831e2 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-14 11:22:52 +02:00
Julius Marminge 34c6d5ea18 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-14 11:22:52 +02:00
Julius Marminge 0e1cf4e0ed 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-14 11:22:52 +02:00
Julius Marminge d7abcb569f 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-14 11:22:51 +02:00