checkpoint: File edit:

🚀 Generated with [Claude Code](https://claude.com/claude-code)
📊 V3 Development Progress Checkpoint

Co-Authored-By: Claude Sonnet 4 <noreply@anthropic.com>
This commit is contained in:
rUvandClaude Sonnet 4 committed 2026-01-05 19:41:06 +00:00
1 parent fa0808167e
commit 7123350cbf
1 file changed
+6 -1
+6 -1
View File
@@ -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;