Files
ruflo/v3/@claude-flow/memory/package.json
T
rUvandr 462c573cb7 fix(memory): wire real AgentDB HNSWIndex with safe fallback (#4249) (#4322)
* fix(memory): adapt real AgentDB HNSWIndex with safe fallback

Verify actual native search, mutation lifecycle, concurrency and exact fallback.
Include source-bound regression and bounded benchmark evidence for #4249.
No persistence or package-release claim.

* fix(memory): preserve expiry and vector ownership across native search

Keep TTL-bearing semantic queries exact and detach stored/returned vectors.
Snapshot query vectors before awaits. Add three real-native regressions and
refresh the verification receipt: 645 tests pass; disclose transient timing miss.

* fix(memory): bump @claude-flow/memory to 3.0.8 for the real HNSW adapter

#4249's leaf-package-publish audit correctly flagged that
agentdb-backend.ts/agentdb-hnsw-adapter.ts changed source but the
package version was still 3.0.7. Bumps the leaf, the CLI's exact pin,
and the pnpm-lock.yaml specifier together so the fix actually ships.

Co-Authored-By: RuFlo <ruv@ruv.net>

---------

Co-authored-by: r <r@x>
2026-10-20 09:39:40 -04:00

49 lines
1.6 KiB
JSON

{
"name": "@claude-flow/memory",
"version": "3.0.8",
"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"
]
}