mirror of
https://github.com/multica-ai/multica.git
synced 2026-07-26 04:25:46 +02:00
fix(skills): call initializeManagedSkills in loadAllSkills
Automatically initialize managed skills directory with bundled skills on first load. This ensures bundled skills are available without requiring explicit initialization. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -169,6 +169,9 @@ export function getManagedSkillsDir(): string {
|
||||
* @returns Map of skill ID to Skill
|
||||
*/
|
||||
export function loadAllSkills(options: SkillManagerOptions = {}): Map<string, Skill> {
|
||||
// Initialize managed skills on first load (copies bundled skills if needed)
|
||||
initializeManagedSkills();
|
||||
|
||||
const skillMap = new Map<string, Skill>();
|
||||
|
||||
// 1. Load managed skills (lower precedence)
|
||||
|
||||
Reference in New Issue
Block a user