@claude-flow/cli 3.32.23 → 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.
- package/.claude/helpers/helpers.manifest.json +2 -2
- package/.claude/proven-config.json +1 -1
- package/catalog-manifest.json +2 -2
- package/dist/src/mcp-tools/metaharness-tools.js +1 -1
- package/dist/src/services/distill-oracle.d.ts +1 -0
- package/dist/src/services/distill-oracle.js +11 -3
- package/package.json +4 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"manifest": {
|
|
3
|
-
"version": "3.32.
|
|
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": "
|
|
11
|
+
"signature": "WScoNGVntr5AKSf29Md+c5Scg9i/s3KUI8QhlMNvIEUNNDw3DkQzKlCseIab1IaAbiqvClhRDpNA6nXCVB6FCA==",
|
|
12
12
|
"algorithm": "ed25519"
|
|
13
13
|
}
|
package/catalog-manifest.json
CHANGED
|
@@ -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.
|
|
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.
|
|
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",
|
|
@@ -104,8 +104,10 @@
|
|
|
104
104
|
"@claude-flow/mcp": "3.0.0-alpha.8",
|
|
105
105
|
"@claude-flow/neural": "3.0.0-alpha.9",
|
|
106
106
|
"@claude-flow/shared": "3.0.0-alpha.7",
|
|
107
|
+
"@metaharness/router": "^0.3.2",
|
|
107
108
|
"@noble/ed25519": "2.3.0",
|
|
108
109
|
"@ruvector/rabitq-wasm": "0.1.0",
|
|
110
|
+
"metaharness": "^0.4.1",
|
|
109
111
|
"semver": "7.7.3",
|
|
110
112
|
"sql.js": "^1.13.0",
|
|
111
113
|
"yaml": "^2.8.0"
|
|
@@ -113,6 +115,7 @@
|
|
|
113
115
|
"optionalDependencies": {
|
|
114
116
|
"@claude-flow/memory": "^3.0.0-alpha.21",
|
|
115
117
|
"@claude-flow/security": "^3.0.0-alpha.12",
|
|
118
|
+
"@metaharness/darwin": "^0.8.0",
|
|
116
119
|
"agentdb": "^3.0.0-alpha.17",
|
|
117
120
|
"agentic-flow": "^3.0.0-alpha.1",
|
|
118
121
|
"better-sqlite3": "^12.9.0",
|