|
268 | 268 | "description": "CSS variables for theming the app.", |
269 | 269 | "type": "object", |
270 | 270 | "propertyNames": { |
271 | | - "description": "Style variables for theming MCP apps.", |
| 271 | + "description": "Style variables for theming MCP apps.\n\nIndividual style keys are optional - hosts may provide any subset of these values.\nValues are strings containing CSS values (colors, sizes, font stacks, etc.).\n\nNote: This type uses `Record<K, string | undefined>` rather than `Partial<Record<K, string>>`\nfor compatibility with Zod schema generation. Both are functionally equivalent for validation.", |
272 | 272 | "anyOf": [ |
273 | 273 | { |
274 | 274 | "type": "string", |
|
417 | 417 | ] |
418 | 418 | }, |
419 | 419 | "additionalProperties": { |
420 | | - "description": "Style variables for theming MCP apps.", |
421 | | - "type": "string" |
| 420 | + "description": "Style variables for theming MCP apps.\n\nIndividual style keys are optional - hosts may provide any subset of these values.\nValues are strings containing CSS values (colors, sizes, font stacks, etc.).\n\nNote: This type uses `Record<K, string | undefined>` rather than `Partial<Record<K, string>>`\nfor compatibility with Zod schema generation. Both are functionally equivalent for validation.", |
| 421 | + "anyOf": [ |
| 422 | + { |
| 423 | + "type": "string" |
| 424 | + }, |
| 425 | + {} |
| 426 | + ] |
422 | 427 | } |
423 | 428 | }, |
424 | 429 | "displayMode": { |
|
711 | 716 | "description": "CSS variables for theming the app.", |
712 | 717 | "type": "object", |
713 | 718 | "propertyNames": { |
714 | | - "description": "Style variables for theming MCP apps.", |
| 719 | + "description": "Style variables for theming MCP apps.\n\nIndividual style keys are optional - hosts may provide any subset of these values.\nValues are strings containing CSS values (colors, sizes, font stacks, etc.).\n\nNote: This type uses `Record<K, string | undefined>` rather than `Partial<Record<K, string>>`\nfor compatibility with Zod schema generation. Both are functionally equivalent for validation.", |
715 | 720 | "anyOf": [ |
716 | 721 | { |
717 | 722 | "type": "string", |
|
860 | 865 | ] |
861 | 866 | }, |
862 | 867 | "additionalProperties": { |
863 | | - "description": "Style variables for theming MCP apps.", |
864 | | - "type": "string" |
| 868 | + "description": "Style variables for theming MCP apps.\n\nIndividual style keys are optional - hosts may provide any subset of these values.\nValues are strings containing CSS values (colors, sizes, font stacks, etc.).\n\nNote: This type uses `Record<K, string | undefined>` rather than `Partial<Record<K, string>>`\nfor compatibility with Zod schema generation. Both are functionally equivalent for validation.", |
| 869 | + "anyOf": [ |
| 870 | + { |
| 871 | + "type": "string" |
| 872 | + }, |
| 873 | + {} |
| 874 | + ] |
865 | 875 | } |
866 | 876 | }, |
867 | 877 | "displayMode": { |
|
1336 | 1346 | "description": "CSS variables for theming the app.", |
1337 | 1347 | "type": "object", |
1338 | 1348 | "propertyNames": { |
1339 | | - "description": "Style variables for theming MCP apps.", |
| 1349 | + "description": "Style variables for theming MCP apps.\n\nIndividual style keys are optional - hosts may provide any subset of these values.\nValues are strings containing CSS values (colors, sizes, font stacks, etc.).\n\nNote: This type uses `Record<K, string | undefined>` rather than `Partial<Record<K, string>>`\nfor compatibility with Zod schema generation. Both are functionally equivalent for validation.", |
1340 | 1350 | "anyOf": [ |
1341 | 1351 | { |
1342 | 1352 | "type": "string", |
|
1485 | 1495 | ] |
1486 | 1496 | }, |
1487 | 1497 | "additionalProperties": { |
1488 | | - "description": "Style variables for theming MCP apps.", |
1489 | | - "type": "string" |
| 1498 | + "description": "Style variables for theming MCP apps.\n\nIndividual style keys are optional - hosts may provide any subset of these values.\nValues are strings containing CSS values (colors, sizes, font stacks, etc.).\n\nNote: This type uses `Record<K, string | undefined>` rather than `Partial<Record<K, string>>`\nfor compatibility with Zod schema generation. Both are functionally equivalent for validation.", |
| 1499 | + "anyOf": [ |
| 1500 | + { |
| 1501 | + "type": "string" |
| 1502 | + }, |
| 1503 | + {} |
| 1504 | + ] |
1490 | 1505 | } |
1491 | 1506 | }, |
1492 | 1507 | "displayMode": { |
|
2341 | 2356 | }, |
2342 | 2357 | "McpUiStyles": { |
2343 | 2358 | "$schema": "https://json-schema.org/draft/2020-12/schema", |
2344 | | - "description": "Style variables for theming MCP apps.", |
| 2359 | + "description": "Style variables for theming MCP apps.\n\nIndividual style keys are optional - hosts may provide any subset of these values.\nValues are strings containing CSS values (colors, sizes, font stacks, etc.).\n\nNote: This type uses `Record<K, string | undefined>` rather than `Partial<Record<K, string>>`\nfor compatibility with Zod schema generation. Both are functionally equivalent for validation.", |
2345 | 2360 | "type": "object", |
2346 | 2361 | "propertyNames": { |
2347 | | - "description": "Style variables for theming MCP apps.", |
| 2362 | + "description": "Style variables for theming MCP apps.\n\nIndividual style keys are optional - hosts may provide any subset of these values.\nValues are strings containing CSS values (colors, sizes, font stacks, etc.).\n\nNote: This type uses `Record<K, string | undefined>` rather than `Partial<Record<K, string>>`\nfor compatibility with Zod schema generation. Both are functionally equivalent for validation.", |
2348 | 2363 | "anyOf": [ |
2349 | 2364 | { |
2350 | 2365 | "type": "string", |
|
2493 | 2508 | ] |
2494 | 2509 | }, |
2495 | 2510 | "additionalProperties": { |
2496 | | - "description": "Style variables for theming MCP apps.", |
2497 | | - "type": "string" |
| 2511 | + "description": "Style variables for theming MCP apps.\n\nIndividual style keys are optional - hosts may provide any subset of these values.\nValues are strings containing CSS values (colors, sizes, font stacks, etc.).\n\nNote: This type uses `Record<K, string | undefined>` rather than `Partial<Record<K, string>>`\nfor compatibility with Zod schema generation. Both are functionally equivalent for validation.", |
| 2512 | + "anyOf": [ |
| 2513 | + { |
| 2514 | + "type": "string" |
| 2515 | + }, |
| 2516 | + {} |
| 2517 | + ] |
2498 | 2518 | } |
2499 | 2519 | }, |
2500 | 2520 | "McpUiTheme": { |
|
0 commit comments