Skip to content

v3.0.2 — Windows proxy fix + preload empty-content guard

Choose a tag to compare

@cnighswonger cnighswonger released this 22 Apr 23:40
· 181 commits to main since this release

Bug Fixes

#53 — Windows proxy extensions fail to load (HIGH)
proxy/pipeline.mjs used raw file paths in import(), which Node.js rejects on Windows (Only URLs with a scheme in: file, data, and node are supported). All 7 extensions silently failed to load — Windows proxy users were getting a passthrough with zero cache fixes. Fixed with pathToFileURL().

Discovered by @X-15.

#46 — Preload strips can empty user messages → API 400
reminder_strip and continue_trailer_strip could filter all content blocks from a user message, leaving content: []. The Anthropic API rejects this with invalid_request_error: user messages must have non-empty content. Now skips the strip when filtering would empty the array.

Documentation

README restructured for proxy-first era (696 → 315 lines). Legacy preload details, output efficiency prompts, monitoring docs, and dashboard integration moved to docs/. Opus 4.7 advisory updated with Q7d compounding analysis. TRACKED_ISSUES.md updated through Apr 22.

Upgrade

npm install -g claude-code-cache-fix@3.0.2

If running the proxy as a service, restart it after upgrading to pick up the pipeline fix.