@claude-flow/cli 3.32.24 → 3.32.25

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.32.24",
3
+ "version": "3.32.25",
4
4
  "files": {
5
5
  "auto-memory-hook.mjs": "e3e1033b24704992ddef6b31c7fa9dd7fcd9e1af7935dd77ef73402b916b31e6",
6
6
  "hook-handler.cjs": "f87ec28684bfc5fd0a54c46bd2a53a3fb037defe71d0ea4b8a5cb88a2cd87a3f",
@@ -8,6 +8,6 @@
8
8
  "statusline.cjs": "10f74a1aa9af217d0623c0a9839d82825b0eed31a4707a7531a85c6116869a6c"
9
9
  }
10
10
  },
11
- "signature": "pgWVxb13OhV0GuFPQIP9Cdb4Y6v46/P/vOTAPxNp4P3lKkQrWN9Vil4q8wzh3cRBaavPuXNktkOrYIpWsXuQBA==",
11
+ "signature": "WScoNGVntr5AKSf29Md+c5Scg9i/s3KUI8QhlMNvIEUNNDw3DkQzKlCseIab1IaAbiqvClhRDpNA6nXCVB6FCA==",
12
12
  "algorithm": "ed25519"
13
13
  }
@@ -1,5 +1,5 @@
1
1
  {
2
- "adoptedAt": 1785208363552,
2
+ "adoptedAt": 1785250806308,
3
3
  "championId": "sha256:6141a8ea990c5063b77e090ae8f37f9c539d8aa8f58dcceb30f3a82f97e57319",
4
4
  "manifest": {
5
5
  "schema": "ruflo.proven-config/v1",
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "schemaVersion": 1,
3
3
  "generation": 1,
4
- "generatedAt": "2026-07-28T03:57:39.626Z",
5
- "gitSha": "c50581b4",
4
+ "generatedAt": "2026-07-28T15:08:58.657Z",
5
+ "gitSha": "978851fd",
6
6
  "catalog": {
7
7
  "agents": 164,
8
8
  "tools": 387,
@@ -399,7 +399,7 @@ export const metaharnessTools = [
399
399
  },
400
400
  // ───────────────────────────────────────────────────────────────────────
401
401
  // ADR-153 — @metaharness/darwin integration (3 tools).
402
- // Backed by the separate `@metaharness/darwin@~0.3.1` npm package, NOT
402
+ // Backed by the separate `@metaharness/darwin@~0.8.0` npm package, NOT
403
403
  // the umbrella `metaharness`. Plugin scripts shell out via _darwin.mjs.
404
404
  // Same {success, data, degraded, exitCode} contract.
405
405
  // ───────────────────────────────────────────────────────────────────────
@@ -36,6 +36,7 @@
36
36
  */
37
37
  import { type VerifyTaskKind } from '../ruvector/output-verifier.js';
38
38
  import { FableHarness, type ReflectItem, type ReflectResult } from './fable-harness.js';
39
+ export declare const MH_DARWIN_PIN = "0.8.0";
39
40
  export type ResolvedProvenance = 'oracle:test-exec' | 'judge:fable' | 'proxy:structural';
40
41
  /** SWE-bench-shaped / bench-suite-mapped test spec that Tier 1 can execute. */
41
42
  export interface TestSpec {
@@ -37,6 +37,14 @@
37
37
  import { spawn } from 'child_process';
38
38
  import { verifyAndEscalate } from '../ruvector/output-verifier.js';
39
39
  import { FableHarness, } from './fable-harness.js';
40
+ // Pinned @metaharness/darwin version for the Tier-1 mechanical oracle's `npx`
41
+ // invocations. Bare `npx --yes @metaharness/darwin` floats to whatever npm
42
+ // `latest` is, so a breaking darwin release could silently change eval
43
+ // behavior mid-run (the #142 pin-drift failure mode). Pin it, and let
44
+ // scripts/check-metaharness-pins.mjs watch this constant for drift. Kept in
45
+ // lock-step with the optionalDependencies pin in package.json and the plugin
46
+ // darwin cache (darwin-cache-0.8.0).
47
+ export const MH_DARWIN_PIN = '0.8.0';
40
48
  // ── Public API ───────────────────────────────────────────────────────────
41
49
  /**
42
50
  * Label each trajectory with `resolved` + honest provenance, trying the tiers
@@ -198,7 +206,7 @@ export function buildOraclePlan(spec, remote) {
198
206
  const probeCommands = [
199
207
  `ssh -o BatchMode=yes -o ConnectTimeout=8 ${r} 'echo ok'`,
200
208
  `${sshLocal}'command -v docker >/dev/null 2>&1 && echo docker-present || echo docker-missing'`,
201
- `${sshLocal}'command -v darwin >/dev/null 2>&1 || npx --yes @metaharness/darwin --version'`,
209
+ `${sshLocal}'command -v darwin >/dev/null 2>&1 || npx --yes @metaharness/darwin@${MH_DARWIN_PIN} --version'`,
202
210
  ];
203
211
  let kind;
204
212
  const evalCommands = [];
@@ -207,7 +215,7 @@ export function buildOraclePlan(spec, remote) {
207
215
  kind = 'ssh-darwin-bench';
208
216
  const suite = spec.benchSuite ? `--suite ${shq(spec.benchSuite)}` : '';
209
217
  const kase = spec.benchCase ? `--case ${shq(spec.benchCase)}` : '';
210
- evalCommands.push(`${sshLocal}'cd ${workdir} && npx --yes @metaharness/darwin bench run ${suite} ${kase} --json'`.replace(/\s+/g, ' ').trim());
218
+ evalCommands.push(`${sshLocal}'cd ${workdir} && npx --yes @metaharness/darwin@${MH_DARWIN_PIN} bench run ${suite} ${kase} --json'`.replace(/\s+/g, ' ').trim());
211
219
  parseHint = 'resolved = darwin bench run reports the case scored PASS (exit 0, json.passed=true)';
212
220
  }
213
221
  else if (spec.evalCommand) {
@@ -222,7 +230,7 @@ export function buildOraclePlan(spec, remote) {
222
230
  }
223
231
  const f2p = (spec.failToPass ?? []).map(shq).join(' ');
224
232
  const p2p = (spec.passToPass ?? []).map(shq).join(' ');
225
- evalCommands.push(`${sshLocal}'cd ${workdir} && npx --yes @metaharness/darwin swebench-eval` +
233
+ evalCommands.push(`${sshLocal}'cd ${workdir} && npx --yes @metaharness/darwin@${MH_DARWIN_PIN} swebench-eval` +
226
234
  `${spec.repo ? ` --repo ${shq(spec.repo)}` : ''}` +
227
235
  `${spec.baseCommit ? ` --base ${shq(spec.baseCommit)}` : ''}` +
228
236
  `${f2p ? ` --fail-to-pass ${f2p}` : ''}` +
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@claude-flow/cli",
3
- "version": "3.32.24",
3
+ "version": "3.32.25",
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,6 +115,7 @@
115
115
  "optionalDependencies": {
116
116
  "@claude-flow/memory": "^3.0.0-alpha.21",
117
117
  "@claude-flow/security": "^3.0.0-alpha.12",
118
+ "@metaharness/darwin": "^0.8.0",
118
119
  "agentdb": "^3.0.0-alpha.17",
119
120
  "agentic-flow": "^3.0.0-alpha.1",
120
121
  "better-sqlite3": "^12.9.0",