mirror of
https://github.com/ruvnet/ruflo.git
synced 2026-11-24 14:16:34 +09:00
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:
1 parent
fa0808167e
commit
7123350cbf
1 file changed
+6
-1
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user