Repository navigation
Releases
v1.2.0 - Wrapper-Specific CLI Switches
New Features
Wrapper-Specific CLI Switches
This release adds dedicated CLI switches for the wrapper itself, separate from Claude Code CLI passthrough:
--wrapper-version- Show wrapper version and exit--wrapper-help- Show wrapper-specific help and exit--wrapper-test- Run comprehensive passthrough test and exit
All wrapper flags use the --wrapper- prefix to avoid conflicts with Claude Code CLI flags.
Built-in Testing
The new --wrapper-test command provides comprehensive verification:
- Configuration check (verifies config file loading)
- Node.js existence check
- Claude Code CLI existence check
- Actual passthrough test (runs
claude --version)
This is especially useful after Claude Code updates to confirm the wrapper still works correctly.
Example Usage
REM Show wrapper version
claude-wrapper.exe --wrapper-version
REM Run comprehensive test
claude-wrapper.exe --wrapper-test
REM Regular passthrough still works
claude-wrapper.exe --version
claude-wrapper.exe --helpInstallation
- Download
claude-wrapper.exeandclaude-wrapper.example.json - Copy to a permanent location (e.g., C:\Tools)
- Rename
claude-wrapper.example.jsontoclaude-wrapper.json - Edit
claude-wrapper.jsonwith your Node.js and CLI paths - Update VS Code settings.json:
{ "claudeCode.claudeProcessWrapper": "C:\Tools\claude-wrapper.exe" }
What Changed
- Added wrapper-specific CLI handling before passthrough
- Updated README.md with CLI usage documentation
- Updated test.bat with note about built-in test command
- Bumped version to 1.2.0
See full details: https://github.com/Gronsten/claude-wrapper/blob/main/README.md
v1.1.0 - JSON Config File Support
JSON Config File Support
Users can now configure paths via claude-wrapper.json instead of editing and recompiling the source code.
Changes
- Add JSON config file parsing (
claude-wrapper.json) - Add
claude-wrapper.example.jsontemplate - Update documentation for config-based workflow
- Falls back to hardcoded defaults if config not found
Installation (Pre-built)
- Download
claude-wrapper.exefrom this release - Create
claude-wrapper.jsonin the same directory:
{
"nodePath": "C:\Program Files\nodejs\node.exe",
"cliPath": "C:\Users\YourName\AppData\Roaming\npm\node_modules\@anthropic-ai\claude-code\cli.js"
}- Configure VS Code:
"claudeCode.claudeProcessWrapper": "C:\path\to\claude-wrapper.exe"
🤖 Generated with Claude Code
v1.0.0 - Initial Release
Windows Wrapper for Claude Code VS Code Extension
Bypasses the Bun segfault crash in Claude Code extension 2.1.7+ by routing calls directly to Node.js with the npm-installed CLI script.
Features
- Direct Node.js invocation (no cmd.exe intermediary)
- Preserves all command-line arguments including complex JSON
- Buffer overflow protection
- Explicit stdin/stdout/stderr handle inheritance
- Works with both legacy (2.0.28) and current (2.1.7+) extension versions
Installation
- Edit
claude_node_wrapper.cto set your Node.js and CLI paths - Build with
build.bat - Copy
claude-wrapper.exeto a permanent location - Configure VS Code:
"claudeCode.claudeProcessWrapper": "C:\path\to\claude-wrapper.exe"
See README.md for detailed instructions.
🤖 Generated with Claude Code