You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
v1.9.2: /clear artifact strip, statusline fallback, VS Code VSIX docs
- Strip /clear command artifacts from messages[0] (#47756)
- Statusline falls back to quota-status.json when claude-meter not installed (#18)
- README: VSIX as primary VS Code path, manual wrapper as fallback
- 7 community contributors
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: CHANGELOG.md
+7Lines changed: 7 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,12 @@
1
1
# Changelog
2
2
3
+
## 1.9.2 (2026-04-14)
4
+
5
+
-**`/clear` artifact stripping** — Removes `<local-command-caveat>`, `<command-name>`, and `<local-command-stdout>` blocks that bleed into `messages[0]` after `/clear`, breaking prefix cache match vs a fresh session. Credit: [@wadabum](https://github.com/wadabum) (anthropics/claude-code#47756).
6
+
-**Status line fallback to `quota-status.json`** — `quota-statusline.sh` now works without `claude-code-meter` installed by reading quota data from the interceptor's `quota-status.json`. Fixes #18. Credit: [@dmurat](https://github.com/dmurat).
7
+
-**VS Code extension** — VSIX extension available for one-click activation. Auto-configures `claudeProcessWrapper`. No manual wrapper scripts or C compilation needed. Credit: [@JEONG-JIWOO](https://github.com/JEONG-JIWOO), [@X-15](https://github.com/X-15) (#16). Download: [GitHub Releases](https://github.com/cnighswonger/claude-code-cache-fix-vscode/releases/latest).
8
+
-**README: VS Code section rewritten** — VSIX as Option A (recommended), manual wrapper as Option B. Documents `claudeCode.claudeProcessWrapper` as the correct integration path.
9
+
3
10
## 1.9.1 (2026-04-13)
4
11
5
12
-**Windows: URL-encode npm root in `claude-fixed.bat`** — Fixes `ERR_MODULE_NOT_FOUND` on default Windows Node.js installs where npm root contains spaces (e.g. `C:\Program Files\nodejs\node_modules`). Uses PowerShell `[System.Uri]::EscapeUriString` to encode the path; no-op on space-free paths. Credit: [@beekamai](https://github.com/beekamai) (PR #17).
The VS Code Claude Code extension spawns `claude.exe` / `claude` as a subprocess. The `claude-code.environmentVariables` setting does **not** propagate `NODE_OPTIONS` to the spawned process, so a process wrapper is required.
109
+
### Option A: VSIX extension (recommended)
110
110
111
-
### Linux / macOS
111
+
The easiest path — a VS Code extension that handles everything automatically:
112
112
113
-
Create a wrapper script (e.g. `~/bin/claude-vscode-wrapper`):
113
+
1. Install the interceptor: `npm install -g claude-code-cache-fix`
114
+
2. Download the VSIX from [GitHub Releases](https://github.com/cnighswonger/claude-code-cache-fix-vscode/releases/latest)
### Option B: Manual wrapper (if you prefer not to install the VSIX)
125
+
126
+
The VS Code Claude Code extension spawns `claude.exe` / `claude` as a subprocess. The `claude-code.environmentVariables` setting does **not** propagate `NODE_OPTIONS`, so a process wrapper is required.
@@ -133,29 +148,23 @@ Add to VS Code `settings.json`:
133
148
}
134
149
```
135
150
136
-
### Windows
137
-
138
-
On Windows, `.bat` and `.cmd` wrappers fail because the extension uses `child_process.spawn()` without `shell: true`. A native `.exe` wrapper is required.
139
-
140
-
A C wrapper source (`tools/claude-vscode-wrapper.c`) is included in this package. Compile with MSVC or gcc:
151
+
**Windows** — `.bat`/`.cmd` wrappers fail because the extension uses `child_process.spawn()` without `shell: true`. Use the C wrapper source included in this package (`tools/claude-vscode-wrapper.c`):
See [#16](https://github.com/cnighswonger/claude-code-cache-fix/issues/16) for community testing results and pre-compiled binaries when available.
155
-
156
165
### Known limitations (VS Code)
157
166
158
-
-**Fingerprint fix**: The VS Code extension constructs `messages[0]` differently than the CLI, causing the fingerprint safety check to auto-disable. Use `CACHE_FIX_SKIP_FINGERPRINT=1` as a workaround. The relocate and TTL fixes work normally.
167
+
-**Fingerprint fix auto-disables**: The VS Code extension constructs `messages[0]` differently than the CLI, causing the fingerprint safety check to trip. Use `CACHE_FIX_SKIP_FINGERPRINT=1` as a workaround. All other fixes (relocate, tool sort, TTL, /clear artifact strip) work normally.
159
168
160
169
Credit: [@JEONG-JIWOO](https://github.com/JEONG-JIWOO) and [@X-15](https://github.com/X-15) for the VS Code extension investigation and C wrapper ([#16](https://github.com/cnighswonger/claude-code-cache-fix/issues/16)).
0 commit comments