Skip to content

chore(sdk): sync to agent_platform@fce2913 (v0.1.13)#143

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

chore(sdk): sync to agent_platform@fce2913 (v0.1.13)#143
abonneth wants to merge 1 commit into
mainfrom
sync/agp-fce2913

Conversation

@abonneth

@abonneth abonneth commented Jun 25, 2026

Copy link
Copy Markdown
Collaborator

Auto-generated from agent_platform's codegen home (sdk-codegen/).

Version: 0.1.13 (patch; every sync bumps +0.0.1)
Upstream: agent_platform@fce2913

feat: update agent view url (#1379)


Note

Medium Risk
Breaking change on get_session_resource return type and polling event completeness may affect existing callers; optional browser proxy URLs touch remote session provisioning.

Overview
Release 0.1.13 — auto-synced OpenAPI/Fern codegen from upstream agent_platform.

Adds client.quota.get_token_quota() (GET /api/v2/quota/tokens) returning TokenQuotaStatus for org token metering.

Browser environments gain optional BrowserNetwork (proxy_url) on create/replace/patch, applied when provisioning a new remote runner (not when reusing session_id).

get_session_resource is a breaking API change: it now streams raw bytes (Iterator / AsyncIterator) after following the presigned redirect, maps 404 to NotFoundError, and documents octet-stream success instead of a no-op redirect helper.

wait_for_session / run_session (sync and async) drain trailing events after the session settles when include_events=True, so late events are not dropped. SessionHandle.send_message accepts a plain str and wraps it as a user message.

Client construction reads HAI_API_KEY when api_key is omitted (default is None instead of evaluating env at import). Public exports include quota, BrowserNetwork, TokenQuotaStatus, and NotFoundError.

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

@abonneth abonneth requested a review from adeprezh as a code owner June 25, 2026 13:50
@abonneth abonneth closed this Jun 25, 2026
Sign up for free to 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