4 Commits

Author SHA1 Message Date
Axel Meyer
f308a8105e Fix block comment syntax error from cron example
The */5 in the cron example inside the JSDoc block comment was parsed
as end-of-comment, causing a SyntaxError. Replaced with a reference
to install.sh.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-14 15:54:30 +00:00
Axel Meyer
7b75630e67 Show session expiry warning in statusline
When the fetcher gets a 401/403, it writes an error state to the cache
file instead of silently failing. The statusline reads this and shows
"Token: session expired — refresh cookie" so the user knows to re-extract
the sessionKey cookie from claude.ai.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-14 15:49:39 +00:00
Axel Meyer
d152dde002 Fix CRLF line endings, harden install.sh
- Add .gitattributes enforcing LF line endings
- Renormalize all files from CRLF to LF
- Replace fragile sed-based JSON manipulation with node -e
- Add Node.js 18+ version check (required for built-in fetch)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-14 15:28:34 +00:00
Axel Meyer
ddd3b6d637 Initial commit: standalone Claude Code statusline
Headless-friendly statusline with context window bar and optional
token usage fetcher (cron-based, no browser needed).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-14 14:23:40 +00:00