mirror of
https://github.com/ruvnet/ruflo.git
synced 2026-12-04 06:21:59 +09:00
* fix(memory): apply configured embedding model and dimension to AgentDB (#4984) The registry created AgentDB with only { dbPath }, so memory_store and memory_search kept using AgentDB's hardcoded MiniLM/384 embedder whatever .claude-flow/embeddings.json said. - registry: forward config.dimension as vectorDimension; install a supplied embeddingGenerator in place on agentdb.embedder (awaited in init) and reject vectors whose length differs from config.dimension - cli bridge: pass a local-chain generator (real ONNX only, no bridge re-entry) when the effective model is not the default - cli bridge: label rows by the embedder that produced the vector instead of inferring the model from vector length Needs a standalone @claude-flow/memory publish to reach users. Co-Authored-By: RuFlo <ruv@ruv.net> * chore(memory): release @claude-flow/memory 3.3.3 and pin it in the CLI (#4984) Co-Authored-By: RuFlo <ruv@ruv.net> --------- Co-authored-by: r <r@x>
73 lines
2.1 KiB
JSON
73 lines
2.1 KiB
JSON
{
|
|
"name": "@claude-flow/memory",
|
|
"version": "3.3.3",
|
|
"type": "module",
|
|
"description": "Memory module - AgentDB unification, HNSW indexing, vector search, hybrid SQLite+AgentDB backend (ADR-009)",
|
|
"homepage": "https://ruv.io",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/ruvnet/ruflo.git",
|
|
"directory": "v3/@claude-flow/memory"
|
|
},
|
|
"bugs": {
|
|
"url": "https://github.com/ruvnet/ruflo/issues"
|
|
},
|
|
"keywords": [
|
|
"agent-memory",
|
|
"vector-search",
|
|
"vector-database",
|
|
"hnsw",
|
|
"semantic-search",
|
|
"embeddings",
|
|
"agentdb",
|
|
"sqlite",
|
|
"ai-agents",
|
|
"claude-flow",
|
|
"ruflo",
|
|
"typescript"
|
|
],
|
|
"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.10.0",
|
|
"sql.js": "^1.10.3"
|
|
},
|
|
"optionalDependencies": {
|
|
"better-sqlite3": "^12.9.0",
|
|
"@ruvnet/sublinear-core": "^1.0.1"
|
|
},
|
|
"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"
|
|
]
|
|
}
|