mirror of
https://github.com/ruvnet/ruflo.git
synced 2026-11-25 14:43:05 +09:00
* fix(memory): stop reporting a gated native bridge as the active backend (#3228) On Windows the #3024 kill-switch makes getRegistry() return null, so every memory read/write silently falls back to the sql.js store (memory.db) instead of the AgentDB corpus (agentdb-memory.db) the bridge would have opened. The reporter measured the consequence: a canary store/retrieve round-trip SUCCEEDS because both halves use the same unintended file, while an existing live-store key returns found:false against 31,673 real rows. The status surface hid the substitution. getHNSWStatus() gated its bridge branch on whether the bridge MODULE was loaded -- which it is, even when the registry is gated off -- so describeBackend() printed "sqlite (bridge, brute-force cosine)" for a store the bridge never touched. Gate on whether the bridge is permitted to be the active path rather than on whether the module resolved. shouldDisableNativeBridge() is sync and a pure function of platform + env, so it is a faithful discriminator and needs no warm registry. describeBackend() now names the gate and its reason, so an upgrade that changes which file receives writes says so. This does not fix the opt-in allocation abort (#2948) or reroute the fallback to the AgentDB corpus; both need Windows validation. It makes the silent case loud, which is what the report asks for first. Also bumps fast-uri 3.1.5 -> ^3.1.6 (resolves 3.1.7), clearing GHSA-5jgf-p345-68v8 (high, host confusion via skipped IDN canonicalization) and the ajv high that inherited it. Same change as #3222 by @aeonframework, applied here because CI was never authorized to run on that PR. Refs #3228, #3222, #2948, #3024 Co-Authored-By: RuFlo <ruv@ruv.net> Claude-Session: https://claude.ai/code/session_01JJnDvpYYk2rTvjkudQUoCk * chore(release): 3.39.0 -> 3.39.1 Co-Authored-By: RuFlo <ruv@ruv.net> Claude-Session: https://claude.ai/code/session_01JJnDvpYYk2rTvjkudQUoCk
181 lines
4.9 KiB
JSON
181 lines
4.9 KiB
JSON
{
|
|
"name": "@claude-flow/cli",
|
|
"version": "3.39.1",
|
|
"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": "git+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": "RuvNet <ruv@ruv.io> (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",
|
|
"!dist/**/*.map",
|
|
"!dist/**/*.tsbuildinfo",
|
|
"bin",
|
|
"scripts/postinstall.cjs",
|
|
".claude",
|
|
"plugins",
|
|
"README.md",
|
|
"catalog-manifest.json"
|
|
],
|
|
"scripts": {
|
|
"build": "tsc",
|
|
"check:metaharness-pins": "node ../../../scripts/check-metaharness-pins.mjs",
|
|
"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": "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",
|
|
"typescript": "^5.3.0",
|
|
"vitest": "^4.1.0"
|
|
},
|
|
"dependencies": {
|
|
"@claude-flow/cli-core": "3.7.0-alpha.5",
|
|
"@claude-flow/codex": "3.0.3",
|
|
"@claude-flow/mcp": "3.0.0-alpha.10",
|
|
"@claude-flow/neural": "3.0.0-alpha.9",
|
|
"@claude-flow/plugin-agent-federation": "1.0.0-alpha.18",
|
|
"@claude-flow/security": "3.0.0-alpha.14",
|
|
"@claude-flow/shared": "3.0.0-alpha.7",
|
|
"@iarna/toml": "^2.2.5",
|
|
"@noble/ed25519": "2.3.0",
|
|
"@ruvector/rabitq-wasm": "0.1.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.5",
|
|
"fs-extra": "^11.2.0",
|
|
"helmet": "^7.2.0",
|
|
"inquirer": "^9.2.0",
|
|
"semver": "7.7.3",
|
|
"sql.js": "^1.13.0",
|
|
"toml": "^3.0.0",
|
|
"ws": "^8.21.0",
|
|
"yaml": "^2.8.0",
|
|
"zod": "^3.22.0",
|
|
"@claude-flow/memory": "^3.0.0-alpha.23"
|
|
},
|
|
"optionalDependencies": {
|
|
"@agntcy/slim-bindings": "2.0.0-alpha.5",
|
|
"@claude-flow/memory": "^3.0.0-alpha.23",
|
|
"@metaharness/darwin": "~0.9.0",
|
|
"@metaharness/flywheel": "~0.1.10",
|
|
"@metaharness/radio": "~0.1.0",
|
|
"@metaharness/turn-credit": "~0.1.0",
|
|
"@napi-rs/keyring": "1.3.0",
|
|
"agentdb": "^3.0.0-alpha.17",
|
|
"agentic-flow": "^3.0.0-alpha.1",
|
|
"better-sqlite3": "^12.9.0",
|
|
"ruvector": "^0.2.27"
|
|
},
|
|
"peerDependencies": {
|
|
"@metaharness/router": "^0.4.0",
|
|
"metaharness": "^0.4.1"
|
|
},
|
|
"peerDependenciesMeta": {
|
|
"@metaharness/router": {
|
|
"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"
|
|
}
|
|
}
|