opencode-browser-kit 0.1.0 → 0.1.1

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 CHANGED
@@ -85,6 +85,12 @@ Then in any session:
85
85
  - Screenshots are saved to `/tmp/opencode-browser-screenshots/` and their paths are returned so the agent can view them inline.
86
86
  - Works best in projects with `data-testid` attributes; the picker prefers them for stable selectors.
87
87
 
88
+ ## Troubleshooting
89
+
90
+ - **"Could not install playwright"**: the plugin tries `bun add playwright` (45s cap, cache pointed at the OS tmpdir), then `npm install playwright`. If both fail, or bun's resolver hangs on a slow/network-backed home cache, install manually next to the plugin: `cd <plugin folder> && bun add playwright && bunx playwright install chromium`.
91
+ - **No bundled Chromium**: the plugin falls back to system Chrome, then Edge automatically. `bunx playwright install chromium` only matters for the bundled-browser path.
92
+ - **Plugin fails to load with "Plugin export is not a function"** (older versions, 0.1.0): the module exported a non-function. Fixed in 0.1.1 — only function exports are allowed in an opencode plugin module.
93
+
88
94
  ## License
89
95
 
90
96
  MIT