@staff0rd/assist 0.755.0 → 0.755.2
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 -11
- package/dist/commands/sessions/web/bundle.js +1 -1
- package/dist/index.js +147 -131
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -416,9 +416,9 @@ A `run:` entry in `assist.yml` flagged `server:` (with an optional display-only
|
|
|
416
416
|
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).
|
|
417
417
|
|
|
418
418
|
- `assist sessions nodes [--json]` — this node and each link's state (connected / connecting / disconnected / version-blocked), peer version and last error.
|
|
419
|
-
- `assist sessions nodes link <name> <url>` — link a peer by its web server URL
|
|
419
|
+
- `assist sessions nodes link <name> <url>` — link a peer by its web server URL. `<name>` must match the peer's `sessions.nodeName`. See [Linking machines over Tailscale](#linking-machines-over-tailscale).
|
|
420
420
|
- `assist sessions nodes unlink <name>` — remove a link.
|
|
421
|
-
- `assist sessions nodes doctor [name] [--json]` —
|
|
421
|
+
- `assist sessions nodes doctor [name] [--json]` — find where a link is broken and how to fix it.
|
|
422
422
|
- `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.
|
|
423
423
|
- `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 (a latched link re-checks the peer every minute and reconnects once the versions match); `warn` proceeds anyway; `off` skips the check.
|
|
424
424
|
|
|
@@ -426,19 +426,15 @@ With more than one node, a machine picker appears in the top nav and a machine s
|
|
|
426
426
|
|
|
427
427
|
#### Linking machines over Tailscale
|
|
428
428
|
|
|
429
|
-
|
|
429
|
+
Each web server exposes itself on the tailnet when it starts.
|
|
430
430
|
|
|
431
|
-
1. Install Tailscale on every machine
|
|
432
|
-
2.
|
|
433
|
-
3. Link the nodes by Tailscale host name. From the Mac to both PC nodes:
|
|
431
|
+
1. Install Tailscale on every machine, sign in to the same tailnet, and turn on MagicDNS and HTTPS certificates in the admin console.
|
|
432
|
+
2. Link each peer by its Tailscale host name:
|
|
434
433
|
|
|
435
434
|
```
|
|
436
|
-
assist sessions nodes link
|
|
437
|
-
assist sessions nodes link pc-windows --tailscale pc --port 3101
|
|
435
|
+
assist sessions nodes link <name> --tailscale <host> --port <port>
|
|
438
436
|
```
|
|
439
437
|
|
|
440
|
-
4. Check each link with `assist sessions nodes doctor`; a failed web hop on a `*.ts.net` link points at the `tailscale serve:` line in the peer's web server log.
|
|
441
|
-
|
|
442
438
|
#### Linking machines over ssh
|
|
443
439
|
|
|
444
440
|
A remote node is reached through an ssh tunnel to its loopback web server, with keys held by the 1Password SSH agent.
|
|
@@ -470,7 +466,7 @@ A remote node is reached through an ssh tunnel to its loopback web server, with
|
|
|
470
466
|
### Session config keys
|
|
471
467
|
|
|
472
468
|
- `sessions.nodeName` — this install's node label, shown at the top of the web UI's hamburger menu and reported by `GET /api/health` (with the assist version, protocol and whether the daemon is reachable). Defaults to the OS hostname, suffixed `-wsl` under WSL.
|
|
473
|
-
- `sessions.tailscaleServe` — defaults to **true
|
|
469
|
+
- `sessions.tailscaleServe` — defaults to **true**; set false to keep the web server off the tailnet.
|
|
474
470
|
- `sessions.includeCommittedChanges` — defaults to **true**: the card's change counts, the `/diff` view and its scope picker cover the commits recorded against the session's backlog item as well as uncommitted work, so the change link survives the agent committing. Each committed path is diffed against the parent of the earliest of those commits that touched it, so nothing outside the item's own commits is shown. Set it false to count and diff only uncommitted changes. A session whose item has no recorded commits and a clean tree still shows nothing either way.
|
|
475
471
|
- `sessions.topBar` — defaults to **true**: a sticky top bar inside the terminal panel carrying the session's ids, backlog chip and story name, the phase caption, elapsed time, the Continue/Auto-run/Dismiss switches and the session actions. Set it false to keep all of that on the card instead.
|
|
476
472
|
- `sessions.floatWaiting` — defaults to **true**: sessions that have been `waiting` on input for longer than the threshold float above the other cards, longest waiting first. Set it false to keep the star-only ordering; starred sessions still sort above everything.
|