@agentproto/cli 0.6.0 → 0.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -1
- package/dist/cli.mjs +26099 -23374
- package/dist/cli.mjs.map +1 -1
- package/dist/index.d.ts +83 -7
- package/dist/index.mjs +22294 -20578
- package/dist/index.mjs.map +1 -1
- package/dist/registry/builtins.mjs +1 -1
- package/dist/registry/manifest.mjs +1 -1
- package/dist/registry/plugins.mjs +1 -1
- package/dist/registry/runtime.mjs +1 -1
- package/dist/util/credentials.mjs +1 -1
- package/package.json +16 -16
package/README.md
CHANGED
|
@@ -32,7 +32,8 @@ agentproto mcp-bridge stdio MCP pr
|
|
|
32
32
|
agentproto install-mcp [--agent <name>...] [--all] [--yes] register daemon MCP with coding CLIs
|
|
33
33
|
agentproto onboard [--yes] [--no-skills] [--skills <slug>] first-run setup
|
|
34
34
|
agentproto cron <add|list|remove|run> recurring daemon jobs
|
|
35
|
-
agentproto worktree <ls|archive>
|
|
35
|
+
agentproto worktree <ls|new|rm|archive|gc> git worktree lifecycle
|
|
36
|
+
agentproto policy <attach|status|wait|ack|ls|cancel> completion-policy CLI (shell/judge gates)
|
|
36
37
|
agentproto permissions <ls|approve|deny> held tool-permission requests
|
|
37
38
|
agentproto acp <ls|add|rm> generic ACP agent registry
|
|
38
39
|
agentproto pair <offer|accept|ls|revoke|exec> pairing over a rendezvous broker
|
|
@@ -241,6 +242,7 @@ What `serve` exposes:
|
|
|
241
242
|
| Adapter discovery | `GET /adapters` | Globally-installed `@agentproto/adapter-*` packages |
|
|
242
243
|
| Sessions (list) | `GET /sessions` / `GET /sessions/:id` | id-or-name in `:id` |
|
|
243
244
|
| Agent spawn | `POST /sessions/agent` | Long-lived ACP agent (multi-turn) |
|
|
245
|
+
| Interrupt turn | `POST /sessions/:id/interrupt` | Cancel the in-flight turn and leave the session alive |
|
|
244
246
|
| **PTY spawn** | **`POST /sessions/terminal`** | Real PTY under node-pty (alt-screen, ANSI, raw input) |
|
|
245
247
|
| **PTY attach** | **`WS /sessions/:id/pty`** | JSON-framed duplex; multi-subscriber |
|
|
246
248
|
| SSE attach | `GET /sessions/:id/stream` | Line-by-line text events |
|
|
@@ -356,6 +358,8 @@ When `agentproto serve` is up, the gateway's `/mcp` endpoint exposes these tools
|
|
|
356
358
|
| `agent_prompt` | Send a follow-up turn to a live agent session |
|
|
357
359
|
| `agent_output` | Tail the recent ring buffer (lines) |
|
|
358
360
|
| `agent_kill` | SIGTERM an agent session |
|
|
361
|
+
| `agent_interrupt` | Cancel the in-flight turn without killing the session |
|
|
362
|
+
| `conversation_read` | Read the provider-native conversation behind any session |
|
|
359
363
|
| **`terminal_start`** | Spawn a PTY-backed process (any argv) |
|
|
360
364
|
| **`terminal_input`** | Send keystrokes to a PTY's stdin |
|
|
361
365
|
| **`terminal_output`** | Snapshot the recent byte buffer (base64) |
|