Files
tasq/node_modules/@claude-flow/memory/node_modules/agentdb/package.json
T
2026-04-09 19:01:53 +08:00

176 lines
7.3 KiB
JSON

{
"name": "agentdb",
"version": "3.0.0-alpha.11",
"description": "AgentDB v3 - Intelligent agentic vector database with RVF native format, RuVector-powered graph DB, Cypher queries, ACID persistence. 150x faster than SQLite with self-learning GNN, 6 cognitive memory patterns, semantic routing, COW branching, sparse/partitioned/fused attention (10-100x speedup), and comprehensive MCP integration. Runs anywhere: Node.js, browsers, edge, offline.",
"type": "module",
"main": "dist/src/index.js",
"types": "dist/src/index.d.ts",
"bin": {
"agentdb": "dist/src/cli/agentdb-cli.js"
},
"exports": {
".": {
"types": "./dist/src/index.d.ts",
"import": "./dist/src/index.js",
"default": "./dist/src/index.js"
},
"./wasm": "./dist/src/wasm-loader.js",
"./package.json": "./package.json",
"./cli": "./dist/src/cli/agentdb-cli.js",
"./cli/commands/migrate": "./dist/src/cli/commands/migrate.js",
"./db-fallback": "./dist/src/db-fallback.js",
"./backends": "./dist/src/backends/index.js",
"./backends/self-learning": "./dist/src/backends/rvf/SelfLearningRvfBackend.js",
"./backends/native-accelerator": "./dist/src/backends/rvf/NativeAccelerator.js",
"./security": "./dist/src/security/input-validation.js",
"./wrappers": "./dist/src/wrappers/index.js",
"./wrappers/gnn": "./dist/src/wrappers/gnn-wrapper.js",
"./wrappers/agentdb-fast": "./dist/src/wrappers/agentdb-fast.js",
"./wrappers/attention": "./dist/src/wrappers/attention-fallbacks.js",
"./wrappers/embedding": "./dist/src/wrappers/embedding-service.js",
"./controllers": "./dist/src/controllers/index.js",
"./controllers/CausalMemoryGraph": "./dist/src/controllers/CausalMemoryGraph.js",
"./controllers/CausalRecall": "./dist/src/controllers/CausalRecall.js",
"./controllers/ExplainableRecall": "./dist/src/controllers/ExplainableRecall.js",
"./controllers/NightlyLearner": "./dist/src/controllers/NightlyLearner.js",
"./controllers/ReflexionMemory": "./dist/src/controllers/ReflexionMemory.js",
"./controllers/SkillLibrary": "./dist/src/controllers/SkillLibrary.js",
"./controllers/EmbeddingService": "./dist/src/controllers/EmbeddingService.js",
"./controllers/WASMVectorSearch": "./dist/src/controllers/WASMVectorSearch.js",
"./controllers/EnhancedEmbeddingService": "./dist/src/controllers/EnhancedEmbeddingService.js",
"./controllers/MMRDiversityRanker": "./dist/src/controllers/MMRDiversityRanker.js",
"./controllers/ContextSynthesizer": "./dist/src/controllers/ContextSynthesizer.js",
"./controllers/MetadataFilter": "./dist/src/controllers/MetadataFilter.js",
"./controllers/QUICServer": "./dist/src/controllers/QUICServer.js",
"./controllers/QUICClient": "./dist/src/controllers/QUICClient.js",
"./controllers/SyncCoordinator": "./dist/src/controllers/SyncCoordinator.js",
"./controllers/HNSWIndex": "./dist/src/controllers/HNSWIndex.js",
"./controllers/AttentionService": "./dist/src/controllers/AttentionService.js",
"./controllers/SparsificationService": "./dist/src/controllers/SparsificationService.js",
"./controllers/MincutService": "./dist/src/controllers/MincutService.js",
"./services/federated-learning": "./dist/src/services/federated-learning.js",
"./model": "./dist/src/model/ModelCacheLoader.js"
},
"scripts": {
"build": "npm run build:ts && npm run copy:schemas && npm run build:browser",
"build:ts": "tsc",
"copy:schemas": "mkdir -p dist/schemas && cp src/schemas/*.sql dist/schemas/",
"build:browser": "node scripts/build-browser.js && node scripts/build-browser-v2.js",
"build:edge": "node scripts/build-browser.config.js",
"build:napi": "bash scripts/optimize-napi.sh",
"build:wasm": "bash scripts/optimize-wasm.sh",
"build:optimized": "npm run build:napi && npm run build:wasm && npm run build",
"postinstall": "node scripts/postinstall.cjs || true",
"dev": "tsx src/cli/agentdb-cli.ts",
"test": "vitest",
"test:unit": "vitest --run",
"test:browser": "vitest browser-bundle-unit.test.js --run",
"test:ci": "npm run test:browser && npm run build && npm run verify:bundle",
"verify:bundle": "node scripts/verify-bundle.js",
"cli": "node dist/src/cli/agentdb-cli.js",
"docker:test": "docker build -f docs/SQLITE-FIX-DOCKER-TEST.Dockerfile -t agentdb-test . && docker run --rm agentdb-test",
"benchmark": "tsx benchmarks/simple-benchmark.ts",
"benchmark:full": "tsx benchmarks/benchmark-runner.ts",
"benchmark:build": "cd benchmarks && tsc",
"benchmark:attention": "tsx benchmarks/attention-performance.ts",
"benchmark:backends": "tsx benchmarks/compare-backends.ts",
"benchmark:profile": "tsx scripts/profile-hot-paths.ts",
"benchmark:ruvector": "tsx benchmarks/ruvector-benchmark.ts",
"benchmark:adr072": "vitest run tests/benchmarks/adr-072-phase1-benchmark.test.ts --reporter=verbose",
"benchmark:adr072:fast": "vitest run tests/benchmarks/validate-adr072.test.ts",
"benchmark:all": "npm run benchmark:attention && npm run benchmark:backends && npm run benchmark:profile && npm run benchmark:ruvector",
"build:model": "node scripts/build-model-rvf.mjs"
},
"keywords": [
"agentdb",
"vector-database",
"ai-agents",
"memory",
"causal-reasoning",
"reflexion",
"episodic-memory",
"skill-library",
"lifelong-learning",
"explainable-ai",
"provenance",
"hnsw",
"embeddings",
"sqlite",
"sql.js",
"wasm"
],
"author": "ruv",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/ruvnet/agentic-flow.git",
"directory": "packages/agentdb"
},
"bugs": {
"url": "https://github.com/ruvnet/agentic-flow/issues"
},
"homepage": "https://agentdb.ruv.io",
"dependencies": {
"@modelcontextprotocol/sdk": "^1.20.1",
"@opentelemetry/api": "^1.9.0",
"@ruvector/graph-transformer": "^2.0.4",
"ajv": "^8.18.0",
"jsonwebtoken": "^9.0.2",
"sql.js": "^1.13.0"
},
"devDependencies": {
"@playwright/test": "^1.58.2",
"@types/jsonwebtoken": "^9.0.10",
"@types/node": "^22.10.2",
"@types/uuid": "^11.0.0",
"dotenv": "^16.4.7",
"esbuild": "^0.25.11",
"http-server": "^14.1.1",
"playwright": "^1.58.2",
"tsx": "^4.19.2",
"typescript": "^5.7.2",
"vitest": "^4.0.15"
},
"engines": {
"node": ">=18.0.0"
},
"files": [
"dist/src/",
"dist/schemas/",
"dist/models/",
"scripts/postinstall.cjs",
"README.md",
"LICENSE"
],
"optionalDependencies": {
"@opentelemetry/resources": "^1.25.0",
"@opentelemetry/sdk-node": "^0.52.0",
"@opentelemetry/semantic-conventions": "^1.25.0",
"@ruvector/attention": "^0.1.2",
"@ruvector/gnn": "^0.1.23",
"@ruvector/graph-node": "^2.0.2",
"@ruvector/router": "^0.1.15",
"@ruvector/ruvllm": "^2.5.1",
"@ruvector/rvf": "^0.1.9",
"@ruvector/rvf-node": "^0.1.7",
"@ruvector/rvf-solver": "^0.1.7",
"@ruvector/rvf-wasm": "^0.1.6",
"@ruvector/sona": "^0.1.4",
"@xenova/transformers": "^2.17.2",
"argon2": "^0.44.0",
"better-sqlite3": "^11.8.1",
"chalk": "^5.3.0",
"commander": "^12.1.0",
"hnswlib-node": "^3.0.0",
"inquirer": "^9.3.8",
"ruvector": "^0.1.30",
"ruvector-attention-wasm": "^0.1.32",
"ruvector-graph-transformer-wasm": "^2.0.4"
},
"overrides": {
"@xenova/transformers": {
"sharp": "^0.33.0"
}
}
}