Skip to content

Commit bb076db

Browse files
Update @github/copilot to 1.0.48 (#1292)
* Update @github/copilot to 1.0.48 - Updated nodejs and test harness dependencies - Re-ran code generators - Formatted generated code * Fix Python and Rust SDK compilation after @github/copilot 1.0.48 update The 1.0.48 codegen made models.list, account.getQuota, and session.commands.list require explicit request params instead of accepting no arguments. Python: - Update test call sites to pass ModelsListRequest() (all fields optional) - Add ModelsListRequest import where needed Rust: - Add missing AccountGetQuotaRequest, ModelsListRequest, and CommandsListRequest structs to generated api_types.rs (all fields optional, matching the Python/Node generated schemas) - Update callers in lib.rs, tests, and README to pass Default::default() Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * Regenerate all SDK types after rebase Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * Fix Python SDK test failures after 1.0.48 update Fix ruff I001 import sorting violations in test_rpc_e2e.py and test_rpc_timeout.py caused by newly added ModelsListRequest import. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * Fix Python SDK Windows test failure Increase timeout for test_both_clients_see_tool_request_and_completion_events from 10s to 30s. On Windows CI, the first multi-client TCP test needs extra time for CLI subprocess and TCP connection establishment. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 32e932c commit bb076db

20 files changed

Lines changed: 358 additions & 89 deletions

dotnet/src/Generated/SessionEvents.cs

Lines changed: 47 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

go/rpc/zrpc.go

Lines changed: 4 additions & 12 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

go/rpc/zsession_encoding.go

Lines changed: 68 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

go/rpc/zsession_events.go

Lines changed: 30 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

go/zsession_events.go

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

nodejs/package-lock.json

Lines changed: 28 additions & 28 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)