You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Harness: SendMessage should accept subagent names and ids when agent teams are off #272
The Agent tool description (src/tools/AgentTool/prompt.ts:267) and every Agent result (src/tools/AgentTool/AgentTool.tsx:1336,1379) tell the model to continue a subagent with SendMessage and its id. Since #239, SendMessage is enabled for session links, but its input check rejects anything but session:<id> when agent teams are off (src/tools/SendMessageTool/SendMessageTool.ts:656-662). The routing that queues a message to a running subagent or resumes a stopped one (SendMessageTool.ts:779-847) does not need agent teams, but never runs.
What to do
In the input check, accept session:<id>, a registered subagent name and a well-formed agent id. Teammate names and * still require agent teams.
Synchronous subagents are not registered by name, so the Agent description should say "agent id" where only the id works.
Done when
A test sends SendMessage with an agent id while agent teams are off and the subagent receives the message (queued when running, resumed when stopped); a teammate name is still rejected.
Activity