Commit Graph
746 Commits
Author SHA1 Message Date
Theo BrowneandClaude Fable 5 61d0c38337 fix(claude): consume undeclared background_tasks_changed silently
The SDK stream emits this roster snapshot but its subtype is absent from
the typed union, so it fell through to the unknown-subtype warning path
and rendered as a spurious error row ('no displayable text content') in
client work logs. The task_* lifecycle events carry the authoritative
per-agent data; the typed background_tasks control request remains the
reconciliation source.

Co-Authored-By: Claude Fable 5 <[email protected]>
2026-07-21 20:00:02 -07:00
Theo BrowneandClaude Fable 5 ffd01045d0 fix(ingestion): merge task usage field-wise instead of wholesale replace
A payload carrying only totalTokens (e.g. terminal task_notification)
no longer wipes previously known input/output/toolUses breakdowns.

Co-Authored-By: Claude Fable 5 <[email protected]>
2026-07-21 20:00:02 -07:00
Theo BrowneandClaude Fable 5 812aee975a fix(ingestion+claude): round-5 review — hydration revision parity, amortized refresh, queued workflow agents, kind materiality
- Hydration selects the persisted snapshot by highest revision (same rule
  as the client), so the reducer can't resume from a stale roster that
  landed later in the list
- Ordinary traffic now counts toward unhydrated threads and triggers
  amortized hydration+refresh, so a settled snapshot can't age out of
  the 500-row cap after a restart with no agent events
- Claude workflow_agent state:'start' without startedAt (queued) maps to
  pending instead of running
- kind/parentAgentId upgrades count as material transitions

Co-Authored-By: Claude Fable 5 <[email protected]>
2026-07-21 20:00:02 -07:00
Theo BrowneandClaude Fable 5 4586d5f374 fix: address review handoff P1/P2 findings
P1:
- Claude workflow agents keyed by stable row index (parent:wf:N), not
  per-attempt agentId — queued/blocked rows now appear, retries update
  one card instead of duplicating
- agent.snapshot payloads carry a monotonic per-thread revision; client
  latest-wins selection uses it (deterministic under same-ms appends)
- Codex child turn/completed decodes turn.status: failed→failed with
  error summary, interrupted→stopped, completed→idle
- roster hydration is lazy (only on agent-touching events), no longer a
  full thread-detail load on every first event per thread

P2:
- reducer re-derives kind from event taskType/parent (no first-guess
  pinning); reactivation counts any settled→active transition
- workflow container rows excluded from worker counts; container usage
  only counted when it has no member rows
- settled cards lead with error/result, never stale activity text
- newest agents array is authoritative on the client — undecodable
  rosters no longer resurrect older running snapshots
- idle (resumable) agents no longer share the terminal retention pool
- Codex usage uses the cumulative total breakdown consistently

Co-Authored-By: Claude Fable 5 <[email protected]>
2026-07-21 20:00:02 -07:00
Theo BrowneandClaude Fable 5 a3248a123a fix(ingestion): seed roster refresh counter from snapshot age; log append success only on success
Bugbot round 4: after restart the latest agent.snapshot can already sit
deep in the capped projection, so the refresh counter now seeds from its
actual index distance instead of zero; the 'appended' debug log moved
into the success branch so a swallowed failure no longer logs success.

Co-Authored-By: Claude Fable 5 <[email protected]>
2026-07-21 20:00:02 -07:00
Theo BrowneandClaude Fable 5 4b9b7c515d fix(ingestion): non-blocking snapshot appends + roster refresh before cap eviction
- A failed agent.snapshot append no longer aborts the rest of the
  event's ingestion (Bugbot: repeated failures were dropping message
  deltas/session status). Failures are logged, interrupts propagate, and
  the redispatch flag retries on the next event.
- While agents exist, the roster is re-published every ~400 timeline
  activities so the latest snapshot cannot age past the projector's
  500-row cap (Macroscope: hydration and client scans always find one).

Co-Authored-By: Claude Fable 5 <[email protected]>
2026-07-21 20:00:02 -07:00
Theo BrowneandClaude Fable 5 ce1f1043bf fix(ingestion): agent roster lifecycle hardening from round-2 review
- session.exited now releases the per-thread reducer state after the
  final snapshot persists (unbounded retention leak)
- failed snapshot dispatch keeps the newer in-memory roster and flags
  the thread for re-dispatch on the next event instead of discarding
  memory (previous fix could lose transitions)
- document the 500-cap hydration boundary: past the cap both server and
  clients have lost the snapshot, so empty hydration is consistent

Co-Authored-By: Claude Fable 5 <[email protected]>
2026-07-21 20:00:02 -07:00
Theo BrowneandClaude Fable 5 0892ce3710 fix: address PR review feedback; remove HTML plan docs
- CI: client-runtime test imports @effect/vitest (vitest types unresolved
  in package context)
