You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
chore(deps): Bump github.com/github/copilot-sdk/go from 0.3.0 to 1.0.0 (#5311)
* chore(deps): Bump github.com/github/copilot-sdk/go from 0.3.0 to 1.0.0
Bumps [github.com/github/copilot-sdk/go](https://github.com/github/copilot-sdk) from 0.3.0 to 1.0.0.
- [Release notes](https://github.com/github/copilot-sdk/releases)
- [Changelog](https://github.com/github/copilot-sdk/blob/main/CHANGELOG.md)
- [Commits](github/copilot-sdk@v0.3.0...v1.0.0)
---
updated-dependencies:
- dependency-name: github.com/github/copilot-sdk/go
dependency-version: 1.0.0
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
* fix(chat): adapt to copilot-sdk v1.0.0 API surface
The v1.0.0 SDK ("Refine Go SDK pre-GA API surfaces") reshaped several
pre-GA types, so the bump from 0.3.0 no longer compiled. Adapt the chat
service and TUI:
- PermissionRequest / PermissionResult are now discriminated interfaces.
The permission handlers return rpc.PermissionDecision (ApproveOnce /
Reject / UserNotAvailable) and read request fields via a type switch
over the concrete *PermissionRequestXxx variants.
- SessionEvent.Type is now a method (event.Type()).
- ElicitationContext.Mode/URL/Source/RequestedSchema are now optionals
(pointers / *ElicitationSchema); ElicitationResult.Action is a typed
enum.
- Token counts are int64, ModelBilling.Multiplier and
SessionConfig.Streaming are pointers.
- ClientOptions.CLIPath/Cwd -> Connection (StdioConnection) /
WorkingDirectory; Session.GetMessages -> GetEvents;
SDKMetadata.ModifiedTime is time.Time.
- PermissionRequestKindMcp -> PermissionRequestKindMCP.
go build ./... and the chat package tests pass; golangci-lint is clean.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Nikolai Emil Damm <nikolaiemildamm@icloud.com>
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
0 commit comments