Forked clean from public hackathon repo (Starfire-AgentTeam, BSL 1.1) with full rebrand to Molecule AI under github.com/Molecule-AI/molecule-monorepo. Brand: Starfire → Molecule AI. Slug: starfire / agent-molecule → molecule. Env vars: STARFIRE_* → MOLECULE_*. Go module: github.com/agent-molecule/platform → github.com/Molecule-AI/molecule-monorepo/platform. Python packages: starfire_plugin → molecule_plugin, starfire_agent → molecule_agent. DB: agentmolecule → molecule. History truncated; see public repo for prior commits and contributor attribution. Verified green: go test -race ./... (platform), pytest (workspace-template 1129 + sdk 132), vitest (canvas 352), build (mcp). Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
9 lines
550 B
Markdown
9 lines
550 B
Markdown
# Browser Automation Rules
|
|
|
|
- Chrome CDP is available at `host.docker.internal:9223` (proxy to host Chrome on port 9222)
|
|
- Always use `browserWSEndpoint` with URL rewrite (`localhost:9222` → `host.docker.internal:9223`)
|
|
- Never use `browserURL` — it resolves to an unreachable localhost address
|
|
- Never call `browser.close()` — use `browser.disconnect()` to release without killing Chrome
|
|
- Set `NODE_PATH=/usr/lib/node_modules` if `require('puppeteer-core')` fails
|
|
- The Chrome profile is shared — all agents see the same logged-in sessions
|