@claude-flow/cli 3.39.0 → 3.39.2
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.
- package/.claude/helpers/helpers.manifest.json +2 -2
- package/catalog-manifest.json +2 -2
- package/dist/src/log-filters.d.ts +3 -3
- package/dist/src/mcp-tools/memory-tools.js +19 -1
- package/dist/src/memory/memory-initializer.js +11 -1
- package/node_modules/@claude-flow/codex/dist/cli.js +0 -0
- package/node_modules/@claude-flow/plugin-agent-federation/dist/bin.js +0 -0
- package/package.json +2 -2
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"manifest": {
|
|
3
|
-
"version": "3.39.
|
|
3
|
+
"version": "3.39.2",
|
|
4
4
|
"files": {
|
|
5
5
|
"auto-memory-hook.mjs": "85fe05c757421c52137c0bc8545a0896bab6b4714538c2a11d1d0835bfcc8c1c",
|
|
6
6
|
"hook-handler.cjs": "209d9fafe10e17d1be0866727f6f9cf9ac66f9a0793f1c793a4f58319e8e4583",
|
|
@@ -8,6 +8,6 @@
|
|
|
8
8
|
"statusline.cjs": "4a48353b4f1566fa4379b00fd0321b6676a22b6cc91fbbd8380ac5183d619468"
|
|
9
9
|
}
|
|
10
10
|
},
|
|
11
|
-
"signature": "
|
|
11
|
+
"signature": "k7dMs07mB2+Adq7BXfz0YD7oLqfFaFIptNwCrAzvwFlphXj9BYWLEDj55lNTnVxnhK+WsDU85A5e2OR7f4xkAQ==",
|
|
12
12
|
"algorithm": "ed25519"
|
|
13
13
|
}
|
package/catalog-manifest.json
CHANGED
|
@@ -40,7 +40,7 @@ declare const STDERR_REDIRECT_PREFIXES: string[];
|
|
|
40
40
|
declare const AGENTDB_MOCK_FALLBACK_DROP_PREFIXES: string[];
|
|
41
41
|
declare const shouldRedirectToStderr: (msg: unknown) => boolean;
|
|
42
42
|
declare const isAgentdbMockFallbackNoise: (msg: unknown) => boolean;
|
|
43
|
-
declare const origWarn: (
|
|
44
|
-
declare const origLog: (
|
|
45
|
-
declare const origError: (
|
|
43
|
+
declare const origWarn: (...data: any[]) => void;
|
|
44
|
+
declare const origLog: (...data: any[]) => void;
|
|
45
|
+
declare const origError: (...data: any[]) => void;
|
|
46
46
|
//# sourceMappingURL=log-filters.d.ts.map
|
|
@@ -214,7 +214,25 @@ async function describeBackend() {
|
|
|
214
214
|
try {
|
|
215
215
|
const { getHNSWStatus } = await import('../memory/memory-initializer.js');
|
|
216
216
|
const status = getHNSWStatus();
|
|
217
|
-
|
|
217
|
+
if (status.algorithm !== 'hnsw')
|
|
218
|
+
return 'sqlite (bridge, brute-force cosine)';
|
|
219
|
+
// #3228: with the native bridge gated off (the Windows default since
|
|
220
|
+
// 3.38.12), memory tools silently fall back to the sql.js store rather
|
|
221
|
+
// than the AgentDB corpus the bridge would have opened. A bare
|
|
222
|
+
// "sql.js + HNSW" hides that substitution — an upgrade can change which
|
|
223
|
+
// file receives writes while store/retrieve smoke tests still pass,
|
|
224
|
+
// because both operations use the same unintended file. Name the gate.
|
|
225
|
+
try {
|
|
226
|
+
const { shouldDisableNativeBridge, getBridgeFailureReason } = await import('../memory/memory-bridge.js');
|
|
227
|
+
if (shouldDisableNativeBridge()) {
|
|
228
|
+
const reason = getBridgeFailureReason();
|
|
229
|
+
return `sql.js + HNSW (native bridge disabled${reason ? `: ${reason}` : ''})`;
|
|
230
|
+
}
|
|
231
|
+
}
|
|
232
|
+
catch {
|
|
233
|
+
// bridge module unavailable — the plain sql.js label is already accurate
|
|
234
|
+
}
|
|
235
|
+
return 'sql.js + HNSW';
|
|
218
236
|
}
|
|
219
237
|
catch {
|
|
220
238
|
return 'sqlite';
|
|
@@ -836,7 +836,17 @@ export function getHNSWStatus() {
|
|
|
836
836
|
// name promises — that's false while the bridge is the active path, so
|
|
837
837
|
// this no longer claims otherwise. Vector search itself still works via
|
|
838
838
|
// the bridge; `algorithm` tells callers it's brute-force, not HNSW.
|
|
839
|
-
|
|
839
|
+
//
|
|
840
|
+
// #3228: this branch previously tested only that the bridge MODULE was
|
|
841
|
+
// loaded. On Windows the module imports fine but `getRegistry()` returns
|
|
842
|
+
// null behind the #3024 kill-switch, so every read/write actually goes to
|
|
843
|
+
// the sql.js store while this function still reported the bridge as the
|
|
844
|
+
// active path — `describeBackend()` then printed "sqlite (bridge, ...)"
|
|
845
|
+
// for a store the bridge never touched. Gate on whether the bridge is
|
|
846
|
+
// *permitted to be* the active path, not on whether the module resolved.
|
|
847
|
+
// `shouldDisableNativeBridge()` is sync and a pure function of platform +
|
|
848
|
+
// env, so it is a faithful discriminator here and needs no warm registry.
|
|
849
|
+
if (_bridge && _bridge !== null && !_bridge.shouldDisableNativeBridge()) {
|
|
840
850
|
return {
|
|
841
851
|
available: false,
|
|
842
852
|
initialized: false,
|
|
File without changes
|
|
File without changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@claude-flow/cli",
|
|
3
|
-
"version": "3.39.
|
|
3
|
+
"version": "3.39.2",
|
|
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",
|
|
@@ -115,7 +115,7 @@
|
|
|
115
115
|
"cors": "^2.8.5",
|
|
116
116
|
"express": ">=4.22.2",
|
|
117
117
|
"express-rate-limit": ">=8.4.1",
|
|
118
|
-
"fast-uri": "3.1.
|
|
118
|
+
"fast-uri": "^3.1.6",
|
|
119
119
|
"fs-extra": "^11.2.0",
|
|
120
120
|
"helmet": "^7.2.0",
|
|
121
121
|
"inquirer": "^9.2.0",
|