@supericons/mcp 0.4.7 → 0.4.9
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/generated/motion-lab-baseline.json +1 -1
- package/hosted-search-client.js +42 -16
- package/index.js +3 -1
- package/package.json +1 -1
- package/public/product-facts.json +2 -2
- package/recommend-icons.js +1016 -232
- package/remote-server.js +3 -1
- package/server.json +2 -2
package/remote-server.js
CHANGED
|
@@ -271,11 +271,12 @@ function createServer() {
|
|
|
271
271
|
style: z.enum(['any', 'outline', 'solid']).optional().default('any').describe('Optional style preference. Use "outline" for most sidebar and toolbar icon sets unless the user asks otherwise.'),
|
|
272
272
|
locale: z.enum(multilingualLocaleValues).optional().describe('Optional locale for multilingual slot labels. Supported values: zh-Hans, zh-Hant, ja, ko, es, de, pt, ar, hi, vi, th.'),
|
|
273
273
|
limit_per_slot: z.number().min(1).max(5).optional().default(3).describe('Number of choices to return for each slot. Use 1 for a final pick or 2-3 when the user wants alternatives.'),
|
|
274
|
+
response_mode: z.enum(['plan', 'assets', 'full']).optional().default('plan').describe('Response size mode. Use plan for compact icon IDs and reasons, assets to include SVG only for each top recommendation, or full to include SVG and semantic payloads for all returned choices.'),
|
|
274
275
|
},
|
|
275
276
|
outputSchema: recommendIconsOutputSchema,
|
|
276
277
|
annotations: readOnlySearchAnnotations,
|
|
277
278
|
},
|
|
278
|
-
async ({ task, slots, library, style, locale, limit_per_slot }) => {
|
|
279
|
+
async ({ task, slots, library, style, locale, limit_per_slot, response_mode }) => {
|
|
279
280
|
const payload = await recommendIconsForTask({
|
|
280
281
|
task,
|
|
281
282
|
slots,
|
|
@@ -283,6 +284,7 @@ function createServer() {
|
|
|
283
284
|
style,
|
|
284
285
|
locale,
|
|
285
286
|
limitPerSlot: limit_per_slot,
|
|
287
|
+
responseMode: response_mode,
|
|
286
288
|
semanticMap,
|
|
287
289
|
searchIconsForQuery: searchHostedIcons,
|
|
288
290
|
buildIconResult: async (icon) => buildPublicIconResult(icon),
|
package/server.json
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
"url": "https://github.com/curlymolelabs/supericons",
|
|
8
8
|
"source": "github"
|
|
9
9
|
},
|
|
10
|
-
"version": "0.4.
|
|
10
|
+
"version": "0.4.9",
|
|
11
11
|
"remotes": [
|
|
12
12
|
{
|
|
13
13
|
"type": "streamable-http",
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
{
|
|
19
19
|
"registryType": "npm",
|
|
20
20
|
"identifier": "@supericons/mcp",
|
|
21
|
-
"version": "0.4.
|
|
21
|
+
"version": "0.4.9",
|
|
22
22
|
"transport": {
|
|
23
23
|
"type": "stdio"
|
|
24
24
|
}
|