diff --git a/bin/install.js b/bin/install.js index 1c8f93a8e..249df659c 100755 --- a/bin/install.js +++ b/bin/install.js @@ -2335,22 +2335,6 @@ const claudeToCursorTools = { SlashCommand: null, // No equivalent — skills are auto-discovered }; -/** - * Convert a Claude Code tool name to Cursor CLI format - * @returns {string|null} Cursor tool name, or null if tool should be excluded - */ -function convertCursorToolName(claudeTool) { - if (claudeTool in claudeToCursorTools) { - return claudeToCursorTools[claudeTool]; - } - // MCP tools keep their format (Cursor supports MCP) - if (claudeTool.startsWith('mcp__')) { - return claudeTool; - } - // Most tools share the same name (Read, Write, Glob, Grep, Task, WebSearch, WebFetch, TodoWrite) - return claudeTool; -} - function convertSlashCommandsToCursorSkillMentions(content) { // Keep leading "/" for slash commands; only normalize gsd: -> gsd-. // This preserves rendered "next step" commands like "/gsd-execute-phase 17". @@ -2477,22 +2461,6 @@ const claudeToWindsurfTools = { SlashCommand: null, // No equivalent — skills are auto-discovered }; -/** - * Convert a Claude Code tool name to Windsurf Cascade format - * @returns {string|null} Windsurf tool name, or null if tool should be excluded - */ -function convertWindsurfToolName(claudeTool) { - if (claudeTool in claudeToWindsurfTools) { - return claudeToWindsurfTools[claudeTool]; - } - // MCP tools keep their format (Windsurf supports MCP) - if (claudeTool.startsWith('mcp__')) { - return claudeTool; - } - // Most tools share the same name (Read, Write, Glob, Grep, Task, WebSearch, WebFetch, TodoWrite) - return claudeTool; -} - function convertSlashCommandsToWindsurfSkillMentions(content) { // Keep leading "/" for slash commands; only normalize gsd: -> gsd-. return content.replace(/gsd:/gi, 'gsd-'); @@ -2605,25 +2573,6 @@ const claudeToAugmentTools = { TodoWrite: 'add_tasks', }; -function convertAugmentToolName(claudeTool) { - if (claudeTool in claudeToAugmentTools) { - return claudeToAugmentTools[claudeTool]; - } - if (claudeTool.startsWith('mcp__')) { - return claudeTool; - } - const toolMapping = { - Read: 'view', - Write: 'save-file', - Glob: 'view', - Grep: 'grep', - Task: null, - WebSearch: 'web-search', - WebFetch: 'web-fetch', - }; - return toolMapping[claudeTool] || claudeTool; -} - function convertSlashCommandsToAugmentSkillMentions(content) { return content.replace(/gsd:/gi, 'gsd-'); }