Files
ruflo/v3/@claude-flow/memory/package.json
T
rUvandReuven 0752e5963c fix: remove simulations, real embeddings, honest metrics v3.5.53
- #1514: Remove fabricated token savings (hardcoded +=100 per cache hit,
  baseline=1000). getOptimalConfig() now scales with agentCount.
  neural_train stores real embedding patterns via generateEmbedding().
  neural_predict uses cosine similarity against stored patterns (no
  hardcoded labels). Returns empty array when no patterns exist.
  verifySignature() confirmed already real (HMAC + timingSafeEqual).

- #1516: All embedding model defaults prefixed with Xenova/ so
  @xenova/transformers resolves correctly. ControllerRegistry now
  passes embeddingModel to AgentDB constructor.

- #1521: @claude-flow/memory bumped to 3.0.0-alpha.13, better-sqlite3
  moved from optionalDependencies to dependencies.

- #1526: hook-handler normalizes snake_case tool_input/tool_name from
  Claude Code. intelligence.cjs scoped to current project only
  (was scanning all 51+ project dirs).

- ADR-073: Documents stub tool honesty policy and real predictions.

Closes #1514, #1516, #1521, #1526

Co-authored-by: Reuven <cohen@ruv-mac-mini.local>
2026-04-06 12:02:48 -04:00

47 lines
1.3 KiB
JSON

{
"name": "@claude-flow/memory",
"version": "3.0.0-alpha.13",
"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",
"build": "tsc",
"prebuild": "rm -rf dist",
"prepublishOnly": "npm run build && node -e \"const m = await import('./dist/index.js'); const required = ['ControllerRegistry','HnswLite','PersistentSonaCoordinator','RvfBackend','RvfLearningStore','RvfMigrator']; const missing = required.filter(k => !m[k]); if (missing.length) { console.error('Missing exports:', missing); process.exit(1); } console.log('All required exports present');\""
},
"dependencies": {
"agentdb": "^3.0.0-alpha.10",
"better-sqlite3": "^11.0.0",
"sql.js": "^1.10.3"
},
"devDependencies": {
"@types/better-sqlite3": "^7.6.11",
"@types/sql.js": "^1.4.9",
"vitest": "^4.0.16"
},
"files": [
"dist",
"README.md"
],
"publishConfig": {
"access": "public",
"tag": "v3alpha"
},
"os": [
"darwin",
"linux",
"win32"
],
"cpu": [
"x64",
"arm64"
]
}