Skip to content

Commit 3605f13

Browse files
committed
Add Rust (and C# where missing) to SDK language lists in docs
Update documentation, READMEs, copilot instructions, and test scenario files to include Rust in all language listings where it was missing. Also add C# to test scenario docs where implementations already exist but were not listed. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 43d6aef commit 3605f13

10 files changed

Lines changed: 20 additions & 20 deletions

File tree

.github/copilot-instructions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
## Big picture 🔧
66

7-
- The repo implements language SDKs (Node/TS, Python, Go, .NET) that speak to the **Copilot CLI** via **JSON‑RPC** (see `README.md` and `nodejs/src/client.ts`).
7+
- The repo implements language SDKs (Node/TS, Python, Go, .NET, Rust) that speak to the **Copilot CLI** via **JSON‑RPC** (see `README.md` and `nodejs/src/client.ts`).
88
- Typical flow: your App → SDK client → JSON-RPC → Copilot CLI (server mode). The CLI must be installed or you can connect to an external CLI server via the `CLI URL option (language-specific casing)` (Node: `cliUrl`, Go: `CLIUrl`, .NET: `CliUrl`, Python: `cli_url`).
99

1010
## Most important files to read first 📚

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Thanks for your interest in contributing!
44

5-
This repository contains the Copilot SDK, a set of multi-language SDKs (Node/TypeScript, Python, Go, .NET) for building applications with the GitHub Copilot agent, maintained by the GitHub Copilot team.
5+
This repository contains the Copilot SDK, a set of multi-language SDKs (Node/TypeScript, Python, Go, .NET, Rust) for building applications with the GitHub Copilot agent, maintained by the GitHub Copilot team.
66

77
Contributions to this project are [released](https://help.github.com/articles/github-terms-of-service/#6-contributions-under-repository-license) to the public under the [project's open source license](LICENSE).
88

docs/features/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Features
22

3-
These guides cover the capabilities you can add to your Copilot SDK application. Each guide includes examples in all supported languages (TypeScript, Python, Go, .NET, and Java).
3+
These guides cover the capabilities you can add to your Copilot SDK application. Each guide includes examples in all supported languages (TypeScript, Python, Go, .NET, Java, and Rust).
44

55
> **New to the SDK?** Start with the [Getting Started tutorial](../getting-started.md) first, then come back here to add more capabilities.
66

docs/integrations/microsoft-agent-framework.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ The Microsoft Agent Framework is the unified successor to Semantic Kernel and Au
1414
| **A2A protocol** | Agent-to-Agent communication standard supported by the framework |
1515

1616
> [!NOTE]
17-
> MAF integration packages are available for **.NET** and **Python**. For TypeScript, Go, and Java, use the Copilot SDK directly—the standard SDK APIs already provide tool calling, streaming, and custom agents.
17+
> MAF integration packages are available for **.NET** and **Python**. For TypeScript, Go, Java, and Rust, use the Copilot SDK directly—the standard SDK APIs already provide tool calling, streaming, and custom agents.
1818
1919
## Prerequisites
2020

docs/observability/opentelemetry.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -86,13 +86,13 @@ var client = new CopilotClient(new CopilotClientOptions()
8686

8787
### TelemetryConfig options
8888

89-
| Option | Node.js | Python | Go | .NET | Java | Description |
90-
|---|---|---|---|---|---|---|
91-
| OTLP endpoint | `otlpEndpoint` | `otlp_endpoint` | `OTLPEndpoint` | `OtlpEndpoint` | `otlpEndpoint` | OTLP HTTP endpoint URL |
92-
| File path | `filePath` | `file_path` | `FilePath` | `FilePath` | `filePath` | File path for JSON-lines trace output |
93-
| Exporter type | `exporterType` | `exporter_type` | `ExporterType` | `ExporterType` | `exporterType` | `"otlp-http"` or `"file"` |
94-
| Source name | `sourceName` | `source_name` | `SourceName` | `SourceName` | `sourceName` | Instrumentation scope name |
95-
| Capture content | `captureContent` | `capture_content` | `CaptureContent` | `CaptureContent` | `captureContent` | Whether to capture message content |
89+
| Option | Node.js | Python | Go | .NET | Java | Rust | Description |
90+
|---|---|---|---|---|---|---|---|
91+
| OTLP endpoint | `otlpEndpoint` | `otlp_endpoint` | `OTLPEndpoint` | `OtlpEndpoint` | `otlpEndpoint` | `otlp_endpoint` | OTLP HTTP endpoint URL |
92+
| File path | `filePath` | `file_path` | `FilePath` | `FilePath` | `filePath` | `file_path` | File path for JSON-lines trace output |
93+
| Exporter type | `exporterType` | `exporter_type` | `ExporterType` | `ExporterType` | `exporterType` | `exporter_type` | `"otlp-http"` or `"file"` |
94+
| Source name | `sourceName` | `source_name` | `SourceName` | `SourceName` | `sourceName` | `source_name` | Instrumentation scope name |
95+
| Capture content | `captureContent` | `capture_content` | `CaptureContent` | `CaptureContent` | `captureContent` | `capture_content` | Whether to capture message content |
9696

9797
### Trace context propagation
9898

docs/troubleshooting/mcp-debugging.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -446,7 +446,7 @@ When opening an issue or asking for help, collect:
446446

447447
* [ ] SDK language and version
448448
* [ ] CLI version (`copilot --version`)
449-
* [ ] MCP server type (Node.js, Python, .NET, Go, etc.)
449+
* [ ] MCP server type (Node.js, Python, .NET, Go, Rust, etc.)
450450
* [ ] Full MCP server configuration (redact secrets)
451451
* [ ] Result of manual `initialize` test
452452
* [ ] Result of manual `tools/list` test

test/scenarios/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# SDK E2E Scenario Tests
22

3-
End-to-end scenario tests for the Copilot SDK. Each scenario demonstrates a specific SDK capability with implementations in TypeScript, Python, and Go.
3+
End-to-end scenario tests for the Copilot SDK. Each scenario demonstrates a specific SDK capability with implementations in TypeScript, Python, Go, C#, and Rust.
44

55
## Structure
66

@@ -35,4 +35,4 @@ COPILOT_CLI_PATH=/path/to/copilot GITHUB_TOKEN=$(gh auth token) bash <category>/
3535

3636
- **Copilot CLI** — set `COPILOT_CLI_PATH`
3737
- **GitHub token** — set `GITHUB_TOKEN` or use `gh auth login`
38-
- **Node.js 20+**, **Python 3.10+**, **Go 1.24+** (per language)
38+
- **Node.js 20+**, **Python 3.10+**, **Go 1.24+**, **.NET 8+**, **Rust 1.94+** (per language)

test/scenarios/prompts/attachments/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Demonstrates sending **file attachments** alongside a prompt using the Copilot S
77
1. Creates a session with a custom system prompt in `replace` mode
88
2. Resolves the path to `sample-data.txt` (a small text file in the scenario root)
99
3. Sends: _"What languages are listed in the attached file?"_ with the file as an attachment
10-
4. Prints the response — which should list TypeScript, Python, and Go
10+
4. Prints the response — which should list TypeScript, Python, Go, C#, and Rust
1111

1212
## Attachment Format
1313

@@ -51,7 +51,7 @@ The `sample-data.txt` file contains basic project metadata used as the attachmen
5151
Project: Copilot SDK Samples
5252
Version: 1.0.0
5353
Description: Minimal buildable samples demonstrating the Copilot SDK
54-
Languages: TypeScript, Python, Go
54+
Languages: TypeScript, Python, Go, C#, Rust
5555
```
5656

5757
## Run
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
Project: Copilot SDK Samples
22
Version: 1.0.0
33
Description: Minimal buildable samples demonstrating the Copilot SDK
4-
Languages: TypeScript, Python, Go
4+
Languages: TypeScript, Python, Go, C#, Rust

test/scenarios/transport/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ Minimal samples organized by **transport model** — the wire protocol used to c
66

77
| Transport | Description | Languages |
88
|-----------|-------------|-----------|
9-
| **[stdio](stdio/)** | SDK spawns `copilot` as a child process and communicates via stdin/stdout | TypeScript, Python, Go |
10-
| **[tcp](tcp/)** | SDK connects to a pre-running `copilot` TCP server | TypeScript, Python, Go |
9+
| **[stdio](stdio/)** | SDK spawns `copilot` as a child process and communicates via stdin/stdout | TypeScript, Python, Go, C#, Rust |
10+
| **[tcp](tcp/)** | SDK connects to a pre-running `copilot` TCP server | TypeScript, Python, Go, C#, Rust |
1111
| **[wasm](wasm/)** | SDK loads `copilot` as an in-process WASM module | TypeScript |
1212

1313
## How They Differ
@@ -23,7 +23,7 @@ Minimal samples organized by **transport model** — the wire protocol used to c
2323

2424
- **Authentication** — set `GITHUB_TOKEN`, or run `gh auth login`
2525
- **Copilot CLI** — required for stdio and tcp (set `COPILOT_CLI_PATH`)
26-
- Language toolchains as needed (Node.js 20+, Python 3.10+, Go 1.24+)
26+
- Language toolchains as needed (Node.js 20+, Python 3.10+, Go 1.24+, .NET 8+, Rust 1.94+)
2727

2828
## Verification
2929

0 commit comments

Comments
 (0)