Skip to content

chore: bump @github/copilot-sdk to 1.0.12-preview.0 and @github/copilot to 1.0.81-10 - #332645

Closed
vs-code-engineering[bot] wants to merge 4 commits into
mainfrom
automation/bump-copilot-sdk-1.0.12-preview.0-cli-1.0.81-10
Closed

vs-code-engineering[bot] wants to merge 4 commits into
mainfrom
automation/bump-copilot-sdk-1.0.12-preview.0-cli-1.0.81-10

Conversation

@vs-code-engineering

@vs-code-engineering vs-code-engineering Bot commented Aug 25, 2026 •

Copy link
Copy Markdown
Contributor

Automated signed Copilot dependency bump.

  • @github/copilot-sdk: 1.0.11 → 1.0.12-preview.0
  • @github/copilot: 1.0.81-0 → 1.0.81-10
  • Base: main @ 3d079185299158cc8c7428ea1ea67dfeb0e978c6
  • 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.11 → 1.0.12-preview.0

No published path changes.

@github/copilot 1.0.81-0 → 1.0.81-10

No published path changes.

@github/copilot-darwin-x64 1.0.81-0 → 1.0.81-10

  • Added (3):
    • plugins/computer-use/.release-target
    • prebuilds/darwin-x64/copilot-runtime
    • prebuilds/darwin-x64/copilot-runtime-bin
  • Removed (21):
    • clipboard/index.js
    • clipboard/node_modules/@teddyzhu/clipboard-darwin-x64/README.md
    • clipboard/node_modules/@teddyzhu/clipboard-darwin-x64/clipboard.darwin-x64.node
    • clipboard/node_modules/@teddyzhu/clipboard-darwin-x64/package.json
    • clipboard/node_modules/@teddyzhu/clipboard/LICENSE
    • clipboard/node_modules/@teddyzhu/clipboard/README.md
    • clipboard/node_modules/@teddyzhu/clipboard/clipboard.darwin-arm64.node
    • clipboard/node_modules/@teddyzhu/clipboard/clipboard.darwin-x64.node
    • clipboard/node_modules/@teddyzhu/clipboard/clipboard.linux-arm64-gnu.node
    • clipboard/node_modules/@teddyzhu/clipboard/clipboard.linux-x64-gnu.node
    • clipboard/node_modules/@teddyzhu/clipboard/clipboard.win32-arm64-msvc.node
    • clipboard/node_modules/@teddyzhu/clipboard/clipboard.win32-x64-msvc.node
    • … 9 more paths omitted

@github/copilot-linux-x64 1.0.81-0 → 1.0.81-10

  • Added (2):
    • prebuilds/linux-x64/copilot-runtime
    • prebuilds/linux-x64/copilot-runtime-bin
  • Removed (21):
    • clipboard/index.js
    • clipboard/node_modules/@teddyzhu/clipboard-linux-x64-gnu/README.md
    • clipboard/node_modules/@teddyzhu/clipboard-linux-x64-gnu/clipboard.linux-x64-gnu.node
    • clipboard/node_modules/@teddyzhu/clipboard-linux-x64-gnu/package.json
    • clipboard/node_modules/@teddyzhu/clipboard/LICENSE
    • clipboard/node_modules/@teddyzhu/clipboard/README.md
    • clipboard/node_modules/@teddyzhu/clipboard/clipboard.darwin-arm64.node
    • clipboard/node_modules/@teddyzhu/clipboard/clipboard.darwin-x64.node
    • clipboard/node_modules/@teddyzhu/clipboard/clipboard.linux-arm64-gnu.node
    • clipboard/node_modules/@teddyzhu/clipboard/clipboard.linux-x64-gnu.node
    • clipboard/node_modules/@teddyzhu/clipboard/clipboard.win32-arm64-msvc.node
    • clipboard/node_modules/@teddyzhu/clipboard/clipboard.win32-x64-msvc.node
    • … 9 more paths omitted

