Dashboard › opencode-lore › Distillation
c417bf99-591e-4abf-a59b-380fd9a0771f["lore_tm_v1_K4mUA_LpXDxikG7gy4lGJ6TDU4uMJR3Ti1AAbN7YKDs","lore_tm_v1_ezmiwuJyYngKUBZzn9T3q3G14bQIWDBJWobTji4fjiw"]
Date: Sep 16, 2026
resolveNativeOrtBindingPath to return null and never throw when the native package is absent.null and never throw when native packages are absent.packages/core/test/embedding-wasm-fallback.test.ts now imports registerSink from ../src/log, defines NOOP_LOG_SINK with info(), warn(), error(), and captureException(), and restores that sink in afterEach().{ type: "init-needs-wasm" }; the former free-form error: "Failed to load model because protobuf parsing failed" field was removed.never logs untrusted fields from the native-to-WASM fallback signal and never forwards free-form worker diagnostics to logs or sinks.worker inline isNativeOrtLoadError body matches the canonical function, guarding consistency between the worker’s inlined implementation and the canonical isNativeOrtLoadError.GATEWAY_VERSION = "9.9.9" and exercise N-API layouts including bin/napi-v6/linux/x64.returns null and never throws when native packages are absent, rejects ambiguous or missing workspace N-API layouts, and never resolves an undeclared ancestor workspace package.packages/core/src/ort-native.ts documents two allowed resolution routes: matching published @loreai/onnxruntime-<target> packages and the gateway’s direct onnxruntime-node dependency; both routes are intended to be npm-12-safe and prevent selection of an ancestor’s potentially ABI-incompatible runtime.packages/core/src/ort-native.ts opens the canonical binding and inspects executable magic bytes; package manifests, runtime compatibility, expected ONNX Runtime version, package containment, and N-API binary layout are validated before returning a binding path, with failures caught and converted to null.