feat: Sub-agent visualization on canvas grid#46
Merged
Conversation
007aa19 to
7aea344
Compare
Fixes staticcheck ST1003 violations across all protocol types. Renames: JsonRpcMessage → JSONRPCMessage, JsonRpcRequest → JSONRPCRequest, JsonRpcResponse → JSONRPCResponse, and all related unexported identifiers.
7aea344 to
d2d5719
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.
Summary
{id, msg: {type}}protocol with standard JSON-RPC 2.0 envelope types (JSONRPCMessage,JSONRPCRequest,JSONRPCResponse), v2 method constants, thread/turn notifications, collaboration events, and approval request typesParentID,AgentNickname,AgentRole,Depthfields toThreadState, depth-firstTreeOrder()traversal, tree-ordered canvas layout, edge connectors between parent/child cards, and depth-prefix + role display on sub-agent cardsthread/started,turn/started,turn/completed,agent/message/delta,collab/spawn/end,collab/close/end,thread/statusChanged, and approval requests routed throughV2MessageToMsgbridgeTest Plan
go test ./... -race— all packages pass with race detectorgolangci-lint run— 0 issues (staticcheck, funlen, cyclop all clean).gofiles under 300 linesgo test ./internal/appserver -v -tags=integration)