aiwf 0.3.21 → 0.3.22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/lib/installer.js +16 -0
package/package.json
CHANGED
package/src/lib/installer.js
CHANGED
|
@@ -504,6 +504,22 @@ async function updateCommands(languagePath, spinner, msg, debugLog) {
|
|
|
504
504
|
} catch (error) {
|
|
505
505
|
logWithSpinner(spinner, 'Agents not found or failed to download', debugLog);
|
|
506
506
|
}
|
|
507
|
+
|
|
508
|
+
// Download full .claude directory to include tools, workflow, and any other subfolders
|
|
509
|
+
logWithSpinner(spinner, 'Downloading full .claude directory (tools, workflow, etc.)...', debugLog);
|
|
510
|
+
try {
|
|
511
|
+
await downloadDirectory(
|
|
512
|
+
`${GITHUB_CONTENT_PREFIX}/${languagePath}/.claude`,
|
|
513
|
+
'.claude',
|
|
514
|
+
spinner,
|
|
515
|
+
msg,
|
|
516
|
+
languagePath,
|
|
517
|
+
true // 전체 .claude 폴더 동적 다운로드
|
|
518
|
+
);
|
|
519
|
+
logWithSpinner(spinner, 'Successfully downloaded .claude directory', debugLog);
|
|
520
|
+
} catch (error) {
|
|
521
|
+
logWithSpinner(spinner, `Failed to download full .claude directory: ${error.message}`, debugLog);
|
|
522
|
+
}
|
|
507
523
|
}
|
|
508
524
|
|
|
509
525
|
/**
|