Follow-up to #4539 / #4542, per review by @nettee on #4542.
Background
#4542 makes the Warp host tool detectable and launchable on Windows (it was permanently "not detected on $PATH"). But it surfaced a deeper limitation: Warp has no reliable directory-targeted launch.
Empirically verified on Windows:
- Cold start (Warp not running): the spawn
cwd is ignored — Warp opens at its default/home directory.
- Warm (Warp already running): a relaunch honors the
cwd — the new tab opens at the project directory.
This cold/warm split is invisible to the user → a bug magnet: a user who keeps Warp closed clicks "Open in Warp", lands at home instead of their project, and reports "Open in Warp ignores my project" without knowing the caveat. The reviewer's "all or nothing" reading is fair.
Decision
Until Warp supports a directory-targeted launch upstream — warpdotdev/warp#6357, which appears to be a possible upcoming feature — hide the Warp launcher on platforms where it can't reliably target the directory (Windows, and Linux by the same gap) rather than ship inconsistent behavior. macOS (open -a Warp <dir>) is unaffected.
Scope
Links
🤖 Generated by Claude Code on behalf of @cbeaulieu-gt
Follow-up to #4539 / #4542, per review by @nettee on #4542.
Background
#4542 makes the Warp host tool detectable and launchable on Windows (it was permanently "not detected on $PATH"). But it surfaced a deeper limitation: Warp has no reliable directory-targeted launch.
Empirically verified on Windows:
cwdis ignored — Warp opens at its default/home directory.cwd— the new tab opens at the project directory.This cold/warm split is invisible to the user → a bug magnet: a user who keeps Warp closed clicks "Open in Warp", lands at home instead of their project, and reports "Open in Warp ignores my project" without knowing the caveat. The reviewer's "all or nothing" reading is fair.
Decision
Until Warp supports a directory-targeted launch upstream — warpdotdev/warp#6357, which appears to be a possible upcoming feature — hide the Warp launcher on platforms where it can't reliably target the directory (Windows, and Linux by the same gap) rather than ship inconsistent behavior. macOS (
open -a Warp <dir>) is unaffected.Scope
apps/daemon/src/routes/host-tools.ts, gate the Warp catalogue entry so it is not offered on win32/linux (e.g.platforms: ['darwin'], mirroring theterminalentry), OR keep detection but mark it unavailable, until dir-targeting lands.Links
🤖 Generated by Claude Code on behalf of @cbeaulieu-gt