@claude-flow/cli 3.72.0 → 3.72.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.
Files changed (64) hide show
  1. package/.claude/helpers/helpers.manifest.json +2 -2
  2. package/.claude/skills/fast-code-edits/SKILL.md +45 -0
  3. package/.claude/skills/graph-mincut/SKILL.md +32 -0
  4. package/.claude/skills/injection-defense/SKILL.md +36 -0
  5. package/.claude/skills/lora-learning/SKILL.md +30 -0
  6. package/.claude/skills/sublinear-solver/SKILL.md +34 -0
  7. package/.claude/skills/vector-quantization/SKILL.md +36 -0
  8. package/catalog-manifest.json +4 -4
  9. package/dist/src/appliance/ruvllm-bridge.d.ts +6 -2
  10. package/dist/src/appliance/ruvllm-bridge.js +13 -8
  11. package/dist/src/commands/init.js +2 -0
  12. package/dist/src/commands/neural.js +81 -71
  13. package/dist/src/init/executor.js +13 -0
  14. package/dist/src/init/types.d.ts +6 -0
  15. package/dist/src/init/types.js +3 -0
  16. package/dist/src/mcp-client.js +2 -0
  17. package/dist/src/mcp-tools/agentdb-tools.js +34 -2
  18. package/dist/src/mcp-tools/browser-session-tools.d.ts +2 -2
  19. package/dist/src/mcp-tools/browser-session-tools.js +4 -4
  20. package/dist/src/mcp-tools/fast-apply-tools.d.ts +4 -0
  21. package/dist/src/mcp-tools/fast-apply-tools.js +85 -0
  22. package/dist/src/mcp-tools/hooks-tools.js +19 -34
  23. package/dist/src/mcp-tools/metaharness-tools.js +1 -1
  24. package/dist/src/mcp-tools/neural-tools.js +3 -3
  25. package/dist/src/mcp-tools/realpath-containment.d.ts +3 -0
  26. package/dist/src/mcp-tools/realpath-containment.js +39 -0
  27. package/dist/src/mods/command-registry/schema.d.ts +12 -12
  28. package/dist/src/ruvector/ast-analyzer.d.ts +1 -2
  29. package/dist/src/ruvector/ast-analyzer.js +4 -12
  30. package/dist/src/ruvector/coverage-router.d.ts +1 -2
  31. package/dist/src/ruvector/coverage-router.js +4 -12
  32. package/dist/src/ruvector/diff-classifier.d.ts +1 -2
  33. package/dist/src/ruvector/diff-classifier.js +3 -12
  34. package/dist/src/ruvector/fast-apply.d.ts +46 -0
  35. package/dist/src/ruvector/fast-apply.js +73 -0
  36. package/dist/src/ruvector/graph-analyzer.d.ts +11 -1
  37. package/dist/src/ruvector/graph-analyzer.js +22 -36
  38. package/dist/src/ruvector/mincut-bridge.d.ts +70 -0
  39. package/dist/src/ruvector/mincut-bridge.js +172 -0
  40. package/dist/src/services/distill-oracle.d.ts +1 -1
  41. package/dist/src/services/distill-oracle.js +2 -2
  42. package/node_modules/@claude-flow/codex/.agents/skills/fast-code-edits/SKILL.md +42 -0
  43. package/node_modules/@claude-flow/codex/.agents/skills/graph-mincut/SKILL.md +42 -0
  44. package/node_modules/@claude-flow/codex/.agents/skills/injection-defense/SKILL.md +45 -0
  45. package/node_modules/@claude-flow/codex/.agents/skills/lora-learning/SKILL.md +39 -0
  46. package/node_modules/@claude-flow/codex/.agents/skills/sublinear-solver/SKILL.md +38 -0
  47. package/node_modules/@claude-flow/codex/.agents/skills/vector-quantization/SKILL.md +49 -0
  48. package/node_modules/@claude-flow/codex/dist/generators/skill-md.d.ts.map +1 -1
  49. package/node_modules/@claude-flow/codex/dist/generators/skill-md.js +6 -0
  50. package/node_modules/@claude-flow/codex/dist/generators/skill-md.js.map +1 -1
  51. package/node_modules/@claude-flow/codex/dist/index.d.ts +3 -3
  52. package/node_modules/@claude-flow/codex/dist/index.js +1 -1
  53. package/node_modules/@claude-flow/codex/dist/templates/index.d.ts.map +1 -1
  54. package/node_modules/@claude-flow/codex/dist/templates/index.js +37 -0
  55. package/node_modules/@claude-flow/codex/dist/templates/index.js.map +1 -1
  56. package/node_modules/@claude-flow/codex/dist/types.d.ts +1 -1
  57. package/node_modules/@claude-flow/codex/dist/types.d.ts.map +1 -1
  58. package/node_modules/@claude-flow/codex/package.json +1 -1
  59. package/package.json +12 -10
  60. package/plugins/ruflo-console/dist/tui.mjs +153 -153
  61. package/plugins/ruflo-metaharness/.claude-plugin/plugin.json +1 -1
  62. package/plugins/ruflo-metaharness/scripts/_darwin.mjs +4 -4
  63. package/plugins/ruflo-metaharness/scripts/_harness.mjs +1 -1
  64. package/plugins/ruflo-metaharness/scripts/smoke.sh +4 -4
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "ruflo-metaharness",
3
3
  "description": "MetaHarness integration for ruflo — surfaces score/genome/mint/mcp-scan/threat-model via skills; pairs with @metaharness/router (ADR-148/149) for cost-optimal model routing; honors ADR-150's architectural constraint that MetaHarness remains an optional augmentation, never a required runtime dependency. As a mod (ADR-445): confirms flywheel promotion, keeps secrets out of inputs, /metaharness-mod, and a status file the console shows",
