Skip to content

Commit ef04633

Browse files
Update SDK snapshot for Copilot CLI 1.0.92-3
1 parent 5b2d7cd commit ef04633

227 files changed

Lines changed: 7104 additions & 848 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-nodejs.yml‎

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,9 +91,20 @@ jobs:
9191
run: |
9292
if [ "$COPILOT_SDK_DEFAULT_CONNECTION" = "inprocess" ]; then
9393
npm test -- test/e2e/inprocess_ffi.e2e.test.ts test/e2e/auth_host.e2e.test.ts
94+
elif [ "$GITHUB_EVENT_NAME" = "merge_group" ]; then
95+
npm test -- --reporter=default --reporter=json --outputFile="$RUNNER_TEMP/sdk-nodejs-results.json"
9496
else
9597
npm test
9698
fi
99+
- name: Upload merge-queue Node.js test results
100+
if: always() && github.event_name == 'merge_group' && runner.os == 'Linux' && matrix.transport == 'default'
101+
continue-on-error: true
102+
uses: actions/upload-artifact@v7
103+
with:
104+
name: suspected-flakes-sdk-nodejs-${{ github.run_attempt }}-linux
105+
path: ${{ runner.temp }}/sdk-nodejs-results.json
106+
if-no-files-found: warn
107+
retention-days: 7
97108

98109
nodejs-musl-x64:
99110
name: "Node.js (Alpine x64, ${{ matrix.transport }})"

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,11 @@ on:
1111
sdk-home:
1212
required: true
1313
type: string
14+
outputs:
15+
nodejs-result:
16+
description: "Node.js SDK result, independent of other languages"
17+
# Direct result outputs can be empty: https://github.com/actions/runner/issues/2495
18+
value: ${{ fromJSON(toJSON(jobs.nodejs)).result }}
1419

1520
permissions:
1621
contents: read

‎.github/workflows/sdk.yml‎

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -322,6 +322,31 @@ jobs:
322322
sdk-home: ${{ needs.detect-layout.outputs.sdk-home }}
323323
secrets: inherit
324324

325+
sdk-typescript:
326+
name: sdk-typescript
327+
if: always()
328+
needs: [sdk-linux-x64, sdk-linuxmusl-x64, sdk-darwin-arm64, sdk-win32-x64]
329+
runs-on: ubuntu-slim
330+
steps:
331+
- name: Check Node.js SDK results
332+
env:
333+
EVENT_NAME: ${{ github.event_name }}
334+
RESULTS: ${{ toJSON(needs) }}
335+
run: |
336+
for job in sdk-linux-x64 sdk-linuxmusl-x64 sdk-darwin-arm64 sdk-win32-x64; do
337+
expected=success
338+
result=$(jq -r --arg job "$job" '.[$job].outputs["nodejs-result"]' <<< "$RESULTS")
339+
# TEMPORARY MERGE QUEUE REDUCTION: only Linux x64 runs in merge groups.
340+
if [[ "$EVENT_NAME" == "merge_group" && "$job" != "sdk-linux-x64" ]]; then
341+
expected=skipped
342+
result=$(jq -r --arg job "$job" '.[$job].result' <<< "$RESULTS")
343+
fi
344+
if [[ "$result" != "$expected" ]]; then
345+
echo "::error::Node.js SDK job $job: expected $expected, got $result"
346+
exit 1
347+
fi
348+
done
349+
325350
check-freshness:
326351
name: "Check schema and SDK freshness"
327352
needs: detect-layout

‎docs/features/README.md‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ These guides cover the capabilities you can add to your Copilot SDK application.
1111
| [The Agent Loop](./agent-loop.md) | How the CLI processes a prompt—the tool-use loop, turns, and completion signals |
1212
| [Hooks](./hooks.md) | Intercept and customize session behavior—control tool execution, transform results, handle errors |
1313
| [Custom Agents](./custom-agents.md) | Define specialized sub-agents with scoped tools and instructions |
14+
| [Changing Tools](./changing-tools.md) | Replace the tools a client supplies to a live session |
1415
| [Fleet Mode](./fleet-mode.md) | Dispatch multiple sub-agents in parallel for large, independent workstreams |
1516
| [MCP Servers](./mcp.md) | Integrate Model Context Protocol servers for external tool access |
1617
| [Skills](./skills.md) | Load reusable prompt modules from directories |

0 commit comments

Comments
 (0)