Commit bb03e3a
authored
refactor!: split CLI and MCP server into separate distributions (#56)
* refactor!: split CLI and MCP server into separate distributions
BREAKING CHANGE: CLI and MCP server are now separate packages.
This implements TASK-001 to separate concerns:
- `skillport` (CLI-only): SkillOps commands using filesystem as SSOT
- `skillport-mcp` (server-only): MCP server with indexed search
- `skillport-core` (library): shared logic, no console scripts
Key changes:
- CLI commands no longer depend on LanceDB indexes
- New filesystem-based catalog for CLI (list, show, doc, validate)
- Removed `search` and `serve` commands from CLI
- Added lazy imports to avoid loading indexing deps in CLI
- MCP server remains the sole index builder
- Dependency boundary tests to prevent regressions
Install separately:
- `pip install skillport` for CLI only
- `pip install skillport-mcp` for MCP server
* fix: resolve hatchling build issues for subpackages
- Remove relative readme paths that don't work with hatchling
- Add empty skillport_mcp package for wheel build requirement
- Update sdist include paths
* ci: update release workflow for 3-package publish
Build and publish all distributions in order:
1. skillport-core (dependency for others)
2. skillport (CLI)
3. skillport-mcp (MCP server)1 parent 5e41fb2 commit bb03e3a
File tree
83 files changed
+955
-1032
lines changed- .github/workflows
- guide
- packages
- skillport-core
- src/skillport
- interfaces
- cli
- commands
- mcp
- modules
- indexing
- internal
- public
- skills
- internal
- public
- skillport-mcp
- src/skillport_mcp
- src
- skillport_cli
- skillport
- interfaces/cli
- commands
- modules
- skills
- public
- tests
- integration
- unit
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
83 files changed
+955
-1032
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | | - | |
46 | | - | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
47 | 51 | | |
48 | 52 | | |
49 | 53 | | |
50 | 54 | | |
51 | 55 | | |
| 56 | + | |
52 | 57 | | |
53 | 58 | | |
54 | 59 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
18 | | - | |
| 17 | + | |
| 18 | + | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
| 27 | + | |
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | | - | |
| 45 | + | |
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
71 | | - | |
| 71 | + | |
72 | 72 | | |
73 | | - | |
| 73 | + | |
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
| |||
80 | 80 | | |
81 | 81 | | |
82 | 82 | | |
83 | | - | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
84 | 93 | | |
85 | 94 | | |
86 | 95 | | |
| |||
108 | 117 | | |
109 | 118 | | |
110 | 119 | | |
111 | | - | |
| 120 | + | |
112 | 121 | | |
113 | 122 | | |
114 | 123 | | |
115 | | - | |
| 124 | + | |
116 | 125 | | |
117 | 126 | | |
118 | 127 | | |
119 | | - | |
| 128 | + | |
120 | 129 | | |
121 | 130 | | |
122 | 131 | | |
123 | 132 | | |
124 | 133 | | |
125 | | - | |
| 134 | + | |
126 | 135 | | |
127 | 136 | | |
128 | | - | |
| 137 | + | |
129 | 138 | | |
130 | 139 | | |
131 | | - | |
| 140 | + | |
132 | 141 | | |
133 | 142 | | |
134 | | - | |
| 143 | + | |
135 | 144 | | |
136 | 145 | | |
137 | 146 | | |
| |||
143 | 152 | | |
144 | 153 | | |
145 | 154 | | |
146 | | - | |
| 155 | + | |
147 | 156 | | |
148 | 157 | | |
149 | 158 | | |
| |||
166 | 175 | | |
167 | 176 | | |
168 | 177 | | |
169 | | - | |
| 178 | + | |
170 | 179 | | |
171 | 180 | | |
172 | 181 | | |
| |||
256 | 265 | | |
257 | 266 | | |
258 | 267 | | |
259 | | - | |
260 | 268 | | |
261 | 269 | | |
| 270 | + | |
262 | 271 | | |
263 | 272 | | |
264 | 273 | | |
| |||
318 | 327 | | |
319 | 328 | | |
320 | 329 | | |
321 | | - | |
| 330 | + | |
322 | 331 | | |
323 | 332 | | |
324 | 333 | | |
| |||
331 | 340 | | |
332 | 341 | | |
333 | 342 | | |
334 | | - | |
| 343 | + | |
335 | 344 | | |
336 | 345 | | |
337 | 346 | | |
| |||
446 | 455 | | |
447 | 456 | | |
448 | 457 | | |
449 | | - | |
| 458 | + | |
450 | 459 | | |
451 | 460 | | |
452 | 461 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
4 | 6 | | |
5 | 7 | | |
6 | 8 | | |
| |||
10 | 12 | | |
11 | 13 | | |
12 | 14 | | |
13 | | - | |
14 | 15 | | |
15 | 16 | | |
16 | 17 | | |
17 | | - | |
18 | 18 | | |
| 19 | + | |
| 20 | + | |
19 | 21 | | |
20 | 22 | | |
21 | 23 | | |
| |||
25 | 27 | | |
26 | 28 | | |
27 | 29 | | |
28 | | - | |
| 30 | + | |
29 | 31 | | |
30 | 32 | | |
31 | 33 | | |
32 | | - | |
| 34 | + | |
33 | 35 | | |
34 | 36 | | |
35 | 37 | | |
36 | 38 | | |
37 | 39 | | |
38 | 40 | | |
39 | | - | |
40 | | - | |
| 41 | + | |
41 | 42 | | |
42 | | - | |
| 43 | + | |
43 | 44 | | |
44 | 45 | | |
45 | 46 | | |
| |||
55 | 56 | | |
56 | 57 | | |
57 | 58 | | |
58 | | - | |
59 | | - | |
| 59 | + | |
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
| |||
501 | 501 | | |
502 | 502 | | |
503 | 503 | | |
504 | | - | |
| 504 | + | |
505 | 505 | | |
506 | | - | |
| 506 | + | |
507 | 507 | | |
508 | | - | |
509 | | - | |
510 | | - | |
| 508 | + | |
| 509 | + | |
| 510 | + | |
511 | 511 | | |
512 | | - | |
513 | | - | |
514 | | - | |
515 | | - | |
516 | | - | |
517 | | - | |
518 | | - | |
519 | | - | |
520 | | - | |
521 | | - | |
522 | | - | |
523 | | - | |
524 | | - | |
525 | | - | |
526 | | - | |
527 | | - | |
528 | | - | |
529 | | - | |
530 | | - | |
| 512 | + | |
531 | 513 | | |
532 | 514 | | |
533 | 515 | | |
| |||
604 | 586 | | |
605 | 587 | | |
606 | 588 | | |
607 | | - | |
608 | | - | |
| 589 | + | |
| 590 | + | |
609 | 591 | | |
610 | 592 | | |
611 | 593 | | |
| |||
698 | 680 | | |
699 | 681 | | |
700 | 682 | | |
701 | | - | |
| 683 | + | |
| 684 | + | |
| 685 | + | |
702 | 686 | | |
703 | | - | |
| 687 | + | |
704 | 688 | | |
705 | 689 | | |
706 | | - | |
| 690 | + | |
707 | 691 | | |
708 | 692 | | |
709 | 693 | | |
| |||
720 | 704 | | |
721 | 705 | | |
722 | 706 | | |
723 | | - | |
724 | | - | |
| 707 | + | |
| 708 | + | |
725 | 709 | | |
726 | 710 | | |
727 | 711 | | |
728 | 712 | | |
729 | 713 | | |
730 | | - | |
| 714 | + | |
731 | 715 | | |
732 | 716 | | |
733 | | - | |
| 717 | + | |
734 | 718 | | |
735 | 719 | | |
736 | | - | |
| 720 | + | |
737 | 721 | | |
738 | 722 | | |
739 | | - | |
740 | | - | |
741 | | - | |
742 | | - | |
743 | | - | |
744 | | - | |
745 | | - | |
746 | | - | |
747 | | - | |
748 | | - | |
749 | | - | |
750 | | - | |
751 | | - | |
752 | | - | |
| 723 | + | |
753 | 724 | | |
754 | 725 | | |
755 | | - | |
756 | | - | |
757 | 726 | | |
758 | 727 | | |
759 | 728 | | |
| |||
906 | 875 | | |
907 | 876 | | |
908 | 877 | | |
909 | | - | |
| 878 | + | |
910 | 879 | | |
911 | | - | |
912 | | - | |
| 880 | + | |
| 881 | + | |
913 | 882 | | |
914 | 883 | | |
915 | 884 | | |
| |||
918 | 887 | | |
919 | 888 | | |
920 | 889 | | |
921 | | - | |
| 890 | + | |
922 | 891 | | |
923 | 892 | | |
924 | 893 | | |
| |||
0 commit comments