@agent-sh/computer-use-linux 0.7.11 → 0.7.13
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 +19 -3
- package/npm/README.md +3 -1
- package/npm/bin/computer-use-linux.js +4 -0
- package/npm/install.js +45 -4
- package/package.json +1 -1
- package/pi/extension/THIRD_PARTY_NOTICES.txt +2 -2
- package/pi/extension/generated-tools.ts +1 -1
- package/pi/extension/index.ts +15 -0
- package/pi/extension/mcp-client.bundle.cjs +29 -29
- package/skills/computer-use-linux/SKILL.md +2 -1
package/README.md
CHANGED
|
@@ -92,6 +92,16 @@ On GNOME, a read-only keymap preflight rejects the whole string before input if
|
|
|
92
92
|
- `activate_window` — focus a window by `window_id`, `pid`, `app_id`, `wm_class`, `title`, or terminal selectors
|
|
93
93
|
- `move_window` / `resize_window` — reposition or resize a window in desktop coordinates (GNOME Shell extension backend); useful to recover windows that are partially off-screen
|
|
94
94
|
|
|
95
|
+
**On-screen indicator**
|
|
96
|
+
|
|
97
|
+
While an agent acts, the server drives `computer-use-linux-indicator`, a click-through overlay that shows what it is doing: a software cursor tinted per agent that glides to each coordinate `click`, `drag`, or `scroll` target and ripples on click (AT-SPI actions such as `perform_action`, `set_value`, and element clicks show in the pill without moving it, since no pointer moves); keycaps for `press_key` and a typing line for `type_text`; a glow along every screen edge; and a status pill such as *Claude is using your computer · click*. Pointer actions wait 350 ms so the cursor lands before the real input. While `screenshot` or `get_app_state` captures the screen, the overlay draws nothing, so agents never see it: not their own, not one shown for another agent, and not one that another agent starts mid-capture. This holds with `COMPUTER_USE_LINUX_INDICATOR=0` too, which only stops a server from showing its own actions. The capture waits for the compositor only when something was on screen. The agent name comes from the MCP client's `clientInfo`.
|
|
98
|
+
|
|
99
|
+
The server starts the indicator on the first action and it exits after ten idle minutes. It stays hidden between bursts of activity. Compositors with `wlr-layer-shell` use the shared-memory overlay. GNOME uses native Shell actors through the bundled extension. Run `setup_window_targeting` once, then log out and back in after installing or updating the extension. Both renderers use the same capture lock and acknowledgement protocol. Set `COMPUTER_USE_LINUX_INDICATOR=0` to turn it off.
|
|
100
|
+
|
|
101
|
+
Screenshot processing uses one blocking worker per server. Captures enter one pipeline before reading pixels, so concurrent requests do not queue decoded full-screen images. A source can contain up to 134,217,728 pixels; serial processing bounds decoded-image memory while letting MCP answer other requests during resizing and encoding. Session discovery is reused after a successful probe and refreshed when session variables change. Failed discovery is retried.
|
|
102
|
+
|
|
103
|
+
Captures require the shared capture lock and, when an overlay is running, its acknowledgement that it has hidden. A missing or invalid acknowledgement, a stalled socket, or a failed lock returns a capture error. Concurrent captures keep separate holds; their acknowledgements are exchanged in order.
|
|
104
|
+
|
|
95
105
|
**Conditional host execution**
|
|
96
106
|
|
|
97
107
|
- `complete_interaction` - optional desktop completion notification, registered only with `COMPUTER_USE_LINUX_NOTIFY_ON_COMPLETE=1`. Repeated calls can create repeated notifications; it does not provide desktop exclusivity.
|
|
@@ -140,7 +150,7 @@ Validated manually on Ubuntu 25.10 (GNOME Shell 50.1, Wayland). niri window list
|
|
|
140
150
|
| Hyprland | `hyprctl clients -j` and `hyprctl dispatch focuswindow` | Requires `hyprctl` in the desktop session. |
|
|
141
151
|
| niri | `niri msg` with a direct JSON IPC fallback | Lists toplevels and focuses exact window IDs. Export the session's `NIRI_SOCKET`; otherwise discovery requires an unambiguous socket matching `WAYLAND_DISPLAY`. The fallback works without the `niri` binary. Missing positions remain `null`; bounds are omitted if output scaling is unknown or mixed. |
|
|
142
152
|
| i3 | `i3-msg`; optional `xprop` for PID hydration | Lists and focuses i3 windows over the active i3 IPC socket. |
|
|
143
|
-
| COSMIC Wayland | `computer-use-linux-cosmic` helper | Installed automatically by `./install.sh`, `cargo install`, and npm. For custom/manual layouts, put the helper next to the main binary, on `PATH`, or point `COMPUTER_USE_LINUX_COSMIC_HELPER` at it. |
|
|
153
|
+
| COSMIC Wayland | `computer-use-linux-cosmic` helper | Installed automatically by `./install.sh`, `cargo install`, and npm. For custom/manual layouts, put the helper next to the main binary, on `PATH`, or point `COMPUTER_USE_LINUX_COSMIC_HELPER` at it. The on-screen indicator was validated here (three outputs, mixed fractional scaling). |
|
|
144
154
|
| Sway / generic wlroots | no dedicated backend yet | AT-SPI, screenshots, and global `ydotool` input can still work; exact window list/focus is currently unavailable unless another backend applies. |
|
|
145
155
|
| Generic X11 / XFCE / other EWMH WMs | `wmctrl` plus `xprop` | Lists, focuses, moves, and resizes windows; keyboard input prefers `xdotool`/XTEST, and scroll uses xdotool wheel buttons. Window origins are read from the X server, since `wmctrl -lG` counts the frame offset twice. |
|
|
146
156
|
|
|
@@ -209,7 +219,7 @@ Linux x86_64 / aarch64 builds are published with each tag. Each binary ships a `
|
|
|
209
219
|
```bash
|
|
210
220
|
target=x86_64-unknown-linux-gnu
|
|
211
221
|
base=https://github.com/agent-sh/computer-use-linux/releases/latest/download
|
|
212
|
-
for binary in computer-use-linux computer-use-linux-cosmic; do
|
|
222
|
+
for binary in computer-use-linux computer-use-linux-cosmic computer-use-linux-indicator; do
|
|
213
223
|
asset="$binary-$target"
|
|
214
224
|
curl -L -O "$base/$asset"
|
|
215
225
|
curl -L -O "$base/$asset.sha256"
|
|
@@ -415,6 +425,10 @@ Most setups need none of these — `doctor` and the installers pick sensible def
|
|
|
415
425
|
| --- | --- |
|
|
416
426
|
| `COMPUTER_USE_LINUX_NOTIFY_ON_COMPLETE` | Set exactly to `1` to expose the optional `complete_interaction` notification tool. Requires `notify-send` and a desktop notification service; disabled by default. |
|
|
417
427
|
| `COMPUTER_USE_LINUX_COSMIC_HELPER` | Path to the `computer-use-linux-cosmic` helper when it isn't next to the binary or on `PATH`. |
|
|
428
|
+
| `COMPUTER_USE_LINUX_INDICATOR` | Set to `0` (or `false`/`off`/`no`) to turn off the on-screen indicator. On by default. |
|
|
429
|
+
| `COMPUTER_USE_LINUX_INDICATOR_BIN` | Path to the `computer-use-linux-indicator` overlay when it isn't next to the binary or on `PATH`. |
|
|
430
|
+
| `COMPUTER_USE_LINUX_INDICATOR_HIDE_TEXT` | Set exactly to `1` to mask all typed text and keycaps in the indicator. `set_value` values are always masked. |
|
|
431
|
+
| `COMPUTER_USE_LINUX_AGENT_NAME` | Name shown in the indicator instead of the one derived from the MCP client's `clientInfo`. |
|
|
418
432
|
| `CU_DISABLE_ABS_POINTER` | Disable the uinput absolute pointer. Wayland coordinate actions then need the RemoteDesktop portal; they refuse input rather than use ydotool's relative-motion approximation. Native X11 fallback is unchanged. |
|
|
419
433
|
| `COMPUTER_USE_LINUX_FORCE_PORTAL_POINTER` / `…_KEYBOARD` | Prefer the RemoteDesktop portal on Wayland, skipping auto-detection. Pointer forcing skips the absolute uinput backend. Forced ydotool or XTEST keyboard overrides take precedence; KDE literal text keeps its clipboard route. Portal startup and text conversion failures return errors without replaying through ydotool. |
|
|
420
434
|
| `COMPUTER_USE_LINUX_PORTAL_SCROLL_INVERT` | Set to `1` to reverse vertical scrolling through the RemoteDesktop portal. Defaults to normal direction on both GNOME and KDE Plasma; horizontal direction is unchanged. |
|
|
@@ -439,7 +453,7 @@ files.
|
|
|
439
453
|
| `COMPUTER_USE_LINUX_BIN` | Run this absolute binary path instead of the one bundled by the npm package. Relative paths are ignored. |
|
|
440
454
|
| `COMPUTER_USE_LINUX_DOWNLOAD_BASE` | Override the GitHub release base URL the installer downloads from (mirrors, air-gapped hosts). |
|
|
441
455
|
| `COMPUTER_USE_LINUX_SKIP_DOWNLOAD=1` | Skip the post-install binary download entirely. |
|
|
442
|
-
| `COMPUTER_USE_LINUX_LOCAL_BINARY` / `…_LOCAL_COSMIC_HELPER` | Install from a local build instead of downloading (used by CI and local testing). |
|
|
456
|
+
| `COMPUTER_USE_LINUX_LOCAL_BINARY` / `…_LOCAL_COSMIC_HELPER` / `…_LOCAL_INDICATOR` | Install from a local build instead of downloading (used by CI and local testing). |
|
|
443
457
|
|
|
444
458
|
## Architecture
|
|
445
459
|
|
|
@@ -455,6 +469,7 @@ files.
|
|
|
455
469
|
- **niri backend** — prefers `niri msg`, falling back to direct JSON IPC over the same session socket. `is_minimized` maps to `hidden`. Bounds use `layout.window_size` (or `tile_size`) and, when available, the tile position plus the window's offset and the output's logical origin. Uniform output scaling converts these to device pixels; unknown or mixed scaling omits bounds. Missing window positions stay `null`, so listing and focusing still work without enabling coordinate targeting. An accepted focus action is verified by querying the focused window again.
|
|
456
470
|
- **GNOME extension fallback** — recent GNOME builds deny `org.gnome.Shell.Introspect.GetWindows` to non-blessed clients. The bundled Shell extension exposes window data and exact activation under `dev.avifenesh.ComputerUseLinux.WindowControl`.
|
|
457
471
|
- **COSMIC helper** — `computer-use-linux-cosmic` talks to COSMIC toplevel protocols and is resolved from `COMPUTER_USE_LINUX_COSMIC_HELPER`, next to the running binary, or from `PATH`.
|
|
472
|
+
- **Indicator overlay** — the server sends one JSON datagram per action (`{"agent","tool","x","y","space","keys","text"}`, where `x`/`y` are screenshot pixels and `space` is the capture size; or `{"capture":"begin"}`/`{"capture":"end"}` around captures; `begin` is answered with `shown` or `empty` when the sender's socket is bound) to `$XDG_RUNTIME_DIR/computer-use-linux-indicator.sock`. `computer-use-linux-indicator` (resolved like the COSMIC helper, via `COMPUTER_USE_LINUX_INDICATOR_BIN`) draws nothing while any server holds a shared `flock` on `computer-use-linux-indicator.capture` next to the socket (held for the length of each capture and released by the kernel if a server dies), and otherwise draws on small `wlr-layer-shell` surfaces with [`tiny-skia`](https://crates.io/crates/tiny-skia) into shared-memory buffers, honouring fractional scaling through `wp_fractional_scale_v1` and `wp_viewporter`. The cursor surface moves by changing its margins, so a glide redraws nothing. On GNOME the helper relays events to the verified Shell extension, which draws non-interactive actors. The helper still owns the shared socket and probes the capture lock. If the helper exits, the extension hides its actors when its D-Bus connection disappears. Captures also hide residual GNOME actors when no helper is listening.
|
|
458
473
|
- **Terminal enrichment** — `list_windows` cross-references each terminal window with its controlling TTY and the foreground process on that TTY, so `type_text` / `press_key` can target "the terminal where `pytest` is running" without the host ever knowing the window id.
|
|
459
474
|
|
|
460
475
|
## Security
|
|
@@ -466,6 +481,7 @@ Computer-use tooling is, by definition, a privilege-escalation surface. The thre
|
|
|
466
481
|
- **Persisted remote control is opt-in.** `COMPUTER_USE_LINUX_PERSIST_REMOTE_DESKTOP=1` stores the portal's single-use restore token in the user state directory, mode `0600`. A same-user process that can read that file can restore remote control without a new prompt until the desktop revokes the grant. Leave the variable unset to keep a prompt on every new process.
|
|
467
482
|
- **AT-SPI exposes window contents to any client on your session bus.** Enabling the AT-SPI bridge (`setup_accessibility`) is a prerequisite for this binary; it's also what screen readers use, and it shares the same trust boundary.
|
|
468
483
|
- **The GNOME Shell extension** is loaded only into your user's GNOME Shell, runs in the Shell's JS sandbox, and exposes a single DBus interface on the user session bus. It does not request any extra permissions.
|
|
484
|
+
- **The indicator shows what agents type.** `type_text` text (its last 64 characters) and `press_key` keycaps are drawn on screen unless the target is, or might be, a password field: both are replaced by a fixed mask when the focused element's AT-SPI role is a password role or cannot be read within 250 ms. Generic text boxes and terminal focus are also masked because their roles do not establish whether input is obscured. `set_value` values are always masked, because an app can change a field to a password after its accessibility snapshot. The text also travels over a socket in the user's private runtime directory. Set `COMPUTER_USE_LINUX_INDICATOR_HIDE_TEXT=1` to mask all typed text and keycaps, or `COMPUTER_USE_LINUX_INDICATOR=0` to turn the indicator off.
|
|
469
485
|
- **No network.** This binary opens no TCP/UDP listener, makes no outbound Internet connections, and ships no telemetry. It does use local session transports such as DBus and the per-user `ydotoold` Unix socket.
|
|
470
486
|
- **Mutating tools are explicit.** The MCP tool list annotates read-only versus mutating tools, and CI fails if the published tool annotations drift from the table above. Treat those annotations as hints; the host is still responsible for user approval and policy.
|
|
471
487
|
|
package/npm/README.md
CHANGED
|
@@ -79,7 +79,9 @@ mcp_servers:
|
|
|
79
79
|
The package downloads the matching Linux x86_64 or aarch64 binary from the
|
|
80
80
|
GitHub release for this package version and verifies the `.sha256` asset before
|
|
81
81
|
installing it. It also installs the matching `computer-use-linux-cosmic` helper
|
|
82
|
-
used for COSMIC desktop window targeting
|
|
82
|
+
used for COSMIC desktop window targeting and the `computer-use-linux-indicator`
|
|
83
|
+
overlay that shows agent activity on screen (`COMPUTER_USE_LINUX_INDICATOR=0`
|
|
84
|
+
turns it off).
|
|
83
85
|
|
|
84
86
|
When installed through Pi, the package supplies native, dynamically loaded
|
|
85
87
|
`computer_use_linux_*` tools. No separate MCP adapter or manual MCP
|
|
@@ -9,6 +9,7 @@ const binaryName = `computer-use-linux-${process.platform}-${process.arch}`;
|
|
|
9
9
|
const bundledBinary = path.join(__dirname, binaryName);
|
|
10
10
|
const binary = process.env.COMPUTER_USE_LINUX_BIN || bundledBinary;
|
|
11
11
|
const bundledCosmicHelper = path.join(__dirname, 'computer-use-linux-cosmic');
|
|
12
|
+
const bundledIndicator = path.join(__dirname, 'computer-use-linux-indicator');
|
|
12
13
|
|
|
13
14
|
if (!fs.existsSync(binary)) {
|
|
14
15
|
console.error(
|
|
@@ -24,6 +25,9 @@ const env = { ...process.env };
|
|
|
24
25
|
if (!env.COMPUTER_USE_LINUX_COSMIC_HELPER && fs.existsSync(bundledCosmicHelper)) {
|
|
25
26
|
env.COMPUTER_USE_LINUX_COSMIC_HELPER = bundledCosmicHelper;
|
|
26
27
|
}
|
|
28
|
+
if (!env.COMPUTER_USE_LINUX_INDICATOR_BIN && fs.existsSync(bundledIndicator)) {
|
|
29
|
+
env.COMPUTER_USE_LINUX_INDICATOR_BIN = bundledIndicator;
|
|
30
|
+
}
|
|
27
31
|
|
|
28
32
|
const child = spawn(binary, process.argv.slice(2), {
|
|
29
33
|
stdio: 'inherit',
|
package/npm/install.js
CHANGED
|
@@ -17,6 +17,7 @@ const archToTarget = {
|
|
|
17
17
|
const binDir = path.join(__dirname, 'bin');
|
|
18
18
|
const binaryPath = path.join(binDir, `computer-use-linux-${process.platform}-${process.arch}`);
|
|
19
19
|
const cosmicHelperPath = path.join(binDir, 'computer-use-linux-cosmic');
|
|
20
|
+
const indicatorPath = path.join(binDir, 'computer-use-linux-indicator');
|
|
20
21
|
|
|
21
22
|
function fail(message) {
|
|
22
23
|
console.error(`[computer-use-linux] ${message}`);
|
|
@@ -31,6 +32,10 @@ function copyLocalBinary(source) {
|
|
|
31
32
|
fs.copyFileSync(process.env.COMPUTER_USE_LINUX_LOCAL_COSMIC_HELPER, cosmicHelperPath);
|
|
32
33
|
fs.chmodSync(cosmicHelperPath, 0o755);
|
|
33
34
|
}
|
|
35
|
+
if (process.env.COMPUTER_USE_LINUX_LOCAL_INDICATOR) {
|
|
36
|
+
fs.copyFileSync(process.env.COMPUTER_USE_LINUX_LOCAL_INDICATOR, indicatorPath);
|
|
37
|
+
fs.chmodSync(indicatorPath, 0o755);
|
|
38
|
+
}
|
|
34
39
|
console.log(`[computer-use-linux] installed local binary from ${source}`);
|
|
35
40
|
}
|
|
36
41
|
|
|
@@ -51,7 +56,9 @@ function download(url, destination, redirects = 5) {
|
|
|
51
56
|
|
|
52
57
|
if (response.statusCode !== 200) {
|
|
53
58
|
response.resume();
|
|
54
|
-
|
|
59
|
+
const error = new Error(`download failed with HTTP ${response.statusCode}: ${url}`);
|
|
60
|
+
error.statusCode = response.statusCode;
|
|
61
|
+
reject(error);
|
|
55
62
|
return;
|
|
56
63
|
}
|
|
57
64
|
|
|
@@ -64,6 +71,19 @@ function download(url, destination, redirects = 5) {
|
|
|
64
71
|
});
|
|
65
72
|
}
|
|
66
73
|
|
|
74
|
+
// Releases before the overlay omit its asset; only HTTP 404 is optional.
|
|
75
|
+
async function downloadOptional(url, destination) {
|
|
76
|
+
try {
|
|
77
|
+
await download(url, destination);
|
|
78
|
+
return true;
|
|
79
|
+
} catch (error) {
|
|
80
|
+
if (error.statusCode === 404) {
|
|
81
|
+
return false;
|
|
82
|
+
}
|
|
83
|
+
throw error;
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
|
|
67
87
|
function parseSha256(text) {
|
|
68
88
|
const match = text.match(/\b[a-fA-F0-9]{64}\b/);
|
|
69
89
|
if (!match) {
|
|
@@ -100,6 +120,7 @@ async function main() {
|
|
|
100
120
|
|
|
101
121
|
const asset = `computer-use-linux-${targetArch}-unknown-linux-gnu`;
|
|
102
122
|
const cosmicAsset = `computer-use-linux-cosmic-${targetArch}-unknown-linux-gnu`;
|
|
123
|
+
const indicatorAsset = `computer-use-linux-indicator-${targetArch}-unknown-linux-gnu`;
|
|
103
124
|
const baseUrl =
|
|
104
125
|
process.env.COMPUTER_USE_LINUX_DOWNLOAD_BASE ||
|
|
105
126
|
`https://github.com/agent-sh/computer-use-linux/releases/download/v${pkg.version}`;
|
|
@@ -108,6 +129,8 @@ async function main() {
|
|
|
108
129
|
const tmpSha = path.join(tmpDir, `${asset}.sha256`);
|
|
109
130
|
const tmpCosmic = path.join(tmpDir, cosmicAsset);
|
|
110
131
|
const tmpCosmicSha = path.join(tmpDir, `${cosmicAsset}.sha256`);
|
|
132
|
+
const tmpIndicator = path.join(tmpDir, indicatorAsset);
|
|
133
|
+
const tmpIndicatorSha = path.join(tmpDir, `${indicatorAsset}.sha256`);
|
|
111
134
|
|
|
112
135
|
try {
|
|
113
136
|
console.log(`[computer-use-linux] downloading ${asset} from ${baseUrl}`);
|
|
@@ -115,17 +138,29 @@ async function main() {
|
|
|
115
138
|
await download(`${baseUrl}/${asset}.sha256`, tmpSha);
|
|
116
139
|
await download(`${baseUrl}/${cosmicAsset}`, tmpCosmic);
|
|
117
140
|
await download(`${baseUrl}/${cosmicAsset}.sha256`, tmpCosmicSha);
|
|
141
|
+
const hasIndicator = await downloadOptional(`${baseUrl}/${indicatorAsset}`, tmpIndicator);
|
|
142
|
+
if (hasIndicator) {
|
|
143
|
+
await download(`${baseUrl}/${indicatorAsset}.sha256`, tmpIndicatorSha);
|
|
144
|
+
}
|
|
118
145
|
|
|
119
146
|
const expected = parseSha256(fs.readFileSync(tmpSha, 'utf8'));
|
|
120
147
|
const actual = sha256File(tmpBinary);
|
|
121
148
|
if (actual !== expected) {
|
|
122
|
-
|
|
149
|
+
throw new Error(`sha256 mismatch for ${asset}: expected ${expected}, got ${actual}`);
|
|
123
150
|
}
|
|
124
151
|
|
|
125
152
|
const expectedCosmic = parseSha256(fs.readFileSync(tmpCosmicSha, 'utf8'));
|
|
126
153
|
const actualCosmic = sha256File(tmpCosmic);
|
|
127
154
|
if (actualCosmic !== expectedCosmic) {
|
|
128
|
-
|
|
155
|
+
throw new Error(`sha256 mismatch for ${cosmicAsset}: expected ${expectedCosmic}, got ${actualCosmic}`);
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
if (hasIndicator) {
|
|
159
|
+
const expectedIndicator = parseSha256(fs.readFileSync(tmpIndicatorSha, 'utf8'));
|
|
160
|
+
const actualIndicator = sha256File(tmpIndicator);
|
|
161
|
+
if (actualIndicator !== expectedIndicator) {
|
|
162
|
+
throw new Error(`sha256 mismatch for ${indicatorAsset}: expected ${expectedIndicator}, got ${actualIndicator}`);
|
|
163
|
+
}
|
|
129
164
|
}
|
|
130
165
|
|
|
131
166
|
fs.mkdirSync(binDir, { recursive: true });
|
|
@@ -133,7 +168,13 @@ async function main() {
|
|
|
133
168
|
fs.chmodSync(binaryPath, 0o755);
|
|
134
169
|
fs.copyFileSync(tmpCosmic, cosmicHelperPath);
|
|
135
170
|
fs.chmodSync(cosmicHelperPath, 0o755);
|
|
136
|
-
|
|
171
|
+
if (hasIndicator) {
|
|
172
|
+
fs.copyFileSync(tmpIndicator, indicatorPath);
|
|
173
|
+
fs.chmodSync(indicatorPath, 0o755);
|
|
174
|
+
} else {
|
|
175
|
+
fs.rmSync(indicatorPath, { force: true });
|
|
176
|
+
}
|
|
177
|
+
console.log(`[computer-use-linux] installed ${asset} and ${cosmicAsset}${hasIndicator ? ` and ${indicatorAsset}` : ' (release has no indicator)'}`);
|
|
137
178
|
} finally {
|
|
138
179
|
fs.rmSync(tmpDir, { recursive: true, force: true });
|
|
139
180
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agent-sh/computer-use-linux",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.13",
|
|
4
4
|
"description": "Linux desktop-control MCP server: AT-SPI accessibility trees, Wayland/X11 input, screenshots, and compositor window targeting.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "commonjs",
|
|
@@ -3,7 +3,7 @@ Third-party notices for pi/extension/mcp-client.bundle.cjs
|
|
|
3
3
|
This file is generated by pi/scripts/build.mjs.
|
|
4
4
|
|
|
5
5
|
==============================================================================
|
|
6
|
-
@modelcontextprotocol/client@2.
|
|
6
|
+
@modelcontextprotocol/client@2.3.1 (Apache-2.0)
|
|
7
7
|
==============================================================================
|
|
8
8
|
The MCP project is undergoing a licensing transition from the MIT License to the Apache License, Version 2.0 ("Apache-2.0"). All new code and specification contributions to the project are licensed under Apache-2.0. Documentation contributions (excluding specifications) are licensed under CC-BY-4.0.
|
|
9
9
|
|
|
@@ -223,7 +223,7 @@ CC-BY-4.0. See https://creativecommons.org/licenses/by/4.0/legalcode for
|
|
|
223
223
|
the full license text.
|
|
224
224
|
|
|
225
225
|
==============================================================================
|
|
226
|
-
@modelcontextprotocol/core@2.
|
|
226
|
+
@modelcontextprotocol/core@2.3.1 (Apache-2.0)
|
|
227
227
|
==============================================================================
|
|
228
228
|
The MCP project is undergoing a licensing transition from the MIT License to the Apache License, Version 2.0 ("Apache-2.0"). All new code and specification contributions to the project are licensed under Apache-2.0. Documentation contributions (excluding specifications) are licensed under CC-BY-4.0.
|
|
229
229
|
|
|
@@ -7,7 +7,7 @@ export interface GeneratedMcpToolDefinition {
|
|
|
7
7
|
annotations: Record<string, unknown>;
|
|
8
8
|
}
|
|
9
9
|
|
|
10
|
-
export const GENERATED_SERVER_VERSION = "0.7.
|
|
10
|
+
export const GENERATED_SERVER_VERSION = "0.7.13";
|
|
11
11
|
export const GENERATED_TOOL_CATALOG_HASH = "666f4649084b7c1a240e6a0eacc01a55379b64a579355f50071211437e91229c";
|
|
12
12
|
export const GENERATED_SHELL_TOOL_CATALOG_HASH = "554322e70886f5c1e1a3ad06869c5be91c140103f71350ad635160e128c1563d";
|
|
13
13
|
export const GENERATED_MCP_TOOLS =
|
package/pi/extension/index.ts
CHANGED
|
@@ -226,6 +226,10 @@ function runtimeEnvironment(): Record<string, string> {
|
|
|
226
226
|
"NIX_LD_LIBRARY_PATH",
|
|
227
227
|
"RUST_LOG",
|
|
228
228
|
"COMPUTER_USE_LINUX_COSMIC_HELPER",
|
|
229
|
+
"COMPUTER_USE_LINUX_AGENT_NAME",
|
|
230
|
+
"COMPUTER_USE_LINUX_INDICATOR",
|
|
231
|
+
"COMPUTER_USE_LINUX_INDICATOR_BIN",
|
|
232
|
+
"COMPUTER_USE_LINUX_INDICATOR_HIDE_TEXT",
|
|
229
233
|
"COMPUTER_USE_LINUX_ENABLE_SHELL",
|
|
230
234
|
"COMPUTER_USE_LINUX_FORCE_PORTAL_KEYBOARD",
|
|
231
235
|
"COMPUTER_USE_LINUX_FORCE_PORTAL_POINTER",
|
|
@@ -277,6 +281,17 @@ function defaultFindBinary(): BinaryLaunch | null {
|
|
|
277
281
|
if (!env.COMPUTER_USE_LINUX_COSMIC_HELPER && executable(cosmicHelper)) {
|
|
278
282
|
env.COMPUTER_USE_LINUX_COSMIC_HELPER = cosmicHelper;
|
|
279
283
|
}
|
|
284
|
+
const indicator = join(
|
|
285
|
+
__dirname,
|
|
286
|
+
"..",
|
|
287
|
+
"..",
|
|
288
|
+
"npm",
|
|
289
|
+
"bin",
|
|
290
|
+
"computer-use-linux-indicator",
|
|
291
|
+
);
|
|
292
|
+
if (!env.COMPUTER_USE_LINUX_INDICATOR_BIN && executable(indicator)) {
|
|
293
|
+
env.COMPUTER_USE_LINUX_INDICATOR_BIN = indicator;
|
|
294
|
+
}
|
|
280
295
|
return { binaryPath: bundledBinary, env };
|
|
281
296
|
}
|
|
282
297
|
|