Files
ruflo/v3/@claude-flow/cli/package.json
T
rUvandClaude 26a02caa1c dream(memory): fix CacheManager.clear() previousSize always 0 (evaluated) (#5174)
* dream(memory): fix CacheManager.clear() previousSize always reporting 0

clear() called Map.clear() before reading this.cache.size for the
cache:cleared event payload, so previousSize was always 0 regardless of
how many entries existed. Capture the size before clearing instead.

Disclosed in the dream-cycle ledger 4 times (2026-10-27, 11-02, 11-16,
reconfirmed 11-28) without being fixed; cross-confirmed tonight by two
independent research roles (deep researcher + architecture reviewer),
scored highest (4.15) of 5 scored memory candidates. 3 new tests added
(1 discriminating, 2 controls); full @claude-flow/memory suite
748/749 -> 751/752 (+3, 0 regressions, same 1 pre-existing environmental
chmod-as-root failure both ways); tsc --noEmit clean both ways.

Co-Authored-By: RuFlo <ruv@ruv.net>
Claude-Session: https://claude.ai/code/session_01ReiDH4aH7znV5Narf7SUbs

* dream(memory): #5173 ledger update + final witness stamp

Ledger row for tonight's CacheManager.clear() previousSize fix, plus
a backfill note confirming 2026-11-27 (#5143/#5144) ran and correctly
REJECTed its candidate. Gist updated with the final adversarial-critic
verdict and witness stamp.

Co-Authored-By: RuFlo <ruv@ruv.net>
Claude-Session: https://claude.ai/code/session_01ReiDH4aH7znV5Narf7SUbs

* dream(memory): record PR #5174 in ledger row

Co-Authored-By: RuFlo <ruv@ruv.net>
Claude-Session: https://claude.ai/code/session_01ReiDH4aH7znV5Narf7SUbs

* dream(memory): #5173 bump @claude-flow/memory to 3.4.2 for the clear() fix

The CI leaf-package-publish audit (scripts/audit-leaf-package-publish.mjs)
correctly flagged that cache-manager.ts changed without a version bump:
@claude-flow/memory is a non-bundled leaf that resolves from the npm
registry at release time, so an unbumped version means the fix would
ship nowhere. Bumped as a PATCH (bug fix, no API/schema change) and
updated @claude-flow/cli's two exact pins to match, per CLAUDE.md's
"Publishing Rules" (lockstep pin discipline, #3390/#3327 Finding A
precedent). Does not publish the package — that stays a separate,
human-gated release action.

Verified locally: audit-leaf-package-publish.mjs and
audit-umbrella-version-lockstep.mjs both pass; @claude-flow/memory
suite still 751/752 (same 1 pre-existing environmental failure).

Co-Authored-By: RuFlo <ruv@ruv.net>
Claude-Session: https://claude.ai/code/session_01ReiDH4aH7znV5Narf7SUbs

* dream(memory): #5173 sync pnpm-lock.yaml for the 3.4.2 bump

pnpm install --frozen-lockfile (the Windows plugin-hooks-smoke CI job)
failed because v3/pnpm-lock.yaml still recorded @claude-flow/memory's
old specifier (3.4.1) after the package.json bump. @claude-flow/memory
is a workspace link: dependency, so no registry resolution changes are
needed -- a plain `pnpm install` would have pulled in several unrelated
upstream bumps (ruvector, codex, various @ruvector/* packages), which
is out of scope for this fix, so the lockfile specifier was edited
directly instead. Verified `pnpm install --frozen-lockfile` now
succeeds with only this one line changed.

Co-Authored-By: RuFlo <ruv@ruv.net>
Claude-Session: https://claude.ai/code/session_01ReiDH4aH7znV5Narf7SUbs

---------

Co-authored-by: Claude <noreply@anthropic.com>
2026-11-28 16:59:25 -05:00

203 lines
5.6 KiB
JSON

{
"name": "@claude-flow/cli",
"version": "3.80.11",
"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://ruv.io",
"bugs": {
"url": "https://github.com/ruvnet/ruflo/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/ruvnet/ruflo.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",
"local-vector-search",
"rvf",
"mcp-server"
],
"author": "RuvNet <ruv@ruv.io> (https://ruv.io)",
"license": "MIT",
"exports": {
".": {
"types": "./dist/src/index.d.ts",
"import": "./dist/src/index.js"
},
"./dist/*": "./dist/*",
"./package.json": "./package.json",
"./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",
"!dist/**/*.map",
"!dist/**/*.tsbuildinfo",
"bin",
"scripts/postinstall.cjs",
"assets/agent-router",
"assets/model-router/seed-router.krr*.json",
"assets/model-router/seed-router.calibrator*.json",
"assets/model-router/seed-rows.json",
"assets/model-router/openrouter-alts.json",
"templates",
".claude",
"plugins",
"README.md",
"catalog-manifest.json"
],
"scripts": {
"build": "tsc",
"check:metaharness-pins": "node ../../../scripts/check-metaharness-pins.mjs",
"test": "vitest run",
"test:real-binary": "vitest run --config vitest.real-binary.config.ts",
"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": "node scripts/prepare-publish.mjs",
"release": "npm publish --access public --tag latest",
"release:alpha": "npm version prerelease --preid=alpha && npm run publish:all",
"publish:all": "./scripts/publish.sh"
},
"devDependencies": {
"tsx": "^4.19.0",
"vitest": "^4.1.0"
},
"dependencies": {
"@electron/asar": "^4.3.1",
"@claude-flow/cli-core": "3.7.8",
"@claude-flow/codex": "3.0.8",
"@claude-flow/mcp": "3.1.6",
"@claude-flow/neural": "3.1.2",
"@claude-flow/plugin-agent-federation": "1.0.7",
"@claude-flow/security": "3.0.7",
"@claude-flow/shared": "3.0.11",
"@iarna/toml": "^2.2.5",
"@metaharness/darwin": "~0.16.0",
"@noble/ed25519": "2.3.0",
"@ruvector/rabitq-wasm": "0.1.2",
"agentic-flow": "^3.0.0",
"ajv": "^8.20.0",
"bcryptjs": "^3.0.3",
"chalk": "^5.3.0",
"commander": "^12.0.0",
"cors": "^2.8.5",
"express": ">=4.22.2",
"express-rate-limit": ">=8.4.1",
"fast-uri": "^3.1.6",
"fs-extra": "^11.2.0",
"helmet": "^7.2.0",
"inquirer": "^9.2.0",
"semver": "7.7.3",
"sql.js": "^1.13.0",
"typescript": "^5.3.0",
"ws": "^8.21.0",
"yaml": "^2.8.0",
"zod": "^4.6.7",
"@claude-flow/memory": "3.4.2"
},
"optionalDependencies": {
"@agntcy/slim-bindings": "2.1.1",
"@claude-flow/aidefence": "3.2.2",
"@claude-flow/memory": "3.4.2",
"@metaharness/flywheel": "~0.1.10",
"@metaharness/radio": "~0.1.0",
"@metaharness/turn-credit": "~0.1.0",
"@napi-rs/keyring": "1.3.0",
"agentdb": "^3.10.0",
"better-sqlite3": "^12.9.0",
"ruvector": "^0.3.13",
"nostr-tools": "^2.7.0",
"@ruvector/learning-wasm": "0.1.29",
"agent-booster": "^0.2.2",
"ruv-fann-wsp": "0.2.0",
"ruv-fann-wsp-invariants": "0.1.0",
"ruv-fann-wsp-lifecycle": "0.1.0"
},
"peerDependencies": {
"@metaharness/router": "^0.4.0",
"@ruvector/typesafe": "^0.1.0",
"metaharness": "^0.4.20"
},
"peerDependenciesMeta": {
"@metaharness/router": {
"optional": true
},
"@ruvector/typesafe": {
"optional": true
},
"metaharness": {
"optional": true
}
},
"publishConfig": {
"access": "public",
"tag": "latest"
},
"overrides": {
"protobufjs": ">=7.5.6",
"js-yaml": ">=4.3.0",
"express": ">=4.22.2",
"qs": ">=6.15.2",
"@opentelemetry/core": ">=2.8.0",
"@opentelemetry/resources": ">=2.8.0",
"@opentelemetry/sdk-trace-base": ">=2.8.0",
"@opentelemetry/sdk-node": ">=0.220.0",
"agentdb": "$agentdb",
"better-sqlite3": "^12.9.0"
},
"bundleDependencies": [
"@claude-flow/codex",
"@claude-flow/mcp",
"@claude-flow/plugin-agent-federation",
"@claude-flow/security"
],
"directories": {
"doc": "docs"
}
}