Skip to content

refactor(cua-computer): replace daemon MCP with CUA Driver SDK - #117205

Merged
RomneyDa merged 6 commits into
mainfrom
orclaw/cu-1-contract-fixtures
Aug 2, 2026
Merged

RomneyDa merged 6 commits into
mainfrom
orclaw/cu-1-contract-fixtures

Conversation

@RomneyDa

@RomneyDa RomneyDa commented Aug 1, 2026 •

Copy link
Copy Markdown
Member

What Problem This Solves

The Windows/Linux cua-computer plugin still ran the retired CUA Driver 0.10
daemon/MCP route. That leaves the node's durable screen.snapshot and
computer.act capability dependent on a separately installed executable and an
obsolete transport contract.

Why This Change Was Made

This PR supersedes the staged fixture-only plan and is the single CUA Driver
0.14.1 hard cut. The plugin now calls the published SDK directly through
CuaDriver.createConfigured and one OpenClaw-owned trusted session per node-host
command execution. Its fixed authorization ceiling, session identifier, TTLs,
and desktop scope are never model-controlled.

It removes executable discovery, driverPath, daemon spawning/retry, MCP
client/proxy contracts, 0.10 version gates, and runtime fallbacks. It retains
only the existing model-facing screen.snapshot plus computer.act surface;
there is no raw/native MCP projection.

User Impact

Windows/Linux operators enable the plugin without installing or configuring a
cua-driver binary. This is intentionally a hard cut: existing
plugins.entries.cua-computer.config.driverPath configuration is no longer
accepted at runtime; openclaw doctor --fix removes that retired key before
strict plugin validation. The former 0.10 daemon/MCP route is not retained.

Evidence

  • Published contract pinned to cua-driver-rs-v0.14.1
    (41ae29b44b49b68c6e01c934fffbbe74d22e26fb) and
    @trycua/[email protected]
    (sha512-/o16k+vcTbdqwmvQqgFCKzrYksSQHz282qO8RkpD67GQoY4Vp3pyDndQexRJ8AbzNQpUt1bIXSAAaFBaMad6rg==).
  • Dependency graph replacement: @modelcontextprotocol/[email protected] is removed
    from extensions/cua-computer; @trycua/[email protected], its six platform
    packages, and its @ubjs runtime/native packages are added (17 resolved
    packages total). The repository Dependency Guard requires a repository admin
    or @openclaw/openclaw-secops member to approve the exact head
    0c6628cb6383cea4be322b1d240dde2d3345abda with
    /allow-dependencies-change; this PR is waiting for that human approval.
  • extensions/cua-computer/doctor-contract-api.ts provides the plugin-owned
    migration and warning for the shipped driverPath setting. Its focused test
    proves removal before strict validation and idempotence; the bundled-metadata
    test proves the sidecar ships for the doctor registry.
  • Focused production/test typechecks and
    node scripts/run-vitest.mjs extensions/cua-computer/src/driver-client.test.ts extensions/cua-computer/src/commands.test.ts extensions/cua-computer/src/driver-contract-fixtures.test.ts
    passed: 3 files, 11 tests.
  • The CI repair follow-up passed node scripts/run-oxlint.mjs extensions/cua-computer, pnpm deadcode:dependencies,
    pnpm deadcode:unused-files, pnpm docs:map:check,
    pnpm format:docs:check, pnpm format:check, and git diff --check.
  • Fresh autoreview --mode uncommitted: TruffleHog clean; no actionable
    findings (patch is correct, 0.99).
  • Direct sessions now call the required 0.14.1 startSession exactly once with
    the fixed OpenClaw-owned session id and desktop scope, and pair it with
    endSession before handle/runtime teardown. Focused CUA suite: 6 files,
    46 tests; extension type and lint proof passed.
  • Linux desktop proof completed through Crabbox local-container (not a remote
    provider): the isolated Xvfb host registered both node-host commands, returned
    a real 320x180 PNG screen.snapshot (2297 bytes) and frame id, then accepted
    a harmless center computer.act(mouse_move) using that frame/reference width.
  • Rebased cleanly onto origin/main afe024e8c7990e9ced295f544c3cc5502c7136d4.
    The post-rebase CUA and bundled-sidecar proof passed (84 tests).
    Testbox/Crabbox was unavailable because Blacksmith was unauthenticated and
    managed provider auth was unavailable. The trusted local changed gate then
    stopped at the inherited environment-count ratchet (516 names vs unchanged
    origin/main budget 517); this PR adds/removes no OPENCLAW_* identifier.

