Skip to content

Commit edb50a9

Browse files
phase3devclaude
andauthored
README intro tweak + include VS Code Insiders in launcher fallback scan (#3)
Tightens the README intro and brackets the index "updated" dates; fixes the launcher fallback scan to include local VS Code Insiders (.vscode-insiders), so all three implementations scan .vscode, .vscode-insiders, .vscode-server, .vscode-server-insiders. Addresses Codex review on #3. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent 5496131 commit edb50a9

5 files changed

Lines changed: 12 additions & 10 deletions

File tree

‎README.md‎

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,16 @@
11
# claude-code-workarounds
22

3-
Unofficial community workarounds for Claude Code. Each entry below is an independent fix with its own scripts and detailed section, so use only what you need.
3+
Unofficial community workarounds for Claude Code. Each entry below is an independent fix with its own scripts and detailed section.
44

5-
Whether the behaviors below are intentional or bugs is outside the scope of this repository. These are unofficial community workarounds, not affiliated with or endorsed by Anthropic. A future Claude Code update could make any of them obsolete. Use them at your own discretion.
6-
7-
> This repository was formerly named `claude-code-think` (thinking-summaries fix only). It was renamed as more fixes were added; GitHub redirects the old URL, so existing links keep working.
5+
Not affiliated with or endorsed by Anthropic. A future Claude Code update could make any of the included workarounds obsolete. Use them at your own discretion.
86

97
## Workarounds
108

11-
1. **Empty thinking summaries (Opus 4.7 / 4.8)** - updated 2026-06-08
9+
1. **Empty thinking summaries (Opus 4.7 / 4.8)** [updated 2026-06-08].
1210
Thinking summaries render empty in the VS Code extension and headless `-p`/SDK paths, even with `showThinkingSummaries` enabled. Fix via a launcher (recommended), a one-line extension patch, or a local proxy.
1311
-> [details](#workaround-1-thinking-summaries)
1412

15-
2. **Missing context-usage icon (1M context window)** - updated 2026-06-08
13+
2. **Missing context-usage icon (1M context window)** [updated 2026-06-08].
1614
The context-usage pie in the chat input is hidden until you have used more than 50% of the context window. With the 1M window that is about 500,000 tokens, so it is effectively never shown. Fix via a launcher that re-patches the webview on each launch, or a standalone patcher script.
1715
-> [details](#workaround-2-context-usage-icon)
1816

‎claude-context‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,8 +153,9 @@ _cc_restore_context_icon() {
153153
# launches, or when the real binary is the standalone CLI). Unmatched globs
154154
# fall through harmlessly - _cc_patch_index_js skips non-files.
155155
for f in \
156-
"$HOME"/.vscode-server/extensions/anthropic.claude-code-*/webview/index.js \
157156
"$HOME"/.vscode/extensions/anthropic.claude-code-*/webview/index.js \
157+
"$HOME"/.vscode-insiders/extensions/anthropic.claude-code-*/webview/index.js \
158+
"$HOME"/.vscode-server/extensions/anthropic.claude-code-*/webview/index.js \
158159
"$HOME"/.vscode-server-insiders/extensions/anthropic.claude-code-*/webview/index.js; do
159160
_cc_patch_index_js "$f"
160161
done

‎claude-context.win.js‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,8 +201,9 @@ function scanExtensionIndexes() {
201201
const home = process.env.USERPROFILE || process.env.HOME || "";
202202
const bases = [
203203
path.join(home, ".vscode", "extensions"),
204-
path.join(home, ".vscode-server", "extensions"),
205204
path.join(home, ".vscode-insiders", "extensions"),
205+
path.join(home, ".vscode-server", "extensions"),
206+
path.join(home, ".vscode-server-insiders", "extensions"),
206207
];
207208
const found = [];
208209
for (const base of bases) {

‎claudemax‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,8 +231,9 @@ _cc_restore_context_icon() {
231231
# launches, or when the real binary is the standalone CLI). Unmatched globs
232232
# fall through harmlessly - _cc_patch_index_js skips non-files.
233233
for f in \
234-
"$HOME"/.vscode-server/extensions/anthropic.claude-code-*/webview/index.js \
235234
"$HOME"/.vscode/extensions/anthropic.claude-code-*/webview/index.js \
235+
"$HOME"/.vscode-insiders/extensions/anthropic.claude-code-*/webview/index.js \
236+
"$HOME"/.vscode-server/extensions/anthropic.claude-code-*/webview/index.js \
236237
"$HOME"/.vscode-server-insiders/extensions/anthropic.claude-code-*/webview/index.js; do
237238
_cc_patch_index_js "$f"
238239
done

‎claudemax.win.js‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,8 +203,9 @@ function scanExtensionIndexes() {
203203
const home = process.env.USERPROFILE || process.env.HOME || "";
204204
const bases = [
205205
path.join(home, ".vscode", "extensions"),
206-
path.join(home, ".vscode-server", "extensions"),
207206
path.join(home, ".vscode-insiders", "extensions"),
207+
path.join(home, ".vscode-server", "extensions"),
208+
path.join(home, ".vscode-server-insiders", "extensions"),
208209
];
209210
const found = [];
210211
for (const base of bases) {

0 commit comments

Comments
 (0)