agentic-flow 1.8.8 → 1.8.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -24,6 +24,16 @@ async function initializeEmbeddings() {
|
|
|
24
24
|
}
|
|
25
25
|
return;
|
|
26
26
|
}
|
|
27
|
+
// Detect npx environment (known transformer initialization issues)
|
|
28
|
+
const isNpxEnv = process.env.npm_config_user_agent?.includes('npx') ||
|
|
29
|
+
process.cwd().includes('/_npx/') ||
|
|
30
|
+
process.cwd().includes('\\_npx\\');
|
|
31
|
+
if (isNpxEnv && !process.env.FORCE_TRANSFORMERS) {
|
|
32
|
+
console.log('[Embeddings] NPX environment detected - using hash-based embeddings');
|
|
33
|
+
console.log('[Embeddings] For semantic search, install globally: npm install -g claude-flow');
|
|
34
|
+
isInitializing = false;
|
|
35
|
+
return;
|
|
36
|
+
}
|
|
27
37
|
isInitializing = true;
|
|
28
38
|
console.log('[Embeddings] Initializing local embedding model (Xenova/all-MiniLM-L6-v2)...');
|
|
29
39
|
console.log('[Embeddings] First run will download ~23MB model...');
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "agentic-flow",
|
|
3
|
-
"version": "1.8.
|
|
3
|
+
"version": "1.8.9",
|
|
4
4
|
"description": "Production-ready AI agent orchestration platform with 66 specialized agents, 213 MCP tools, ReasoningBank learning memory, and autonomous multi-agent swarms. Built by @ruvnet with Claude Agent SDK, neural networks, memory persistence, GitHub integration, and distributed consensus protocols.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|