@agentproto/cli 0.9.0 → 0.11.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 +7 -2
- package/dist/cli.mjs +24383 -10604
- package/dist/cli.mjs.map +1 -1
- package/dist/index.d.ts +112 -3
- package/dist/index.mjs +32530 -19642
- 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 +28 -26
package/README.md
CHANGED
|
@@ -27,7 +27,8 @@ agentproto workspace <add|list|remove|use> register spa
|
|
|
27
27
|
agentproto sessions [start|terminal|mirror|stop|...] browse / control live sessions
|
|
28
28
|
agentproto browser <install|start|list|stop|status> manage browser sessions
|
|
29
29
|
agentproto tunnel <create|list|stop|status> public URL tunnels
|
|
30
|
-
agentproto
|
|
30
|
+
agentproto provider-preset list [--json] provider gateway definitions
|
|
31
|
+
agentproto preset <list|show|add|delete> saved user spawn configurations
|
|
31
32
|
agentproto mcp-bridge stdio MCP proxy to daemon /mcp
|
|
32
33
|
agentproto install-mcp [--agent <name>...] [--all] [--yes] register daemon MCP with coding CLIs
|
|
33
34
|
agentproto onboard [--yes] [--no-skills] [--skills <slug>] first-run setup
|
|
@@ -40,7 +41,7 @@ agentproto pair <offer|accept|ls|revoke|exec> pairing over
|
|
|
40
41
|
agentproto rendezvous serve [--port <n>] [--host <ip>] run a rendezvous broker
|
|
41
42
|
```
|
|
42
43
|
|
|
43
|
-
`agentproto --help` prints the full usage; `--version` prints the package version.
|
|
44
|
+
> `agentproto --help` prints the full usage; `--version` prints the package version.
|
|
44
45
|
|
|
45
46
|
## Quick start
|
|
46
47
|
|
|
@@ -243,6 +244,8 @@ What `serve` exposes:
|
|
|
243
244
|
| Sessions (list) | `GET /sessions` / `GET /sessions/:id` | id-or-name in `:id` |
|
|
244
245
|
| Agent spawn | `POST /sessions/agent` | Long-lived ACP agent (multi-turn) |
|
|
245
246
|
| Interrupt turn | `POST /sessions/:id/interrupt` | Cancel the in-flight turn and leave the session alive |
|
|
247
|
+
| Terminal input | `POST /sessions/:id/terminal/input` | Write raw input into a live PTY session |
|
|
248
|
+
| Rename session | `PATCH /sessions/:id` | Set or clear the session's user-facing `title`/`label`|
|
|
246
249
|
| **PTY spawn** | **`POST /sessions/terminal`** | Real PTY under node-pty (alt-screen, ANSI, raw input) |
|
|
247
250
|
| **PTY attach** | **`WS /sessions/:id/pty`** | JSON-framed duplex; multi-subscriber |
|
|
248
251
|
| SSE attach | `GET /sessions/:id/stream` | Line-by-line text events |
|
|
@@ -316,6 +319,7 @@ agentproto sessions mirror claude-tui
|
|
|
316
319
|
|
|
317
320
|
# Spawn an agent CLI (ACP, structured events)
|
|
318
321
|
agentproto sessions start claude-code --workspace my-app --attach
|
|
322
|
+
agentproto sessions start claude-code --workspace my-app --title "payments refactor" --attach
|
|
319
323
|
agentproto sessions start hermes --label "ops on-call"
|
|
320
324
|
|
|
321
325
|
# Spawn a real PTY (raw bytes, ANSI escapes, alt-screen apps)
|
|
@@ -364,6 +368,7 @@ When `agentproto serve` is up, the gateway's `/mcp` endpoint exposes these tools
|
|
|
364
368
|
| **`terminal_input`** | Send keystrokes to a PTY's stdin |
|
|
365
369
|
| **`terminal_output`** | Snapshot the recent byte buffer (base64) |
|
|
366
370
|
| **`terminal_kill`** | SIGTERM a PTY session |
|
|
371
|
+
| `session_rename` | Set or clear a session's user-facing `title`/`label` |
|
|
367
372
|
| `adapter_list` | Enumerate installed `@agentproto/adapter-*` packages |
|
|
368
373
|
| `mcp_discovered_list` | MCP servers configured in claude / cursor / goose |
|
|
369
374
|
| `mcp_imported_list` | The user's curated MCP set |
|