Fix out-of-sync SDK content (key URL, browser env shape, agent ids)#169
Merged
Conversation
Co-authored-by: Cursor <cursoragent@cursor.com>
adeprezh
approved these changes
Jul 1, 2026
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.
Made with Cursor
Note
Low Risk
Documentation and test-only updates with no changes to SDK runtime logic in this diff.
Overview
Aligns user-facing docs and tests with the current platform and API shapes.
README now points “Get an API key” and setup instructions at
platform.hcompany.ai/settings/api-keysinstead ofportal.hcompany.ai, and documents that thehaiCLI also loads credentials from~/.config/hai/.env(after--api-key,HAI_API_KEY, and a local.env).The slow browser integration test provisions the environment as
kind: "web"withmode: {"type": "visual", "width": ..., "height": ...}instead oflocal_browserwith top-level width/height, and the docstring refers to web browser provisioning.tests/test_answer_schema.pyuses catalog agent idh/web-surfer-proeverywhere tests previously referencedh/web-surfer.Reviewed by Cursor Bugbot for commit 2e98f4a. Bugbot is set up for automated code reviews on this repo. Configure here.