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).