@omniaibot/macos-arm64 0.3.6 → 0.3.8

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
- 0.3.5
1
+ 0.3.8
@@ -0,0 +1,45 @@
1
+ ---
2
+ name: omnibot
3
+ description: Use when reading, inspecting, navigating, or operating real browser tabs through omnibot CLI commands instead of MCP tools.
4
+ compatibility: Requires omnibot v2 CLI daemon and the omnibot Chromium extension connected to 127.0.0.1:18765.
5
+ allowed-tools: Bash
6
+ metadata:
7
+ author: omnibot
8
+ version: "2.0.0"
9
+ ---
10
+
11
+ # omnibot CLI
12
+
13
+ omnibot connects agents to the user's real Chromium browser session through a local daemon and CLI commands. It replaces MCP tools with shell commands.
14
+
15
+ ## Prerequisites
16
+
17
+ - Start or auto-start the daemon with `omnibot daemon start`.
18
+ - Confirm the extension is connected with `omnibot doctor` or `omnibot tabs`.
19
+ - For browser actions, run commands through Bash and parse the returned JSON.
20
+
21
+ ## Command Discovery
22
+
23
+ Run help before using unfamiliar flags:
24
+
25
+ ```bash
26
+ omnibot --help
27
+ omnibot scan --help
28
+ omnibot execute-js --help
29
+ omnibot batch --help
30
+ ```
31
+
32
+ ## Default Workflow
33
+
34
+ 1. Use `omnibot tabs` to inspect connected tabs when tab context is unclear.
35
+ 2. Use `omnibot scan` before page interaction.
36
+ 3. Use `omnibot full-scan` for read-only long page reading or summarization.
37
+ 4. Use `omnibot execute-js`, `wait`, `batch`, or `screenshot` for precise actions after scan output is insufficient.
38
+
39
+ ## Output Rules
40
+
41
+ - `scan` and `full-scan` default to Markdown-like text. Add `--json` when structured data is needed.
42
+ - Operation commands default to JSON.
43
+ - `screenshot` writes a PNG file by default and returns JSON containing `path`. Add `--base64` only when base64 is explicitly needed.
44
+
45
+ See `references/command-reference.md` for command examples.
@@ -0,0 +1,27 @@
1
+ # omnibot CLI Command Reference
2
+
3
+ | Former MCP tool | CLI command | Default output |
4
+ | --- | --- | --- |
5
+ | `browser_get_tabs` | `omnibot tabs` | JSON |
6
+ | `browser_scan` | `omnibot scan [--json]` | Text |
7
+ | `browser_full_scan` | `omnibot full-scan [--json]` | Text |
8
+ | `browser_execute_js` | `omnibot execute-js <script>` | JSON |
9
+ | `browser_switch_tab` | `omnibot switch-tab <tab_id>` | JSON |
10
+ | `browser_focus_tab` | `omnibot focus-tab <tab_id>` | JSON |
11
+ | `browser_batch` | `omnibot batch --commands-json '<json>'` | JSON |
12
+ | `browser_wait` | `omnibot wait <condition_js>` | JSON |
13
+ | `browser_navigate` | `omnibot navigate <url>` | JSON |
14
+ | `browser_screenshot` | `omnibot screenshot [-o path]` | JSON |
15
+ | `get_license_status` | `omnibot license status` | JSON |
16
+
17
+ ## Examples
18
+
19
+ ```bash
20
+ omnibot tabs
21
+ omnibot scan --json
22
+ omnibot full-scan --duration 5 --text-only
23
+ omnibot navigate 'https://example.com'
24
+ omnibot execute-js "return document.title"
25
+ omnibot wait "return document.readyState === 'complete'" --timeout 10
26
+ omnibot screenshot -o /tmp/omni.png
27
+ ```
@@ -0,0 +1,27 @@
1
+ ---
2
+ name: omnibotdebug
3
+ description: Use when debugging web pages, capturing screenshots, running CDP commands, batching extension commands, or inspecting precise DOM/browser state through omnibot CLI.
4
+ compatibility: Requires omnibot v2 CLI daemon and omnibot extension with debugger permission.
5
+ allowed-tools: Bash
6
+ metadata:
7
+ author: omnibot
8
+ version: "2.0.0"
9
+ ---
10
+
11
+ # omnibot Debugging
12
+
13
+ Use debug commands when scan output is insufficient or when browser-level APIs are required.
14
+
15
+ ## Commands
16
+
17
+ ```bash
18
+ omnibot screenshot -o /tmp/omni-shot.png
19
+ omnibot batch --commands-json '[{"cmd":"cdp","method":"DOM.getDocument","params":{"depth":1}}]'
20
+ omnibot execute-js "return location.href"
21
+ ```
22
+
23
+ ## Batch Rules
24
+
25
+ - Use `batch` for multiple CDP or extension commands that share one target tab.
26
+ - Pass `--tab-id` when the target is not the active CLI tab.
27
+ - Keep batch JSON valid and quote it with single quotes in shell commands.
@@ -0,0 +1,35 @@
1
+ ---
2
+ name: omnibotinstall
3
+ description: Use when installing omnibot CLI skills, checking daemon status, troubleshooting extension connection, or setting up Hermes, opencode, Claude, or Codex integration.
4
+ compatibility: Requires omnibot v2 CLI.
5
+ allowed-tools: Bash
6
+ metadata:
7
+ author: omnibot
8
+ version: "2.0.0"
9
+ ---
10
+
11
+ # omnibot Install And Troubleshooting
12
+
13
+ ## Install Skills
14
+
15
+ ```bash
16
+ omnibot skills install --agent hermes --profile nuwa
17
+ omnibot skills install --agent opencode
18
+ omnibot skills install --agent claude
19
+ omnibot skills install --agent codex
20
+ ```
21
+
22
+ ## Check Runtime
23
+
24
+ ```bash
25
+ omnibot install-bridge --extension-id <extension-id>
26
+ omnibot doctor
27
+ omnibot tabs
28
+ ```
29
+
30
+ ## Common Failures
31
+
32
+ - Bridge not installed: run `omnibot install-bridge --extension-id <extension-id>` and reload the extension.
33
+ - Extension not connected: open Chrome or Edge with the omnibot extension loaded and wait for reconnect.
34
+ - Sandbox blocks local IPC: allow the `omnibot` CLI to run outside the sandbox or use the existing daemon debug fallback.
35
+ - No tabs: open an HTTP or HTTPS page; extension ignores non-scriptable pages.
@@ -0,0 +1,37 @@
1
+ ---
2
+ name: omnibotoperate
3
+ description: Use when clicking, filling forms, scrolling, waiting for elements, switching tabs, focusing tabs, or executing JavaScript in a real browser through omnibot CLI.
4
+ compatibility: Requires omnibot v2 CLI daemon and omnibot extension.
5
+ allowed-tools: Bash
6
+ metadata:
7
+ author: omnibot
8
+ version: "2.0.0"
9
+ ---
10
+
11
+ # omnibot Page Operation
12
+
13
+ Operate pages only after observing the current viewport.
14
+
15
+ ## Required Order
16
+
17
+ 1. Run `omnibot scan --json`.
18
+ 2. Identify the target control, link, selector, or text.
19
+ 3. Run the smallest operation command.
20
+ 4. Run `omnibot scan --json` again to verify the page state.
21
+
22
+ ## Common Commands
23
+
24
+ ```bash
25
+ omnibot execute-js "document.querySelector('button[type=submit]').click()"
26
+ omnibot execute-js "window.scrollBy(0, 800)"
27
+ omnibot wait "return !!document.querySelector('.loaded')" --timeout 15 --interval 0.5
28
+ omnibot switch-tab <TAB_ID>
29
+ omnibot focus-tab <TAB_ID>
30
+ ```
31
+
32
+ ## Rules
33
+
34
+ - Do not use `execute-js` for ordinary page reading.
35
+ - Prefer `wait` over sleeping in shell commands.
36
+ - Use `focus-tab` only when the user needs to see that tab in Chrome.
37
+ - Use `switch-tab` when only the CLI target tab should change.
@@ -0,0 +1,38 @@
1
+ ---
2
+ name: omnibotread
3
+ description: Use when reading rendered pages, extracting page structure, summarizing browser content, or inspecting logged-in web pages with omnibot CLI.
4
+ compatibility: Requires omnibot v2 CLI daemon and omnibot extension.
5
+ allowed-tools: Bash
6
+ metadata:
7
+ author: omnibot
8
+ version: "2.0.0"
9
+ ---
10
+
11
+ # omnibot Page Reading
12
+
13
+ Use real browser rendering when normal HTTP fetches cannot see logged-in, client-rendered, or dynamic content.
14
+
15
+ ## Quick Commands
16
+
17
+ ```bash
18
+ omnibot scan
19
+ omnibot scan --json
20
+ omnibot full-scan --duration 10
21
+ omnibot full-scan --duration 0 --text-only
22
+ ```
23
+
24
+ ## Selection Rules
25
+
26
+ - Use `scan` before any action because it does not scroll.
27
+ - Use `full-scan` for read-only article/search/feed pages because it scrolls to trigger lazy loading.
28
+ - Use `--json` when controls, forms, links, or list candidates are needed for a follow-up action.
29
+ - Use `--text-only` when the answer needs prose only and HTML tags would waste tokens.
30
+
31
+ ## Search Workflow
32
+
33
+ To search without a web search API, navigate to a search URL, then scan:
34
+
35
+ ```bash
36
+ omnibot navigate 'https://www.google.com/search?q=omnibot+cli'
37
+ omnibot full-scan --duration 5 --text-only
38
+ ```
package/package.json CHANGED
@@ -1,10 +1,7 @@
1
1
  {
2
2
  "name": "@omniaibot/macos-arm64",
3
- "version": "0.3.6",
3
+ "version": "0.3.8",
4
4
  "description": "omnibot executable for macOS ARM64",
5
- "bin": {
6
- "omnibot": "bin/omnibot-macos-arm64/omnibot-macos-arm64"
7
- },
8
5
  "os": [
9
6
  "darwin"
10
7
  ],
@@ -26,4 +23,4 @@
26
23
  "type": "git",
27
24
  "url": "git+https://github.com/DennisJcy/omnibot.git"
28
25
  }
29
- }
26
+ }