Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/plugin/marketplace.json
Original file line number Diff line number Diff line change
Expand Up @@ -916,7 +916,7 @@
{
"name": "copilot-sdk",
"source": "plugins/copilot-sdk",
"description": "Build applications with the GitHub Copilot SDK across multiple programming languages. Includes comprehensive instructions for C#, Go, Node.js/TypeScript, and Python to help you create AI-powered applications.",
"description": "Build applications with the Microsoft Copilot SDK, transitioning from GitHub Copilot SDK, across multiple programming languages. Includes instructions for C#, Go, Node.js/TypeScript, and Python.",
"version": "1.0.0"
},
{
Expand Down
7 changes: 4 additions & 3 deletions cookbook/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ A collection of practical recipes and examples for working with GitHub Copilot t

The cookbook is organized by tool or product, with recipes collected by language where applicable:

### GitHub Copilot SDK
### Microsoft Copilot SDK

Ready-to-use recipes for building with the GitHub Copilot SDK across multiple languages.
Ready-to-use recipes for building with the Microsoft Copilot SDK across multiple languages. The SDK is transitioning from its GitHub name in phases; no immediate package or API changes are required. The recipes retain currently published package names and imports.

- **[Copilot SDK Cookbook](copilot-sdk/)** - Recipes for .NET, Go, Java, Node.js, and Python
- Error handling, session management, file operations, and more
Expand Down Expand Up @@ -40,7 +40,8 @@ Have a recipe to share? We'd love to include it! See [CONTRIBUTING.md](../CONTRI
### Official Documentation

- [GitHub Copilot Documentation](https://docs.github.com/copilot)
- [GitHub Copilot SDK](https://github.com/github/copilot-sdk)
- [Microsoft Copilot SDK (transition announcement)](https://github.blog/changelog/2026-10-28-github-copilot-sdk-is-becoming-microsoft-copilot-sdk/)
- [SDK repository](https://github.com/github/copilot-sdk)

### External Cookbooks

Expand Down
6 changes: 3 additions & 3 deletions cookbook/cookbook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@

cookbooks:
- id: copilot-sdk
name: GitHub Copilot SDK
description: Ready-to-use recipes for building with the GitHub Copilot SDK across multiple languages
name: Microsoft Copilot SDK
description: Ready-to-use recipes for building with the Microsoft Copilot SDK across multiple languages. Package names and examples reflect the phased transition from GitHub Copilot SDK.
path: cookbook/copilot-sdk
featured: true
languages:
Expand Down Expand Up @@ -92,7 +92,7 @@ cookbooks:
- community
- id: copilot-sdk-web-app
name: Copilot SDK Web App
description: A full-stack chat application built with the GitHub Copilot SDK, .NET Aspire, and React with GitHub OAuth, session history, and model selection
description: A full-stack chat application built with the Microsoft Copilot SDK (currently published as GitHub Copilot SDK), .NET Aspire, and React with GitHub OAuth, session history, and model selection
external: true
url: https://github.com/aaronpowell/copilot-sdk-web-app
author:
Expand Down
4 changes: 2 additions & 2 deletions cookbook/copilot-sdk/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# GitHub Copilot SDK Cookbook
# Microsoft Copilot SDK Cookbook

This cookbook collects small, focused recipes showing how to accomplish common tasks with the [GitHub Copilot SDK](https://github.com/github/copilot-sdk) across languages. Each recipe is intentionally short and practical, with copy‑pasteable snippets and pointers to fuller examples and tests.
This cookbook collects small, focused recipes showing how to accomplish common tasks with the Microsoft Copilot SDK across languages. The SDK is transitioning from the GitHub Copilot SDK in phases, and no immediate changes are required. Package names, namespaces, and repository links in these recipes remain as currently published; see the [official transition announcement](https://github.blog/changelog/2026-10-28-github-copilot-sdk-is-becoming-microsoft-copilot-sdk/). Each recipe is intentionally short and practical, with copy‑pasteable snippets and pointers to fuller examples and tests.

## Recipes by Language

Expand Down
4 changes: 2 additions & 2 deletions cookbook/copilot-sdk/dotnet/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# GitHub Copilot SDK Cookbook — .NET (C#)
# Microsoft Copilot SDK Cookbook — .NET (C#)

This folder hosts short, practical recipes for using the GitHub Copilot SDK with .NET. Each recipe is concise, copy‑pasteable, and points to fuller examples and tests.
This folder hosts short, practical recipes for using the Microsoft Copilot SDK with .NET. Package names and code samples reflect the current phased transition from GitHub Copilot SDK.

## Recipes

Expand Down
4 changes: 2 additions & 2 deletions cookbook/copilot-sdk/dotnet/recipe/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ This folder contains standalone, executable C# examples for each cookbook recipe
## Prerequisites

- .NET 10.0 or later
- GitHub Copilot SDK package (referenced automatically)
- Microsoft Copilot SDK NuGet package, currently published as `GitHub.Copilot.SDK` (referenced automatically)

## Running Examples

Expand Down Expand Up @@ -185,5 +185,5 @@ These examples use .NET's file-based app feature, which allows single-file C# pr
## Learning Resources

- [.NET File-Based Apps Documentation](https://learn.microsoft.com/en-us/dotnet/core/sdk/file-based-apps)
- [GitHub Copilot SDK Documentation](https://github.com/github/copilot-sdk/blob/main/dotnet/README.md)
- [Microsoft Copilot SDK for .NET documentation](https://github.com/github/copilot-sdk/blob/main/dotnet/README.md)
- [Parent Cookbook](../README.md)
4 changes: 2 additions & 2 deletions cookbook/copilot-sdk/go/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# GitHub Copilot SDK Cookbook — Go
# Microsoft Copilot SDK Cookbook — Go

This folder hosts short, practical recipes for using the GitHub Copilot SDK with Go. Each recipe is concise, copy‑pasteable, and points to fuller examples and tests.
This folder hosts short, practical recipes for using the Microsoft Copilot SDK with Go. Package names and code samples reflect the current phased transition from GitHub Copilot SDK.

## Recipes

Expand Down
4 changes: 2 additions & 2 deletions cookbook/copilot-sdk/go/recipe/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ This folder contains standalone, executable Go examples for each cookbook recipe
## Prerequisites

- Go 1.21 or later
- GitHub Copilot SDK for Go
- Microsoft Copilot SDK for Go (currently published under the existing GitHub SDK repository)

```bash
go get github.com/github/copilot-sdk/go
Expand Down Expand Up @@ -57,5 +57,5 @@ These examples follow Go conventions:
## Learning Resources

- [Go Documentation](https://go.dev/doc/)
- [GitHub Copilot SDK for Go](https://github.com/github/copilot-sdk/blob/main/go/README.md)
- [Microsoft Copilot SDK for Go documentation](https://github.com/github/copilot-sdk/blob/main/go/README.md)
- [Parent Cookbook](../README.md)
4 changes: 2 additions & 2 deletions cookbook/copilot-sdk/java/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# GitHub Copilot SDK Cookbook — Java
# Microsoft Copilot SDK Cookbook — Java

This folder hosts short, practical recipes for using the [GitHub Copilot SDK for Java](https://github.com/github/copilot-sdk/tree/main/java). Each recipe is concise, copy‑pasteable, and points to fuller examples and tests. All examples can be run directly with [JBang](https://www.jbang.dev/).
This folder hosts short, practical recipes for using the [Microsoft Copilot SDK for Java](https://github.com/github/copilot-sdk/tree/main/java). The SDK is transitioning from its GitHub name in phases, so package names and code samples reflect the current published identifiers. Each recipe is concise, copy‑pasteable, and points to fuller examples and tests. All examples can be run directly with [JBang](https://www.jbang.dev/).

Examples target the official SDK 1.0.21 and Java 17 or later. SDK 1.x uses
`com.github.copilot` for clients, `com.github.copilot.generated` for events, and
Expand Down
4 changes: 2 additions & 2 deletions cookbook/copilot-sdk/java/recipe/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ This folder contains standalone, executable Java examples for each cookbook reci

- Java 17 or later
- GitHub Copilot authentication configured before running model requests
- Official GitHub Copilot SDK 1.0.21 (resolved automatically from `//DEPS`)
- Microsoft Copilot SDK for Java 1.0.21 (resolved automatically from `//DEPS`; source remains in the existing GitHub SDK repository)
- JBang installed:

```bash
Expand Down Expand Up @@ -238,6 +238,6 @@ JBang lets you run Java files as scripts — no `pom.xml`, no `build.gradle`, no
## Learning Resources

- [JBang Documentation](https://www.jbang.dev/documentation/guide/latest/)
- [GitHub Copilot SDK for Java](https://github.com/github/copilot-sdk/tree/main/java)
- [Microsoft Copilot SDK for Java documentation](https://github.com/github/copilot-sdk/tree/main/java)
- [GitHub Copilot CLI](https://github.com/features/copilot/cli)
- [Parent Cookbook](../README.md)
4 changes: 2 additions & 2 deletions cookbook/copilot-sdk/nodejs/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# GitHub Copilot SDK Cookbook — Node.js / TypeScript
# Microsoft Copilot SDK Cookbook — Node.js / TypeScript

This folder hosts short, practical recipes for using the GitHub Copilot SDK with Node.js/TypeScript. Each recipe is concise, copy‑pasteable, and points to fuller examples and tests.
This folder hosts short, practical recipes for using the Microsoft Copilot SDK with Node.js/TypeScript. Package names and code samples reflect the current phased transition from GitHub Copilot SDK.

## Recipes

Expand Down
2 changes: 1 addition & 1 deletion cookbook/copilot-sdk/nodejs/recipe/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,5 +80,5 @@ These examples use modern TypeScript/Node.js features:

- [TypeScript Documentation](https://www.typescriptlang.org/docs/)
- [Node.js Documentation](https://nodejs.org/docs/latest/api/)
- [GitHub Copilot SDK for Node.js](https://github.com/github/copilot-sdk/blob/main/nodejs/README.md)
- [Microsoft Copilot SDK for Node.js documentation](https://github.com/github/copilot-sdk/blob/main/nodejs/README.md)
- [Parent Cookbook](../README.md)
2 changes: 1 addition & 1 deletion cookbook/copilot-sdk/nodejs/recipe/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "copilot-sdk-cookbook-recipes",
"version": "1.0.0",
"type": "module",
"description": "Runnable examples for GitHub Copilot SDK cookbook recipes",
"description": "Runnable examples for Microsoft Copilot SDK cookbook recipes using currently published package identifiers",
"scripts": {
"error-handling": "tsx error-handling.ts",
"multiple-sessions": "tsx multiple-sessions.ts",
Expand Down
4 changes: 2 additions & 2 deletions cookbook/copilot-sdk/python/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# GitHub Copilot SDK Cookbook — Python
# Microsoft Copilot SDK Cookbook — Python

This folder hosts short, practical recipes for using the GitHub Copilot SDK with Python. Each recipe is concise, copy‑pasteable, and points to fuller examples and tests.
This folder hosts short, practical recipes for using the Microsoft Copilot SDK with Python. Package names and code samples reflect the current phased transition from GitHub Copilot SDK.

## Recipes

Expand Down
2 changes: 1 addition & 1 deletion cookbook/copilot-sdk/python/recipe/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,5 +90,5 @@ pip install -r requirements.txt

- [Python Documentation](https://docs.python.org/3/)
- [PEP 8 Style Guide](https://pep8.org/)
- [GitHub Copilot SDK for Python](https://github.com/github/copilot-sdk/blob/main/python/README.md)
- [Microsoft Copilot SDK for Python documentation](https://github.com/github/copilot-sdk/blob/main/python/README.md)
- [Parent Cookbook](../README.md)
Loading
Loading