mirror of
https://github.com/yigitkonur/cli-continues.git
synced 2026-04-26 00:36:02 +03:00
[GH-ISSUE #16] Windows: tool detection misses npm CLIs (codex/gemini) because which + spawn(shell:false) #5
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/cli-continues#5
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @ithallys on GitHub (Feb 25, 2026).
Original GitHub issue: https://github.com/yigitkonur/cli-continues/issues/16
Summary
On Windows (PowerShell),
continuesonly detectsclaudeand fails to detect other installed CLIs likecodexandgemini.Example picker message:
Environment
Reproduction
claude(exe)codex(npm shim)gemini(npm shim)npx continues.Actual behavior
continuesreports onlyclaudeas installed.codexandgeminiare not detected.Expected behavior
continuesshould detect all available CLIs in PATH on Windows, including npm.cmdshims (codex.cmd,gemini.cmd).Root cause
In
src/utils/resume.ts:which.spawn(command, args, { shell: false }), which fails for npm shim commands on Windows.Suggested fix
Use platform-specific detection and shell behavior:
@yigitkonur commented on GitHub (Feb 25, 2026):
thank you! v4.0 fixes this but i couldn't test it, any chance you could check it out? i'm the one who sold his soul to apple :/ can you test
npx continuesfor me?