Skip to content
Design System
GitHub

0.63 migration

0.63 makes the seven AI agent blocks and the two phone shells controlled: each renders from your data and your callbacks, with no sample defaults inside. All nine are beta, so they change in a minor release.

Who has to change something

A screen that renders one of these …Content components, AppShellMobileTabs or AppShellControl passes its own data: they no longer fall back to sample records. A screen that renders a demo (AgentRuns, AgentChat, AgentRunGate… from <block>-demo) changes nothing. Export names stay; sample data stays exported for prototypes (sampleAgentRuns, sampleAgentTraceRun, sampleAgentProposal, sampleTabs).

Find what to change
# Run from your project's root: screens built on these blocks' content or shells.
grep -rnE '<(AgentRunsContent|AgentTraceContent|AgentApprovalContent|AgentChatContent|AgentRunGateContent|AgentRunOutcomeContent|AgentToolPermissionsContent|AppShellMobileTabs|AppShellControl)\b' src

What changed

BlockBefore0.63
agent-runsAgentRunsContent showed its own sample runs.Pass page, query, onQueryChange, and counts; onReview is a promise. Run.started may be startedAt (ISO).
agent-traceAgentTraceContent showed one sample run.Pass run (AgentTraceRun); onStop and onRunAgain are promises.
agent-approvalAgentApprovalContent showed one sample proposal and decided it itself.Pass proposal (AgentProposal, ISO expiresAt); onApprove and onReject(reason) are promises; pass the decided proposal back.
agent-chatdefaultTurns, respond and a sample userName ran a scripted conversation.Pass turns; onSend, onStop and onRegenerate are yours: update the answer's text and phase as your stream arrives.
agent-run-gatescript played the run after a decision; expiresAt was a written clock time.Pass the run from your events with each gate's decision; onDecide is a promise. expiresAt is ISO (a written time with expiresInMin still works).
agent-run-outcomerun.robots and a per-robot retry; ended and time written out.Pass page, query, onQueryChange and counts; onRetryFailed() retries them all. endedAt, approvedBy and each robot's at are ISO.
agent-tool-permissionsdefaultPolicies, a password field before loosening, calls as an array.Pass agents, saved policies, onSave (a promise through your step-up), and the audit as calls: { items, total } with callsQuery and agentFilter.
app-shell-mobile-tabsSample tabs, a sample robot list and an always-on Search.Pass product, tabs and children; active with onTabChange; Search shows with onSearch; user is optional.
app-shell-controlSample robots, notifications and page; the stop and release simulated inside.Pass robots, tabs, onStop and children; stop, onRelease, notifications and unread come from your robot and server; each tab carries its badge.
agent-chat
// Before 0.63: the block ran a script
<AgentChatContent defaultTurns={turns} respond={sampleAgentChatRespond} />

// 0.63: your turns, your stream
<AgentChatContent
  turns={turns}
  onSend={async (text) => {
    const id = addTurns(text) // the question, and an answer with phase "streaming"
    for await (const chunk of stream(text)) appendText(id, chunk)
    setPhase(id, "done")
  }}
  onStop={() => abort()}
/>
app-shell-control
// Before 0.63
<AppShellControl />

// 0.63: what the robot reports; the stop is never behind a permission
<AppShellControl
  robots={robots}
  tabs={tabs}
  stop={stopState}
  onStop={() => sendStop(robot.id)}
  onRelease={() => sendRelease(robot.id)}
>
  <Today />
</AppShellControl>

Permissions

Pass can to show what the viewer may not do as disabled with the reason: approvals check agents:approve, runs and retries agents:run, tool policies agents:manage, the chat box agents:chat, a release robots:release. Rename any of them with permissions. The emergency stop takes none.