Files
ruflo/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

78 lines
1.9 KiB
JSON

{
"name": "claude-flow",
"version": "3.0.0-alpha.159",
"description": "Claude Flow V3 - Domain-Driven Design Architecture with 15-Agent Swarm Coordination",
"main": "dist/index.js",
"type": "module",
"bin": {
"claude-flow": "./v3/@claude-flow/cli/bin/cli.js"
},
"files": [
"v3/@claude-flow/cli/bin/**",
"v3/@claude-flow/cli/dist/**",
"v3/@claude-flow/cli/package.json",
"v3/@claude-flow/shared/dist/**",
"v3/@claude-flow/shared/package.json",
".claude-plugin/**",
".claude/**",
"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": {
"agentdb": "2.0.0-alpha.3.4",
"bcrypt": "^5.1.1",
"zod": "^3.22.4"
},
"overrides": {
"hono": ">=4.11.4"
},
"devDependencies": {
"@ruvector/attention": "^0.1.3",
"@ruvector/sona": "^0.1.5",
"@types/bcrypt": "^5.0.2",
"@types/node": "^20.0.0",
"agentic-flow": "^2.0.1-alpha.80",
"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": [
"claude",
"ai",
"agents",
"swarm",
"ddd",
"domain-driven-design",
"v3"
],
"author": "RuvNet",
"license": "MIT",
"publishConfig": {
"access": "public",
"tag": "v3alpha"
}
}