Conversation
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 the upstream codegen home.
Version:
1.0.8(patch; every sync bumps +0.0.1) · upstream flagged this a breaking changeUpstream: agent_platform@9b5f049
Note
Medium Risk
Introduces pod file read/write client surface tied to upstream API enforcement; upstream marked a breaking change, so consumers parsing session events or relying on strict event unions may need updates.
Overview
Bumps hai-agents to 1.0.8 and syncs the Fern-generated client from the updated OpenAPI spec.
Session pod file I/O: Adds
client.session_files(sync/async) with list, read, and write operations against a session’s pod. Listings are scoped to allowlisted roots, sorted newest-first, with paging viamodified_before/name_afterand atruncatedflag. Read/write use base64 payloads with server-side size limits.Session model updates:
SessionSummarygains optionallast_activity_at(latest ingested event time; null for older sessions). Session event unions now includeFileTransferEvent(download/upload, path, optional size) so streams can surface agent file moves.Exports and package metadata (
User-Agent, lockfile) are updated to match the new version.Reviewed by Cursor Bugbot for commit bf3ec4a. Bugbot is set up for automated code reviews on this repo. Configure here.