Files
ruflo/v3/@claude-flow/cli/package.json
T
ruv f84273308a chore(deps): pin 8 unpinned-deps flagged by harness mcp-scan (iter 31)
Iter 30 closed the HIGH 'no-policy' finding. Iter 31 closes the LOW
'unpinned-deps' finding — the last one. Ruflo's MCP threat-model is
now CLEAN (zero non-info findings).

THE 8 DEPS (caret → exact, matched to actually-installed versions)
  @claude-flow/cli-core        ^3.7.0-alpha.5 → 3.7.0-alpha.5
  @claude-flow/mcp             ^3.0.0-alpha.8 → 3.0.0-alpha.8
  @claude-flow/neural          ^3.0.0-alpha.8 → 3.0.0-alpha.9 (root) /
                               ^3.0.0-alpha.9 → 3.0.0-alpha.9 (cli)
                               (also resolved a cross-package version drift)
  @claude-flow/shared          ^3.0.0-alpha.7 → 3.0.0-alpha.7
  @noble/ed25519               ^2.1.0 → 2.3.0
  @ruvector/rabitq-wasm        ^0.1.0 → 0.1.0
  semver                       ^7.6.0 → 7.7.3
  zod                          ^3.22.4 → 3.25.76

Each pin matches the version the lockfile already resolves to, so no
behavioral change at install time — purely a stricter declaration of
intent. Future deps must be updated explicitly via PR rather than
silently absorbing a caret-range minor bump.

MEASURED IMPACT vs pre-iter-30 baseline
                       Pre-iter-30  Post-iter-30  Post-iter-31
  worst severity       HIGH         LOW           INFO ("clean")
  threat-model verdict high         clean         clean
  findings count       2            1             0
  L7 governance        partial      FULL          FULL
  toolSafety score     100          100           100

