Investigated persistent transformer 'Failed to fetch' after merge. Root cause identified: extension package does not include ORT wasm binary, so forcing local wasm path breaks ONNX init. Updated transformer runtime resolution to use Hugging Face-hosted ORT wasm base URL (runtime/onnxruntime-web first, vendor/onnxruntime-web fallback), persisted per downloaded run, and reused during cached run inference. Added richer transformer fetch/session error messages with label+URL and wasmPaths context to expose the exact failing asset instead of generic TypeError. Rebuilt generated JS, format/type checks pass; transformer smoke Playwright spec remains skipped in this headless/no-DISPLAY environment.
0 commit comments