Dashboard › opencode-lore › Distillation
a1f08fc1-2a91-47aa-9e24-ec882ff37a5a["lore_tm_v1_bhTez4gx95703xfRRrC_YqzXKprPN9ydiO8bhCA4ILY"]
Date: Sep 16, 2026
/home/byk/Code/opencode-lore-embedding-runtime/packages/core/src/embedding-worker.ts: line 47 documents that a native worker may post init-needs-wasm and that the default is to prefer native; line 136 defines isNativeOrtLoadError(msg: string): boolean; lines 184–185 explain that a model-parse failure can warrant an init-needs-wasm respawn and initialize usedNativeBinding = false; lines 233 and 239 post { type: "init-needs-wasm", error: msg } when !vendorModel && usedNativeBinding && isNativeOrtLoadError(msg); lines 272 and 285 contain another usedNativeBinding branch that posts the same message; lines 415–416 state that usedNativeBinding drives the ensurePipeline respawn decision for issue #1379 and set it via usedNativeBinding = !globals.__LORE_NPM_WASM_PATHS__.