4
- "version": "0.4.0",
4
+ "version": "0.4.1",
5
5
  "repository": "https://github.com/ruvnet/ruflo",
6
6
  "author": {
7
7
  "name": "ruvnet",
@@ -2,7 +2,7 @@
2
2
  //
3
3
  // Mirrors `_harness.mjs` for the umbrella `metaharness` / `harness` binaries,
4
4
  // but targets the separate darwin binary (`metaharness-darwin`) which is
5
- // published as its own npm package (`@metaharness/darwin@~0.12.0`).
5
+ // published as its own npm package (`@metaharness/darwin@~0.13.0`).
6
6
  //
7
7
  // Shared plumbing (degraded classification, --json injection, trailing-JSON
8
8
  // parse, degraded emitter) lives in `_invoke.mjs`. What stays here is the
@@ -61,14 +61,14 @@ const DEFAULT_TIMEOUT_MS = 60_000;
61
61
 
62
62
  // Pinned semver range. The `~` allows patch upgrades without re-pinning.
63
63
  // Must cover the `@metaharness/darwin` optionalDependency range in
64
- // v3/@claude-flow/cli/package.json (`~0.12.0`). It sat at ~0.8.0 while that
65
- // range moved to ~0.9.0 (#2958), ~0.10.2 (#3262) and ~0.12.0 (#3219), because the pin-drift
64
+ // v3/@claude-flow/cli/package.json (`~0.13.0`). It sat at ~0.8.0 while that
65
+ // range moved to ~0.9.0 (#2958), ~0.10.2 (#3262), ~0.12.0 (#3219) and ~0.13.0 (GHSA-mjwg-5fm3-fx2p), because the pin-drift
66
66
  // guard only compared MH_DARWIN_PIN (distill-oracle.ts). This range picks
67
67
  // the darwin version the evolve / bench / security-bench tools run and the
68
68
  // gepa cache fallback installs; scripts/check-metaharness-pins.mjs now fails
69
69
  // when it no longer covers the declared range.
70
70
  const DARWIN_PKG = '@metaharness/darwin';
71
- const DARWIN_PIN_VERSION = '~0.12.0';
71
+ const DARWIN_PIN_VERSION = '~0.13.0';
72
72
  const DARWIN_PIN = `${DARWIN_PKG}@${DARWIN_PIN_VERSION}`;
73
73
 
74
74
  const REASON_PREFIX = 'metaharness-darwin';
@@ -62,7 +62,7 @@ const DEFAULT_TIMEOUT_MS = 60_000;
62
62
  // moved to ^0.4.1 (b8ec03f34) because nothing compared the two;
63
63
  // scripts/check-metaharness-pins.mjs now fails when they diverge.
64
64
  const METAHARNESS_PKG = 'metaharness';
65
- const METAHARNESS_PIN_VERSION = '~0.4.1';
65
+ const METAHARNESS_PIN_VERSION = '~0.4.20';
66
66
 
67
67
  const REASON_NOT_AVAILABLE = 'metaharness-not-available';
68
68
 
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env bash
2
- # Structural smoke test for ruflo-metaharness v0.4.0 (ADR-150 Phase 1).
2
+ # Structural smoke test for ruflo-metaharness v0.4.1 (ADR-150 Phase 1).
3
3
  set -u
4
4
  ROOT="$(cd "$(dirname "$0")/.." && pwd)"
5
5
  PASS=0
@@ -32,10 +32,10 @@ else
32
32
  bad "extraction-regex-rot: EXPECTED_TOOLS=$EXPECTED_TOOLS EXPECTED_SUBS=$EXPECTED_SUBS"
33
33
  fi
34
34
 
35
- step "1. plugin.json declares 0.4.0 with adr-150 keywords"
35
+ step "1. plugin.json declares 0.4.1 with adr-150 keywords"
36
36
  v=$(grep -E '"version"' "$ROOT/.claude-plugin/plugin.json" | grep -oE '[0-9]+\.[0-9]+\.[0-9]+' | head -1)
37
- if [[ "$v" != "0.4.0" ]]; then
38
- bad "expected 0.4.0, got '$v'"
37
+ if [[ "$v" != "0.4.1" ]]; then
38
+ bad "expected 0.4.1, got '$v'"
39
39
  else
40
40
  miss=""
41
41
  for k in ruflo metaharness harness scorecard genome mcp-scan threat-model router adr-150 adr-148 adr-149 optional-dependency graceful-degradation subprocess phase-1-mvp; do