@staff0rd/assist 0.709.0 → 0.710.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 +6 -2
- package/allowed.cli-reads +2 -0
- package/dist/allowed.cli-reads +2 -0
- package/dist/commands/sessions/web/bundle.js +1 -1
- package/dist/index.js +531 -150
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -389,9 +389,11 @@ The Config tab of the sessions web dashboard never receives secret values: `GET
|
|
|
389
389
|
- `assist sessions nodes [--json]` - List this node and every linked node with its link state (see [Linked nodes](#linked-nodes))
|
|
390
390
|
- `assist sessions nodes link <name> <url>` - Link a peer node by its web server URL
|
|
391
391
|
- `assist sessions nodes unlink <name>` - Remove a linked node
|
|
392
|
+
- `assist sessions nodes doctor [name] [--json]` - Probe each hop of every link (or one) and stop at the first failure with a remediation
|
|
393
|
+
- `assist sessions nodes logs <name> [-n, --lines <count>] [--json]` - Tail a linked node's `daemon.log` through its web server
|
|
392
394
|
- `assist sessions set-status <status>` - Report the current session's status (`running`/`waiting`) to the daemon; invoked by the Claude Code hooks the daemon wires into each session
|
|
393
395
|
- `assist daemon run` - Run the sessions daemon in the foreground (normally auto-spawned detached)
|
|
394
|
-
- `assist daemon status` - Show daemon status, live sessions, and any stray processes or stolen socket
|
|
396
|
+
- `assist daemon status` - Show daemon status, live sessions, each link's state, and any stray processes or stolen socket
|
|
395
397
|
- `assist daemon stop` - Stop the sessions daemon; running claude sessions resume on next start
|
|
396
398
|
- `assist daemon restart` - Restart the sessions daemon, resuming previously running claude sessions
|
|
397
399
|
- `assist daemon drain [--yes]` - Remove all sessions from the local daemon for a clean slate; a session holding unpushed work is stopped, not removed
|
|
@@ -426,9 +428,11 @@ Each assist install is a **node** with its own daemon and web server. A node can
|
|
|
426
428
|
- `assist sessions nodes [--json]` — this node and each link's state (connected / connecting / disconnected / version-blocked), peer version and last error.
|
|
427
429
|
- `assist sessions nodes link <name> <url>` — link a peer by its web server URL, e.g. `assist sessions nodes link <name> http://127.0.0.1:<port>`. `<name>` must match the peer's `sessions.nodeName`. A running daemon picks up the change immediately.
|
|
428
430
|
- `assist sessions nodes unlink <name>` — remove a link.
|
|
431
|
+
- `assist sessions nodes doctor [name] [--json]` — probes each link's hops in order: the peer's web server (`GET /api/health`, including that its `nodeName` matches the link), the peer's daemon (as its health reports it), a WebSocket `hello` (version and protocol), then this node's own link state. It stops at the first failing hop and prints the raw error with a remediation, and exits 1 on any failure. On WSL with no links, it reports a Windows node answering on `127.0.0.1:3101` and prints the command that links it.
|
|
432
|
+
- `assist sessions nodes logs <name> [-n, --lines <count>] [--json]` — tail a linked node's `daemon.log` (default 200 lines) through its web server's `GET /api/daemon-log`; naming this node reads the local log.
|
|
429
433
|
- `sessions.linkVersionCheck` — reaction to a version mismatch with a linked node: `block` (default) heals an older peer by calling its `POST /api/self-update` (runs `assist update`, then restarts its daemon and web server) and reconnects, latching with an error if the gap remains or this node is the older side; `warn` proceeds anyway; `off` skips the check.
|
|
430
434
|
|
|
431
|
-
With more than one node, a machine picker appears in the top nav and a machine selector in the new-session dialog; the dialog's selector defaults to the top nav's choice, which is remembered per browser. Linked nodes' daemon lines appear in this node's `daemon.log` tagged `[<node>]`. The retired `sessions.windows*` keys are ignored.
|
|
435
|
+
With more than one node, a machine picker appears in the top nav and a machine selector in the new-session dialog; the dialog's selector defaults to the top nav's choice, which is remembered per browser. Linked nodes' daemon lines appear in this node's `daemon.log` tagged `[<node>]`. Every launch forwarded over a link and every `?node=` panel request carries a `traceId`, logged as `trace=<id>` by both nodes. `GET /api/health` reports the node's name, version, protocol, daemon reachability and its links' states. The retired `sessions.windows*` keys are ignored.
|
|
432
436
|
|
|
433
437
|
### Session config keys
|
|
434
438
|
|
package/allowed.cli-reads
CHANGED