Files
ruflo/v3/@claude-flow/cli/package.json
T
rUvandReuven 0a0a246a62 feat(neural): Phase 1 convergence — cli depends on @claude-flow/neural + README cleanup (#1773) (#1774)
* feat(neural): Phase 1 convergence (#1773) + neural README cleanup

Adds @claude-flow/neural as cli runtime dep, ships a lazy-loading bridge
so cli can call NeuralLearningSystem from the package, and documents the
API gap Phase 2+ will cross.

Bridge: cli/src/memory/neural-package-bridge.ts (88 LOC). Lazy-loads NLS
on first call; idempotent; returns null on failure with CLAUDE_FLOW_DEBUG
log (same pattern as #1770).

Tests: 6 cases in __tests__/neural-package-bridge.test.ts. Lazy init,
idempotent cache, stats shape when loaded, reset(). Tolerant of vitest
module resolution.

Neural README: fixed 5 factual errors.
  - 9 RL Algorithms -> 7 (PPO/A2C/DQN/QLearning/SARSA/DT/Curiosity)
  - Quick-start domain development was invalid (valid: code/creative/
    reasoning/chat/math/general)
  - RL imports missing Algorithm suffix on PPO/A2C/DQN/SARSA
  - NeuralLearningSystem promoted to top quick-start
  - Added Integration with cli section

Validation: 781 cli tests pass (769 baseline + 6 bandit + 6 bridge).

Bumps all three packages to 3.7.0-alpha.6. Refs #1773.

Co-Authored-By: RuFlo <ruv@ruv.net>

* chore(cli): regenerate pnpm-lock.yaml for @claude-flow/neural dep (#1773)

Phase 1 commit added "@claude-flow/neural": "^3.0.0-alpha.7" to cli/
package.json but did not regenerate pnpm-lock.yaml. The Type Check V3
and Test V3 Packages CI jobs run with --frozen-lockfile and refused
the install. pnpm install --filter @claude-flow/cli --no-frozen-lockfile
locally to bring the lockfile in sync with the package.json change.

No source changes — just the lockfile.

Co-Authored-By: RuFlo <ruv@ruv.net>

---------

Co-authored-by: Reuven <cohen@ruv-mac-mini.local>
2026-05-05 22:39:56 -04:00

130 lines
3.6 KiB
JSON

{
"name": "@claude-flow/cli",
"version": "3.7.0-alpha.6",
"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.7",
"@claude-flow/shared": "^3.0.0-alpha.7",
"@noble/ed25519": "^2.1.0",
"@ruvector/rabitq-wasm": "^0.1.0",
"semver": "^7.6.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.12",
"@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.5",
"agentdb": "^3.0.0-alpha.11",
"agentic-flow": "^3.0.0-alpha.1"
},
"publishConfig": {
"access": "public",
"tag": "latest"
}
}