@agentproto/cli 0.7.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 +3 -0
- package/dist/cli.mjs +17841 -17221
- package/dist/cli.mjs.map +1 -1
- package/dist/index.d.ts +40 -4
- package/dist/index.mjs +15946 -15354
- 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
|
@@ -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) |
|