End-to-end scenario tests for the Copilot SDK. Each scenario demonstrates a specific SDK capability with implementations in TypeScript, Python, and Go.
scenarios/
├── auth/ # Authentication flows (OAuth, BYOK, token sources)
├── bundling/ # Deployment architectures (stdio, TCP, containers)
├── callbacks/ # Lifecycle hooks, permissions, user input
├── modes/ # Preset modes (CLI, filesystem, minimal)
├── prompts/ # Prompt configuration (attachments, system messages, reasoning)
├── sessions/ # Session management (streaming, resume, concurrent, infinite)
├── tools/ # Tool capabilities (custom agents, MCP, skills, filtering)
├── transport/ # Wire protocols (stdio, TCP, WASM, reconnect)
└── verify.sh # Run all scenarios
Run all scenarios:
COPILOT_CLI_PATH=/path/to/copilot GITHUB_TOKEN=$(gh auth token) bash verify.shRun a single scenario:
COPILOT_CLI_PATH=/path/to/copilot GITHUB_TOKEN=$(gh auth token) bash <category>/<scenario>/verify.sh- Copilot CLI — set
COPILOT_CLI_PATH - GitHub token — set
GITHUB_TOKENor usegh auth login - Node.js 20+, Python 3.10+, Go 1.24+ (per language)