github asheshgoplani/agent-deck v1.16.44

25 minutes ago

Agent Deck v1.16.44

Terminal session manager for AI coding agents.

Highlights

  • See every session in one place: agent-deck stats shows what each session is doing, how long it has been in its state, what it cost today and this week, and how close each account is to its limits. Read-only, local data only, never prompt text (see New features).
  • One view across all your machines: agent-deck stats collect writes a small scrubbed snapshot on each box, and agent-deck stats --fleet merges the snapshots you copy over into one table, with risky security signals on top (see New features).
  • Costs are recorded again: tokens from every Claude account's transcripts are counted, and costs projects and costs accounts show where they went (see Fixes).
  • Machines update themselves even when GitHub's limit for anonymous checks is used up: a refused check is retried after the limit resets instead of an hour later (see Fixes).
  • The web server starts far fewer tmux processes on a large quiet fleet (about 1 per second at 57 sessions, was 7 to 13) (thanks @bautrey for the report) (see Performance).

Upgrade notes

  • The state database gets a new status_history table the first time v1.16.44 opens it; nothing else changes and v1.16.43 still reads the file. History older than 30 days is pruned when agent-deck starts. Set [observability] status_history_days (a negative value keeps everything).
  • The TUI and agent-deck web now sync costs every 30 minutes. Set [costs] sync_interval_minutes = 0 to turn this off.
  • agent-deck stats security and agent-deck stats collect read host security metadata (logins, failed ssh logins per hour, authorized key fingerprints, listening ports, file modes of secret files). They never store addresses, file contents or key material. Nothing runs them unless you do, or set up a timer for stats collect.