@RomneyDa
RomneyDa force-pushed the orclaw/cu-1-contract-fixtures branch from c9eccb1 to d5cc4d8 Compare August 1, 2026 04:58
@RomneyDa
RomneyDa requested a review from a team as a code owner August 1, 2026 04:58
@openclaw-barnacle openclaw-barnacle Bot added docs Improvements or additions to documentation size: XL and removed size: M labels Aug 1, 2026
@RomneyDa RomneyDa changed the title chore(cua-computer): freeze CUA Driver 0.14.1 fixtures refactor(cua-computer): replace daemon MCP with CUA Driver SDK Aug 1, 2026
@github-actions github-actions Bot added the dependencies-changed PR changes dependency-related files label Aug 1, 2026
@github-actions

github-actions Bot commented Aug 1, 2026

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
  • pnpm-lock.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 1, 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.

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

  • extensions/cua-computer/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 (0c6628cb6383cea4be322b1d240dde2d3345abda) when it reruns. A later push requires a fresh approval.

@clawsweeper clawsweeper Bot added the rating: 🧂 unranked krab Not merge-ready due to missing proof or serious correctness/safety concerns. label Aug 1, 2026
@RomneyDa
RomneyDa force-pushed the orclaw/cu-1-contract-fixtures branch from d5cc4d8 to e988e96 Compare August 1, 2026 05:11
@clawsweeper clawsweeper Bot added 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. P2 Normal backlog priority with limited blast radius. 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. and removed rating: 🧂 unranked krab Not merge-ready due to missing proof or serious correctness/safety concerns. labels Aug 1, 2026
@clawsweeper

clawsweeper Bot commented Aug 1, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge. Reviewed August 2, 2026, 7:38 AM ET / 11:38 UTC.

ClawSweeper review

What this changes

Replaces the experimental Windows/Linux cua-computer plugin’s external CUA Driver daemon/MCP transport with the packaged CUA Driver 0.14.1 SDK, removes driverPath, and migrates that retired setting through Doctor.

Merge readiness

⚠️ Ready for maintainer review - 5 items remain

Keep this PR open for human security/admin review. The branch has addressed the earlier retired-config migration finding and preserves the existing node command surface, but it replaces a separately launched daemon with a packaged native SDK running an unrestricted trusted desktop session and changes the resolved dependency graph; repository policy and the Dependency Guard require approval of the exact head before merge.

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

Review scores

Measure Result What it means
Overall readiness 🦐 gold shrimp (3/6) The implementation is focused and the earlier migration finding is repaired, but native dependency provenance and the intentional desktop trust boundary remain for human approval.
Proof confidence 🌊 off-meta tidepool Not applicable: This is member-authored, so external-contributor proof is not a merge gate; the PR comments nevertheless provide post-fix macOS lifecycle and isolated Linux desktop snapshot/action evidence.
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 is member-authored, so external-contributor proof is not a merge gate; the PR comments nevertheless provide post-fix macOS lifecycle and isolated Linux desktop snapshot/action evidence.
Evidence reviewed 5 items Current-main baseline and upgrade path: Current main still publishes plugins.entries.cua-computer.config.driverPath as a strict plugin setting, while this branch removes it and adds a plugin-owned Doctor normalizer before strict validation. The migration is narrowly scoped and idempotence is covered by the added test.
Direct-session lifecycle: The proposed runtime fixes a non-model-controlled authorization ceiling, creates one generated OpenClaw-owned trusted session, starts it before driver calls, and ends it before closing the session/runtime. The public node commands remain screen.snapshot and computer.act.
Dependency and security gate: The branch replaces @modelcontextprotocol/sdk with @trycua/[email protected] and adds platform-native resolved packages. The provided Dependency Guard comment requires a repository admin or @openclaw/openclaw-secops approval for this exact head before the dependency graph may land.
Findings None None.
Security Needs attention Approve the native SDK desktop authority before merge: The new in-process driver creates an OpenClaw-owned Unrestricted trusted session and adds platform-native packages. This is intentional but expands the process trust boundary, so the exact resolved graph and authorization model need security/admin approval before landing.

How this fits together

The cua-computer plugin is a Windows/Linux node-host implementation of OpenClaw’s portable screen.snapshot and computer.act commands. It receives paired-node tool requests, captures or controls the desktop through a driver, then returns snapshots and action results to the gateway agent.

