@agentproto/cli 0.7.0 → 0.9.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 +4 -1
- package/dist/cli.mjs +23113 -13746
- package/dist/cli.mjs.map +1 -1
- package/dist/index.d.ts +53 -4
- package/dist/index.mjs +25322 -16225
- 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 +18 -17
package/README.md
CHANGED
|
@@ -34,7 +34,7 @@ agentproto onboard [--yes] [--no-skills] [--skills <slug>] first-run se
|
|
|
34
34
|
agentproto cron <add|list|remove|run> recurring daemon jobs
|
|
35
35
|
agentproto worktree <ls|new|rm|archive|gc> git worktree lifecycle
|
|
36
36
|
agentproto policy <attach|status|wait|ack|ls|cancel> completion-policy CLI (shell/judge gates)
|
|
37
|
-
agentproto permissions <ls|approve|deny> held tool-permission requests
|
|
37
|
+
agentproto permissions <ls|approve|deny|watch> held tool-permission requests
|
|
38
38
|
agentproto acp <ls|add|rm> generic ACP agent registry
|
|
39
39
|
agentproto pair <offer|accept|ls|revoke|exec> pairing over a rendezvous broker
|
|
40
40
|
agentproto rendezvous serve [--port <n>] [--host <ip>] run a rendezvous broker
|
|
@@ -242,6 +242,7 @@ What `serve` exposes:
|
|
|
242
242
|
| Adapter discovery | `GET /adapters` | Globally-installed `@agentproto/adapter-*` packages |
|
|
243
243
|
| Sessions (list) | `GET /sessions` / `GET /sessions/:id` | id-or-name in `:id` |
|
|
244
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 |
|
|
245
246
|
| **PTY spawn** | **`POST /sessions/terminal`** | Real PTY under node-pty (alt-screen, ANSI, raw input) |
|
|
246
247
|
| **PTY attach** | **`WS /sessions/:id/pty`** | JSON-framed duplex; multi-subscriber |
|
|
247
248
|
| SSE attach | `GET /sessions/:id/stream` | Line-by-line text events |
|
|
@@ -357,6 +358,8 @@ When `agentproto serve` is up, the gateway's `/mcp` endpoint exposes these tools
|
|
|
357
358
|
| `agent_prompt` | Send a follow-up turn to a live agent session |
|
|
358
359
|
| `agent_output` | Tail the recent ring buffer (lines) |
|
|
359
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 |
|
|
360
363
|
| **`terminal_start`** | Spawn a PTY-backed process (any argv) |
|
|
361
364
|
| **`terminal_input`** | Send keystrokes to a PTY's stdin |
|
|
362
365
|
| **`terminal_output`** | Snapshot the recent byte buffer (base64) |
|