Releases: CxMYu/CcGlanceLine
Releases · CxMYu/CcGlanceLine
Release list
v1.3.0
- Keep the prompt-cache percentage aligned with the latest request's read/write token counters, append compact warm-TTL or cold-rebuild state, and use a clearly labelled session average only while current usage is unavailable.
- Add the account
spend_limitas a thirdLimitusage window alongside Hour and Week, including reset time and uncapped percentages for gateway limits. - Refresh the built-in Claude Code 2.1.258 sample, npm documentation, fixtures, and independently rendered Windows/macOS previews for the new fields.
v1.2.2
- Replace the outdated single preview with separate Windows 11 and macOS renders that preserve each platform's actual emoji artwork, and include both assets in the published package.
- Clarify that Claude Code's
subagentStatusLineuses a separate task-batch protocol; ccglance continues to target the mainstatusLinepayload.
v1.2.1
v1.2.0
- Keep legacy Claude Code status-line payloads unchanged while conditionally supporting current
thinking,agent, PR, 200k-threshold, and general Git worktree fields. - Check the official Claude Code rolling-latest endpoint first, with the npm registry retained as a compatibility fallback.
- Document optional idle refresh for Claude Code 2.1.97+ and add a current-schema fixture without dropping older regression fixtures.
v1.1.2
v1.1.1
- Faster status-line cold start: git and version refreshes are batched into a single short-lived background task that runs after the line is printed, instead of launching separate processes mid-render. When the cache is fresh, the common redraw does no background work at all.
- Windows: the background refresh no longer flashes a console window.
- Runtime caches now clean themselves up over time (stale git/version entries and leftover temporary files), and stay under
~/.claude/ccglance/(honorsCLAUDE_CONFIG_DIR).
v1.1.0
Cold-start latency + background refresh overhaul.
- Cut cold-start first-paint latency: git and version background refreshes now queue during rendering and are flushed after stdout as a single detached helper process (
dist/runtime/bg.js), instead of spawning onenode -echild per segment. - Windows: the helper is launched through a
cmd start /btrampoline (~17ms to initiate vs ~80-110ms for node.exe), so the status-line process exits without paying node's process-creation cost. Measured cold start (git + version both stale) improved ~360ms -> ~235ms TTFB (p50) and ~475ms -> ~290ms on the process-exit lower bound. - The background helper opportunistically prunes the cache (at most once per day): 30-day-stale cache json and 1h-stale
.refresh/.tmp/task-file leftovers. - Tests and the latency benchmark isolate
CLAUDE_CONFIG_DIRto a temp directory, so throwaway repos no longer leave dead cache entries in the real~/.claude/ccglance/. - Add
npm run preview; README documents that pointingcommandatdist/cli.jsavoids the npm.cmdshim overhead on Windows.
Published to npm as @cxmyu/ccglance@1.1.0 by CI (with provenance).
v1.0.3
v1.0.2
v1.0.0
First release of ccglance - a fast, zero-dependency, multi-line status line for Claude Code.
- stdin-first rendering: model, effort, status, context, cache, rate limits, dir, git, session, cost, version
- transcript-tail session status; Claude Code version update hint
- caches under ~/.claude/ccglance; CLI: preview / --help / --version
Install: npm install -g ccglance