Files
fusion/plugins/fusion-plugin-agent-browser
gsxdsm abd596b700 fix: pack full desktop dependency closure + resolve bun/desktop plugin loading on Windows
Desktop "Local" mode crashed with ERR_MODULE_NOT_FOUND because electron-builder's
pnpm collector drops `deduped` subtrees, so engine's transitive closure
(@modelcontextprotocol/sdk, pi-ai provider SDKs, etc.) was never packed. Stage the
complete flat prod closure with `pnpm deploy --legacy --config.node-linker=hoisted`
and package it via `electron-builder --projectDir deploy`, bypassing the lossy
collector entirely.

Also make the dashboard-imported example plugins loadable under plain Node (the
Electron main runtime): cursor/droid/roadmap now expose compiled `dist` on the
`import` condition (keeping `source`→src for the bun CLI) and are built during the
desktop build. Add `source` conditions to paperclip/agent-browser/even-cards/
even-realities-glasses/whatsapp-chat so the bun `--conditions=source` Windows CLI
compile resolves them from source.

Validated on macOS: @fusion/core|engine|dashboard import cleanly from the staged
deploy; packing yields a complete 705-package asar; bun-windows-x64 cross-compiles
with all plugin dist removed.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-01 20:40:02 -07:00
..
2026-06-13 15:25:27 -07:00
2026-07-01 19:38:51 -07:00

fusion-plugin-agent-browser

First-party Fusion plugin that contributes:

  • setup metadata/hooks for the agent-browser binary
  • prompt contributions across executor/triage/reviewer/heartbeat surfaces
  • agent-browser skills and workflow step templates
  • optional browser helper tools

Settings

  • enabled (boolean, default true)
  • installChannel (stable|beta|nightly, default stable)
  • commandTimeoutMs (number, default 120000)
  • headlessMode (boolean, default true)
  • allowedDomains (string array, default [])
  • promptExecutorSystem (string, default "When browsing, summarize evidence with URLs.")
  • promptExecutorTask (string, default "Use browser context only when needed for the task.")
  • promptTriage (string, default "Mark tasks requiring browser evidence explicitly.")
  • promptReviewer (string, default "Verify browser-derived claims are backed by cited pages.")
  • promptHeartbeat (string, default "Keep browser interactions bounded and report failures clearly.")
  • skillExposure (none|selected|all, default selected)

Setup hooks

checkSetup() probes agent-browser --version asynchronously with timeout handling and reports installed, not-installed, or error status via PluginSetupCheckResult.