agent-dag 1.31.0 → 1.32.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 +24 -5
- package/dist/web/assets/index-Bj4ALC2V.js +66 -0
- package/dist/web/assets/index-CAnz1LW4.css +1 -0
- package/dist/web/index.html +2 -2
- package/package.json +1 -1
- package/src/server/index.mjs +12 -0
- package/src/server/self-update.mjs +126 -5
- package/dist/web/assets/index-BrkDn1XS.css +0 -1
- package/dist/web/assets/index-CULN68BP.js +0 -66
package/README.md
CHANGED
|
@@ -28,7 +28,7 @@ No config. No install step. Ctrl+C to stop.
|
|
|
28
28
|
- **Workspace filter** — `--scope` limits capture to the current directory; `--workspace <path>` for any subtree
|
|
29
29
|
- **Zero trust step for Codex** — no hook install, no `/hooks` trust prompt; the server tails `~/.codex/sessions/` directly
|
|
30
30
|
- **Version drift warning** — Node caches modules at startup, so a deck upgraded while running keeps executing the old code. The topbar says so, and points at the restart or the upgrade command
|
|
31
|
-
- **
|
|
31
|
+
- **One-click update** — when a newer release is on npm, `Update now` installs it in the background and the deck restarts itself as soon as nothing is running. Never runs behind your back, and declines outright where it could do harm
|
|
32
32
|
|
|
33
33
|
## How it works
|
|
34
34
|
|
|
@@ -75,10 +75,29 @@ AGENTS_DECK_NO_UPDATE_CHECK=1 Don't ask npm about releases, but keep everything
|
|
|
75
75
|
AGENTS_DECK_NO_FRESHEN=1 Never nudge claude-swap to collect usage early
|
|
76
76
|
```
|
|
77
77
|
|
|
78
|
-
The update check is one ~20-byte GET to `registry.npmjs.org`, at most once a day
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
78
|
+
The update check is one ~20-byte GET to `registry.npmjs.org`, at most once a day.
|
|
79
|
+
Being told to restart after an upgrade is local only — no network involved — and
|
|
80
|
+
cannot be turned off, because a deck running superseded code is a bug you cannot
|
|
81
|
+
see any other way.
|
|
82
|
+
|
|
83
|
+
### Updating
|
|
84
|
+
|
|
85
|
+
`Update now` runs `npm install -g agents-deck@latest` and nothing else — the
|
|
86
|
+
argument vector is fixed in the server, not taken from the request. When it
|
|
87
|
+
finishes, the newer files on disk trigger the ordinary restart path below.
|
|
88
|
+
|
|
89
|
+
Nothing is ever installed unless you click. The button is replaced by the reason
|
|
90
|
+
when installing would be wrong:
|
|
91
|
+
|
|
92
|
+
| | |
|
|
93
|
+
|---|---|
|
|
94
|
+
| git checkout | your working copy leads npm; pull instead |
|
|
95
|
+
| npx | its cache directory is never upgraded in place |
|
|
96
|
+
| directory not writable | a root-owned global prefix — declined up front rather than failing inside npm |
|
|
97
|
+
| `AGENTS_DECK_NO_INSTALL=1` | you asked for no installs |
|
|
98
|
+
|
|
99
|
+
If npm fails anyway, the banner shows npm's own last line and the command to run
|
|
100
|
+
by hand. The command is always on screen, button or no button.
|
|
82
101
|
|
|
83
102
|
### Restarting
|
|
84
103
|
|