Commit 0340c9b
committed
refactor: install skills directly to skills folder instead of nested path
- Add source_directory field to Skill class to store full path in repo
- Change directory field to store just the skill folder name for installation
- Update _fetch_skills_from_repo to set both fields correctly
- Update _download_and_install_skill to use source_directory for source location
- Fix tests to match new behavior
Before: ~/.factory/skills/devops/terraform-module-builder/skills/terraform-module-builder/
After: ~/.factory/skills/terraform-module-builder/1 parent 2c952a7 commit 0340c9b
4 files changed
Lines changed: 36 additions & 15 deletions
File tree
- code_assistant_manager
- tests
- unit
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
| 33 | + | |
| 34 | + | |
34 | 35 | | |
35 | 36 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
94 | 94 | | |
95 | 95 | | |
96 | 96 | | |
| 97 | + | |
97 | 98 | | |
98 | 99 | | |
99 | 100 | | |
| |||
105 | 106 | | |
106 | 107 | | |
107 | 108 | | |
| 109 | + | |
| 110 | + | |
108 | 111 | | |
109 | 112 | | |
110 | 113 | | |
| |||
125 | 128 | | |
126 | 129 | | |
127 | 130 | | |
| 131 | + | |
| 132 | + | |
128 | 133 | | |
129 | 134 | | |
130 | 135 | | |
| |||
141 | 146 | | |
142 | 147 | | |
143 | 148 | | |
| 149 | + | |
144 | 150 | | |
145 | 151 | | |
146 | 152 | | |
| |||
395 | 401 | | |
396 | 402 | | |
397 | 403 | | |
| 404 | + | |
| 405 | + | |
398 | 406 | | |
399 | | - | |
| 407 | + | |
400 | 408 | | |
401 | | - | |
| 409 | + | |
402 | 410 | | |
403 | 411 | | |
404 | 412 | | |
405 | 413 | | |
406 | 414 | | |
407 | 415 | | |
408 | | - | |
| 416 | + | |
409 | 417 | | |
410 | 418 | | |
411 | 419 | | |
| |||
643 | 651 | | |
644 | 652 | | |
645 | 653 | | |
646 | | - | |
| 654 | + | |
647 | 655 | | |
648 | | - | |
| 656 | + | |
649 | 657 | | |
650 | 658 | | |
651 | 659 | | |
652 | | - | |
| 660 | + | |
653 | 661 | | |
| 662 | + | |
| 663 | + | |
| 664 | + | |
654 | 665 | | |
655 | 666 | | |
656 | 667 | | |
| |||
659 | 670 | | |
660 | 671 | | |
661 | 672 | | |
662 | | - | |
663 | | - | |
| 673 | + | |
| 674 | + | |
664 | 675 | | |
665 | 676 | | |
666 | 677 | | |
| |||
669 | 680 | | |
670 | 681 | | |
671 | 682 | | |
| 683 | + | |
672 | 684 | | |
673 | 685 | | |
674 | 686 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
| 56 | + | |
56 | 57 | | |
57 | 58 | | |
58 | 59 | | |
59 | 60 | | |
60 | 61 | | |
61 | 62 | | |
62 | 63 | | |
| 64 | + | |
63 | 65 | | |
64 | 66 | | |
65 | 67 | | |
66 | | - | |
67 | | - | |
68 | | - | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
69 | 71 | | |
70 | 72 | | |
| 73 | + | |
71 | 74 | | |
72 | 75 | | |
73 | 76 | | |
| |||
95 | 98 | | |
96 | 99 | | |
97 | 100 | | |
98 | | - | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
99 | 105 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
321 | 321 | | |
322 | 322 | | |
323 | 323 | | |
324 | | - | |
325 | | - | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
| 327 | + | |
326 | 328 | | |
327 | 329 | | |
328 | 330 | | |
| |||
0 commit comments