feat: Live Tool Call Stream — real-time feed with filtering and pause#174
Open
vivekchand wants to merge 1 commit intomainfrom
Open
feat: Live Tool Call Stream — real-time feed with filtering and pause#174vivekchand wants to merge 1 commit intomainfrom
vivekchand wants to merge 1 commit intomainfrom
Conversation
…ng (closes #31) - Expand live feed from 120px → 350px tall, holds 200 events (up from 30) - Add filter-by-tool input: real-time search across event text and category - Add pause/resume toggle: freeze stream to inspect entries without scroll - Add clear button to reset the feed - Add category labels (tool, result, inbound, reply, ai, system, heartbeat) with colour-coded badges for fast scanning - Surface tool_result events from SSE stream with snippet preview (first 80 chars) - Rename panel header: 'Live Activity Feed' → 'Live Tool Call Stream' - All 133 unit tests pass
9bb5a62 to
eca58bb
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #31
What
Replaces the cramped 120px live activity feed on the Flow tab with a full-featured Live Tool Call Stream panel that shows real-time tool invocations across all sessions with filtering, pause, and result pairing.
How
UI (both themes):
tool_endevents display completion status alongside invocationsBackend:
/api/tool-calls/recentendpoint onbp_logsblueprinttool_use/toolCallblocks?limit=Nand?tool=<name>query paramsJS:
_toolStreamItemsbuffer (100 entries max) withtoolName, color, timestampsetToolFilter()updates pills and re-renders visible itemstoggleToolStreamPause()buffers events while paused, replays on resumeloadRecentToolCalls()pre-populates the stream from the API on Flow tab initextractToolName()parses tool names from log messagesgetToolColor()maps each tool to a distinct colorTests:
/api/tool-calls/recent(structure, limit, filter, field validation)