claude-flow 3.7.0-alpha.41 → 3.7.0-alpha.42

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "claude-flow",
3
- "version": "3.7.0-alpha.41",
3
+ "version": "3.7.0-alpha.42",
4
4
  "description": "Ruflo - Enterprise AI agent orchestration for Claude Code. Deploy 60+ specialized agents in coordinated swarms with self-learning, fault-tolerant consensus, vector memory, and MCP integration",
5
5
  "main": "dist/index.js",
6
6
  "type": "module",
@@ -99,12 +99,18 @@ export const browserSessionTools = [
99
99
  const dir = input.rvf_dir ?? (await ensureSessionsDir());
100
100
  const rvfPath = path.join(dir, `${sessionId}.rvf`);
101
101
  // 1. RVF allocate.
102
- // Issue #2015: ruvector@0.2.25 requires `-d, --dimension <n>` for
103
- // `rvf create`. Without it the command exits non-zero and the
104
- // tool returned `{ success: false, error: "rvf create failed" }`
105
- // for every invocation. 384 matches the MiniLM-L6 default used by
106
- // the rest of the toolchain (ONNX embedder + AgentDB indexes).
107
- const rvf = await shell('npx', ['-y', RUVECTOR_PIN, 'rvf', 'create', rvfPath, '--kind', 'browser-session', '--dimension', '384'], { timeout: 60000 });
102
+ // Issue #2015: ruvector@0.2.25's `rvf create` accepts only
103
+ // `-d/--dimension <n>` (required) and `-m/--metric <metric>`.
104
+ // The wrapper previously passed `--kind browser-session` and
105
+ // omitted `--dimension`, so commander hit the required-option
106
+ // check first and the wrapper returned `rvf create failed` for
107
+ // every call. The second round of the fix strips the bogus
108
+ // `--kind` flag — when round 1 only added `--dimension`, the
109
+ // next call surfaced `error: unknown option '--kind'`.
110
+ //
111
+ // 384 matches the MiniLM-L6 default used elsewhere in the
112
+ // toolchain (ONNX embedder + AgentDB vector indexes).
113
+ const rvf = await shell('npx', ['-y', RUVECTOR_PIN, 'rvf', 'create', rvfPath, '--dimension', '384'], { timeout: 60000 });
108
114
  if (!rvf.success)
109
115
  return fail('rvf create failed', { detail: rvf.error, stderr: rvf.stderr, sessionId, rvfPath });
110
116
  // 2. trajectory-begin
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@claude-flow/cli",
3
- "version": "3.7.0-alpha.41",
3
+ "version": "3.7.0-alpha.42",
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",