Copilot SDK Go v0.2.1: Permission Handler Fix

Copilot SDK Go v0.2.1 fixes duplicate permission RPC responses and updates @github/copilot to 1.0.17 across all SDKs.

Copilot SDK Go v0.2.1: Permission Handler Fix

TL;DR

  • Fixed duplicate permission RPC responses when resolvedByHook is true
  • Updated @github/copilot to 1.0.17 across all SDKs
  • Dependency updates and code generation refresh

Fixed

  • Permission handler RPC response guard — When the runtime resolves a permission request via a permissionRequest hook, the SDK was sending duplicate/invalid RPC responses. Now skips the permission handler and RPC response when resolvedByHook is set, while still allowing event subscribers to observe the event.

Updated

  • @github/copilot dependency — Bumped to 1.0.17
  • Node.js and test harness — Updated dependencies and re-ran code generators
  • Code formatting — Regenerated code with latest formatting standards

Update with: go get -u github.com/github/copilot-sdk/go@v0.2.1

Source: Copilot SDK