- CodexSessionRuntime: divert child-thread events that arrive before
  subAgentActivity registers them (probe: child status/changed lands
  first); emit a terminal event on subAgent interruption
- CodexAdapter: systemError -> failed; cumulative totalProcessedTokens
  for child usage (last-turn count can shrink on follow-ups)
- Ingestion: waiting agents counted as active in roster summaries;
  reactivation clears stale resultSummary/errorMessage; usage fields
  validated as non-negative integers; failed snapshot dispatch drops the
  hydration marker so the roster re-syncs from persisted state
- Panel/strip: idle counts as settled everywhere; phase labels show
  active counts (not '0 running'); parseTimestampDate for ISO parsing
- Drop docs/project/plans HTML files

Co-Authored-By: Claude Fable 5 <[email protected]>
2026-07-21 20:00:02 -07:00
Theo BrowneandClaude Fable 5 f99429b371 fix: emit running on Codex wait resolution; hide agent.snapshot in mobile work log
Codex review P2: active-with-no-flags thread status now maps back to
running so agents don't stay 'waiting' after an approval resolves.

Co-Authored-By: Claude Fable 5 <[email protected]>
2026-07-21 20:00:02 -07:00
Theo BrowneandClaude Fable 5 5472e9dadb feat(server): Claude agent lifecycle fields + ingestion agent roster reducer
ClaudeAdapter carries subagent linkage (agentType/toolUseId/workflowName/
prompt/outputFile), handles task_updated, parses workflow_progress into
child workflow_agent task events, normalizes task usage, and captures
Workflow tool results (scriptPath/runId). Ingestion folds task.* events
into per-thread ThreadAgentSnapshot rosters with material-transition
filtering, projection hydration, orphan sweep, and 50-cap retention,
appended as agent.snapshot activities.

Co-Authored-By: Claude Fable 5 <[email protected]>
2026-07-21 20:00:02 -07:00
Theo BrowneandClaude Fable 5 7e898d22df feat(codex): track v2 collab child threads as agent telemetry
CodexSessionRuntime learns children from subAgentActivity items (probe:
no child thread/started arrives) and diverts their notifications into
synthetic collab/agentActivity events; CodexAdapter maps those to
timeline-bypassing task.* events (turn lifecycle, waiting flags, token
usage, item summaries). turn/completed maps to idle, not terminal.

