add sub-bar usage widget extension with opencode-go support

This commit is contained in:
2026-03-12 12:30:09 +00:00
parent 9ad10a016c
commit 7a9e2b94ff
70 changed files with 14787 additions and 6 deletions
@@ -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