Releases: TheStreamCode/chutes-usage-vscode
Releases · TheStreamCode/chutes-usage-vscode
v0.4.8 — Cross-platform build & dependency refresh
- Cross-platform build: the webview asset copy step now uses a Node script instead of a Windows-only PowerShell command, so the extension builds on Linux and macOS too.
- Refreshed dev dependencies (incl. @vscode/codicons) and cleared all npm audit advisories. No functional changes.
v0.4.7
Unified the LICENSE copyright holder to Michael Gasperini (Mikesoft). No functional changes.
v0.4.6
Marketplace SEO (sharper title/summary, expanded keywords) plus Marketplace, Open VSX, CI, and GitHub Sponsors badges and a sponsor link. No functional changes.
v0.4.5
- Removed the retired $3 Base plan from Plan Limits.
- Kept packaged fallback limits and normalized pricing payloads aligned to Plus and Pro.
- Stopped deriving a Base plan from the former $3 monthly subscription price.
v0.4.3 — Dashboard redesign around chutes.ai look
Highlights
A full visual and behavioural overhaul of the dashboard, aligned with the modern, minimal aesthetic of chutes.ai. The 0.4.x line consolidates the redesign (0.4.0), the post-audit hardening (0.4.1), a critical CSS visibility fix (0.4.2), and the documentation refresh (0.4.3).
What's new in 0.4.x
Visual language aligned with chutes.ai
- Pure-black background on dark themes, theme-aware on light and high-contrast.
- Pill buttons (rounded-full), mint pill badges for unit/stale, headline-violet section titles, generous whitespace.
- Natural-case copy throughout — no more
// AWAITING API KEYor all-caps monospace. - Border radius reworked (cards 12px, panels 16px, pills 999px).
Theme integration
- Backgrounds, foregrounds, borders, and description text now follow VS Code theme tokens (
--vscode-*). - Mint and violet stay only as accents on progress fills, status dot, badges, and titles.
- High-contrast safety: accents fall back to
vscode-charts-*so visibility is preserved.
Anti-flicker rendering
- Webview now mounts the DOM once and updates it in place via cached
Textnode references andstyle.setProperty('--progress-w', ...). - No more
app.innerHTML = ''on every refresh — focus, scroll position, and hover state survive each tick. - Stagger animation generalized via
--card-index(no hard-codednth-child).
State persistence
- The last known dashboard state is persisted with
vscode.setState/getState(schema-versioned). - Reopening the side panel never flashes a
Loading…empty state. - Plan Limits collapsed preference is persisted across sessions.
Accessibility
role=\"progressbar\"witharia-valuemin/max/nowon every metric card.role=\"status\" aria-live=\"polite\"on the stale banner.role=\"alert\" aria-live=\"assertive\"on the error state.aria-labelon icon-only buttons,aria-hidden=\"true\"on decorative dots and codicons.- Full
@media (prefers-reduced-motion: reduce)block.
Status bar
- Compact severity-aware summary backed by a new
summarizeStatusBarCompact. \$(graph) Chutes \$X.XXby default →\$(graph) Chutes 4h \$X.XX/\$Ypast 75% →\$(warning) …withstatusBarItem.warningBackgroundpast 90%.\$(error) ChuteswithstatusBarItem.errorBackgroundon connection errors.- Loading uses
\$(loading~spin) Chutes, missing key uses\$(key) Chutes. - The full detail (per-window used/limit, reset, last update) stays in the tooltip.
New UI
- Plan Limits is now collapsible with
aria-expanded/aria-controls. - Current-tier highlight: the tier matching
PlanInfo.planNameshows a star Current badge with a mint tint. - Per-card stale badge for windows with
status === 'stale'(the card is also dimmed). - Live
refresh in Nscountdown in the footer, accurate to the configuredrefreshIntervalSeconds.
Codicons
- All unicode glyphs (
⚠,↗,→) replaced with real Codicons. - The codicon font is bundled into
out/webview/from@vscode/codiconsat build time. font-display: blockon the@font-faceto avoid a flash of unstyled glyphs.
Security hardening
- Webview Content-Security-Policy now requires a per-load random nonce on the
<script>tag. font-srcandimg-srcdirectives are scoped towebview.cspSource(img-srcalso allowsdata:).- All webview message handling continues to be defensive and the external link allowlist is unchanged.
Bug fixes (0.4.1 / 0.4.2)
- Fixed the
[hidden]visibility bug wheredisplay: flex/grid/inline-flexon the same element kept the loading skeleton, the stale banner, and per-card badges visible regardless of state. - Fixed a memory leak on the next-refresh ticker — it now pauses on
visibilitychangeand is cleared onpagehide. - Fixed Plan Limits collapsed preference when no cached state exists yet.
- Fixed a stuck refresh button after reopening the side panel from a cached
loadingstate. - Fixed the next-refresh countdown to actually use the configured interval (passed from the extension host via
WebviewStateMessage.refreshIntervalMs). - Polished the hover state for the current tier (preserves the mint tint) and made the compact status bar handle
nullUSD values cleanly. - Tightened
.vscodeignoreto exclude both.pngand.jpgscreenshot artifacts in addition to.jpeg.
Installation
```
code --install-extension chutes-usage-vscode-0.4.3.vsix
```
Or install from the Marketplace once published.
Verification
- 57/57 tests pass (
npm test). - VSIX size: 172.89 KB across 44 files.
- Codicons assets are bundled at
out/webview/codicon.{css,ttf}.
v0.3.3
0.3.3
- Aligned packaged documentation and release metadata after the plan limits pricing-data clarification.
- Rebuilt the VSIX so Marketplace and GitHub release assets include the latest docs.
v0.3.2
0.3.2
- Hardened webview-to-extension message handling and external link opening with an HTTPS allowlist.
- Reduced quota refresh fan-out by using aggregate quota usage when available before falling back to per-chute requests.
- Fed pricing data into the plan limits reference and added contributor guidance in AGENTS.md.
v0.3.1 - Naming Consistency
0.3.1
- Finalized naming consistency across all documentation, internal specs, and implementation plans.
- Updated README latest changes section to highlight the 0.3.0 rename.
v0.3.0 - Chutes Usage Monitor
0.3.0
- Renamed the extension display name to \Chutes Usage Monitor\ for a clearer identity across the Marketplace and VS Code UI.
- Updated all user-facing references, command categories, view titles, and documentation to reflect the new name.
v0.2.9
0.2.9
- Clarified dashboard reset and key-removal labels so destructive actions are easier to understand before confirming them.
- Kept the refreshed dashboard UI and Plan Limits guidance from 0.2.8 while polishing the last confusing action copy in the current release.