Commit Graph
1003 Commits
Author SHA1 Message Date
Theo BrowneandClaude Fable 5 3adf7567f7 Address bugbot follow-ups: paging empty-state, error resultPreview
- WorkflowPanel: track a render-visible caught-up flag so the transcript
  shows "Loading transcript…" until the first read reaches EOF — an
  absence of parsed entries mid-drain means still paging, not that the
  agent produced no output
- workflowUi: error rows fall back to resultPreview when the snapshot
  carries no error field, so red rows always explain the failure inline

Co-Authored-By: Claude Fable 5 <[email protected]>
2026-07-02 13:09:44 -07:00
Theo BrowneandClaude Fable 5 a8ee943c92 Two-line agent rows: wrapping labels, meta line beneath
Long agent labels were shrink-0 and pushed the model/stats readout off
the clipped right edge. Rows now stack: the label owns the first line
and wraps freely, and model · stats · badges · error text sit on a
muted meta line under it — nothing competes for horizontal space, so
nothing clips regardless of label length. The chevron and status dot
center against the first text line via fixed line-height boxes.

Co-Authored-By: Claude Fable 5 <[email protected]>
2026-07-02 12:47:23 -07:00
Theo BrowneandClaude Fable 5 bc9ab83e29 Show live per-agent stats while running; drop inline row previews
The SDK emits tokens/toolCalls on every progress tick (verified against
the bundled runtime), so agent rows now show them live; elapsed time for
a running agent derives from lastProgressAt - startedAt, which advances
tick-by-tick without a client timer. Settled agents keep the reported
total duration.

Agent rows no longer render the routine inline preview text (result and
last-tool snippets) — the expandable transcript owns that detail. Error
text stays inline since it explains a red row at a glance.

Co-Authored-By: Claude Fable 5 <[email protected]>
2026-07-02 12:42:15 -07:00
Theo BrowneandClaude Fable 5 93cd36a9a0 Show per-agent stats and clean up the transcript view
- Forward the SDK snapshot's per-agent tokens / toolCalls / durationMs
  through the contract, adapter normalization, and view model; agent
  rows now show model plus "94.2k tok · 47 tools · 7m 03s" (duration
  once the agent settles), mirroring the Claude Code TUI
- Rewrite the transcript renderer: only assistant text and tool calls
  render (tool rows as "→ Name input-preview"); user turns, tool
  results, attachments, and thinking are skipped instead of printing
  raw type names ("user attachment attachment")
- Bound transcript memory: retain a 600-line tail with an
  "earlier activity trimmed" notice so million-token agent threads
  cannot grow client memory unbounded

Co-Authored-By: Claude Fable 5 <[email protected]>
2026-07-02 12:30:46 -07:00
Theo BrowneandClaude Fable 5 8da4f9e1d0 Make workflow completion order-robust against inverted sequences
A task.completed for a known workflow task now creates the run when its
task.started has not been applied yet — adopted runs can carry reset
provider sequences across CLI restarts, letting the completion sort
first. The later-applied started only fills metadata and can never
resurrect a terminal status, so derivation correctness no longer
depends on the comparator at all.

Co-Authored-By: Claude Fable 5 <[email protected]>
2026-07-02 05:29:04 -07:00
Theo BrowneandClaude Fable 5 0eaeb94564 Address macroscope + cursor follow-up review findings
- ClaudeAdapter: dedupe workflow agents/phases by index (last write wins)
  before applying entry caps, so repeated slot updates cannot exhaust the
  cap and freeze later agents stale; restrict sessionUrl to http(s) so a
  hostile tool result cannot smuggle a javascript: href
- workflowUi: guard sessionUrl scheme again at both anchor render sites
  (defense in depth for payloads persisted before the adapter filter)
- Ingestion: JSON-encode the (threadId, taskId) tuple in stable workflow
  activity ids to remove delimiter-ambiguity collisions
