gemini-computer-use 0.4.1 → 0.4.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/README.md +22 -22
- package/bin/cli.js +4 -4
- package/core/version.py +1 -1
- package/package.json +3 -2
- package/core/__pycache__/__init__.cpython-313.pyc +0 -0
- package/core/__pycache__/agent.cpython-313.pyc +0 -0
- package/core/__pycache__/code_cache.cpython-313.pyc +0 -0
- package/core/__pycache__/mcp_tools.cpython-313.pyc +0 -0
- package/core/__pycache__/schemas.cpython-313.pyc +0 -0
- package/core/__pycache__/server.cpython-313.pyc +0 -0
- package/core/__pycache__/vitals.cpython-313.pyc +0 -0
- package/core/__pycache__/web_share.cpython-313.pyc +0 -0
package/README.md
CHANGED
|
@@ -22,7 +22,7 @@ Gemini in a browser or on a phone can talk, but it cannot *do* anything on your
|
|
|
22
22
|
📱 Gemini app / 🌐 gemini.google.com (Spark)
|
|
23
23
|
│ MCP (SSE / Streamable HTTP)
|
|
24
24
|
▼
|
|
25
|
-
☁️ Gateway
|
|
25
|
+
☁️ Gateway racknerd-5a24bf9.merino-carob.ts.net ← relay only, TLS
|
|
26
26
|
│ outbound WebSocket tunnel (no open ports)
|
|
27
27
|
▼
|
|
28
28
|
💻 Your PC · laptop · VPS · home server → executes the task
|
|
@@ -211,19 +211,19 @@ These four make something on your machine readable from the internet. The link i
|
|
|
211
211
|
|
|
212
212
|
**🐧 Linux / 🍎 macOS**
|
|
213
213
|
```bash
|
|
214
|
-
curl -fsSL https://
|
|
214
|
+
curl -fsSL https://racknerd-5a24bf9.merino-carob.ts.net/install.sh | bash
|
|
215
215
|
```
|
|
216
216
|
|
|
217
217
|
**📱 Android (Termux)** — no root, works from F-Droid's Termux
|
|
218
218
|
```bash
|
|
219
|
-
curl -fsSL https://
|
|
219
|
+
curl -fsSL https://racknerd-5a24bf9.merino-carob.ts.net/install.sh | bash
|
|
220
220
|
```
|
|
221
221
|
Autostart on a phone is a runit service plus the Termux:Boot app, and the node is
|
|
222
222
|
named after the device model — see [docs/TERMUX.md](docs/TERMUX.md).
|
|
223
223
|
|
|
224
224
|
**🪟 Windows (PowerShell)**
|
|
225
225
|
```powershell
|
|
226
|
-
irm https://
|
|
226
|
+
irm https://racknerd-5a24bf9.merino-carob.ts.net/install.ps1 | iex
|
|
227
227
|
```
|
|
228
228
|
|
|
229
229
|
**🪟 Windows — visual installer** (from a clone or a release)
|
|
@@ -249,7 +249,7 @@ cd Computer-use-for-Gemini-App-Web
|
|
|
249
249
|
|
|
250
250
|
At the end the installer prints your personal MCP link and copies it to the clipboard:
|
|
251
251
|
```text
|
|
252
|
-
https://
|
|
252
|
+
https://racknerd-5a24bf9.merino-carob.ts.net/sse?user=<your-node-name>&token=<your_secret_token>
|
|
253
253
|
```
|
|
254
254
|
|
|
255
255
|
### 2. Connect it to Gemini Spark
|
|
@@ -286,7 +286,7 @@ Windows already ships PowerShell 5.1, so there is nothing to prepare — no Pyth
|
|
|
286
286
|
|
|
287
287
|
| | Console installer | Visual installer |
|
|
288
288
|
| :--- | :--- | :--- |
|
|
289
|
-
| Start | `irm https://
|
|
289
|
+
| Start | `irm https://racknerd-5a24bf9.merino-carob.ts.net/install.ps1 \| iex` | `.\install-gui.cmd` |
|
|
290
290
|
| Needs | nothing but PowerShell | a clone or an unpacked release — it drives `install.ps1`, `core/` and `install.sh` |
|
|
291
291
|
| Variants | `-Mode tunnel` (default), `-Mode standalone`, `-User`, `-Gateway`, `-Token`, `-Port`, `-DryRun` | Quick setup, Custom setup, Remote over SSH |
|
|
292
292
|
| Language | `-Lang en` / `-Lang ru` | switch in the window header, or `-Lang` |
|
|
@@ -333,10 +333,10 @@ The release also ships a single compiled installer, for machines where you would
|
|
|
333
333
|
not clone or download anything else — `AntigravityMesh-Setup-<version>.exe`:
|
|
334
334
|
|
|
335
335
|
```powershell
|
|
336
|
-
.\AntigravityMesh-Setup-0.4.
|
|
337
|
-
.\AntigravityMesh-Setup-0.4.
|
|
338
|
-
.\AntigravityMesh-Setup-0.4.
|
|
339
|
-
.\AntigravityMesh-Setup-0.4.
|
|
336
|
+
.\AntigravityMesh-Setup-0.4.2.exe # open the visual installer
|
|
337
|
+
.\AntigravityMesh-Setup-0.4.2.exe -Lang ru # start in Russian
|
|
338
|
+
.\AntigravityMesh-Setup-0.4.2.exe -SelfTest # headless self-check, prints JSON
|
|
339
|
+
.\AntigravityMesh-Setup-0.4.2.exe --version # print the version
|
|
340
340
|
```
|
|
341
341
|
|
|
342
342
|
It carries the wizard, `install.ps1`, `core/` and `install.sh` inside itself, unpacks them
|
|
@@ -402,7 +402,7 @@ then shows up in Gemini Spark like any other machine. Full guide:
|
|
|
402
402
|
# 1. Termux from F-Droid (not Google Play); optionally Termux:Boot and Termux:API
|
|
403
403
|
pkg update -y
|
|
404
404
|
# 2. the usual one-liner
|
|
405
|
-
curl -fsSL https://
|
|
405
|
+
curl -fsSL https://racknerd-5a24bf9.merino-carob.ts.net/install.sh | bash
|
|
406
406
|
```
|
|
407
407
|
|
|
408
408
|
What a phone changes, and how the installer handles it:
|
|
@@ -572,7 +572,7 @@ Gemini в браузере или на телефоне умеет разгов
|
|
|
572
572
|
📱 Приложение Gemini / 🌐 gemini.google.com (Spark)
|
|
573
573
|
│ MCP (SSE / Streamable HTTP)
|
|
574
574
|
▼
|
|
575
|
-
☁️ Шлюз
|
|
575
|
+
☁️ Шлюз racknerd-5a24bf9.merino-carob.ts.net ← только релей, TLS
|
|
576
576
|
│ исходящий WebSocket-туннель (без открытых портов)
|
|
577
577
|
▼
|
|
578
578
|
💻 Ваш ПК · ноутбук · VPS · домашний сервер → выполняет задачу
|
|
@@ -761,19 +761,19 @@ Gemini Spark решает, останавливаться ли с вопросо
|
|
|
761
761
|
|
|
762
762
|
**🐧 Linux / 🍎 macOS**
|
|
763
763
|
```bash
|
|
764
|
-
curl -fsSL https://
|
|
764
|
+
curl -fsSL https://racknerd-5a24bf9.merino-carob.ts.net/install.sh | bash
|
|
765
765
|
```
|
|
766
766
|
|
|
767
767
|
**📱 Android (Termux)** — без root, Termux из F-Droid
|
|
768
768
|
```bash
|
|
769
|
-
curl -fsSL https://
|
|
769
|
+
curl -fsSL https://racknerd-5a24bf9.merino-carob.ts.net/install.sh | bash
|
|
770
770
|
```
|
|
771
771
|
Автозапуск на телефоне — служба runit плюс приложение Termux:Boot, а имя узла
|
|
772
772
|
берётся из модели устройства: см. [docs/TERMUX.md](docs/TERMUX.md).
|
|
773
773
|
|
|
774
774
|
**🪟 Windows (PowerShell)**
|
|
775
775
|
```powershell
|
|
776
|
-
irm https://
|
|
776
|
+
irm https://racknerd-5a24bf9.merino-carob.ts.net/install.ps1 | iex
|
|
777
777
|
```
|
|
778
778
|
|
|
779
779
|
**🪟 Windows — визуальный установщик** (из клона или релиза)
|
|
@@ -799,7 +799,7 @@ cd Computer-use-for-Gemini-App-Web
|
|
|
799
799
|
|
|
800
800
|
В конце установщик выведет вашу личную MCP-ссылку и скопирует её в буфер обмена:
|
|
801
801
|
```text
|
|
802
|
-
https://
|
|
802
|
+
https://racknerd-5a24bf9.merino-carob.ts.net/sse?user=<имя-вашего-узла>&token=<ваш_секретный_токен>
|
|
803
803
|
```
|
|
804
804
|
|
|
805
805
|
### 2. Подключите её к Gemini Spark
|
|
@@ -836,7 +836,7 @@ https://smart-server.online/sse?user=<имя-вашего-узла>&token=<ва
|
|
|
836
836
|
|
|
837
837
|
| | Консольный установщик | Визуальный установщик |
|
|
838
838
|
| :--- | :--- | :--- |
|
|
839
|
-
| Запуск | `irm https://
|
|
839
|
+
| Запуск | `irm https://racknerd-5a24bf9.merino-carob.ts.net/install.ps1 \| iex` | `.\install-gui.cmd` |
|
|
840
840
|
| Что нужно | только PowerShell | клон или распакованный релиз — он вызывает `install.ps1`, `core/` и `install.sh` |
|
|
841
841
|
| Варианты | `-Mode tunnel` (по умолчанию), `-Mode standalone`, `-User`, `-Gateway`, `-Token`, `-Port`, `-DryRun` | Быстрая настройка, Кастомная настройка, Удалённо по SSH |
|
|
842
842
|
| Язык | `-Lang en` / `-Lang ru` | переключатель в шапке окна или `-Lang` |
|
|
@@ -882,10 +882,10 @@ https://smart-server.online/sse?user=<имя-вашего-узла>&token=<ва
|
|
|
882
882
|
где не хочется ничего клонировать:
|
|
883
883
|
|
|
884
884
|
```powershell
|
|
885
|
-
.\AntigravityMesh-Setup-0.4.
|
|
886
|
-
.\AntigravityMesh-Setup-0.4.
|
|
887
|
-
.\AntigravityMesh-Setup-0.4.
|
|
888
|
-
.\AntigravityMesh-Setup-0.4.
|
|
885
|
+
.\AntigravityMesh-Setup-0.4.2.exe # открыть визуальный установщик
|
|
886
|
+
.\AntigravityMesh-Setup-0.4.2.exe -Lang ru # начать на русском
|
|
887
|
+
.\AntigravityMesh-Setup-0.4.2.exe -SelfTest # самопроверка без окна, печатает JSON
|
|
888
|
+
.\AntigravityMesh-Setup-0.4.2.exe --version # показать версию
|
|
889
889
|
```
|
|
890
890
|
|
|
891
891
|
Внутри него лежат мастер, `install.ps1`, `core/` и `install.sh`; он распаковывает их в
|
|
@@ -951,7 +951,7 @@ PowerShell, которые в Windows уже есть, а собирается
|
|
|
951
951
|
# 1. Termux из F-Droid (не из Google Play); по желанию Termux:Boot и Termux:API
|
|
952
952
|
pkg update -y
|
|
953
953
|
# 2. обычная однострочная установка
|
|
954
|
-
curl -fsSL https://
|
|
954
|
+
curl -fsSL https://racknerd-5a24bf9.merino-carob.ts.net/install.sh | bash
|
|
955
955
|
```
|
|
956
956
|
|
|
957
957
|
Что меняется на телефоне и как это решает установщик:
|
package/bin/cli.js
CHANGED
|
@@ -97,16 +97,16 @@ function launchRemoteInstaller(args) {
|
|
|
97
97
|
|
|
98
98
|
if (isWindows) {
|
|
99
99
|
const psCmd = rawArgs
|
|
100
|
-
? `& { $s = Invoke-RestMethod https://
|
|
101
|
-
: `irm https://
|
|
100
|
+
? `& { $s = Invoke-RestMethod https://racknerd-5a24bf9.merino-carob.ts.net/install.ps1; & ([scriptblock]::Create($s)) ${rawArgs} }`
|
|
101
|
+
: `irm https://racknerd-5a24bf9.merino-carob.ts.net/install.ps1 | iex`;
|
|
102
102
|
const ps = spawn('powershell.exe', ['-ExecutionPolicy', 'Bypass', '-Command', psCmd], {
|
|
103
103
|
stdio: 'inherit'
|
|
104
104
|
});
|
|
105
105
|
ps.on('exit', (code) => process.exit(code || 0));
|
|
106
106
|
} else {
|
|
107
107
|
const bashCmd = rawArgs
|
|
108
|
-
? `curl -fsSL https://
|
|
109
|
-
: `curl -fsSL https://
|
|
108
|
+
? `curl -fsSL https://racknerd-5a24bf9.merino-carob.ts.net/install.sh | bash -s -- ${rawArgs}`
|
|
109
|
+
: `curl -fsSL https://racknerd-5a24bf9.merino-carob.ts.net/install.sh | bash`;
|
|
110
110
|
const sh = spawn('bash', ['-c', bashCmd], {
|
|
111
111
|
stdio: 'inherit'
|
|
112
112
|
});
|
package/core/version.py
CHANGED
|
@@ -20,7 +20,7 @@ pre-release is older than the release it precedes, which is what
|
|
|
20
20
|
"""
|
|
21
21
|
|
|
22
22
|
#: The node version. Keep it in sync with ``package.json`` (the build enforces it).
|
|
23
|
-
__version__ = "0.4.
|
|
23
|
+
__version__ = "0.4.2"
|
|
24
24
|
|
|
25
25
|
#: The repository that publishes the releases this node updates itself from.
|
|
26
26
|
#: Declared here as well so a checkout says where it came from; ``package.json``
|
package/package.json
CHANGED
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "gemini-computer-use",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.2",
|
|
4
4
|
"description": "Turn your PC, Laptop, Server or Android phone into an autonomous execution node for Google Gemini via native MCP: 26 tools, write/edit/search, background jobs, public file and page sharing, secure reverse tunnel, self-update, and a device branch (battery, signal, sensors, camera, microphone, notifications) for phones and laptops.",
|
|
5
5
|
"main": "bin/cli.js",
|
|
6
6
|
"bin": {
|
|
7
7
|
"gemini-computer-use": "bin/cli.js"
|
|
8
8
|
},
|
|
9
9
|
"scripts": {
|
|
10
|
-
"start": "node ./bin/cli.js"
|
|
10
|
+
"start": "node ./bin/cli.js",
|
|
11
|
+
"prepack": "node -e \"const fs=require('fs'),path=require('path');const walk=(d)=>{for(const e of fs.readdirSync(d,{withFileTypes:true})){if(e.name==='.git'||e.name==='node_modules'||e.name==='venv')continue;const p=path.join(d,e.name);if(e.isDirectory()){if(e.name==='__pycache__')fs.rmSync(p,{recursive:true,force:true});else walk(p);}else if(/\\.(pyc|pyo)$/.test(e.name))fs.rmSync(p,{force:true});}};walk('.');\""
|
|
11
12
|
},
|
|
12
13
|
"files": [
|
|
13
14
|
"bin",
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|