Dashboard › opencode-lore › Distillation
7044675b-89a5-4c5a-abaf-b2fb9a5e39da["lore_tm_v1_gyinlGISCjyQwp6L5dnoO716PGCxzXlpWNgCkfXFIJw","lore_tm_v1_QwQtPn4D87hAOz8R9CrwORybgRRa_U1XZlP8hn4Dfk4","lore_tm_v1_SE8G3Nz_O-BbaHHFnj5FvPDURqfGfQGppNVgGDhgyfU","lore_tm_v1_C2IRg0LRG43aS6ajAYQpmJRoJWImX34fAev5XtQhBYA","lore_tm_v1_3u-XInsYr2nDec5OrmMVtB-g2Af_yACpdOUGJ6UxK-4","lore_tm_v1_suHEYTTjBPVekz1WfBSqhyETH_kpCqCwo5f3qWWua_c","lore_tm_v1_3KkDdJ6D5yDM6a1CeSfuUlUVevntmNgAaXSaBrRovJ0"]
Date: Sep 16, 2026
packages/gateway/test/bundle-exports.test.ts to always run against a dist/ bundle built from current source, regardless of whether Vitest was launched via pnpm test, pnpm run test:coverage, vitest --watch, an IDE runner, or direct vitest run.packages/gateway/test/bundle-exports.test.ts defines newestMtimeMs(roots) to recursively find the newest readable source mtime and oldestMtimeMs(files) to find the oldest artifact mtime, treating any missing artifact as 0.isBundleFresh() considers the gateway bundle fresh only when both packages/gateway/dist/index.cjs and packages/gateway/dist/index.bun.js exist and their oldest mtime is strictly greater than the newest mtime under packages/gateway/src, packages/core/src, packages/gateway/script, and packages/gateway/package.json; equal timestamps intentionally trigger rebuilding.node_modules, including ORT WASM, are intentionally excluded from bundle freshness inputs because pnpm install postinstall rebuilds the bundle.execSync("pnpm --filter @loreai/gateway run bundle", { cwd: repoRoot, stdio: "pipe", encoding: "utf8" }) in beforeAll with a 300_000 ms timeout. A shell command is used so Windows can resolve pnpm.cmd; build failures include captured stderr, stdout, and the reproduction command.@loreai/* import to src, core worker threads resolve .ts siblings, no other test consumes dist/, and Vitest uses pool: "forks".node_modules and never select an arbitrary package from an unrelated installation location.isNativeOrtLoadError(msg: string) to both packages/core/src/embedding-worker-types.ts and packages/core/src/embedding-worker.ts. It first identifies native-runtime references such as onnxruntime_binding.node, libonnxruntime[_providers_*].so[.N], .dylib, .dll, or OrtGetApiBase, then recognizes loader failures including ERR_DLOPEN_FAILED, invalid ELF/Mach-O/Win32, file too short, missing shared objects/images/modules, undefined or missing symbols, and dlopen.2.26 had previously been accepted by the resolver, and selected native-addon dlopen failures had previously hung rather than requesting the one-shot WASM generation.node_modules layout.packages/gateway/script/bundle.ts now injects LORE_ORT_NODE_VERSION: JSON.stringify(ortNodePkg.version) into the CJS bundle definition.{ os: ["darwin"] } on the wrong operating system, and fixtures carrying loreOrtNodeVersion, modelId: "lore-test/no-network-model", and a native-addon-selected marker.packages/gateway/package.json identifies @loreai/gateway version 0.40.0, requires Node >=22.15, and pins development dependency onnxruntime-node to 1.27.0.@loreai/gateway published files are exactly: dist/bin.cjs, dist/embedding-worker.cjs, dist/embedding-worker.js, dist/index.bun.js, dist/index.cjs, dist/index.d.cts, dist/ort-wasm-simd-threaded.mjs, dist/ort-wasm-simd-threaded.wasm, dist/vector-worker.cjs, and dist/vector-worker.js.tmzmtlss / commit e6d0f1edc850, description fix(core): correct embedding runtime selection and admission, based on pxrvwsvv / 2cbf40060c67 (main, feat(cch): add seeds for Claude Code up to 2.1.272 (#1780)); both reported conflict=false.1818 insertions(+), 90 deletions(-): added packages/core/src/cgroup-memory.ts and packages/core/test/cgroup-memory.test.ts; modified packages/core/src/embedding/local.ts, packages/core/src/embedding/pool.ts, packages/core/src/embedding-cap.ts, packages/core/src/embedding-worker-types.ts, packages/core/src/embedding-worker.ts, packages/core/src/embedding.ts, packages/core/src/ort-native.ts, packages/core/test/embedding-cap.test.ts, packages/core/test/embedding-pool-memory.test.ts, packages/core/test/embedding-pool.test.ts, packages/core/test/embedding-worker-types.test.ts, packages/core/test/ort-native.test.ts, packages/gateway/script/bundle.ts, packages/gateway/script/ort-platform-package.ts, packages/gateway/test/bundle-exports.test.ts, and packages/gateway/test/ort-platform-package.test.ts.fix/responses-private-references has conflicts and suggested inspecting with jj bookmark list and resolving with jj bookmark set <name> -r <rev>.