Skip to content

Releases: TheStreamCode/chutes-usage-vscode

v0.4.8 — Cross-platform build & dependency refresh

19 Jun 11:41

Choose a tag to compare

  • 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

12 Jun 11:21

Choose a tag to compare

Unified the LICENSE copyright holder to Michael Gasperini (Mikesoft). No functional changes.

v0.4.6

12 Jun 07:46

Choose a tag to compare

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

17 May 16:19

Choose a tag to compare

  • 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

08 May 21:05

Choose a tag to compare

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 KEY or 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 Text node references and style.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-coded nth-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\" with aria-valuemin/max/now on every metric card.
  • role=\"status\" aria-live=\"polite\" on the stale banner.
  • role=\"alert\" aria-live=\"assertive\" on the error state.
  • aria-label on 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.XX by default → \$(graph) Chutes 4h \$X.XX/\$Y past 75% → \$(warning) … with statusBarItem.warningBackground past 90%.
  • \$(error) Chutes with statusBarItem.errorBackground on 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.planName shows 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 Ns countdown in the footer, accurate to the configured refreshIntervalSeconds.

Codicons

  • All unicode glyphs (, , ) replaced with real Codicons.
  • The codicon font is bundled into out/webview/ from @vscode/codicons at build time.
  • font-display: block on the @font-face to avoid a flash of unstyled glyphs.

Security hardening

  • Webview Content-Security-Policy now requires a per-load random nonce on the <script> tag.
  • font-src and img-src directives are scoped to webview.cspSource (img-src also allows data:).
  • 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 where display: flex/grid/inline-flex on 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 visibilitychange and is cleared on pagehide.
  • Fixed Plan Limits collapsed preference when no cached state exists yet.
  • Fixed a stuck refresh button after reopening the side panel from a cached loading state.
  • 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 null USD values cleanly.
  • Tightened .vscodeignore to exclude both .png and .jpg screenshot 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

03 May 14:04

Choose a tag to compare

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

03 May 13:56

Choose a tag to compare

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

20 Apr 16:24

Choose a tag to compare

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

20 Apr 16:20

Choose a tag to compare

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

19 Apr 17:11

Choose a tag to compare

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.