agentdb 1.0.8 → 1.0.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.
- package/bin/agentdb.js +11 -6
- package/package.json +1 -1
package/bin/agentdb.js
CHANGED
|
@@ -444,16 +444,21 @@ function runBenchmark() {
|
|
|
444
444
|
process.exit(code);
|
|
445
445
|
});
|
|
446
446
|
} catch (tsError) {
|
|
447
|
-
console.error('❌ Benchmarks not available');
|
|
447
|
+
console.error('❌ Benchmarks not available in npm package');
|
|
448
448
|
console.error('');
|
|
449
|
-
console.error('To run benchmarks:');
|
|
450
|
-
console.error(' 1. Build the project: npm run build');
|
|
451
|
-
console.error(' 2. Run benchmarks: npx agentdb benchmark');
|
|
449
|
+
console.error('To run benchmarks, clone the source repository:');
|
|
452
450
|
console.error('');
|
|
453
|
-
console.error('
|
|
454
|
-
console.error('
|
|
451
|
+
console.error(' git clone https://github.com/ruvnet/agentic-flow.git');
|
|
452
|
+
console.error(' cd agentic-flow/packages/agentdb');
|
|
453
|
+
console.error(' npm install');
|
|
455
454
|
console.error(' npm run bench:comprehensive');
|
|
456
455
|
console.error('');
|
|
456
|
+
console.error('Or create a custom benchmark script:');
|
|
457
|
+
console.error('');
|
|
458
|
+
console.error(' const { SQLiteVectorDB } = require("agentdb");');
|
|
459
|
+
console.error(' const db = new SQLiteVectorDB({ memoryMode: true });');
|
|
460
|
+
console.error(' // Add your benchmark code here');
|
|
461
|
+
console.error('');
|
|
457
462
|
process.exit(1);
|
|
458
463
|
}
|
|
459
464
|
}
|
package/package.json
CHANGED