Commit Graph
1249 Commits
Author SHA1 Message Date
Shivam SharmaandClaude Fable 5 ba24598606 feat(orchestration-v2): stop a workflow task from the run card
A running workflow previously could only be abandoned by interrupting
the whole run. A new subagent.stop command flows through the durable
command path: the decider validates the subagent is active and carries a
native task ref, records the user's intent as a Stop requested activity
on the subagent row, and queues a process-bound subagent.stop effect.
The effect worker resolves the session and calls the adapter's task stop
— for Claude, the SDK runtime's undocumented stopTask, read behind the
same single-cast convention as workflow_progress.

The provider's own task_notification remains the only terminalizer; the
command records intent, it does not fake a terminal state. A released
session is treated as already stopped (nothing can still be running
under it), while a runtime without task-level stop fails the effect
loudly. Stop effects are process-bound, so recovery cancels them after
process loss like the other session-scoped effects.

The web run card shows Stop only while the coordinator is active, wired
through thread environment commands as thread:stop-subagent.

Co-Authored-By: Claude Fable 5 <[email protected]>
2026-08-04 01:09:27 +05:30
Shivam SharmaandClaude Fable 5 2ac7918f5a feat(web): render workflow runs as inline timeline cards
A workflow previously appeared in the timeline as a bare subagent row per
coordinator and per member — no phases, no live status, and each member
double-reported as its own row. The coordinator's subagent item now
renders as a run card: phase-grouped member rows with live status dots,
a settled/total rollup, token usage, and a Details button that opens the
Agents panel. Members of a present coordinator render nothing (the card
already shows them); members orphaned by a missing coordinator keep
their row rather than disappearing.

Remote runs render their session link instead of member rows, re-checked
against the http(s) allowlist as defense in depth for payloads persisted
before the adapter-side filter. Rows cap at 8, keeping running and
failed agents plus the most recently updated; the remainder defers to
the Agents panel.

Live subagents ride a dedicated context rather than TimelineRowCtx so
progress-tick churn re-renders only subagent rows, not the whole list.

Co-Authored-By: Claude Fable 5 <[email protected]>
2026-08-04 01:09:26 +05:30
Shivam SharmaandClaude ac0664048f fix(web): correct agent phase and result state
Co-Authored-By: Claude <[email protected]>
2026-08-04 01:08:42 +05:30
Shivam Sharma e5cbabf0b1 feat(web): add the Agents panel
Surfaces the subagent data the previous PRs record. A new right-panel
tab lists every subagent on the thread with its role, model, status,
token usage, recent activity, and the runs it has been activated for.

Grouping lives in client-runtime rather than the component so it stays
testable: workflow coordinators own their phases, phase status derives
from its members, and members orphaned by a missing coordinator fall
back to the flat list rather than disappearing.

A coordinator is an agent in its own right, so it renders as a card
rather than a bare heading — it has a model, usage and activations, and
before its members are spawned it is the only row on the thread. It is
counted in the tallies for the same reason, but only while it has no
members, since afterwards they represent the same work and counting both
double-reports it. Without that, a thread running a workflow showed
"0 active" with nothing listed and unexplained tokens in the header.

Usage follows the same rule: the total keeps whatever the members did
not account for. Dropping the coordinator outright erased the whole
workflow whenever a provider reported workflow usage but omitted
per-agent tokens, and the header read "Usage unavailable" for a workflow
that had spent thousands.

Read-only: this only renders what the projection already contains.
2026-08-04 01:08:42 +05:30
Shivam Sharma c1929c2b5b feat(orchestration-v2): add subagent observability data model
Introduces the schema, storage, and migration for richer subagent
tracking. Nothing produces the new data yet — adapters populate neutral
defaults so every subagent row remains valid — which keeps this change
reviewable as a pure data-model step.

Contracts gain a reusable subagent identity: per-activation records
(SubagentActivationId, OrchestrationV2SubagentActivation), cumulative
usage, a role, recent activity, and workflow grouping. A subagent may
now also rest at "idle" between activations.

Because a subagent status is not a turn item status, the two are bridged
by an explicit mapping rather than a copy. The Record type makes that
total: adding a subagent status without giving it a timeline meaning is
a compile error. Without it, a producer can emit a turn item whose own
schema cannot decode it, which is unrecoverable — the projection rebuild
then fails on every subsequent startup and the server cannot boot.

