Releases: hcompai/hai-agents-python
Release list
v1.0.7
Local desktop optimization: screenshots are now downscaled and re-encoded on your machine before upload (default max width 1920, JPEG q85; --max-width, --max-height, --image-format, --quality on hai local desktop), fixing oversized-upload failures on HiDPI displays. Requires hai-drivers>=0.1.2 for desktop.
Safety and reliability for local control: out-of-band kill switch (hai local stop, double-Esc on macOS), default runaway budgets for auto-started local sessions, session cancellation at interpreter exit, macOS Accessibility and Screen Recording preflight with native grant prompts, and command-channel setup that retries rate limits with backoff.
New read-only hai doctor command checks login, platform, browser/desktop dependencies, and macOS permissions, with fix hints and --json output.
Generated SDK sync (agent_platform@b465068): session create accepts new optional fields; CLI output fixes (full-width session ids, correct bracket rendering in errors).
v1.0.6
Local control for user_device environments: browser and desktop environments can now run on your own machine, with the SDK auto-starting the local connection for inline agents and hai local browser|desktop for serving sessions started elsewhere. Environments are now a web | desktop discriminated union with typed create/update request bodies (breaking for flat create_environment/update_environment kwargs).
Browser profiles gain default-profile management (get/set/unset_default_browser_profile, is_default on reads) and persistence flags on Browser environments (use_default_browser_profile, persist_browser_profile).