claude-flow 3.62.0 → 3.63.1

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.
Files changed (46) hide show
  1. package/.claude/.proven-config-version +1 -0
  2. package/.claude/helpers/.helpers-version +1 -0
  3. package/.claude/helpers/helpers.manifest.json +13 -0
  4. package/.claude/proven-config.json +42 -0
  5. package/.claude/settings.local.json +8 -0
  6. package/.claude-plugin/marketplace.json +3 -3
  7. package/README.md +2 -2
  8. package/node_modules/@claude-flow/codex/dist/cli.js +0 -0
  9. package/node_modules/@claude-flow/plugin-agent-federation/dist/bin.js +0 -0
  10. package/node_modules/@claude-flow/security/dist/input-validator.d.ts +6 -6
  11. package/package.json +1 -1
  12. package/v3/@claude-flow/cli/README.md +2 -2
  13. package/v3/@claude-flow/cli/catalog-manifest.json +3 -3
  14. package/v3/@claude-flow/cli/dist/src/mcp-tools/agentbbs-tools.js +7 -2
  15. package/v3/@claude-flow/cli/dist/src/mcp-tools/managed-agent-tools.d.ts +1 -20
  16. package/v3/@claude-flow/cli/dist/src/mcp-tools/managed-agent-tools.js +347 -108
  17. package/v3/@claude-flow/cli/dist/src/mcp-tools/managed-learning-tool.d.ts +4 -0
  18. package/v3/@claude-flow/cli/dist/src/mcp-tools/managed-learning-tool.js +46 -0
  19. package/v3/@claude-flow/cli/dist/src/mcp-tools/memory-tools.js +6 -3
  20. package/v3/@claude-flow/cli/dist/src/missions/schemas.d.ts +12 -12
  21. package/v3/@claude-flow/cli/dist/src/ruvector/diskann-backend.d.ts +78 -0
  22. package/v3/@claude-flow/cli/dist/src/ruvector/diskann-backend.js +310 -0
  23. package/v3/@claude-flow/cli/dist/src/services/flywheel-transaction.js +5 -0
  24. package/v3/@claude-flow/cli/dist/src/services/managed-learning-loop.d.ts +79 -0
  25. package/v3/@claude-flow/cli/dist/src/services/managed-learning-loop.js +76 -0
  26. package/v3/@claude-flow/cli/dist/src/services/managed-learning-store.d.ts +187 -0
  27. package/v3/@claude-flow/cli/dist/src/services/managed-learning-store.js +238 -0
  28. package/v3/@claude-flow/cli/dist/src/services/managed-learning.d.ts +108 -0
  29. package/v3/@claude-flow/cli/dist/src/services/managed-learning.js +197 -0
  30. package/v3/@claude-flow/cli/dist/src/services/managed-memory-client.d.ts +72 -0
  31. package/v3/@claude-flow/cli/dist/src/services/managed-memory-client.js +236 -0
  32. package/v3/@claude-flow/cli/dist/src/services/managed-memory-worker.d.ts +56 -0
  33. package/v3/@claude-flow/cli/dist/src/services/managed-memory-worker.js +161 -0
  34. package/v3/@claude-flow/cli/dist/src/services/managed-run-collector.d.ts +93 -0
  35. package/v3/@claude-flow/cli/dist/src/services/managed-run-collector.js +181 -0
  36. package/v3/@claude-flow/cli/dist/src/services/managed-run-store.d.ts +52 -0
  37. package/v3/@claude-flow/cli/dist/src/services/managed-run-store.js +119 -0
  38. package/v3/@claude-flow/cli/dist/src/services/managed-workflows.d.ts +101 -0
  39. package/v3/@claude-flow/cli/dist/src/services/managed-workflows.js +183 -0
  40. package/v3/@claude-flow/cli/package.json +1 -1
  41. package/v3/@claude-flow/shared/dist/events/event-store.test.d.ts +8 -0
  42. package/v3/@claude-flow/shared/dist/events/event-store.test.js +293 -0
  43. package/v3/@claude-flow/shared/dist/hooks/hooks.test.d.ts +9 -0
  44. package/v3/@claude-flow/shared/dist/hooks/hooks.test.js +322 -0
  45. package/v3/@claude-flow/shared/dist/hooks/verify-exports.test.d.ts +9 -0
  46. package/v3/@claude-flow/shared/dist/hooks/verify-exports.test.js +93 -0
