Uh oh!
There was an error while loading. Please reload this page.
Conversation
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes using default effort and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit e530447. Configure here.
Uh oh!
There was an error while loading. Please reload this page.
abonneth
commented
Jul 8, 2026
CollaboratorAuthor
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 freeto 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 the upstream codegen home.
Version:
1.0.6(patch; every sync bumps +0.0.1) · upstream flagged this a breaking changeUpstream: agent_platform@a88ae24
Note
High Risk
Upstream flagged a breaking change: environment create/update signatures and
Environmenttyping changed, which will break callers using the old flat kwargs andBrowserKind.Overview
Bumps hai-agents to 1.0.6 from the upstream OpenAPI/Fern codegen, expanding environments beyond cloud-only web browsers.
Environments are now a discriminated union (
web|desktop) with newDesktopspecs (user-device host, optionalsession_id). Browser gainshost(cloud|user_device),session_id, andpersist_browser_profile; vault and browser-profile docs now state they apply only on cloud hosts. Create/update environment APIs takeCreateEnvironmentRequest/UpdateEnvironmentRequestBody(web vs desktop variants) instead of flatid/kind/browser fields—update_environmentalso uses a single pathidinstead of separateid_+ bodyid. Patch addshost,session_id, andpersist_browser_profile. Public exports dropBrowserKindin favor ofBrowserHost, plusDesktop,DesktopHost, and environment union helpers.Client/AsyncClientexpose asessionsproperty that lazily wiresLocalSessionsClient/LocalAsyncSessionsClientfromhai_agents_localfor session creation used byrun_session.Reviewed by Cursor Bugbot for commit 8db4be7. Bugbot is set up for automated code reviews on this repo. Configure here.