pi-mono/apps/p2/plugins/mcp
Armin Ronacher 47005dbe36 feat(p2): terminal tool for the agent, tmux-style argv, code mode only
The agent drives the session's terminals (shared with the owner's panel) with
tools.terminal({ command, args }): new-window, list-windows, send-keys, read,
capture-pane, kill-window, with waits (quiet, exit, /regex/) and plain-text
output. The terminal host keeps each terminal's last MiB of output and the
agent's read cursor, answers calls with ids, and does keyed calls once, so the
tool is replay-safe. AgentTerminals serves the session's current worker on its
environments; archiving closes a session's terminals. Without code mode the
worker registry installs tool_search once for all deferred tools.
2026-11-04 21:56:56 +01:00
..
config.ts feat(p2): MCP servers on the host, on environments and from projects 2026-11-03 16:48:38 +01:00
contract.ts feat(p2): MCP OAuth sign-in, MCP sheet and TUI command, footer menu 2026-11-04 18:34:13 +01:00
credentials.ts feat(p2): MCP OAuth sign-in, MCP sheet and TUI command, footer menu 2026-11-04 18:34:13 +01:00
environments.ts feat(p2): MCP servers on the host, on environments and from projects 2026-11-03 16:48:38 +01:00
instances.ts feat(p2): MCP OAuth sign-in, MCP sheet and TUI command, footer menu 2026-11-04 18:34:13 +01:00
leases.ts feat(p2): MCP servers on the host, on environments and from projects 2026-11-03 16:48:38 +01:00
package.json feat(p2): MCP servers on the host, on environments and from projects 2026-11-03 16:48:38 +01:00
pages.ts feat(p2): MCP OAuth sign-in, MCP sheet and TUI command, footer menu 2026-11-04 18:34:13 +01:00
placement.ts feat(p2): MCP OAuth sign-in, MCP sheet and TUI command, footer menu 2026-11-04 18:34:13 +01:00
probe.ts feat(p2): MCP OAuth sign-in, MCP sheet and TUI command, footer menu 2026-11-04 18:34:13 +01:00
project.ts feat(p2): MCP servers on the host, on environments and from projects 2026-11-03 16:48:38 +01:00
routes.ts feat(p2): MCP OAuth sign-in, MCP sheet and TUI command, footer menu 2026-11-04 18:34:13 +01:00
server.ts feat(p2): MCP OAuth sign-in, MCP sheet and TUI command, footer menu 2026-11-04 18:34:13 +01:00
sign-in.ts feat(p2): MCP OAuth sign-in, MCP sheet and TUI command, footer menu 2026-11-04 18:34:13 +01:00
tools.ts feat(p2): MCP OAuth sign-in, MCP sheet and TUI command, footer menu 2026-11-04 18:34:13 +01:00
transports.ts feat(p2): MCP OAuth sign-in, MCP sheet and TUI command, footer menu 2026-11-04 18:34:13 +01:00
tui.ts feat(p2): MCP OAuth sign-in, MCP sheet and TUI command, footer menu 2026-11-04 18:34:13 +01:00
web.tsx feat(p2): MCP OAuth sign-in, MCP sheet and TUI command, footer menu 2026-11-04 18:34:13 +01:00
windows-command.ts feat(p2): MCP servers on the host, on environments and from projects 2026-11-03 16:48:38 +01:00
worker.ts feat(p2): terminal tool for the agent, tmux-style argv, code mode only 2026-11-04 21:56:56 +01:00