Skip to content

chore(sdk): sync generated SDK (v1.0.6) - #187

Closed
abonneth wants to merge 1 commit into
mainfrom
sync/agp
Closed

chore(sdk): sync generated SDK (v1.0.6)#187
abonneth wants to merge 1 commit into
mainfrom
sync/agp

Conversation

@abonneth

@abonnethabonneth commented Jul 7, 2026

Copy link
Copy Markdown
Collaborator

Auto-generated from the upstream codegen home.

Version:1.0.6 (patch; every sync bumps +0.0.1) · upstream flagged this a breaking change
Upstream: agent_platform@a88ae24


Note

High Risk
Upstream flagged a breaking change: environment create/update signatures and Environment typing changed, which will break callers using the old flat kwargs and BrowserKind.

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 new Desktop specs (user-device host, optional session_id). Browser gains host (cloud | user_device), session_id, and persist_browser_profile; vault and browser-profile docs now state they apply only on cloud hosts. Create/update environment APIs take CreateEnvironmentRequest / UpdateEnvironmentRequestBody (web vs desktop variants) instead of flat id/kind/browser fields—update_environment also uses a single path id instead of separate id_ + body id. Patch adds host, session_id, and persist_browser_profile. Public exports drop BrowserKind in favor of BrowserHost, plus Desktop, DesktopHost, and environment union helpers.

Client / AsyncClient expose a sessions property that lazily wires LocalSessionsClient / LocalAsyncSessionsClient from hai_agents_local for session creation used by run_session.

Reviewed by Cursor Bugbot for commit 8db4be7. Bugbot is set up for automated code reviews on this repo. Configure here.

@cursorcursorBot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes using default effort and found 1 potential issue.

Fix All in Cursor

❌ 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.

Comment threadsrc/hai_agents/client.py
@abonneth

Copy link
Copy Markdown
CollaboratorAuthor

Superseded by #161, which contains this sync plus the hai_agents_local package the new client.py needs, with tests green. After #161 merges the regen will find no diff.

@abonnethabonneth closed this Jul 8, 2026
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

@abonneth