Files
claude-statusline/CHANGELOG.md
calic ba3b73c3dd
All checks were successful
Release / build (push) Successful in 1m40s
Add Cloudflare 403 fallback via headless Chrome
Plain HTTP requests to claude.ai get blocked by Cloudflare JS challenges
(403). The fetcher now falls back to headless Chrome using the persistent
browser profile, which can solve challenges natively and reuses existing
cf_clearance cookies.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-21 00:13:21 +01:00

59 lines
3.3 KiB
Markdown

# Changelog
All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/), and this project adheres to [Semantic Versioning](https://semver.org/).
## [0.5.0] — 2026-03-21
### Fixed
- **Cloudflare 403 bypass** — API requests blocked by Cloudflare JS challenges now fall back to headless Chrome with the persistent browser profile, which can solve the challenges natively
### Added
- `internal/browser/fetch.go` — headless Chrome API fetcher using chromedp with the existing browser profile (reuses Cloudflare clearance cookies)
- `fetchWithFallback()` in fetcher — tries plain HTTP first, falls back to headless Chrome on 403
## [0.3.0] — 2026-02-26
Full rewrite from Node.js + Python to Go. Each platform gets a single static binary — no runtime dependencies.
### Changed
- **Complete Go rewrite** — replaced Node.js statusline/fetcher and Python widget with three Go binaries
- **Zero dependencies** — no Node.js, Python, pip, pystray, or system packages needed
- **Native packaging** — `.deb` for Debian/Ubuntu, `.zip` with static binaries for Windows, `.tar.gz` for Linux
- **CI/CD** — pipeline now cross-compiles Linux + Windows binaries and builds .deb via nfpm
### Added
- `claude-widget` — system tray icon (fyne-io/systray) with built-in fetcher and icon renderer (fogleman/gg)
- `claude-statusline` — CLI one-liner for Claude Code status bar (reads stdin + cache)
- `claude-fetcher` — standalone cron job (reads session key, fetches usage, writes cache)
- `.deb` package with autostart .desktop file and cron.d entry
- Windows cross-compilation with `-H=windowsgui` for console-free widget
### Removed
- `statusline.js`, `fetch-usage.js` (replaced by Go binaries)
- `claude_usage_widget/` Python package (replaced by Go binary)
- `install_wizard.py`, `install.sh`, `install.ps1` (replaced by .deb and .zip)
- `package.json`, `requirements.txt` (no runtime dependencies)
## [0.2.0] — 2026-02-26
First tagged release. Includes the CLI statusline, standalone usage fetcher, cross-platform desktop widget, and installer wizard.
### Added
- **CLI Statusline** — headless status bar for Claude Code showing context window and token usage as text progress bars
- **Usage Fetcher** — standalone Node.js cron job that fetches token usage from the Claude API and writes a shared JSON cache
- **Desktop Widget** — cross-platform system tray icon (pystray) with circular progress bar, Claude starburst logo, and color-coded usage severity
- **Installer Wizard** — interactive Python installer (`install_wizard.py`) with platform detection, component selection, cron/autostart setup, and session key configuration
- **Windows support** — PowerShell installer wrapper (`install.ps1`) and Windows-compatible paths
- **Session expiry warning** — statusline shows a warning when the session key is about to expire
### Fixed
- CRLF line ending issues on cross-platform installs
- Tray icon visibility — switched to Claude orange with full opacity at larger size
- Block comment syntax error in cron example
[0.5.0]: https://git.davoryn.de/calic/claude-statusline/releases/tag/v0.5.0
[0.3.0]: https://git.davoryn.de/calic/claude-statusline/releases/tag/v0.3.0
[0.2.0]: https://git.davoryn.de/calic/claude-statusline/releases/tag/v0.2.0