Skip to content

add support for opus-4-6 computer tool - #316

Merged
jdchawla29 merged 13 commits into
mainfrom
j/opus-4-6
Feb 7, 2026
Merged

jdchawla29 merged 13 commits into
mainfrom
j/opus-4-6

Conversation

@jdchawla29

@jdchawla29 jdchawla29 commented Feb 6, 2026

Copy link
Copy Markdown
Collaborator

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_20251124 tool (for Opus 4.5/4.6), including enable_zoom and a new zoom computer 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_tools as dict-or-list, and agents resolve the first spec whose supported_models matches the current model (with updated role detection and safer legacy fallback behavior).

Updates Claude tool conversion to include eager_input_streaming for generic tools, removes the always-on fine-grained-tool-streaming-2025-05-14 beta header, and bumps the SDK version to 0.5.20 (plus anthropic optional dependency to >=0.78.0).

Written by Cursor Bugbot for commit 547d1e5. This will update automatically on new commits. Configure here.

Fixes HUD-697

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 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".

Comment thread hud/agents/base.py Outdated
Comment thread hud/agents/base.py
@jdchawla29
jdchawla29 marked this pull request as draft February 6, 2026 23:04
…o j/opus-4-6

# Conflicts:
#	hud/tools/computer/anthropic.py

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Comment thread hud/tools/coding/bash.py Outdated
Comment thread hud/agents/base.py
@jdchawla29
jdchawla29 marked this pull request as ready for review February 6, 2026 23:26

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 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".

Comment thread hud/tools/coding/utils.py

@Parth220 Parth220 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

Comment thread hud/tools/base.py
@jdchawla29
jdchawla29 merged commit 48b3938 into main Feb 7, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants