Skip to content

chore(cua-computer): upgrade CUA Driver to 0.19.3 - #122191

Merged
RomneyDa merged 2 commits into
mainfrom
orclaw/cu-9-driver-0193-upgrade
Aug 13, 2026
Merged

RomneyDa merged 2 commits into
mainfrom
orclaw/cu-9-driver-0193-upgrade

Conversation

@RomneyDa

Copy link
Copy Markdown
Member

Summary

  • upgrade the bundled CUA Driver SDK and all platform-native optional packages from 0.14.1 to 0.19.3
  • retain the existing trusted desktop session and frame-bound input flow, which matches upstream snapshot-safe desktop actions
  • add exact 0.19.3 maturity exclusions so the explicitly requested release can resolve without weakening the default 48-hour policy
  • update the operator-facing CUA Driver version references

Validation

  • pnpm install
  • node scripts/run-vitest.mjs extensions/cua-computer (46 passed)
  • pnpm deps:root-ownership:check
  • pnpm docs:check-mdx docs/nodes/computer-use.md
  • git diff --check
  • TMPDIR=/tmp .agents/skills/autoreview/scripts/autoreview --mode uncommitted --engine codex --model gpt-5.6-sol --thinking high (clean)

Scope

Production LOC delta: +7/-0 (six exact dependency maturity selectors and one pinned-contract comment). Test delta: 0. Lockfile: 31 changed lines each direction.

The exact release was published on 2026-08-10 and is below the repository maturity window; the exception is limited to @trycua/[email protected] and its six platform packages.

@RomneyDa
RomneyDa requested a review from a team as a code owner August 11, 2026 18:08
@clawsweeper

clawsweeper Bot commented Aug 11, 2026

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

@openclaw-barnacle openclaw-barnacle Bot added docs Improvements or additions to documentation plugin: cua-computer size: XS maintainer Maintainer-authored PR labels Aug 11, 2026
@github-actions github-actions Bot added the dependencies-changed PR changes dependency-related files label Aug 11, 2026
@github-actions

Copy link
Copy Markdown
Contributor

Dependency Guard

This PR changes dependency-related files. Maintainers should confirm these changes are intentional.

Changed files:

  • extensions/cua-computer/package.json
  • package.json
  • pnpm-lock.yaml
  • pnpm-workspace.yaml

Maintainer follow-up:

  • Review whether the dependency changes are intentional.
  • Inspect resolved package deltas when lockfiles or workspace dependency policy changes are present.
  • Treat pnpm-lock.yaml and package-lock.json diffs as dependency security-review surfaces.
  • Run pnpm deps:changes:report -- --base-ref origin/main --markdown /tmp/dependency-changes.md --json /tmp/dependency-changes.json locally for detailed release-style evidence.

@github-actions

github-actions Bot commented Aug 11, 2026 •

Copy link
Copy Markdown
Contributor

Dependency graph changes are blocked

OpenClaw does not accept dependency graph changes through PRs unless a repository admin or security explicitly authorizes the current head SHA. Dependency updates are generated internally by maintainers so external PRs cannot change the resolved graph.

Detected dependency graph changes:

  • pnpm-lock.yaml changed.
  • extensions/cua-computer/package.json changed dependencies.
  • package.json changed dependencies.

Auto-scrub was not attempted because this PR changes package manifest dependency graph fields:

  • extensions/cua-computer/package.json changed dependencies.
  • package.json changed dependencies.

Dependency graph changes must be reviewed by security or handled by maintainers internally. Please remove lockfile changes manually if they are not needed.

To remove lockfile changes, restore them from the target branch:

git fetch origin
git checkout 'origin/main' -- 'pnpm-lock.yaml'
git commit -m 'chore: remove dependency lockfile change'
git push

If this PR intentionally needs a dependency graph change, ask a repository admin or member of @openclaw/openclaw-secops to comment:

/allow-dependencies-change

