Repository navigation
fix(sdk-python): regenerate for experimental.session.remote (XCOD-338) - #339
Merged
Merged
Conversation
PR #322 (XCOD-338 remote control) added the experimental.session.remote and experimental.session.remoteSet operations to packages/sdk/openapi.json without regenerating the Python SDK, so test_every_operation_is_generated_sync_and_async and `generate.py --check` failed. Output of `uv run --group codegen python script/generate.py`; the version moves to 1.19.0 with packages/opencode/package.json (upstream sync #325). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
sdk-pythonhas been red on everydevpush since #322 (XCOD-338 remote control, 2026-11-02 15:32). That PR addedexperimental.session.remote/remoteSettopackages/sdk/openapi.jsonbut didn't regenerate the Python SDK, sotests/test_unit.py::test_every_operation_is_generated_sync_and_asyncandgenerate.py --checkboth failed.This PR is only the output of
uv run --group codegen python script/generate.py. Nothing was hand-edited.operations.py/models.py: the two new operations (sync and async) and their models._version.py: 1.18.57 -> 1.19.0. It followspackages/opencode/package.json, which the upstream sync (Upstream sync: anomalyco/opencode v1.19.5 into dev (conflicts) #325) bumped.--checkrequires this. Publishing is tag-triggered only, so this releases nothing.Local run (bun 1.4.4, macOS):
generate.py --check, ruff, ruff format, and pyright are all clean, and the fullpytestsuite (unit + e2e against this checkout) gives 35 passed.🤖 Generated with Claude Code