Skip to content

Commit 51a0394

Browse files
Update SDK snapshot for Copilot CLI 1.0.88-2
1 parent cb2a8cc commit 51a0394

559 files changed

Lines changed: 44797 additions & 7494 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.

‎.devcontainer/devcontainer.json‎

Lines changed: 20 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,15 @@
88
"ghcr.io/devcontainers/features/copilot-cli:1": {},
99
"ghcr.io/devcontainers/features/github-cli:1": {},
1010
"ghcr.io/devcontainers/features/go:1": {},
11+
"ghcr.io/devcontainers/features/java:1": {
12+
"installMaven": true,
13+
"version": "25"
14+
},
1115
"ghcr.io/devcontainers/features/node:1": {},
16+
"ghcr.io/devcontainers/features/rust:1": {},
1217
"ghcr.io/devcontainers-extra/features/uv:1": {},
13-
"ghcr.io/schlich/devcontainer-features/just:0": {},
1418
"ghcr.io/devcontainers/features/dotnet:2": {}
15-
}
19+
},
1620

1721
// Features to add to the dev container. More info: https://containers.dev/features.
1822
// "features": {},
@@ -24,7 +28,20 @@
2428
// "postCreateCommand": "pip3 install --user -r requirements.txt",
2529

2630
// Configure tool-specific properties.
27-
// "customizations": {},
31+
"customizations": {
32+
"vscode": {
33+
"extensions": [
34+
"charliermarsh.ruff",
35+
"dbaeumer.vscode-eslint",
36+
"esbenp.prettier-vscode",
37+
"golang.go",
38+
"ms-dotnettools.csdevkit",
39+
"redhat.java",
40+
"rust-lang.rust-analyzer",
41+
"tamasfe.even-better-toml"
42+
]
43+
}
44+
}
2845

2946
// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
3047
// "remoteUser": "root"

