Agent Interactive Terminal:A Shareable PTY for LLM Agents

The DSH plugin agent-interactive-terminal (maintainer AyanamiiRei, v0.6.9, MIT, client-side, GitHub 2 stars) provides stateful PTY terminal sessions, solving issues where interactive programs fail to run due to `exec` without TTY, long tasks lack process visibility, passwords enter the dialogue context, and humans and agents cannot share a shell. The plugin includes eight terminal_* tools, a real-time shared xterm panel, and password handover that bypasses the model context. This article documents installation methods (adding the market index via Plugins → Discover or git clone manual build), platform support, the tool list, keyboard lease, the collaborate/observe/sealed three-tier access levels, passwords bypassing the model, and code examples for directly using TerminalRegistry.

Read More