feat: 更新工具列表,支持 .ccw 目录的安装和升级,调整相关路径

This commit is contained in:
catlog22
2026-02-07 23:51:26 +08:00
parent 50570a9820
commit b22298d868
11 changed files with 100 additions and 30 deletions

View File

@@ -37,7 +37,7 @@ export interface TemplateIndex {
// Constants
// ============================================================================
const TEMPLATES_BASE_DIR = join(homedir(), '.claude', 'workflows', 'cli-templates');
const TEMPLATES_BASE_DIR = join(homedir(), '.ccw', 'workflows', 'cli-templates');
const PROMPTS_DIR = join(TEMPLATES_BASE_DIR, 'prompts');
const PROTOCOLS_DIR = join(TEMPLATES_BASE_DIR, 'protocols');