add sub-bar usage widget extension with opencode-go support
This commit is contained in:
@@ -5,7 +5,7 @@ description: Interactive browser automation via Chrome DevTools Protocol. Use wh
|
||||
|
||||
# Browser Tools
|
||||
|
||||
Chrome DevTools Protocol tools for agent-assisted web automation. These tools connect to Chrome running on `:9222` with remote debugging enabled.
|
||||
Chrome DevTools Protocol tools for agent-assisted web automation. These tools connect to a Chromium-based browser running on `:9222` with remote debugging enabled. Supports **Helium** (recommended on Linux), Chrome, Chromium, Brave, and Edge.
|
||||
|
||||
## Setup
|
||||
|
||||
@@ -18,14 +18,20 @@ npm install
|
||||
|
||||
where baseDir is usually ~/.pi/agent/skills/pi-skills/browser-tools/
|
||||
|
||||
## Start Chrome
|
||||
**Note:** On NixOS/Linux, Helium is recommended:
|
||||
```bash
|
||||
nix-env -iA nixpkgs.helium
|
||||
# or via home-manager
|
||||
```
|
||||
|
||||
## Start Browser
|
||||
|
||||
```bash
|
||||
{baseDir}/browser-start.js # Fresh profile
|
||||
{baseDir}/browser-start.js --profile # Copy user's profile (cookies, logins)
|
||||
{baseDir}/browser-start.js --profile # Copy your profile (cookies, logins)
|
||||
```
|
||||
|
||||
Launch Chrome with remote debugging on `:9222`. Use `--profile` to preserve user's authentication state.
|
||||
Launches the first available browser (Helium → chromium → chrome → brave → edge) with remote debugging on `:9222`. Use `--profile` to preserve your authentication state.
|
||||
|
||||
## Navigate
|
||||
|
||||
|
||||
Reference in New Issue
Block a user