Add Gemini native computer use with model-visible evidence - #2906
Open
miguelg719 wants to merge 14 commits into
Open
Add Gemini native computer use with model-visible evidence#2906miguelg719 wants to merge 14 commits into
miguelg719 wants to merge 14 commits into
Conversation
…tion-17-gemini-cua
…tion-17-gemini-cua
…tion-17-gemini-cua
…tion-17-gemini-cua
…tion-17-gemini-cua
…tion-17-gemini-cua
|
…tion-17-gemini-cua
Contributor
There was a problem hiding this comment.
Review completed against the latest diff
Reply with feedback, questions, or to request a fix.
Re-trigger cubic
miguelg719
force-pushed
the
evals/consolidation-17-gemini-cua
branch
from
September 8, 2026 16:27
75893b9 to
f9db4b0
Compare
miguelg719
force-pushed
the
evals/consolidation-16-claude-cua
branch
from
September 8, 2026 16:27
c5983f0 to
32a7a95
Compare
…tion-17-gemini-cua
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.
Adds Gemini native computer use through the same CUA bridge and canonical facade. System instructions and cancellation use the SDK configuration; normalized coordinates map to browser coordinates. Includes package, build, CI registration, and the shared harness guide.
Stores the actual model-visible tool response and screenshot against its call ID, with optional fields for older records and no duplicate per-action captures. Confirmed runner-owned browser loss or a typed core facade loss is terminal; arbitrary error text, including agent-marked errors, remains recoverable. Missing, blocked, truncated, and malformed provider responses fail as SDK errors, and partial tool calls from those responses are not executed. Every function-call batch is validated before any member executes. Arbitrary model/resource identifiers are passed to the provider, with only the optional
google/alias removed.Drag uses the existing SDK
dragAndDropprimitive. Hotkey arrays execute as one chord, wait honors the requested seconds, and the current scroll action uses its documented default while retaining the legacy action's default.Budgets use
EVAL_GEMINI_CUA_MAX_TURNS. Explicit empty answers remain empty, unfinished calls remain failed, and the last model-visible image is retained when terminal capture is unavailable. That fallback is the last captured frame, not a fresh terminal screenshot. Transcript clipping preserves Unicode pairs.Validation: 72 Gemini SDK/eval tests across seven files pass, including scripted terminal-response cases and generated executor code exercised against the actual SDK Page and RPC schemas over an in-memory transport. The earlier combined Claude/Gemini/shared suite, including the compiled facade/MCP fixture, passed 101 tests across 14 files before this Gemini follow-up. Gemini SDK and full eval typechecks and the Gemini SDK build pass; parent propagation and final combined validation are separate checks. These are local contract checks; live provider performance and semantic judge compatibility remain separate gates.
Stack position: 17/17. Base:
evals/consolidation-16-claude-cua. Review the diff against the immediate predecessor.Reviewer entry points:
packages/integrations/gemini-cua-sdk/src/executor.tspackages/integrations/gemini-cua-sdk/src/session.tspackages/evals/framework/harnesses/geminiCuaAdapter.ts