flowchart LR
  A[Gateway agent tool request] --> B[Paired Windows or Linux node]
  B --> C[CUA Computer plugin]
  C --> D[Trusted CUA Driver session]
  D --> E[Desktop capture or input]
  E --> F[Snapshot frame or action result]
  F --> A
Loading

Decision needed

Question Recommendation
Should a repository admin or @openclaw/openclaw-secops member approve the exact head’s CUA Driver 0.14.1 native dependency graph and OpenClaw-owned unrestricted desktop-session boundary? Approve the exact dependency boundary: Authorize this head after reviewing the CUA Driver package provenance, platform packages, and intended unrestricted desktop authority.

Why: This is an intentional trust-boundary and supply-chain choice, not a mechanical defect a reviewer can safely resolve from the TypeScript diff alone; the repository Dependency Guard explicitly requires human authorization for the exact head.

Before merge

  • Resolve security concern: Approve the native SDK desktop authority before merge - The new in-process driver creates an OpenClaw-owned Unrestricted trusted session and adds platform-native packages. This is intentional but expands the process trust boundary, so the exact resolved graph and authorization model need security/admin approval before landing.
  • Resolve merge risk (P1) - Merging introduces a native, platform-specific dependency graph and moves desktop authority into the OpenClaw process under SessionPermissionMode.Unrestricted; the required exact-head security/admin approval is still absent.
  • Resolve merge risk (P1) - Existing operators with plugins.entries.cua-computer.config.driverPath must pass through the bundled Doctor migration before strict plugin validation; the PR supplies that path, but final supported-platform CI and packaged-artifact results are still in progress.
  • Complete next step (P2) - A member-authored, maintainer-labeled native dependency and security-boundary change requires explicit human security/admin authorization rather than an automated repair or cleanup action.

Findings

  • [medium] Approve the native SDK desktop authority before merge — extensions/cua-computer/src/driver-client.ts:49
Agent review details

Security

Needs attention: The diff deliberately introduces a native SDK and an unrestricted trusted desktop session; no line-level exploit was established, but the exact dependency and authority boundary requires the repository’s required human approval.

PR surface

Source +3, Tests -651, Docs 0, Config 0, Other +152. Total -496 across 19 files.

View PR surface stats
Area Files Added Removed Net
Source 8 575 572 +3
Tests 6 380 1031 -651
Docs 3 24 24 0
Config 1 2 2 0
Generated 0 0 0 0
Other 1 155 3 +152
Total 19 1136 1632 -496

Review metrics

Metric Value Why it matters
Retired configuration surface 1 removed: plugins.entries.cua-computer.config.driverPath Existing installations need Doctor migration before the now-strict empty plugin config is accepted.

Stored data model

Persistent data-model change detected: database schema: extensions/cua-computer/src/driver-client.test.ts, database schema: extensions/cua-computer/src/driver-contract-fixtures.test-fixtures.ts, database schema: extensions/cua-computer/src/driver-contract-fixtures.test.ts, migration/backfill/repair: extensions/cua-computer/doctor-contract-api.test.ts, migration/backfill/repair: extensions/cua-computer/doctor-contract-api.ts, migration/backfill/repair: extensions/cua-computer/src/driver-contract-fixtures.test.ts, and 3 more. Migration or upgrade compatibility proof is recorded; maintainers should verify it before merge.

Merge-risk options

Maintainer options:

  1. Approve the reviewed native SDK change (recommended)
    A repository admin or security reviewer should approve the exact head after confirming the package provenance and the intended trusted-session permissions.
  2. Pause for a different trust boundary
    Do not merge if maintainers require desktop authority to remain outside the OpenClaw process or require a narrower session permission model.

Technical review

Best possible solution:

Land only after an authorized reviewer approves the exact native dependency graph and trusted-session boundary, and after the current-head supported-platform/package checks confirm the Doctor migration and node commands work in the built distribution.

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

Not applicable as a bug report: this PR is a transport refactor. The supplied comments contain after-fix macOS and isolated Linux desktop exercises, but this read-only review did not execute the native SDK.

Is this the best way to solve the issue?

Unclear: the direct SDK migration is coherent with the plugin ownership boundary and removes obsolete daemon machinery, but the exact upstream native SDK contract and package provenance need the required human approval before calling it the best final solution.

AGENTS.md: found and applied where relevant.

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

Labels