Migration 043 backfills existing rows so old events stay readable. Its
riskiest path is a partially-migrated row, where already-present JSON is
round-tripped through COALESCE; a test pins that structured values keep
their JSON subtype rather than being rewritten as quoted strings.

Also narrows event-envelope attribution in ProviderEventIngestor: a
payload carrying an explicit null run or node id now keeps that null
instead of inheriting the ambient run. Activations legitimately have no
run id, and the envelope is persistence metadata only — routing reads
payload fields — but this does change stored metadata for existing
event types that already pass explicit nulls.
2026-08-04 01:08:02 +05:30
maria-rcks 378615bb51 fix: reconcile rebase with latest main 2026-08-03 12:01:21 -04:00
Julius Marminge 8a3d81d52c fix(web): keep Git progress title anchored
- Prevent the title row from shifting when output is revealed
- Preserve panel and compact button sizing
2026-08-03 11:45:15 -04:00
Julius Marminge 87ff166fa0 fix(web): remove elevated thread details panel styling 2026-08-03 11:45:15 -04:00
Julius MarmingeandClaude Fable 5 607ddc3618 perf(web): keep timeline minimap animations off the main thread
A renderer performance trace showed the minimap strips as a standing
source of main-thread frame work: each strip transitioned
background-color (paint) and width (layout), and both fire constantly —
scrolling or streaming flips a band of in-view states at once, and the
hover fisheye animates several widths at a time — so any interaction
kept a 60fps style/layout/paint pipeline running.

The strip now animates only compositor-friendly properties: width tiers
are scale-x on a fixed-width box, and the in-view highlight is a bright
overlay faded with opacity. The scroll handler also skips no-op
data-in-view attribute writes, which previously re-dirtied style state
for every strip on every scroll tick.

