| Name | Modified | Size | Downloads / Week |
|---|---|---|---|
| Parent folder | |||
| README.md | 2026-03-07 | 1.8 kB | |
| v0.1.31 source code.tar.gz | 2026-03-07 | 818.8 kB | |
| v0.1.31 source code.zip | 2026-03-07 | 1.3 MB | |
| Totals: 3 Items | 2.1 MB | 0 | |
Feature: strongly-typed PermissionRequestResultKind for .NET and Go
Rather than comparing result.Kind against undiscoverable magic strings like "approved" or "denied-interactively-by-user", .NET and Go now provide typed constants. Node and Python already had typed unions for this; this brings full parity. (#631)
:::cs
session.OnPermissionCompleted += (e) => {
if (e.Result.Kind == PermissionRequestResultKind.Approved) { /* ... */ }
if (e.Result.Kind == PermissionRequestResultKind.DeniedInteractivelyByUser) { /* ... */ }
};
:::go
// Go: PermissionKindApproved, PermissionKindDeniedByRules,
// PermissionKindDeniedCouldNotRequestFromUser, PermissionKindDeniedInteractivelyByUser
if result.Kind == copilot.PermissionKindApproved { /* ... */ }
Other changes
- feature: [Python] [Go] add
get_last_session_id()/GetLastSessionID()for SDK-wide parity (was already available in Node and .NET) (#671) - improvement: [Python] add
timeoutparameter to generated RPC methods, allowing callers to override the default 30s timeout for long-running operations (#681) - bugfix: [Go]
PermissionRequestfields are now properly typed (ToolName,Diff,Path, etc.) instead of a genericExtra map[string]anycatch-all (#685)
Generated by Release Changelog Generator