mirror of
https://github.com/ruvnet/ruflo.git
synced 2026-11-23 21:59:14 +09:00
Closes #1793, #1652. #1793 — services/worker-daemon.ts: headless worker runs now persist their parsedOutput / output to the same metrics files the local fallback workers write to (.claude-flow/metrics/<name>.json). Previously the AI-mode branch returned the result and exited, leaving rich findings trapped in `.claude-flow/logs/headless/*_result.log` and invisible to `npx ruflo memory stats` and downstream consumers. Mapping mirrors the *Local methods: audit→security-audit.json, optimize→performance.json, testgaps→test-gaps.json, document→documentation.json, etc. Persisted record schema: { timestamp, mode:'headless', workerType, model, durationMs, tokensUsed, executionId, success, findings (= parsedOutput), rawOutputPreview (first 2KB), rawOutputLength }. Persistence is wrapped in try/catch so a write failure logs a warning but doesn't break the worker. #1652 — @claude-flow/guidance/src/analyzer.ts: abBenchmark now throws an actionable error when the provided executor is not content-aware instead of silently producing a guaranteed zero-delta verdict that costs ~$23 per run. The DefaultHeadlessExecutor IS content-aware as of @claude-flow/guidance@3.0.0-alpha.2 (it has `setContext` and physically swaps CLAUDE.md with backup/restore), so the guard only fires for caller-injected bare IHeadlessExecutor implementations. Verification: - @claude-flow/cli: 1963 tests pass / 0 fail / 46 skipped - @claude-flow/guidance: 1331 tests pass / 0 fail - Builds clean for both packages Published @claude-flow/cli@3.7.0-alpha.13, claude-flow@3.7.0-alpha.13, ruflo@3.7.0-alpha.13, and @claude-flow/guidance@3.0.0-alpha.3 with all dist-tags. Co-Authored-By: RuFlo <ruv@ruv.net>
131 lines
3.7 KiB
JSON
131 lines
3.7 KiB
JSON
{
|
|
"name": "@claude-flow/cli",
|
|
"version": "3.7.0-alpha.13",
|
|
"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.8",
|
|
"@claude-flow/shared": "^3.0.0-alpha.7",
|
|
"@noble/ed25519": "^2.1.0",
|
|
"@ruvector/rabitq-wasm": "^0.1.0",
|
|
"semver": "^7.6.0",
|
|
"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.12",
|
|
"@claude-flow/guidance": "^3.0.0-alpha.1",
|
|
"@claude-flow/memory": "^3.0.0-alpha.14",
|
|
"@claude-flow/plugin-gastown-bridge": "^0.1.3",
|
|
"@claude-flow/security": "^3.0.0-alpha.1",
|
|
"@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",
|
|
"agentdb": "^3.0.0-alpha.13",
|
|
"agentic-flow": "^3.0.0-alpha.1"
|
|
},
|
|
"publishConfig": {
|
|
"access": "public",
|
|
"tag": "latest"
|
|
}
|
|
}
|