@omniaibot/win-x64 1.1.6 → 1.3.0

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