Co-Authored-By: Claude Fable 5 <[email protected]>
2026-08-03 11:45:14 -04:00
Julius Marminge f29edafe04 fix(chat): prevent stale timeline scroll and rerenders
- Disable LegendList end-maintenance that could snap after user scrolling
- Cancel stale imperative scrolls and release settled turn anchors
- Stabilize handoff run data to avoid per-event timeline rerenders
2026-08-03 11:45:13 -04:00
Julius MarmingeandClaude Fable 5 b76a0919dc perf(orchestration): per-thread shell deltas, visit throttling, event compaction (#4971)
Co-authored-by: Claude Fable 5 <[email protected]>
2026-08-03 11:45:13 -04:00
Julius Marmingeandcodex 413089399d [codex] feat(web): show git progress in the commit button (#4963)
Co-authored-by: codex <[email protected]>
2026-08-03 11:45:13 -04:00
Julius Marminge 8b88bc70bf feat(orchestration): track provider retries and thread visits
- Project retry progress and recovery for Codex and Claude turns
- Sync thread completion markers through server-side visit timestamps
2026-08-03 11:45:13 -04:00
Julius Marminge 64d8fcd8b6 feat(server): surface legacy thread migration progress
- Publish migration lifecycle events during startup
- Show a web toast while legacy threads are restored
2026-08-03 11:45:13 -04:00
Julius Marmingeandcodex faa853a149 fix(orchestrator): validate rollback and search links
Co-authored-by: codex <[email protected]>
2026-08-03 11:45:13 -04:00
Julius Marmingeandcodex bb2bdc93ab fix(orchestrator): handle fresh review edge cases
Co-authored-by: codex <[email protected]>
2026-08-03 11:45:12 -04:00
Julius Marmingeandcodex f1a331d7be fix(orchestrator): address late review findings
Co-authored-by: codex <[email protected]>
2026-08-03 11:45:12 -04:00
Julius Marmingeandcodex 45b8157e53 fix(web): enforce secure provider field defaults
Co-authored-by: codex <[email protected]>
2026-08-03 11:45:12 -04:00
Julius Marmingeandcodex e647f444d2 fix(web): restore checked-in project scripts
Co-authored-by: codex <[email protected]>
2026-08-03 11:45:11 -04:00
Yusuf007Randcodex f96a785978 fix: ignore subagents when sorting sidebar projects
Co-authored-by: codex <[email protected]>
2026-08-03 11:45:11 -04:00
Yusuf007Randcodex 263ad34710 fix: hide subagent threads from v2 lists
Co-authored-by: codex <[email protected]>
2026-08-03 11:45:11 -04:00
Alexandcodex 6ae33d8b0c feat(subagents): disclose projected results consistently (#3866)
Normalize subagent result disclosure across timeline rendering and collapsed/expanded states.

Co-authored-by: codex <[email protected]>
2026-08-03 11:45:10 -04:00
Julius Marmingeandcodex 2d8f6c3b96 fix(web): contain thread details panel effects
Co-authored-by: codex <[email protected]>
2026-08-03 11:45:09 -04:00
Julius Marmingeandcodex 267c0b22b2 fix(web): layer nested panel popups correctly
Co-authored-by: codex <[email protected]>
2026-08-03 11:45:09 -04:00
Julius Marmingeandcodex 701ccd2213 refactor(web): use shared glass surfaces
Co-authored-by: codex <[email protected]>
2026-08-03 11:45:09 -04:00
Julius Marmingeandcodex e703b2a03d fix(web): remove stacked composer shadows
Co-authored-by: codex <[email protected]>
2026-08-03 11:45:09 -04:00
Julius Marmingeandcodex b201a7c28f fix(web): restore v2 composer chrome
Co-authored-by: codex <[email protected]>
2026-08-03 11:45:09 -04:00
Julius Marminge dac4ad26b0 Unify T3 MCP tool presentation across clients
- Extract shared T3 MCP tool label resolution
- Show T3 Code branding for matched tool activity rows
- Add tests for shared resolution and mobile feed output
2026-08-03 11:45:09 -04:00
Julius Marminge eda0ca15b7 Render T3 MCP tools with branded timeline labels
- Pretty-print known T3 MCP tool names in work rows
- Show the T3 Code logo for recognized MCP tool entries
- Add logic and UI tests for the new tool presentation
2026-08-03 11:45:09 -04:00
Mike Olsonandcodex 9b91d3b8ca 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-03 11:45:08 -04:00
Julius MarmingeandClaude Fable 5 335708df8b feat: scheduled tasks (automations) (#3638)
Co-authored-by: Claude Fable 5 <[email protected]>
2026-08-03 11:45:07 -04:00
Julius Marminge 638b9fc854 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-03 11:45:07 -04:00
Julius Marminge 14d20c8665 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-03 11:45:07 -04:00
maria 0ccf9c60bd fix(web): align thread details panel controls and menus (#3606) 2026-08-03 11:45:07 -04:00
Julius Marminge 60dc48a413 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-03 11:45:07 -04:00
Julius Marminge 022452d02e 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-03 11:45:06 -04:00
Julius Marminge e2f21f8be6 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-03 11:45:06 -04:00
Julius Marmingeandcodex 3c680b50c8 Retire V1 client orchestration parity
Co-authored-by: codex <[email protected]>
2026-08-03 11:45:06 -04:00
Julius Marmingeandcodex beab58b45b Expose V2 thread workflows on mobile
Co-authored-by: codex <[email protected]>
2026-08-03 11:45:06 -04:00
Julius Marmingeandcodex 2fde64e80f 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-03 11:45:06 -04:00
Julius Marminge 0ee3425c03 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-03 11:45:05 -04:00
Julius Marminge e0f509e5c0 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-03 11:45:05 -04:00
Julius Marminge 64c3fccf36 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-03 11:45:05 -04:00
Julius Marmingeandcodex 00b7fd1245 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-03 11:45:05 -04:00
Julius Marminge efdf72ec8c 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-03 11:45:05 -04:00
Julius Marminge 82ffe9862c 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-03 11:45:05 -04:00
Julius Marminge cb6012aeb8 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-03 11:45:05 -04:00
Julius Marminge 3991a00629 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-03 11:45:05 -04:00
Julius Marminge b77ac60a0e 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-03 11:45:04 -04:00
Julius Marminge f2481dfbfd Align orchestration V2 with Effect service conventions 2026-08-03 11:45:02 -04:00