@amaster.ai/pi-computer-use-cua-driver-linux-arm64 0.1.1 → 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 +4 -4
- package/bin/.version +1 -1
- package/bin/cua-cursor-theme +0 -0
- package/bin/cua-driver +2 -2
- package/bin/wayland-helper/README.md +8 -8
- package/package.json +2 -2
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.
|
|
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.
|
|
6
|
-
- Asset: `cua-driver-rs-0.
|
|
7
|
-
- SHA256: `
|
|
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.
|
|
1
|
+
cua-driver-rs-v0.34.0
|
package/bin/cua-cursor-theme
CHANGED
|
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:
|
|
4
|
-
sha256:
|
|
3
|
+
size: 54065328 bytes
|
|
4
|
+
sha256: e989fa537a8c06a8d5ec7e9be692b04b2f7e76e46feb52e9c222420556bbf476
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# cua WinRects
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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()
|
|
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)
|
|
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)
|
|
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,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@amaster.ai/pi-computer-use-cua-driver-linux-arm64",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.2",
|
|
4
4
|
"description": "Cua Driver runtime for pi-computer-use on Linux ARM64",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"files": [
|
|
@@ -28,5 +28,5 @@
|
|
|
28
28
|
"./bin/wayland-helper/install.sh"
|
|
29
29
|
]
|
|
30
30
|
},
|
|
31
|
-
"cuaDriverVersion": "0.
|
|
31
|
+
"cuaDriverVersion": "0.34.0"
|
|
32
32
|
}
|