Skip to content

chore(cua): upgrade bundled driver to v0.14.1 - #2061

Merged
yyhhyyyyyy merged 3 commits into
devfrom
chore/cua-driver-0.14.1
Jul 30, 2026
Merged

chore(cua): upgrade bundled driver to v0.14.1#2061
yyhhyyyyyy merged 3 commits into
devfrom
chore/cua-driver-0.14.1

Conversation

@yyhhyyyyyy

@yyhhyyyyyy yyhhyyyyyy commented Jul 30, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Upgrade the bundled CUA driver from 0.13.1 to 0.14.1.
  • Update pinned release metadata, asset names, and SHA-256 checksums for all supported targets.
  • Add a reviewed projection for the new browser-chrome coverage metadata returned by get_window_state.
  • Document the v2 action-only cursor theme requirement.
  • Refresh the generated provider catalog snapshot.

Compatibility and behavior

  • Keep the existing host adapter contract and fail-closed tool policies unchanged.
  • Treat browser-chrome coverage as advisory metadata; desktop escalation is only suggested after a window-scoped action is verified ineffective.
  • Preserve raw CUA structured content while appending compact, model-visible recovery guidance.
  • Retired v1 cursor themes with modifier artwork are not compatible with the v0.14.1 session-badge model.
  • Supported platform targets remain unchanged; Linux arm64 remains unsupported.

Summary by CodeRabbit

  • New Features

    • Upgraded computer-use capabilities to CUA 0.14.1 across supported platforms.
    • Added clearer browser-chrome coverage information and guided recovery when window actions cannot resolve browser-controlled UI.
    • Improved cursor-theme compatibility with the current action-focused theme format.
    • Expanded the available model catalog with new providers, models, capabilities, and pricing metadata.
  • Documentation

    • Updated computer-use guidance, platform requirements, recovery workflows, and release verification details.
    • Clarified app-closing safety behavior and desktop escalation requirements.

Pin the verified 0.14.1 release assets and handshake contract.

Expose bounded Chromium recovery metadata and document the cursor theme v2 boundary.
Update the build-generated provider catalog and ACP agent versions.
@dosubot

dosubot Bot commented Jul 30, 2026

Copy link
Copy Markdown

📄 Knowledge review

Dosu skipped reviewing this PR because your organization has used its 200 included credits for the month. Your usage will reset on 2026-08-01. To have Dosu review this PR before then, ask your organization admin to upgrade to a pro account.


Leave Feedback Ask Dosu about deepchat Add Dosu to your team

@coderabbitai

coderabbitai Bot commented Jul 30, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: 377bdac9-bbc2-4a28-9ca1-ea4870abcef9

📥 Commits

Reviewing files that changed from the base of the PR and between 5ec6f21 and e1df43f.

📒 Files selected for processing (20)
  • docs/architecture/plugin-external-runtime-lifecycle/plan.md
  • docs/architecture/plugin-external-runtime-lifecycle/spec.md
  • docs/architecture/plugin-external-runtime-lifecycle/tasks.md
  • docs/features/cua-cross-platform-computer-use/spec.md
  • plugins/cua/plugin.json
  • plugins/cua/skills/computer-use/SKILL.md
  • plugins/cua/skills/computer-use/TESTS.md
  • plugins/cua/vendor/cua-driver/upstream.json
  • resources/model-db/providers.json
  • scripts/package-plugin.mjs
  • src/main/plugin/cuaToolAdapter.ts
  • test/main/mcp/toolManager.test.ts
  • test/main/plugin/cuaEmbeddedAdapter.test.ts
  • test/main/plugin/cuaRuntimeIntegrity.test.ts
  • test/main/plugin/cuaToolAdapter.test.ts
  • test/main/plugin/pluginService.test.ts
  • test/main/plugin/toolCatalog.test.ts
  • test/main/scripts/buildCuaPluginRuntime.test.ts
  • test/main/scripts/packagePlugin.test.ts
  • test/renderer/plugins/cuaSettings.test.ts

📝 Walkthrough

Walkthrough

The PR upgrades the CUA runtime and embedded adapter contract from 0.13.1 to 0.14.1, adds validated browser-chrome coverage projections, updates release and packaging documentation, refreshes tests and fixtures, and expands provider model metadata.

Changes

CUA 0.14.1 runtime upgrade

Layer / File(s) Summary
Runtime contract and release metadata
docs/architecture/plugin-external-runtime-lifecycle/*, docs/features/cua-cross-platform-computer-use/spec.md, plugins/cua/plugin.json, plugins/cua/vendor/cua-driver/upstream.json, scripts/package-plugin.mjs, test/main/plugin/*, test/main/scripts/*, test/renderer/plugins/cuaSettings.test.ts
Runtime pins, adapter metadata, asset checksums, tool catalogs, integrity descriptors, packaging fixtures, and renderer expectations now use CUA 0.14.1.
Browser-chrome coverage projection
src/main/plugin/cuaToolAdapter.ts, test/main/plugin/cuaToolAdapter.test.ts, test/main/mcp/toolManager.test.ts, plugins/cua/skills/computer-use/*
A fixed browser-chrome recovery contract is projected from qualifying get_window_state results, with validation for incomplete, mutated, and unrelated-tool payloads. Cursor-theme and desktop-escalation guidance is updated accordingly.

Provider model catalog updates

Layer / File(s) Summary
Provider and model metadata
resources/model-db/providers.json
Adds GreenPT and Kimi models and updates W&B, Cohere, NVIDIA, and Meta model capabilities, modalities, limits, release metadata, and pricing.

Estimated code review effort: 4 (Complex) | ~45 minutes

Sequence Diagram(s)

sequenceDiagram
  participant CUA Driver
  participant CUA Tool Adapter
  participant Tool Manager
  CUA Driver->>CUA Tool Adapter: Return get_window_state structured content
  CUA Tool Adapter->>CUA Tool Adapter: Validate browser-chrome recovery contract
  CUA Tool Adapter->>Tool Manager: Append reviewed coverage projection
Loading

Possibly related PRs

Suggested reviewers: zerob13

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (4 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly captures the main change: upgrading the bundled CUA driver to v0.14.1.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches 💡 1
📝 Generate docstrings 💡
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch chore/cua-driver-0.14.1

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@yyhhyyyyyy
yyhhyyyyyy merged commit d73c95c into dev Jul 30, 2026
15 checks passed
@zhangmo8
zhangmo8 deleted the chore/cua-driver-0.14.1 branch July 30, 2026 10:11
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.

1 participant