Files
t3code/packages/client-runtime
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
..
2026-08-04 01:08:42 +05:30

Client Runtime

Shared client behavior for web and mobile. Public APIs are organized by package subpath. The package intentionally has no root export.

Public subpaths

Subpath Responsibility
authorization Bearer and DPoP authorization plus token persistence contracts
connection Targets, catalog, supervision, retries, registry, and onboarding
environment Environment identity, descriptors, endpoints, and scoped keys
errors Shared client error inspection
operations Multi-step application workflows
operations/projects Multi-step project creation workflows
platform Platform capability and persistence service contracts
relay Managed relay API and environment discovery
rpc HTTP/RPC clients, protocol, sessions, and subscriptions
state/<domain> Focused shared state, retention, reducers, and Atom constructors

Dependency direction

Platform applications provide platform services. connection composes those capabilities with authorization, relay, and rpc to supervise environment sessions. Independent state modules consume the connection registry and expose focused state or Atom constructors to application-owned runtimes.

Applications should import the narrowest relevant subpath. There is no broad state export: use domain paths such as state/shell, state/threads, state/terminal, or state/vcs. Subpath indices and explicitly exported domain files are public API boundaries; all other files remain implementation details.