Copilot SDK Go v0.2.1: Permission Hook Fix

Copilot SDK Go v0.2.1 fixes duplicate permission responses when hooks resolve requests, updates @github/copilot to 1.0.17, and refreshes dependencies across all SDKs.

Copilot SDK Go v0.2.1: Permission Hook Fix

TL;DR

  • Fixed duplicate permission RPC responses when hooks resolve requests
  • Updated @github/copilot to 1.0.17 and refreshed dependencies
  • Applied fix across all four SDKs (Node, Python, Go, .NET)

Fixed

  • Permission handler duplicate responses — When a permissionRequest hook resolved a request, the SDK was still sending an RPC response, causing invalid duplicates. Now skips the handler and response when resolvedByHook is true, while still allowing event subscribers to observe.

Updated

  • @github/copilot — Bumped to 1.0.17
  • Node.js and test dependencies — Refreshed to latest versions
  • Code generation — Re-ran generators and formatted output

Update via: go get -u github.com/github/copilot-sdk/go

Source: Copilot SDK