[GH-ISSUE #185] Harden vscode/cursor install-hooks when the user doesn't have the IDE CLI installed in path #71

Closed
opened 2026-03-02 04:11:38 +03:00 by kerem · 1 comment
Owner

Originally created by @svarlamov on GitHub (Nov 4, 2025).
Original GitHub issue: https://github.com/git-ai-project/git-ai/issues/185

Originally assigned to: @svarlamov, @Copilot on GitHub.

The code and cursor CLIs are just shell script wrappers over the core electron cli.js script. If the CLIs don't exist in the PATH we should try to mimic what the shell scripts do and call cli.js directly. This will ensure we get all extensions/hooked installed even when the CLIs aren't available

Originally created by @svarlamov on GitHub (Nov 4, 2025). Original GitHub issue: https://github.com/git-ai-project/git-ai/issues/185 Originally assigned to: @svarlamov, @Copilot on GitHub. The `code` and `cursor` CLIs are just shell script wrappers over the core electron `cli.js` script. If the CLIs don't exist in the `PATH` we should try to mimic what the shell scripts do and call `cli.js` directly. This will ensure we get all extensions/hooked installed even when the CLIs aren't available
kerem 2026-03-02 04:11:38 +03:00
Author
Owner

@svarlamov commented on GitHub (Feb 5, 2026):

Image

This is also the root cause of the extension installation warnings for cursor/vscode

<!-- gh-comment-id:3850619400 --> @svarlamov commented on GitHub (Feb 5, 2026): <img width="1390" height="264" alt="Image" src="https://github.com/user-attachments/assets/dcf3588c-093d-4325-acc5-e0ce77ea89af" /> This is also the root cause of the extension installation warnings for cursor/vscode
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/git-ai#71
No description provided.