Files
ruflo/v3/@claude-flow/memory/package.json
T
rUvandr 49adc540a0 fix(memory): report the original AgentDB open failure; memory_list reports failed queries (#4622); release 3.66.1 (#4623)
- ControllerRegistry keeps the first backend failure AgentDB logs (e.g. a
  native vector store locked by another process) instead of only the last
  fallback's format rejection, exposed as getAgentDBInitError(), with the
  single-owner HTTP remedy. @claude-flow/memory 3.2.0.
- The CLI bridge records that reason, so the sql.js fallback's refusal names
  it, and isBridgeAvailable() is false when AgentDB did not open.
- memory_list returns success:false with the error on a failed query instead
  of an empty inventory.
- Release 3.66.1 with plugin-agent-federation 1.0.4 (#4619 trust thresholds).

Co-authored-by: r <r@x>
2026-10-31 11:17:37 -04:00

49 lines
1.6 KiB
JSON

{
"name": "@claude-flow/memory",
"version": "3.2.0",
"type": "module",
"description": "Memory module - AgentDB unification, HNSW indexing, vector search, hybrid SQLite+AgentDB backend (ADR-009)",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"exports": {
".": "./dist/index.js",
"./*": "./dist/*.js"
},
"scripts": {
"test": "vitest run",
"bench": "vitest bench --config vitest.bench.config.ts",
"build": "tsc",
"prebuild": "rm -rf dist tsconfig.tsbuildinfo",
"prepublishOnly": "npm run build && node -e \"const m = await import('./dist/index.js'); const required = ['ControllerRegistry','MemoryService','UnifiedMemoryService','PersistentSonaCoordinator','RvfLearningStore','RvfMigrator']; const missing = required.filter(k => !m[k]); if (missing.length) { console.error('Missing exports:', missing); process.exit(1); } const forbidden = ['HnswLite','RvfBackend']; const leaks = forbidden.filter(k => k in m); if (leaks.length) { console.error('Forbidden public exports present (ADR-125):', leaks); process.exit(1); } console.log('All required exports present; ADR-125 surface clean');\""
},
"dependencies": {
"@claude-flow/security": "^3.0.0",
"agentdb": "^3.0.0-alpha.20",
"sql.js": "^1.10.3"
},
"optionalDependencies": {
"better-sqlite3": "^12.9.0"
},
"devDependencies": {
"@types/better-sqlite3": "^7.6.11",
"@types/sql.js": "^1.4.9",
"vitest": "^4.1.0"
},
"files": [
"dist",
"README.md"
],
"publishConfig": {
"access": "public"
},
"os": [
"darwin",
"linux",
"win32"
],
"cpu": [
"x64",
"arm64"
]
}