- workflow-logic: order same-timestamp activities by provider sequence
  then lifecycle rank so task.completed can never apply before its
  task.started
- WorkflowPanel/Card: scope phase and agent row keys by taskId so
  switching runs remounts rows instead of leaking expanded transcript
  state and cursors across runs
- workflowUi: phase progress counter counts settled (done + error)
  agents instead of reporting 0/1 for an errored terminal phase
- client-runtime: readJournal query polls every 4s while mounted so the
  Logs tab picks up new results during a live run
- mobile: keep workflow task.completed rows (only per-tick progress is
  suppressed) — with no workflow card on mobile it is the only signal a
  workflow finished or failed

Co-Authored-By: Claude Fable 5 <[email protected]>
2026-07-02 05:14:52 -07:00
Theo BrowneandClaude Fable 5 1610d39a1d Address cursor bot review: session-gate, transcript tail, mobile noise
- workflow-logic: settle in-flight agents to "error" when terminalizing
  a run whose session died, so a stopped chip never sits above pulsing
  "running" agents; drop the dead hasStartedActivity field (snapshot-only
  runs render intentionally after history trims)
- ChatView: gate workflow liveness on derivePhase so interrupted
  sessions also terminalize runs, matching disconnected-session UX
- WorkflowPanel: fetch the transcript once more when a run leaves
  "running" so lines appended after the last poll tick are not lost
- mobile: suppress workflow-owned task.progress/task.completed rows in
  the work log, mirroring desktop (mobile has no workflow card yet)

Co-Authored-By: Claude Fable 5 <[email protected]>
2026-07-02 05:07:28 -07:00
Theo BrowneandClaude Fable 5 e5b721efc6 Address review findings from multi-agent review pass
- WorkflowInspectionService: re-contain joined leaf files so a symlink
  named journal.jsonl / agent-<id>.jsonl cannot escape the projects root
  (readScript already did this); add regression tests for both
- Stop serializing raw fs error causes in WorkflowInspectionError
- ProviderCommandReactor: surface stopTask failures as a
  provider.task.stop.failed activity instead of a silent log warning
- ProviderService.stopTask: don't resurrect a stopped session via
  recovery just to stop a task
- Ingestion: scope stable workflow activity ids by threadId so SDK task
  id reuse across threads cannot collide in the projection table
- WorkflowPanel: keep polling transcripts past prior EOF ("complete"
  means caught-up, not finished); reuse useCopyToClipboard for the
  resume-command button
- workflow-logic: terminalize runs left "running" when the provider
  session is gone; add a revision counter so timeline rows re-render on
  content changes even when timestamps collide

Co-Authored-By: Claude Fable 5 <[email protected]>
2026-07-02 04:57:52 -07:00
Theo BrowneandClaude Fable 5 ad171b3f42 Add workflow run visibility: live agent tree, script view, transcripts
Surface Claude Agent SDK workflow runs (the Workflow orchestration tool)
end to end in the desktop app:

- Contracts: WorkflowProgressEntry schemas, run handles, workflow
  inspection RPCs, thread.task.stop command + task-stop-requested event
- ClaudeAdapter: normalize the SDK's undocumented workflow_progress
  snapshot (size-capped, tolerant), forward workflow identity on task
  events, emit task.workflowMeta from Workflow tool results, stopTask
- Ingestion: upsert workflow snapshots under a stable per-task activity
  id so projections and reconnect payloads stay one row per run
- WorkflowInspectionService: path-validated, size-capped reads of the
  run's script, journal, and per-agent transcripts (realpath containment
  under ~/.claude/projects)
- Web: WorkflowRunCard inline in the chat timeline, a workflow right-
  panel surface with Run/Script/Logs tabs, cursor-paged transcript
  polling, stop + resume affordances; remote runs link to their cloud
  session

