agent-dag 1.32.2 → 1.33.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 +21 -0
- package/dist/web/assets/index-Disgmxp1.js +66 -0
- package/dist/web/assets/{index-CAnz1LW4.css → index-hRjhJVfb.css} +1 -1
- package/dist/web/index.html +2 -2
- package/package.json +1 -1
- package/src/server/cswap-admin.mjs +502 -0
- package/src/server/exec.mjs +103 -0
- package/src/server/index.mjs +44 -0
- package/dist/web/assets/index-C0PC3b6r.js +0 -66
package/README.md
CHANGED
|
@@ -29,6 +29,7 @@ No config. No install step. Ctrl+C to stop.
|
|
|
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
|
+
- **Accounts without a terminal** — sign a new Claude account in from the panel, share one to another machine, rename, reorder or remove. No `claude auth login`, no `cswap add`
|
|
32
33
|
|
|
33
34
|
## How it works
|
|
34
35
|
|
|
@@ -99,6 +100,26 @@ when installing would be wrong:
|
|
|
99
100
|
If npm fails anyway, the banner shows npm's own last line and the command to run
|
|
100
101
|
by hand. The command is always on screen, button or no button.
|
|
101
102
|
|
|
103
|
+
### Accounts
|
|
104
|
+
|
|
105
|
+
`+` in the Accounts panel signs a new account in: the deck runs `claude auth login`,
|
|
106
|
+
shows you the link, takes the code the browser gives you, and hands the result to
|
|
107
|
+
`cswap add`. **The account you were using stays active** — signing in replaces the
|
|
108
|
+
live credentials, so the previous one is switched back the moment the new one is
|
|
109
|
+
recorded.
|
|
110
|
+
|
|
111
|
+
The code goes straight into the CLI's stdin on this machine. It is never stored,
|
|
112
|
+
logged, or sent anywhere else.
|
|
113
|
+
|
|
114
|
+
`share` on an account produces a `ccdeck1:…` blob to paste into another deck's
|
|
115
|
+
`+ → Paste a share`. **It carries that account's live login in the clear** —
|
|
116
|
+
claude-swap's export format has no encryption — so it expires ten minutes after it
|
|
117
|
+
is made and imports refuse it after that. Treat it like a password while it lives:
|
|
118
|
+
anything that reads your clipboard reads the account.
|
|
119
|
+
|
|
120
|
+
Renaming, reordering and removing are on the same row menu. Removal takes two
|
|
121
|
+
clicks and cannot be undone.
|
|
122
|
+
|
|
102
123
|
### Restarting
|
|
103
124
|
|
|
104
125
|
`agents-deck` runs as a two-process pair: a supervisor that owns nothing but the
|