opencode/packages/server
Filip Hejmowski 9e8ed6f33e fix(core): speed up location boot and VCS routes on Windows
Plugin activation awaits the VCS branch refresh and the location watcher's
repository probe, so every Location boot waited on three to four sequential
git rounds before the agent, model, provider and integration lists answered.
Each round costs ~40ms on Windows.

- Read the remote list with origin's HEAD in one round, and local branches
  with init.defaultBranch in one more only when no remote HEAD names the
  default branch.
- Cache repository discovery by the .git metadata fingerprint, as
  Project.resolve already does.
- vcs.status no longer checks HEAD before listing; vcs.diff fetches the
  batched patch with the change list and reads HEAD with the default branch.
- Look up commands on Windows with one stat per PATHEXT extension instead of
  one per case, without throwing on every miss.

Adds packages/server/script/benchmark-server.ts, which boots
`opencode serve` from any checkout and replays a client opening a location.
2026-10-30 11:20:24 +01:00
..
script fix(core): speed up location boot and VCS routes on Windows 2026-10-30 11:20:24 +01:00
src fix(core): run dynamic provider npm fallback after external sdk hooks (#60380) 2026-10-29 20:32:27 -05:00
test refactor(ai): one tool() for both clients (#60407) 2026-10-29 21:48:24 -05:00
package.json release: v2.2.2 (#60337) 2026-10-29 13:54:46 -05:00
sst-env.d.ts zen: nemotron 3 ultra 2026-06-04 10:40:58 -04:00
tsconfig.build.json feat(sdk): prepare v2 packages for publishing 2026-08-21 17:28:34 -04:00
tsconfig.json chore: upgrade typecheck to TypeScript 7.0.2 (#56300) 2026-10-17 13:26:46 -07:00