rag-memory-epf-mcp 3.1.4 → 3.1.5

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.
Files changed (2) hide show
  1. package/dist/index.js +4 -12
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -83,18 +83,10 @@ class RAGKnowledgeGraphManager {
83
83
  console.error(`✅ ${EMBEDDING_MODEL} model loaded successfully (fp16)`);
84
84
  }
85
85
  catch (error) {
86
- console.error('❌ Failed to load embedding model (fp16):', error instanceof Error ? error.message : error);
87
- const FALLBACK_MODEL = 'Xenova/all-MiniLM-L6-v2';
88
- console.error(`🔄 Falling back to ${FALLBACK_MODEL}...`);
89
- try {
90
- this.embeddingModel = await pipeline('feature-extraction', FALLBACK_MODEL, { revision: 'main' });
91
- this.modelInitialized = true;
92
- console.error(`✅ ${FALLBACK_MODEL} loaded (fallback — 384-dim, English-focused)`);
93
- }
94
- catch (retryError) {
95
- console.error('❌ All embedding models failed to load. Search will not work.', retryError instanceof Error ? retryError.message : retryError);
96
- this.modelInitialized = false;
97
- }
86
+ console.error('❌ Failed to load embedding model:', error instanceof Error ? error.message : error);
87
+ console.error('⚠️ Semantic search will be unavailable. Other tools (CRUD, graph queries) still work.');
88
+ console.error('💡 Fix: Ensure ONNX model cache is accessible. Try: rm -rf ~/.npm/_onnx_models && restart.');
89
+ this.modelInitialized = false;
98
90
  }
99
91
  }
100
92
  async runMigrations() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rag-memory-epf-mcp",
3
- "version": "3.1.4",
3
+ "version": "3.1.5",
4
4
  "description": "MCP server for project-local RAG memory with knowledge graph and multilingual vector search",
5
5
  "license": "MIT",
6
6
  "author": "bripin123",