The action will approve the current head SHA (a7d84a281db617786d4d083d960fa14f08ef4a0a) when it reruns. A later push requires a fresh approval.

@RomneyDa

Copy link
Copy Markdown
Member Author

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Aug 11, 2026 •

Copy link
Copy Markdown
Contributor

🦞🧹
ClawSweeper re-review requested.

I asked ClawSweeper to review this item again.
Action: item re-review queued (workflow sweep.yml, event repository_dispatch).
Result: when the review finishes, ClawSweeper will create the durable review comment if needed or update the existing comment in place.

Re-review progress:

@clawsweeper

clawsweeper Bot commented Aug 11, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: found issues before merge. Reviewed August 12, 2026, 2:07 PM ET / 18:07 UTC.

ClawSweeper review

What this changes

Updates the optional Windows/Linux CUA computer plugin from CUA Driver 0.14.1 to 0.19.3, refreshes docs, and tests the driver’s input-enum mapping.

Merge readiness

⚠️ Ready for maintainer review - 5 items remain

Keep open: the enum-contract test is a useful improvement, but the exact fresh native dependency graph remains blocked pending authorized artifact and provenance review.

Priority: P2
Reviewed head: a7d84a281db617786d4d083d960fa14f08ef4a0a
Owner decision: Required. See Decision needed.

Review scores

Measure Result What it means
Overall readiness 🦐 gold shrimp (3/6) The patch is focused and adds a relevant contract assertion, but native-package authorization remains a merge-critical blocker.
Proof confidence 🌊 off-meta tidepool Not applicable: This member-authored PR is not subject to the external-contributor proof gate; its test and CI evidence remain supplemental to dependency authorization.
Patch quality 🦐 gold shrimp (3/6) Security review found an item that needs attention.

Verification

Check Result Evidence
Real behavior Not applicable Not applicable: This member-authored PR is not subject to the external-contributor proof gate; its test and CI evidence remain supplemental to dependency authorization.
Evidence reviewed 7 items Current main behavior: Current main still pins the plugin dependency to CUA Driver 0.14.1, so the upgrade is not already implemented.
Dependency-backed runtime boundary: The plugin imports CUA Driver types and dynamically loads the package before creating desktop-control sessions, making the upstream SDK contract authoritative for this PR.
Native-package maturity bypass: The PR adds seven exact 0.19.3 exclusions to the 48-hour release-age policy while its lockfile replaces the driver and six platform-native packages.
Findings 1 actionable finding [P1] Obtain authorization for the fresh native driver packages
Security Needs attention Fresh native packages bypass maturity policy: Seven exact 0.19.3 exclusions admit a newly published SDK and its platform binaries before the standard 48-hour review window.

How this fits together

The optional CUA computer plugin converts paired-node desktop actions into native CUA Driver calls on Windows and Linux. Its pinned SDK and platform packages determine the native computer-control code installed for that plugin.

flowchart LR
A[Paired node action] --> B[CUA computer plugin]
B --> C[CUA Driver SDK]
C --> D[Platform-native driver package]
D --> E[Desktop input and screenshots]
Loading

Decision needed

Question Recommendation
Should the exact CUA Driver 0.19.3 graph, including six native platform packages, be authorized despite the maturity-policy exception? Authorize after artifact review: Review the exact package provenance, native artifacts, and 0.19.3 contract, then approve the current head if acceptable.

Why: This optional plugin controls desktops through native binaries, and the repository guard requires an authorized review of each new resolved graph.

Before merge

  • Obtain authorization for the fresh native driver packages (P1) - This prior blocker remains unresolved: the PR exempts the SDK and six native packages from the 48-hour policy while changing the dependency graph. The dependency guard is blocked for this exact head, so authorized artifact/provenance review is required before merge.
  • Resolve security concern: Fresh native packages bypass maturity policy - Seven exact 0.19.3 exclusions admit a newly published SDK and its platform binaries before the standard 48-hour review window.
  • Resolve merge risk (P1) - The dependency guard remains blocked for the exact head because this changes native desktop-control artifacts and bypasses the 48-hour maturity policy for seven packages.
  • Resolve merge risk (P1) - Direct local inspection of the CUA Driver 0.19.3 source, types, and package artifacts was unavailable; the enum assertion and green CI do not substitute for authorized artifact review.

