Skip to content

Conversation

@kerwin612
Copy link

@kerwin612 kerwin612 commented Feb 3, 2026

Fixes #55

Problem

  • claude-trace and claude-bridge failed on Windows with "missing ) after argument list" error
  • MSYS2/Git Bash paths (e.g., /c/Users/...) were not converted to Windows format
  • npm bash shim scripts were incorrectly executed as JS files

Solution

  • Added convertMsys2Path() to convert MSYS2 paths to Windows format (e.g., /c/path → C:\path)
  • Added extractJsFromBashScript() to extract actual JS file paths from npm shim scripts
  • Upgraded @anthropic-ai/claude-code from 1.0.0 to 2.1.29 for official Windows support
  • Enhanced path resolution to support both #!/bin/bash and #!/bin/sh shebangs

Changes

  • apps/claude-trace/src/cli.ts: Path resolution improvements
  • apps/claude-bridge/src/cli.ts: Path resolution improvements
  • apps/claude-trace/package.json: Upgraded claude-code dependency

Testing

Verified on Windows with MSYS2/Git Bash environment

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Claude Trace can not run on windows

1 participant