{"record":{"id":"ee8d0b49997da559","repo":"ruvnet/ruflo","slug":"embeddings-agentic-flow-neural-extras-unavailabl","errorCode":null,"errorMessage":"[embeddings] agentic-flow neural extras unavailable — skipping eager model download. Models will be fetched lazily by @xenova/transformers on first generate. Reason: ${msg}","messagePattern":"\\[embeddings\\] agentic-flow neural extras unavailable — skipping eager model download\\. Models will be fetched lazily by @xenova/transformers on first generate\\. Reason: (.+?)","errorType":"console","errorClass":null,"httpStatus":null,"severity":"error","filePath":"v3/@claude-flow/embeddings/src/neural-integration.ts","lineNumber":333,"sourceCode":"    return await (downloadFn as (id: string, dir: string, cb?: typeof onProgress) => Promise<string>)(\n      modelId, targetDir ?? '.models', onProgress\n    );\n  } catch (err) {\n    const msg = err instanceof Error ? err.message : String(err);\n    // Distinguish \"package missing\" / \"subpath unsupported\" from real\n    // download errors so callers can surface the right hint to users.\n    // #1468: Windows + Node strict-ESM raises\n    //   `Package subpath './embeddings' is not defined by \"exports\"`\n    // when the bundled agentic-flow's package.json doesn't declare the\n    // ./embeddings entry. WSL/Linux is more permissive on the same code,\n    // so the bug only surfaces on Windows. Treat both shapes as\n    // \"agentic-flow neural extras unavailable, fall back to lazy fetch\".\n    if (\n      /Cannot find package 'agentic-flow'|Cannot find module/.test(msg)\n      || /Package subpath ['\"]\\.\\/embeddings['\"] is not defined/.test(msg)\n      || /ERR_PACKAGE_PATH_NOT_EXPORTED/.test(msg)\n    ) {\n      console.warn('[embeddings] agentic-flow neural extras unavailable — skipping eager model download. ' +\n        'Models will be fetched lazily by @xenova/transformers on first generate. ' +\n        `Reason: ${msg}`);\n      return targetDir ?? '.models';\n    }\n    throw err;\n  }\n}\n","sourceCodeStart":315,"sourceCodeEnd":341,"githubUrl":"https://github.com/ruvnet/ruflo/blob/fa13ee4ad60ac2090b1480656eb233521790d640/v3/@claude-flow/embeddings/src/neural-integration.ts#L315-L341","documentation":"Error \"[embeddings] agentic-flow neural extras unavailable — skipping eager model download. Models will be fetched lazily by @xenova/transformers on first generate. Reason: ${msg}\" thrown in ruvnet/ruflo.","triggerScenarios":"Thrown at v3/@claude-flow/embeddings/src/neural-integration.ts:333 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["No action needed; models are fetched lazily on first generate. Install agentic-flow neural extras to enable eager download."],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"fa13ee4ad60ac2090b1480656eb233521790d640","analyzedAt":"2026-08-18T21:34:22.708Z","contentChangedAt":"2026-08-18T21:34:22.708Z","schemaVersion":2},"datasetVersion":"2026-09-14T05:17:10.506Z"}