🌊 The original agent harness. Deploy intelligent multi-player swarms, coordinate autonomous workflows, and build conversational AI systems. Features adaptive memory, self-learning intelligence, federation, vector RAG integration, and native Claude Code / Codex / Hermes and many more Integrated
TypeScript agentic-aiagentic-frameworkagentic-workflowagentsai-agentsai-assistantai-skillsautonomous-agentsclaudecodexdsh-pluginharnessmcp-servermulti-agentmulti-agent-systemsnpmskillsswarmswarm-intelligencetypescript
fix(@claude-flow/[email protected]): Windows ERR_PACKAGE_PATH_NOT_EXPORTED
Reuvenea8cbf697b6f
diff --git a/v3/@claude-flow/embeddings/package.json b/v3/@claude-flow/embeddings/package.jsonindex 9f2826c6ea..8ce0866e0d 100644--- a/v3/@claude-flow/embeddings/package.json+++ b/v3/@claude-flow/embeddings/package.json@@ -1,6 +1,6 @@{"name": "@claude-flow/embeddings",- "version": "3.0.0-alpha.15",+ "version": "3.0.0-alpha.16","description": "V3 Embedding Service - OpenAI, Transformers.js, Agentic-Flow (ONNX), Mock providers with hyperbolic embeddings, normalization, and chunking","type": "module","main": "./dist/index.js",diff --git a/v3/@claude-flow/embeddings/src/neural-integration.ts b/v3/@claude-flow/embeddings/src/neural-integration.tsindex 7493432fd2..7abd891cc9 100644--- a/v3/@claude-flow/embeddings/src/neural-integration.ts+++ b/v3/@claude-flow/embeddings/src/neural-integration.ts@@ -317,12 +317,22 @@ export async function downloadEmbeddingModel();} catch (err) {const msg = err instanceof Error ? err.message : String(err);- // Distinguish "package missing" from real download errors so callers- // can surface the right hint to users.- if (/Cannot find package 'agentic-flow'|Cannot find module/.test(msg)) {- console.warn('[embeddings] agentic-flow not installed — skipping eager model download. ' ++ // Distinguish "package missing" / "subpath unsupported" from real+ // download errors so callers can surface the right hint to users.+ // #1468: Windows + Node strict-ESM raises+ // `Package subpath './embeddings' is not defined by "exports"`+ // when the bundled agentic-flow's package.json doesn't declare the+ // ./embeddings entry. WSL/Linux is more permissive on the same code,+ // so the bug only surfaces on Windows. Treat both shapes as+ // "agentic-flow neural extras unavailable, fall back to lazy fetch".+ if (+ /Cannot find package 'agentic-flow'|Cannot find module/.test(msg)+ || /Package subpath ['"]\.\/embeddings['"] is not defined/.test(msg)+ || /ERR_PACKAGE_PATH_NOT_EXPORTED/.test(msg)+ ) {+ console.warn('[embeddings] agentic-flow neural extras unavailable — skipping eager model download. ' +'Models will be fetched lazily by @xenova/transformers on first generate. ' +- 'For pre-downloaded models, run: npm install agentic-flow');+ `Reason: ${msg}`);return targetDir ?? '.models';}throw err;