Files
JunghwanNA 0c479f64da fix(windows): fix HUD not showing on Windows (NODE_PATH separator + rendering) (#742)
* fix(windows): fix HUD not showing on Windows due to NODE_PATH separator and rendering issues

- P0: Use platform-aware PATH separator (';' on Windows, ':' on Unix) in all 4
  bridge build scripts and rebuilt bridge bundles. The hardcoded ':' caused
  Module._initPaths() to receive malformed paths on Windows, making all MCP
  bridge servers fail to start ("6 plugins failed to install").
- P1: Add ASCII fallback icons (T:/A:/S:) for call-counts on Windows to avoid
  emoji rendering corruption in cmd.exe/PowerShell.
- P1: Add shell:true to git execSync calls on Windows so git can be resolved
  through cmd.exe PATH lookup.
- P2: Auto-enable safe mode on Windows to skip non-breaking space (U+00A0)
  replacement that can corrupt terminal output.

Closes #739

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* test(windows): add 35 Windows platform mock tests for HUD fixes

Tests cover all 4 fix areas with process.platform mocking:
- P0: Bridge NODE_PATH separator verification (4 bridges + 4 build scripts)
- P0: NODE_PATH concatenation logic for win32/darwin/linux
- P1: Call counts ASCII fallback on Windows via vi.resetModules()
- P1: Git execSync shell option per platform
- P2: Safe mode auto-enable logic matrix (3 platforms x 2 configs)

All 35 tests pass on macOS with Windows behavior simulated.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* fix(ci): resolve TypeScript strict mode errors in git.ts and tests

- git.ts: Use 'cmd.exe' string instead of boolean true for shell option
  (ExecSyncOptions.shell expects string|undefined, not boolean|undefined)
- tests: Use helper functions instead of direct string literal comparisons
  to avoid TS2367 "unintentional comparison" errors

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-19 15:45:20 +09:00
..