A new pack-npm job applies the release version rewrite and runs the 14
library publish scripts in a pack-only mode (OPENCODE_NPM_PACK_DIR), with
their typecheck, ui tests and codemode smoke install, and uploads the
tarballs. It has only contents: read and no secrets.
publish downloads them and sets OPENCODE_NPM_TARBALLS. script/publish.ts
checks that every tarball exists and holds the expected name and version
before it publishes anything, and each library script keeps its npm view
check and then publishes its carried tarball instead of building again.
Without either variable the scripts behave as before.
The version rewrite moves to script/release-files.ts so publish and
pack-npm share it.
Reuse the shared dependency-aware plugin loader for Core hot reloads. Scope watcher setup callbacks and subscriptions, recover missing external helpers, and preserve explicit local entrypoint invalidation without reloading package dependencies. Add regression coverage and portable RPC fixtures.