@github/copilot-win32-x64 1.0.81-0 → 1.0.81-10

  • Added (3):
    • plugins/computer-use/.release-target
    • prebuilds/win32-x64/copilot-runtime-bin.exe
    • prebuilds/win32-x64/copilot-runtime.exe
  • Removed (21):
    • clipboard/index.js
    • clipboard/node_modules/@teddyzhu/clipboard-win32-x64-msvc/README.md
    • clipboard/node_modules/@teddyzhu/clipboard-win32-x64-msvc/clipboard.win32-x64-msvc.node
    • clipboard/node_modules/@teddyzhu/clipboard-win32-x64-msvc/package.json
    • clipboard/node_modules/@teddyzhu/clipboard/LICENSE
    • clipboard/node_modules/@teddyzhu/clipboard/README.md
    • clipboard/node_modules/@teddyzhu/clipboard/clipboard.darwin-arm64.node
    • clipboard/node_modules/@teddyzhu/clipboard/clipboard.darwin-x64.node
    • clipboard/node_modules/@teddyzhu/clipboard/clipboard.linux-arm64-gnu.node
    • clipboard/node_modules/@teddyzhu/clipboard/clipboard.linux-x64-gnu.node
    • clipboard/node_modules/@teddyzhu/clipboard/clipboard.win32-arm64-msvc.node
    • clipboard/node_modules/@teddyzhu/clipboard/clipboard.win32-x64-msvc.node
    • … 9 more paths omitted

SDK/CLI bump integration — fix cycle 1

Pair: SDK 1.0.12-preview.0 + CLI 1.0.81-10 (exact signed pair).

