@staff0rd/assist 0.706.4 → 0.707.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 +11 -5
- package/allowed.cli-reads +1 -0
- package/dist/allowed.cli-reads +1 -0
- package/dist/commands/sessions/web/bundle.js +402 -402
- package/dist/index.js +1346 -1293
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -386,6 +386,9 @@ The Config tab of the sessions web dashboard never receives secret values: `GET
|
|
|
386
386
|
- `assist sessions summarise [-f, --force] [-n, --limit <count>]` - Generate one-line summaries for unsummarised Claude sessions
|
|
387
387
|
- `assist sessions close` - Dismiss the current daemon-managed session: kills its process tree, removes its card from the dashboard and reaps its worktree. Outside such a session it reports there is nothing to close and exits 0
|
|
388
388
|
- `assist sessions rename <title>` - Retitle the current daemon-managed session: the given title replaces the generated title and the backlog item name on its dashboard card for the rest of its life. Outside such a session it reports there is nothing to rename and exits 0
|
|
389
|
+
- `assist sessions nodes [--json]` - List this node and every linked node with its link state (see [Linked nodes](#linked-nodes))
|
|
390
|
+
- `assist sessions nodes link <name> <url>` - Link a peer node by its web server URL
|
|
391
|
+
- `assist sessions nodes unlink <name>` - Remove a linked node
|
|
389
392
|
- `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
|
|
390
393
|
- `assist daemon run` - Run the sessions daemon in the foreground (normally auto-spawned detached)
|
|
391
394
|
- `assist daemon status` - Show daemon status, live sessions, and any stray processes or stolen socket
|
|
@@ -416,13 +419,16 @@ Every live session card carries an **add-agent** button (👥) that starts a sec
|
|
|
416
419
|
|
|
417
420
|
A `run:` entry in `assist.yml` flagged `server:` (with an optional display-only `port:`) is a singleton **dev server**. `server:` takes a group name — `server: api` and `server: web` are separate slots, so a repo that serves an API and a front end can keep both live at once; `server: true` normalises to the group `default`. At most one server may be live per group per normalised git remote, i.e. across a clone and all its sibling clones. Session cards for such a repo show a **▶ start** button; the daemon rejects a second server run for that remote and group, and the web UI turns the conflict into a "replace running server?" prompt. The serving card shows a `serving :<port>` chip and a **⏹ stop** button, and the slot frees whenever that session stops. Non-`server` runs are unconstrained.
|
|
418
421
|
|
|
419
|
-
###
|
|
422
|
+
### Linked nodes
|
|
420
423
|
|
|
421
|
-
|
|
424
|
+
Each assist install is a **node** with its own daemon and web server. A node can link to other nodes, and its web UI then shows its own sessions merged with each linked node's, as `<node>:<id>` cards carrying a node badge. Links are flat: a node only exports its own sessions and log lines, so two nodes linked to each other show no duplicates. See [docs/multi-node-sessions.md](docs/multi-node-sessions.md).
|
|
422
425
|
|
|
423
|
-
- `sessions
|
|
424
|
-
- `sessions
|
|
425
|
-
- `sessions
|
|
426
|
+
- `assist sessions nodes [--json]` — this node and each link's state (connected / connecting / disconnected / version-blocked), peer version and last error.
|
|
427
|
+
- `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
|
+
- `assist sessions nodes unlink <name>` — remove a link.
|
|
429
|
+
- `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
|
+
|
|
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.
|
|
426
432
|
|
|
427
433
|
### Session config keys
|
|
428
434
|
|
package/allowed.cli-reads
CHANGED