Skip to content

v0.25.0

Choose a tag to compare

@gjczone gjczone released this 02 Jul 18:18

v0.25.0

What's Changed

Added

  • Windows LSP server discovery (#582, #585): LSP servers are now discoverable on
    Windows. findInPath bypasses POSIX-only SAFE_PATH_DIRS filtering on win32
    and auto-appends .cmd extension when the bare command is not found (npm global
    installs create .cmd shims). trustedUserCandidates includes Windows paths
    (%APPDATA%/npm, Scoop, Cargo, Mason, VS Code).

  • PATHEXT-aware executable detection (#585): isExecutable on win32 now
    respects the PATHEXT environment variable (.COM;.EXE;.BAT;.CMD;.VBS;.JS
    default) instead of hardcoding only .exe, .cmd, .bat.

  • Platform-appropriate cache directory (#584): Cache now uses
    %LOCALAPPDATA%/pi-shazam/cache on Windows, ~/Library/Caches/pi-shazam on
    macOS, and $XDG_CACHE_HOME/pi-shazam on Linux (renamed from repomap).

  • Windows CI coverage (#583, #592): windows-latest runner added to CI matrix
    (typecheck, tests, build) and publish workflow. All 662 tests pass on Windows.
    package.json os field now includes "win32".

  • MCP documentation for Windows (#586): mcp/README.md now includes Windows
    MCP client configuration examples (Claude Desktop on cmd, PowerShell, Git Bash).

Bug Fixes

  • MCP HOME fallback on Windows (#586): PI_SHAZAM_HOME_ONLY check now falls
    back to USERPROFILE before the hardcoded "/home", fixing the home-directory
    gate on Windows where HOME is not set by default.

  • Cross-platform path normalization in MCP (#586): buildEnvelope now
    normalizes backslash project paths to forward slashes for consistent JSON
    output across platforms.

  • Cross-platform test compatibility (#592): 8 test files fixed for Windows —
    path comparisons, URI construction, file separator handling, short-name paths,
    and log message assertions now work correctly on all platforms.

Upgrade

pi install npm:pi-shazam@latest

Or for MCP clients:

{ "mcpServers": { "pi-shazam": { "command": "npx", "args": ["-y", "-p", "pi-shazam@latest", "pi-shazam-mcp"] } } }

Full Changelog: v0.24.4...v0.25.0