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
1. docs/getting-started.md: Python snippet still used the removed
`CopilotClientOptions` wrapper. Switch to the flat-kwargs form
(`CopilotClient(connection=RuntimeConnection.for_uri(...))`).
2. python/README.md custom-permission-handler example imported per-kind
variants (`PermissionRequestShell`, `PermissionDecisionApproveOnce`,
`PermissionDecisionReject`) from `copilot` — but only
`PermissionRequest` and `PermissionRequestResult` are re-exported
at the top level. Fix the example to import the variant classes from
`copilot.generated.session_events`.
3. python/copilot/client.py `RuntimeConnection` docstring referenced
the old factory names `stdio`/`tcp`/`uri`. Update to
`for_stdio`/`for_tcp`/`for_uri` to match the renamed methods.
4. python/copilot/session.py comment above
`PermissionRequestResult` told users to construct variants with
`kind=...` arguments — but Phase L baked the discriminator into a
`ClassVar` default, so the generated variants reject `kind=` at
the call site. Update the comment to reflect the new ergonomics.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
0 commit comments