Skip to content

v0.2.1 — daily-budget cache-hit fix

Latest

Choose a tag to compare

@Ouranos27 Ouranos27 released this 18 Apr 21:44
· 629 commits to main since this release

Patch release. Fixes a real correctness bug in `--ai-daily-budget` that landed in 0.2.0.

Fixed

  • Cache-hit double-count in daily budget. `todayTriageSpendUsd` was re-counting `estimatedCostUsd` from cached `TriageResult`s, over-reporting today's spend. Re-running the same audit multiple times per day could falsely trip the budget cap. Now excludes records where `triage.cacheHit === true`.

Docs

  • `--ai-daily-budget` rollover is explicitly UTC calendar-day. Noted in README.

Upgrade

npm install -g pseolint@0.2.1
# or
npx pseolint@0.2.1 http://localhost:3000

All three packages move 0.2.0 → 0.2.1 in lockstep. See CHANGELOG.md for the full list.