Label justifications:

  • P2: This is a bounded change to an optional experimental Windows/Linux plugin, but it alters a real desktop-control implementation and upgrade path.
  • merge-risk: 🚨 compatibility: The PR removes the shipped driverPath setting and requires Doctor to migrate existing plugin configuration before strict validation.
  • merge-risk: 🚨 security-boundary: The plugin moves desktop capture/input to a packaged native SDK using an OpenClaw-owned unrestricted trusted session.
  • rating: 🦐 gold shrimp: Overall readiness is 🦐 gold shrimp; proof is 🌊 off-meta tidepool and patch quality is 🦐 gold shrimp.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Not applicable: This is member-authored, so external-contributor proof is not a merge gate; the PR comments nevertheless provide post-fix macOS lifecycle and isolated Linux desktop snapshot/action evidence.

Evidence

Security concerns:

  • [medium] Approve the native SDK desktop authority before merge — extensions/cua-computer/src/driver-client.ts:49
    The new in-process driver creates an OpenClaw-owned Unrestricted trusted session and adds platform-native packages. This is intentional but expands the process trust boundary, so the exact resolved graph and authorization model need security/admin approval before landing.
    Confidence: 0.93

What I checked:

  • Current-main baseline and upgrade path: Current main still publishes plugins.entries.cua-computer.config.driverPath as a strict plugin setting, while this branch removes it and adds a plugin-owned Doctor normalizer before strict validation. The migration is narrowly scoped and idempotence is covered by the added test. (extensions/cua-computer/index.ts:5, a530a7bd70d4)
  • Direct-session lifecycle: The proposed runtime fixes a non-model-controlled authorization ceiling, creates one generated OpenClaw-owned trusted session, starts it before driver calls, and ends it before closing the session/runtime. The public node commands remain screen.snapshot and computer.act. (extensions/cua-computer/src/driver-client.ts:45, 0c6628cb6383)
  • Dependency and security gate: The branch replaces @modelcontextprotocol/sdk with @trycua/[email protected] and adds platform-native resolved packages. The provided Dependency Guard comment requires a repository admin or @openclaw/openclaw-secops approval for this exact head before the dependency graph may land. (extensions/cua-computer/package.json:5, 0c6628cb6383)
  • Review-cycle continuity: The earlier migration blocker is resolved by commit 45a6a82751be22c9b44539e1b11b17588f5937e0; the latest commit adds the missing direct-session start/end lifecycle. The current head is based on the supplied current-main SHA. (extensions/cua-computer/doctor-contract-api.ts:1, 45a6a82751be)
  • Available proof and source limitation: The PR discussion includes post-fix macOS lifecycle and isolated Linux Xvfb snapshot/action evidence, plus focused test and type/lint claims. The exact npm package source and upstream tag could not be independently fetched or inspected in this read-only environment because DNS/network access and the package install were unavailable. (0c6628cb6383)

Likely related people:

  • Dallin Romney: Authored the branch’s CUA migration, retired-config repair, and latest direct-session lifecycle commit; best available routing contact for the proposed owner-plugin change. (role: recent cua-computer refactor author; confidence: medium; commits: 17585794fd24, 54294f2c20b8, 45a6a82751be; files: extensions/cua-computer/src/driver-client.ts, extensions/cua-computer/src/commands.ts, extensions/cua-computer/doctor-contract-api.ts)
  • Peter Steinberger: Available path history identifies recent work on plugin resolution infrastructure relevant to bundled-plugin metadata and Doctor contract loading; the partial clone could not retrieve older CUA-specific provenance for a stronger attribution. (role: recent adjacent plugin-infrastructure contributor; confidence: low; commits: 87be38ea735b; files: src/plugins/bundled-plugin-metadata.ts, src/plugins/doctor-contract-registry.ts)

Rank-up moves

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

  • Obtain the required exact-head repository admin or security approval for the dependency graph and trusted-session boundary.
  • Let the current-head packaging and supported-platform checks complete before merge.

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-01T05:22:30.992Z sha 27d458b43af26e7c4cd91df0d064b3f9517852e3 :: found issues before merge. :: [P1] Migrate the retired driverPath configuration
  • reviewed 2026-08-01T09:39:46.878Z sha b303501 :: needs maintainer review before merge. :: none
  • reviewed 2026-08-02T11:19:34.359Z sha b303501 :: needs maintainer review before merge. :: none

@RomneyDa
RomneyDa force-pushed the orclaw/cu-1-contract-fixtures branch 2 times, most recently from 7305fb1 to b303501 Compare August 1, 2026 09:34
@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 1, 2026
@RomneyDa

RomneyDa commented Aug 2, 2026

