gwt-pty-communication · git:20260309.abaf0f8 · 2026-03-09 · sha256 bd94a892146cd62c
gwt-pty-communication git:20260309.abaf0f8A
Immutable. This exact content never changes and is served at /api/v1/blob/bd94a892146cd62c.
--- name: gwt-pty-communication description: PTY based communication tools for Project Mode orchestration (Lead/Coordinator/Developer). --- # gwt PTY Communication Use gwt terminal commands as the transport for agent-to-agent communication. ## Commands - `send_keys_to_pane`: send text to a specific pane. - `send_keys_broadcast`: send text to all running panes. - `capture_scrollback_tail`: read pane output for status/progress. - `list_terminals`: list active pane ids. - `close_terminal`: stop a pane when escalation is needed. ## Notes - Prefer targeted `send_keys_to_pane` for deterministic orchestration. - Use `capture_scrollback_tail` before sending follow-up instructions. ## Environment - `GWT_PROJECT_ROOT`: absolute path to the project root. PTY commands are scoped to the caller's project; panes belonging to other projects are not visible or accessible. - `GWT_PANE_ID`: pane ID of the current terminal session. - `GWT_BRANCH`: branch name of the current session. - `GWT_AGENT`: agent name of the current session.