@agentproto/cli 0.3.0 → 0.4.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 +17 -17
- package/dist/cli.mjs +22538 -48897
- package/dist/cli.mjs.map +1 -1
- package/dist/index.d.ts +4 -4
- package/dist/index.mjs +11056 -7133
- package/dist/index.mjs.map +1 -1
- package/dist/registry/builtins.mjs +4 -4
- package/dist/registry/manifest.mjs +4 -4
- package/dist/registry/plugins.mjs +4 -4
- package/dist/registry/runtime.mjs +4 -4
- package/dist/util/credentials.mjs +4 -4
- package/package.json +14 -18
- package/skill/agentproto/SKILL.md +26 -26
package/README.md
CHANGED
|
@@ -275,7 +275,7 @@ agentproto sessions stop claude-tui
|
|
|
275
275
|
|-----------------------------|----------------------|---------------|--------|------------------|
|
|
276
276
|
| `--attach` to PTY | WebSocket `/pty` | raw bytes ✓ | ✓ | `Ctrl-] q` chord |
|
|
277
277
|
| `mirror` to PTY | WebSocket `/pty` | **no** (read-only) | no | `Ctrl-C` |
|
|
278
|
-
| `--attach` to agent-cli | SSE `/stream` | n/a (use `
|
|
278
|
+
| `--attach` to agent-cli | SSE `/stream` | n/a (use `agent_prompt` MCP tool) | n/a | `Ctrl-C` |
|
|
279
279
|
| `--attach` to command/piped | SSE `/stream` | n/a | n/a | `Ctrl-C` |
|
|
280
280
|
|
|
281
281
|
**When to pick which:**
|
|
@@ -290,24 +290,24 @@ When `agentproto serve` is up, the gateway's `/mcp` endpoint exposes these tools
|
|
|
290
290
|
|
|
291
291
|
| Tool | Purpose |
|
|
292
292
|
|-------------------------------|-----------------------------------------------------------|
|
|
293
|
-
| **`
|
|
294
|
-
| `
|
|
295
|
-
| `
|
|
296
|
-
| `
|
|
297
|
-
| `
|
|
298
|
-
| `
|
|
299
|
-
| **`
|
|
300
|
-
| **`
|
|
301
|
-
| **`
|
|
302
|
-
| **`
|
|
303
|
-
| `
|
|
304
|
-
| `
|
|
305
|
-
| `
|
|
306
|
-
| `
|
|
293
|
+
| **`session_list`** | List sessions with `kind` / `status` / `onlyAlive` filters (canonical lister) |
|
|
294
|
+
| `agent_sessions_list` | Agent-only view; use `session_list` with `kind` for full control |
|
|
295
|
+
| `agent_start` | Spawn a long-lived ACP adapter (claude-code/hermes/…) |
|
|
296
|
+
| `agent_prompt` | Send a follow-up turn to a live agent session |
|
|
297
|
+
| `agent_output` | Tail the recent ring buffer (lines) |
|
|
298
|
+
| `agent_kill` | SIGTERM an agent session |
|
|
299
|
+
| **`terminal_start`** | Spawn a PTY-backed process (any argv) |
|
|
300
|
+
| **`terminal_input`** | Send keystrokes to a PTY's stdin |
|
|
301
|
+
| **`terminal_output`** | Snapshot the recent byte buffer (base64) |
|
|
302
|
+
| **`terminal_kill`** | SIGTERM a PTY session |
|
|
303
|
+
| `adapter_list` | Enumerate installed `@agentproto/adapter-*` packages |
|
|
304
|
+
| `mcp_discovered_list` | MCP servers configured in claude / cursor / goose |
|
|
305
|
+
| `mcp_imported_list` | The user's curated MCP set |
|
|
306
|
+
| `mcp_import` / `mcp_imported_remove` | Curate the set |
|
|
307
307
|
| `mcp_imported_status` | Connection status of every imported MCP |
|
|
308
|
-
| `
|
|
308
|
+
| `mcp_imported_tool_list` / `mcp_imported_call` | Proxy the imported MCP's tools |
|
|
309
309
|
|
|
310
|
-
The terminal tools let one agent **orchestrate** other sessions: an agent in a structured ACP session can call `
|
|
310
|
+
The terminal tools let one agent **orchestrate** other sessions: an agent in a structured ACP session can call `terminal_start({argv: ["bash"]})`, then drive it turn-by-turn with `terminal_input` + `terminal_output`. Same surface backs the future `wire`/`tee` primitive for cross-session piping.
|
|
311
311
|
|
|
312
312
|
## Adapter resolution
|
|
313
313
|
|