Skip to content

copilot shim: update the post-install notes for the current code - #338989

Merged
Karthik Nadig (karthiknadig) merged 1 commit into
packaging/vscode-with-copilotfrom
karthiknadig/copilot-shim-post-install-doc
Oct 1, 2026
Merged

Karthik Nadig (karthiknadig) merged 1 commit into
packaging/vscode-with-copilotfrom
karthiknadig/copilot-shim-post-install-doc

Conversation

@karthiknadig

Copy link
Copy Markdown
Member

SHIM_POST_INSTALL.md described the shim as it was at 8caae699356, before the fixes it proposed were implemented in b284dd5b991. For example, it said the installer inherits an unfiltered PATH, that CommandSpec has a launch adapter and no environment override, and that there is no post-install lookup on Unix. It also referred to code that has since been removed.

Change

  • Kept: the investigation.
    • The WSL transcript.
    • Why only the legacy shim got the official script's profile prompt: the script's command -v copilot accepts any copilot, and the legacy shim's directory was still on the Rust shim's PATH.
    • The script's profile selection.
  • Replaced the "not yet implemented" sections with what the shim does now:
    • the installer-only PATH (installer_path);
    • the official-script install directory fallback (official_install_directory), both after an install and on later invocations;
    • the messages printed when the CLI still can't be found.
  • Side by side: the legacy-versus-Rust comparison table now reflects the current shim.
  • Extension details removed: the doc no longer says whether the extension prepends or appends its terminal PATH entry, or where it gets the shim. Those are changing in copilot: use the shipped Copilot shim in terminals #338927 and copilot: append the Copilot shim to the terminal PATH #338931, and REQUIREMENTS.md covers them.

This PR changes only documentation.

SHIM_POST_INSTALL.md described the shim before the installer-only PATH and the
official-script install directory fallback existed, and referenced types that
were since removed. Keep the investigation (the transcript, why only the legacy
shim got the profile prompt, how the script picks a profile) and describe what
the shim does now.

Co-authored-by: Copilot <[email protected]>
@karthiknadig
Karthik Nadig (karthiknadig) merged commit 87f0295 into packaging/vscode-with-copilot Oct 1, 2026
3 checks passed
@karthiknadig
Karthik Nadig (karthiknadig) deleted the karthiknadig/copilot-shim-post-install-doc branch October 1, 2026 17:57
@vs-code-engineering vs-code-engineering Bot added this to the 1.141.0 milestone Oct 1, 2026
@vs-code-engineering vs-code-engineering Bot locked and limited conversation to collaborators Nov 15, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants