opencode/packages/core
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
..
perf feat(core): use models.dev's recommended API behind a flag (#65003) 2026-11-19 19:55:32 -06:00
script feat(core): generate the opencode skill's API reference from openapi.json (#65836) 2026-11-24 06:49:21 +00:00
src fix(core): list the browser on the step that follows a restart or an idle unload 2026-11-25 09:11:08 +10:00
test fix(core): list the browser on the step that follows a restart or an idle unload 2026-11-25 09:11:08 +10:00
AGENTS.md fix(core): save assistant messages on the SQLite that macOS 12 ships (#65771) 2026-11-23 11:05:19 +00:00
bunfig.toml refactor(core): simplify integration test fixtures (#33292) 2026-06-22 04:15:34 +00:00
drizzle.config.ts refactor(core): move database schema ownership (#29068) 2026-05-30 21:08:38 -04:00
package.json feat(core): generate the opencode skill's API reference from openapi.json (#65836) 2026-11-24 06:49:21 +00:00
README.md revert(core): restore tool dispatch before nested repair (#63630) 2026-11-13 00:06:23 +00:00
schema.json feat(core): machine keys and one-use join strings (#65031) 2026-11-19 21:41:12 -08:00
tsconfig.build.json feat(core): configure package publishing 2026-08-12 09:30:34 -04:00
tsconfig.json chore: upgrade typecheck to TypeScript 7.0.2 (#56300) 2026-10-17 13:26:46 -07:00
tsconfig.tests.json refactor: run every benchmark with strobe (#60880) 2026-11-03 20:05:16 -06:00

@opencode/core

Core runtime services for OpenCode.