This repository was archived by the owner on May 5, 2026. It is now read-only.
Description Context
Builder shows a Checkpoint tab when a SimpleAgent node is selected. The stream must automatically filter to that agent (no input control).
Key decision
Use the selected node id as the agent identifier: agentId := selectedNode.id.
The socket init payload uses { agentId?, threadId? }.
Tasks
Hook: add agentId support
apps/ui/src/hooks/useCheckpointStream.ts
Add agentId?: string param and include it in socket init payload as { agentId } alongside optional threadId.
Re-init when agentId changes.
Panel: supply selected agentId
apps/ui/src/builder/AgentBuilder.tsx
In Checkpoint tab, render for simpleAgent nodes.
Panel: accept agentId prop
apps/ui/src/components/stream/CheckpointStreamPanel.tsx
Accept agentId?: string and pass to useCheckpointStream.
Acceptance Criteria
Selecting a SimpleAgent node shows only its writes; switching selection switches the stream.
No additional input is visible for agent selection.
Socket init payload uses { agentId, threadId } (no "namespace" term in UI).
Relationships
Reactions are currently unavailable
Context
Builder shows a Checkpoint tab when a SimpleAgent node is selected. The stream must automatically filter to that agent (no input control).
Key decision
Tasks
Acceptance Criteria
Relationships