Skip to content

fix: detect Copilot via CLAUDE_PLUGIN_ROOT env var in addition to COPILOT_PLUGIN_DATA - #653

Open
dhedhialy wants to merge 1 commit into
DietrichGebert:mainfrom
dhedhialy:fix/copilot-isCopilot-detection
Open

fix: detect Copilot via CLAUDE_PLUGIN_ROOT env var in addition to COPILOT_PLUGIN_DATA#653
dhedhialy wants to merge 1 commit into
DietrichGebert:mainfrom
dhedhialy:fix/copilot-isCopilot-detection

Conversation

@dhedhialy

Copy link
Copy Markdown
Contributor

Fixes #528

Some VS Code Copilot environments set \CLAUDE_PLUGIN_ROOT\ but not \COPILOT_PLUGIN_DATA, causing \isCopilot\ to return \ alse\ and leaking the statusline setup nudge into the session start output.

Updated the check in \hooks/ponytail-runtime.js\ to also look for \CLAUDE_PLUGIN_ROOT.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Statusline setup nudge leaks into VS Code Copilot (isCopilot misses CLAUDE_PLUGIN_ROOT)

1 participant