Files
ruflo/v3/@claude-flow/cli/package.json
T
rUv a25872c7c8 fix(mcp): replace / with _ in MCP tool names for Claude Desktop compatibility (#982)
* fix(mcp): replace / with _ in MCP tool names for Claude Desktop compatibility

Fixes #966 - MCP tool names containing "/" break Claude Desktop integration.
Claude Desktop requires tool names to match pattern: ^[a-zA-Z0-9_-]{1,64}$

Changes:
- Replaced "/" with "_" in all 184 MCP tool names across 22 files
- Updated tool categories: agent_, swarm_, memory_, config_, hooks_,
  session_, task_, workflow_, hive-mind_, neural_, performance_,
  coordination_, browser_, embeddings_, progress_, github_, transfer_,
  claims_, daa_, analyze_, system_, terminal_
- Published @claude-flow/cli@3.0.0-alpha.157
- Published claude-flow@3.0.0-alpha.157
- Updated all dist-tags (alpha, latest, v3alpha)

Example tool name changes:
- hooks/pre-edit → hooks_pre-edit
- memory/store → memory_store
- agent/spawn → agent_spawn

Co-Authored-By: claude-flow <ruv@ruv.net>

* fix(mcp): complete tool naming fix with CLI command references

Follow-up to initial fix - updates all callMCPTool() references in CLI commands
to use the new underscore-separated tool names that match the MCP tool definitions.

Files updated:
- commands/agent.ts, swarm.ts, session.ts, task.ts, hooks.ts, memory.ts
- commands/hive-mind.ts, progress.ts, analyze.ts, workflow.ts
- commands/mcp.ts, status.ts, start.ts
- mcp-client.ts (documentation)
- mcp-tools/hooks-tools.ts (intelligence_* sub-tools)

Verified working:
- agent list, memory list, hooks list all work correctly
- No remaining tool calls with "/" separator
- All 192 MCP tools now use underscore separator

Published:
- @claude-flow/cli@3.0.0-alpha.159
- claude-flow@3.0.0-alpha.159

Co-Authored-By: claude-flow <ruv@ruv.net>
2026-01-22 13:55:25 -05:00

62 lines
1.6 KiB
JSON

{
"name": "@claude-flow/cli",
"version": "3.0.0-alpha.159",
"type": "module",
"description": "CLI module - command parsing, prompts, output formatting",
"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"
},
"exports": {
".": {
"types": "./dist/src/index.d.ts",
"import": "./dist/src/index.js"
},
"./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"
}
},
"files": [
"dist",
"bin",
".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",
"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/shared": "^3.0.0-alpha.1",
"@claude-flow/aidefence": "^3.0.2",
"@claude-flow/embeddings": "^3.0.0-alpha.12",
"@claude-flow/mcp": "^3.0.0-alpha.8"
},
"publishConfig": {
"access": "public",
"tag": "alpha"
}
}