Root cause (from failing product build's Compile & Hygiene task): SDK 1.0.12-preview.0 renamed the permission auto-approval API, breaking the agentHost typecheck (13 TS errors in src/vs/platform/agentHost/). Intentional upstream contract change, so migrating VS Code product + test code is in scope.

Migration applied:

  • setAllowAll() RPC → setMode()
  • PermissionAllowAllMode → PermissionMode; mode values on/auto/off → allow-all/assisted/manual
  • PermissionAutoApproval → PermissionAssistedApproval; promptRequest.autoApproval → assistedApproval
  • Added new extension-env-access permission kind to IAgentToolPendingConfirmationSignal.permissionKind (fixes copilotToolDisplay.ts TS2322)
  • Updated copilotAgentSession.test.ts + copilotAgent.test.ts fixtures/mocks accordingly

Correlation: Sibling bump branch -7 (same SDK base) implemented the identical migration, confirming the mapping. This branch's CLI (1.0.81-10) is the exact pair being validated here.

Local validation: tsgo (@typescript/native) typecheck of src/tsconfig.json → 0 errors.

State: Coherent fix pushed to the branch; product build re-dispatched on push. Awaiting result.> Generated by sdk-vscode-bump-fix · opus48 · 593.3 AIC · ⌖ 38.8 AIC · ⊞ 18K · ◷


🔧 sdk-vscode-bump-fix — cycle 2

Root cause (native payload / glibc): The bumped @github/copilot native payload (SDK 1.0.12-preview.0, CLI 1.0.81-10) no longer requires libm.so.6(GLIBC_2.27)(64bit). The committed reference RPM dep lists in build/linux/rpm/dep-lists.ts therefore diverged from the freshly generated deps, so dependencies-generator.ts (FAIL_BUILD_FOR_NEW_DEPENDENCIES) failed Prepare rpm package on both Linux X64 and ARM64 (product build 467750). The exact generated diff was a single removal on each arch: - libm.so.6(GLIBC_2.27)(64bit).

Change this cycle: Removed the now-stale libm.so.6(GLIBC_2.27)(64bit) entry from both the x86_64 and aarch64 reference lists in build/linux/rpm/dep-lists.ts, matching the generated deps. No other files touched; deb lists don't carry this symbol. Verified locally with build npm run typecheck (green).

SDK+CLI correlation: This exact signed pair (SDK 1.0.12-preview.0 / CLI 1.0.81-10) is confirmed directly from its own product-build failure — not adopted from a canary. The canary threads for the same 1.0.12 SDK base use different (canary) CLIs, so they're only supporting context; the fix is driven by the authoritative build 467750 diff for this pair.

⚠️ Build-path change — authorization required: This edit is under build/, which runs with production signing/publishing credentials. It is minimal and self-evidently scoped: it only deletes two stale dependency strings so the reference list matches what the RPM generator actually produces from the bumped payload — no new egress, no signing/publishing changes. Validation stops before queueing until a trusted collaborator authorizes this PR head.

Product-build state: Was failing (Prepare rpm package, X64+ARM64). Fix pushed; product build re-dispatched. Awaiting result.

Remaining human task: Approve the SHA-bound build-run authorization so the product-build pipeline re-runs with this build/ change.> Generated by sdk-vscode-bump-fix · opus48 · 214.9 AIC · ⌖ 23.1 AIC · ⊞ 18K · ◷



🔧 sdk-vscode-bump-fix — cycle 3

Root cause (test fixture / capi-replay projection): CLI 1.0.81-10's runtime now prepends a <tools_changed_notice> block to the user message whenever the exposed tool set changes between turns. In the Agent Host E2E test "planning-mode session-state writes are auto-approved in default mode", exit_plan_mode is removed after plan approval, so the live turn gains a <tools_changed_notice>\nTools no longer available: exit_plan_mode\n... preamble ahead of the question. The committed capture predates this behavior, so capi-replay's request #5 no longer matched ([capi-replay] model request #5 does not match the recorded request), failing the Agent Host E2E task on Linux(X64), macOS(ARM64), and Windows(X64). Codesign/SBoM cancellations were the downstream cascade.

Change this cycle (test-harness only, no product/build code): The change-notice blocks (<tools_changed_notice>, <mode_changed_notice>, <working_directory_changed>, <additional_directories_changed>) are composed by the @github/copilot runtime from session state, not host-authored prompt structure — the same category as the model id and tool_result payload the projection already elides. Added a symmetric elideChangeNotices step to modelRequestProjection.ts, applied inside elideRuntimeIds before path elision (so the intact </...> closing tag is matched instead of being rewritten into a ${path} placeholder first). Both recorded and live requests collapse identically, so the host-authored question and surrounding history stay asserted while the runtime preamble no longer desyncs replay on a CLI bump.

Fixtures untouched. The sibling capture that intentionally records a <tools_changed_notice> model-switch block strips symmetrically on both sides and still matches — the elision does not weaken any host-authored assertion.

SDK+CLI correlation: Driven directly from this exact signed pair's product-build failure (SDK 1.0.12-preview.0 / CLI 1.0.81-10). The 1.0.12 SDK-base canary threads all failed on the same base but with divergent canary CLIs, so they are supporting context only; the concrete request-#5 mismatch is from the authoritative build for this pair.

Local validation: Targeted projection unit test (modelRequestProjection.test.js, incl. 2 new cases for the tool-removal notice and a negative "question still has to match" case) → 17 passing. transpile-client clean. (Full typecheck-client OOMs on this 8 GB runner — a resource limit, not a code issue; the change is a string → string helper plus a regex const in the test harness, and the mocha run requires successful compilation.)

Product-build state: Was failing (Agent Host E2E, request #5 mismatch, all three platforms). Fix pushed to the branch; product build re-dispatched on push. Awaiting result.> Generated by sdk-vscode-bump-fix · opus48 · 530.6 AIC · ⌖ 24.8 AIC · ⊞ 18K · ◷



🔧 sdk-vscode-bump-fix — cycle 4

No integration changes needed this cycle — infrastructure (ESRP signing) failure, not a package-contract problem.

Root cause (signing service, not the bump): Product build 467805's only genuine failure is the ✍️ Notarize task on macOS CLI (X64): ESRP returned OperationId ... failed. Status: FailDoNotRetry Error: {"code":"MacSignFailed","details":{"errorDetails":""},"innerError":null} while signing unsigned_vscode_cli_darwin_x64_cli.zip. The Scan sub-operation passed; only the MacAppNotarize sign step failed, with empty errorDetails — the ESRP signing service's own non-actionable transient/service error. All 10 other failing tasks (Build server, Compile, Install dependencies, the ARM64 Notarize, rpm prepare, artifact waits, alpine download) are downstream canceled steps triggered by that one failure, not independent breakages.

Why this is not the SDK/CLI bump: The signed artifact is the VS Code Rust tunnel CLI (vscode_cli_darwin_x64), which is built from the VS Code repo's own Rust sources — it is not produced, bundled, or influenced by the @github/copilot / @github/copilot-sdk npm packages this PR bumps. The Compile task got well past agentHost typechecking (0 errors) before being canceled, and the earlier cycles' integration work (permission-API migration, rpm dep-list, capi-replay projection) all held. A MacSignFailed with empty details and FailDoNotRetry on an unrelated Rust binary is a classic ESRP service-side flake, independent of the package contract.

SDK+CLI correlation: This exact signed pair (SDK 1.0.12-preview.0 / CLI 1.0.81-10) is confirmed from its own product build 467805. The 1.0.12 SDK-base canary threads use divergent canary CLIs and are supporting context only; none of them implicate signing. No canary or upstream evidence points at a native-payload/signing-input change for this pair — the darwin-x64 payload diff in this PR only removed the unused clipboard module and added copilot-runtime prebuilds, none of which feed the tunnel-CLI zip that failed to sign.

Change this cycle: None. No VS Code file was edited and nothing was pushed — an integration commit would be incorrect for an ESRP service failure.

Remaining human task: Re-queue the product build for this PR head (8b797c98) to retry the ESRP notarization. Signing-service re-runs cannot be safely automated from here, and no code change would affect the outcome. If the MacSignFailed recurs on a clean re-run, it should be raised with the ESRP/signing infrastructure owners rather than treated as an integration defect.

Product-build state: Failed at ESRP notarization (macOS CLI X64), everything else canceled downstream. No fix pushed (none applies), so no automatic re-dispatch — awaiting a manual build re-run.> Generated by sdk-vscode-bump-fix · opus48 · 164.1 AIC · ⌖ 18.1 AIC · ⊞ 18K · ◷

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

Copy link
Copy Markdown
Contributor Author

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

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

Updates the Copilot SDK and CLI dependencies for both local and remote Agent Host environments.

Changes:

  • Bumps @github/copilot-sdk to 1.0.12-preview.0.
  • Bumps @github/copilot and platform packages to 1.0.81-10.
  • Refreshes lockfiles and removes obsolete nested Copilot packages.

Reviewed changes

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

File Description
package.json Updates root dependency versions.
package-lock.json Locks updated root packages and integrity data.
remote/package.json Updates remote dependency versions.
remote/package-lock.json Locks updated remote packages and integrity data.
Files not reviewed (1)
  • remote/package-lock.json: Generated file

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@vs-code-engineering

Copy link
Copy Markdown
Contributor Author

SDK 1.0.12-preview.0 renamed setAllowAll->setMode, autoApproval->assistedApproval,
PermissionAllowAllMode->PermissionMode (on/auto/off -> allow-all/assisted/manual),
and added the extension-env-access permission kind.

Co-authored-by: Copilot <[email protected]>
@vs-code-engineering

Copy link
Copy Markdown
Contributor Author

Commit pushed: 99a352b

Generated by sdk-vscode-bump-fix · opus48 · 593.3 AIC · ⌖ 38.8 AIC · ⊞ 18K

@vs-code-engineering

Copy link
Copy Markdown
Contributor Author

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

@vs-code-engineering

Copy link
Copy Markdown
Contributor Author

Bumped @github/copilot native payload no longer requires libm.so.6(GLIBC_2.27) on x86_64/aarch64; the reference rpm dep lists diverged from generated deps, failing 'Prepare rpm package' per product build 467750.

Co-authored-by: Copilot <[email protected]>
@vs-code-engineering

Copy link
Copy Markdown
Contributor Author

Commit pushed: 100311e

Generated by sdk-vscode-bump-fix · opus48 · 214.9 AIC · ⌖ 23.1 AIC · ⊞ 18K

@vs-code-engineering

Copy link
Copy Markdown
Contributor Author

⏸️ Product build stopped before queueing. This PR changes build/packaging files that the product pipeline executes with production credentials.

A repository collaborator must review the changes, then comment this exact command on the PR to authorize a build of commit 100311e8b779f1c571f8e65dd72050cd63e41bdc without advancing the iteration:

/sdk-bump-approve-build cycle=3 head=100311e8b779f1c571f8e65dd72050cd63e41bdc branch=automation/bump-copilot-sdk-1.0.12-preview.0-cli-1.0.81-10 sdk=1.0.12-preview.0 cli=1.0.81-10 retry=0 base=99a352b1425cdfec98f4b2d95327b1479b4e8ed5

Changed build/packaging files:

build/linux/rpm/dep-lists.ts

Inspection run: https://github.com/microsoft/vscode-engineering/actions/runs/32911928662

@anthonykim1

Copy link
Copy Markdown
Contributor

/sdk-bump-approve-build cycle=3 head=100311e8b779f1c571f8e65dd72050cd63e41bdc branch=automation/bump-copilot-sdk-1.0.12-preview.0-cli-1.0.81-10 sdk=1.0.12-preview.0 cli=1.0.81-10 retry=0 base=99a352b1425cdfec98f4b2d95327b1479b4e8ed5

@vs-code-engineering

Copy link
Copy Markdown
Contributor Author

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

@vs-code-engineering

Copy link
Copy Markdown
Contributor Author

…ojection

CLI 1.0.81-10 now prepends a `<tools_changed_notice>` block to the user
message when tools change between turns (e.g. `exit_plan_mode` is dropped
after plan approval). The Agent Host E2E capture for planning-mode auto-approve
predates this behavior, so capi-replay's request #5 no longer matched a live
run against the newer CLI even though the host composed an identical turn.

These change-notice blocks (`<tools_changed_notice>`, `<mode_changed_notice>`,
`<working_directory_changed>`, `<additional_directories_changed>`) are composed
by the `@github/copilot` runtime from session state, not host-authored prompt
structure, so they belong in the projection's symmetric elision set alongside
the model id and tool_result payload. Elision runs before path elision so the
intact `</…>` closing tag is matched rather than being rewritten into a path
placeholder first.

Fixtures are not edited; the model-changes fixture that records a
`<tools_changed_notice>` model-switch block strips symmetrically on both sides
and still matches.

Co-authored-by: Copilot <[email protected]>
@vs-code-engineering

Copy link
Copy Markdown
Contributor Author

Commit pushed: 8b797c9

Generated by sdk-vscode-bump-fix · opus48 · 530.6 AIC · ⌖ 24.8 AIC · ⊞ 18K

@vs-code-engineering

Copy link
Copy Markdown
Contributor Author

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

@vs-code-engineering

Copy link
Copy Markdown
Contributor Author

@vs-code-engineering

Copy link
Copy Markdown
Contributor Author

🔧 sdk-vscode-bump-fix — cycle 4: infrastructure failure, no integration fix applies

Completed automated work (cycles 1–3, all held this build): SDK permission-API migration in agentHost, the stale libm.so.6(GLIBC_2.27) RPM dep-list removal, and the capi-replay change-notice projection are all in place. In build 467805 the Compile task cleared agentHost typechecking (0 errors) before the cascade, so the integration surface is green for the SDK 1.0.12-preview.0 / CLI 1.0.81-10 pair.

Remaining human task — re-queue the product build (signing retry): The only genuine failure is the ✍️ Notarize task on macOS CLI (X64):

OperationId ... failed. Status: FailDoNotRetry Error: {"code":"MacSignFailed","details":{"errorDetails":""},"innerError":null}
File: unsigned_vscode_cli_darwin_x64_cli.zip

The Scan sub-operation passed; only MacAppNotarize failed, with empty errorDetails — an ESRP signing-service error. All 10 other failing tasks are downstream canceled steps from that one failure. The signed artifact is the VS Code Rust tunnel CLI, which is not produced or influenced by the @github/copilot npm bump, so no code change would affect the outcome. This is a signing-service flake, not a package-contract defect.

Recommended next action: Re-queue the product build for PR head 8b797c98 to retry ESRP notarization. No fix was pushed (none applies), so there is no automatic re-dispatch. If MacSignFailed recurs on a clean re-run, please raise it with the ESRP/signing-infrastructure owners rather than treating it as an integration bug.

cc @pwang347 @anthonykim1

Generated by sdk-vscode-bump-fix · opus48 · 164.1 AIC · ⌖ 18.1 AIC · ⊞ 18K · ◷

@anthonykim1

Anthony Kim (anthonykim1) commented Aug 26, 2026 •

Copy link
Copy Markdown
Contributor

I wonder if the ESRP one is the company-wide limit thing.

@vs-code-engineering

Copy link
Copy Markdown
Contributor Author

Closing this automated Copilot SDK/CLI bump PR: it has been open for more than a week and newer signed versions have since been targeted by sdk-vscode-bump.yml. Reopen it if this bump is still wanted.

@vs-code-engineering
vs-code-engineering Bot deleted the automation/bump-copilot-sdk-1.0.12-preview.0-cli-1.0.81-10 branch September 1, 2026 23:25
@vs-code-engineering vs-code-engineering Bot locked and limited conversation to collaborators Oct 17, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants