@omniaibot/win-x64 0.3.11 → 1.1.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.
Files changed (48) hide show
  1. package/bin/omnibot-windows-x64/VERSION +1 -0
  2. package/bin/omnibot-windows-x64/omnibot/skills/omnibot/SKILL.md +189 -0
  3. package/bin/omnibot-windows-x64/omnibot/skills/omnibot/references/anti-patterns.md +35 -0
  4. package/bin/omnibot-windows-x64/omnibot/skills/omnibot/references/command-reference.md +616 -0
  5. package/bin/omnibot-windows-x64/omnibot/skills/omnibot/references/debugging-and-evidence.md +95 -0
  6. package/bin/omnibot-windows-x64/omnibot/skills/omnibot/references/fallback-operations.md +157 -0
  7. package/bin/omnibot-windows-x64/omnibot/skills/omnibot/references/operation-patterns.md +372 -0
  8. package/bin/omnibot-windows-x64/omnibot/skills/omnibot/references/runtime-and-status.md +111 -0
  9. package/bin/omnibot-windows-x64/omnibot/skills/omnibot/references/session-and-tabs.md +164 -0
  10. package/bin/{omnibot-win-x64 → omnibot-windows-x64}/omnibot-windows-x64.exe +0 -0
  11. package/package.json +5 -2
  12. package/bin/omnibot-win-x64/VERSION +0 -1
  13. package/bin/omnibot-win-x64/omnibot/skills/omnibot/SKILL.md +0 -159
  14. /package/bin/{omnibot-win-x64 → omnibot-windows-x64}/81d243bd2c585b0f4821__mypyc.pyd +0 -0
  15. /package/bin/{omnibot-win-x64 → omnibot-windows-x64}/_asyncio.pyd +0 -0
  16. /package/bin/{omnibot-win-x64 → omnibot-windows-x64}/_bz2.pyd +0 -0
  17. /package/bin/{omnibot-win-x64 → omnibot-windows-x64}/_cffi_backend.pyd +0 -0
  18. /package/bin/{omnibot-win-x64 → omnibot-windows-x64}/_ctypes.pyd +0 -0
  19. /package/bin/{omnibot-win-x64 → omnibot-windows-x64}/_decimal.pyd +0 -0
  20. /package/bin/{omnibot-win-x64 → omnibot-windows-x64}/_hashlib.pyd +0 -0
  21. /package/bin/{omnibot-win-x64 → omnibot-windows-x64}/_lzma.pyd +0 -0
  22. /package/bin/{omnibot-win-x64 → omnibot-windows-x64}/_multiprocessing.pyd +0 -0
  23. /package/bin/{omnibot-win-x64 → omnibot-windows-x64}/_overlapped.pyd +0 -0
  24. /package/bin/{omnibot-win-x64 → omnibot-windows-x64}/_queue.pyd +0 -0
  25. /package/bin/{omnibot-win-x64 → omnibot-windows-x64}/_socket.pyd +0 -0
  26. /package/bin/{omnibot-win-x64 → omnibot-windows-x64}/_ssl.pyd +0 -0
  27. /package/bin/{omnibot-win-x64 → omnibot-windows-x64}/_uuid.pyd +0 -0
  28. /package/bin/{omnibot-win-x64 → omnibot-windows-x64}/_wmi.pyd +0 -0
  29. /package/bin/{omnibot-win-x64 → omnibot-windows-x64}/certifi/cacert.pem +0 -0
  30. /package/bin/{omnibot-win-x64 → omnibot-windows-x64}/charset_normalizer/cd.pyd +0 -0
  31. /package/bin/{omnibot-win-x64 → omnibot-windows-x64}/charset_normalizer/md.pyd +0 -0
  32. /package/bin/{omnibot-win-x64 → omnibot-windows-x64}/cryptography/hazmat/bindings/_rust.pyd +0 -0
  33. /package/bin/{omnibot-win-x64 → omnibot-windows-x64}/ffi.dll +0 -0
  34. /package/bin/{omnibot-win-x64 → omnibot-windows-x64}/libbz2.dll +0 -0
  35. /package/bin/{omnibot-win-x64 → omnibot-windows-x64}/libcrypto-3-x64.dll +0 -0
  36. /package/bin/{omnibot-win-x64 → omnibot-windows-x64}/libexpat.dll +0 -0
  37. /package/bin/{omnibot-win-x64 → omnibot-windows-x64}/liblzma.dll +0 -0
  38. /package/bin/{omnibot-win-x64 → omnibot-windows-x64}/libmpdec-4.dll +0 -0
  39. /package/bin/{omnibot-win-x64 → omnibot-windows-x64}/libssl-3-x64.dll +0 -0
  40. /package/bin/{omnibot-win-x64 → omnibot-windows-x64}/omnibot/sop/tmwebdriver_sop.md +0 -0
  41. /package/bin/{omnibot-win-x64 → omnibot-windows-x64}/omnibot/sop/vue3_component_sop.md +0 -0
  42. /package/bin/{omnibot-win-x64 → omnibot-windows-x64}/pyexpat.pyd +0 -0
  43. /package/bin/{omnibot-win-x64 → omnibot-windows-x64}/python3.dll +0 -0
  44. /package/bin/{omnibot-win-x64 → omnibot-windows-x64}/python313.dll +0 -0
  45. /package/bin/{omnibot-win-x64 → omnibot-windows-x64}/select.pyd +0 -0
  46. /package/bin/{omnibot-win-x64 → omnibot-windows-x64}/unicodedata.pyd +0 -0
  47. /package/bin/{omnibot-win-x64 → omnibot-windows-x64}/vcruntime140.dll +0 -0
  48. /package/bin/{omnibot-win-x64 → omnibot-windows-x64}/zlib.dll +0 -0
@@ -0,0 +1,616 @@
1
+ # Omnibot Command Reference
2
+
3
+ This is a lookup table, not a behavior guide. Choose behavior from `operation-patterns.md`, use `session-and-tabs.md` for targeting, and use `fallback-operations.md` before dropping to lower tiers.
4
+
5
+ ## Runtime & Status
6
+
7
+ ### doctor
8
+
9
+ Purpose: Check daemon and browser extension health.
10
+
11
+ ```bash
12
+ omnibot doctor
13
+ ```
14
+
15
+ Preferred pattern: See `runtime-and-status.md#startup-check`.
16
+ Fallback relation: Not a fallback command.
17
+
18
+ ### status
19
+
20
+ Purpose: Show daemon status only (lighter than `doctor`).
21
+
22
+ ```bash
23
+ omnibot status
24
+ ```
25
+
26
+ Preferred pattern: See `runtime-and-status.md#daemon-lifecycle`.
27
+ Fallback relation: Not a fallback command.
28
+
29
+ ### start
30
+
31
+ Purpose: Start the daemon in the background.
32
+
33
+ ```bash
34
+ omnibot start
35
+ ```
36
+
37
+ Equivalent to: `omnibot daemon start`
38
+
39
+ ### stop
40
+
41
+ Purpose: Stop the running daemon.
42
+
43
+ ```bash
44
+ omnibot stop
45
+ ```
46
+
47
+ Equivalent to: `omnibot daemon stop`
48
+
49
+ ### run
50
+
51
+ Purpose: Run the daemon in the foreground.
52
+
53
+ ```bash
54
+ omnibot run
55
+ ```
56
+
57
+ Equivalent to: `omnibot daemon run`
58
+
59
+ ### tabs
60
+
61
+ Purpose: List connected browser tabs and discover tab ids.
62
+
63
+ ```bash
64
+ omnibot tabs
65
+ ```
66
+
67
+ Preferred pattern: See `session-and-tabs.md#tab-explicit`.
68
+ Fallback relation: Not a fallback command.
69
+
70
+ ### license status
71
+
72
+ Purpose: Check license state.
73
+
74
+ ```bash
75
+ omnibot license status
76
+ ```
77
+
78
+ Preferred pattern: See `runtime-and-status.md#startup-check`.
79
+ Fallback relation: Not a fallback command.
80
+
81
+ ## Reading
82
+
83
+ ### scan
84
+
85
+ Purpose: Observe the current rendered viewport, especially before choosing a follow-up action.
86
+
87
+ ```bash
88
+ OMNIBOT_SESSION_TOKEN=research omnibot scan --json --tab-id <TAB_ID>
89
+ OMNIBOT_SESSION_TOKEN=research omnibot scan --text-only --tab-id <TAB_ID>
90
+ ```
91
+
92
+ Preferred pattern: See `operation-patterns.md#read` and `operation-patterns.md#extraction`.
93
+ Fallback relation: Use before `dom visible` or `execute-js` when structured viewport state is needed. Use `read` instead for long-form page text.
94
+
95
+ ### read
96
+
97
+ Purpose: Read clean rendered page text/Markdown from an existing tab or a temporary URL tab.
98
+
99
+ ```bash
100
+ OMNIBOT_SESSION_TOKEN=research omnibot read --screens 5 --tab-id <TAB_ID>
101
+ OMNIBOT_SESSION_TOKEN=research omnibot read --screens 3 https://example.com/article
102
+ OMNIBOT_SESSION_TOKEN=research omnibot read --json --screens 5 --tab-id <TAB_ID>
103
+ ```
104
+
105
+ Preferred pattern: See `operation-patterns.md#read` and `operation-patterns.md#extraction`.
106
+ Fallback relation: Prefer for page content. Use `scan --json` when the next step is action planning, and `snapshot -i` when actionable refs are needed.
107
+
108
+ ### snapshot -i
109
+
110
+ Purpose: Read accessibility tree and produce actionable `@eN` refs.
111
+
112
+ ```bash
113
+ OMNIBOT_SESSION_TOKEN=checkout omnibot snapshot -i --tab-id <TAB_ID>
114
+ OMNIBOT_SESSION_TOKEN=checkout omnibot snapshot -i -c -d 4 --tab-id <TAB_ID>
115
+ OMNIBOT_SESSION_TOKEN=checkout omnibot snapshot -i -s "#main" -u --tab-id <TAB_ID>
116
+ ```
117
+
118
+ Preferred pattern: See `operation-patterns.md#click`, `operation-patterns.md#fill`, and `session-and-tabs.md#ref-scope`.
119
+ Fallback relation: Tier 2 after semantic find.
120
+
121
+ ### get
122
+
123
+ Purpose: Read one value or element state without dumping the page.
124
+
125
+ ```bash
126
+ OMNIBOT_SESSION_TOKEN=research omnibot get title --tab-id <TAB_ID>
127
+ OMNIBOT_SESSION_TOKEN=research omnibot get url --tab-id <TAB_ID>
128
+ OMNIBOT_SESSION_TOKEN=research omnibot get text "#main" --tab-id <TAB_ID>
129
+ OMNIBOT_SESSION_TOKEN=research omnibot get html "#main" --tab-id <TAB_ID>
130
+ OMNIBOT_SESSION_TOKEN=research omnibot get value "input[name=email]" --tab-id <TAB_ID>
131
+ OMNIBOT_SESSION_TOKEN=research omnibot get attr "a.login" href --tab-id <TAB_ID>
132
+ OMNIBOT_SESSION_TOKEN=research omnibot get count ".item" --tab-id <TAB_ID>
133
+ OMNIBOT_SESSION_TOKEN=research omnibot get box "#submit" --tab-id <TAB_ID>
134
+ OMNIBOT_SESSION_TOKEN=research omnibot get styles "#submit" --tab-id <TAB_ID>
135
+ ```
136
+
137
+ Preferred pattern: See `operation-patterns.md#read` and `operation-patterns.md#extraction`.
138
+ Fallback relation: Selector tier for reading; escalate only if unavailable.
139
+
140
+ ### is
141
+
142
+ Purpose: Check element state.
143
+
144
+ ```bash
145
+ OMNIBOT_SESSION_TOKEN=checkout omnibot is visible "#submit" --tab-id <TAB_ID>
146
+ OMNIBOT_SESSION_TOKEN=checkout omnibot is enabled "#submit" --tab-id <TAB_ID>
147
+ OMNIBOT_SESSION_TOKEN=checkout omnibot is checked "#agree" --tab-id <TAB_ID>
148
+ ```
149
+
150
+ Preferred pattern: See `operation-patterns.md#read` and `operation-patterns.md#select--check`.
151
+ Fallback relation: Prefer before visual or JavaScript checks.
152
+
153
+ ## Actions
154
+
155
+ ### click
156
+
157
+ Purpose: Click an element by `@eN` ref or selector.
158
+
159
+ ```bash
160
+ OMNIBOT_SESSION_TOKEN=checkout omnibot click --tab-id <TAB_ID> @e4
161
+ OMNIBOT_SESSION_TOKEN=checkout omnibot click --tab-id <TAB_ID> @e4 --new-tab
162
+ OMNIBOT_SESSION_TOKEN=checkout omnibot click "button[type=submit]" --tab-id <TAB_ID>
163
+ ```
164
+
165
+ Preferred pattern: See `operation-patterns.md#click`.
166
+ Fallback relation: Tier 2 with refs, Tier 3 with selector.
167
+
168
+ ### dblclick
169
+
170
+ Purpose: Double-click an element by `@eN` ref or selector.
171
+
172
+ ```bash
173
+ OMNIBOT_SESSION_TOKEN=editor omnibot dblclick --tab-id <TAB_ID> @e7
174
+ ```
175
+
176
+ Preferred pattern: See `operation-patterns.md#click`.
177
+ Fallback relation: Prefer semantic or snapshot first; then selector.
178
+
179
+ ### fill
180
+
181
+ Purpose: Replace an input value.
182
+
183
+ ```bash
184
+ OMNIBOT_SESSION_TOKEN=checkout omnibot fill --tab-id <TAB_ID> @e2 "a@b.com"
185
+ OMNIBOT_SESSION_TOKEN=checkout omnibot fill "input[name=email]" "a@b.com" --tab-id <TAB_ID>
186
+ ```
187
+
188
+ Preferred pattern: See `operation-patterns.md#fill`.
189
+ Fallback relation: Tier 2 with refs, Tier 3 with selector.
190
+
191
+ ### type
192
+
193
+ Purpose: Type text into an element.
194
+
195
+ ```bash
196
+ OMNIBOT_SESSION_TOKEN=search omnibot type --tab-id <TAB_ID> @e3 "omnibot"
197
+ ```
198
+
199
+ Preferred pattern: See `operation-patterns.md#fill`.
200
+ Fallback relation: Use after fill is not appropriate or focus is needed.
201
+
202
+ ### press
203
+
204
+ Purpose: Press a key in the target tab.
205
+
206
+ ```bash
207
+ OMNIBOT_SESSION_TOKEN=search omnibot press Enter --tab-id <TAB_ID>
208
+ ```
209
+
210
+ Preferred pattern: See `operation-patterns.md#fill` and `operation-patterns.md#wait`.
211
+ Fallback relation: Not a fallback by itself; verify after pressing.
212
+
213
+ ### hover
214
+
215
+ Purpose: Hover an element by ref or selector.
216
+
217
+ ```bash
218
+ OMNIBOT_SESSION_TOKEN=menu omnibot hover --tab-id <TAB_ID> @e5
219
+ ```
220
+
221
+ Preferred pattern: Observe menu state, hover, then verify visible options.
222
+ Fallback relation: Use mouse move only if hover fails.
223
+
224
+ ### focus
225
+
226
+ Purpose: Focus an element by selector.
227
+
228
+ ```bash
229
+ OMNIBOT_SESSION_TOKEN=form omnibot focus "input[name=email]" --tab-id <TAB_ID>
230
+ ```
231
+
232
+ Preferred pattern: See `operation-patterns.md#fill`.
233
+ Fallback relation: Selector tier before keyboard/type fallback.
234
+
235
+ ### select
236
+
237
+ Purpose: Select an option in a dropdown.
238
+
239
+ ```bash
240
+ OMNIBOT_SESSION_TOKEN=form omnibot select @e5 "US" --tab-id <TAB_ID>
241
+ ```
242
+
243
+ Preferred pattern: See `operation-patterns.md#select--check`.
244
+ Fallback relation: Prefer refs/selectors before JavaScript value changes.
245
+
246
+ ### check / uncheck
247
+
248
+ Purpose: Set checkbox state.
249
+
250
+ ```bash
251
+ OMNIBOT_SESSION_TOKEN=form omnibot check @e6 --tab-id <TAB_ID>
252
+ OMNIBOT_SESSION_TOKEN=form omnibot uncheck @e6 --tab-id <TAB_ID>
253
+ ```
254
+
255
+ Preferred pattern: See `operation-patterns.md#select--check`.
256
+ Fallback relation: Verify with `is checked` before and after.
257
+
258
+ ### scroll / scrollintoview
259
+
260
+ Purpose: Scroll page or element.
261
+
262
+ ```bash
263
+ OMNIBOT_SESSION_TOKEN=read omnibot scroll down 500 --tab-id <TAB_ID>
264
+ OMNIBOT_SESSION_TOKEN=read omnibot scroll down 500 --selector "#list" --tab-id <TAB_ID>
265
+ OMNIBOT_SESSION_TOKEN=read omnibot scrollintoview @e7 --tab-id <TAB_ID>
266
+ ```
267
+
268
+ Preferred pattern: See `operation-patterns.md#read` and `operation-patterns.md#extraction`.
269
+ Fallback relation: DOM or mouse scroll only after standard scroll fails.
270
+
271
+ ### drag
272
+
273
+ Purpose: Drag from one element to another.
274
+
275
+ ```bash
276
+ OMNIBOT_SESSION_TOKEN=board omnibot drag @e8 @e9 --tab-id <TAB_ID>
277
+ ```
278
+
279
+ Preferred pattern: Observe source and target, drag, verify position/state.
280
+ Fallback relation: Mouse drag is Tier 5 if element drag fails.
281
+
282
+ ### upload
283
+
284
+ Purpose: Upload a local file through a file input.
285
+
286
+ ```bash
287
+ OMNIBOT_SESSION_TOKEN=form omnibot upload "input[type=file]" /path/to/file.png --tab-id <TAB_ID>
288
+ ```
289
+
290
+ Preferred pattern: See `operation-patterns.md#upload`.
291
+ Fallback relation: Use JavaScript only if native upload cannot reach the input.
292
+
293
+ ## Semantic Find
294
+
295
+ Semantic find is Tier 1 for operating by meaning.
296
+
297
+ ```bash
298
+ OMNIBOT_SESSION_TOKEN=checkout omnibot find role button --name "Submit" --action click --tab-id <TAB_ID>
299
+ OMNIBOT_SESSION_TOKEN=checkout omnibot find text "Sign in" --action click --tab-id <TAB_ID>
300
+ OMNIBOT_SESSION_TOKEN=checkout omnibot find label "Email" --action fill --action-value "a@b.com" --tab-id <TAB_ID>
301
+ OMNIBOT_SESSION_TOKEN=checkout omnibot find placeholder "Search" --action type --action-value "omnibot" --tab-id <TAB_ID>
302
+ OMNIBOT_SESSION_TOKEN=checkout omnibot find testid submit-button --action click --tab-id <TAB_ID>
303
+ OMNIBOT_SESSION_TOKEN=checkout omnibot find nth ".card" 2 --action click --tab-id <TAB_ID>
304
+ ```
305
+
306
+ Preferred pattern: See `operation-patterns.md#click` and `operation-patterns.md#fill`.
307
+ Fallback relation: Tier 1. Explain failure before using refs, selectors, DOM, mouse, JavaScript, or CDP.
308
+
309
+ ## Fallback Actions
310
+
311
+ ### mouse
312
+
313
+ Purpose: Coordinate-based mouse operations.
314
+ Usage tier: Tier 5 fallback only.
315
+
316
+ ```bash
317
+ OMNIBOT_SESSION_TOKEN=repair omnibot mouse click --x 100 --y 200 --tab-id <TAB_ID>
318
+ OMNIBOT_SESSION_TOKEN=repair omnibot mouse click --x 100 --y 200 --click-count 2 --tab-id <TAB_ID>
319
+ OMNIBOT_SESSION_TOKEN=repair omnibot mouse move --x 50 --y 60 --tab-id <TAB_ID>
320
+ OMNIBOT_SESSION_TOKEN=repair omnibot mouse scroll --x 100 --y 200 --dy 500 --tab-id <TAB_ID>
321
+ OMNIBOT_SESSION_TOKEN=repair omnibot mouse drag --from-x 10 --from-y 20 --to-x 100 --to-y 200 --tab-id <TAB_ID>
322
+ ```
323
+
324
+ Preferred pattern: See `fallback-operations.md#mouse-fallback`.
325
+ Fallback relation: After semantic, refs, selector, and DOM fail.
326
+
327
+ ### dom
328
+
329
+ Purpose: Interact with visible DOM node ids returned by `dom visible`.
330
+ Usage tier: Tier 4 fallback only.
331
+
332
+ ```bash
333
+ OMNIBOT_SESSION_TOKEN=repair omnibot dom visible --tab-id <TAB_ID>
334
+ OMNIBOT_SESSION_TOKEN=repair omnibot dom click n1 --tab-id <TAB_ID>
335
+ OMNIBOT_SESSION_TOKEN=repair omnibot dom dblclick n1 --tab-id <TAB_ID>
336
+ OMNIBOT_SESSION_TOKEN=repair omnibot dom scroll n1 --dy 800 --tab-id <TAB_ID>
337
+ ```
338
+
339
+ Preferred pattern: See `fallback-operations.md#dom-fallback`.
340
+ Fallback relation: After selector failure and before mouse fallback.
341
+
342
+ ### execute-js
343
+
344
+ Purpose: Run arbitrary JavaScript in the page.
345
+ Usage tier: Tier 6 fallback only. Do not use first.
346
+
347
+ ```bash
348
+ OMNIBOT_SESSION_TOKEN=repair omnibot execute-js "return location.href" --tab-id <TAB_ID>
349
+ OMNIBOT_SESSION_TOKEN=repair omnibot execute-js --file /tmp/repair.js --tab-id <TAB_ID>
350
+ ```
351
+
352
+ Preferred pattern: See `fallback-operations.md#javascript-fallback`.
353
+ Fallback relation: After semantic, refs, selector, DOM, and mouse are insufficient.
354
+
355
+ ### cdp
356
+
357
+ Purpose: Send raw Chrome DevTools Protocol commands.
358
+ Usage tier: Tier 7 fallback and inspection only.
359
+
360
+ ```bash
361
+ OMNIBOT_SESSION_TOKEN=debug omnibot cdp Runtime.evaluate '{"expression":"document.title"}' --tab-id <TAB_ID>
362
+ OMNIBOT_SESSION_TOKEN=debug omnibot cdp DOM.getDocument '{"depth":1}' --tab-id <TAB_ID>
363
+ ```
364
+
365
+ Preferred pattern: See `fallback-operations.md#raw-cdp-fallback` and `debugging-and-evidence.md#cdp-inspection`.
366
+ Fallback relation: Last resort.
367
+
368
+ ## Navigation & Tabs
369
+
370
+ ### navigate / open / goto
371
+
372
+ Purpose: Navigate or open pages. These commands create or use CLI target state; record the resulting tab id and use `--tab-id` afterward.
373
+
374
+ ```bash
375
+ OMNIBOT_SESSION_TOKEN=research omnibot navigate https://example.com
376
+ OMNIBOT_SESSION_TOKEN=research omnibot navigate --same-tab https://example.com
377
+ OMNIBOT_SESSION_TOKEN=research omnibot open https://example.com
378
+ OMNIBOT_SESSION_TOKEN=research omnibot goto https://example.com
379
+ ```
380
+
381
+ Preferred pattern: See `operation-patterns.md#navigation` and `session-and-tabs.md#tab-explicit`.
382
+ Fallback relation: Verify with `get url --tab-id <TAB_ID>` before continuing.
383
+
384
+ ### close / back / forward / reload / pushstate
385
+
386
+ Purpose: Change tab lifecycle or history state.
387
+
388
+ ```bash
389
+ OMNIBOT_SESSION_TOKEN=research omnibot close <TAB_ID>
390
+ OMNIBOT_SESSION_TOKEN=research omnibot back --tab-id <TAB_ID>
391
+ OMNIBOT_SESSION_TOKEN=research omnibot forward --tab-id <TAB_ID>
392
+ OMNIBOT_SESSION_TOKEN=research omnibot reload --tab-id <TAB_ID>
393
+ OMNIBOT_SESSION_TOKEN=research omnibot pushstate /dashboard --tab-id <TAB_ID>
394
+ ```
395
+
396
+ Preferred pattern: See `operation-patterns.md#navigation`.
397
+ Fallback relation: Verify URL or page state after the action.
398
+
399
+ ### tab
400
+
401
+ Purpose: Manage browser tabs.
402
+
403
+ ```bash
404
+ OMNIBOT_SESSION_TOKEN=research omnibot tab list
405
+ OMNIBOT_SESSION_TOKEN=research omnibot tab new https://docs.example.com --label docs
406
+ OMNIBOT_SESSION_TOKEN=research omnibot tab close docs
407
+ ```
408
+
409
+ Preferred pattern: See `session-and-tabs.md#tab-explicit`.
410
+ Removed: `tab switch` and `tab focus` are no longer available. Use explicit `--tab-id` on every page-state command.
411
+
412
+ ### window / frame
413
+
414
+ Purpose: Manage windows and frames.
415
+
416
+ ```bash
417
+ OMNIBOT_SESSION_TOKEN=research omnibot window new
418
+ OMNIBOT_SESSION_TOKEN=research omnibot frame main
419
+ ```
420
+
421
+ ## Waiting & Batch
422
+
423
+ ### wait
424
+
425
+ Purpose: Wait for time, selector, text, URL, load state, or JavaScript condition.
426
+
427
+ ```bash
428
+ OMNIBOT_SESSION_TOKEN=checkout omnibot wait 500 --tab-id <TAB_ID>
429
+ OMNIBOT_SESSION_TOKEN=checkout omnibot wait "#ready" --tab-id <TAB_ID>
430
+ OMNIBOT_SESSION_TOKEN=checkout omnibot wait "#spinner" --state hidden --tab-id <TAB_ID>
431
+ OMNIBOT_SESSION_TOKEN=checkout omnibot wait --text "Welcome" --tab-id <TAB_ID>
432
+ OMNIBOT_SESSION_TOKEN=checkout omnibot wait --url "/dashboard" --tab-id <TAB_ID>
433
+ OMNIBOT_SESSION_TOKEN=checkout omnibot wait --load domcontentloaded --tab-id <TAB_ID>
434
+ OMNIBOT_SESSION_TOKEN=checkout omnibot wait --load networkidle --tab-id <TAB_ID>
435
+ OMNIBOT_SESSION_TOKEN=checkout omnibot wait --fn "window.appReady === true" --tab-id <TAB_ID>
436
+ ```
437
+
438
+ Preferred pattern: See `operation-patterns.md#wait`.
439
+ Fallback relation: Prefer over shell sleep.
440
+
441
+ ### batch
442
+
443
+ Purpose: Send short command arrays as JSON or from a file.
444
+
445
+ ```bash
446
+ OMNIBOT_SESSION_TOKEN=research omnibot batch '[{"cmd":"scan"},{"cmd":"snapshot","interactive":true}]' --tab-id <TAB_ID>
447
+ OMNIBOT_SESSION_TOKEN=research omnibot batch --file /tmp/omnibot-batch.json --tab-id <TAB_ID>
448
+ ```
449
+
450
+ Preferred pattern: See `operation-patterns.md#batch`.
451
+ Fallback relation: Not a substitute for verification.
452
+
453
+ ## Debugging
454
+
455
+ ### screenshot
456
+
457
+ Purpose: Capture visual evidence from a browser tab.
458
+
459
+ ```bash
460
+ OMNIBOT_SESSION_TOKEN=debug omnibot screenshot --tab-id <TAB_ID> -o /tmp/omni-shot.png
461
+ OMNIBOT_SESSION_TOKEN=debug omnibot screenshot --annotate --tab-id <TAB_ID> -o /tmp/omni-annotated.png
462
+ ```
463
+
464
+ Preferred pattern: See `debugging-and-evidence.md#screenshot`.
465
+ Fallback relation: Evidence collection, not operation fallback.
466
+
467
+ ### console
468
+
469
+ Purpose: Read or clear browser console evidence.
470
+
471
+ ```bash
472
+ OMNIBOT_SESSION_TOKEN=debug omnibot console logs --tab-id <TAB_ID>
473
+ OMNIBOT_SESSION_TOKEN=debug omnibot console errors --tab-id <TAB_ID>
474
+ OMNIBOT_SESSION_TOKEN=debug omnibot console clear --tab-id <TAB_ID>
475
+ ```
476
+
477
+ Preferred pattern: See `debugging-and-evidence.md#console`.
478
+ Fallback relation: Evidence collection, not operation fallback.
479
+
480
+ ### network
481
+
482
+ Purpose: Read browser network evidence.
483
+
484
+ ```bash
485
+ OMNIBOT_SESSION_TOKEN=debug omnibot network logs --tab-id <TAB_ID>
486
+ OMNIBOT_SESSION_TOKEN=debug omnibot network summary --tab-id <TAB_ID>
487
+ ```
488
+
489
+ Preferred pattern: See `debugging-and-evidence.md#network`.
490
+ Fallback relation: Evidence collection, not operation fallback.
491
+
492
+ ## Browser Capabilities
493
+
494
+ ### clipboard
495
+
496
+ Purpose: Read or write browser clipboard.
497
+
498
+ ```bash
499
+ OMNIBOT_SESSION_TOKEN=research omnibot clipboard read --tab-id <TAB_ID>
500
+ OMNIBOT_SESSION_TOKEN=research omnibot clipboard write "text" --tab-id <TAB_ID>
501
+ ```
502
+
503
+ Preferred pattern: See `operation-patterns.md#extraction`.
504
+ Fallback relation: Use only when clipboard is part of the browser task.
505
+
506
+ ### viewport
507
+
508
+ Purpose: Read or set viewport size.
509
+
510
+ ```bash
511
+ OMNIBOT_SESSION_TOKEN=visual omnibot viewport get --tab-id <TAB_ID>
512
+ OMNIBOT_SESSION_TOKEN=visual omnibot viewport set 1280 720 --tab-id <TAB_ID>
513
+ ```
514
+
515
+ Preferred pattern: Set explicit viewport before visual verification if layout matters.
516
+ Fallback relation: Not a fallback command.
517
+
518
+ ### assets
519
+
520
+ Purpose: List or export page resources.
521
+
522
+ ```bash
523
+ OMNIBOT_SESSION_TOKEN=extract omnibot assets list --tab-id <TAB_ID>
524
+ OMNIBOT_SESSION_TOKEN=extract omnibot assets export -o /tmp/assets.zip --tab-id <TAB_ID>
525
+ ```
526
+
527
+ Preferred pattern: See `operation-patterns.md#extraction`.
528
+ Fallback relation: Use after page content indicates assets are needed.
529
+
530
+ ## Visibility & Sessions
531
+
532
+ ### visibility
533
+
534
+ Purpose: Inspect, set, or launch automation browser visibility mode.
535
+
536
+ ```bash
537
+ omnibot visibility status
538
+ omnibot visibility set background
539
+ omnibot visibility set visible
540
+ omnibot visibility set headless --user-data-dir /tmp/omnibot-headless
541
+ omnibot visibility launch headless --user-data-dir /tmp/omnibot-headless
542
+ ```
543
+
544
+ Preferred pattern: See `session-and-tabs.md#visibility`.
545
+ Fallback relation: Headless does not inherit existing user login state.
546
+
547
+ ### browser
548
+
549
+ Purpose: Manage browser runtime ownership.
550
+
551
+ ```bash
552
+ OMNIBOT_SESSION_TOKEN=research omnibot browser list
553
+ OMNIBOT_SESSION_TOKEN=research omnibot browser current
554
+ OMNIBOT_SESSION_TOKEN=research omnibot browser claim 123
555
+ OMNIBOT_SESSION_TOKEN=research omnibot browser release 123
556
+ ```
557
+
558
+ Preferred pattern: See `session-and-tabs.md#browser-claimrelease`.
559
+ Fallback relation: Use in multi-browser or multi-runtime scenarios.
560
+
561
+ ### session
562
+
563
+ Purpose: Name or list sessions.
564
+
565
+ ```bash
566
+ OMNIBOT_SESSION_TOKEN=checkout omnibot session name "checkout"
567
+ OMNIBOT_SESSION_TOKEN=checkout omnibot session list
568
+ ```
569
+
570
+ Preferred pattern: See `session-and-tabs.md#session-first`.
571
+ Fallback relation: Not a fallback command.
572
+
573
+ ## Recording & Trace
574
+
575
+ ### record / replay / trace
576
+
577
+ Purpose: Capture, replay, or trace workflows for evidence.
578
+
579
+ ```bash
580
+ OMNIBOT_SESSION_TOKEN=debug omnibot record start
581
+ OMNIBOT_SESSION_TOKEN=debug omnibot record stop -o flow.json
582
+ OMNIBOT_SESSION_TOKEN=debug omnibot replay flow.json
583
+ OMNIBOT_SESSION_TOKEN=debug omnibot trace start
584
+ OMNIBOT_SESSION_TOKEN=debug omnibot trace stop -o trace.zip
585
+ ```
586
+
587
+ Preferred pattern: See `debugging-and-evidence.md#record-and-replay` and `debugging-and-evidence.md#trace`.
588
+ Fallback relation: Evidence collection, not operation fallback.
589
+
590
+ ## Skills & License
591
+
592
+ ### skills install / skills path
593
+
594
+ Purpose: Install packaged omnibot skills or show the packaged skills path.
595
+
596
+ ```bash
597
+ omnibot skills install --agent hermes --profile nuwa
598
+ omnibot skills install --agent opencode
599
+ omnibot skills install --agent claude
600
+ omnibot skills install --agent codex
601
+ omnibot skills path
602
+ ```
603
+
604
+ Preferred pattern: See `runtime-and-status.md#skills-path`.
605
+ Fallback relation: Not a fallback command.
606
+
607
+ ### license status
608
+
609
+ Purpose: Inspect license status.
610
+
611
+ ```bash
612
+ omnibot license status
613
+ ```
614
+
615
+ Preferred pattern: See `runtime-and-status.md#startup-check`.
616
+ Fallback relation: Not a fallback command.
@@ -0,0 +1,95 @@
1
+ # Debugging and Evidence
2
+
3
+ Debugging is for evidence. Fallback is for completing operations.
4
+
5
+ Use this file when you need to prove browser state, explain a failure, or collect artifacts for review. Do not use `execute-js` as the first debug tool.
6
+
7
+ ## Screenshot
8
+
9
+ Use screenshots when visual layout, canvas, dialogs, or visual regressions matter.
10
+
11
+ ```bash
12
+ OMNIBOT_SESSION_TOKEN=debug omnibot screenshot --tab-id <TAB_ID> -o /tmp/omni-shot.png
13
+ OMNIBOT_SESSION_TOKEN=debug omnibot screenshot --annotate --tab-id <TAB_ID> -o /tmp/omni-annotated.png
14
+ ```
15
+
16
+ Prefer text extraction when text is enough. Screenshot is evidence, not extraction.
17
+
18
+ ## Console
19
+
20
+ Use console logs for runtime JavaScript errors, frontend warnings, or app-level diagnostics.
21
+
22
+ ```bash
23
+ OMNIBOT_SESSION_TOKEN=debug omnibot console errors --tab-id <TAB_ID>
24
+ OMNIBOT_SESSION_TOKEN=debug omnibot console logs --tab-id <TAB_ID>
25
+ OMNIBOT_SESSION_TOKEN=debug omnibot console clear --tab-id <TAB_ID>
26
+ ```
27
+
28
+ Collect console errors before and after the action when debugging regressions.
29
+
30
+ ## Network
31
+
32
+ Use network logs for failed requests, redirects, blocked assets, API errors, or loading stalls.
33
+
34
+ ```bash
35
+ OMNIBOT_SESSION_TOKEN=debug omnibot network summary --tab-id <TAB_ID>
36
+ OMNIBOT_SESSION_TOKEN=debug omnibot network logs --tab-id <TAB_ID>
37
+ ```
38
+
39
+ Pair network evidence with page verification:
40
+
41
+ ```bash
42
+ OMNIBOT_SESSION_TOKEN=debug omnibot get text "#main" --tab-id <TAB_ID>
43
+ ```
44
+
45
+ ## Trace
46
+
47
+ Use trace for a reproducible artifact around a failing workflow.
48
+
49
+ ```bash
50
+ OMNIBOT_SESSION_TOKEN=debug omnibot trace start
51
+ OMNIBOT_SESSION_TOKEN=debug omnibot click --tab-id <TAB_ID> @e4
52
+ OMNIBOT_SESSION_TOKEN=debug omnibot snapshot -i --tab-id <TAB_ID>
53
+ OMNIBOT_SESSION_TOKEN=debug omnibot trace stop -o trace.zip
54
+ ```
55
+
56
+ Trace is evidence. It does not replace operation verification.
57
+
58
+ ## Record and Replay
59
+
60
+ Use record/replay when a flow must be captured or reproduced.
61
+
62
+ ```bash
63
+ OMNIBOT_SESSION_TOKEN=debug omnibot record start
64
+ OMNIBOT_SESSION_TOKEN=debug omnibot click --tab-id <TAB_ID> @e4
65
+ OMNIBOT_SESSION_TOKEN=debug omnibot snapshot -i --tab-id <TAB_ID>
66
+ OMNIBOT_SESSION_TOKEN=debug omnibot record stop -o flow.json
67
+ OMNIBOT_SESSION_TOKEN=debug omnibot replay flow.json
68
+ ```
69
+
70
+ After replay, verify final state:
71
+
72
+ ```bash
73
+ OMNIBOT_SESSION_TOKEN=debug omnibot get url --tab-id <TAB_ID>
74
+ ```
75
+
76
+ ## CDP Inspection
77
+
78
+ Use CDP for low-level inspection when normal evidence is insufficient.
79
+
80
+ ```bash
81
+ OMNIBOT_SESSION_TOKEN=debug omnibot cdp Runtime.evaluate '{"expression":"document.title"}' --tab-id <TAB_ID>
82
+ OMNIBOT_SESSION_TOKEN=debug omnibot cdp DOM.getDocument '{"depth":1}' --tab-id <TAB_ID>
83
+ ```
84
+
85
+ CDP inspection is not a first-choice operation path. If CDP changes state, it becomes Tier 7 fallback and must follow `fallback-operations.md#raw-cdp-fallback`.
86
+
87
+ ## Evidence Checklist
88
+
89
+ Before reporting a browser issue, collect the smallest evidence set that explains it:
90
+
91
+ - Runtime: `doctor`, `tabs`, `visibility status`.
92
+ - Page state: `get`, `is`, `scan`, or `snapshot`.
93
+ - Visual proof: `screenshot --annotate` only if visual state matters.
94
+ - Browser diagnostics: `console errors` and `network summary`.
95
+ - Reproduction artifact: `trace` or `record` when the flow is unstable.