@amaster.ai/pi-computer-use-cua-driver-linux-arm64 0.1.0 → 0.1.2

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/SOURCE.md CHANGED
@@ -1,8 +1,8 @@
1
1
  # Cua Driver runtime
2
2
 
3
- This package redistributes the Linux runtime files from Cua Driver Rust 0.28.1 without modification.
3
+ This package redistributes the Linux runtime files from Cua Driver Rust 0.34.0 without modification.
4
4
 
5
- - Release: https://github.com/trycua/cua/releases/tag/cua-driver-rs-v0.28.1
6
- - Asset: `cua-driver-rs-0.28.1-linux-arm64.tar.gz`
7
- - SHA256: `a863951ef0699fd25091adb87bd114d69709b887fdfc059e795aca49ef8ac19c`
5
+ - Release: https://github.com/trycua/cua/releases/tag/cua-driver-rs-v0.34.0
6
+ - Asset: `cua-driver-rs-0.34.0-linux-arm64.tar.gz`
7
+ - SHA256: `0f72702c2e720286a282bfe9e917ba4d5262d0b5a46e12f6c69d58a4878bc2eb`
8
8
  - Upstream license: MIT; see `LICENSE.md`
package/bin/.version CHANGED
@@ -1 +1 @@
1
- cua-driver-rs-v0.28.1
1
+ cua-driver-rs-v0.34.0
Binary file
package/bin/cua-driver CHANGED
@@ -1,4 +1,4 @@
1
1
  [diffend] Oversized file quarantined before diffing.
2
2
  name: package/bin/cua-driver
3
- size: 47100880 bytes
4
- sha256: 0c760b8f0d7ad76c83a58fae5173acff189f188e69ff0fc5583b199d25db18ff
3
+ size: 54065328 bytes
4
+ sha256: e989fa537a8c06a8d5ec7e9be692b04b2f7e76e46feb52e9c222420556bbf476
@@ -1,4 +1,4 @@
1
- # cua WinRects — GNOME Shell helper extension (Wayland)
1
+ # cua WinRects: GNOME Shell helper extension (Wayland)
2
2
 
3
3
  A small GNOME Shell extension that lets cua-driver get **pixel coordinates**,
4
4
  activate an exact target window, capture the compositor stage, and draw the
@@ -7,28 +7,28 @@ these things globally.
7
7
 
8
8
  It exposes `org.cua.WinRects` on the session bus:
9
9
 
10
- - `GetVersion() -> uint` — a browser-sensitive API version. cua-driver only
10
+ - `GetVersion() -> uint`: a browser-sensitive API version. cua-driver only
11
11
  accepts it after resolving the immutable D-Bus owner and proving the owner is
12
12
  the current user's system-installed `gnome-shell` process.
13
- - `GetRects() -> json` — every window's frame geometry and surface-buffer
13
+ - `GetRects() -> json`: every window's frame geometry and surface-buffer
14
14
  origin. cua-driver combines the buffer origin with AT-SPI
15
15
  `CoordType::Window` per-widget coords: `screen = origin + window_xy`. This is
16
16
  the GNOME analogue of the X11 `_GTK_FRAME_EXTENTS` reconstruction (AT-SPI's
17
17
  `CoordType::Screen` is `(0,0)` for every widget on Mutter). Keeping the frame
18
18
  and buffer origins separate accounts for GTK client-side shadows.
19
- - `Activate(id) -> bool` — activate one Shell stable-sequence window and report
19
+ - `Activate(id) -> bool`: activate one Shell stable-sequence window and report
20
20
  whether the request was accepted. cua-driver verifies focus through a second
21
21
  `GetRects` snapshot before sending focus-bound portal/libei input, preventing
22
22
  input from leaking into whichever application happened to be focused.
23
- - `Capture() -> png_base64` — capture the compositor stage through Shell's
23
+ - `Capture() -> png_base64`: capture the compositor stage through Shell's
24
24
  screenshot API. cua-driver crops it with the same authoritative geometry.
25
- - `MoveCursor(x,y)` / `ClickPulse(x,y)` / `HideCursor()` — position and hide
25
+ - `MoveCursor(x,y)` / `ClickPulse(x,y)` / `HideCursor()`: position and hide
26
26
  the agent cursor as a Clutter actor on the compositor stage.
27
- - `SetCursorState(action,delivery,target,active)` — render the same 12 semantic
27
+ - `SetCursorState(action,delivery,target,active)`: render the same 12 semantic
28
28
  action states as the cross-platform `cua.default` cursor theme. Delivery and
29
29
  target context appears as host-owned chips in the session badge rather than
30
30
  pointer-relative theme artwork. This contract requires helper v8.
31
- - `SetCursorColor(fill_color)` — apply the stable per-session fill selected by
31
+ - `SetCursorColor(fill_color)`: apply the stable per-session fill selected by
32
32
  cua-driver. The helper validates the `#RRGGBB` value, updates the matching
33
33
  glow, and keeps a white pointer outline.
34
34
 
package/package.json CHANGED
@@ -1,16 +1,32 @@
1
1
  {
2
2
  "name": "@amaster.ai/pi-computer-use-cua-driver-linux-arm64",
3
- "version": "0.1.0",
4
- "cuaDriverVersion": "0.28.1",
3
+ "version": "0.1.2",
5
4
  "description": "Cua Driver runtime for pi-computer-use on Linux ARM64",
6
5
  "license": "MIT",
7
- "files": ["bin", "LICENSE.md", "SOURCE.md"],
8
- "os": ["linux"],
9
- "cpu": ["arm64"],
10
- "libc": ["glibc"],
11
- "exports": { "./package.json": "./package.json" },
6
+ "files": [
7
+ "bin",
8
+ "LICENSE.md",
9
+ "SOURCE.md"
10
+ ],
11
+ "os": [
12
+ "linux"
13
+ ],
14
+ "cpu": [
15
+ "arm64"
16
+ ],
17
+ "libc": [
18
+ "glibc"
19
+ ],
20
+ "exports": {
21
+ "./package.json": "./package.json"
22
+ },
12
23
  "publishConfig": {
13
24
  "access": "public",
14
- "executableFiles": ["./bin/cua-driver", "./bin/cua-cursor-theme", "./bin/wayland-helper/install.sh"]
15
- }
25
+ "executableFiles": [
26
+ "./bin/cua-driver",
27
+ "./bin/cua-cursor-theme",
28
+ "./bin/wayland-helper/install.sh"
29
+ ]
30
+ },
31
+ "cuaDriverVersion": "0.34.0"
16
32
  }