Dashboard › opencode-lore › Distillation
b958a39d-a15f-4925-bedd-dc8ee4718b2a["lore_tm_v1_FaAGNjdeDkYUdiK9rIcry6m26_qdvk3D9pgMytIAmfU","lore_tm_v1_8DDtbtDbK8iLgb9KhmqqcS7KPF2g3bYdcdu4OLFyvNM","lore_tm_v1_FR0AXgThvrfKAj2kxCNqj-xt1Nz0vedUl0wnmqQnFoY"]
Date: Sep 16, 2026
node_modules and must never select an arbitrary package.resolveNativeOrtBindingPath must never throw when a package is unresolvable because this is the expected dist-only case.null and never throw when native packages are absent.isNativeOrtLoadError(msg: string) to packages/core/src/embedding-worker-types.ts and packages/core/src/embedding-worker.ts. It requires both a native-runtime indicator (onnxruntime_binding.node, ONNX Runtime shared libraries, or OrtGetApiBase) and a load-failure indicator such as ERR_DLOPEN_FAILED, invalid ELF/Mach-O/Win32, truncated files, missing shared objects/images/modules, undefined or missing symbols, or dlopen.packages/core/test/ort-native.test.ts from 85 to 483 lines with filesystem-backed fixtures using mkdirSync, mkdtempSync, realpathSync, rmSync, symlinkSync, and writeFileSync; tests cover absent native packages, published-manifest mutations, workspace layouts, supported targets, worker loading, and native-addon load markers.packages/gateway/test/cli-bundle-smoke.test.ts uses packages/gateway/dist/bin.cjs, BUNDLE_TIMEOUT_MS = 30_000, and currently errors if the bundle is absent; packages/gateway/test/cli-signal-lifecycle.test.ts likewise requires that bundle for spawned CLI lifecycle tests.