@@ -0,0 +1 @@
1
+ sha256:6141a8ea990c5063b77e090ae8f37f9c539d8aa8f58dcceb30f3a82f97e57319
@@ -0,0 +1 @@
1
+ 0.0.0
@@ -0,0 +1,13 @@
1
+ {
2
+ "manifest": {
3
+ "version": "3.32.24",
4
+ "files": {
5
+ "auto-memory-hook.mjs": "68be7e9a9eba7bf9c4e8a230db7bf61a243b965639f8504842799d6c6ca28762",
6
+ "hook-handler.cjs": "50ea92a72651bdc95634f7588d56a5870963168eef5226f66ed14af3b47c8d9a",
7
+ "intelligence.cjs": "bd1f8e4b034944aee1df0391dc47ac2e8cc4b3aa542c65407a59d49620bbf76b",
8
+ "statusline.cjs": "d2a0eac56d1267d8dbed2d70b09feb592299469196ec4b215909f2b052144882"
9
+ }
10
+ },
11
+ "signature": "Vi6dza9CfZgo25+eTMJ81fUjsNtQQfUZUZS61MxpBTlilSBTo88cNCCy4ZNC7OfH2r2JOYS7HqqYotf0/AJ9DA==",
12
+ "algorithm": "ed25519"
13
+ }
@@ -0,0 +1,42 @@
1
+ {
2
+ "adoptedAt": 1783689629580,
3
+ "championId": "sha256:6141a8ea990c5063b77e090ae8f37f9c539d8aa8f58dcceb30f3a82f97e57319",
4
+ "manifest": {
5
+ "schema": "ruflo.proven-config/v1",
6
+ "policy": {
7
+ "ref": "sha256:6141a8ea990c5063b77e090ae8f37f9c539d8aa8f58dcceb30f3a82f97e57319",
8
+ "value": {
9
+ "alpha": 0.3,
10
+ "subjectWeight": 1,
11
+ "mmrLambda": 0.5,
12
+ "bodyWeight": 1.5,
13
+ "typePenaltyFactor": 0.5
14
+ }
15
+ },
16
+ "layer": "framework/node-cli",
17
+ "compatibility": {
18
+ "ruflo": ">=3.24.0"
19
+ },
20
+ "benchmark": {
21
+ "corpus": "ADR-081-labelled-v1",
22
+ "corpusHash": "sha256:2f700b5c363e20a3bd88ce2bc9b87bbbbaa61732c6177894c6ec37890f888982"
23
+ },
24
+ "receipt": {
25
+ "heldOutDelta": 0.07381404928570845,
26
+ "redblue": "PASS",
27
+ "drift": 0,
28
+ "canary": {
29
+ "rollbackRate": 0,
30
+ "latencyP95": 244.612458000076,
31
+ "costPerTask": 0
32
+ },
33
+ "receiptCoverage": 1
34
+ },
35
+ "platform": [
36
+ "linux",
37
+ "macOS",
38
+ "windows"
39
+ ]
40
+ },
41
+ "previous": ""
42
+ }
@@ -0,0 +1,8 @@
1
+ {
2
+ "disabledMcpjsonServers": [
3
+ "ruvultra",
4
+ "claude-flow",
5
+ "mcp-brain",
6
+ "metallm-dev-bridge"
7
+ ]
8
+ }
@@ -57,10 +57,10 @@
57
57
  "source": "git-subdir",
58
58
  "url": "https://github.com/proffesor-for-testing/agentic-qe.git",
59
59
  "path": "plugins/agentic-qe-fleet",
60
- "ref": "v3.15.12",
61
- "sha": "90a91fe3cc7dc1b9ee9a6ce4e888f3406e8f794a"
60
+ "ref": "v3.15.13",
61
+ "sha": "e976a8e451b331fff86fc249f2ba40f19644c9fc"
62
62
  },
