add support for opus-4-6 computer tool - #316
Conversation
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: db59401109
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
…o j/opus-4-6 # Conflicts: # hud/tools/computer/anthropic.py
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 2 potential issues.
Bugbot Autofix is OFF. To automatically fix reported issues with Cloud Agents, enable Autofix in the Cursor dashboard.
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 2b266619f4
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Note
Medium Risk
Changes native tool-spec resolution/serialization and adds new computer actions (including screenshot region cropping), which can affect tool selection and computer-control behavior across models.
Overview
Adds support for Anthropic’s newer
computer_20251124tool (for Opus 4.5/4.6), includingenable_zoomand a newzoomcomputer action that captures/crops/resizes a screen region via executors.Extends native tool spec handling to allow model-specific spec variants (a list per agent type): tools now serialize
native_toolsas dict-or-list, and agents resolve the first spec whosesupported_modelsmatches the current model (with updated role detection and safer legacy fallback behavior).Updates Claude tool conversion to include
eager_input_streamingfor generic tools, removes the always-onfine-grained-tool-streaming-2025-05-14beta header, and bumps the SDK version to0.5.20(plusanthropicoptional dependency to>=0.78.0).Written by Cursor Bugbot for commit 547d1e5. This will update automatically on new commits. Configure here.
Fixes HUD-697