Repository navigation
Agent Deck v1.16.43
Terminal session manager for AI coding agents.
Highlights
- Give your sessions API keys safely:
agent-deck secret set NAMEstores a key in the system keychain (or a private file on headless servers), and an env value ofsecret:NAMEpasses it only to the session's process, never on a command line or in config (see New features). - See which version you run and what changed: the TUI header, the web UI and the API show the version, an update mark, and a What's new view (see New features).
- Web sign-in is harder to attack: weak owner tokens are refused on network binds, and repeated wrong tokens are slowed down without locking you out behind Tailscale Serve or Funnel (see Security and Upgrade notes).
[updates] check_enabled = falsenow really turns off every automatic update path (see Fixes).- notify-daemon no longer writes to disk all day when nothing changes (thanks @nullifyr for the report) (see Fixes).
Upgrade notes
agent-deck webon a non-loopback address (for example--listen 0.0.0.0) no longer starts with an owner token shorter than 32 characters or with fewer than 8 distinct characters. The error shows the fix:--token-filewith a token fromopenssl rand -hex 32. On a loopback bind a weak token only gives a warning.- Assistant tokens made by v1.16.42 or earlier keep working. They show a "Re-issue this token" notice on
/connect, inagent-deck connect listand in the TUI footer; re-issue them when convenient, because a later release will stop accepting them. Tokens that were minted through the open web API while the server had no owner token stop working once an owner token is set. - Behind a plain TCP forwarder that adds no
X-Forwarded-Forheader (for examplessh -Lorsocat), every client counts as this machine. 20 wrong tokens in a minute from any of them then lock this machine's web sign-in for 1 to 15 minutes, the right token included. Tailscale Serve, Funnel and normal HTTP proxies add the header and are not affected (#3344). - Web push now only sends to
httpsendpoints on public hosts. Saved subscriptions to other endpoints are dropped. - If you set
[updates] check_enabled = false, the daily timer, the notify daemon, a controller's nudge and the remote sweep now all respect it.agent-deck updatestill works by hand. If you turned updates off under a custom config folder (XDG_CONFIG_HOME), runagent-deck conductor setuponce and restart the notify daemon so it picks up the new environment. - config.toml keys that have no effect (for example the deprecated
mcp_poolkeys) now log oneconfig_key_ignoredwarning each. They still load and are kept on save (#3427).
New features
- Secrets:
agent-deck secret set|list|rm|push NAME.setreads the value from a hidden prompt or stdin, never from the command line; there is no command that prints a value. An env value of exactlysecret:NAMEin a custom tool's[tools.X].env, group or conductor env, conductormeta.jsonorsession restart --envis resolved when the session starts. ssh and sandboxed sessions drop secret entries with a pane warning instead of sending them over (#3360). Guide:docs/guide/secrets.md. - Version and What's new: the TUI header shows the version and
update X.Y.Zwhen a newer release is known; the web UI shows the version under the brand, in the footer and in Settings, with a What's new view; remote cards in Fleet show each remote's version (#3328). agent-deck session waitand newsession showfields (wait,done) read a session's result from the ledger instead of the pane (#3356, thanks @tarekrached for the proposal).list --all --jsonrows carry the same fields and live status aslist --json(status, substate, archived, last activity, profile) (#3435).- Web: the footer shows each Claude account's usage window when account slots are configured (#3392).
- Web: Fleet group cards with more than six sessions show "+N more", and every session can be opened from the card (#3341).
- auto-update.log records the installed binary's path and the time of every self-update (#3345).
Fixes
- Updates:
[updates] check_enabled = falsenow turns off every automatic update check and install: the TUI,web --no-tui, the notify daemon, the daily timer, a controller's nudge, the timer heal and the remote sweep. A config.toml that cannot be read keeps them off too. The daily timer and the notify daemon, conductor and standing-orders units now carry a customXDG_CONFIG_HOME, so they read the same config.toml as the run that set them up (#3382). - notify-daemon: no more no-op SQLite writes (about 8.6 GB a day of disk writes on a busy machine) (#3417, reported by @nullifyr).
- Antigravity: the hook status is now used by every status reader, so Antigravity sessions no longer always show idle (#3418, reported by @greenclaw).
- Fork: a forked session starts with the same env as a normal launch (env files, inline env), so token-only setups fork signed in (#3370, reported by @tsblack).
- Env: a missing optional env file no longer skips the later env layers; the pane names the missing file (#3375).
- Done lines: a coordinator that quotes its worker's done line no longer counts as done itself; only a done line on the session's own line counts (#3355, reported by @tarekrached).
- Inbox: with
send_transport = "auto", a wake to a Claude parent goes over the socket instead of being typed into its input box (#3390, reported by @tarekrached). Silent Claude idle settles no longer cause blank urgent parent wakes (#3399, @c2keesey).notify-daemon --oncewaits for a typed wake before it exits (#3336). - Theme: running sessions pick up a removed or changed
themethe next time you attach, with no restart, and a userstatus-style/status-rightis no longer overwritten (#3348). - Remote: an offline remote is marked offline at once; opening one of its sessions answers immediately instead of hanging and printing ssh errors (#3368). Synced remote rows keep the same order as the plain listing (#3339).
- TUI: jump mode stays open across a background refresh that changes no rows (#3373, @c2keesey), and an automatic restart into a new build waits for an open ask dialog (#3372, @c2keesey).
- Workers: a start that waited on the spawn lock while its worker was archived is refused instead of running an archived worker (#3335).
- Send: a send into a custom Codex-compatible tool with a draft in its input box waits, and is refused if the draft stays (#3342); Codex approval options are read only from the real menu (#3387).
- Conductor bridge: output with a non-UTF-8 byte no longer crashes the bridge (#3397).
- Resume: a worktree transcript that fails to read further down gives the "could not read" notice instead of a resume from a damaged file (#3343).
Security
- Web auth, part 1: owner token strength on non-loopback binds, provenance for assistant tokens, a re-issue notice for older tokens, and stricter push endpoints (https, public hosts, no credentials, 16 KiB bodies) (#3337).
- Web auth, part 2: a failed-auth throttle. A device that sends 20 wrong tokens in a minute waits 1 to 15 minutes. During an attack, this machine and devices that signed in within the last 30 days keep working, also behind Tailscale Serve or Funnel (#3344). Details:
docs/guide/remote-and-web.md. - Web pages carry a script Content Security Policy, and the service worker cache follows the build, so new web code arrives after an update without a manual cache bump (#3361).
- Agent config files and their backups are written 0600 (#3347).
- Credentials in MCP and push URLs are redacted in logs, and push send errors are logged as fixed text only (#3365, #3378).
- The session prompt is kept out of spawn diagnostics (#3381).
- Command lines end options before user text for agents, ssh, mosh and git;
add --sshandremote addrefuse a destination that starts with-(#3364). - tmux: agent-deck re-checks a process's identity before SIGKILL, so a process that took over a dying agent's pid is not killed (#3367).
.worktreeincludecopies stay inside the new worktree; a symlink at an included path is skipped with a warning (#3363).- New guide for securing your setup:
docs/guide/security.md(#3362, #3380, #3436).
Performance
- config.toml is checked once per bulk pass instead of once per session, and each session's tool data is encoded once per row: faster
list,statusand web menu loads (#3394, #3395). - The voice desk builds its tables once, so every command starts a little faster (#3393).
Docs and site
- agent-deck.com is built from the repo, with a full CLI reference, a config key index and the changelog, and a new home page that shows the current release (#3350, #3429). Reference docs regenerated (#3428, #3432, #3437).
- One contributor checklist and a pre-PR kit (
pr-ready) for contributors' agents (#3354, #3357, #3353).
Tests and CI
- CI security fixes for the PR pipeline and fork-run approval (#3352, #3358, #3428, #3369).
- Regression tests for fixed bugs, three flaky tests made deterministic, and the nightly comms matrix green (#3433, #3434, #3391, #3371).
make verify-dockertest user fix (#3388, @3rwww1). - The release workflow can finish a half-done release on re-run (#3340).
- Unused Go code, web CSS and scripts removed (#3426, #3430, #3431). Go dependency updates (#3384).
Thanks to everyone who contributed to this release: @c2keesey and @3rwww1 for the code, and @tarekrached, @tsblack, @nullifyr and @greenclaw for reports.
Installation
Homebrew (recommended):
brew install asheshgoplani/tap/agent-deckQuick Install:
curl -fsSL https://raw.githubusercontent.com/asheshgoplani/agent-deck/main/install.sh | bashGo Install:
go install github.com/asheshgoplani/agent-deck/cmd/agent-deck@v1.16.43Changelog
- 31b5d06 Keep .worktreeinclude copies inside the new worktree (#3363)
- 4fc8bef Redact credentials from MCP and push URLs in logs (#3365)
- a822887 Web auth hardening, part 1 (re-land of #3313 without the throttle) (#3337)
- 46c74ea Web auth hardening, part 2: failed-auth throttle (#3344)
- 462d70d build(deps): bump the go-minor-patch group with 3 updates (#3384)
- 39ba391 ci(runtime-health): keep the red perf overlay in step with StatusUpdatePass's config field (#3369)
- 61c4b9f ci: cover the docs-sync scripts in fork-run approval and regenerate reference docs (#3428)
- e0a0896 ci: harden fork-run approval and add a scheduled dry-run report (#3358)
- fb4d0cb ci: security fixes for the PR pipeline workflows (#3352)
- 28a182c docs(security): say check_enabled = false stops every automatic update (#3436)
- 303a493 docs+ci: one contributor checklist, CodeRabbit for outside PRs only, drop the diff-scope guard (#3354)
- 980ec96 feat(ci): pr-check returns incomplete PRs with a kind note (advisory first) (#3353)
- 4b876ed feat(contrib): make pr-ready, a pre-PR kit the contributor's agent runs, and pr-check checks its evidence (#3357)
- 95fd136 feat(list): list --all --json rows carry the same fields and live status as list --json (#3435)
- 4a253c5 feat(site): redesigned agent-deck.com home page, current release, link checks (#3429)
- fbc572d feat(web): show each account's usage window in the web footer (#3392)
- 1ea2056 feat: pass API keys to sessions securely with agent-deck secret and secret:NAME env refs (#3360)
- d4815df feat: session wait and done fields in session show, read from the ledger, not the pane (#3338) (#3356)
- 0e23aad feat: show the version and what's new in the web UI, TUI and API (#3328)
- 25127da fix(conductor): decode bridge child output with errors=replace again (#3397)
- 3f329a0 fix(daemon): eliminate no-op SQLite WAL write churn in notify-daemon (#3414) (#3417)
- c9c20fb fix(inbox): send a Claude parent's wake over the socket when send_transport is auto (#3390)
- f983015 fix(release): let a re-run finish a half-done release (#3340)
- 72ad5db fix(remote): an offline remote says so at once instead of hanging and printing ssh errors (#3368)
- deee6a5 fix(remote): keep the legacy list order for synced remote rows (#3339)
- 303dbe7 fix(scripts): give the verify-docker test user a bash login shell (#3388)
- b8bc857 fix(send): guard the composer draft for custom Codex-compatible tools (#3342)
- dcae8a2 fix(send): take Codex approval options only from the real menu block (#3387)
- 9df1935 fix(session): a missing env file no longer skips the later env layers (#3375)
- afe4696 fix(session): avoid urgent parent wakes for silent Claude idle settles (#3399)
- 1df9704 fix(session): count the typed wake leg so Flush waits for it (#3336)
- b70e649 fix(session): fork starts with the same env prelude as a normal launch (#3370)
- 04254f4 fix(session): honour Antigravity hook status across status readers (#3416) (#3418)
- b2b0523 fix(session): refuse a start that waited on the spawn lock while its row was archived (#3335)
- 616c406 fix(session): report a transcript read error that comes after the match (#3343)
- 7acb0b8 fix(tests): make three flaky tests deterministic (#3391)
- fd98e84 fix(tmux): re-check process identity before SIGKILL (#3367)
- 0b4bc1d fix(ui): keep jump mode open across a rebuild that changes no hint target (#3373)
- 58106f5 fix(ui): wait for an open ask dialog before restarting (#3372)
- 30d67c8 fix(update): honor [updates] check_enabled = false in every automatic update path (#3382)
- 49e4b01 fix(update): log the install path and flip time in auto-update.log (#3345)
- 6ba1023 fix(web): harden the web UI pages with a script CSP and a build-derived service worker cache (#3361)
- 009ae13 fix(web): log push send errors as fixed text only (#3378)
- 70d8f95 fix(web): show "+N more" on Fleet group cards with more than six sessions (#3341)
- 95669dc fix: count the done marker only on the session's own line (#3338) (#3355)
- d5dc57e fix: end options before user text on agent, ssh, mosh and git command lines (#3364)
- fb6d335 fix: keep the session prompt out of spawn diagnostics (#3381)
- 1599f9e fix: running sessions pick up a removed or changed theme without a restart (#3348)
- 40e1ab7 fix: write user agent config files 0600, never wider (#3347)
- 9d2e655 perf(session): check config.toml once per bulk pass, not per session (#3394)
- f174110 perf(session): encode a session's tool_data once per row (#3395)
- 2dfd984 perf(voicedesk): build the fold and phonetic replacer tables once (#3393)
- 2797e45 refactor(config): warn on config.toml keys that have no effect (#3427)
- fccaa1c refactor(web): remove CSS, design tokens and signals nothing uses (#3430)
- 83e3b5e refactor: remove unreachable Go funcs and unreferenced exported identifiers (#3426)
- c30223c release: v1.16.43 (#3440)
- a9037f2 test(comms-matrix): turn the nightly failures leg green (remove --force, gated second wake) (#3371)
Full Changelog: v1.16.42...v1.16.43