Copy link
Copy Markdown
Member Author

Local CUA hard-cut / upgrade proof

Ran on PR head b30350131b8a6bfd0066a4e84791384cd93b9ff2 in the trusted local macOS arm64 worktree (Node v24.18.0, pnpm 11.15.1). No source change resulted.

  • pnpm build completed locally.
  • node scripts/run-vitest.mjs extensions/cua-computer passed: 6 files / 45 tests. Coupled bundled-plugin metadata, doctor-registry load-path, and legacy-config migration selections completed too.
  • pnpm tsgo:core:test, pnpm tsgo:extensions, pnpm tsgo:extensions:test, scoped plugin Oxlint, pnpm format:check, node scripts/check-deadcode-exports.mjs, and git diff --check origin/main...HEAD completed successfully.
  • Upgrade proof used an isolated old config with plugins.entries.cua-computer.config.driverPath. openclaw doctor --fix --non-interactive detected and removed exactly that retired key, retained the enabled plugin entry with config: {}, and wrote its normal backup. After openclaw plugins registry --refresh, openclaw doctor --post-upgrade --json exited successfully with findings: [].
  • Native SDK lifecycle proof used the installed @trycua/[email protected]: CuaDriver.createConfigured with the fixed OpenClaw authorization ceiling; one trusted session; runtime.isAvailable() === true; then session close, runtime shutdown, and UniFFI destruction all completed. A real getDesktopState({}) made through that session returned the structured native refusal desktop_escalation_required; no screenshot/image was emitted and no input was injected.

Limitation, explicitly not concealed: this local runner is macOS while the plugin supports Windows/Linux, and the native SDK requires desktop escalation here. This proves direct native construction/lifecycle and safe permission refusal, not a supported-platform snapshot/action success. No attempt was made to bypass host permissions or control the desktop.

Also observed: after completing its migration work, isolated doctor --fix --non-interactive does not exit on this host; bounded gtimeout --preserve-status 25 terminated it with exit 143. The independent post-upgrade doctor check exited cleanly with zero findings. Recorded as a local CLI/proof gap; this PR does not mask or alter it.

@clawsweeper clawsweeper Bot added status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. and removed status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. labels Aug 2, 2026
@RomneyDa
RomneyDa force-pushed the orclaw/cu-1-contract-fixtures branch from b303501 to 0c6628c Compare August 2, 2026 11:32
@RomneyDa

RomneyDa commented Aug 2, 2026

Copy link
Copy Markdown
Member Author

Direct-session repair and Linux desktop proof

PR head: 0c6628cb6383cea4be322b1d240dde2d3345abda.

During local native validation, the released 0.14.1 SDK correctly reported that OpenClaw had created a trusted session without the required startSession. This update starts one fixed OpenClaw-owned desktop session lazily before the first tool call and pairs every successful start with endSession before trusted-handle/runtime cleanup. It does not add a fallback or make authorization, session identity, or capture scope model-controlled.

Proof:

  • Local CUA suite passed: 6 files / 46 tests; extension production/test type checks, scoped lint, formatting, dead-code, and diff checks passed.
  • A real macOS createCuaDriver() source exercise, after cmux permissions were approved, returned one PNG image (841,322 bytes) and disposed cleanly. No desktop input was sent.
  • Linux desktop E2E passed through Crabbox local-container fallback (not remote Crabbox): lease cbx_f33f71e84a86, disposable node:24-bookworm Linux arm64 host with Xvfb. The exact PR plus local repair registered screen.snapshot and computer.act, returned a real PNG snapshot (320x180, 2297 bytes) and frame id, then accepted a harmless mouse_move to the isolated desktop center with that frame id and refWidth.

The normal remote desktop routes remain unavailable in this environment: Hetzner has no token, Blacksmith Testbox is unauthenticated, and no CUA adapter is configured. The local-container lease auto-cleaned after the successful run.

@RomneyDa
RomneyDa merged commit e9b25aa into main Aug 2, 2026
126 of 127 checks passed
@RomneyDa
RomneyDa deleted the orclaw/cu-1-contract-fixtures branch August 2, 2026 12:03
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Aug 3, 2026
…law#117205)

* chore(cua-computer): freeze CUA Driver 0.14.1 fixtures

* refactor(cua-computer): use CUA Driver SDK directly

* fix(cua-computer): repair CUA CI checks

* style(cua-computer): format driver cleanup

* fix(cua-computer): migrate retired driver path

* fix(cua-computer): start direct driver sessions
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: XL status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant