Skip to content

chore: bump @github/copilot-sdk to 1.0.10-preview.0 and @github/copilot to 1.0.79-7 - #329631

Draft
vs-code-engineering[bot] wants to merge 2 commits into
mainfrom
automation/bump-copilot-sdk-1.0.10-preview.0-cli-1.0.79-7
Draft

chore: bump @github/copilot-sdk to 1.0.10-preview.0 and @github/copilot to 1.0.79-7#329631
vs-code-engineering[bot] wants to merge 2 commits into
mainfrom
automation/bump-copilot-sdk-1.0.10-preview.0-cli-1.0.79-7

Conversation

@vs-code-engineering

@vs-code-engineering vs-code-engineering Bot commented Aug 7, 2026

Copy link
Copy Markdown
Contributor

Automated signed Copilot dependency bump.

  • @github/copilot-sdk: ^1.0.9-preview.31.0.10-preview.0
  • @github/copilot: 1.0.79-21.0.79-7
  • Base: main @ 55876d4576bf644ae7b69909e3f78bd0dbae83c6
  • Opened by workflow run

Draft until validation passes. The sdk-vscode-bump-fix agent will prime packaging changes from the canary insights and iterate on failures.

Each product build triggered for this PR is posted as a comment below with a link.

Published package layout changes

Copilot published package layout diff

Best-effort path comparison from npm pack --dry-run; CLI platform paths use representative x64 packages for macOS, Linux, and Windows. Content-only and architecture-specific changes are left to the product build. This is not an availability gate.

@github/copilot-sdk 1.0.9-preview.3 → 1.0.10-preview.0

No published path changes.

@github/copilot 1.0.79-2 → 1.0.79-7

No published path changes.

@github/copilot-darwin-x64 1.0.79-2 → 1.0.79-7

No published path changes.

@github/copilot-linux-x64 1.0.79-2 → 1.0.79-7

No published path changes.

@github/copilot-win32-x64 1.0.79-2 → 1.0.79-7

No published path changes.


🔧 Integration fix — cycle 1

Failure: Product-build Compile failed on all platforms/arches with TS2322 at src/vs/platform/agentHost/node/copilot/copilotAgent.ts(1040,3) — the object returned by getManagedSettingsDiagnostics() was not assignable to IAgentHostManagedSettingsSnapshot.

Root cause (intentional upstream contract change): @github/copilot-sdk@1.0.10-preview.0 widened ManagedSettingsResolvedData.source from "server" | "device" | "none" to ManagedSettingsResolvedSource = "server" | "device" | "client" | "mixed" | "none" and added the optional clientManaged?: boolean field. VS Codes snapshot interface still declared the narrow union and lacked clientManaged.

SDK+CLI correlation: The change ships in this exact SDK (1.0.10-preview.0) — verified in both the public SDK d.ts (dist/generated/session-events.d.ts) and the runtime SDK d.ts bundled in @github/copilot (sdk/index.d.ts). Pure type migration, not a native-payload/koffi/glibc issue, so the CLI (1.0.79-7) match is not load-bearing here.

Fix: Widened IAgentHostManagedSettingsSnapshot.source to the new 5-value union and added readonly clientManaged?: boolean in src/vs/platform/agentHost/common/agentService.ts. The snapshot is only serialized to a JSON diagnostics block downstream (developerActions.ts), so widening is safe for consumers.

Validation: Interface now exactly mirrors the SDK ManagedSettingsResolvedData contract field-for-field. Local tsc could not be run (checkout is write-protected to the agent and has no local node_modules), so correctness was confirmed by direct comparison against the installed SDK type definitions.

State: Fix pushed to branch — awaiting re-dispatched product build.

Generated by sdk-vscode-bump-fix · opus48 · 459.3 AIC · ⌖ 23 AIC · ⊞ 18.5K ·

@vs-code-engineering vs-code-engineering Bot added the copilot-sdk-auto-upgrade Automated Copilot SDK/CLI version-bump PR label Aug 7, 2026
Copilot AI balanced review requested due to automatic review settings August 7, 2026 16:31
@vs-code-engineering vs-code-engineering Bot added the copilot-sdk-auto-upgrade Automated Copilot SDK/CLI version-bump PR label Aug 7, 2026

Copilot AI left a comment

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.

Pull request overview

Note

Copilot could not run the full agentic suite for this review because it was automatically requested on a bot-authored pull request. Request a review from Copilot under Reviewers to retry with the full agentic suite. Improved support for bot-authored pull requests is coming soon.

Updates GitHub Copilot dependencies across the root and remote/ packages to align on newer preview builds.

Changes:

  • Bumps @github/copilot to 1.0.79-7
  • Bumps @github/copilot-sdk to 1.0.10-preview.0 and pins it (removes ^ range)

Reviewed changes

Copilot reviewed 2 out of 4 changed files in this pull request and generated 2 comments.

File Description
package.json Updates Copilot/Copilot SDK dependency versions in the root package.
remote/package.json Mirrors the same Copilot/Copilot SDK version updates for the remote package.
Files not reviewed (1)
  • remote/package-lock.json: Generated file

Comment thread package.json
Comment on lines +102 to +103
"@github/copilot": "1.0.79-7",
"@github/copilot-sdk": "1.0.10-preview.0",
Comment thread remote/package.json
Comment on lines +6 to +7
"@github/copilot": "1.0.79-7",
"@github/copilot-sdk": "1.0.10-preview.0",
@vs-code-engineering

Copy link
Copy Markdown
Contributor Author

🏗️ Product build queued for cycle 1: https://dev.azure.com/monacotools/Monaco/_build/results?buildId=462510 — validating the PR branch…

@vs-code-engineering

Copy link
Copy Markdown
Contributor Author

Product build against the PR branch — cycle 1: failed

The @github/copilot-sdk 1.0.10-preview.0 bump widened ManagedSettingsResolvedData.source to add 'client' and 'mixed', and added the optional clientManaged field. Mirror those in IAgentHostManagedSettingsSnapshot so getManagedSettingsDiagnostics() type-checks.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@vs-code-engineering

Copy link
Copy Markdown
Contributor Author

Commit pushed: b12964f

Generated by sdk-vscode-bump-fix · opus48 · 459.3 AIC · ⌖ 23 AIC · ⊞ 18.5K

@joshspicer

Copy link
Copy Markdown
Member

looking to adopt the change in #328082

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

Labels

copilot-sdk-auto-upgrade Automated Copilot SDK/CLI version-bump PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants