@omniaibot/win-x64 1.6.11 → 1.6.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.
|
@@ -1 +1 @@
|
|
|
1
|
-
1.6.
|
|
1
|
+
1.6.13
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: omnibot
|
|
3
|
+
slug: omnibot
|
|
4
|
+
displayName: omnibot-智能体浏览器自动化工具
|
|
5
|
+
version: "2.4.0"
|
|
6
|
+
summary: 为 AI Agent 提供浏览器基础设施,连接真实 Chromium 浏览器进行页面读取、操作、导航和调试。
|
|
7
|
+
license: MIT
|
|
3
8
|
description: Use when AI agents need to read, inspect, operate, navigate, debug, or verify browser state through the omnibot CLI and connected Chromium extension.
|
|
4
9
|
compatibility: Requires omnibot v2 CLI daemon and the omnibot Chromium extension connected to 127.0.0.1:18765.
|
|
5
10
|
allowed-tools: Bash
|
|
6
|
-
metadata:
|
|
7
|
-
author: omnibot
|
|
8
|
-
version: "2.4.0"
|
|
9
11
|
---
|
|
10
12
|
|
|
11
13
|
# Omnibot
|
|
@@ -214,12 +216,28 @@ Choose by intent before choosing by command name:
|
|
|
214
216
|
| Intent | Prefer | Why |
|
|
215
217
|
| --- | --- | --- |
|
|
216
218
|
| Summarize or extract page content, article text, search results, feeds, or long/lazy pages | `read` | Returns clean text/Markdown for agent reasoning. |
|
|
217
|
-
| Quickly observe current visible UI structure before deciding what to do next | `snapshot -i` | Returns
|
|
219
|
+
| Quickly observe current visible UI structure before deciding what to do next | `snapshot -i` | Returns interactive refs plus visual-region refs for screenshot targeting. |
|
|
218
220
|
| Find buttons, links, inputs, or refs for a later action | `find` or `snapshot -i` | Produces actionable targets; `read` does not. |
|
|
219
221
|
| Verify one concrete condition | `get`, `is`, or `wait` | Narrow evidence is more reliable than dumping a page. |
|
|
220
222
|
|
|
221
223
|
Do not use `read` as the first step for click/fill workflows unless the user explicitly asked for page content first.
|
|
222
224
|
|
|
225
|
+
## Screenshots And Visual Regions
|
|
226
|
+
|
|
227
|
+
`screenshot --tab-id <TAB_ID>` without `--ref` remains a full current-viewport screenshot.
|
|
228
|
+
For a specific visual region, run `snapshot -i` and choose a ref marked `[visual=true]`, such as
|
|
229
|
+
`article`, `region`, `dialog`, `listitem`, `image`, or `video`:
|
|
230
|
+
|
|
231
|
+
```bash
|
|
232
|
+
OMNIBOT_SESSION_TOKEN=visual omnibot snapshot -i --tab-id <TAB_ID>
|
|
233
|
+
OMNIBOT_SESSION_TOKEN=visual omnibot screenshot --ref @e146 --tab-id <TAB_ID> -o /tmp/region.png
|
|
234
|
+
```
|
|
235
|
+
|
|
236
|
+
Visual-region refs are intended for complete content containers, cards, posts, dialogs, media, and similar areas.
|
|
237
|
+
Do not screenshot a button, link, or textbox as a standalone target unless the user explicitly asks for that control.
|
|
238
|
+
The ref screenshot path re-resolves the live DOM node, scrolls it into view, waits for layout to settle, and then captures its region.
|
|
239
|
+
After `read` or scrolling, refresh the snapshot before using a stale ref. Raw `get box` plus `cdp Page.captureScreenshot` is not the normal screenshot workflow.
|
|
240
|
+
|
|
223
241
|
## Dropdowns And Custom Comboboxes
|
|
224
242
|
|
|
225
243
|
`snapshot -i` may auto-probe visible custom comboboxes and append their options as refs. If the output lists `@eN [option] "..."`, click that option ref directly; Omnibot will reopen the owning combobox through `openerSelector` if the dropdown closed during snapshot.
|
|
@@ -112,7 +112,7 @@ Fallback relation: Prefer for page content. Use `snapshot -i` when the next step
|
|
|
112
112
|
|
|
113
113
|
### snapshot -i
|
|
114
114
|
|
|
115
|
-
Purpose: Read accessibility tree and produce actionable `@eN` refs.
|
|
115
|
+
Purpose: Read accessibility tree and produce actionable `@eN` refs. With `-i`, it includes both interactive refs and visual-region refs marked `[visual=true]` for targeted screenshots.
|
|
116
116
|
|
|
117
117
|
For visible custom comboboxes, `snapshot -i` may auto-probe options and append `[option]` refs under DOM Popup Controls. These refs remain actionable after the dropdown closes because they carry `openerSelector` internally.
|
|
118
118
|
|
|
@@ -563,9 +563,16 @@ Purpose: Capture visual evidence from a browser tab.
|
|
|
563
563
|
|
|
564
564
|
```bash
|
|
565
565
|
OMNIBOT_SESSION_TOKEN=debug-checkout omnibot screenshot --tab-id <TAB_ID> -o /tmp/omni-shot.png
|
|
566
|
+
OMNIBOT_SESSION_TOKEN=debug-checkout omnibot snapshot -i --tab-id <TAB_ID>
|
|
567
|
+
OMNIBOT_SESSION_TOKEN=debug-checkout omnibot screenshot --ref @e146 --tab-id <TAB_ID> -o /tmp/omni-region.png
|
|
566
568
|
OMNIBOT_SESSION_TOKEN=debug-checkout omnibot screenshot --annotate --tab-id <TAB_ID> -o /tmp/omni-annotated.png
|
|
567
569
|
```
|
|
568
570
|
|
|
571
|
+
Without `--ref`, screenshot captures the current viewport. `--ref` accepts a visual ref marked
|
|
572
|
+
`[visual=true]`, such as `[article]`, `[region]`, `[dialog]`, `[listitem]`, `[image]`, or `[video]`.
|
|
573
|
+
Do not use ordinary button/link/textbox refs as standalone screenshot targets. Re-run `snapshot -i`
|
|
574
|
+
after scrolling or `read` before using a ref that may be stale.
|
|
575
|
+
|
|
569
576
|
Preferred pattern: See `debugging-and-evidence.md#screenshot`.
|
|
570
577
|
Fallback relation: Evidence collection, not operation fallback.
|
|
571
578
|
|
|
Binary file
|