Commit c22149e
authored
feat: implement multi-marketplace support for plugin distribution (#11)
* feat: implement multi-marketplace support for plugin distribution
Add support for loading plugins from multiple external marketplace sources
with dynamic runtime fetching and server-side caching.
Key changes:
- Create marketplace-sources.json config for managing marketplace URLs
- Implement /api/marketplaces endpoint with 5-minute cache
- Add marketplace filtering UI with USelectMenu component
- Support marketplace-specific installation commands
- Use marketplace.json name field for plugin installation
- Add marketplace badges to distinguish plugin sources
- Remove dependency on Nuxt Content for marketplace data
Technical details:
- Server API uses defineCachedFunction for performance
- Zod schemas for runtime validation
- Support for both local and GitHub-sourced plugins
- Graceful handling of individual marketplace failures
- TypeScript types for multi-marketplace aggregation
Installation format:
- Marketplace: /plugin marketplace add org/repo
- Plugin: /plugin install pluginName@marketplaceName
* fix: resolve eslint errors
- Remove console.log statement from PluginCard
- Remove unused MarketplaceData interface from index.vue
- Import process from node:process in marketplaces API1 parent 03a8dd0 commit c22149e
39 files changed
Lines changed: 2606 additions & 74 deletions
File tree
- .claude-plugin
- .idea
- apps/web
- app
- components
- pages
- types
- server
- api
- utils
- plugins
- agent-sdk-dev
- .claude-plugin
- agents
- commands
- commit-commands
- .claude-plugin
- commands
- feature-dev
- .claude-plugin
- agents
- commands
- pr-review-toolkit
- .claude-plugin
- agents
- commands
- security-guidance
- .claude-plugin
- hooks
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
67 | | - | |
| 67 | + | |
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
86 | | - | |
| 86 | + | |
87 | 87 | | |
88 | 88 | | |
89 | | - | |
| 89 | + | |
90 | 90 | | |
91 | 91 | | |
92 | | - | |
| 92 | + | |
93 | 93 | | |
94 | 94 | | |
95 | | - | |
| 95 | + | |
96 | 96 | | |
97 | 97 | | |
98 | | - | |
| 98 | + | |
99 | 99 | | |
100 | 100 | | |
101 | 101 | | |
| |||
134 | 134 | | |
135 | 135 | | |
136 | 136 | | |
137 | | - | |
| 137 | + | |
138 | 138 | | |
139 | 139 | | |
140 | | - | |
| 140 | + | |
141 | 141 | | |
142 | 142 | | |
143 | 143 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
| 5 | + | |
4 | 6 | | |
5 | 7 | | |
6 | 8 | | |
| |||
19 | 21 | | |
20 | 22 | | |
21 | 23 | | |
22 | | - | |
23 | | - | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
24 | 37 | | |
25 | 38 | | |
26 | 39 | | |
| |||
74 | 87 | | |
75 | 88 | | |
76 | 89 | | |
77 | | - | |
| 90 | + | |
78 | 91 | | |
79 | 92 | | |
80 | 93 | | |
| |||
92 | 105 | | |
93 | 106 | | |
94 | 107 | | |
95 | | - | |
| 108 | + | |
96 | 109 | | |
97 | 110 | | |
98 | 111 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
14 | | - | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
15 | 17 | | |
16 | 18 | | |
17 | 19 | | |
| |||
35 | 37 | | |
36 | 38 | | |
37 | 39 | | |
38 | | - | |
| 40 | + | |
39 | 41 | | |
| 42 | + | |
40 | 43 | | |
41 | | - | |
42 | 44 | | |
43 | 45 | | |
44 | 46 | | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
45 | 53 | | |
46 | 54 | | |
47 | 55 | | |
| |||
104 | 112 | | |
105 | 113 | | |
106 | 114 | | |
107 | | - | |
108 | | - | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
109 | 131 | | |
110 | 132 | | |
111 | 133 | | |
| |||
129 | 151 | | |
130 | 152 | | |
131 | 153 | | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
132 | 175 | | |
133 | 176 | | |
134 | 177 | | |
| |||
141 | 184 | | |
142 | 185 | | |
143 | 186 | | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
144 | 199 | | |
145 | 200 | | |
146 | 201 | | |
| |||
232 | 287 | | |
233 | 288 | | |
234 | 289 | | |
235 | | - | |
| 290 | + | |
236 | 291 | | |
237 | 292 | | |
238 | 293 | | |
| |||
277 | 332 | | |
278 | 333 | | |
279 | 334 | | |
280 | | - | |
| 335 | + | |
281 | 336 | | |
282 | 337 | | |
283 | 338 | | |
| |||
291 | 346 | | |
292 | 347 | | |
293 | 348 | | |
294 | | - | |
| 349 | + | |
| 350 | + | |
295 | 351 | | |
296 | 352 | | |
297 | 353 | | |
| |||
307 | 363 | | |
308 | 364 | | |
309 | 365 | | |
310 | | - | |
| 366 | + | |
311 | 367 | | |
312 | 368 | | |
313 | 369 | | |
| |||
321 | 377 | | |
322 | 378 | | |
323 | 379 | | |
| 380 | + | |
| 381 | + | |
324 | 382 | | |
325 | 383 | | |
0 commit comments