agentdb 1.1.1 → 1.1.2

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.
@@ -18,6 +18,11 @@ import { SkillLibrary } from '../controllers/SkillLibrary.js';
18
18
  import { EmbeddingService } from '../controllers/EmbeddingService.js';
19
19
  import * as fs from 'fs';
20
20
  import * as path from 'path';
21
+ import { fileURLToPath } from 'url';
22
+
23
+ // ESM equivalent of __dirname
24
+ const __filename = fileURLToPath(import.meta.url);
25
+ const __dirname = path.dirname(__filename);
21
26
  // Color codes for terminal output
22
27
  const colors = {
23
28
  reset: '\x1b[0m',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agentdb",
3
- "version": "1.1.1",
3
+ "version": "1.1.2",
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",