Skip to content

Desk: message a subagent from its detail view #863

Backlog

Description

@SSFSKIM

Problem

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

  1. Add a message box to the desk's subagent detail, modelled on MAWS's TellComposer (src/renderer/src/tools/agents/subagents/RelayComposer.tsx).
  2. Send the hub's tell RPC for a terminal session.
  3. For a MAWS session, route the act to the session's machine once that machine offers session.tellAgent (see the remote lane B ticket).
  4. 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

  1. added
    enhancement
    status:ready-for-architect
    priority:P3
    on Nov 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementpriority:P3status:ready-for-architect

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions