Skip to content

Bump copilot cli npm to 1.0.47#316294

Closed
DonJayamanne wants to merge 18 commits into
mainfrom
don/cli47
Closed

Bump copilot cli npm to 1.0.47#316294
DonJayamanne wants to merge 18 commits into
mainfrom
don/cli47

Conversation

@DonJayamanne
Copy link
Copy Markdown
Contributor

No description provided.

Copilot AI review requested due to automatic review settings May 13, 2026 19:05
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Bumps the bundled @github/copilot CLI SDK from 1.0.39 to 1.0.47 and updates supporting test/postinstall logic to reflect the new SDK contents (new native binaries, removal of the legacy win32.node).

Changes:

  • Update @github/copilot dependency to ^1.0.47 in package.json and package-lock.json.
  • Expand the knownBinaries allowlist in the SDK upgrade test to cover the new native/runtime/*, native/win32/*, foundry-local-sdk, pvrecorder, and mxc-bin files; drop legacy win32.node entries.
  • Drop win32.node from the prebuilds copy filter in postinstall.ts.
Show a summary per file
File Description
extensions/copilot/package.json Bumps @github/copilot to ^1.0.47.
extensions/copilot/package-lock.json Lockfile updates for SDK 1.0.47 and its platform packages.
extensions/copilot/script/postinstall.ts Stops copying legacy win32.node from prebuilds; comment is out of sync.
extensions/copilot/src/extension/chatSessions/copilotcli/vscode-node/test/copilotCLISDKUpgrade.spec.ts Updates the known-binaries allowlist to match the SDK 1.0.47 file layout.

Copilot's findings

Files not reviewed (1)
  • extensions/copilot/package-lock.json: Language not supported
  • Files reviewed: 3/4 changed files
  • Comments generated: 1

Comment thread extensions/copilot/script/postinstall.ts Outdated
dmitrivMS
dmitrivMS previously approved these changes May 13, 2026
DonJayamanne and others added 5 commits May 15, 2026 04:04
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Copy link
Copy Markdown
Collaborator

@rzhao271 rzhao271 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should the root directory's github/copilot also be updated?

Comment thread extensions/copilot/script/postinstall.ts
@DonJayamanne
Copy link
Copy Markdown
Contributor Author

ld the root directory's github/copilot also be updated?

@rzhao271 that will be updated later, thats not related to Chat extension.

@DonJayamanne DonJayamanne requested a review from rzhao271 May 14, 2026 19:49
Yoyokrazy
Yoyokrazy previously approved these changes May 14, 2026
rzhao271
rzhao271 previously approved these changes May 14, 2026
path.join('pvrecorder', 'node_modules', '@picovoice', 'pvrecorder-node', 'lib', 'windows', 'amd64', 'pv_recorder.node'),
path.join('pvrecorder', 'node_modules', '@picovoice', 'pvrecorder-node', 'lib', 'windows', 'arm64', 'pv_recorder.node'),
// mxc-bin (Windows sandbox + WSL helpers used by the SDK's command execution).
path.join('mxc-bin', 'arm64', 'lxc-exec'),
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think mxc sandboxing feature was behind experimental, but maybe we should have comment saying to include this once its necessary/ no longer behind experiment.

@anthonykim1 anthonykim1 marked this pull request as draft May 14, 2026 21:47
@anthonykim1
Copy link
Copy Markdown
Contributor

anthonykim1 commented May 17, 2026

Got it passing for now: #316566 + slack thread for context

…es and updating glob patterns to exclude them from modification
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.

6 participants