Co-Authored-By: Claude Fable 5 <[email protected]>
2026-07-21 19:59:36 -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
db4b2d8a0f perf(orchestration): speed up new-chat propagation and offline catch-up (#4177)
Co-authored-by: codex <[email protected]>
Co-authored-by: Julius Marminge <[email protected]>
2026-07-20 14:44:58 +02:00
Maxwell Young fa69f05b69 [codex] preserve custom model slugs (#4168) 2026-07-20 13:32:30 +02:00
Maxwell Young a135f2c2d3 [codex] show complete approval details (#4111) 2026-07-20 13:16:57 +02:00
Utkarsh Patil 0ca3240691 fix(server): use CLI for OpenCode health check instead of spawning server (#4153) 2026-07-20 12:22:00 +02:00
Vadym Kotaiandcodex f4da4f3b40 fix(opencode): resume the OpenCode session on follow-ups instead of starting an empty one (#3617)
Co-authored-by: codex <[email protected]>
2026-07-20 10:20:28 +00:00
Julius Marmingeandcodex 8e3467fe60 Synchronize mobile threads with authoritative shell snapshots (#4163)
Co-authored-by: codex <[email protected]>
2026-07-20 11:54:59 +02:00
Andrew ForsterandJulius Marminge 501ce27b81 [orchestration] Clear stale active turn when session becomes inactive (#3159)
Co-authored-by: Julius Marminge <[email protected]>
2026-07-20 11:04:48 +02:00
40c0ab0883 Add Codex launch arguments setting (#2892)
Co-authored-by: Julius Marminge <[email protected]>
Co-authored-by: Julius Marminge <[email protected]>
Co-authored-by: root <[email protected]>
2026-07-20 11:04:03 +02:00
Guilherme VieiraandJulius Marminge 33f1cb4224 fix(codex): show web search query and url in tool call details (#2093)
Co-authored-by: Julius Marminge <[email protected]>
2026-07-20 10:58:38 +02:00
Andrew Barnes 5fcfe242c1 fix(cli): support force removing projects (#3922) 2026-07-20 08:53:02 +00:00
Tristan Knight 3235658c08 fix: delegate OpenCode session titles to provider (#3720) 2026-07-20 08:43:07 +00:00
Theo BrowneandClaude Fable 5 749baec353 feat(server): title background-task work-log rows with the task name (#3751)
Co-authored-by: Claude Fable 5 <[email protected]>
2026-07-20 10:42:02 +02:00
Pieter van Zyl 68ea280388 fix(server): recognize Bedrock-backed Claude as authenticated (#3931) 2026-07-20 08:35:08 +00:00
David Whatley 3795dbb017 fix(server): resolve Claude SDK executable path on Windows npm installs (#3740) 2026-07-20 08:31:13 +00:00
eeinarsson 2640e6dcfc fix(client): use lightweight connection probe (#4137) 2026-07-20 01:33:01 +02:00
Utkarsh Patil 398140a9bd fix: increase OpenCode server startup timeout from 5s to 30s (#4132) 2026-07-19 19:33:10 +02:00
Julius Marmingeandcodex 2b180a2b2d Refine T3 Connect authorization surfaces (#4159)
Co-authored-by: codex <[email protected]>
2026-07-19 19:23:53 +02:00
7a820abfdd feat: add headless t3 connect setup for SSH hosts (#3749)
Co-authored-by: Claude Fable 5 <[email protected]>
Co-authored-by: Julius Marminge <[email protected]>
Co-authored-by: codex <[email protected]>
2026-07-19 18:59:23 +02:00
Julius Marmingeandcodex 4f11740510 Add isolated app testing workflow (#4121)
Co-authored-by: codex <[email protected]>
2026-07-19 11:57:58 +02:00
Maxwell Young da3c2030f7 [codex] canonicalize client timestamps (#4112) 2026-07-18 13:40:34 +02:00
d0b9f8d40d [codex] Route OpenCode missing-session errors through Effect (#3608)
Co-authored-by: Codex <[email protected]>
Co-authored-by: Julius Marminge <[email protected]>
2026-07-18 13:19:52 +02:00
Julius Marminge 24f9c2a08e Share MCP OAuth locks across Codex shadow homes (#4104) 2026-07-17 23:26:53 +02:00
31ca9e5531 fix(server): skip undecodable provider runtime rows when listing sessions (#3951)
Co-authored-by: Claude Fable 5 <[email protected]>
Co-authored-by: Julius Marminge <[email protected]>
Co-authored-by: Julius Marminge <[email protected]>
Co-authored-by: codex <[email protected]>
2026-07-17 21:26:22 +00:00
Matt Van HornandJulius Marminge 4e3f2f04d5 fix(server): thread cwd through Claude capability probe (#2048) (#2124)
Co-authored-by: Julius Marminge <[email protected]>
2026-07-17 23:22:19 +02:00
1047dac0c5 fix(terminal): strip AppImage runtime env from spawned terminals (#3108)
Co-authored-by: Julius Marminge <[email protected]>
Co-authored-by: codex <[email protected]>
2026-07-17 23:21:19 +02:00
cf58cadd02 feat(server): include runtime model and effort in Codex developer instructions (#3948)
Co-authored-by: Claude Fable 5 <[email protected]>
Co-authored-by: Julius Marminge <[email protected]>
2026-07-17 23:15:53 +02:00
Maxwell YoungandJulius Marminge bcd640bf4d [codex] prevent ACP assistant ID collisions after restarts (#3932)
Co-authored-by: Julius Marminge <[email protected]>
2026-07-17 21:51:16 +02:00
ed81c156da fix(server): image upload crashed dispatchCommand with a stack overflow (#3952)
Co-authored-by: Claude Fable 5 <[email protected]>
Co-authored-by: Julius Marminge <[email protected]>
2026-07-17 21:47:52 +02:00
Kriday DaveandJulius Marminge 7dc75127c2 Fix duplicate keybinding rule when replacing with an existing rule (#3969)
Co-authored-by: Julius Marminge <[email protected]>
2026-07-17 21:47:35 +02:00
BunnyGamezsc 7f1cb61031 fix(cursor): default binary path to cursor-agent (avoid path conflict w/ grok) (#4094) 2026-07-17 18:01:02 +00:00
Eric Tsai 8b5469863a fix(server): stabilize non-repository Git diagnostics (#4077) 2026-07-17 11:15:31 +00:00
Eric Tsai 58302b2010 fix(git): treat selected commit paths literally (#3998) 2026-07-17 11:14:29 +00:00
Ishan c14a5ca492 Fix dropped events during initial thread snapshot (#4079) 2026-07-17 11:58:09 +02:00
Dimitar StoykovandClaude Opus 4.8 eb733c10f2 fix(server): use CLAUDE_CONFIG_DIR instead of HOME for Claude instanc… (#4017)
Co-authored-by: Claude Opus 4.8 <[email protected]>
2026-07-17 11:46:55 +02:00
Julius Marmingeandcodex d114e2772d Prevent duplicate project workspace roots (#3829)
Co-authored-by: codex <[email protected]>
2026-07-16 10:39:13 +02:00
Julius Marminge 735240f316 Skip stale working-task notifications (#3961) 2026-07-14 18:00:16 +02:00
Julius Marminge 8de254a685 Use client-side fallbacks for missing project favicons (#3959) 2026-07-14 17:59:00 +02:00