From 7123350cbf07486308df442945bcaca3a6e9796c Mon Sep 17 00:00:00 2001 From: rUv Date: Mon, 5 Jan 2026 19:41:06 +0000 Subject: [PATCH] checkpoint: File edit: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 🚀 Generated with [Claude Code](https://claude.com/claude-code) 📊 V3 Development Progress Checkpoint Co-Authored-By: Claude Sonnet 4 --- v3/@claude-flow/cli/src/init/executor.ts | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/v3/@claude-flow/cli/src/init/executor.ts b/v3/@claude-flow/cli/src/init/executor.ts index bd5426cc94..2f53516ec1 100644 --- a/v3/@claude-flow/cli/src/init/executor.ts +++ b/v3/@claude-flow/cli/src/init/executor.ts @@ -541,10 +541,15 @@ neural/ /** * Find source directory for skills/commands/agents */ -function findSourceDir(type: 'skills' | 'commands' | 'agents'): string | null { +function findSourceDir(type: 'skills' | 'commands' | 'agents', sourceBaseDir?: string): string | null { // Build list of possible paths to check const possiblePaths: string[] = []; + // If explicit source base directory is provided, use it first + if (sourceBaseDir) { + possiblePaths.push(path.join(sourceBaseDir, '.claude', type)); + } + // From dist/src/init -> go up to project root // __dirname is typically /path/to/v3/@claude-flow/cli/dist/src/init const distPath = __dirname;