63
- "description": "Agentic QE (external: maintained in proffesor-for-testing/agentic-qe, pinned to v3.15.12): a quality-engineering fleet with 11 QE agents, 9 skills, 9 commands, the agentic-qe MCP server pinned to the plugin version, and the aqe-mod guard that refuses destructive operations on AQE learning data"
63
+ "description": "Agentic QE (external: maintained in proffesor-for-testing/agentic-qe, pinned to v3.15.13): a quality-engineering fleet with 11 QE agents, 9 skills, 9 commands, the agentic-qe MCP server pinned to the plugin version, and the aqe-mod guard that refuses destructive operations on AQE learning data"
64
64
  },
65
65
  {
66
66
  "name": "ruflo-docs",
package/README.md CHANGED
@@ -244,7 +244,7 @@ This adds slash commands and agent definitions. `ruflo-core` (installed above) d
244
244
  | [**ruflo-browser**](plugins/ruflo-browser/README.md) | Automate browser testing with Playwright |
245
245
  | [**ruflo-jujutsu**](plugins/ruflo-jujutsu/README.md) | Analyze git diffs, score risk, suggest reviewers |
246
246
  | [**ruflo-docs**](plugins/ruflo-docs/README.md) | Generate and maintain documentation automatically |
247
- | [**agentic-qe-fleet**](https://github.com/proffesor-for-testing/agentic-qe/tree/v3.15.12/plugins/agentic-qe-fleet) | External, maintained by [Agentic QE](https://github.com/proffesor-for-testing/agentic-qe): 11 QE agents, test generation, coverage, chaos and TDD skills, the `agentic-qe` MCP server, and a guard for AQE learning data (`/plugin install agentic-qe-fleet@ruflo`). Install it from one marketplace only, `agentic-qe` or `ruflo`: enabled from both, its mod and commands load twice |
247
+ | [**agentic-qe-fleet**](https://github.com/proffesor-for-testing/agentic-qe/tree/v3.15.13/plugins/agentic-qe-fleet) | External, maintained by [Agentic QE](https://github.com/proffesor-for-testing/agentic-qe): 11 QE agents, test generation, coverage, chaos and TDD skills, the `agentic-qe` MCP server, and a guard for AQE learning data (`/plugin install agentic-qe-fleet@ruflo`). Install it from one marketplace only, `agentic-qe` or `ruflo`: enabled from both, its mod and commands load twice |
248
248
 
249
249
  #### Security & Compliance
250
250
 
@@ -275,7 +275,7 @@ This adds slash commands and agent definitions. `ruflo-core` (installed above) d
275
275
 
276
276
  | Plugin | What it does |
277
277
  |--------|-------------|
278
- | [**ruflo-agent**](plugins/ruflo-agent/README.md) | Run agents — local WASM sandbox (rvagent) + Anthropic Claude Managed Agents (cloud) |
278
+ | [**ruflo-agent**](plugins/ruflo-agent/README.md) | Run agents — local WASM sandbox (rvagent) + Anthropic Claude Managed Agents (cloud), with opt-in bounded dynamic workflows, gated session controls and verified advisory learning |
279
279
  | [**ruflo-plugin-creator**](plugins/ruflo-plugin-creator/README.md) | Scaffold, validate, and publish your own plugins |
280
280
 
281
281
  #### Domain-Specific
File without changes
@@ -159,14 +159,14 @@ export declare const SpawnAgentSchema: z.ZodObject<{
159
159
  timeout: z.ZodOptional<z.ZodNumber>;
160
160
  }, "strip", z.ZodTypeAny, {
161
161
  type: "coder" | "reviewer" | "tester" | "planner" | "researcher" | "security-architect" | "security-auditor" | "memory-specialist" | "swarm-specialist" | "integration-architect" | "performance-engineer" | "core-architect" | "test-architect" | "queen-coordinator" | "project-coordinator";
162
+ id?: string | undefined;
162
163
  config?: Record<string, unknown> | undefined;
163
164
  timeout?: number | undefined;
164
- id?: string | undefined;
165
165
  }, {
166
166
  type: "coder" | "reviewer" | "tester" | "planner" | "researcher" | "security-architect" | "security-auditor" | "memory-specialist" | "swarm-specialist" | "integration-architect" | "performance-engineer" | "core-architect" | "test-architect" | "queen-coordinator" | "project-coordinator";
167
+ id?: string | undefined;
167
168
  config?: Record<string, unknown> | undefined;
168
169
  timeout?: number | undefined;
169
- id?: string | undefined;
170
170
  }>;
171
171
  /**
172
172
  * Task input schema
@@ -181,13 +181,13 @@ export declare const TaskInputSchema: z.ZodObject<{
181
181
  taskId: string;
182
182
  content: string;
183
183
  agentType: "coder" | "reviewer" | "tester" | "planner" | "researcher" | "security-architect" | "security-auditor" | "memory-specialist" | "swarm-specialist" | "integration-architect" | "performance-engineer" | "core-architect" | "test-architect" | "queen-coordinator" | "project-coordinator";
184
- priority?: "critical" | "high" | "medium" | "low" | undefined;
184
+ priority?: "low" | "medium" | "high" | "critical" | undefined;
185
185
  metadata?: Record<string, unknown> | undefined;
186
186
  }, {
187
187
  taskId: string;
188
188
  content: string;
189
189
  agentType: "coder" | "reviewer" | "tester" | "planner" | "researcher" | "security-architect" | "security-auditor" | "memory-specialist" | "swarm-specialist" | "integration-architect" | "performance-engineer" | "core-architect" | "test-architect" | "queen-coordinator" | "project-coordinator";
190
- priority?: "critical" | "high" | "medium" | "low" | undefined;
190
+ priority?: "low" | "medium" | "high" | "critical" | undefined;
191
191
  metadata?: Record<string, unknown> | undefined;
192
192
  }>;
193
193
  /**
@@ -234,16 +234,16 @@ export declare const ExecutorConfigSchema: z.ZodObject<{
234
234
  cwd: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
235
235
  allowSudo: z.ZodDefault<z.ZodBoolean>;
236
236
  }, "strip", z.ZodTypeAny, {
237
- allowedCommands: string[];
238
237
  timeout: number;
238
+ allowedCommands: string[];
239
239
  maxBuffer: number;
240
240
  allowSudo: boolean;
241
241
  blockedPatterns?: string[] | undefined;
242
242
  cwd?: string | undefined;
243
243
  }, {
244
244
  allowedCommands: string[];
245
- blockedPatterns?: string[] | undefined;
246
245
  timeout?: number | undefined;
246
+ blockedPatterns?: string[] | undefined;
247
247
  maxBuffer?: number | undefined;
248
248
  cwd?: string | undefined;
249
249
  allowSudo?: boolean | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "claude-flow",
3
- "version": "3.62.0",
3
+ "version": "3.63.1",
4
4
  "workspaces": [
5
5
  "v3/@claude-flow/codex",
6
6
  "v3/@claude-flow/mcp",
@@ -244,7 +244,7 @@ This adds slash commands and agent definitions. `ruflo-core` (installed above) d
244
244
  | [**ruflo-browser**](plugins/ruflo-browser/README.md) | Automate browser testing with Playwright |
245
245
  | [**ruflo-jujutsu**](plugins/ruflo-jujutsu/README.md) | Analyze git diffs, score risk, suggest reviewers |
246
246
  | [**ruflo-docs**](plugins/ruflo-docs/README.md) | Generate and maintain documentation automatically |
247
- | [**agentic-qe-fleet**](https://github.com/proffesor-for-testing/agentic-qe/tree/v3.15.12/plugins/agentic-qe-fleet) | External, maintained by [Agentic QE](https://github.com/proffesor-for-testing/agentic-qe): 11 QE agents, test generation, coverage, chaos and TDD skills, the `agentic-qe` MCP server, and a guard for AQE learning data (`/plugin install agentic-qe-fleet@ruflo`). Install it from one marketplace only, `agentic-qe` or `ruflo`: enabled from both, its mod and commands load twice |
247
+ | [**agentic-qe-fleet**](https://github.com/proffesor-for-testing/agentic-qe/tree/v3.15.13/plugins/agentic-qe-fleet) | External, maintained by [Agentic QE](https://github.com/proffesor-for-testing/agentic-qe): 11 QE agents, test generation, coverage, chaos and TDD skills, the `agentic-qe` MCP server, and a guard for AQE learning data (`/plugin install agentic-qe-fleet@ruflo`). Install it from one marketplace only, `agentic-qe` or `ruflo`: enabled from both, its mod and commands load twice |
248
248
 
249
249
  #### Security & Compliance
250
250
 
@@ -275,7 +275,7 @@ This adds slash commands and agent definitions. `ruflo-core` (installed above) d
275
275
 
276
276
  | Plugin | What it does |
277
277
  |--------|-------------|
278
- | [**ruflo-agent**](plugins/ruflo-agent/README.md) | Run agents — local WASM sandbox (rvagent) + Anthropic Claude Managed Agents (cloud) |
278
+ | [**ruflo-agent**](plugins/ruflo-agent/README.md) | Run agents — local WASM sandbox (rvagent) + Anthropic Claude Managed Agents (cloud), with opt-in bounded dynamic workflows, gated session controls and verified advisory learning |
279
279
  | [**ruflo-plugin-creator**](plugins/ruflo-plugin-creator/README.md) | Scaffold, validate, and publish your own plugins |
280
280
 
281
281
  #### Domain-Specific
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "schemaVersion": 1,
3
3
  "generation": 7,
4
- "generatedAt": "2026-10-24T23:47:19.593Z",
5
- "gitSha": "973d0ab4",
4
+ "generatedAt": "2026-10-26T03:10:50.719Z",
5
+ "gitSha": "631c1557",
6
6
  "catalog": {
7
7
  "agents": 177,
8
- "tools": 440,
8
+ "tools": 444,
9
9
  "skills": 34
10
10
  },
11
11
  "benchmark": null
@@ -441,14 +441,19 @@ export const agentbbsTools = [
441
441
  const logPath = roomLogPath(basePath, roomId);
442
442
  const all = readEnvelopes(logPath);
443
443
  let slice = all;
444
+ let resuming = false;
444
445
  if (sinceEnvelopeId) {
445
446
  const idx = all.findIndex(e => e.envelopeId === sinceEnvelopeId);
446
- slice = idx >= 0 ? all.slice(idx + 1) : all;
447
+ resuming = idx >= 0;
448
+ slice = resuming ? all.slice(idx + 1) : all;
447
449
  }
448
450
  // Dedup by envelopeId before applying the limit — a relay replay or a
449
451
  // double-append must not surface the same envelope twice to a watcher.
450
452
  const deduped = dedupEnvelopes(slice);
451
- const envelopes = deduped.slice(-limit);
453
+ // A watcher resuming after sinceEnvelopeId gets the oldest envelopes
454
+ // first, so passing the last returned id pages through the rest when
455
+ // hasMore is set. Without a cursor, it gets the most recent window.
456
+ const envelopes = resuming ? deduped.slice(0, limit) : deduped.slice(-limit);
452
457
  return {
453
458
  success: true,
454
459
  roomId,
@@ -1,22 +1,3 @@
1
- /**
2
- * Managed Agent MCP tools — Anthropic Claude Managed Agents as a *cloud*
3
- * agent runtime alongside ruflo's local WASM-sandboxed agents (`rvagent` /
4
- * `wasm_agent_*`). See ADR-115.
5
- *
6
- * Wraps the Managed Agents REST API (beta, `anthropic-beta:
7
- * managed-agents-2026-04-01`) with plain `fetch` — no new SDK dependency.
8
- * Needs `ANTHROPIC_API_KEY` (or `CLAUDE_API_KEY`); every tool degrades
9
- * gracefully with a structured error when the key is absent so the CLI/MCP
10
- * server stays up.
11
- *
12
- * Lifecycle (mirrors `wasm_agent_*`):
13
- * managed_agent_create → agents.create + environments.create + sessions.create ↔ wasm_agent_create
14
- * managed_agent_prompt → events.send(user.message) + poll events until idle ↔ wasm_agent_prompt
15
- * managed_agent_status → GET /v1/sessions/{id}
16
- * managed_agent_events → GET /v1/sessions/{id}/events (full transcript) ↔ wasm_agent_files (artifacts/log)
17
- * managed_agent_list → GET /v1/sessions
18
- * managed_agent_terminate→ DELETE /v1/sessions/{id} (+ optionally the env) ↔ wasm_agent_terminate
19
- */
20
- import type { MCPTool } from './types.js';
1
+ import { type MCPTool } from './types.js';
21
2
  export declare const managedAgentTools: MCPTool[];
22
3
  //# sourceMappingURL=managed-agent-tools.d.ts.map