Repository navigation
agentacct 0.5.0
Changelog
All notable changes to agentacct are documented here. The format is based on
Keep a Changelog, and the project aims to
follow Semantic Versioning.
Unreleased
0.5.0 - 2026-07-30
Changed
- The MCP tools were renamed from
sentinel_*toagentacct_*(for example
agentacct_record_section); the server now exposes only theagentacct_*names.
After upgrading, re-runagentacct onboard(oragentacct setup instructions)
so yourCLAUDE.md/AGENTS.mdinstruction block uses the new tool names, then
restart your coding-agent client. Your recorded history is unaffected: the
pre-renamesentinel_*names stay recognized in historical logs, and stored
event data is unchanged. (#22) - The internal Python package was renamed
agent_chronicle→agentacct, and the
MCP server now advertises the nameagentacct. Instruction-block markers now
writeagentacct; the pre-renameagent-chronicle/agent-sentinelmarkers
stay recognized, so an existing managed block migrates in place on the next
setup run. (#22)
0.4.0 - 2026-07-29
Changed
agentacct onboardnow installs once, machine-wide, by default (--scope global)
and writes zero files into your repository. It registers user-level MCP servers
(~/.claude.json,~/.codex/config.toml), installs the Claude Code hook wrapper outside
the store, adds the standing "record your work" instructions, and merges the hook block
into~/.claude/settings.jsononly with your consent (--yesor an interactive prompt).
The previous per-repository behavior is still available with
agentacct onboard --scope project. Registrations embed the absoluteagentacctpath so
GUI-launched desktop clients (which do not inherit your shellPATH) can launch the
server. (#20)- The default global store moved to an XDG-standard location:
$XDG_STATE_HOME/agentacct/state(~/.local/state/agentacct/state). Older global stores
under~/.agent-sentinel-global/are still recognized, and a store that already holds
recorded data is preferred, so upgrading never blanks a populated dashboard. Fold an old
store into the new one withagentacct usage merge-storewhen you want a single ledger.
(#20)
0.3.0 - 2026-07-29
Added
- OpenCode usage now imports from the native
opencode.dbsession store. Per-session
tokens (input / output / reasoning / cache) and the model are read directly from the
authoritativesessionrollup, so an interactive OpenCode session shows token usage
without an exportedrun --format jsonfile. The database is opened read-only and a
corrupt store fails closed. When OpenCode records no cost, cost is estimated from tokens
(labeled as an estimate, never a fabricated figure); OpenCode's-fastrouting suffix
(e.g.gpt-5.6-sol-fast) is normalized to the base model so it prices against the
published rate. The legacy exported-JSON path is kept as a fallback. (#18)
Changed
- The local dashboard's default port (8765) auto-advances to the next free port when it is
busy — the dashboard no longer fails to start just because a port is taken — and prints
the port it actually bound. An explicit--portis still honored strictly: if that exact
port is occupied the command fails with a clear message instead of silently moving. (#16)
Fixed
agentacct mcp serveno longer exits when it cannot resolve a store. A server that exits
at startup reads to the host agent (OpenCode / Claude Code / Codex) as a crash, which was
the most likely cause of reports that agentacct "crashed" a client. The MCP server now
stays connected in a degraded mode — answering the handshake and returning a clear
JSON-RPC error on any recording call — and never silently creates or picks a store. MCP
setup previews also tell users to remove any stale pre-rename (agent-sentinel/
agent-chronicle) server registration first, which is the other crash vector. (#17)- The OpenCode usage importer skips non-object JSON records, so one stale export file can no
longer abort usage discovery for every client during onboarding. Thanks to @ZPVIP. (#15)
0.2.0 - 2026-07-27
Added
- Activity-first overview: the homepage feed is ordered newest-first, with open
findings and blockers pinned in a "Needs attention" strip above a "Recent
activity" timeline. A recently-run session now shows even before any work is
attributed, instead of being buried under attribution-first ordering. - Inline finding controls: resolve / mark reviewed / reopen render directly on
the card (in the Needs-attention strip and on workspace findings) instead of
inside a collapsed details expander, so a finding is one click from resolved. /sessionsis a time-first full-history browser: a newest-first / attributed
order toggle, a "Recorded work only" filter, and "Show more" pagination past
the default page.- The Task page's evidence inventory lists each redacted work record and check
(type, result, time, and source) instead of only counts; raw session and
transcript ids stay in the local forensic API. agentacct --versionprints the installed version.- CSS-only breakdown tabs on the Overview usage chart — the By agent / By model /
By agent-model selector switches without JavaScript or a page reload; the
?usage_breakdown=deep link still sets the initially-selected tab. - OSS front matter: CI/PyPI/Python/license badges, this changelog, and a CI test
matrix across Python 3.11, 3.12, and 3.13 (all green on the Linux CI runner).
Changed
- Install docs: the README notes how to get
pipx(or useuv) before the first
install step, and the Global install recipe adds a CLI-less MCP registration
path for desktop-app clients that ship noclaude/codexCLI. /healthnow reportsservice: agentacct-local-api; the readiness check and the
read canary still accept the pre-renameagent-sentinel-local-apivalue, so
cross-version upgrades keep recognizing the dashboard.
Fixed
- The Claude Code hook wrapper is installed under
.claude/hooks/instead of inside
the store directory, and its subcommands fail open. Moving or renaming the store
can no longer make a"*"PreToolUse hook fail closed and block every tool call
in a running session. Doctor still recognizes pre-relocation installs; re-running
hooks claude-code install --forcemigrates them.
0.1.0 - 2026-07-25
Added
- Initial public release. Local-first Agent Work Intelligence for coding agents:
imports client-reported token usage from local session files, records MCP work
context (sections, machine checks), joins the two with honest confidence labels,
and shows it on a local dashboard (agentacct serve). Ships theagentacct,
agentacct-claude, andagentacct-codexconsole scripts. Local-first,
observe-only, no telemetry, no provider API keys. Python ≥ 3.11 on macOS / Linux.