opencode/packages/plugin-browser/test
Luke Parker 08623d032b fix(core): list the browser on the step that follows a restart or an idle unload
A step lists the browser tools only if its session holds the desktop's
grant when the step selects its tools. After the server restarts or
unloads a location, the desktop attaches again only once it sees the
session run, about 100 ms after that step selected its tools, so the
step ran without the browser and the model was told it was gone.

- core: the experimental.step.before session hook runs before a step
  selects its agent, tools and instructions, as the MCP startup grace
  does for servers that are still connecting.
- plugin-browser: a session whose attachment ended is expected. Its next
  step waits for the desktop, 2 s at most and once; a step also waits
  for an attach that is in flight.
2026-11-25 09:11:08 +10:00
..
connection.test.ts fix(core): list the browser on the step that follows a restart or an idle unload 2026-11-25 09:11:08 +10:00
machine.test.ts fix(core): list the browser on the step that follows a restart or an idle unload 2026-11-25 09:11:08 +10:00
preview-path.test.ts feat(desktop): signed-in browser pane with extensions, previews, prompts and agent safeguards (#63002) 2026-11-19 20:18:12 -06:00
rpc.test.ts feat(desktop): signed-in browser pane with extensions, previews, prompts and agent safeguards (#63002) 2026-11-19 20:18:12 -06:00
tools.test.ts feat(desktop): signed-in browser pane with extensions, previews, prompts and agent safeguards (#63002) 2026-11-19 20:18:12 -06:00
tunnel-machine.test.ts fix(browser): drive tunnel, proxy and network hop lifecycles through state machines (#61996) 2026-11-05 01:00:23 -06:00
tunnel.test.ts fix(browser): drive tunnel, proxy and network hop lifecycles through state machines (#61996) 2026-11-05 01:00:23 -06:00
wildcard.test.ts feat(desktop): signed-in browser pane with extensions, previews, prompts and agent safeguards (#63002) 2026-11-19 20:18:12 -06:00