Findings

  • [P1] Obtain authorization for the fresh native driver packages — pnpm-workspace.yaml:66-72
  • [medium] Fresh native packages bypass maturity policy — pnpm-workspace.yaml:66
Agent review details

Security

Needs attention: The PR replaces native desktop-control packages and bypasses their maturity window, requiring explicit artifact and provenance review.

PR surface

Source 0, Tests +16, Docs 0, Config +7, Other 0. Total +23 across 7 files.

View PR surface stats
Area Files Added Removed Net
Source 1 1 1 0
Tests 1 17 1 +16
Docs 1 2 2 0
Config 3 9 2 +7
Generated 0 0 0 0
Other 1 31 31 0
Total 7 60 37 +23

Review metrics

Metric Value Why it matters
Dependency maturity exceptions 7 added The driver and all six platform-native packages bypass the repository’s 48-hour release-age policy.
Production versus test delta production +7/-0, tests +17/-1 Production growth is limited to maturity exceptions; the test addition verifies the local enum mapping against the installed SDK.

Merge-risk options

Maintainer options:

  1. Authorize the reviewed native graph (recommended)
    An authorized security or dependency owner should inspect and explicitly approve the exact current-head packages before merge.
  2. Wait for the normal maturity window
    Retain the existing driver pin if artifact review or authorization is not available.

Technical review

Best possible solution:

Have a security or repository administrator inspect the exact 0.19.3 artifacts and upstream contract, then authorize this head only if the native-session and package-provenance review is acceptable.

Do we have a high-confidence way to reproduce the issue?

Not applicable: this is a dependency-maintenance PR rather than a report of broken behavior; the remaining question is authorization of the native package graph.

Is this the best way to solve the issue?

No, not until the exact package artifacts and upstream 0.19.3 contract are reviewed; the enum test is useful coverage but is narrower than native artifact/provenance validation.

Full review comments:

  • [P1] Obtain authorization for the fresh native driver packages — pnpm-workspace.yaml:66-72
    This prior blocker remains unresolved: the PR exempts the SDK and six native packages from the 48-hour policy while changing the dependency graph. The dependency guard is blocked for this exact head, so authorized artifact/provenance review is required before merge.
    Confidence: 0.98

Overall correctness: patch is incorrect
Overall confidence: 0.93

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning high; reviewed against e69a973bfb74.

Labels

Label justifications:

  • P2: This is a bounded optional-plugin update, but native package authorization remains required before it can safely merge.
  • merge-risk: 🚨 compatibility: Existing enabled CUA plugin installations would resolve a different SDK and native binary set after upgrade.
  • merge-risk: 🚨 security-boundary: The lockfile changes native desktop-control artifacts and the PR adds explicit policy exceptions for their fresh release.
  • rating: 🦐 gold shrimp: Overall readiness is 🦐 gold shrimp; proof is 🌊 off-meta tidepool and patch quality is 🦐 gold shrimp.
  • status: ⏳ waiting on author: ClawSweeper has contributor-facing work open and is waiting for author action. Not applicable: This member-authored PR is not subject to the external-contributor proof gate; its test and CI evidence remain supplemental to dependency authorization.

Evidence

Security concerns:

  • [medium] Fresh native packages bypass maturity policy — pnpm-workspace.yaml:66
    Seven exact 0.19.3 exclusions admit a newly published SDK and its platform binaries before the standard 48-hour review window.
    Confidence: 0.98

What I checked:

