summaryrefslogtreecommitdiff
path: root/tests/opencode/setup.sh
diff options
context:
space:
mode:
authorJesse Vincent <jesse@primeradiant.com>2026-06-09 15:26:19 -0700
committerDrew Ritter <drew@primeradiant.com>2026-06-16 10:09:45 -0700
commit463dfb7fd4737e51c2a17d5beae6b4e510f88b6f (patch)
treeb8399420363d0463c2052c10cba8f9bce83cc648 /tests/opencode/setup.sh
parentdd9fcc21ee08c36b66ca7d730abd28f679ccf1f5 (diff)
feat(brainstorm-server): opt-in auto-open of the browser on the first screen
When the user approves the visual companion, open their browser automatically the first time a screen is actually ready to show — rather than at startup (just the waiting page) or making them open the URL by hand. Opt-in and gated on approval: off unless BRAINSTORM_OPEN is set (start-server.sh --open, which the agent passes only after the user agrees to use the companion). Even then it fires once, and is skipped if a browser is already connected, on a non-loopback/remote bind, or when headless. Launcher is the platform default (open / xdg-open / WSL cmd.exe) or BRAINSTORM_OPEN_CMD; best-effort, never fatal. lifecycle.test.js: opens once on the first screen when approved; does NOT open without approval. Closes #755 Refs #759
Diffstat (limited to 'tests/opencode/setup.sh')
0 files changed, 0 insertions, 0 deletions