Skip to content

v0.3.0-beta - context-usage icon fix + workarounds index

Pre-release
Pre-release

Choose a tag to compare

@phase3dev phase3dev released this 09 Jun 06:53
· 30 commits to main since this release
5496131

Unofficial community workaround. Not affiliated with or endorsed by Anthropic. Use at your own discretion. Beta software; behavior may change with future Claude Code releases.

This release adds a second fix and renames the repository to claude-code-workarounds (the old claude-code-think URL redirects, so existing links keep working).

New: missing context-usage icon (1M context window)

Recent extension builds (around 2.1.165+) hide the chat-input context pie 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. The fix flips that threshold so the icon shows at any usage level, re-applied on each launch so it survives extension updates. (CLAUDE_CODE_DISABLE_1M_CONTEXT=1 only shrinks the window and is not a real fix.)

Windows downloads (attached)

  • claudemax.exe - both fixes (thinking summaries + context icon)
  • claude-think.exe - thinking-summaries fix only
  • claude-context.exe - context-icon fix only

Linux and macOS users run the matching bash scripts from the repo; no download needed.

Setup

Point the official "Claude Code" extension's claudeCode.claudeProcessWrapper setting (or the third-party "Claude Code Chat" extension's claudeCodeChat.executable.path) at the .exe and reload the window. Toggles: CC_THINKING_DISPLAY=omitted, CC_PATCH_CONTEXT_ICON=0. The context-icon fix may need two window reloads the first time. See the README for details.

Confirmed on Opus 4.7 / 4.8 with VS Code extension 2.1.169 (native-binary CLI) on Windows 11 and Ubuntu 24.04.