visionclaw 0.1.194-beta.3 → 0.1.194-beta.4

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.
@@ -1198,7 +1198,9 @@ export class ClaudeAgentSession {
1198
1198
  }
1199
1199
  try {
1200
1200
  const raw = (await candidate.call(q));
1201
- logger.debug(`[getContextUsage] raw: totalTokens=${String(raw.totalTokens)} maxTokens=${String(raw.maxTokens)}`);
1201
+ // logger.debug(
1202
+ // `[getContextUsage] raw: totalTokens=${String(raw.totalTokens)} maxTokens=${String(raw.maxTokens)}`,
1203
+ // );
1202
1204
  const totalTokens = typeof raw.totalTokens === "number" ? raw.totalTokens : NaN;
1203
1205
  const maxTokens = typeof raw.maxTokens === "number" ? raw.maxTokens : NaN;
1204
1206
  if (!Number.isFinite(totalTokens) || !Number.isFinite(maxTokens) || maxTokens <= 0) {
@@ -1212,7 +1214,9 @@ export class ClaudeAgentSession {
1212
1214
  allImageBlocks: this.lastUsageSnapshot?.allImageBlocks,
1213
1215
  capturedAtMs: Date.now(),
1214
1216
  };
1215
- logger.debug(`[getLiveContextUsage] snapshot: usedPct=${(usage.usedPct * 100).toFixed(1)}% used=${usage.usedInputTokens} window=${usage.contextWindow}`);
1217
+ // logger.debug(
1218
+ // `[getLiveContextUsage] snapshot: usedPct=${(usage.usedPct * 100).toFixed(1)}% used=${usage.usedInputTokens} window=${usage.contextWindow}`,
1219
+ // );
1216
1220
  return usage;
1217
1221
  }
1218
1222
  catch (err) {
@@ -1 +1 @@
1
- {"version":3,"file":"session.js","sourceRoot":"","sources":["../../../../src/agent/providers/claude/session.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,cAAc,MAAM,gCAAgC,CAAC;AACjE,OAAO,EACL,KAAK,GAUN,MAAM,gCAAgC,CAAC;AAExC,OAAO,EAAE,aAAa,EAAE,aAAa,EAAE,iBAAiB,EAAE,iBAAiB,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAC5H,OAA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jF,oBAAoB,CAAC,OAAgD;QACnE,IAAI,CAAC,iBAAiB,GAAG,EAAE,GAAG,OAAO,EAAqC,CAAC;IAC7E,CAAC;IAED,kDAAkD;IAClD,oBAAoB;QAClB,OAAO,EAAE,GAAG,IAAI,CAAC,iBAAiB,EAA6C,CAAC;IAClF,CAAC;CACF"}
@@ -1 +1 @@
1
- {"version":3,"file":"screenshot-injector.d.ts","sourceRoot":"","sources":["../../src/agent/screenshot-injector.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;AAmCrE;;;;;;;GAOG;AACH,qBAAa,kBAAkB;IAC7B,OAAO,CAAC,YAAY,CAAK;IACzB,OAAO,CAAC,WAAW,CAAK;IACxB,OAAO,CAAC,QAAQ,CAAS;IACzB,OAAO,CAAC,QAAQ,CAAC,aAAa,CAAS;IACvC,OAAO,CAAC,QAAQ,CAAC,WAAW,CAAS;gBAEzB,OAAO,CAAC,EAAE;QAAE,aAAa,CAAC,EAAE,MAAM,CAAC;QAAC,WAAW,CAAC,EAAE,MAAM,CAAA;KAAE;IAKtE;;;;OAIG;IACG,cAAc,CAClB,QAAQ,EAAE,MAAM,EAChB,OAAO,EAAE,gBAAgB,GACxB,OAAO,CAAC,IAAI,CAAC;IA0ChB,sDAAsD;IACtD,KAAK,IAAI,IAAI;CAKd"}
1
+ {"version":3,"file":"screenshot-injector.d.ts","sourceRoot":"","sources":["../../src/agent/screenshot-injector.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;AAsCrE;;;;;;;GAOG;AACH,qBAAa,kBAAkB;IAC7B,OAAO,CAAC,YAAY,CAAK;IACzB,OAAO,CAAC,WAAW,CAAK;IACxB,OAAO,CAAC,QAAQ,CAAS;IACzB,OAAO,CAAC,QAAQ,CAAC,aAAa,CAAS;IACvC,OAAO,CAAC,QAAQ,CAAC,WAAW,CAAS;gBAEzB,OAAO,CAAC,EAAE;QAAE,aAAa,CAAC,EAAE,MAAM,CAAC;QAAC,WAAW,CAAC,EAAE,MAAM,CAAA;KAAE;IAKtE;;;;OAIG;IACG,cAAc,CAClB,QAAQ,EAAE,MAAM,EAChB,OAAO,EAAE,gBAAgB,GACxB,OAAO,CAAC,IAAI,CAAC;IA0ChB,sDAAsD;IACtD,KAAK,IAAI,IAAI;CAKd"}
@@ -1,17 +1,20 @@
1
1
  import { takeScreenshot } from "../tools/screenshot.js";
2
2
  import { logger } from "../logger.js";
3
3
  import { formatNowWithTz } from "./context.js";
4
- const DEFAULT_MIN_INTERVAL_MS = 30_000;
5
- const DEFAULT_MAX_PER_CYCLE = 30;
4
+ const DEFAULT_MIN_INTERVAL_MS = 180_000;
5
+ const DEFAULT_MAX_PER_CYCLE = 2;
6
6
  /**
7
- * Playwright interaction tools that mutate browser state and warrant
8
- * a follow-up desktop screenshot. Read-only tools (snapshot, console
9
- * messages, network events) are excluded.
7
+ * Playwright tools that do not warrant a follow-up desktop screenshot.
8
+ * Playwright's accessibility snapshot is usually enough for read-only
9
+ * queries and low-impact form interactions.
10
10
  */
11
- const PLAYWRIGHT_READ_ONLY = new Set([
11
+ const PLAYWRIGHT_SCREENSHOT_EXCLUDED = new Set([
12
12
  "browser_snapshot",
13
13
  "browser_console_messages",
14
14
  "browser_network_events",
15
+ "browser_type",
16
+ "browser_hover",
17
+ "browser_select_option",
15
18
  ]);
16
19
  /**
17
20
  * Extract the base tool name from a possibly MCP-prefixed name.
@@ -26,7 +29,7 @@ function isPlaywrightInteraction(toolName) {
26
29
  const isBrowserMcp = toolName.includes("playwright") || toolName.includes("playwriter");
27
30
  if (!isBrowserMcp)
28
31
  return false;
29
- return !PLAYWRIGHT_READ_ONLY.has(name);
32
+ return !PLAYWRIGHT_SCREENSHOT_EXCLUDED.has(name);
30
33
  }
31
34
  /**
32
35
  * Automatically injects a desktop screenshot into the agent session
@@ -1 +1 @@
1
- {"version":3,"file":"screenshot-injector.js","sourceRoot":"","s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G,OAAO,CAAC,aAAa,CAAC;gBACrC;oBACE,IAAI,EAAE,MAAM;oBACZ,IAAI,EAAE,0BAA0B,eAAe,EAAE,0BAA0B,QAAQ,GAAG;iBACvF;gBACD;oBACE,IAAI,EAAE,OAAO;oBACb,MAAM,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,UAAU,EAAE,WAAW,EAAE,IAAI,EAAE,MAAM,EAAE;iBAClE;aACwD,CAAC,CAAC;YAE7D,IAAI,QAAQ,EAAE,CAAC;gBACb,MAAM,CAAC,KAAK,CACV,wCAAwC,QAAQ,KAAK,IAAI,CAAC,WAAW,IAAI,IAAI,CAAC,WAAW,GAAG,CAC7F,CAAC;YACJ,CAAC;QACH,CAAC;QAAC,OAAO,GAAG,EAAE,CAAC;YACb,MAAM,CAAC,IAAI,CACT,sCAAsC,QAAQ,KAAK,GAAG,YAAY,KAAK,CAAC,CAAC,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC,GAAG,CAAC,EAAE,CACtG,CAAC;QACJ,CAAC;gBAAS,CAAC;YACT,IAAI,CAAC,QAAQ,GAAG,KAAK,CAAC;QACxB,CAAC;IACH,CAAC;IAED,sDAAsD;IACtD,KAAK;QACH,IAAI,CAAC,YAAY,GAAG,CAAC,CAAC;QACtB,IAAI,CAAC,WAAW,GAAG,CAAC,CAAC;QACrB,IAAI,CAAC,QAAQ,GAAG,KAAK,CAAC;IACxB,CAAC;CACF"}
package/dist/backup.d.ts CHANGED
@@ -1,5 +1,6 @@
1
1
  import { type BackupResult, type BackupRunOptions } from "./agent/backup.js";
2
2
  export declare function parseBackupCliArgs(args: string[]): BackupRunOptions;
3
+ export declare function formatRestoreCommand(result: BackupResult): string | undefined;
3
4
  export declare function formatBackupResult(result: BackupResult): string;
4
5
  export declare function runBackupCli(args?: string[]): Promise<void>;
5
6
  //# sourceMappingURL=backup.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"backup.d.ts","sourceRoot":"","sources":["../src/backup.ts"],"names":[],"mappings":"AACA,OAAO,EAAa,KAAK,YAAY,EAAE,KAAK,gBAAgB,EAAE,MAAM,mBAAmB,CAAC;AAmCxF,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,MAAM,EAAE,GAAG,gBAAgB,CAsCnE;AAED,wBAAgB,kBAAkB,CAAC,MAAM,EAAE,YAAY,GAAG,MAAM,CAU/D;AAED,wBAAsB,YAAY,CAAC,IAAI,GAAE,MAAM,EAA0B,GAAG,OAAO,CAAC,IAAI,CAAC,CAQxF"}
1
+ {"version":3,"file":"backup.d.ts","sourceRoot":"","sources":["../src/backup.ts"],"names":[],"mappings":"AACA,OAAO,EAAa,KAAK,YAAY,EAAE,KAAK,gBAAgB,EAAE,MAAM,mBAAmB,CAAC;AAmCxF,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,MAAM,EAAE,GAAG,gBAAgB,CAsCnE;AAWD,wBAAgB,oBAAoB,CAAC,MAAM,EAAE,YAAY,GAAG,MAAM,GAAG,SAAS,CAI7E;AAED,wBAAgB,kBAAkB,CAAC,MAAM,EAAE,YAAY,GAAG,MAAM,CAc/D;AAED,wBAAsB,YAAY,CAAC,IAAI,GAAE,MAAM,EAA0B,GAAG,OAAO,CAAC,IAAI,CAAC,CAQxF"}
package/dist/backup.js CHANGED
@@ -72,16 +72,34 @@ export function parseBackupCliArgs(args) {
72
72
  }
73
73
  return options;
74
74
  }
75
+ function shellQuote(value) {
76
+ return `'${value.replaceAll("'", "'\\''")}'`;
77
+ }
78
+ function getRestoreSource(result) {
79
+ if (result.provider === "tos")
80
+ return result.signedUrl;
81
+ return result.location;
82
+ }
83
+ export function formatRestoreCommand(result) {
84
+ const source = getRestoreSource(result);
85
+ if (!source)
86
+ return undefined;
87
+ return `visionclaw restore ${shellQuote(source)} --force`;
88
+ }
75
89
  export function formatBackupResult(result) {
90
+ const restoreCommand = formatRestoreCommand(result);
76
91
  if (result.provider === "tos") {
77
92
  const lines = [`Backup internal location:\n${result.location}`];
78
93
  if (result.signedUrl) {
79
94
  const expires = result.expiresAt ? ` expires at ${result.expiresAt}` : "";
80
95
  lines.push(`Signed download URL${expires}:\n${result.signedUrl}`);
81
96
  }
97
+ if (restoreCommand) {
98
+ lines.push(`Restore command:\n${restoreCommand}`);
99
+ }
82
100
  return lines.join("\n\n");
83
101
  }
84
- return result.location;
102
+ return restoreCommand ? `${result.location}\n\nRestore command:\n${restoreCommand}` : result.location;
85
103
  }
86
104
  export async function runBackupCli(args = process.argv.slice(2)) {
87
105
  const config = loadConfig();
@@ -1 +1 @@
1
- {"version":3,"file":"backup.js","sourceRoot":"","sources":["../src/backup.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,UAAU,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC5E,OAAO,EAAE,SAAS,EAA4C,MAAM,mBAAmB,CAAC;AACxF,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAGrC,SAAS,uBAAuB,CAAC,KAAa;IAC5C,QAAQ,KAAK,EAAE,CAAC;QACd,KAAK,QAAQ,CAAC;QACd,KAAK,OAAO,CAAC;QACb,KAAK,cAAc,CAAC;QACpB,KAAK,QAAQ;YACX,OAAO,QAAQ,CAAC;QAClB,KAAK,KAAK;YACR,OAAO,KAAK,CAAC;QACf;YACE,MAAM,IAAI,KAAK,CAAC,4BAA4B,KAAK,2BAA2B,CAAC,CAAC;IAClF,CAAC;AACH,CAAC;AAED,SAAS,oBAAoB,CAAC,KAAa;IACzC,MAAM,OAAO,GAAG,KAAK,CAAC,IAAI,EAAE,CAAC,WAAW,EAAE,CAAC;IAC3C,MAAM,KAAK,GAAG,iBAAiB,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAC9C,IAAI,CAAC,KAAK,EAAE,CAAC;QACX,MAAM,IAAI,KAAK,CAAC,uCAAuC,KAAK,iCAAiC,CAAC,CAAC;IACjG,CAAC;IACD,MAAM,MAAM,GAAG,MAAM,CAAC,KAAK,CAAC,CAAC,CA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AM,CAAC,MAAM,CAAC,oBAAoB,kBAAkB,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC;AAClE,CAAC"}
@@ -1,5 +1,5 @@
1
1
  ---
2
- description: Use this skill when the user asks how VisionClaw works, what commands are available, how to interact with the agent, or needs help understanding the agent's features and behavior. Covers commands, messaging channels, wake/sleep cycle, tools, memory, skills, and the web console.
2
+ description: Use this skill when the user asks how VisionClaw works, what commands are available, how to interact with the agent, or needs help understanding the agent's features and behavior. Covers commands, messaging channels, wake/sleep cycle, Telegram Mini Apps, realtime voice, WeChat login, tools, memory, skills, and the web console.
3
3
  ---
4
4
 
5
5
  # VisionClaw User Manual
@@ -8,231 +8,334 @@ This document describes how VisionClaw works and how the owner can interact with
8
8
 
9
9
  ## What is VisionClaw?
10
10
 
11
- VisionClaw is a personal desktop agent that runs as a long-lived process on macOS or Windows. It owns and fully controls the computer it runs on it can execute terminal commands, control GUI applications, browse the web, manage files, send emails, and more. It is powered by the Anthropic Claude Agent SDK.
11
+ VisionClaw is a personal desktop agent that runs as a long-lived process on macOS or Windows. It owns and controls the computer it runs on: it can execute terminal commands, control GUI applications, browse the web, manage files, send emails, use calendars, and interact with desktop/mobile apps. It is powered by the Claude Agent SDK and can be configured with different model providers.
12
12
 
13
- The agent has its own identity: a dedicated Gmail account (used for sending/receiving emails), a Google Calendar, a Google Drive, and accounts on platforms like WeChat and GitHub. It acts autonomously on behalf of its owner.
13
+ The agent has its own identity: a dedicated Gmail account, Google Calendar, Google Drive, Telegram bot, and optional app accounts such as WeChat and GitHub. It acts autonomously on behalf of its owner, while keeping the owner reachable through Telegram and other enabled channels.
14
14
 
15
15
  ## Communication Channels
16
16
 
17
17
  ### Command Channel: Telegram
18
18
 
19
- Telegram is the **primary command channel**. Messages sent via Telegram are handled with **highest priority** they wake the agent immediately and are processed instantly, even interrupting the current sleep cycle.
19
+ Telegram is the primary command channel. Telegram messages wake the agent immediately and are processed with highest priority. When the agent is sleeping, a Telegram message wakes it. When the agent is busy, the message is injected into the active turn and the fast responder may immediately acknowledge it.
20
20
 
21
- Telegram commands:
21
+ Any normal text message sent by the owner via Telegram is treated as a command or task for the agent to execute.
22
+
23
+ ### Telegram Slash Commands
24
+
25
+ Owner-only commands:
22
26
 
23
27
  | Command | Description |
24
28
  |---|---|
25
- | `/requests` | List pending Telegram chat approval requests that have not been approved or blocked yet. |
26
- | `/approve <id>` | Approve a pending Telegram chat request. Any messages held from that chat are released to the agent after approval. |
27
- | `/block <id>` | Block a pending or previously approved Telegram chat. Held pending messages from that chat are discarded. |
28
- | `/chats` | List approved and blocked Telegram chats with their current access status. |
29
- | `/stop` | Stop the agent's current task. The agent finishes its current step and halts. If the agent is not working, it replies accordingly. |
30
- | `/sleep <minutes>` | Change the heartbeat (sleep) interval. Accepts 1–1440 minutes. Example: `/sleep 30` sets the agent to wake every 30 minutes. |
31
- | `/console` | Get the URL of the web console for monitoring the agent's activity in real time. |
32
- | `/restart` | Restart the agent process. The agent confirms and restarts after a 5-second delay. Useful after configuration changes or if the agent is misbehaving. |
33
- | `/tunnel restart` | Restart the tunnel connection without restarting the agent. Useful if the console URL stops working. |
34
- | `/screenshot` | Take a screenshot of the agent's desktop and send it to you via Telegram. Useful for seeing what's on the screen without using remote desktop. |
35
-
36
- Any other text message sent via Telegram is treated as a **command or task** for the agent to execute.
29
+ | `/help` | Show the live command list. |
30
+ | `/status` | Open the status Mini App when available, or send a cached text status report. |
31
+ | `/status refresh` | Force fresh service health checks and send a text status report. |
32
+ | `/tasks` | Show the current task, todo list, and recent activity steps. |
33
+ | `/stop` | Stop the agent's current task and return to sleep. |
34
+ | `/sleep <minutes>` | Change the heartbeat interval, 1–1440 minutes. Example: `/sleep 30`. |
35
+ | `/console` | Get the web console URL. |
36
+ | `/restart` | Restart the agent process after a short delay. Useful after configuration changes or when the agent is stuck. |
37
+ | `/tunnel restart` | Restart the tunnel connection without restarting the agent. |
38
+ | `/screenshot` | Take a desktop screenshot and send it back via Telegram. |
39
+ | `/rdp [minutes]` | Generate a temporary browser-based remote desktop link. Defaults to 30 minutes; max 480 minutes. |
40
+ | `/realtime` | Open the realtime voice Telegram Mini App. |
41
+ | `/settings` | Open settings for language/timezone changes. |
42
+ | `/backup` | Create a ZIP backup of memories, skills, sessions, and profile data. |
43
+ | `/subscribe` | Show subscription status and billing management options. |
44
+ | `/usage` | Show a tool-call usage report with recent trends. |
45
+ | `/silent [on\|off]` | Toggle silent context compaction mode. |
46
+ | `/refresh` | Force context compaction to recover from a confused/corrupted session. |
47
+ | `/weixin` or `/wechat` | Start WeChat QR login from Telegram. |
48
+ | `/android-use on\|off` | Toggle Android-use tools. Requires restart to fully take effect. |
49
+ | `/chat-monitor on\|off` | Toggle realtime chat message monitoring for supported chat apps such as WeChat/Feishu. |
50
+ | `/upgrade_beta` | Upgrade to the latest beta release. |
51
+ | `/upgrade_dev <tag>` | Upgrade to a dev release by npm dist-tag. |
52
+
53
+ Telegram's slash-command menu intentionally shows only the most common commands, including `/stop`, `/restart`, `/screenshot`, `/status`, `/tasks`, `/subscribe`, `/refresh`, `/realtime`, and `/settings`. Hidden commands such as `/rdp`, `/weixin`, `/upgrade_beta`, and `/upgrade_dev` still work when typed manually.
54
+
55
+ Unknown slash commands are rejected with a short help message instead of being forwarded to the main agent. Natural-language messages that do not start with `/` are unaffected.
37
56
 
38
57
  ### Unknown Telegram Chat Approval
39
58
 
40
59
  When a new Telegram DM or group that has not been approved yet contacts the agent:
41
60
 
42
- - The chat is marked as **pending**
43
- - The owner's Telegram account receives a notification with the chat name, a short preview, and **Approve** / **Block** inline buttons
44
- - The owner can also manage it manually with `/requests`, `/approve <id>`, and `/block <id>`
45
- - Messages from that chat are held until approval instead of being delivered immediately
46
- - Once approved, the held messages are released to the agent automatically
61
+ - The chat is marked as pending.
62
+ - The owner receives a notification with the chat name, preview, and Approve / Block inline buttons.
63
+ - The owner can manage requests with `/requests`, `/approve <id>`, `/block <id>`, and `/chats`.
64
+ - Messages from that chat are held until approval instead of being delivered immediately.
65
+ - Once approved, held messages are released to the agent automatically.
66
+ - Non-owner chats cannot use owner-only slash commands.
67
+
68
+ ### Realtime Voice Mini App (`/realtime`)
69
+
70
+ `/realtime` sends an inline Telegram Web App button that opens VisionClaw's realtime voice interface. The Mini App is served from the existing observability tunnel at `/realtime`; no separate port or DNS setup is needed.
71
+
72
+ The realtime voice interface is designed for short, live conversations with the verified owner:
73
+
74
+ - It uses Telegram Mini App init-data verification, so only the Telegram owner can create a voice session.
75
+ - It creates a short-lived realtime session and connects to OpenAI's realtime voice model.
76
+ - It has a compact snapshot of the main agent's state and live activity summary at session start.
77
+ - It can answer conversationally and use a small set of safe realtime tools.
78
+ - It stores each completed voice transcript under the profile's `voice-transcripts` data and in a SQLite voice session table.
79
+ - After the call ends, VisionClaw summarizes the voice transcript. Open follow-up requests are injected back into the normal agent message path so the main desktop agent can handle work that was outside the realtime interface.
80
+
81
+ Realtime voice capabilities are intentionally narrower than the main desktop agent. It can use tools such as calendar, web/news/local/hotel/flight/finance search, Gmail list/send, persistent memory, stock quotes, Telegram self-message, and quick reminders. It cannot control the desktop, run terminal commands, edit files, automate chat apps, manage MCP servers, restart/upgrade/reconfigure the main agent, or access the full historical context. For anything outside its realtime tool list, it should briefly acknowledge the request and hand it off to the main agent through the post-call summary.
82
+
83
+ Requirements and caveats:
84
+
85
+ - The OBS/console tunnel must be available; otherwise `/realtime` reports that the Mini App is unavailable.
86
+ - Telegram bot token and owner Telegram chat ID must be configured.
87
+ - An OpenAI API key must be configured for the realtime model.
88
+ - Voice session links are short-lived and tied to the verified Telegram session.
89
+
90
+ ### WeChat Login (`/weixin` / `/wechat`)
91
+
92
+ `/weixin` and `/wechat` start the WeChat login flow from Telegram:
93
+
94
+ 1. VisionClaw asks the WeChat/OpenClaw service to start a QR-code login session.
95
+ 2. It renders the login URL as a QR image and sends the image to the owner in Telegram.
96
+ 3. The owner scans the QR code with WeChat.
97
+ 4. VisionClaw waits for login completion for up to about 8 minutes.
98
+ 5. On success, it saves the WeChat account credentials into the current VisionClaw profile, enables the WeChat channel configuration, registers the account ID, and schedules a restart so the new configuration is loaded.
99
+
100
+ There is also a CLI command, `visionclaw weixin-login`, for standalone QR authentication. The CLI and Telegram flows store WeChat state under VisionClaw's profile directory rather than a global OpenClaw directory.
47
101
 
48
102
  ### Other Channels
49
103
 
50
- - **Gmail** — Always enabled. This is the agent's email identity. The agent can send and receive emails as itself.
51
- - **Discord** — Optional. Can be enabled in the configuration.
52
- - **WeChat, GitHub, etc.** The agent has accounts on these platforms and can interact with them via browser automation or desktop control, but they are not direct messaging channels. Messages or notifications from these apps are observed during wake cycles (e.g., via desktop screenshots) rather than being pushed in real time. The agent is expected to regularly check these chat apps for new messages during wake cycles.
104
+ - **Gmail** — Always available when configured. The agent can send, receive, search, and manage email as its Gmail identity.
105
+ - **Discord** — Optional. Can be enabled in configuration.
106
+ - **WeChat and other chat apps** Can be used through configured integrations, chat monitoring, browser automation, mobile automation, or desktop control depending on the environment. They are not as privileged as the owner Telegram command channel.
107
+ - **System/internal messages** — Some subsystems, such as realtime voice summaries or restart markers, enqueue internal messages into the same wake/interrupt path as user messages.
53
108
 
54
109
  ### Message Priority
55
110
 
56
- - **Telegram messages**Instant wake + immediate processing (interrupt current sleep)
57
- - **Gmail / Discord messages**Queued and processed at the next wake cycle
58
- - **App notifications (WeChat, etc.)**Observed passively via desktop screenshots during wake cycles
111
+ - Telegram owner messages and commands instant wake or active-turn interrupt.
112
+ - Internal system messages → normal queue path; can wake or interrupt depending on agent state.
113
+ - Gmail / Discord messagesqueued and processed by the message queue.
114
+ - Desktop/app notifications → observed through screenshots, chat monitors, or explicit automation during wake cycles.
59
115
 
60
116
  ## Wake / Sleep Cycle
61
117
 
62
- VisionClaw operates on an infinite **wake/sleep loop**:
118
+ VisionClaw operates on an infinite wake/sleep loop:
63
119
 
64
- 1. **Sleep** — The agent idles, waiting for either:
65
- - A new message from any enabled channel (Telegram, Gmail, Discord), OR
66
- - The heartbeat timer to expire (configurable via `/sleep <minutes>`)
120
+ 1. **Sleep** — The agent idles, waiting for a new message, an internal event, or the heartbeat timer.
121
+ 2. **Wake** The agent gathers context, including desktop screenshot, upcoming calendar events, queued messages, memory, active realtime voice session metadata, and other configured context.
122
+ 3. **Act** — The agent decides what to do and executes tasks using tools such as browser automation, terminal, desktop control, email/calendar/drive, and memory.
123
+ 4. **Report** — The agent notifies the owner of meaningful results or blockers.
124
+ 5. **Finish** — The agent calls `finish` and returns to sleep.
67
125
 
68
- 2. **Wake** When triggered, the agent:
69
- - Takes a screenshot of the current desktop
70
- - Fetches upcoming Google Calendar events
71
- - Collects all queued messages
72
- - Decides what to do based on the combined context
73
- - Executes tasks (browsing, terminal commands, GUI interactions, etc.)
74
- - Notifies the owner of results
75
- - Calls `finish` to go back to sleep
126
+ If a new message arrives while the agent is busy, the fast responder may send a quick acknowledgement, and the message is injected into the active context. The main agent is still single-threaded: it can only perform one active task step at a time.
76
127
 
77
- 3. **Interrupt Handling** — If a new message arrives while the agent is busy:
78
- - A **fast responder** immediately acknowledges the message (so the user isn't left waiting)
79
- - The message is injected into the agent's active context
80
- - The agent decides whether to switch tasks, queue the request, or continue current work
128
+ ## Sessions and Context
81
129
 
82
130
  ### Single-Threaded Execution
83
131
 
84
- The agent can only do one thing at a time. If it is working on a long task and a new command arrives, the fast responder sends a quick acknowledgement, and the primary agent decides how to handle it when it finishes the current step.
132
+ VisionClaw can only operate one active desktop/browser/terminal workflow at a time. If multiple requests arrive, the agent decides whether to switch tasks, queue work, or finish its current step first.
85
133
 
86
134
  ### Dual-Session Architecture (Optional)
87
135
 
88
- When enabled by the owner, VisionClaw operates with two separate conversation sessions, each with its own context history:
136
+ When enabled, VisionClaw keeps separate conversation sessions:
137
+
138
+ - **General session** — Conversations, quick tasks, questions, scheduling, status checks, and non-coding work.
139
+ - **Coding session** — Complex coding tasks such as refactors, debugging, and multi-file implementation.
89
140
 
90
- - **General session** Handles conversations, quick tasks, questions, scheduling, status checks, and anything that doesn't require sustained multi-step coding work. This is the default session.
91
- - **Coding session** — Handles complex coding tasks (refactoring, debugging, multi-file feature implementation). This session preserves focused coding context without interruption from unrelated messages.
141
+ Only one session is active at a time. The `switch_session` tool hands off between sessions with a memo containing progress and decisions.
92
142
 
93
- Only one session is active at a time. The agent uses the `switch_session` tool to hand off between sessions:
94
- - General → Coding: when a complex coding task arrives
95
- - Coding → General (handoff): when an unrelated message needs attention — the coding session stays active for later
96
- - Coding → General (complete): when the coding task is finished
143
+ ### Context Maintenance
97
144
 
98
- The `memo` field on `switch_session` is the communication channel between sessions it carries context, progress, and decisions so the target session can pick up seamlessly.
145
+ VisionClaw may compact or refresh context to stay within model limits. `/refresh` forces compaction when the agent seems confused. `/silent on` suppresses routine compaction notifications; `/silent off` restores them.
99
146
 
100
147
  ## Available Tools
101
148
 
102
149
  ### Communication
103
- - **notify_user** — Send messages back to the owner through any channel (Telegram, Gmail, Discord). Supports text, images, files, and screenshots.
104
150
 
105
- ### Desktop & Browser
106
- - **computer_use_click / move / scroll / drag / type / key / screenshot** Control the mouse and keyboard for desktop applications using AI-powered coordinate resolution. `computer_use_screenshot` captures the current screen, and `computer_use_move` positions the cursor without clicking.
107
- - **Playwright MCP tools** — Full browser automation: navigate, click, fill forms, take snapshots, execute JavaScript, etc. A Chrome browser is launched automatically before the first Playwright tool call and relaunched if closed. Prefer Playwright for all in-browser work; use computer_use tools only for desktop apps or as a fallback.
151
+ - **notify_user** Send text, images, files, and screenshots back to the owner through enabled channels.
152
+ - **Telegram command handling** Stop, status, tasks, realtime, RDP, backup, settings, subscription, WeChat login, and maintenance commands are handled directly without asking the main LLM to improvise.
153
+
154
+ ### Desktop, Browser, and Remote Access
155
+
156
+ - **computer_use_click / move / scroll / drag / type / key / screenshot** — Control mouse and keyboard for desktop applications using AI-powered coordinate resolution.
157
+ - **Playwright MCP tools** — Browser automation: navigate, click, fill forms, inspect pages, execute JavaScript, and capture snapshots. Prefer Playwright for browser work; use computer-use tools for desktop apps or fallback cases.
158
+ - **remote desktop (`/rdp`)** — Generate a temporary browser-based desktop stream link through the OBS tunnel.
159
+ - **Chrome Remote Desktop / Windows RDP** — The owner can also connect directly when configured.
108
160
 
109
161
  ### Productivity
110
- - **manage_calendar** — Create, update, delete, and list Google Calendar events.
111
- - **manage_email** — Send, read, search, and manage emails via Gmail.
112
- - **manage_drive** — Upload, download, list, and manage files on Google Drive.
113
- - **web_fetch** — Fetch content from a URL and return it in a readable format.
162
+
163
+ - **manage_calendar** — Create, update, delete, list events, and find free time.
164
+ - **manage_email** — Send, read, search, and manage Gmail.
165
+ - **manage_drive** — Upload, download, list, and manage Google Drive files.
166
+ - **web_fetch** — Fetch URL content in readable form.
167
+ - **Search tools** — Web/news/local/hotel/flight/finance and stock quote tools are available in the main agent and a safe subset is available to realtime voice.
114
168
 
115
169
  ### Memory & Knowledge
116
- - **memory** — Persistent storage that survives context compaction. The agent proactively saves important information here. Operations: view, create, edit, delete, rename.
170
+
171
+ - **memory** — Persistent storage under `/memories` that survives context compaction. The agent should proactively save important owner preferences, durable facts, project state, and long-running task notes.
172
+ - **Transcript memory** — Realtime voice sessions are summarized and stored separately so actionable follow-ups can reach the main agent.
117
173
 
118
174
  ### Skills
119
- - **manage_skills** — Create, update, delete, list, browse catalog, and install catalog skills. Skills are reusable instruction sets (SKILL.md files) that the agent can invoke for specialized tasks. Use `manage_skills(action="list_catalog")` to browse available domain-specific skills and `manage_skills(action="install_catalog", name="skill-name")` to install one permanently.
120
- - **Skill** (SDK built-in) Invoke a skill by name when its task pattern matches.
175
+
176
+ - **manage_skills** Create, update, delete, list, browse catalog, and install reusable `SKILL.md` instruction sets.
177
+ - **Skill invocation** — The SDK can invoke installed skills when a task pattern matches.
121
178
 
122
179
  ### MCP Server Management
123
- - **manage_mcp_servers** — Dynamically add, remove, or list external MCP (Model Context Protocol) servers at runtime. This lets the agent connect to new tool providers (GitHub, Slack, databases, etc.) on demand. Supported transport types: stdio, http, sse. Added servers persist across restarts and are hot-loaded into the current session immediately.
124
180
 
125
- ### System
126
- - **screenshot** — Capture the current desktop screen.
127
- - **wait** Pause execution for a specified duration.
181
+ - **manage_mcp_servers** — Add, remove, or list external MCP servers at runtime. Supported transport types include stdio, HTTP, and SSE. Added servers persist across restarts and are hot-loaded into the current session where possible.
182
+
183
+ ### System and Maintenance
184
+
185
+ - **screenshot** — Capture the current desktop.
186
+ - **wait** — Pause execution.
128
187
  - **finish** — Signal task completion and return to sleep.
129
- - **upgrade** — Self-update VisionClaw to the latest version.
188
+ - **upgrade** — Self-update VisionClaw.
189
+ - **backup / restore / reset / reconfigure** — Profile maintenance is available through CLI commands, and backup can be requested from Telegram.
130
190
 
131
- ## Web Console & Self-Monitoring
191
+ ## Web Console, Mini Apps, and Self-Monitoring
132
192
 
133
- VisionClaw includes a built-in web observability server. Use the `/console` command on Telegram to get the URL.
193
+ VisionClaw includes a built-in observability server exposed through the existing tunnel. Use `/console` to get the console URL.
134
194
 
135
195
  The console provides:
136
- - **Real-time activity log** — Watch what the agent is doing live (tool calls, messages, reasoning)
137
- - **Memory viewer** — Browse the agent's persistent memory files
138
- - **Skills viewer** — See all installed skills and their descriptions
139
- - **Agent status** — Check if the agent is busy or idle
140
- - **Stop button** — Emergency stop from the web UI
141
196
 
142
- ### Agent Self-Inspection
197
+ - Real-time activity log: watch tool calls, messages, and agent activity live.
198
+ - Memory viewer: browse persistent memory files.
199
+ - Skills viewer: inspect installed skills and descriptions.
200
+ - Agent status: see whether the agent is idle or busy.
201
+ - Stop button: emergency stop from the web UI.
202
+ - Mounted apps: status Mini App, realtime voice Mini App, and browser-based remote desktop links are served from the same tunnel when enabled.
143
203
 
144
- **pm2 Execution Logs**
204
+ ### Agent Self-Inspection
145
205
 
146
- VisionClaw typically runs under pm2 as a managed process. The agent can read its own raw execution logs using pm2 commands:
206
+ VisionClaw typically runs under pm2 as a managed process. Useful commands include:
147
207
 
148
- - `pm2 logs visionclaw --lines 100` — View the last 100 lines of stdout + stderr.
149
- - `pm2 logs visionclaw --err --lines 50` — View only error output.
208
+ - `pm2 logs visionclaw --lines 100` — View recent stdout/stderr.
209
+ - `pm2 logs visionclaw --err --lines 50` — View recent errors.
150
210
  - `pm2 logs visionclaw --nostream --lines 200` — Dump recent logs without tailing.
151
211
 
152
- These logs contain everything printed during execution: system startup, channel events, tool calls, errors, and more. This is useful for diagnosing crashes, reviewing what happened across restarts, or answering the owner's question "what went wrong?"
212
+ CLI status helpers:
153
213
 
154
- ### Pre-Installed System Utilities
214
+ - `visionclaw agent status` — Show agent status, process info, and config.
215
+ - `visionclaw ctx status` — Show context window usage and session info.
216
+ - `visionclaw ctx compact` — Trigger manual context compaction while the agent is stopped.
217
+ - `visionclaw ctx refresh` — Rotate current sessions and force new sessions on next start.
155
218
 
156
- The following tools are pre-installed on the system and available for the agent to use:
219
+ ### Pre-Installed System Utilities
157
220
 
158
- - **pm2** — Process manager for Node.js. Beyond managing VisionClaw itself, the agent can use pm2 to start, stop, and monitor any long-running processes (e.g., web servers, background scripts, automation daemons).
159
- - **cloudflared** — Cloudflare Tunnel client. A tunnel is already pre-provisioned for the agent by the onboarding service, and the agent owns the wildcard `*.<tunnelname>.visionclawobs.com`. The agent can expose any local service (web app, API, dashboard) on a subdomain under that wildcard by editing its profile-scoped `config.yml`. See the `cloudflare-tunnel` skill for the exact layout, edit rules, and restart workflow do NOT run `cloudflared tunnel login`, `cloudflared tunnel create`, or replace the credentials file.
221
+ - **pm2** — Process manager for VisionClaw and other long-running services.
222
+ - **cloudflared** — Cloudflare Tunnel client. The onboarding service provisions the tunnel. Do not run `cloudflared tunnel login`, create a replacement tunnel, or overwrite credentials unless explicitly instructed by maintainers.
160
223
 
161
224
  ## Memory System
162
225
 
163
- The agent maintains a persistent memory directory (`/memories`). Since the agent's context window is finite and gets compacted over time, important information is proactively saved to memory files.
226
+ The agent maintains a persistent memory directory (`/memories`). Since the model context window is finite, important information should be saved there proactively.
227
+
228
+ Memory should be used for:
229
+
230
+ - Owner preferences and durable facts.
231
+ - Long-running task state.
232
+ - Credentials metadata or account notes, but never raw secrets unless explicitly designed for secure storage.
233
+ - Project conventions and recurring workflows.
164
234
 
165
- **Memory protocol**: At the start of every wake cycle, the agent checks its memory directory for earlier context and progress. As it works, it records status updates and important information. This ensures continuity across context compaction events.
235
+ At wake time, the agent checks memory for relevant prior context. During work, it records status updates and important facts to preserve continuity across compaction and restarts.
166
236
 
167
237
  ## Skills System
168
238
 
169
- Skills are reusable SKILL.md instruction files that teach the agent how to perform specific tasks. They are automatically discovered by the SDK and invoked when relevant.
239
+ Skills are reusable `SKILL.md` files that teach the agent specialized procedures. Built-in skills are installed automatically, and the agent can create or install additional skills for repeated tasks. Skills should contain operational guidance, not ephemeral task notes.
170
240
 
171
- Built-in skills are installed automatically. The agent can also create new skills on the fly using `manage_skills` for tasks it learns to do repeatedly.
241
+ ## CLI Commands
242
+
243
+ Main user/operator commands include:
244
+
245
+ | Command | Description |
246
+ |---|---|
247
+ | `visionclaw` | Start the agent using the selected profile. |
248
+ | `visionclaw prepare` | Auto-detect platform and run preparation steps. |
249
+ | `visionclaw prepare-mac` | Prepare a fresh Mac: dependencies, desktop settings, permissions. |
250
+ | `visionclaw prepare-mac-power` | Run only macOS power/screen settings. |
251
+ | `visionclaw prepare-windows` | Prepare a fresh Windows machine. |
252
+ | `visionclaw setup <source>` | Run manufacturer/pre-ship setup from provisioning JSON, URL, or onboarding key. |
253
+ | `visionclaw set-owner` | Set the owner email/name for post-ship onboarding. |
254
+ | `visionclaw reconfigure` | Update an existing profile without starting the agent. |
255
+ | `visionclaw backup` | Create and upload a ZIP backup. |
256
+ | `visionclaw restore` | Restore from a backup ZIP or signed HTTP URL. |
257
+ | `visionclaw reset --owner` | Clear owner data, memories, skills, and DBs while preserving config/logs. |
258
+ | `visionclaw reset --machine` | Delete the entire profile directory for a fresh setup. |
259
+ | `visionclaw reinstall-skills` | Reinstall built-in skills. |
260
+ | `visionclaw weixin-login` | Authenticate WeChat via QR code scan. |
261
+ | `visionclaw daemon start\|stop\|restart\|status\|logs` | Manage the pm2/LaunchAgent daemon. |
262
+ | `visionclaw daemon install\|uninstall` | Install or remove macOS login auto-start. |
263
+ | `visionclaw ctx status\|compact\|refresh` | Inspect or manage context/session state. |
264
+ | `visionclaw agent status` | Show agent/process/config status. |
265
+
266
+ Data-processing and internal maintenance commands also exist for log sanitization, restructuring, batch processing, transcript expansion, and memory backfill.
267
+
268
+ Global options:
269
+
270
+ - `--profile <name>` — Use a specific profile; default is `default`.
271
+ - `-d`, `--debug` — Enable debug logging.
272
+ - `-v`, `--version` — Print version.
273
+ - `-h`, `--help` — Show CLI help.
172
274
 
173
275
  ## Proactive Behavior
174
276
 
175
- During heartbeat wakes (when there are no new messages), the agent doesn't just sleep — it:
176
- - Reviews upcoming calendar events and takes action if needed
177
- - Follows up on pending tasks
178
- - Checks for VisionClaw updates
179
- - Performs maintenance tasks
277
+ During heartbeat wakes, VisionClaw may:
278
+
279
+ - Review upcoming calendar events.
280
+ - Follow up on pending tasks.
281
+ - Check queued messages and internal events.
282
+ - Observe desktop/app state.
283
+ - Perform maintenance such as update checks or context/memory housekeeping.
180
284
 
181
285
  ## Error Handling
182
286
 
183
- - **Retryable errors** (network issues, rate limits, server errors) The agent retries with exponential backoff.
184
- - **Fatal errors** (authentication failures, billing issues) The agent notifies the owner and sleeps for 5 minutes before retrying.
185
- - If errors persist (5+ consecutive failures), the owner is notified with details.
287
+ - Retryable errors such as transient network problems, rate limits, and server errors are retried with exponential backoff.
288
+ - Fatal errors such as authentication or billing problems are reported to the owner and retried later.
289
+ - Repeated failures trigger owner notifications with details.
290
+ - Telegram administrative commands such as `/stop`, `/restart`, `/console`, and `/screenshot` are designed to remain available even when the main agent is otherwise impaired.
186
291
 
187
292
  ## Remote Desktop Access
188
293
 
189
- The agent's machine can have remote desktop access configured. On macOS, this is typically **Chrome Remote Desktop**; on Windows, the built-in **Remote Desktop** (RDP) or Chrome Remote Desktop can be used. The owner can take direct control of the agent's desktop at any time.
294
+ The owner can take direct control of the agent's machine.
190
295
 
191
- ### How to Connect
296
+ ### Browser-Based RDP Link
192
297
 
193
- 1. Log in to the **same Google account** the agent uses (credentials and remote desktop connection PIN are provided during onboarding).
194
- 2. Open [Chrome Remote Desktop](https://remotedesktop.google.com/access) in any Chrome browser.
195
- 3. Select the agent's machine from the list of available computers.
196
- 4. Enter the connection PIN when prompted.
298
+ Use `/rdp [minutes]` in Telegram to generate a temporary remote desktop link served through the OBS tunnel. This is useful for quick visual inspection or intervention without opening a separate remote desktop product.
197
299
 
198
- ### Use Cases
300
+ ### Chrome Remote Desktop / Native RDP
199
301
 
200
- - **Visual inspection** See exactly what's on the agent's screen in real time.
201
- - **Manual intervention** — Take over the mouse and keyboard to handle tasks the agent can't (e.g., CAPTCHA, 2FA prompts, complex GUI interactions).
202
- - **Debugging** — Observe the agent in action to diagnose unexpected behavior.
203
- - **Setup & maintenance** — Install software, configure apps, or perform system updates that require manual interaction.
302
+ On macOS, Chrome Remote Desktop is commonly configured. On Windows, native RDP or Chrome Remote Desktop may be available.
204
303
 
205
- ### Important Notes
304
+ How to connect with Chrome Remote Desktop:
206
305
 
207
- - The agent and the remote desktop session share the same screen. If you move the mouse or type while the agent is active, it may interfere with the agent's current task. Use `/stop` on Telegram first if you need to take manual control.
208
- - Chrome Remote Desktop works from any device with Chrome — desktop, laptop, or mobile.
306
+ 1. Log in to the same Google account the agent uses.
307
+ 2. Open [Chrome Remote Desktop](https://remotedesktop.google.com/access).
308
+ 3. Select the agent machine.
309
+ 4. Enter the connection PIN from onboarding.
209
310
 
210
- ## Subscription & Billing
311
+ Important notes:
211
312
 
212
- VisionClaw uses a subscription-based billing model. Each agent requires an active subscription to operate.
313
+ - The owner and the agent share the same screen. Manual mouse/keyboard activity may interfere with the agent. Use `/stop` before taking control when possible.
314
+ - Use `/screenshot`, `/status`, `/tasks`, and `/console` for lighter-weight inspection before taking over.
213
315
 
214
- ### Subscription Status
316
+ ## Subscription & Billing
215
317
 
216
- - **Active** The agent is fully operational and processes all messages normally.
217
- - **Expired / Cancelled** — The agent stops processing messages and will not respond to tasks. However, **Telegram commands** (`/stop`, `/restart`, `/sleep`, `/console`, `/screenshot`, etc.) **continue to work** even when the subscription is expired.
318
+ VisionClaw uses a subscription-based billing model. Each agent requires an active subscription to operate.
218
319
 
219
- When the subscription expires, the agent sends a payment prompt via Telegram with available plans. The owner can select a plan directly from the Telegram message to resubscribe.
320
+ Subscription states:
220
321
 
221
- ### Managing Your Subscription
322
+ - **Active** The agent processes messages normally.
323
+ - **Expired / cancelled** — The agent stops processing normal tasks, but Telegram administrative commands continue to work where possible.
222
324
 
223
- Owners can manage their subscription (update payment method, view invoices, cancel, or resubscribe) through the Stripe customer portal:
325
+ Use `/subscribe` in Telegram to view subscription status and billing options. Owners can also manage subscription, payment methods, invoices, cancellation, or resubscription through the Stripe customer portal:
224
326
 
225
- 👉 [Manage Subscription](https://billing.stripe.com/p/login/dR65nN0KEf6z1Og8ww)
327
+ [Manage Subscription](https://billing.stripe.com/p/login/dR65nN0KEf6z1Og8ww)
226
328
 
227
329
  ## Tips for Owners
228
330
 
229
- 1. **Use Telegram for urgent commands** It's the fastest way to reach the agent.
230
- 2. **Use `/stop` if the agent is stuck** It gracefully stops the current task.
231
- 3. **Use `/restart` if the agent is misbehaving** It restarts the entire process, re-establishing all connections and tunnels.
232
- 4. **Use `/tunnel restart` if the console URL is broken** It re-establishes the tunnel without restarting the agent.
233
- 4. **Adjust the heartbeat** — Use `/sleep 5` for frequent check-ins or `/sleep 60` for hands-off operation.
234
- 4. **Check the console** — Use `/console` to see what the agent is doing in real time.
235
- 5. **The agent remembers** Important information is saved to memory. You don't need to repeat context across conversations.
236
- 6. **Schedule recurring tasks** Ask the agent to create calendar events for tasks that should happen regularly.
237
- 7. **Send images** Telegram supports sending photos, documents, and voice messages to the agent. It can process all of them.
238
- 8. **Use remote desktop for hands-on control** Connect to the agent's machine directly when you need to see its screen or intervene manually.
331
+ 1. Use Telegram for urgent commands; it is the fastest control path.
332
+ 2. Use `/tasks` to see what the agent is currently doing before interrupting it.
333
+ 3. Use `/status` for a quick dashboard and `/status refresh` for fresh health checks.
334
+ 4. Use `/realtime` for short live voice conversations; longer or desktop-heavy work will be handed off to the main agent after the call.
335
+ 5. Use `/weixin` when WeChat needs to be logged in or refreshed.
336
+ 6. Use `/stop` before taking over the desktop manually.
337
+ 7. Use `/restart` if the process is misbehaving and `/tunnel restart` if public links stop working.
338
+ 8. Use `/rdp` or Chrome Remote Desktop for hands-on intervention.
339
+ 9. Use `/sleep 5` for frequent check-ins or `/sleep 60` for quieter operation.
340
+ 10. Send images, documents, audio, and voice messages through Telegram when useful; the agent can process multimodal inputs.
341
+ 11. Let the agent save durable preferences to memory so you do not need to repeat context.
@@ -20502,7 +20502,7 @@ var require_prompts3 = __commonJS({
20502
20502
 
20503
20503
  // dist/utils/version-check.js
20504
20504
  function isBundled() {
20505
- const v15 = "0.1.194-beta.3";
20505
+ const v15 = "0.1.194-beta.4";
20506
20506
  return typeof v15 === "string" && v15 !== "undefined";
20507
20507
  }
20508
20508
  function getPackageRoot() {
@@ -20519,7 +20519,7 @@ function getInstallationInfo() {
20519
20519
  };
20520
20520
  }
20521
20521
  function getCurrentVersion() {
20522
- const bundledVersion = "0.1.194-beta.3";
20522
+ const bundledVersion = "0.1.194-beta.4";
20523
20523
  if (bundledVersion && bundledVersion !== "undefined") {
20524
20524
  return bundledVersion;
20525
20525
  }
@@ -1019022,6 +1019022,7 @@ var init_backup = __esm({
1019022
1019022
  var backup_exports2 = {};
1019023
1019023
  __export(backup_exports2, {
1019024
1019024
  formatBackupResult: () => formatBackupResult,
1019025
+ formatRestoreCommand: () => formatRestoreCommand,
1019025
1019026
  parseBackupCliArgs: () => parseBackupCliArgs,
1019026
1019027
  runBackupCli: () => runBackupCli
1019027
1019028
  });
@@ -1019091,7 +1019092,22 @@ function parseBackupCliArgs(args) {
1019091
1019092
  }
1019092
1019093
  return options3;
1019093
1019094
  }
1019095
+ function shellQuote3(value) {
1019096
+ return `'${value.replaceAll("'", "'\\''")}'`;
1019097
+ }
1019098
+ function getRestoreSource(result) {
1019099
+ if (result.provider === "tos")
1019100
+ return result.signedUrl;
1019101
+ return result.location;
1019102
+ }
1019103
+ function formatRestoreCommand(result) {
1019104
+ const source = getRestoreSource(result);
1019105
+ if (!source)
1019106
+ return void 0;
1019107
+ return `visionclaw restore ${shellQuote3(source)} --force`;
1019108
+ }
1019094
1019109
  function formatBackupResult(result) {
1019110
+ const restoreCommand = formatRestoreCommand(result);
1019095
1019111
  if (result.provider === "tos") {
1019096
1019112
  const lines = [`Backup internal location:
1019097
1019113
  ${result.location}`];
@@ -1019099,10 +1019115,17 @@ ${result.location}`];
1019099
1019115
  const expires = result.expiresAt ? ` expires at ${result.expiresAt}` : "";
1019100
1019116
  lines.push(`Signed download URL${expires}:
1019101
1019117
  ${result.signedUrl}`);
1019118
+ }
1019119
+ if (restoreCommand) {
1019120
+ lines.push(`Restore command:
1019121
+ ${restoreCommand}`);
1019102
1019122
  }
1019103
1019123
  return lines.join("\n\n");
1019104
1019124
  }
1019105
- return result.location;
1019125
+ return restoreCommand ? `${result.location}
1019126
+
1019127
+ Restore command:
1019128
+ ${restoreCommand}` : result.location;
1019106
1019129
  }
1019107
1019130
  async function runBackupCli(args = process.argv.slice(2)) {
1019108
1019131
  const config2 = loadConfig();
@@ -1039903,7 +1039926,6 @@ Review this summary and continue where you left off. Check your memory and todo
1039903
1039926
  }
1039904
1039927
  try {
1039905
1039928
  const raw = await candidate.call(q10);
1039906
- logger.debug(`[getContextUsage] raw: totalTokens=${String(raw.totalTokens)} maxTokens=${String(raw.maxTokens)}`);
1039907
1039929
  const totalTokens = typeof raw.totalTokens === "number" ? raw.totalTokens : NaN;
1039908
1039930
  const maxTokens = typeof raw.maxTokens === "number" ? raw.maxTokens : NaN;
1039909
1039931
  if (!Number.isFinite(totalTokens) || !Number.isFinite(maxTokens) || maxTokens <= 0) {
@@ -1039917,7 +1039939,6 @@ Review this summary and continue where you left off. Check your memory and todo
1039917
1039939
  allImageBlocks: this.lastUsageSnapshot?.allImageBlocks,
1039918
1039940
  capturedAtMs: Date.now()
1039919
1039941
  };
1039920
- logger.debug(`[getLiveContextUsage] snapshot: usedPct=${(usage.usedPct * 100).toFixed(1)}% used=${usage.usedInputTokens} window=${usage.contextWindow}`);
1039921
1039942
  return usage;
1039922
1039943
  } catch (err7) {
1039923
1039944
  logger.debug(`[getLiveContextUsage] call failed: ${err7 instanceof Error ? err7.message : String(err7)}`);
@@ -1045014,12 +1045035,15 @@ async function gatherWakeContext(config2, doVersionCheck, skipScreenshot = false
1045014
1045035
  init_screenshot();
1045015
1045036
  init_logger();
1045016
1045037
  init_context2();
1045017
- var DEFAULT_MIN_INTERVAL_MS = 3e4;
1045018
- var DEFAULT_MAX_PER_CYCLE = 30;
1045019
- var PLAYWRIGHT_READ_ONLY = /* @__PURE__ */ new Set([
1045038
+ var DEFAULT_MIN_INTERVAL_MS = 18e4;
1045039
+ var DEFAULT_MAX_PER_CYCLE = 2;
1045040
+ var PLAYWRIGHT_SCREENSHOT_EXCLUDED = /* @__PURE__ */ new Set([
1045020
1045041
  "browser_snapshot",
1045021
1045042
  "browser_console_messages",
1045022
- "browser_network_events"
1045043
+ "browser_network_events",
1045044
+ "browser_type",
1045045
+ "browser_hover",
1045046
+ "browser_select_option"
1045023
1045047
  ]);
1045024
1045048
  function baseName(toolName) {
1045025
1045049
  const idx = toolName.lastIndexOf("__");
@@ -1045030,7 +1045054,7 @@ function isPlaywrightInteraction(toolName) {
1045030
1045054
  const isBrowserMcp = toolName.includes("playwright") || toolName.includes("playwriter");
1045031
1045055
  if (!isBrowserMcp)
1045032
1045056
  return false;
1045033
- return !PLAYWRIGHT_READ_ONLY.has(name);
1045057
+ return !PLAYWRIGHT_SCREENSHOT_EXCLUDED.has(name);
1045034
1045058
  }
1045035
1045059
  var ScreenshotInjector = class {
1045036
1045060
  lastInjectMs = 0;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "visionclaw",
3
- "version": "0.1.194-beta.3",
3
+ "version": "0.1.194-beta.4",
4
4
  "description": "A personal assistant agent that runs on your desktop, receives commands from messaging channels, and executes tasks autonomously.",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",