agentdb 1.1.2 → 1.1.4

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.
@@ -64,7 +64,7 @@ class AgentDBCLI {
64
64
  }
65
65
  // Initialize embedding service
66
66
  this.embedder = new EmbeddingService({
67
- model: 'all-MiniLM-L6-v2',
67
+ model: 'Xenova/all-MiniLM-L6-v2',
68
68
  dimension: 384,
69
69
  provider: 'transformers'
70
70
  });
@@ -23,7 +23,7 @@ export class EmbeddingService {
23
23
  this.pipeline = await pipeline('feature-extraction', this.config.model);
24
24
  }
25
25
  catch (error) {
26
- console.warn('Transformers.js not available, falling back to mock embeddings');
26
+ // Silently fall back to mock embeddings (transformers.js is optional for basic CLI commands)
27
27
  this.pipeline = null;
28
28
  }
29
29
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agentdb",
3
- "version": "1.1.2",
3
+ "version": "1.1.4",
4
4
  "description": "AgentDB - Frontier Memory Features: Causal reasoning, reflexion memory, skill library, explainable recall, and automated learning for AI agents. 150x faster vector search with HNSW indexing.",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -57,7 +57,8 @@
57
57
  "dependencies": {
58
58
  "better-sqlite3": "^11.7.0",
59
59
  "commander": "^12.1.0",
60
- "chalk": "^5.3.0"
60
+ "chalk": "^5.3.0",
61
+ "@xenova/transformers": "^2.17.2"
61
62
  },
62
63
  "devDependencies": {
63
64
  "@types/better-sqlite3": "^7.6.11",