@agentproto/cli 0.10.0 → 0.11.1

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 CHANGED
@@ -13,8 +13,8 @@ This installs the `agentproto` executable on your `PATH`.
13
13
  ```text
14
14
  agentproto auth <login|status|logout> [--host <url>] authenticate against a remote host
15
15
  agentproto config <show|path|get|set|unset|edit> read/write ~/.agentproto/config.json
16
- agentproto daemon <install|uninstall|start|stop|status|logs> manage launchd/systemd service
17
- agentproto install <slug> [--force] [--dry-run] install an adapter's underlying CLI
16
+ agentproto daemon <install|uninstall|start|restart|stop|status|logs> manage launchd/systemd service
17
+ agentproto install <slug> [--force] [--dry-run] [--allow-unverified] install an adapter's underlying CLI
18
18
  agentproto plugins <list|show|install|uninstall|enable|disable> manage runtime plugins
19
19
  agentproto setup <slug> [--force] [--dry-run] [--only ...] re-run an adapter's setup steps
20
20
  agentproto run <slug> [--cwd <dir>] [--prompt <text>] spawn the adapter, dispatch one turn, exit
@@ -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 presets list [--json] provider gateway presets
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
@@ -84,12 +85,13 @@ For multi-turn or interactive use, see [`serve`](#serve--the-local-daemon) + [`s
84
85
  agentproto install claude-code # idempotent — skips if version_check passes
85
86
  agentproto install claude-code --force # reinstall regardless
86
87
  agentproto install claude-code --dry-run # print steps, don't execute
88
+ agentproto install claude-code --allow-unverified # run curl/download installers with no SHA
87
89
 
88
90
  agentproto setup openclaw # re-run adapter setup (env keys, login, …)
89
91
  agentproto setup openclaw --only login # only specific steps
90
92
  ```
91
93
 
92
- Install methods are tried in declaration order (`npm`, `curl`, `brew`, …). Use `--force` to reinstall, `--dry-run` to preview steps.
94
+ Install methods are tried in declaration order (`npm`, `curl`, `brew`, …). Use `--force` to reinstall, `--dry-run` to preview steps, `--allow-unverified` to opt in to unverified curl/download installers in non-interactive contexts.
93
95
 
94
96
  ## `config` — defaults at `~/.agentproto/config.json`
95
97
 
@@ -165,7 +167,8 @@ agentproto daemon install # write plist + boots
165
167
  agentproto daemon status # plist? loaded? /health probe?
166
168
  agentproto daemon logs --lines 30 # tail ~/.agentproto/daemon.log
167
169
  agentproto daemon stop # SIGTERM
168
- agentproto daemon start # kickstart again
170
+ agentproto daemon start # kickstart again (idempotent)
171
+ agentproto daemon restart # kill + relaunch
169
172
  agentproto daemon uninstall # bootout + delete plist
170
173
  ```
171
174
 
@@ -243,6 +246,8 @@ What `serve` exposes:
243
246
  | Sessions (list) | `GET /sessions` / `GET /sessions/:id` | id-or-name in `:id` |
244
247
  | Agent spawn | `POST /sessions/agent` | Long-lived ACP agent (multi-turn) |
245
248
  | Interrupt turn | `POST /sessions/:id/interrupt` | Cancel the in-flight turn and leave the session alive |
249
+ | Terminal input | `POST /sessions/:id/terminal/input` | Write raw input into a live PTY session |
250
+ | Rename session | `PATCH /sessions/:id` | Set or clear the session's user-facing `title`/`label`|
246
251
  | **PTY spawn** | **`POST /sessions/terminal`** | Real PTY under node-pty (alt-screen, ANSI, raw input) |
247
252
  | **PTY attach** | **`WS /sessions/:id/pty`** | JSON-framed duplex; multi-subscriber |
248
253
  | SSE attach | `GET /sessions/:id/stream` | Line-by-line text events |
@@ -316,6 +321,7 @@ agentproto sessions mirror claude-tui
316
321
 
317
322
  # Spawn an agent CLI (ACP, structured events)
318
323
  agentproto sessions start claude-code --workspace my-app --attach
324
+ agentproto sessions start claude-code --workspace my-app --title "payments refactor" --attach
319
325
  agentproto sessions start hermes --label "ops on-call"
320
326
 
321
327
  # Spawn a real PTY (raw bytes, ANSI escapes, alt-screen apps)
@@ -364,6 +370,7 @@ When `agentproto serve` is up, the gateway's `/mcp` endpoint exposes these tools
364
370
  | **`terminal_input`** | Send keystrokes to a PTY's stdin |
365
371
  | **`terminal_output`** | Snapshot the recent byte buffer (base64) |
366
372
  | **`terminal_kill`** | SIGTERM a PTY session |
373
+ | `session_rename` | Set or clear a session's user-facing `title`/`label` |
367
374
  | `adapter_list` | Enumerate installed `@agentproto/adapter-*` packages |
368
375
  | `mcp_discovered_list` | MCP servers configured in claude / cursor / goose |
369
376
  | `mcp_imported_list` | The user's curated MCP set |