Copilot SDK v0.2.2: Java Docs & Session FS

Copilot SDK v0.2.2 brings Java documentation parity, session filesystem support across all SDKs, and improved agent loop documentation.

Copilot SDK v0.2.2: Java Docs & Session FS

TL;DR

  • Java language tabs added across all SDK documentation
  • Session filesystem support now available across all SDKs
  • modelCapabilities override and enableConfigDiscovery exposed in all languages

New

  • Java documentation tabs — Full language coverage added to SDK docs, matching Node.js, Python, Go, and .NET
  • Session filesystem support — All SDKs now support session-level file operations
  • modelCapabilities override — Exposed across all SDK languages for fine-grained model control
  • enableConfigDiscovery — New configuration option available in all languages
  • Agent loop documentation — New agent-loop.md guide explains tool-use loops and completion signals
  • MCP tools configuration clarification — Improved docs on Model Context Protocol tool setup

Fixed

  • .NET and Go SDKs — Now tolerate unknown hook types gracefully
  • .NET E2E tests — Resolved race conditions in cancellation and multi-client test scenarios
  • Java doc snippets — Code review comments addressed
  • Go codegen — Per-event-type data structs for cleaner event handling
  • Go jsonrpc2 — Cleanup and optimization

Dependencies

  • @github/copilot — Updated to 1.0.21
  • npm and yarn packages — 5 dependency updates across 3 directories

To upgrade: npm install @github/copilot-sdk@0.2.2 or check your package manager for the latest version.

Source: Copilot SDK