mirror of
https://github.com/ruvnet/ruflo.git
synced 2026-11-23 21:59:14 +09:00
* fix: resolve Tier A blockers #1596, #1567, #1556 #1596 — CLI lazy-command routing: `ruflo daemon start` was mis-routed to the top-level `start` command because the parser only registered the 10 core sync commands and its greedy Pass 1 walk happily matched `start` as the command with `daemon` left as a positional. Teach the parser about lazy command names via `registerLazyCommandName()`, stop Pass 1 at the first non-flag positional, and recognize lazy names in Pass 2 so commandPath becomes `['daemon', 'start']`. The existing positional-based subcommand fallback in CLI.run() then dispatches correctly. Affects every lazy-loaded command (daemon, doctor, embeddings, neural, config, workflow, hive-mind, ...). #1567 — agent_spawn Zod field mismatch: validate-input.ts was passing `{ agentType, name }` to @claude-flow/security's SpawnAgentSchema, which expects `{ type, id }`, so every MCP agent_spawn call failed with `type: Required`. Align the field names. Also swallow `invalid_enum_value` issues because the schema enumerates only 15 built-in agent types — we support custom types and the inline identifier validator already gated unsafe input. #1556 — AutoMemoryBridge destroys hand-curated MEMORY.md: `curateIndex()` fired on every Stop hook tick and overwrote MEMORY.md with a single-line title stub whenever none of the files in memoryDir matched the 7 hardcoded DEFAULT_TOPIC_MAPPING filenames — which is exactly the situation for any project using Claude Code's native `<type>_<topic>.md` memory convention. Skip the write entirely when there are no sections to curate and emit `index:skipped` instead; `curate` must be non-destructive when there's nothing to curate. Tests: - __tests__/parser.test.ts: 4 new cases cover lazy command routing, bare lazy commands, and global flags before a lazy command. - __tests__/validate-input-agent-spawn.test.ts: built-in type, custom type, bad identifier, and no-domain cases. - src/auto-memory-bridge.test.ts: new #1556 case + updated empty-file case to assert the new non-destructive semantics. All 120 CLI + 74 memory tests pass locally. Co-Authored-By: claude-flow <ruv@ruv.net> * chore: bump to 3.5.80 / memory 3.0.0-alpha.14 for Tier A fixes - @claude-flow/cli 3.5.78 → 3.5.80 - @claude-flow/memory 3.0.0-alpha.13 → 3.0.0-alpha.14 - claude-flow umbrella 3.5.78 → 3.5.80 - ruflo umbrella 3.5.78 → 3.5.80 Also fixes memory package's prebuild script to clean tsconfig.tsbuildinfo so tsc --incremental produces fresh output after rm -rf dist. Matches published npm artifacts for issues #1596, #1567, #1556. Co-Authored-By: claude-flow <ruv@ruv.net> --------- Co-authored-by: Reuven <cohen@ruv-mac-mini.local>
136 lines
3.5 KiB
JSON
136 lines
3.5 KiB
JSON
{
|
|
"name": "claude-flow",
|
|
"version": "3.5.80",
|
|
"description": "Ruflo - Enterprise AI agent orchestration for Claude Code. Deploy 60+ specialized agents in coordinated swarms with self-learning, fault-tolerant consensus, vector memory, and MCP integration",
|
|
"main": "dist/index.js",
|
|
"type": "module",
|
|
"bin": {
|
|
"claude-flow": "./bin/cli.js"
|
|
},
|
|
"homepage": "https://github.com/ruvnet/claude-flow#readme",
|
|
"bugs": {
|
|
"url": "https://github.com/ruvnet/claude-flow/issues",
|
|
"email": "support@ruv.io"
|
|
},
|
|
"funding": {
|
|
"type": "github",
|
|
"url": "https://github.com/sponsors/ruvnet"
|
|
},
|
|
"files": [
|
|
"bin/**",
|
|
"v3/@claude-flow/cli/bin/**",
|
|
"v3/@claude-flow/cli/dist/**/*.js",
|
|
"v3/@claude-flow/cli/dist/**/*.d.ts",
|
|
"!v3/@claude-flow/cli/dist/**/*.map",
|
|
"v3/@claude-flow/cli/package.json",
|
|
"v3/@claude-flow/shared/dist/**/*.js",
|
|
"v3/@claude-flow/shared/dist/**/*.d.ts",
|
|
"!v3/@claude-flow/shared/dist/**/*.map",
|
|
"v3/@claude-flow/shared/package.json",
|
|
"v3/@claude-flow/guidance/dist/**/*.js",
|
|
"v3/@claude-flow/guidance/dist/**/*.d.ts",
|
|
"!v3/@claude-flow/guidance/dist/**/*.map",
|
|
"v3/@claude-flow/guidance/package.json",
|
|
".claude-plugin/**",
|
|
".claude/**",
|
|
"!.claude/**/*.db",
|
|
"!.claude/**/*.map",
|
|
"README.md",
|
|
"LICENSE"
|
|
],
|
|
"scripts": {
|
|
"dev": "tsx watch src/index.ts",
|
|
"build": "tsc",
|
|
"build:ts": "cd v3/@claude-flow/cli && npm run build || true",
|
|
"test": "vitest",
|
|
"test:ui": "vitest --ui",
|
|
"test:security": "vitest run v3/__tests__/security/",
|
|
"lint": "cd v3/@claude-flow/cli && npm run lint || true",
|
|
"security:audit": "npm audit --audit-level high",
|
|
"security:fix": "npm audit fix",
|
|
"security:test": "npm run test:security",
|
|
"v3:domains": "npm run build:domains",
|
|
"v3:swarm": "npm run start:swarm",
|
|
"v3:security": "npm run security:audit && npm run security:test"
|
|
},
|
|
"dependencies": {
|
|
"semver": "^7.6.0",
|
|
"zod": "^3.22.4"
|
|
},
|
|
"optionalDependencies": {
|
|
"@claude-flow/codex": "^3.0.0-alpha.8",
|
|
"@claude-flow/plugin-gastown-bridge": "^0.1.3",
|
|
"@ruvector/attention": "^0.1.3",
|
|
"@ruvector/core": "^0.1.30",
|
|
"@ruvector/router": "^0.1.30",
|
|
"@ruvector/router-linux-x64-gnu": "^0.1.30",
|
|
"@ruvector/sona": "^0.1.5",
|
|
"agentdb": "^3.0.0-alpha.9",
|
|
"agentic-flow": "^2.0.7"
|
|
},
|
|
"overrides": {
|
|
"hono": ">=4.11.4"
|
|
},
|
|
"devDependencies": {
|
|
"@openai/codex": "^0.98.0",
|
|
"@types/bcrypt": "^5.0.2",
|
|
"@types/node": "^20.0.0",
|
|
"eslint": "^8.0.0",
|
|
"tsx": "^4.21.0",
|
|
"typescript": "^5.0.0",
|
|
"vitest": "^1.0.0"
|
|
},
|
|
"engines": {
|
|
"node": ">=20.0.0"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/ruvnet/claude-flow.git"
|
|
},
|
|
"keywords": [
|
|
"ruvflow",
|
|
"claude",
|
|
"claude-code",
|
|
"anthropic",
|
|
"ai",
|
|
"ai-agents",
|
|
"multi-agent",
|
|
"agent-orchestration",
|
|
"swarm-intelligence",
|
|
"swarm",
|
|
"mcp",
|
|
"model-context-protocol",
|
|
"llm",
|
|
"large-language-model",
|
|
"gpt",
|
|
"chatgpt",
|
|
"automation",
|
|
"workflow",
|
|
"orchestration",
|
|
"cli",
|
|
"developer-tools",
|
|
"devtools",
|
|
"coding-assistant",
|
|
"code-generation",
|
|
"enterprise",
|
|
"vector-database",
|
|
"embeddings",
|
|
"machine-learning",
|
|
"neural-network",
|
|
"hive-mind",
|
|
"distributed-systems",
|
|
"consensus",
|
|
"self-learning"
|
|
],
|
|
"author": {
|
|
"name": "RuvNet",
|
|
"email": "ruv@ruv.io",
|
|
"url": "https://ruv.io"
|
|
},
|
|
"license": "MIT",
|
|
"publishConfig": {
|
|
"access": "public",
|
|
"tag": "latest"
|
|
}
|
|
}
|