You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Independence 3: cua's own REPL host and a vendor-compatible cua JS API (replace @oai/cua, cua-repl, node_repl) #116
Child 3 of the independence composite. The JS API the model learns from the first-call document, the REPL and the trusted-service delegation are the vendor's (@oai/cua, @oai/cua-repl, the node_repl binary and the vendor Node). The owner's ruling (2026-10-13, #113 round 1) keeps the API vendor-compatible so the first-call document, the plugin's skills, MAWS's adapter and remote devices move unchanged; this child makes the implementation cua's.
Goal
cua's own REPL host (a Node process cua ships or the user's Node, under child 2's sandbox) exposing a compatible cua API: the same methods, documents and error shapes as today where the model relies on them, with cua's extensions (the limits #113 lifts, where their enforcement turns out to be client-side; anything else the owner approves). The first-call API document becomes cua's text. The trusted services (sky, browser) are called through cua's own delegation, not NODE_REPL_TRUSTED_SERVICES.
Acceptance
The existing suites and the native and browser acceptance scripts pass against the new REPL; a compatibility fixture replays the vendor API's documented calls and compares results; MAWS e2e browser suites and the cua-remote acceptance pass unchanged; the browser benchmark and the native baseline show no regression; README, spec Decision Log, plugin minor bump.
Open
Ordered after #113 (the service contract is what the REPL side must keep); the exact compatible subset is derived from the first-call document and the skills' usage, listed in the design.
[board] in-design: Opened 2026-10-14 after #113 landed (owner's choice). Research passes on the readable tree (@oai/cua + cua-repl; node_repl host and its wire with cua's MCP server) running; design through brainstorming next, same method as #113: port in the vendor's shape from readable chatgpt-26.928.40906, differential parity harness as the oracle.
[board] in-progress: Spec committed and reviewed (design: adversarial P1+P2 fixed; execution section: adversarial 3×P2 fixed; session fix: explicit CUA_REPL_HOST=cua on an implicit vendor route refuses). Plan-executor dispatched for M0–M5 on the same cadence as #113.
Defaults: Linux sessions and macOS browser-only sessions now use cua's own REPL host on a pinned Node 24.22.0 that cua install places under $CUA_HOME/node. Without Node 24 an implicit default stays on the vendor host with own_host_node_unavailable, and doctor warns. Explicit CUA_REPL_HOST=cua refuses rather than downgrading. macOS computer-surface sessions stay vendor until Independence 4: cua's own native accessibility engine (replace sky) measured against a native baseline #117. Host 0.5.0, plugin 0.12.0.
Acceptance: mini --suite all 479/479, 0 unexpected, inventory 542/542; browser corpus 0 unexpected against 3 vendor controls; selection lane 260/260 on both devices; MAWS probe PASS and e2e:browser-cua green on the mini runner; remote acceptance on the mini browser-only and Linux computer,browser endpoints, kill-client exactly 1 on both; Linux 0 differences over 490 cases (qualified for the two cua-linux VM Chrome: Input.synthesizeScrollGesture stalls after an ssh-launched Chrome; browser scroll cases pending-environment in #116 M4 #141 scroll members, proven on the mini at M5).
Session steps done: mini resident checkout updated to 8c3392d with the managed Node installed; installed-agent rollback proved (explicit CUA_REPL_HOST=vendor stored in the launchd job and answered by vendor node_repl; restored without the override, still vendor by macos_native_peer_requires_vendor, a real call answers). Relay test endpoints removed (3 original devices). cua-linux VM stopped and resized to 2 vCPU/4 GB; cua-bench GCE box deleted.
Activity
SSFSKIM commentedon Oct 14, 2026
[board] in-design: Opened 2026-10-14 after #113 landed (owner's choice). Research passes on the readable tree (@oai/cua + cua-repl; node_repl host and its wire with cua's MCP server) running; design through brainstorming next, same method as #113: port in the vendor's shape from readable chatgpt-26.928.40906, differential parity harness as the oracle.
SSFSKIM commentedon Oct 14, 2026
[board] in-progress: Spec committed and reviewed (design: adversarial P1+P2 fixed; execution section: adversarial 3×P2 fixed; session fix: explicit CUA_REPL_HOST=cua on an implicit vendor route refuses). Plan-executor dispatched for M0–M5 on the same cadence as #113.
Own REPL host (#116): M0 pre-flight, task split, cells lane and routi…
Own REPL host (#116): Decision Log, own-host Node resolution order (s…
Own REPL host (#116): Decision Log, hostAttestation shape (session ru…
Own REPL host (#116) M0 task 1: HostSelection and HostIdentity
187 remaining items
Own REPL host (#116) M5 task 5: host-axis model benchmark 3+3 on the …
Own REPL host (#116) M5: remote acceptance and browser benchmark ruli…
Own REPL host (#116) M5 task 6: cua-linux sandwich at fabfb11: vendor…
Own REPL host (#116) M5 task 6: cua-linux sandwich complete at fabfb11:…
Own REPL host (#116) M5 task 6: Linux remote endpoint (computer,brows…
Own REPL host (#116) M5: #141 Linux exception carried into M5 (sessio…
Own REPL host (#116) M5: Linux M5 completeness rests on the M4-scope …
Own REPL host (#116) M5: Linux diffs at --through M4 under the record…
Own REPL host (#116) M5: Progress ticked, Outcomes entry, execution r…
Own REPL host (#116) M5: execution report, PR link
Merge pull request #149 from SSFSKIM/feat/own-repl-host-m5
SSFSKIM commentedon Oct 17, 2026
M5 merged: PR #149 at 8c3392d. #116 is complete.
cua installplaces under $CUA_HOME/node. Without Node 24 an implicit default stays on the vendor host withown_host_node_unavailable, and doctor warns. Explicit CUA_REPL_HOST=cua refuses rather than downgrading. macOS computer-surface sessions stay vendor until Independence 4: cua's own native accessibility engine (replace sky) measured against a native baseline #117. Host 0.5.0, plugin 0.12.0.SSFSKIM commentedon Oct 17, 2026
[board] done: M5 merged at 8c3392d (PR #149); all milestones M0–M5 complete.