WHY EXACT NOT TILDE
Tilde (~X.Y.Z) is fine for absorbing patches when the upstream cadence
is well-understood; metaharness@~0.1.11 is a good example (5 releases
in 2.7h on 2026-06-15 — patches expected). For ruflo's INTERNAL
@claude-flow/* packages, these get bumped in lockstep via the release
process — exact pinning catches accidental drift between the root
package.json and v3/@claude-flow/cli/package.json (which DID drift on
@claude-flow/neural pre-iter-31). Exact pins make the lockstep
explicit.

ROLLBACK
If a caret range turns out to have been load-bearing somewhere, revert
this commit: `git revert HEAD`. The lockfile (which has been the
actual reproducibility mechanism all along) doesn't change.

FLEET STATE — all measurements verified post-iter-31:
  threat-model: clean (verdict)
  mcp-scan:     0 findings
  oia L7:       full
  smoke:        36/36
  meta-smoke:   33/33 plugins
  3 audits:     clean

The self-improvement loop completed:
  iter 7  → oia-audit infrastructure detects the HIGH
  iter 27 → the dispatch fix unmasked it (was silently degrading)
  iter 30 → mcp-policy.json closed the HIGH
  iter 31 → exact pins closed the LOW
  iter 31 → threat-model = clean

This is ADR-150 in operation: instrumentation found problems, the same
instrumentation guided the fix, problems went away. End-to-end.

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-06-16 15:55:29 -04:00

139 lines
3.9 KiB
JSON

{
"name": "@claude-flow/cli",
"version": "3.11.0",
"type": "module",
"description": "Ruflo CLI - Enterprise AI agent orchestration with 60+ specialized agents, swarm coordination, MCP server, self-learning hooks, and vector memory for Claude Code",
"main": "dist/src/index.js",
"types": "dist/src/index.d.ts",
"sideEffects": false,
"bin": {
"cli": "./bin/cli.js",
"claude-flow": "./bin/cli.js",
"claude-flow-mcp": "./bin/mcp-server.js"
},
"homepage": "https://github.com/ruvnet/claude-flow#readme",
"bugs": {
"url": "https://github.com/ruvnet/claude-flow/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/ruvnet/claude-flow.git",
"directory": "v3/@claude-flow/cli"
},
"keywords": [
"claude",
"claude-code",
"anthropic",
"ai-agents",
"multi-agent",
"swarm",
"mcp",
"model-context-protocol",
"llm",
"cli",
"orchestration",
"automation",
"developer-tools",
"coding-assistant",
"vector-database",
"embeddings",
"self-learning",
"enterprise"
],
"author": {
"name": "RuvNet",
"email": "ruv@ruv.io",
"url": "https://ruv.io"
},
"license": "MIT",
"exports": {
".": {
"types": "./dist/src/index.d.ts",
"import": "./dist/src/index.js"
},
"./dist/*": "./dist/*",
"./ruvector": {
"types": "./dist/src/ruvector/index.d.ts",
"import": "./dist/src/ruvector/index.js"
},
"./ruvector/*": {
"types": "./dist/src/ruvector/*.d.ts",
"import": "./dist/src/ruvector/*.js"
},
"./mcp-tools": {
"types": "./dist/src/mcp-tools/index.d.ts",
"import": "./dist/src/mcp-tools/index.js"
},
"./memory": {
"types": "./dist/src/memory/memory-initializer.d.ts",
"import": "./dist/src/memory/memory-initializer.js"
},
"./intelligence": {
"types": "./dist/src/memory/intelligence.d.ts",
"import": "./dist/src/memory/intelligence.js"
}
},
"files": [
"dist",
"bin",
"scripts",
".claude",
"README.md"
],
"scripts": {
"build": "tsc",
"test": "vitest run",
"test:plugin-store": "npx tsx src/plugins/tests/standalone-test.ts",
"test:pattern-store": "npx tsx src/transfer/store/tests/standalone-test.ts",
"postinstall": "node ./scripts/postinstall.cjs",
"prepublishOnly": "cp ../../../README.md ./README.md",
"release": "npm version prerelease --preid=alpha && npm run publish:all",
"publish:all": "./scripts/publish.sh"
},
"devDependencies": {
"typescript": "^5.3.0",
"vitest": "^4.0.16"
},
"dependencies": {
"@claude-flow/cli-core": "3.7.0-alpha.5",
"@claude-flow/mcp": "3.0.0-alpha.8",
"@claude-flow/neural": "3.0.0-alpha.9",
"@claude-flow/shared": "3.0.0-alpha.7",
"@noble/ed25519": "2.3.0",
"@ruvector/rabitq-wasm": "0.1.0",
"semver": "7.7.3",
"yaml": "^2.8.0"
},
"optionalDependencies": {
"@claude-flow/aidefence": "^3.0.2",
"@claude-flow/codex": "^3.0.0-alpha.8",
"@claude-flow/embeddings": "^3.0.0-alpha.18",
"@claude-flow/guidance": "^3.0.0-alpha.1",
"@claude-flow/memory": "^3.0.0-alpha.20",
"@claude-flow/plugin-gastown-bridge": "^0.1.3",
"@claude-flow/security": "^3.0.0-alpha.10",
"@metaharness/kernel": "~0.1.0",
"@metaharness/router": "~0.3.2",
"metaharness": "~0.1.11",
"@ruvector/attention": "^0.1.32",
"@ruvector/attention-darwin-arm64": "0.1.32",
"@ruvector/diskann": "^0.1.0",
"@ruvector/learning-wasm": "^0.1.29",
"@ruvector/router": "^0.1.30",
"@ruvector/ruvllm-wasm": "^2.0.2",
"@ruvector/rvagent-wasm": "^0.1.0",
"@ruvector/sona": "^0.1.6",
"@ruvector/tiny-dancer": "^0.1.22",
"agentdb": "^3.0.0-alpha.16",
"agentic-flow": "^3.0.0-alpha.1",
"ruvector": "^0.2.27"
},
"publishConfig": {
"access": "public",
"tag": "latest"
},
"overrides": {
"protobufjs": ">=7.5.6"
}
}