gemini-computer-use 0.2.4 → 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 +741 -24
- package/bin/cli.js +112 -17
- package/core/agent.py +503 -18
- package/core/agent_harness.py +9 -2
- package/core/code_cache.py +15 -3
- package/core/device.py +2400 -0
- package/core/domain.py +303 -0
- package/core/mcp_tools.py +1840 -112
- package/core/policies.py +35 -5
- package/core/server.py +78 -32
- package/core/termux.py +916 -0
- package/core/updater.py +1713 -0
- package/core/version.py +31 -0
- package/core/vitals.py +66 -2
- package/core/web_share.py +814 -0
- package/gateway.py +1469 -98
- package/install-gui.cmd +40 -0
- package/install-gui.ps1 +1882 -0
- package/install-gui.strings.json +211 -0
- package/install.ps1 +960 -92
- package/install.sh +1214 -81
- package/ops/doctor.ps1 +735 -0
- package/ops/mesh-domain.sh +86 -0
- package/ops/nginx/README.md +77 -0
- package/ops/nginx/antigravity-mesh-mcp.conf +172 -0
- package/ops/nginx/mesh-domain.vhost.template +58 -0
- package/ops/nginx/render-domain.sh +123 -0
- package/ops/update.ps1 +373 -0
- package/ops/windows/README.md +298 -0
- package/ops/windows/agent-watchdog.ps1 +575 -0
- package/ops/windows/run-hidden.vbs +64 -0
- package/package.json +8 -3
- package/skills/orchestrator.md +12 -0
|
@@ -0,0 +1,211 @@
|
|
|
1
|
+
{
|
|
2
|
+
"en": {
|
|
3
|
+
"app_title": "Antigravity Mesh - Visual Installer",
|
|
4
|
+
"lang_label": "Language",
|
|
5
|
+
"btn_next": "Next >",
|
|
6
|
+
"btn_back": "< Back",
|
|
7
|
+
"btn_cancel": "Cancel",
|
|
8
|
+
"btn_close": "Close",
|
|
9
|
+
"btn_install": "Install",
|
|
10
|
+
"btn_copy": "Copy URL",
|
|
11
|
+
"btn_open_gemini": "Open Gemini Apps",
|
|
12
|
+
"btn_open_config": "Open folder",
|
|
13
|
+
"btn_copy_link": "Copy",
|
|
14
|
+
"btn_finish": "Finish",
|
|
15
|
+
"btn_again": "Install another",
|
|
16
|
+
"step_indicator": "Step {0} of {1}",
|
|
17
|
+
|
|
18
|
+
"page_welcome_title": "Device and environment",
|
|
19
|
+
"page_mode_title": "Installation variant",
|
|
20
|
+
"page_options_title": "Parameters",
|
|
21
|
+
"page_progress_title": "Installation",
|
|
22
|
+
"page_result_title": "Result",
|
|
23
|
+
|
|
24
|
+
"welcome_intro": "This wizard collects the same options as the console installer and then calls it, so registration, autostart and the MCP URL contract stay in one place.",
|
|
25
|
+
"device_group": "Detected device",
|
|
26
|
+
"device_hostname": "Hostname",
|
|
27
|
+
"device_type": "Type",
|
|
28
|
+
"device_os": "OS",
|
|
29
|
+
"device_laptop": "Windows Laptop",
|
|
30
|
+
"device_desktop": "Windows Desktop / Server",
|
|
31
|
+
|
|
32
|
+
"preflight_group": "Preflight (read-only, nothing is changed)",
|
|
33
|
+
"preflight_running": "Checking Python, websockets and the gateway domain...",
|
|
34
|
+
"preflight_python": "Python",
|
|
35
|
+
"preflight_websockets": "websockets",
|
|
36
|
+
"preflight_domain": "Gateway domain",
|
|
37
|
+
"preflight_config": "Config directory",
|
|
38
|
+
"preflight_autostart": "Autostart entry",
|
|
39
|
+
"preflight_node": "Node status",
|
|
40
|
+
"preflight_failed": "Preflight could not run: {0}",
|
|
41
|
+
"preflight_problems": "Preflight reported problems (see above). Installation can still be attempted.",
|
|
42
|
+
"preflight_no_domain": "No gateway domain is configured. Use Custom setup to enter one, or set MESH_PUBLIC_URL / write the domain file.",
|
|
43
|
+
|
|
44
|
+
"mode_prompt": "Choose the variant to run. It mirrors the console installer.",
|
|
45
|
+
"mode_quick_title": "Quick setup (recommended)",
|
|
46
|
+
"mode_quick_desc": "Node name = PC name, shared gateway domain, Windows autostart.",
|
|
47
|
+
"mode_custom_title": "Custom setup",
|
|
48
|
+
"mode_custom_desc": "Your own node name, your own shared domain, optional token.",
|
|
49
|
+
"mode_ssh_title": "Remote installation over SSH",
|
|
50
|
+
"mode_ssh_desc": "Copy the node code to a Linux host and run install.sh there.",
|
|
51
|
+
|
|
52
|
+
"opt_quick_group": "Quick setup",
|
|
53
|
+
"opt_quick_summary": "Node name: {0}\r\nGateway domain: {1}\r\nAutostart: Windows Startup folder (antigravity-agent.vbs)",
|
|
54
|
+
"opt_node_label": "Node name",
|
|
55
|
+
"opt_node_hint": "a-z, 0-9, dash and underscore only",
|
|
56
|
+
"opt_domain_label": "Shared gateway domain",
|
|
57
|
+
"opt_domain_hint": "one domain for every node; the node is selected with ?user=",
|
|
58
|
+
"opt_token_label": "Token (optional)",
|
|
59
|
+
"opt_token_hint": "leave empty and the gateway issues one",
|
|
60
|
+
"opt_ssh_target_label": "SSH target",
|
|
61
|
+
"opt_ssh_target_hint": "user@host - key-based auth; interactive password prompts are not supported",
|
|
62
|
+
"opt_ssh_port_label": "SSH port",
|
|
63
|
+
"opt_ssh_domain_label": "Shared gateway domain (optional)",
|
|
64
|
+
"opt_ssh_note": "The remote host runs: bash install.sh --quick --lang={0}",
|
|
65
|
+
"opt_summary_group": "What will run",
|
|
66
|
+
"opt_err_node_required": "Enter a node name.",
|
|
67
|
+
"opt_err_domain_required": "Enter the shared gateway domain.",
|
|
68
|
+
"opt_err_ssh_required": "Enter the SSH target as user@host.",
|
|
69
|
+
"opt_err_ssh_port": "The SSH port must be a number from 1 to 65535.",
|
|
70
|
+
"opt_err_node_chars": "The node name may contain only a-z, 0-9, dash and underscore.",
|
|
71
|
+
"opt_err_installer_missing": "install.ps1 was not found next to this wizard ({0}).",
|
|
72
|
+
"opt_err_install_sh_missing": "install.sh was not found next to this wizard ({0}); it is required for SSH installation.",
|
|
73
|
+
"opt_err_core_missing": "The core/ directory was not found next to this wizard ({0}); it is required for SSH installation.",
|
|
74
|
+
"opt_err_ssh_missing": "ssh.exe / scp.exe were not found. Add the 'OpenSSH Client' optional feature in Windows.",
|
|
75
|
+
|
|
76
|
+
"prog_running": "Running...",
|
|
77
|
+
"prog_log": "Installer output",
|
|
78
|
+
"prog_done_ok": "Finished successfully.",
|
|
79
|
+
"prog_done_fail": "Finished with an error (exit code {0}).",
|
|
80
|
+
"prog_cancelled": "Cancelled.",
|
|
81
|
+
|
|
82
|
+
"res_success_title": "Installation complete",
|
|
83
|
+
"res_fail_title": "Installation failed",
|
|
84
|
+
"res_url_group": "MCP server URL - paste this into Google Gemini",
|
|
85
|
+
"res_copied": "Copied to the clipboard. Paste with Ctrl+V.",
|
|
86
|
+
"res_copy_failed": "Could not copy automatically - select the text and press Ctrl+C.",
|
|
87
|
+
"res_steps_title": "Where to paste this URL in Google Gemini",
|
|
88
|
+
"res_step1_prefix": "1. Open in your browser:",
|
|
89
|
+
"res_step2": "2. Click \"Add app\" (or open the MCP settings).",
|
|
90
|
+
"res_step3": "3. Paste the URL into the \"Server URL\" field and click Connect.",
|
|
91
|
+
"res_config_group": "Created configuration",
|
|
92
|
+
"res_config_file": "Config file",
|
|
93
|
+
"res_autostart_file": "Autostart entry",
|
|
94
|
+
"res_agent_log": "Agent log",
|
|
95
|
+
"res_fail_hint": "Read the installer output above. A frequent cause is a gateway domain that does not resolve: re-run with Custom setup and an explicit domain.",
|
|
96
|
+
"res_url_missing": "The installer finished, but the URL could not be determined. See the output above.",
|
|
97
|
+
"res_remote_note": "The node was installed on the remote host; the URL above is what the remote installer printed.",
|
|
98
|
+
"res_log_group": "Installer output",
|
|
99
|
+
|
|
100
|
+
"msg_cancel_title": "Confirm",
|
|
101
|
+
"msg_cancel_confirm": "The installer is still running. Stop it and close the wizard?",
|
|
102
|
+
"err_strings_missing": "Language file not found: {0}",
|
|
103
|
+
"err_strings_invalid": "Language file is not valid JSON: {0}",
|
|
104
|
+
"err_lang_missing": "Language '{0}' is not present in the language file."
|
|
105
|
+
},
|
|
106
|
+
|
|
107
|
+
"ru": {
|
|
108
|
+
"app_title": "Antigravity Mesh - Визуальный установщик",
|
|
109
|
+
"lang_label": "Язык",
|
|
110
|
+
"btn_next": "Далее >",
|
|
111
|
+
"btn_back": "< Назад",
|
|
112
|
+
"btn_cancel": "Отмена",
|
|
113
|
+
"btn_close": "Закрыть",
|
|
114
|
+
"btn_install": "Установить",
|
|
115
|
+
"btn_copy": "Копировать ссылку",
|
|
116
|
+
"btn_open_gemini": "Открыть Gemini Apps",
|
|
117
|
+
"btn_open_config": "Открыть папку",
|
|
118
|
+
"btn_copy_link": "Копировать",
|
|
119
|
+
"btn_finish": "Завершить",
|
|
120
|
+
"btn_again": "Установить ещё",
|
|
121
|
+
"step_indicator": "Шаг {0} из {1}",
|
|
122
|
+
|
|
123
|
+
"page_welcome_title": "Устройство и окружение",
|
|
124
|
+
"page_mode_title": "Вариант установки",
|
|
125
|
+
"page_options_title": "Параметры",
|
|
126
|
+
"page_progress_title": "Установка",
|
|
127
|
+
"page_result_title": "Результат",
|
|
128
|
+
|
|
129
|
+
"welcome_intro": "Мастер собирает те же параметры, что и консольный установщик, и затем вызывает его - регистрация на шлюзе, автозапуск и контракт ссылки MCP остаются в одном месте.",
|
|
130
|
+
"device_group": "Обнаружено устройство",
|
|
131
|
+
"device_hostname": "Имя хоста",
|
|
132
|
+
"device_type": "Тип",
|
|
133
|
+
"device_os": "ОС",
|
|
134
|
+
"device_laptop": "Windows Ноутбук",
|
|
135
|
+
"device_desktop": "Windows Десктоп / Сервер",
|
|
136
|
+
|
|
137
|
+
"preflight_group": "Предполётная проверка (только чтение, ничего не меняется)",
|
|
138
|
+
"preflight_running": "Проверяю Python, websockets и домен шлюза...",
|
|
139
|
+
"preflight_python": "Python",
|
|
140
|
+
"preflight_websockets": "websockets",
|
|
141
|
+
"preflight_domain": "Домен шлюза",
|
|
142
|
+
"preflight_config": "Каталог конфигурации",
|
|
143
|
+
"preflight_autostart": "Автозапуск",
|
|
144
|
+
"preflight_node": "Состояние узла",
|
|
145
|
+
"preflight_failed": "Не удалось выполнить проверку: {0}",
|
|
146
|
+
"preflight_problems": "Проверка нашла проблемы (см. выше). Установку всё равно можно попробовать.",
|
|
147
|
+
"preflight_no_domain": "Домен шлюза не настроен. Укажите его в режиме «Кастомная настройка» или задайте MESH_PUBLIC_URL / файл домена.",
|
|
148
|
+
|
|
149
|
+
"mode_prompt": "Выберите вариант запуска. Он повторяет консольный установщик.",
|
|
150
|
+
"mode_quick_title": "Быстрая настройка (рекомендуется)",
|
|
151
|
+
"mode_quick_desc": "Имя узла = имя ПК, общий домен шлюза, автозапуск Windows.",
|
|
152
|
+
"mode_custom_title": "Кастомная настройка",
|
|
153
|
+
"mode_custom_desc": "Своё имя узла, свой общий домен, необязательный токен.",
|
|
154
|
+
"mode_ssh_title": "Удалённая установка по SSH",
|
|
155
|
+
"mode_ssh_desc": "Скопировать код узла на Linux-хост и запустить там install.sh.",
|
|
156
|
+
|
|
157
|
+
"opt_quick_group": "Быстрая настройка",
|
|
158
|
+
"opt_quick_summary": "Имя узла: {0}\r\nДомен шлюза: {1}\r\nАвтозапуск: папка «Автозагрузка» Windows (antigravity-agent.vbs)",
|
|
159
|
+
"opt_node_label": "Имя узла",
|
|
160
|
+
"opt_node_hint": "только a-z, 0-9, дефис и подчёркивание",
|
|
161
|
+
"opt_domain_label": "Общий домен шлюза",
|
|
162
|
+
"opt_domain_hint": "один домен для всех узлов; узел выбирается через ?user=",
|
|
163
|
+
"opt_token_label": "Токен (необязательно)",
|
|
164
|
+
"opt_token_hint": "оставьте пустым - шлюз выдаст сам",
|
|
165
|
+
"opt_ssh_target_label": "SSH цель",
|
|
166
|
+
"opt_ssh_target_hint": "user@host - авторизация по ключу; ввод пароля не поддерживается",
|
|
167
|
+
"opt_ssh_port_label": "Порт SSH",
|
|
168
|
+
"opt_ssh_domain_label": "Общий домен шлюза (необязательно)",
|
|
169
|
+
"opt_ssh_note": "На удалённом хосте выполнится: bash install.sh --quick --lang={0}",
|
|
170
|
+
"opt_summary_group": "Что будет выполнено",
|
|
171
|
+
"opt_err_node_required": "Введите имя узла.",
|
|
172
|
+
"opt_err_domain_required": "Введите общий домен шлюза.",
|
|
173
|
+
"opt_err_ssh_required": "Введите SSH цель в виде user@host.",
|
|
174
|
+
"opt_err_ssh_port": "Порт SSH должен быть числом от 1 до 65535.",
|
|
175
|
+
"opt_err_node_chars": "Имя узла может содержать только a-z, 0-9, дефис и подчёркивание.",
|
|
176
|
+
"opt_err_installer_missing": "Рядом с мастером не найден install.ps1 ({0}).",
|
|
177
|
+
"opt_err_install_sh_missing": "Рядом с мастером не найден install.sh ({0}); он нужен для установки по SSH.",
|
|
178
|
+
"opt_err_core_missing": "Рядом с мастером не найден каталог core/ ({0}); он нужен для установки по SSH.",
|
|
179
|
+
"opt_err_ssh_missing": "Не найдены ssh.exe / scp.exe. Включите компонент «Клиент OpenSSH» в Windows.",
|
|
180
|
+
|
|
181
|
+
"prog_running": "Выполняется...",
|
|
182
|
+
"prog_log": "Вывод установщика",
|
|
183
|
+
"prog_done_ok": "Завершено успешно.",
|
|
184
|
+
"prog_done_fail": "Завершено с ошибкой (код {0}).",
|
|
185
|
+
"prog_cancelled": "Отменено.",
|
|
186
|
+
|
|
187
|
+
"res_success_title": "Установка завершена",
|
|
188
|
+
"res_fail_title": "Установка не удалась",
|
|
189
|
+
"res_url_group": "Ссылка MCP-сервера - вставьте её в Google Gemini",
|
|
190
|
+
"res_copied": "Скопировано в буфер обмена. Вставьте через Ctrl+V.",
|
|
191
|
+
"res_copy_failed": "Не удалось скопировать автоматически - выделите текст и нажмите Ctrl+C.",
|
|
192
|
+
"res_steps_title": "Куда вставлять ссылку в Google Gemini",
|
|
193
|
+
"res_step1_prefix": "1. Откройте в браузере:",
|
|
194
|
+
"res_step2": "2. Нажмите «Добавить приложение» (или откройте настройки MCP).",
|
|
195
|
+
"res_step3": "3. Вставьте ссылку в поле «URL сервера» и нажмите «Подключить».",
|
|
196
|
+
"res_config_group": "Созданная конфигурация",
|
|
197
|
+
"res_config_file": "Файл конфигурации",
|
|
198
|
+
"res_autostart_file": "Файл автозапуска",
|
|
199
|
+
"res_agent_log": "Журнал агента",
|
|
200
|
+
"res_fail_hint": "Прочитайте вывод установщика выше. Частая причина - домен шлюза, который не разрешается: повторите запуск в режиме «Кастомная настройка» с явным доменом.",
|
|
201
|
+
"res_url_missing": "Установщик завершился, но ссылку определить не удалось. Смотрите вывод выше.",
|
|
202
|
+
"res_remote_note": "Узел установлен на удалённом хосте; ссылка выше напечатана удалённым установщиком.",
|
|
203
|
+
"res_log_group": "Вывод установщика",
|
|
204
|
+
|
|
205
|
+
"msg_cancel_title": "Подтверждение",
|
|
206
|
+
"msg_cancel_confirm": "Установщик ещё выполняется. Остановить его и закрыть мастер?",
|
|
207
|
+
"err_strings_missing": "Не найден файл языков: {0}",
|
|
208
|
+
"err_strings_invalid": "Файл языков содержит некорректный JSON: {0}",
|
|
209
|
+
"err_lang_missing": "Язык '{0}' отсутствует в файле языков."
|
|
210
|
+
}
|
|
211
|
+
}
|