Skip to content

chore: bump @github/copilot-sdk to 1.0.9-preview.2 (CLI 1.0.77) - #328553

Draft
vs-code-engineering[bot] wants to merge 5 commits into
mainfrom
automation/bump-copilot-sdk-1.0.9-preview.2-cli-1.0.78-2
Draft

chore: bump @github/copilot-sdk to 1.0.9-preview.2 (CLI 1.0.77)#328553
vs-code-engineering[bot] wants to merge 5 commits into
mainfrom
automation/bump-copilot-sdk-1.0.9-preview.2-cli-1.0.78-2

Conversation

@vs-code-engineering

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

Copy link
Copy Markdown
Contributor
  • Bump @github/copilot-sdk from 1.0.9-preview.1 to 1.0.9-preview.2 in root and remote/.
  • Keep @github/copilot on 1.0.77 (exact pin, no caret) so npm hoists a single CLI tree.
  • Drop managedApprovalRequired from the path promptRequest fixture; that field is not on PermissionPromptRequestPath.
  • Flesh out the session.shutdown test fixture for required ShutdownData fields.

Product build: https://dev.azure.com/monacotools/Monaco/_build/results?buildId=461048

Copilot AI review requested due to automatic review settings August 1, 2026 11:28
@vs-code-engineering vs-code-engineering Bot added the copilot-sdk-auto-upgrade Automated Copilot SDK/CLI version-bump PR label Aug 1, 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 Copilot-related dependencies to newer prerelease/preview versions across the repo.

Changes:

  • Bumped @github/copilot from ^1.0.77 to ^1.0.78-2
  • Bumped @github/copilot-sdk from ^1.0.9-preview.1 to ^1.0.9-preview.2

Reviewed changes

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

File Description
remote/package.json Updates Copilot dependency versions used by the remote package.
package.json Updates Copilot dependency versions used at the root/workspace level.
Files not reviewed (1)
  • remote/package-lock.json: Generated file

Comment thread remote/package.json Outdated
Comment on lines +6 to +7
"@github/copilot": "^1.0.78-2",
"@github/copilot-sdk": "^1.0.9-preview.2",
Comment thread package.json Outdated
Comment on lines +100 to +101
"@github/copilot": "^1.0.78-2",
"@github/copilot-sdk": "^1.0.9-preview.2",
@vs-code-engineering

Copy link
Copy Markdown
Contributor Author

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

@vs-code-engineering

Copy link
Copy Markdown
Contributor Author

Product build against the PR branch — cycle 1: failed

@vs-code-engineering

Copy link
Copy Markdown
Contributor Author

Commit pushed: 1fff777

Generated by sdk-vscode-bump-fix · opus48 · 368.4 AIC · ⌖ 23 AIC · ⊞ 17.9K

@vs-code-engineering

Copy link
Copy Markdown
Contributor Author

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

@github-actions

github-actions Bot commented Aug 1, 2026

Copy link
Copy Markdown
Contributor

Base: e64d2d15 Current: d9f71aea

No screenshot changes.

@vs-code-engineering

Copy link
Copy Markdown
Contributor Author

Product build against the PR branch — cycle 2: succeeded

github-actions Bot and others added 2 commits August 3, 2026 14:18
SDK 1.0.9-preview.2 removed managedApprovalRequired from PermissionPromptRequestPath (compile TS2353); the path prompt variant never carried it and production only reads promptRequest.autoApproval, so the redundant test field is dropped while the managed-approval semantics stay driven by permissionRequest.managedApprovalRequired.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@anthonykim1
anthonykim1 force-pushed the automation/bump-copilot-sdk-1.0.9-preview.2-cli-1.0.78-2 branch from 1fff777 to c311585 Compare August 3, 2026 21:18
accessKind: 'read',
paths: ['/workspace/src/file.ts'],
toolCallId: 'tc-managed',
managedApprovalRequired: true,

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.

@justschen Can you look over if this is safe to remove?
It seems like SDK type for this is PermissionPromptRequestPath ?

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

this is for enteprise managed approvals which is different, we probably still need this?

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.

anthonykim1 and others added 2 commits August 3, 2026 14:30
…elds

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: cf99a5e2-4a51-4763-8aa8-0d3bbb359b33
1.0.78-2 is a prerelease outside the SDK range ^1.0.76-5, which forced a
nested 1.0.77 copy. Pin the latest stable CLI instead so npm hoists one tree.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: cf99a5e2-4a51-4763-8aa8-0d3bbb359b33
@anthonykim1 anthonykim1 changed the title chore: bump @github/copilot-sdk to 1.0.9-preview.2 and @github/copilot to 1.0.78-2 chore: bump @github/copilot-sdk to 1.0.9-preview.2 (CLI 1.0.77) Aug 3, 2026
@anthonykim1

Copy link
Copy Markdown
Contributor

Version pairing note

Bot originally paired SDK 1.0.9-preview.2 with CLI 1.0.78-2. We drifted off that:

  • SDK 1.0.9-preview.2 still depends on @github/copilot@^1.0.76-5
  • Semver: prereleases like 1.0.78-2 do not satisfy that range
  • Pinning 1.0.78-2 forced a dual install: root 1.0.78-2 + nested SDK 1.0.77 (messy lockfile, ~+187 lines of platform packages)
  • 1.0.77 is the newest CLI that satisfies the SDK range and hoists cleanly (one copy, tiny lock diff)

So this PR is:

  • SDK: 1.0.9-preview.2 (latest prerelease)
  • CLI: 1.0.77 (latest stable / single-install pair)

If we want 1.0.78-x later, we need either an SDK dep-range bump, a stable 1.0.78, or an overrides hammer.

@anthonykim1
anthonykim1 marked this pull request as draft August 3, 2026 22:04
SDK ShutdownType is "routine" | "error"; "normal" fails tsgo.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: cf99a5e2-4a51-4763-8aa8-0d3bbb359b33
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.

5 participants