New features

  • agent-deck stats: one read-only view of every session: status and time in it, what it works on (title, description, substate, branch; never prompt text), tokens and estimated cost today and over 7 days, plan limit % per account. Views: sessions, costs, status, security, harnesses, errors; filters --tool, --group, --account, --status, --all, --since; --json and --markdown (#3449, #3452).
  • Status history: every status change is recorded, so stats status shows the time each session spent in each state today (#3450).
  • PR, issue and review links and error kinds (API error, rate limit, auth, tool error) per session, read from Claude, Codex and Pi transcripts without storing any transcript text (#3446).
  • Security signals: stats security probes the host and lists what is new since the first run; a new high-severity signal shows as UNSAFE at the top of stats (#3448, #3452).
  • Capture coverage: stats harnesses shows what each agent can report, and unknown values print n/a instead of 0 (#3447).
  • Fleet view: stats collect [--print] writes <profile>/obs/snapshot.json (0600, scrubbed); stats --fleet [--from DIR] merges the snapshots of every box, flags boxes older than 30 minutes and sums tokens and cost. agent-deck never uses ssh or the network for this; you copy the files (#3453). Guide: docs/reference/obs-fleet.md.
  • GET /api/stats on the web server returns the same scrubbed record as stats --json, with the same sign-in as the costs API (#3452).
  • Retention for the new data, with [observability] keys status_history_days, security_days, links_days, trace_days and security_alert_hours (#3452).

Fixes

  • Costs: costs sync reads every Claude config folder (account slots too), workflow agent transcripts and Stop-hook files written while no TUI ran, so costs summary no longer shows $0. New costs projects and costs accounts. Current models are priced; costs projects, costs accounts and stats mark tokens of an unpriced model as unpriced (#3438).
  • Updates: a check refused by GitHub's rate limit is retried briefly in place, and a missed release nudge is retried after the limit resets, so a machine updates within minutes instead of up to an hour later. The release list is revalidated instead of downloaded again. The GitHub token is only sent to api.github.com, and a token saved with agent-deck secret set GITHUB_TOKEN is used by background services (#3444).
  • TUI: storage changes that only update a status are applied in place instead of reloading every session, and overlapping reloads are merged, so the list no longer misses a change (#3425).
  • OpenCode: mcp attached lists OpenCode's servers, mcp attach --global keeps servers already attached, and the MCP manager (m) reads and writes OpenCode's own config files instead of Claude's (#3461, thanks @ryan-saffer for the report).
  • Custom tools from [tools.*] start with AGENTDECK_INSTANCE_ID, AGENTDECK_TITLE, AGENTDECK_TOOL and AGENTDECK_PROFILE in their environment, also after a restart (#3455, thanks @JonathanTorresHerrera for the report).
  • The latest-prompt preview of a hook-driven Claude session (and Gemini's) stays current instead of showing an old prompt (#3445, thanks @ckjeter for the report).
  • macOS: the TUI no longer fills with "MallocStackLogging: can't turn off malloc stack logging" lines (#3443, thanks @nullifyr for the report).
  • TUI: in the group dialog, path suggestions open below the Default Path row instead of covering it (#3442, thanks @AleBles for the report and the approach).
  • MCP pool: a process exit is logged before the server counts as stopped, which removes a data race (#3439).

Performance

  • agent-deck web reads tmux with one batched call per tick and backs off rechecks of quiet sessions, while status changes still show on the next tick: about 1 tmux launch per second at 57 quiet sessions, down from 7 to 13 (#3421, thanks @bautrey for the report).

Docs and site

  • The README, install guide, FAQ and agent-deck.com tell Windows users to run the installer inside WSL, not in PowerShell or Command Prompt (#3441, thanks @yashvatsdev for the report).
  • New observability guide and references: docs/guide/observability.md, docs/reference/stats.md, docs/reference/obs-fleet.md (#3449, #3452, #3453).

Known issues

  • agent-deck stats shows the status stored in the database. When only agent-deck web --no-tui runs, that can lag behind the live status in the web UI (for example "starting" instead of "waiting").
  • stats security can flag agent-deck's own state files, created with mode 0644, as a new risky file mode, and it shows authorized key fingerprints as SHA256:[redacted].
  • costs summary still shows $0.00 for a model that has no price yet; costs projects and costs accounts mark it as unpriced.
  • stats costs cuts long project paths in the text view; --json has the full path.

Thanks to everyone who reported the bugs fixed in this release: @bautrey, @ryan-saffer, @JonathanTorresHerrera, @ckjeter, @nullifyr, @AleBles and @yashvatsdev.

Installation

Homebrew (recommended):

brew install asheshgoplani/tap/agent-deck

Quick Install:

curl -fsSL https://raw.githubusercontent.com/asheshgoplani/agent-deck/main/install.sh | bash

Go Install:

go install github.com/asheshgoplani/agent-deck/cmd/agent-deck@v1.16.44

Changelog

  • 15ab0d9 feat(obs): PR/review links and error kinds per session (#3446)
  • 8a9d4b1 feat(obs): harness capture coverage registry and drift test (#3447)
  • d2354ad feat(obs): security signals collector (metadata only) (#3448)
  • 0d285cd feat(statedb): append-only session status history (#3450)
  • 09d7058 feat(stats): agent-deck stats, one view of every session (#3449)
  • a594a49 feat(stats): snapshots and fleet view across boxes (#3453)
  • 1e5f129 feat(stats): wire status history, security, links, coverage; retention; /api/stats (#3452)
  • 450ca46 fix(costs): record tokens from every account's transcripts; costs projects/accounts (#3438)
  • 97eb2cb fix(docs): tell Windows users to run the installer inside WSL (#3407) (#3441)
  • 5a8048b fix(mcp): read and write OpenCode's own MCP files on every path (#3461)
  • d6a9443 fix(mcppool): log process exit before signalling the monitor is done (#3439)
  • e398340 fix(session): give [tools.] tools the AGENTDECK_ session env at launch (#3455)
  • 1084609 fix(session): refresh the latest-prompt preview under fresh hooks (#3406) (#3445)
  • b1d9ee5 fix(tui): stop the macOS MallocStackLogging flood from fork children (#3412) (#3443)
  • 63c0a01 fix(ui): apply observation-only storage writes in place and coalesce reloads (#3425)
  • 1da28ec fix(ui): open group dialog path suggestions below the Default Path row (#3402) (#3442)
  • 36addd8 fix(update): retry rate-limited update checks and nudges, revalidate the release list (#3444)
  • dfa2d4d perf(web): back off quiet rechecks and batch tmux reads into one call (#3421)
  • 349f6cd release: v1.16.44 (#3462)

Full Changelog: v1.16.43...v1.16.44

Don't miss a new agent-deck release

NewReleases is sending notifications on new releases.