‎.editorconfig‎

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
root = true
2+
3+
[*]
4+
trim_trailing_whitespace = true
5+
6+
[*.{cjs,cs,go,html,java,js,jsx,md,mjs,rs,sh,ts,tsx,xml}]
7+
indent_style = space
8+
indent_size = 4
9+
insert_final_newline = true
10+
max_line_length = 120
11+
12+
[*.py]
13+
indent_style = space
14+
indent_size = 4
15+
insert_final_newline = true
16+
max_line_length = 100
17+
18+
[*.{json,yaml,yml}]
19+
indent_style = space
20+
indent_size = 2
21+
insert_final_newline = true
22+
max_line_length = 120
23+
24+
[*.toml]
25+
indent_style = space
26+
indent_size = 2
27+
insert_final_newline = true
28+
29+
# The C# generator emits no trailing newline. Preserve that deterministic
30+
# output without weakening the handwritten C# formatting contract.
31+
[dotnet/src/Generated/*.cs]
32+
insert_final_newline = false

‎.gitattributes‎

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,21 @@
1+
# Normalize line endings to LF on checkout across all platforms.
2+
* text=auto eol=lf
3+
*.bat text eol=crlf
4+
*.cmd text eol=crlf
5+
*.node binary
6+
17
.github/workflows/*.lock.yml linguist-generated=true
28

39
# Cross-platform tools rewrite these files, so keep their output deterministic.
410
java/**/*.java text eol=lf
511

612
# Generated files — keep LF line endings so codegen output is deterministic across platforms.
7-
nodejs/src/generated/* eol=lf linguist-generated=true
8-
dotnet/src/Generated/* eol=lf linguist-generated=true
9-
python/copilot/generated/* eol=lf linguist-generated=true
13+
nodejs/src/generated/** eol=lf linguist-generated=true
14+
dotnet/src/Generated/** eol=lf linguist-generated=true
15+
python/copilot/generated/** eol=lf linguist-generated=true
1016
go/zsession_events.go eol=lf linguist-generated=true
1117
go/zsession_encoding.go eol=lf linguist-generated=true
1218
go/rpc/zrpc.go eol=lf linguist-generated=true
1319
go/rpc/zrpc_encoding.go eol=lf linguist-generated=true
20+
rust/src/generated/** eol=lf linguist-generated=true
21+
java/sdk/src/generated/** eol=lf linguist-generated=true

‎.github/actions/run-alpine-tests/action.yml‎

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,18 @@
1+
# Runs an SDK command inside x64 Alpine and verifies the container is
2+
# executing on musl with the requested transport.
13
name: "Run Alpine SDK Tests"
2-
description: "Run an SDK test command in an ARM64 Alpine container."
4+
description: "Run an SDK test command in an x64 Alpine container."
35
inputs:
46
image:
57
description: "Container image used to run the tests."
68
required: true
79
workdir:
810
description: "Working directory inside the container."
911
required: true
12+
sdk-root:
13+
description: "SDK root inside the container."
14+
required: false
15+
default: "/workspace"
1016
transport:
1117
description: "SDK transport to test: default or inprocess."
1218
required: true
@@ -21,6 +27,7 @@ runs:
2127
env:
2228
ALPINE_TEST_COMMAND: ${{ inputs.command }}
2329
ALPINE_TEST_IMAGE: ${{ inputs.image }}
30+
ALPINE_TEST_SDK_ROOT: ${{ inputs.sdk-root }}
2431
ALPINE_TEST_TRANSPORT: ${{ inputs.transport }}
2532
ALPINE_TEST_WORKDIR: ${{ inputs.workdir }}
2633
run: |
@@ -33,7 +40,7 @@ runs:
3340
apk add --no-cache bash git
3441
git config --global --add safe.directory "$GITHUB_WORKSPACE"
3542
36-
test "$(uname -m)" = "aarch64"
43+
test "$(uname -m)" = "x86_64"
3744
ldd --version 2>&1 | grep -qi musl
3845
3946
case "$COPILOT_SDK_TEST_TRANSPORT" in
@@ -46,13 +53,14 @@ runs:
4653
chmod +x "$script_path"
4754
4855
docker run --rm \
49-
--platform linux/arm64 \
56+
--platform linux/amd64 \
5057
--volume "$GITHUB_WORKSPACE:/workspace" \
5158
--volume "$script_path:/tmp/copilot-sdk-alpine-test.sh:ro" \
5259
--workdir "$ALPINE_TEST_WORKDIR" \
5360
--env CI=true \
5461
--env GITHUB_ACTIONS=true \
5562
--env GITHUB_WORKSPACE=/workspace \
63+
--env COPILOT_SDK_ROOT="$ALPINE_TEST_SDK_ROOT" \
5664
--env COPILOT_HMAC_KEY \
5765
--env COPILOT_SDK_E2E_BACKEND \
5866
--env BUNDLED_CLI_CACHE_DIR \

.github/agents/docs-maintenance.agent.md renamed to .github/agents/sdk-docs-maintenance.agent.md

Lines changed: 21 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,15 @@ tools:
1010

1111
# SDK Documentation Maintenance Agent
1212

13+
## Repository layout
14+
15+
This agent works in both the runtime monorepo and the standalone public SDK
16+
repository. From the repository root, use `src/sdk` as the SDK root when that
17+
directory exists; otherwise use the repository root itself. Resolve every
18+
repository-relative path below against that SDK root, and run command examples
19+
from it. For example, `docs/IMPROVEMENT_PLAN.md` is
20+
`src/sdk/docs/IMPROVEMENT_PLAN.md` in the runtime monorepo.
21+
1322
You are a documentation auditor for the GitHub Copilot SDK. Your job is to analyze the documentation and **produce a prioritized action plan** of improvements needed.
1423

1524
## IMPORTANT: Output Format
@@ -168,11 +177,13 @@ Every major SDK feature should be documented. Core features include:
168177

169178
### 2. Multi-Language Support
170179

171-
All documentation must include examples for all four SDKs:
180+
All documentation must include examples for all six SDKs:
172181
- **Node.js / TypeScript**
173182
- **Python**
174183
- **Go**
175184
- **.NET (C#)**
185+
- **Java**
186+
- **Rust**
176187

177188
Use collapsible `<details>` sections with the first language open by default.
178189

@@ -208,7 +219,7 @@ When auditing documentation, check:
208219

209220
### Completeness
210221
- [ ] All major SDK features are documented
211-
- [ ] All four languages have examples
222+
- [ ] All six languages have examples
212223
- [ ] API reference covers all public methods
213224
- [ ] Configuration options are documented
214225
- [ ] Error scenarios are explained
@@ -291,6 +302,12 @@ grep -E "^type |^func " go/types.go go/client.go go/session.go
291302

292303
# .NET types
293304
grep -E "public (class|interface|enum)" dotnet/src/Types.cs dotnet/src/Client.cs dotnet/src/Session.cs
305+
306+
# Java types
307+
grep -R -E "public (class|interface|enum|record)" java/sdk/src/main/java/com/github/copilot
308+
309+
# Rust types
310+
grep -E "^pub (struct|enum|trait|fn)" rust/src/*.rs
294311
```
295312

296313
### Step 3: Validate Links
@@ -318,6 +335,8 @@ for file in $(find docs -name "*.md"); do
318335
grep -c "Python" "$file" || echo "Missing Python"
319336
grep -c "Go" "$file" || echo "Missing Go"
320337
grep -c "\.NET\|C#" "$file" || echo "Missing .NET"
338+
grep -c "Java" "$file" || echo "Missing Java"
339+
grep -c "Rust" "$file" || echo "Missing Rust"
321340
done
322341
```
323342

‎.github/copilot-instructions.md‎

Lines changed: 0 additions & 73 deletions
This file was deleted.

‎.github/dependabot.yaml‎

Lines changed: 0 additions & 83 deletions
This file was deleted.

‎.github/lsp.json‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,15 @@
1212
"fileExtensions": {
1313
".cs": "csharp"
1414
},
15-
"rootUri": "dotnet"
15+
"rootUri": "${configDir}/../dotnet"
1616
},
1717
"go": {
1818
"command": "gopls",
1919
"args": ["serve"],
2020
"fileExtensions": {
2121
".go": "go"
2222
},
23-
"rootUri": "go"
23+
"rootUri": "${configDir}/../go"
2424
}
2525
}
2626
}

0 commit comments

Comments
 (0)