Skip to content

v2.1.0

Choose a tag to compare

@github-actions github-actions released this 26 Oct 18:22
· 184 commits to main since this release
v2.1.0
e132226

A feature release for DMS 2.0. Claude and Codex cards show credits, extra usage and limit resets, and can redeem a held reset after a confirmation; Codex local telemetry is priced like Claude's; a new DankDash card shows the providers closest to their limits; credentials no longer reach any process command line. Run dms restart once after upgrading: the manifest becomes a composite plugin.
Long-form notes: docs/releases/2.1.0.md.

Features

  • DankDash card. The plugin is now a composite DMS plugin with an AI quotas overview card (1x1 up to 4x2): the provider closest to its limit as one number, or a list of providers with usage bars and reset times, pinned first. It follows Show remaining quota, has count and tone options, opens the dashboard on click, and reads the snapshot the bar widget writes after each refresh (dash-snapshot.json, owner-only) instead of querying providers again. Covered by the widget runtime test.
  • Credits & limit resets for Claude (every profile) and Codex. The expanded card shows whether extra usage is on, the monthly spend limit and what was spent, usage credits (promotional credits with their expiry; they are used before purchased ones), Codex credits and spend control, and each limit reset the account holds with its expiry date, or "No resets right now" when there is none. A ⟳ button next to ★ counts the resets left and redeems one after a confirmation that shows the current usage and warns that resets are consumable and cannot be undone; the outcome is shown, and a refused reset uses nothing. Claude resets are redeemed the way the Claude Code CLI does (reset_rate_limits), Codex resets through account/rateLimitResetCredit/consume; both send one request per confirmation with an idempotency id and are never retried or polled (providers/reset-provider-limits). Covered by tests/test-limit-resets.sh and the widget runtime test.

Security

  • Credentials no longer appear on any process command line: every adapter passes its secret header (Authorization, x-goog-api-key, the Cursor session cookie) to curl through --config on a pipe written by a shell builtin, so other local users cannot read it with ps or /proc/<pid>/cmdline. tests/test-secret-argv.sh checks every API-key adapter, and the response fuzzer now fails on a credential in curl's arguments.
  • Caches, usage history and alert state are created owner-only (umask 077), and a cache directory created by an older version is tightened to 0700 on the next refresh.

Fixes

  • A plugin hot reload (dms ipc call plugins reload aiOverviewControl) now shows edited dashboard, settings-window, analytics-reader and currency code without a shell restart: each widget instance loads those files under its own cache-busting URL, since the engine kept the previously compiled types.
  • Claude: a truncated or corrupt .credentials.json no longer crashes the helper and hides the local analytics; it is reported as an authentication error. A credential field containing a line break can no longer inject extra KEY=VALUE lines into the helper output. Found by the new local-reader fuzzer; covered by tests/test-cov-b-claude.sh.
  • Codex: the local telemetry panel now shows inference cost, as the Claude card does under a subscription. Each session row is priced at its model's list price from the LiteLLM table (uncached input, cached input and output at their own rates); a model with no list price stays —. Covered by tests/test-local-analytics.sh.
  • Claude: after a reboot the card no longer reports "Claude OAuth credentials are invalid or expired" until Claude Code is started by hand. An expired or rejected access token is now renewed through the installed CLI (claude auth status, for the same profile) and the request is retried once; the plugin still never refreshes or writes the token itself, and tries the CLI at most once every five minutes per profile. Covered by tests/test-claude-auth-renew.sh.
  • Claude: a usage response that carries only the canonical limits[] array (no flat five_hour object) is accepted and cached instead of being reported as a failed request with HTTP 200.
  • pi: a malformed line in a session file no longer discards the tokens and cost recorded before it in that session.

Project

  • New local-reader fuzzer (tests/fuzz/fuzz_local_readers.py): arbitrary Claude transcripts and credentials, Codex and pi session logs, OpenCode SQLite rows and Grok/Cline CLI auth files, checked for crashes, unparseable output, leaked credentials and credentials on curl's command line. It runs in the Fuzz provider responses job and under ClusterFuzzLite.
  • Statement coverage and Fuzz provider responses are now required checks on main.
  • The shell adapters and scripts now have 80%+ statement coverage, enforced by the new Statement coverage CI job (scripts/coverage, kcov). scripts/coverage-report counts shell statements only, since kcov reports the bodies of embedded jq programs and heredocs as unexecuted lines. Over 40 new fixture suites cover every provider adapter's error and edge paths.
  • The provider-response fuzzer also runs under ClusterFuzzLite (.clusterfuzzlite/, ClusterFuzzLite workflow): 3 minutes on each pull request and a 20-minute weekly batch, packaged with the adapters and a checksum-verified static jq.
  • Releases now require a signed tag: the Release workflow verifies vX.Y.Z against the maintainer key in .github/release-signing-keys.asc on main before publishing, and SECURITY.md shows how to check it with git verify-tag.
  • New Fuzz provider responses check: atheris feeds arbitrary HTTP statuses and bodies to every API-key adapter (2 minutes per PR, 15 minutes weekly) and fails if the JSON contract breaks or a credential appears in the output.
  • .github/CODEOWNERS names the maintainer for every path.
  • Contributions now require a Developer Certificate of Origin sign-off (git commit -s) on every commit; the new required DCO sign-off check rejects pull request commits without one.
  • New project documents: Code of Conduct (Contributor Covenant 2.1), governance, roles and continuity, a twelve-month roadmap, and the security requirements and assurance case. SECURITY.md now spells out the vulnerability response process and reporter credit, and CONTRIBUTING.md the coding standards.
  • The project holds the OpenSSF Best Practices passing badge, now shown in both READMEs.