Repository navigation
improvement(computer-use): fold empty layout groups and compact the accessibility tree shown to the model - #9997
Conversation
…in the model's accessibility tree Wrapper groups with no text, state or action no longer spend the observation budget; their children point at the nearest shown ancestor. Rows drop the selected window id, JSON array syntax and fractional coordinates, and a one-line legend explains the format.
|
The latest updates on your projects. Learn more about Vercel for GitHub. |
[Medium impact] The PR appears safe to merge. SummaryCompacts the accessibility tree shown to the model.
Reviews (3) · Last reviewed commit: "fix(computer-use): keep JSON-encoded act..." · Reviewed by Greptile |
There was a problem hiding this comment.
All reported issues were addressed across 2 files
Reply with feedback, questions, or to request a fix.
Turn on auto-fix | Re-trigger cubic
|
@cubic-dev-ai review this PR |
@waleedlatif1 I have started the AI code review. It will take a few minutes to complete. |
There was a problem hiding this comment.
All reported issues were addressed across 2 files
Reply with feedback, questions, or to request a fix.
Turn on auto-fix | Re-trigger cubic
|
@cubic-dev-ai review this PR |
@waleedlatif1 I have started the AI code review. It will take a few minutes to complete. |
Summary
window=only for other windows) and fractional screen coordinates; action names stay JSON-encoded so custom actions remain exact; a one-linetreeFormatlegend explains the row shapeomittedNodeCountandtruncatednow count only shown nodes, so folded wrappers are not reported as omittedType of Change
Testing
computer-tool-result.test.ts(13)Checklist
test-auditauthoring gate)