@claude-flow/cli 3.63.7 → 3.63.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"manifest": {
|
|
3
|
-
"version": "3.63.
|
|
3
|
+
"version": "3.63.8",
|
|
4
4
|
"files": {
|
|
5
5
|
"auto-memory-hook.mjs": "631fac9d518835e2852a406888316bbbddddb49e7ed8e406d2e971f46833df9a",
|
|
6
6
|
"hook-handler.cjs": "24502a3bcb78770971147940515c992e35b6736ae14ee2dc54e07d4cdef6a1d8",
|
|
@@ -9,6 +9,6 @@
|
|
|
9
9
|
"router.cjs": "16648b3c0d73b6681ac2d8d13def6a68286c57f5a11004de5b19a0fa088c833d"
|
|
10
10
|
}
|
|
11
11
|
},
|
|
12
|
-
"signature": "
|
|
12
|
+
"signature": "JK+zIFjygnatebKRMyFm2ciLXmHBilvvA9PIG1DZFfZPm1q3mj1atx11XIQTTQsf5xasnVTyb8O9wZMYwxaqAw==",
|
|
13
13
|
"algorithm": "ed25519"
|
|
14
14
|
}
|
package/catalog-manifest.json
CHANGED
|
@@ -2316,6 +2316,41 @@ export async function bridgeStorePattern(options) {
|
|
|
2316
2316
|
controller: 'reasoningBank',
|
|
2317
2317
|
};
|
|
2318
2318
|
}
|
|
2319
|
+
// The intelligence module's LocalReasoningBank (registered when agentdb's
|
|
2320
|
+
// own ReasoningBank is unavailable) has store()/findSimilar() but no
|
|
2321
|
+
// storePattern(). bridgeSearchPatterns reads it through findSimilar(), so
|
|
2322
|
+
// the write must land there too, with an embedding from the same
|
|
2323
|
+
// generateEmbedding() the search uses. Otherwise store and search split
|
|
2324
|
+
// across two backends and a stored pattern is never found.
|
|
2325
|
+
if (reasoningBank && typeof reasoningBank.store === 'function' && typeof reasoningBank.findSimilar === 'function') {
|
|
2326
|
+
let embedding = [];
|
|
2327
|
+
try {
|
|
2328
|
+
const { generateEmbedding } = await import('./memory-initializer.js');
|
|
2329
|
+
const emb = await generateEmbedding(options.pattern);
|
|
2330
|
+
if (emb && Array.isArray(emb.embedding))
|
|
2331
|
+
embedding = emb.embedding;
|
|
2332
|
+
}
|
|
2333
|
+
catch { /* no embedder — findSimilar misses it, the getAll() substring scan still finds it */ }
|
|
2334
|
+
// store() returns false when it merges into an existing pattern with the
|
|
2335
|
+
// same content; that is still a successful write.
|
|
2336
|
+
reasoningBank.store({
|
|
2337
|
+
id: patternId,
|
|
2338
|
+
type: options.type,
|
|
2339
|
+
content: options.pattern,
|
|
2340
|
+
confidence: options.confidence,
|
|
2341
|
+
embedding,
|
|
2342
|
+
metadata: options.metadata,
|
|
2343
|
+
});
|
|
2344
|
+
// Saves are debounced; a short-lived CLI process can exit first.
|
|
2345
|
+
if (typeof reasoningBank.flushToDisk === 'function')
|
|
2346
|
+
reasoningBank.flushToDisk();
|
|
2347
|
+
return {
|
|
2348
|
+
success: true,
|
|
2349
|
+
patternId,
|
|
2350
|
+
controller: 'reasoningBank',
|
|
2351
|
+
hasEmbedding: embedding.length > 0,
|
|
2352
|
+
};
|
|
2353
|
+
}
|
|
2319
2354
|
// Fallback: store via bridge SQL
|
|
2320
2355
|
const patternValue = JSON.stringify({ pattern: options.pattern, type: options.type, confidence: options.confidence, metadata: options.metadata });
|
|
2321
2356
|
const result = await bridgeStoreEntry({
|
|
@@ -2447,7 +2482,11 @@ export async function bridgeSearchPatterns(options) {
|
|
|
2447
2482
|
.slice(0, k)
|
|
2448
2483
|
.map((p) => ({ id: p.id ?? '', content: p.content ?? '', score: p.confidence ?? 0 }));
|
|
2449
2484
|
}
|
|
2450
|
-
|
|
2485
|
+
// Nothing in the bank: patterns written by the SQL fallback path (before
|
|
2486
|
+
// the bank was registered, or by a process without it) live in the
|
|
2487
|
+
// `pattern` namespace, so search that instead of returning empty.
|
|
2488
|
+
if (mapped.length > 0)
|
|
2489
|
+
return { results: mapped, controller: 'reasoningBank' };
|
|
2451
2490
|
}
|
|
2452
2491
|
// Fallback: search via bridge
|
|
2453
2492
|
const result = await bridgeSearchEntries({
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@claude-flow/cli",
|
|
3
|
-
"version": "3.63.
|
|
3
|
+
"version": "3.63.8",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Ruflo CLI - Enterprise AI agent orchestration with 60+ specialized agents, swarm coordination, MCP server, self-learning hooks, and vector memory for Claude Code",
|
|
6
6
|
"main": "dist/src/index.js",
|
|
@@ -127,12 +127,12 @@
|
|
|
127
127
|
"ws": "^8.21.0",
|
|
128
128
|
"yaml": "^2.8.0",
|
|
129
129
|
"zod": "^3.22.0",
|
|
130
|
-
"@claude-flow/memory": "3.0
|
|
130
|
+
"@claude-flow/memory": "3.1.0"
|
|
131
131
|
},
|
|
132
132
|
"optionalDependencies": {
|
|
133
133
|
"@agntcy/slim-bindings": "2.1.1",
|
|
134
134
|
"@claude-flow/aidefence": "3.0.2",
|
|
135
|
-
"@claude-flow/memory": "3.0
|
|
135
|
+
"@claude-flow/memory": "3.1.0",
|
|
136
136
|
"@metaharness/darwin": "~0.12.0",
|
|
137
137
|
"@metaharness/flywheel": "~0.1.10",
|
|
138
138
|
"@metaharness/radio": "~0.1.0",
|