@mytai20100/opencode-browser 0.0.4 → 0.0.6
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.
- package/README.md +97 -1
- package/dist/index.js +733 -242
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
> OpenCode Browser MCP — Chrome automation plugin for [OpenCode](https://opencode.ai) via WebSocket + Chrome Extension.
|
|
7
7
|
|
|
8
|
-
Gives AI agents **
|
|
8
|
+
Gives AI agents **165+ tools** covering tabs, CDP debugging, network interception, visual clicking, session management, accessibility, advanced mouse/keyboard control, testing & mocking, profiling, stealth/anti-fingerprinting, proxy management, form automation, lighthouse audits, screencast recording, and more.
|
|
9
9
|
|
|
10
10
|
---
|
|
11
11
|
|
|
@@ -399,6 +399,102 @@ All tools are prefixed with `chrome_`. Call `chrome_get_tool_graph` with a plain
|
|
|
399
399
|
| `chrome_dom_set_attribute` | Set DOM attribute via CDP |
|
|
400
400
|
| `chrome_dom_remove_node` | Remove DOM node |
|
|
401
401
|
|
|
402
|
+
### Stealth & Anti-fingerprinting
|
|
403
|
+
|
|
404
|
+
| Tool | Description |
|
|
405
|
+
|------|-------------|
|
|
406
|
+
| `chrome_stealth_enable` | Enable anti-fingerprint spoofs (webdriver, canvas, webgl, audio, etc.) |
|
|
407
|
+
| `chrome_stealth_disable` | Disable all stealth spoofs on a tab |
|
|
408
|
+
| `chrome_stealth_status` | Get active stealth flags and seed |
|
|
409
|
+
|
|
410
|
+
### Proxy & Network Identity
|
|
411
|
+
|
|
412
|
+
| Tool | Description |
|
|
413
|
+
|------|-------------|
|
|
414
|
+
| `chrome_set_proxy` | Set browser proxy (direct, fixed_servers, pac_script) |
|
|
415
|
+
| `chrome_clear_proxy` | Clear proxy to direct connection |
|
|
416
|
+
| `chrome_get_proxy` | Get current proxy config |
|
|
417
|
+
| `chrome_set_webrtc_policy` | Prevent WebRTC IP leak |
|
|
418
|
+
| `chrome_get_webrtc_policy` | Get WebRTC policy |
|
|
419
|
+
|
|
420
|
+
### Dialog & Form Automation
|
|
421
|
+
|
|
422
|
+
| Tool | Description |
|
|
423
|
+
|------|-------------|
|
|
424
|
+
| `chrome_handle_dialog` | Handle JavaScript dialog (alert, confirm, prompt) |
|
|
425
|
+
| `chrome_fill_form` | Fill multiple form fields in one call |
|
|
426
|
+
| `chrome_check` | Check a checkbox |
|
|
427
|
+
| `chrome_uncheck` | Uncheck a checkbox |
|
|
428
|
+
| `chrome_wait_for_text` | Wait for text to appear on page |
|
|
429
|
+
| `chrome_verify_element_visible` | Verify element is visible |
|
|
430
|
+
| `chrome_verify_text_visible` | Verify text is visible on page |
|
|
431
|
+
| `chrome_verify_value` | Verify input value matches expected |
|
|
432
|
+
| `chrome_generate_locator` | Generate Playwright locator string |
|
|
433
|
+
|
|
434
|
+
### Lighthouse & Performance
|
|
435
|
+
|
|
436
|
+
| Tool | Description |
|
|
437
|
+
|------|-------------|
|
|
438
|
+
| `chrome_lighthouse_audit` | Heuristic audit (accessibility, SEO, best-practices) |
|
|
439
|
+
| `chrome_performance_insight` | Performance insights with Core Web Vitals |
|
|
440
|
+
|
|
441
|
+
### Screencast & Device Emulation
|
|
442
|
+
|
|
443
|
+
| Tool | Description |
|
|
444
|
+
|------|-------------|
|
|
445
|
+
| `chrome_screencast_start` | Start screencast recording |
|
|
446
|
+
| `chrome_screencast_stop` | Stop screencast and get frame count |
|
|
447
|
+
| `chrome_resize_page` | Resize page viewport |
|
|
448
|
+
| `chrome_emulate` | Unified device emulation (viewport, UA, locale, timezone, colorScheme) |
|
|
449
|
+
|
|
450
|
+
### Advanced Mouse Control
|
|
451
|
+
|
|
452
|
+
| Tool | Description |
|
|
453
|
+
|------|-------------|
|
|
454
|
+
| `chrome_mouse_move` | Move mouse to coordinates |
|
|
455
|
+
| `chrome_mouse_down` | Press mouse button |
|
|
456
|
+
| `chrome_mouse_up` | Release mouse button |
|
|
457
|
+
| `chrome_mouse_wheel` | Scroll mouse wheel |
|
|
458
|
+
| `chrome_click_at` | Click at specific coordinates |
|
|
459
|
+
|
|
460
|
+
### Heap & Memory Analysis
|
|
461
|
+
|
|
462
|
+
| Tool | Description |
|
|
463
|
+
|------|-------------|
|
|
464
|
+
| `chrome_heap_summary` | Get heap summary |
|
|
465
|
+
| `chrome_heap_query_objects` | Query heap objects by class name |
|
|
466
|
+
|
|
467
|
+
### Storage & Network Completeness
|
|
468
|
+
|
|
469
|
+
| Tool | Description |
|
|
470
|
+
|------|-------------|
|
|
471
|
+
| `chrome_cookie_clear` | Clear all cookies for URL |
|
|
472
|
+
| `chrome_localstorage_list` | List localStorage keys |
|
|
473
|
+
| `chrome_localstorage_delete` | Delete localStorage key |
|
|
474
|
+
| `chrome_sessionstorage_set` | Set sessionStorage value |
|
|
475
|
+
| `chrome_sessionstorage_get` | Get sessionStorage value |
|
|
476
|
+
| `chrome_sessionstorage_delete` | Delete sessionStorage key |
|
|
477
|
+
| `chrome_sessionstorage_clear` | Clear sessionStorage |
|
|
478
|
+
| `chrome_route_list` | List mock routes |
|
|
479
|
+
| `chrome_unroute` | Remove mock route |
|
|
480
|
+
| `chrome_network_state_set` | Set network offline/online state |
|
|
481
|
+
| `chrome_get_network_request` | Get network request by ID |
|
|
482
|
+
| `chrome_indexeddb_list` | List IndexedDB databases |
|
|
483
|
+
| `chrome_indexeddb_clear` | Clear IndexedDB object store |
|
|
484
|
+
|
|
485
|
+
### Extension & PWA Management
|
|
486
|
+
|
|
487
|
+
| Tool | Description |
|
|
488
|
+
|------|-------------|
|
|
489
|
+
| `chrome_list_extensions` | List installed extensions |
|
|
490
|
+
| `chrome_enable_extension` | Enable extension by ID |
|
|
491
|
+
| `chrome_disable_extension` | Disable extension by ID |
|
|
492
|
+
| `chrome_reload_extension` | Reload extension |
|
|
493
|
+
| `chrome_trigger_extension_action` | Trigger extension action |
|
|
494
|
+
| `chrome_pwa_check` | Check PWA installability |
|
|
495
|
+
| `chrome_list_webmcp_tools` | List WebMCP tools on page |
|
|
496
|
+
| `chrome_execute_webmcp_tool` | Execute WebMCP tool |
|
|
497
|
+
|
|
402
498
|
### Miscellaneous
|
|
403
499
|
|
|
404
500
|
| Tool | Description |
|