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
Desk: message a subagent from its detail view #863
The desk's web app (apps/desk-web) has no way to message a subagent. src/depth/view/SubagentDetail.tsx says MAWS's drill-in "relays a message to it through its parent; neither is here". The hub protocol already names a tell RPC (apps/desk-hub/src/protocol/rpc.ts), and a terminal session's bridge answers it with the engine's own send. A MAWS session (lane B) now has a direct tell on its machine (session.tellAgent; docs/charter.md, Decision Log 2026-11-24), which the desk does not reach.
Proposed fix
Add a message box to the desk's subagent detail, modelled on MAWS's TellComposer (src/renderer/src/tools/agents/subagents/RelayComposer.tsx).
Send the hub's tell RPC for a terminal session.
For a MAWS session, route the act to the session's machine once that machine offers session.tellAgent (see the remote lane B ticket).
Where neither is available, show why, as the drill-in's disabled reasons do.
Acceptance
The desk's subagent detail sends a message to a running agent of a terminal session, and to one of a MAWS session whose machine offers the tell.
The line after sending says what happened, in the drill-in's words.
The desk's tests cover the box's open and closed states.
Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
Activity