@trycua/cua-driver 0.19.2 → 0.20.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -30,7 +30,6 @@ agent SDK.
30
30
 
31
31
  ```ts
32
32
  import {
33
- CaptureScope,
34
33
  CuaDriver,
35
34
  CursorReducedMotion,
36
35
  EndSessionInput,
@@ -43,7 +42,6 @@ const driver = CuaDriver.create(undefined) // same process; no daemon
43
42
  await driver.startSession(
44
43
  StartSessionInput.new({
45
44
  session: "demo",
46
- captureScope: CaptureScope.Desktop,
47
45
  }),
48
46
  )
49
47
 
@@ -73,7 +71,13 @@ images, verification/error metadata, and `structuredJson` / `rawJson` for
73
71
  platform-extensible results. Session lifecycle calls return dedicated generated
74
72
  records.
75
73
 
76
- The agent cursor is session-owned. Its default theme and custom dotLottie
74
+ `startSession` is optional for ordinary calls. The runtime creates one
75
+ implicit session for this SDK transport and reuses it until shutdown, explicit
76
+ end, or five minutes of inactivity. Use a named session when application code
77
+ needs to configure or inspect that run explicitly.
78
+
79
+ The agent cursor is session-owned and initializes on the first cursor-bearing
80
+ action, including `moveCursor`. Its default theme and custom dotLottie
77
81
  authoring workflow are documented in
78
82
  [`docs/cursor-themes.md`](../docs/cursor-themes.md). Custom source is compiled
79
83
  and installed with the local CLI; SDK and MCP tools select only an installed
@@ -174,6 +178,10 @@ OS and CPU. It does not bundle the `cua-driver` executable: ship that executable
174
178
  outside ASAR, preserve its executable bit, and sign it before signing and
175
179
  notarizing the enclosing app.
176
180
 
181
+ Windows native packages statically link the Microsoft C runtime, so importing
182
+ the SDK on a clean x64 or ARM64 Windows installation does not require a separate
183
+ Visual C++ Redistributable installation.
184
+
177
185
  Each native package also carries Cua's copy-mode build of the pinned
178
186
  `@ubjs/node` N-API runtime. Upstream `0.31.0-3` returns Rust-owned memory through
179
187
  external ArrayBuffers, which Electron 20 and newer intentionally reject because