chore(sdk): sync to agent_platform@3805647 (v1.0.1)#157
Closed
abonneth wants to merge 1 commit into
Closed
Conversation
Collaborator
Author
|
Superseded by #158 (sync to agp@8e6b5b0, v1.0.1 - merged and published). Closing this outdated auto-sync. |
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.
Auto-generated from
agent_platform's codegen home (sdk-codegen/).Version:
1.0.1(patch; every sync bumps +0.0.1) · upstream flagged this a breaking changeUpstream: agent_platform@3805647
Note
High Risk
Breaking public API for environment/browser configuration removes multimodal and top-level sizing fields; existing SDK callers must migrate to discriminated mode objects.
Overview
SDK 1.0.1 syncs with upstream agent-interface 1.13.0 and renames the OpenAPI product title to Computer-Use Agents.
Browser environment configuration is a breaking API shape change.
modeis no longer a string (visual/text/multimodal); it is a discriminated object withtype: "visual"ortype: "text". Top-levelwidth,height, andpage_charsare removed from browser/environment create, update, and patch; viewport size lives on visual mode (width/height), and text paging useschunk_sizeon text mode. The oldmultimodalmode is dropped in favor of visual mode withmarkdown: true.The Python SDK mirrors this: new types
BrowserVisualMode,BrowserTextMode, andBrowserMode_Text/BrowserMode_Visual, environment clients no longer expose the old flat parameters, and request bodies serializemodethrough the union converter.Reviewed by Cursor Bugbot for commit dcf75ec. Bugbot is set up for automated code reviews on this repo. Configure here.