vault-go 0.34.0 → 0.35.0
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 +1 -1
- package/dist/computer-tools.js +2 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -180,7 +180,7 @@ Engines and updates: `vault_go_engines`, `vault_go_engine_select`, `vault_go_gen
|
|
|
180
180
|
|
|
181
181
|
Graph and local code: `vault_go_graph`, `vault_go_graph_link`, `vault_go_graph_link_delete`, `vault_go_graph_presets`, `vault_go_graph_preset_save`, `vault_go_smart_outline`, `vault_go_smart_unfold`, `vault_go_smart_search`, `vault_go_smart_languages`.
|
|
182
182
|
|
|
183
|
-
Computer Use by Vault: `vault_go_computer_status`, `vault_go_computer_permissions`, `vault_go_computer_list_apps`, `vault_go_computer_list_windows`, `vault_go_computer_get_app_state`, `vault_go_computer_query`, `vault_go_computer_click`, `vault_go_computer_perform_secondary_action`, `vault_go_computer_scroll`, `vault_go_computer_drag`, `vault_go_computer_type_text`, `vault_go_computer_paste_text`, `vault_go_computer_set_value`, `vault_go_computer_press_key`, `vault_go_computer_hotkey`. They drive local apps through the Vault Desktop native helper (installed and running), so every MCP client shares its permissions; on macOS grant Accessibility and Screen Recording to "Vault Desktop Computer Use" once. `get_app_state` returns the accessibility tree plus the window screenshot as an MCP image; `query` finds controls by text or role without a screenshot. Element indexes share one session per server. Typed text and values travel over stdin, never the process arguments. Set `VAULT_DESKTOP_CLI` to point at a custom CLI path, or `VAULT_GO_COMPUTER_USE=off` to hide the tools. The tool surface follows [open-computer-use](https://github.com/iFurySt/open-computer-use) (MIT).
|
|
183
|
+
Computer Use by Vault: `vault_go_computer_status`, `vault_go_computer_permissions`, `vault_go_computer_list_apps`, `vault_go_computer_list_windows`, `vault_go_computer_get_app_state`, `vault_go_computer_query`, `vault_go_computer_click`, `vault_go_computer_perform_secondary_action`, `vault_go_computer_scroll`, `vault_go_computer_drag`, `vault_go_computer_type_text`, `vault_go_computer_paste_text`, `vault_go_computer_set_value`, `vault_go_computer_press_key`, `vault_go_computer_hotkey`. They drive local apps through the Vault Desktop native helper (installed and running), so every MCP client shares its permissions; on macOS grant Accessibility and Screen Recording to "Vault Desktop Computer Use" once. `get_app_state` returns the accessibility tree plus the window screenshot as an MCP image; `query` finds controls by text or role without a screenshot. With Vault Desktop 0.11.73 or later, actions run in the background on the target window: the user's pointer and frontmost app never change, and a dedicated agent cursor is drawn only over that window. Element indexes share one session per server. Typed text and values travel over stdin, never the process arguments. Set `VAULT_DESKTOP_CLI` to point at a custom CLI path, or `VAULT_GO_COMPUTER_USE=off` to hide the tools. The tool surface follows [open-computer-use](https://github.com/iFurySt/open-computer-use) (MIT).
|
|
184
184
|
|
|
185
185
|
Workflows: `vault_go_workflow`, `vault_go_modes`, `vault_go_mode`, plus named prompts such as `vault_go_babysit`. Loading a mode gives the agent instructions; it does not start a background job.
|
|
186
186
|
|
package/dist/computer-tools.js
CHANGED
|
@@ -13,7 +13,7 @@ const observe = {
|
|
|
13
13
|
};
|
|
14
14
|
const ACTION = { readOnlyHint: false, destructiveHint: false, openWorldHint: false };
|
|
15
15
|
const READ = { readOnlyHint: true, destructiveHint: false, idempotentHint: true, openWorldHint: false };
|
|
16
|
-
const SAFETY = 'Não envie, compre, apague nem altere contas sem pedido explícito do usuário. Ação não verificada (verification.state=unverified) não é sucesso comprovado.';
|
|
16
|
+
const SAFETY = 'Roda em segundo plano na janela alvo: não move o mouse do usuário nem tira o foco do app em que ele está, e um cursor dedicado do agente aparece só sobre aquela janela (Vault Desktop 0.11.73+). Não envie, compre, apague nem altere contas sem pedido explícito do usuário. Ação não verificada (verification.state=unverified) não é sucesso comprovado.';
|
|
17
17
|
function observeFlags(input, bridge) {
|
|
18
18
|
return {
|
|
19
19
|
app: undefined,
|
|
@@ -63,7 +63,7 @@ export function registerComputerTools(server, bridge = new ComputerUseBridge(),
|
|
|
63
63
|
inputSchema: { app }, annotations: READ,
|
|
64
64
|
}, ({ app: target }) => invoke(() => bridge.call('list-windows', { app: target })));
|
|
65
65
|
server.registerTool('vault_go_computer_get_app_state', {
|
|
66
|
-
description: 'Lê a árvore de acessibilidade da janela de um app e anexa um screenshot. Chame uma vez por turno antes de agir; os números da árvore são os elementIndex das ações e expiram após mudanças na UI.',
|
|
66
|
+
description: 'Lê a árvore de acessibilidade da janela de um app e anexa um screenshot, sem trazer a janela para frente. Chame uma vez por turno antes de agir; os números da árvore são os elementIndex das ações e expiram após mudanças na UI.',
|
|
67
67
|
inputSchema: { app, ...observe }, annotations: READ,
|
|
68
68
|
}, (input) => action('get-app-state', input, {}));
|
|
69
69
|
server.registerTool('vault_go_computer_query', {
|