Likely related people:

  • steipete: Current-main blame attributes the CUA Driver type bindings and local desktop-input enum contract to this commit. (role: current implementation contributor; confidence: medium; commits: 8060ef893796; files: extensions/cua-computer/src/driver-client.ts, extensions/cua-computer/src/commands.ts)

Rank-up moves

Optional improvements that raise the rating; they are not merge blockers.

  • Obtain authorized review of the exact 0.19.3 package artifacts and dependency graph.

Rating scale

Score Internal tier Crab rank Meaning
6/6 S 🦀 challenger crab Exceptional readiness
5/6 A 🦞 diamond lobster Very strong readiness
4/6 B 🐚 platinum hermit Good normal PR; ordinary maintainer review
3/6 C 🦐 gold shrimp Useful, but confidence is limited
2/6 D 🦪 silver shellfish Proof or implementation needs work
1/6 F 🧂 unranked krab Not merge-ready
N/A NA 🌊 off-meta tidepool Rating does not apply

Overall follows the weaker of proof and patch quality.
Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics.

Workflow

  • ClawSweeper keeps one durable marker-backed review comment per issue or PR.
  • Re-runs edit this comment so the latest verdict, findings, and automation markers stay together instead of adding duplicate bot comments.
  • A fresh review can be triggered by eligible @clawsweeper re-review comments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch.
  • PR/issue authors and users with repository write access can comment @clawsweeper re-review or @clawsweeper re-run on an open PR or issue to request a fresh review only.
  • Maintainers can also comment @clawsweeper review to request a fresh review only.
  • Fresh-review commands do not start repair, autofix, rebase, CI repair, or automerge.
  • Maintainer-only repair and merge flows require explicit commands such as @clawsweeper autofix, @clawsweeper automerge, @clawsweeper fix ci, or @clawsweeper address review.
  • Maintainers can comment @clawsweeper explain to ask for more context, or @clawsweeper stop to stop active automation.

History

Review history (3 earlier review cycles)
  • reviewed 2026-08-11T18:13:52.803Z sha 64e36de :: found issues before merge. :: [P2] Verify the 0.19.3 driver contract before pinning it
  • reviewed 2026-08-11T19:06:55.603Z sha 64e36de :: found issues before merge. :: [P2] Verify the 0.19.3 enum contract before pinning it
  • reviewed 2026-08-12T17:59:58.866Z sha a7d84a2 :: found issues before merge. :: [P1] Obtain approval for the fresh native driver packages

@clawsweeper clawsweeper Bot added merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. merge-risk: 🚨 security-boundary 🚨 May affect sandboxing, authorization, credentials, or sensitive data. P2 Normal backlog priority with limited blast radius. rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. labels Aug 11, 2026
@RomneyDa

Copy link
Copy Markdown
Member Author

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Aug 12, 2026 •

Copy link
Copy Markdown
Contributor

🦞🧹
ClawSweeper re-review requested.

I asked ClawSweeper to review this item again.
Action: item re-review queued (workflow sweep.yml, event repository_dispatch).
Result: when the review finishes, ClawSweeper will create the durable review comment if needed or update the existing comment in place.

Re-review progress:

@clawsweeper clawsweeper Bot added rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. and removed rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. labels Aug 12, 2026
@RomneyDa
RomneyDa merged commit 1d45930 into main Aug 13, 2026
119 of 120 checks passed
@RomneyDa
RomneyDa deleted the orclaw/cu-9-driver-0193-upgrade branch August 13, 2026 07:19
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Aug 14, 2026
* chore(cua-computer): upgrade CUA Driver to 0.19.3

* test(cua-computer): verify CUA Driver enum contract
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies-changed PR changes dependency-related files docs Improvements or additions to documentation maintainer Maintainer-authored PR merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. merge-risk: 🚨 security-boundary 🚨 May affect sandboxing, authorization, credentials, or sensitive data. P2 Normal backlog priority with limited blast radius. plugin: cua-computer rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. size: XS status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant