@staff0rd/assist 0.755.2 → 0.757.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 +9 -30
- package/claude/skills/review-ci/scripts/review.mjs +111 -111
- package/dist/commands/sessions/web/bundle.js +412 -412
- package/dist/index.js +394 -730
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -377,7 +377,7 @@ The Config tab of the sessions web dashboard never receives secret values: `GET
|
|
|
377
377
|
- `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
|
|
378
378
|
- `assist sessions output [session-id] [--server [group]] [-n, --lines <count>]` - Print the last lines (default 200) of a session's output from the daemon's in-memory scrollback, ANSI codes stripped, then exit. `--server [group]` (group defaults to `default`) reads the live server run for the current repo's remote and group instead of taking an id. Only sessions on this node; a `<node>:<id>` id, an unknown id, no live server run or no running daemon prints an error and exits 1
|
|
379
379
|
- `assist sessions nodes [--json]` - List this node and every linked node with its link state (see [Linked nodes](#linked-nodes))
|
|
380
|
-
- `assist sessions nodes link <name> [url] [--tailscale <host> --port <port>]
|
|
380
|
+
- `assist sessions nodes link <name> [url] [--tailscale <host> --port <port>]` - Link a peer node by its web server URL or its Tailscale name
|
|
381
381
|
- `assist sessions nodes unlink <name>` - Remove a linked node
|
|
382
382
|
- `assist sessions nodes doctor [name] [--json]` - Probe each hop of every link (or one) and stop at the first failure with a remediation
|
|
383
383
|
- `assist sessions nodes logs <name> [-n, --lines <count>] [--json]` - Tail a linked node's `daemon.log` through its web server
|
|
@@ -416,7 +416,7 @@ 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. `<name>` must match the peer's `sessions.nodeName`. See [Linking machines over Tailscale](#linking-machines-over-tailscale).
|
|
419
|
+
- `assist sessions nodes link <name> --tailscale <host> --port <port>` (or `<url>`) — link a peer by its Tailscale host name, or by any 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
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.
|
|
@@ -426,42 +426,21 @@ 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
|
+
Every web server listens on `127.0.0.1` only and, when it starts, exposes itself on the tailnet with `tailscale serve` (`tailscale.exe` under WSL) at `https://<host>.<tailnet>.ts.net:<port>`. Windows' `tailscale serve` fronts the WSL web server on `<port>` + 1000, because mirrored WSL networking holds `<port>` itself.
|
|
430
430
|
|
|
431
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:
|
|
432
|
+
2. Link each peer by its Tailscale host name. From the Mac to both PC nodes:
|
|
433
433
|
|
|
434
434
|
```
|
|
435
|
-
assist sessions nodes link
|
|
435
|
+
assist sessions nodes link pc-wsl --tailscale pc --port 4100
|
|
436
|
+
assist sessions nodes link pc-windows --tailscale pc --port 3101
|
|
436
437
|
```
|
|
437
438
|
|
|
438
|
-
|
|
439
|
+
and optionally from the PC's WSL node back to the Mac: `assist sessions nodes link mac --tailscale mac --port 3100`.
|
|
439
440
|
|
|
440
|
-
|
|
441
|
+
3. Check each link with `assist sessions nodes doctor`.
|
|
441
442
|
|
|
442
|
-
|
|
443
|
-
2. On a Mac peer, turn on System Settings → General → Sharing → Remote Login and add the linking node's public key to `~/.ssh/authorized_keys`.
|
|
444
|
-
3. On the linking node, turn on 1Password → Settings → Developer → Use the SSH agent, and add a host entry to `~/.ssh/config`:
|
|
445
|
-
|
|
446
|
-
```
|
|
447
|
-
Host pc
|
|
448
|
-
HostName <pc hostname or IP>
|
|
449
|
-
User <user>
|
|
450
|
-
IdentityAgent "~/Library/Group Containers/2BUA8C4S2C.com.1password/t/agent.sock"
|
|
451
|
-
```
|
|
452
|
-
|
|
453
|
-
On Windows 1Password serves the agent on the OpenSSH pipe, so no `IdentityAgent` is needed there. Run `ssh pc` once to accept the host key.
|
|
454
|
-
|
|
455
|
-
4. Link the nodes. From the Mac to both PC nodes:
|
|
456
|
-
|
|
457
|
-
```
|
|
458
|
-
assist sessions nodes link pc-wsl --ssh pc --port 3100
|
|
459
|
-
assist sessions nodes link pc-windows --ssh pc --port 3101
|
|
460
|
-
```
|
|
461
|
-
|
|
462
|
-
and optionally from the PC's WSL node back to the Mac (with a `Host mac` entry): `assist sessions nodes link mac --ssh mac --port 3100`.
|
|
463
|
-
|
|
464
|
-
5. Check each link with `assist sessions nodes doctor`.
|
|
443
|
+
A config still holding a retired ssh link (`ssh:` / `port:` / `localPort:`) fails to load; `assist sessions nodes link` and `unlink` remove such links and name them so they can be relinked with `--tailscale`.
|
|
465
444
|
|
|
466
445
|
### Session config keys
|
|
467
446
|
|