Releases: slkiser/opencode-quota
Releases · slkiser/opencode-quota
v1.4.0
Changes Made
- Updated Firmware provider to support new v1 API response format with separate window and weekly reset tracking.
- Renamed
/quota_*commands to/tokens_*(/tokens_today,/tokens_daily,/tokens_weekly,/tokens_monthly,/tokens_session,/tokens_all,/tokens_between). - Enhanced markdown table rendering with concealment-aware width calculation for properly aligned tables in TUI display.
New Features
- Added
/firmware_reset_windowcommand and tool to manually reset your Firmware 5-hour spending window. Shows remaining weekly resets after use. Needs confirmation. - Firmware toast now displays both 5-hour window and weekly quota with grouped entries, including resets-remaining label.
- Token report tables (
/tokens_*commands) now use markdown-conceal width mode for proper alignment—strips markdown syntax (bold, italic, links) when calculating column widths.
Breaking Changes
- Removed legacy
/quota_*aliases (/quota_today,/quota_daily,/quota_weekly,/quota_monthly,/quota_session,/quota_all,/quota_between). Use/tokens_*commands instead. Note:/quotaand/quota_statusremain available.
Full Changelog: v1.3.0...v1.4.0
v1.3.0
v1.2.1
Full Changelog: v1.2.0...v1.2.1
v1.2.0
New features
- Added /tokens_between [YYYY-MM-DD] [YYYY-MM-DD] command which does a token report between two dates.
Changes Made
- /tokens_* commands are promoted, but allow legacy /quota_* commands.
Full Changelog: v1.1.3...v1.2.0
v1.1.3
Changes Mades:
- Updated logic to display the reset countdown whenever quota is less than 100%, not just when depleted.
- Adjusted related comments and added tests to verify countdown visibility for partially used and fully available quotas.
Full Changelog: v1.1.2...v1.1.3
v1.1.2
v1.1.1
Full Changelog: v1.1.0...v1.1.1
v1.1.0
New features
- Per-model input/output token counts in the quota toast, gated by a new config option that defaults to on.
Changes Made
- Renamed /quota_chat to /quota_session (src/plugin.ts)
- Added sessionOnly mode to formatQuotaStatsReport() (src/lib/quota-stats-format.ts)
- Updated output titles to include command name (all /quota* commands)
Full Changelog: v1.0.1...v1.1.0
v1.0.1
Full Changelog: v1.0.0...v1.0.1
v1.0.0
Full Changelog: https://github.com/slkiser/opencode-quota/commits/v1.0.0