Skip to content

UI: Auto-filter checkpoint stream by selected agent (agentId support)#12

Merged
vitramir merged 1 commit intomainfrom
feat/ui-checkpoint-agent-filter
Sep 22, 2025
Merged

UI: Auto-filter checkpoint stream by selected agent (agentId support)#12
vitramir merged 1 commit intomainfrom
feat/ui-checkpoint-agent-filter

Conversation

@noa-lucent
Copy link
Contributor

Implements #10

Context
Builder shows a Checkpoint tab when a SimpleAgent node is selected. The stream should automatically filter to that agent.

Changes

  • hooks: add agentId to useCheckpointStream params and include it in socket init payload; re-init when agentId changes.
  • panel: accept agentId prop and forward to hook; updated helper copy.
  • builder: supply selectedNode.id as agentId when rendering CheckpointStreamPanel for simpleAgent nodes.

Acceptance

  • 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).

Notes

  • Backwards compatible: agentId is optional, threadId filter still works.

…#10)

- hooks: add agentId to useCheckpointStream init payload and re-init on change
- panel: accept agentId prop and pass to hook; adjust helper text
- builder: supply selectedNode.id as agentId in Checkpoint tab

Acceptance: Selecting SimpleAgent filters stream to that agent; switching selection updates live; socket init payload uses { agentId, threadId }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants