Skip to content

Commit 206b49e

Browse files
Update SDK snapshot for Copilot CLI 1.0.99-1
1 parent 5817ec0 commit 206b49e

299 files changed

Lines changed: 10171 additions & 3310 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎.github/workflows/sdk-dotnet.yml‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
dotnet-linux-x64:
2727
name: ".NET (ubuntu-26.04-2core-agent-runtime, CAPI)"
2828
if: inputs.platform == 'all' || inputs.platform == 'linux-x64'
29-
runs-on: ubuntu-26.04-2core-agent-runtime
29+
runs-on: ${{ github.event_name == 'merge_group' && 'ubuntu-26.04-2core-ar-mq' || 'ubuntu-26.04-2core-agent-runtime' }}
3030
defaults:
3131
run:
3232
shell: bash
@@ -98,7 +98,7 @@ jobs:
9898
dotnet-darwin-arm64:
9999
name: ".NET (macos-26-xlarge-agent-runtime, default, CAPI)"
100100
if: inputs.platform == 'all' || inputs.platform == 'darwin-arm64'
101-
runs-on: macos-26-xlarge-agent-runtime
101+
runs-on: ${{ github.event_name == 'merge_group' && 'macos-26-xlarge-ar-mq' || 'macos-26-xlarge-agent-runtime' }}
102102
defaults:
103103
run:
104104
shell: bash
@@ -150,7 +150,7 @@ jobs:
150150
dotnet-win32-x64:
151151
name: ".NET (windows-2025-4core-agent-runtime, ${{ matrix.framework }}, ${{ matrix.suite.name }}, CAPI)"
152152
if: inputs.platform == 'all' || inputs.platform == 'win32-x64'
153-
runs-on: windows-2025-4core-agent-runtime
153+
runs-on: ${{ github.event_name == 'merge_group' && 'windows-2025-4core-ar-mq' || 'windows-2025-4core-agent-runtime' }}
154154
strategy:
155155
fail-fast: false
156156
matrix:
@@ -216,7 +216,7 @@ jobs:
216216
dotnet-musl-x64:
217217
name: ".NET (Alpine x64, CAPI)"
218218
if: inputs.platform == 'all' || inputs.platform == 'linuxmusl-x64'
219-
runs-on: ubuntu-26.04-2core-agent-runtime
219+
runs-on: ${{ github.event_name == 'merge_group' && 'ubuntu-26.04-2core-ar-mq' || 'ubuntu-26.04-2core-agent-runtime' }}
220220
env:
221221
COPILOT_SDK_E2E_BACKEND: capi
222222
steps:

‎.github/workflows/sdk-go.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
fail-fast: false
3131
matrix:
3232
os: ${{ fromJSON(inputs.platform == 'linux-x64' && '["ubuntu-26.04-2core-agent-runtime"]' || inputs.platform == 'darwin-arm64' && '["macos-26-agent-runtime"]' || inputs.platform == 'win32-x64' && '["windows-2025-4core-agent-runtime"]' || '["ubuntu-26.04-2core-agent-runtime","macos-26-agent-runtime","windows-2025-4core-agent-runtime"]') }}
33-
runs-on: ${{ matrix.os }}
33+
runs-on: ${{ github.event_name == 'merge_group' && fromJSON('{"ubuntu-26.04-2core-agent-runtime":"ubuntu-26.04-2core-ar-mq","macos-26-agent-runtime":"macos-26-ar-mq","windows-2025-4core-agent-runtime":"windows-2025-4core-ar-mq"}')[matrix.os] || matrix.os }}
3434
defaults:
3535
run:
3636
shell: bash
@@ -101,7 +101,7 @@ jobs:
101101
go-musl-x64:
102102
name: "Go (Alpine x64)"
103103
if: inputs.platform == 'all' || inputs.platform == 'linuxmusl-x64'
104-
runs-on: ubuntu-26.04-2core-agent-runtime
104+
runs-on: ${{ github.event_name == 'merge_group' && 'ubuntu-26.04-2core-ar-mq' || 'ubuntu-26.04-2core-agent-runtime' }}
105105
steps:
106106
- uses: actions/checkout@v7
107107
with:

‎.github/workflows/sdk-java.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
test-jdk: "17"
3636
- os: windows-2025-4core-agent-runtime
3737
test-jdk: "17"
38-
runs-on: ${{ matrix.os }}
38+
runs-on: ${{ github.event_name == 'merge_group' && fromJSON('{"ubuntu-26.04-2core-agent-runtime":"ubuntu-26.04-2core-ar-mq","macos-26-agent-runtime":"macos-26-ar-mq","windows-2025-4core-agent-runtime":"windows-2025-4core-ar-mq"}')[matrix.os] || matrix.os }}
3939
defaults:
4040
run:
4141
shell: bash
@@ -123,7 +123,7 @@ jobs:
123123
java-musl-x64:
124124
name: "Java (JDK 25, linuxmusl-x64)"
125125
if: inputs.platform == 'all' || inputs.platform == 'linuxmusl-x64'
126-
runs-on: ubuntu-26.04-2core-agent-runtime
126+
runs-on: ${{ github.event_name == 'merge_group' && 'ubuntu-26.04-2core-ar-mq' || 'ubuntu-26.04-2core-agent-runtime' }}
127127
steps:
128128
- uses: actions/checkout@v7
129129
with:

‎.github/workflows/sdk-nodejs.yml‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
fail-fast: false
3636
matrix:
3737
os: ${{ fromJSON(inputs.platform == 'linux-x64' && '["ubuntu-26.04-4core-agent-runtime"]' || inputs.platform == 'darwin-arm64' && '["macos-26-agent-runtime"]' || inputs.platform == 'win32-x64' && '["windows-2025-4core-agent-runtime"]' || '["ubuntu-26.04-4core-agent-runtime","macos-26-agent-runtime","windows-2025-4core-agent-runtime"]') }}
38-
runs-on: ${{ matrix.os }}
38+
runs-on: ${{ github.event_name == 'merge_group' && fromJSON('{"ubuntu-26.04-4core-agent-runtime":"ubuntu-26.04-4core-ar-mq","macos-26-agent-runtime":"macos-26-ar-mq","windows-2025-4core-agent-runtime":"windows-2025-4core-ar-mq"}')[matrix.os] || matrix.os }}
3939
defaults:
4040
run:
4141
shell: bash
@@ -125,7 +125,7 @@ jobs:
125125
nodejs-inprocess:
126126
name: "Node.js (ubuntu-26.04-4core-agent-runtime, in-process, CAPI)"
127127
if: github.event_name != 'merge_group' && (inputs.platform == 'all' || inputs.platform == 'linux-x64')
128-
runs-on: ubuntu-26.04-4core-agent-runtime
128+
runs-on: ${{ github.event_name == 'merge_group' && 'ubuntu-26.04-4core-ar-mq' || 'ubuntu-26.04-4core-agent-runtime' }}
129129
defaults:
130130
run:
131131
shell: bash
@@ -162,7 +162,7 @@ jobs:
162162
nodejs-backends:
163163
name: "Node.js (ubuntu-26.04-2core-agent-runtime, ${{ matrix.backend }})"
164164
if: github.event_name != 'merge_group' && (inputs.platform == 'all' || inputs.platform == 'linux-x64')
165-
runs-on: ubuntu-26.04-2core-agent-runtime
165+
runs-on: ${{ github.event_name == 'merge_group' && 'ubuntu-26.04-2core-ar-mq' || 'ubuntu-26.04-2core-agent-runtime' }}
166166
strategy:
167167
fail-fast: false
168168
matrix:
@@ -200,7 +200,7 @@ jobs:
200200
nodejs-musl-x64:
201201
name: "Node.js (Alpine x64, CAPI)"
202202
if: inputs.platform == 'all' || inputs.platform == 'linuxmusl-x64'
203-
runs-on: ubuntu-26.04-2core-agent-runtime
203+
runs-on: ${{ github.event_name == 'merge_group' && 'ubuntu-26.04-2core-ar-mq' || 'ubuntu-26.04-2core-agent-runtime' }}
204204
steps:
205205
- uses: actions/checkout@v7
206206
with:

‎.github/workflows/sdk-python.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
fail-fast: false
3131
matrix:
3232
os: ${{ fromJSON(inputs.platform == 'linux-x64' && '["ubuntu-26.04-2core-agent-runtime"]' || inputs.platform == 'darwin-arm64' && '["macos-26-agent-runtime"]' || inputs.platform == 'win32-x64' && '["windows-2025-4core-agent-runtime"]' || '["ubuntu-26.04-2core-agent-runtime","macos-26-agent-runtime","windows-2025-4core-agent-runtime"]') }}
33-
runs-on: ${{ matrix.os }}
33+
runs-on: ${{ github.event_name == 'merge_group' && fromJSON('{"ubuntu-26.04-2core-agent-runtime":"ubuntu-26.04-2core-ar-mq","macos-26-agent-runtime":"macos-26-ar-mq","windows-2025-4core-agent-runtime":"windows-2025-4core-ar-mq"}')[matrix.os] || matrix.os }}
3434
defaults:
3535
run:
3636
shell: bash
@@ -101,7 +101,7 @@ jobs:
101101
python-musl-x64:
102102
name: "Python (Alpine x64)"
103103
if: inputs.platform == 'all' || inputs.platform == 'linuxmusl-x64'
104-
runs-on: ubuntu-26.04-2core-agent-runtime
104+
runs-on: ${{ github.event_name == 'merge_group' && 'ubuntu-26.04-2core-ar-mq' || 'ubuntu-26.04-2core-agent-runtime' }}
105105
steps:
106106
- uses: actions/checkout@v7
107107
with:

‎.github/workflows/sdk-runtime-artifact.yml‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,9 @@ on:
2424
os:
2525
required: true
2626
type: string
27+
merge-queue-os:
28+
required: true
29+
type: string
2730
target:
2831
required: true
2932
type: string
@@ -137,7 +140,7 @@ jobs:
137140
!cancelled() &&
138141
(inputs.runtime-source == 'published' ||
139142
(needs.cache-relay.result == 'success' && needs.cache-relay.outputs.cache-hit != 'true'))
140-
runs-on: ${{ inputs.runtime-source == 'checkout' && inputs.os || 'ubuntu-26.04-2core-agent-runtime' }}
143+
runs-on: ${{ inputs.runtime-source == 'checkout' && (github.event_name == 'merge_group' && inputs.merge-queue-os || inputs.os) || (github.event_name == 'merge_group' && 'ubuntu-26.04-2core-ar-mq' || 'ubuntu-26.04-2core-agent-runtime') }}
141144
permissions:
142145
actions: read
143146
contents: read

‎.github/workflows/sdk-rust.yml‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
os: ${{ fromJSON(inputs.platform == 'linux-x64' && '["ubuntu-26.04-2core-agent-runtime"]' || inputs.platform == 'darwin-arm64' && '["macos-26-xlarge-agent-runtime"]' || inputs.platform == 'win32-x64' && '["windows-2025-4core-agent-runtime"]' || '["ubuntu-26.04-2core-agent-runtime","macos-26-xlarge-agent-runtime","windows-2025-4core-agent-runtime"]') }}
3333
# Staged runtimes plus multiple Cargo feature builds exhaust the standard
3434
# Linux runner disk during in-process linking. Keep the existing check names.
35-
runs-on: ${{ matrix.os == 'ubuntu-26.04-2core-agent-runtime' && 'ubuntu-26.04-16core-agent-runtime' || matrix.os }}
35+
runs-on: ${{ github.event_name == 'merge_group' && fromJSON('{"ubuntu-26.04-2core-agent-runtime":"ubuntu-26.04-16core-ar-mq","macos-26-xlarge-agent-runtime":"macos-26-xlarge-ar-mq","windows-2025-4core-agent-runtime":"windows-2025-4core-ar-mq"}')[matrix.os] || (matrix.os == 'ubuntu-26.04-2core-agent-runtime' && 'ubuntu-26.04-16core-agent-runtime' || matrix.os) }}
3636
defaults:
3737
run:
3838
shell: bash
@@ -137,7 +137,7 @@ jobs:
137137
rust-musl-x64:
138138
name: "Rust (Alpine x64)"
139139
if: inputs.platform == 'all' || inputs.platform == 'linuxmusl-x64'
140-
runs-on: ubuntu-26.04-2core-agent-runtime
140+
runs-on: ${{ github.event_name == 'merge_group' && 'ubuntu-26.04-2core-ar-mq' || 'ubuntu-26.04-2core-agent-runtime' }}
141141
steps:
142142
- uses: actions/checkout@v7
143143
with:
@@ -162,7 +162,7 @@ jobs:
162162
command: |
163163
rustc --print cfg | grep -Fqx "target_arch=\"x86_64\""
164164
rustc --print cfg | grep -Fqx "target_env=\"musl\""
165-
apk add --no-cache build-base pkgconf openssl-dev nodejs npm
165+
apk add --no-cache build-base perl pkgconf openssl-dev nodejs npm
166166
npm --prefix "$COPILOT_SDK_ROOT/nodejs" ci --ignore-scripts
167167
npm --prefix "$COPILOT_SDK_ROOT/test/harness" ci --ignore-scripts
168168

‎.github/workflows/sdk.yml‎

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ jobs:
204204
name: "Build runtime addons (win32-x64)"
205205
needs: detect-layout
206206
if: github.event_name != 'merge_group' && needs.detect-layout.outputs.runtime-source == 'checkout'
207-
runs-on: ubuntu-latest-xl
207+
runs-on: ${{ github.event_name == 'merge_group' && 'ubuntu-24.04-16core-ar-mq' || 'ubuntu-24.04-16core-agent-runtime' }}
208208
concurrency:
209209
group: windows-x64-addons-release-windows-e2e-no-icf-${{ github.sha }}
210210
queue: max
@@ -349,6 +349,7 @@ jobs:
349349
runtime-source: ${{ needs.detect-layout.outputs.runtime-source }}
350350
sdk-home: ${{ needs.detect-layout.outputs.sdk-home }}
351351
os: ubuntu-26.04-16core-agent-runtime
352+
merge-queue-os: ubuntu-26.04-16core-ar-mq
352353
target: linux-x64
353354
artifact: Linux-X64-gnu
354355
bazel-config: e2e-no-lto
@@ -369,6 +370,7 @@ jobs:
369370
runtime-source: ${{ needs.detect-layout.outputs.runtime-source }}
370371
sdk-home: ${{ needs.detect-layout.outputs.sdk-home }}
371372
os: ubuntu-26.04-16core-agent-runtime
373+
merge-queue-os: ubuntu-26.04-16core-ar-mq
372374
target: linuxmusl-x64
373375
artifact: Linux-X64-musl
374376
bazel-config: e2e-no-lto
@@ -388,6 +390,7 @@ jobs:
388390
runtime-source: ${{ needs.detect-layout.outputs.runtime-source }}
389391
sdk-home: ${{ needs.detect-layout.outputs.sdk-home }}
390392
os: ubuntu-26.04-16core-agent-runtime
393+
merge-queue-os: ubuntu-26.04-16core-ar-mq
391394
target: linuxmusl-arm64
392395
artifact: Linux-ARM64-musl
393396
bazel-config: e2e-no-lto
@@ -407,6 +410,7 @@ jobs:
407410
runtime-source: ${{ needs.detect-layout.outputs.runtime-source }}
408411
sdk-home: ${{ needs.detect-layout.outputs.sdk-home }}
409412
os: macos-26-xlarge-agent-runtime
413+
merge-queue-os: macos-26-xlarge-ar-mq
410414
target: darwin-arm64
411415
artifact: macOS-ARM64
412416
bazel-config: e2e-no-lto
@@ -428,6 +432,7 @@ jobs:
428432
runtime-source: ${{ needs.detect-layout.outputs.runtime-source }}
429433
sdk-home: ${{ needs.detect-layout.outputs.sdk-home }}
430434
os: windows-2025-16core-agent-runtime
435+
merge-queue-os: windows-2025-16core-ar-mq
431436
target: win32-x64
432437
artifact: Windows-X64
433438
bazel-config: windows-e2e-no-icf
@@ -518,7 +523,7 @@ jobs:
518523
check-freshness:
519524
name: "Check schema and SDK freshness"
520525
needs: detect-layout
521-
runs-on: ubuntu-26.04-2core-agent-runtime
526+
runs-on: ${{ github.event_name == 'merge_group' && 'ubuntu-26.04-2core-ar-mq' || 'ubuntu-26.04-2core-agent-runtime' }}
522527
permissions:
523528
contents: read
524529
id-token: write

‎CONTRIBUTING.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,8 +84,8 @@ rustup toolchain install "<formatter-toolchain>" --profile minimal --component r
8484
```
8585

8686
Use your host's native build prerequisites: for example, MSVC build tools for
87-
Windows native compilation, or a C compiler, `pkg-config`, and OpenSSL
88-
development libraries for Linux Rust SDK tests using native TLS. Windows
87+
Windows native compilation, or a C compiler, Make, and Perl for Linux Rust
88+
SDK tests with bundled OpenSSL. Windows
8989
runtime builds also use Git for Windows Bash. Do not install cross-compilers,
9090
Docker, or every tested JDK just to run the normal host SDK tasks. The musl,
9191
cross-target, and transport matrices in [SDK CI](.github/workflows/sdk.yml)

‎dotnet/README.md‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1215,6 +1215,8 @@ No extra dependencies — uses built-in `System.Diagnostics.Activity`.
12151215

12161216
An `OnPermissionRequest` handler is optional when you create or resume a session. When provided, it is called before the agent executes each tool (file writes, shell commands, custom tools, etc.) and returns a decision. When omitted, permission requests are emitted as events and left pending for the consumer to resolve with the pending permission RPC.
12171217

1218+
Callbacks receive optional derived prompt context as `invocation.PromptRequest`, matching `PermissionRequestedData.PromptRequest`. The raw request's `ManagedApprovalRequired` remains managed-policy provenance and enforces one-shot restrictions. Only derived `commands`, `read`, `write`, `url`, and `workflow` prompts can clear the human requirement after Assisted approval; for missing or other prompt kinds, keep the raw marker authoritative.
1219+
12181220
### Approve All (simplest)
12191221

12201222
Use the built-in `PermissionHandler.ApproveAll` helper to approve ordinary permission requests automatically:

0 commit comments

Comments
 (0)