Co-Authored-By: Claude Fable 5 <[email protected]>
2026-07-02 03:26:48 -07:00
Julius Marminge fda6486233 Restore chat scroll affordances and add timeline minimap (#3587) 2026-06-29 19:35:16 +00:00
Jgratton24 a9b1190a11 Desktop: parallel WSL + Windows backends with mode picker (#2751) 2026-06-27 08:53:34 -07:00
Julius Marminge 44fb34ad53 Stabilize preview browser surfaces, automation, and recording (#3565) 2026-06-27 08:18:28 -07:00
Julius Marminge 24abab789e Stabilize chat scroll anchoring after send (#3564) 2026-06-26 14:26:36 -07:00
52b04b947e fix(grok): Harden ACP resume with replay-idle load readiness (#3156)
Co-authored-by: Julius Marminge <[email protected]>
Co-authored-by: codex <[email protected]>
2026-06-25 23:34:08 -07:00
Julius Marmingeandcodex e9ed70c5b9 [codex] Fix preview automation edge cases (#3561)
Co-authored-by: codex <[email protected]>
2026-06-25 20:08:27 -07:00
Julius Marmingeandcodex ffae5410e8 Route preview automation through live owner streams (#3548)
Co-authored-by: codex <[email protected]>
2026-06-25 19:06:44 -07:00
Julius MarmingeandJulius Marminge 31dfe3596e Fix Electron dev and packaged renderer startup (#3557)
Co-authored-by: Julius Marminge <[email protected]>
2026-06-25 20:58:38 +00:00
Julius Marminge c2776c2336 Restore right panel inset when maximized (#3555) 2026-06-25 17:07:33 +00:00
Julius MarmingeandJulius Marminge 22f021ed69 [codex] Upgrade Legend List chat scrolling (#3545)
Co-authored-by: Julius Marminge <[email protected]>
2026-06-24 15:39:17 -07:00
Wout StiensandCodex a4964b3b36 [codex] fix: show standalone element-pick context (#3527)
Co-authored-by: Codex <[email protected]>
2026-06-23 13:04:20 -07:00
c6c64918f8 Reduce ChatMarkdown settings rerenders (#3536)
Co-authored-by: Cursor Agent <[email protected]>
Co-authored-by: Julius Marminge <[email protected]>
2026-06-23 11:47:26 -07:00
Julius MarmingeandJulius Marminge 8cc9a6fa6b [codex] Restore T3 Connect account controls (#3492)
Co-authored-by: Julius Marminge <[email protected]>
2026-06-22 15:58:54 -07:00
b2d17b7108 Add main sidebar toggle (#3497)
Co-authored-by: Julius Marminge <[email protected]>
Co-authored-by: codex <[email protected]>
2026-06-22 14:00:30 -07:00
Abdul AzeezandJulius Marminge fb1034546f feat: add persistent word-wrap setting for chat code blocks and tables (#3480)
Co-authored-by: Julius Marminge <[email protected]>
2026-06-22 13:14:24 -07:00
f5f98cf0ae Stabilize composer provider state while typing (#3507)
Co-authored-by: Cursor Agent <[email protected]>
Co-authored-by: Julius Marminge <[email protected]>
2026-06-22 12:52:13 -07:00
Wout StiensandCodex c1e2408e1f [codex] fix: preserve localhost preview hosts (#3499)
Co-authored-by: Codex <[email protected]>
2026-06-22 10:14:16 -07:00
Wout StiensandCodex 8b993bc9ff [codex] fix: restore pending input keyboard activation (#3501)
Co-authored-by: Codex <[email protected]>
2026-06-22 10:10:47 -07:00
Wout StiensandCodex ea52bb1dbd [codex] fix: guard trace ID clipboard copy (#3505)
Co-authored-by: Codex <[email protected]>
2026-06-22 09:46:15 -07:00
Illia Panasenko 28107e89c2 chore: remove AnnotatableFileDiff leftovers, rename file (#3488) 2026-06-21 20:31:26 -07:00
Julius Marminge 0debebafbb [codex] Structure thread archive blocked error (#3451) 2026-06-20 20:41:58 -07:00
Julius Marmingeandcodex 2a29de7502 [codex] Structure primary auth validation failures (#3471)
Co-authored-by: codex <[email protected]>
2026-06-20 20:20:12 -07:00
Julius Marmingeandcodex 90074e359f [codex] Preserve desktop update state causes (#3473)
Co-authored-by: codex <[email protected]>
2026-06-20 20:20:07 -07:00
Julius Marmingeandcodex 1b2f39d018 [codex] Structure theme synchronization failures (#3466)
Co-authored-by: codex <[email protected]>
2026-06-20 19:09:05 -07:00
Julius Marmingeandcodex a9460bb772 [codex] Structure pull request link failures (#3445)
Co-authored-by: codex <[email protected]>
2026-06-20 16:44:22 -07:00
Julius Marmingeandcodex 9a78c6f2ba [codex] Structure web local storage failures (#3350)
Co-authored-by: codex <[email protected]>
2026-06-20 15:14:46 -07:00
Julius Marmingeandcodex aab72f10c1 [codex] Report markdown interaction failures (#3355)
Co-authored-by: codex <[email protected]>
2026-06-20 15:14:41 -07:00
Julius Marmingeandcodex b88873508e [codex] Structure cross-client clipboard failures (#3361)
Co-authored-by: codex <[email protected]>
2026-06-20 15:12:59 -07:00
Julius Marmingeandcodex 50767683b3 [codex] Preserve terminal preview link failure context (#3367)
Co-authored-by: codex <[email protected]>
2026-06-20 15:12:50 -07:00
Julius Marmingeandcodex fc2cdeceb9 [codex] Structure preview automation boundary failures (#3436)
Co-authored-by: codex <[email protected]>
2026-06-20 13:50:19 -07:00
Julius Marmingeandcodex 8c03188c1c [codex] Structure preview automation failures (#3333)
Co-authored-by: codex <[email protected]>
2026-06-20 12:07:09 -07:00
Julius Marmingeandcodex 3e5f9f2cdd [codex] Structure browser recording failures (#3330)
Co-authored-by: codex <[email protected]>
2026-06-20 12:06:31 -07:00
Julius Marmingeandcodex ff0f702c7c [codex] Structure client VCS action errors (#3263)
Co-authored-by: codex <[email protected]>
2026-06-20 11:52:20 -07:00
Julius Marmingeandcodex 0cd0ed1a3d [codex] Sanitize client error log diagnostics (#3405)
Co-authored-by: codex <[email protected]>
2026-06-20 11:50:46 -07:00
Julius Marmingeandcodex 0e718855b8 [codex] Structure primary environment target failures (#3413)
Co-authored-by: codex <[email protected]>
2026-06-20 11:49:21 -07:00
Julius Marmingeandcodex 2c16edd0cb [codex] Structure desktop bridge state errors (#3381)
Co-authored-by: codex <[email protected]>
2026-06-20 11:32:47 -07:00
Julius Marmingeandcodex 2910d9ff01 [codex] Structure preview config failures (#3271)
Co-authored-by: codex <[email protected]>
2026-06-20 11:25:14 -07:00
Julius Marmingeandcodex c3e3e26844 [codex] Structure primary environment request failures (#3409)
Co-authored-by: codex <[email protected]>
2026-06-20 11:22:28 -07:00
Julius Marmingeandcodex 8112aff7c2 [codex] Structure relay install confirmation conflicts (#3365)
Co-authored-by: codex <[email protected]>
2026-06-20 11:05:24 -07:00
Julius Marmingeandcodex b9e22de6a3 [codex] Preserve desktop update state read failures (#3370)
Co-authored-by: codex <[email protected]>
2026-06-20 11:04:53 -07:00
Julius Marmingeandcodex f3b43a148b [codex] Structure missing client cloud config errors (#3346)
Co-authored-by: codex <[email protected]>
2026-06-20 11:03:09 -07:00