@framingui/mcp-server 0.6.9 → 0.6.10

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.
Files changed (88) hide show
  1. package/README.md +52 -10
  2. package/dist/cli/commands.d.ts +2 -0
  3. package/dist/cli/commands.d.ts.map +1 -0
  4. package/dist/cli/commands.js +20 -0
  5. package/dist/cli/commands.js.map +1 -0
  6. package/dist/cli/help.d.ts +5 -0
  7. package/dist/cli/help.d.ts.map +1 -0
  8. package/dist/cli/help.js +59 -0
  9. package/dist/cli/help.js.map +1 -0
  10. package/dist/cli/index.d.ts +1 -1
  11. package/dist/cli/index.js +47 -3
  12. package/dist/cli/index.js.map +1 -1
  13. package/dist/cli/init.d.ts.map +1 -1
  14. package/dist/cli/init.js +3 -13
  15. package/dist/cli/init.js.map +1 -1
  16. package/dist/cli/package-manager.d.ts +5 -0
  17. package/dist/cli/package-manager.d.ts.map +1 -0
  18. package/dist/cli/package-manager.js +34 -0
  19. package/dist/cli/package-manager.js.map +1 -0
  20. package/dist/cli/update.d.ts +8 -0
  21. package/dist/cli/update.d.ts.map +1 -0
  22. package/dist/cli/update.js +53 -0
  23. package/dist/cli/update.js.map +1 -0
  24. package/dist/commands/slash-command-adapters.d.ts +9 -0
  25. package/dist/commands/slash-command-adapters.d.ts.map +1 -0
  26. package/dist/commands/slash-command-adapters.js +113 -0
  27. package/dist/commands/slash-command-adapters.js.map +1 -0
  28. package/dist/commands/slash-command-registry.d.ts +25 -0
  29. package/dist/commands/slash-command-registry.d.ts.map +1 -0
  30. package/dist/commands/slash-command-registry.js +330 -0
  31. package/dist/commands/slash-command-registry.js.map +1 -0
  32. package/dist/data/component-props.d.ts +30 -0
  33. package/dist/data/component-props.d.ts.map +1 -0
  34. package/dist/data/component-props.js +537 -0
  35. package/dist/data/component-props.js.map +1 -0
  36. package/dist/data/component-registry.d.ts +30 -0
  37. package/dist/data/component-registry.d.ts.map +1 -0
  38. package/dist/data/component-registry.js +320 -0
  39. package/dist/data/component-registry.js.map +1 -0
  40. package/dist/data/examples/screen-examples.d.ts +38 -0
  41. package/dist/data/examples/screen-examples.d.ts.map +1 -0
  42. package/dist/data/examples/screen-examples.js +500 -0
  43. package/dist/data/examples/screen-examples.js.map +1 -0
  44. package/dist/index.js +7 -22
  45. package/dist/index.js.map +1 -1
  46. package/dist/prompts/a11y-workflow.d.ts +10 -0
  47. package/dist/prompts/a11y-workflow.d.ts.map +1 -0
  48. package/dist/prompts/a11y-workflow.js +46 -0
  49. package/dist/prompts/a11y-workflow.js.map +1 -0
  50. package/dist/prompts/command-help.d.ts +10 -0
  51. package/dist/prompts/command-help.d.ts.map +1 -0
  52. package/dist/prompts/command-help.js +87 -0
  53. package/dist/prompts/command-help.js.map +1 -0
  54. package/dist/prompts/doctor-workflow.d.ts +10 -0
  55. package/dist/prompts/doctor-workflow.d.ts.map +1 -0
  56. package/dist/prompts/doctor-workflow.js +37 -0
  57. package/dist/prompts/doctor-workflow.js.map +1 -0
  58. package/dist/prompts/getting-started.d.ts.map +1 -1
  59. package/dist/prompts/getting-started.js +18 -1
  60. package/dist/prompts/getting-started.js.map +1 -1
  61. package/dist/prompts/prompt-catalog.d.ts +26 -0
  62. package/dist/prompts/prompt-catalog.d.ts.map +1 -0
  63. package/dist/prompts/prompt-catalog.js +82 -0
  64. package/dist/prompts/prompt-catalog.js.map +1 -0
  65. package/dist/prompts/responsive-workflow.d.ts +10 -0
  66. package/dist/prompts/responsive-workflow.d.ts.map +1 -0
  67. package/dist/prompts/responsive-workflow.js +52 -0
  68. package/dist/prompts/responsive-workflow.js.map +1 -0
  69. package/dist/prompts/slash-commands.d.ts +10 -0
  70. package/dist/prompts/slash-commands.d.ts.map +1 -0
  71. package/dist/prompts/slash-commands.js +31 -0
  72. package/dist/prompts/slash-commands.js.map +1 -0
  73. package/dist/prompts/theme-swap-workflow.d.ts +10 -0
  74. package/dist/prompts/theme-swap-workflow.d.ts.map +1 -0
  75. package/dist/prompts/theme-swap-workflow.js +35 -0
  76. package/dist/prompts/theme-swap-workflow.js.map +1 -0
  77. package/dist/prompts/update-workflow.d.ts +10 -0
  78. package/dist/prompts/update-workflow.d.ts.map +1 -0
  79. package/dist/prompts/update-workflow.js +36 -0
  80. package/dist/prompts/update-workflow.js.map +1 -0
  81. package/dist/schemas/mcp-schemas.d.ts +220 -220
  82. package/dist/tools/generate-screen.d.ts.map +1 -1
  83. package/dist/tools/generate-screen.js +36 -28
  84. package/dist/tools/generate-screen.js.map +1 -1
  85. package/dist/tools/validate-screen-definition.d.ts.map +1 -1
  86. package/dist/tools/validate-screen-definition.js +38 -95
  87. package/dist/tools/validate-screen-definition.js.map +1 -1
  88. package/package.json +1 -1
@@ -36,8 +36,8 @@ export declare const WhoamiOutputSchema: z.ZodObject<{
36
36
  error: z.ZodOptional<z.ZodString>;
37
37
  }, "strip", z.ZodTypeAny, {
38
38
  success: boolean;
39
- message?: string | undefined;
40
39
  error?: string | undefined;
40
+ message?: string | undefined;
41
41
  plan?: "free" | "pro" | "enterprise" | "master" | undefined;
42
42
  isMaster?: boolean | undefined;
43
43
  licensedThemes?: string[] | undefined;
@@ -51,8 +51,8 @@ export declare const WhoamiOutputSchema: z.ZodObject<{
51
51
  trial_days_left?: number | null | undefined;
52
52
  }, {
53
53
  success: boolean;
54
- message?: string | undefined;
55
54
  error?: string | undefined;
55
+ message?: string | undefined;
56
56
  plan?: "free" | "pro" | "enterprise" | "master" | undefined;
57
57
  isMaster?: boolean | undefined;
58
58
  licensedThemes?: string[] | undefined;
@@ -87,15 +87,15 @@ export declare const GenerateBlueprintInputSchema: z.ZodObject<{
87
87
  iconLibrary: z.ZodOptional<z.ZodString>;
88
88
  componentHints: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
89
89
  }, "strip", z.ZodTypeAny, {
90
- themeId: string;
91
90
  description: string;
92
- layout: "single-column" | "two-column" | "sidebar-left" | "sidebar-right" | "dashboard" | "landing";
91
+ layout: "dashboard" | "single-column" | "two-column" | "sidebar-left" | "sidebar-right" | "landing";
92
+ themeId: string;
93
93
  iconLibrary?: string | undefined;
94
94
  componentHints?: string[] | undefined;
95
95
  }, {
96
- themeId: string;
97
96
  description: string;
98
- layout: "single-column" | "two-column" | "sidebar-left" | "sidebar-right" | "dashboard" | "landing";
97
+ layout: "dashboard" | "single-column" | "two-column" | "sidebar-left" | "sidebar-right" | "landing";
98
+ themeId: string;
99
99
  iconLibrary?: string | undefined;
100
100
  componentHints?: string[] | undefined;
101
101
  }>;
@@ -115,35 +115,35 @@ export declare const TemplateRecommendationSchema: z.ZodObject<{
115
115
  page: z.ZodString;
116
116
  description: z.ZodString;
117
117
  }, "strip", z.ZodTypeAny, {
118
- description: string;
119
118
  shell: string;
120
119
  page: string;
121
- }, {
122
120
  description: string;
121
+ }, {
123
122
  shell: string;
124
123
  page: string;
124
+ description: string;
125
125
  }>;
126
126
  }, "strip", z.ZodTypeAny, {
127
+ category: string;
127
128
  templateId: string;
128
129
  templateName: string;
129
- category: string;
130
130
  confidence: number;
131
131
  matchedKeywords: string[];
132
132
  layoutRecommendation: {
133
- description: string;
134
133
  shell: string;
135
134
  page: string;
135
+ description: string;
136
136
  };
137
137
  }, {
138
+ category: string;
138
139
  templateId: string;
139
140
  templateName: string;
140
- category: string;
141
141
  confidence: number;
142
142
  matchedKeywords: string[];
143
143
  layoutRecommendation: {
144
- description: string;
145
144
  shell: string;
146
145
  page: string;
146
+ description: string;
147
147
  };
148
148
  }>;
149
149
  export type TemplateRecommendation = z.infer<typeof TemplateRecommendationSchema>;
@@ -173,10 +173,10 @@ export declare const GenerateBlueprintOutputSchema: z.ZodObject<{
173
173
  }>, "many">;
174
174
  timestamp: z.ZodNumber;
175
175
  }, "strip", z.ZodTypeAny, {
176
- themeId: string;
177
176
  id: string;
178
177
  name: string;
179
- layout: "single-column" | "two-column" | "sidebar-left" | "sidebar-right" | "dashboard" | "landing";
178
+ layout: "dashboard" | "single-column" | "two-column" | "sidebar-left" | "sidebar-right" | "landing";
179
+ themeId: string;
180
180
  iconLibrary: string;
181
181
  components: {
182
182
  type: string;
@@ -186,10 +186,10 @@ export declare const GenerateBlueprintOutputSchema: z.ZodObject<{
186
186
  }[];
187
187
  timestamp: number;
188
188
  }, {
189
- themeId: string;
190
189
  id: string;
191
190
  name: string;
192
- layout: "single-column" | "two-column" | "sidebar-left" | "sidebar-right" | "dashboard" | "landing";
191
+ layout: "dashboard" | "single-column" | "two-column" | "sidebar-left" | "sidebar-right" | "landing";
192
+ themeId: string;
193
193
  iconLibrary: string;
194
194
  components: {
195
195
  type: string;
@@ -210,35 +210,35 @@ export declare const GenerateBlueprintOutputSchema: z.ZodObject<{
210
210
  page: z.ZodString;
211
211
  description: z.ZodString;
212
212
  }, "strip", z.ZodTypeAny, {
213
- description: string;
214
213
  shell: string;
215
214
  page: string;
216
- }, {
217
215
  description: string;
216
+ }, {
218
217
  shell: string;
219
218
  page: string;
219
+ description: string;
220
220
  }>;
221
221
  }, "strip", z.ZodTypeAny, {
222
+ category: string;
222
223
  templateId: string;
223
224
  templateName: string;
224
- category: string;
225
225
  confidence: number;
226
226
  matchedKeywords: string[];
227
227
  layoutRecommendation: {
228
- description: string;
229
228
  shell: string;
230
229
  page: string;
230
+ description: string;
231
231
  };
232
232
  }, {
233
+ category: string;
233
234
  templateId: string;
234
235
  templateName: string;
235
- category: string;
236
236
  confidence: number;
237
237
  matchedKeywords: string[];
238
238
  layoutRecommendation: {
239
- description: string;
240
239
  shell: string;
241
240
  page: string;
241
+ description: string;
242
242
  };
243
243
  }>, "many">>;
244
244
  error: z.ZodOptional<z.ZodString>;
@@ -246,10 +246,10 @@ export declare const GenerateBlueprintOutputSchema: z.ZodObject<{
246
246
  success: boolean;
247
247
  error?: string | undefined;
248
248
  blueprint?: {
249
- themeId: string;
250
249
  id: string;
251
250
  name: string;
252
- layout: "single-column" | "two-column" | "sidebar-left" | "sidebar-right" | "dashboard" | "landing";
251
+ layout: "dashboard" | "single-column" | "two-column" | "sidebar-left" | "sidebar-right" | "landing";
252
+ themeId: string;
253
253
  iconLibrary: string;
254
254
  components: {
255
255
  type: string;
@@ -260,25 +260,25 @@ export declare const GenerateBlueprintOutputSchema: z.ZodObject<{
260
260
  timestamp: number;
261
261
  } | undefined;
262
262
  templateRecommendations?: {
263
+ category: string;
263
264
  templateId: string;
264
265
  templateName: string;
265
- category: string;
266
266
  confidence: number;
267
267
  matchedKeywords: string[];
268
268
  layoutRecommendation: {
269
- description: string;
270
269
  shell: string;
271
270
  page: string;
271
+ description: string;
272
272
  };
273
273
  }[] | undefined;
274
274
  }, {
275
275
  success: boolean;
276
276
  error?: string | undefined;
277
277
  blueprint?: {
278
- themeId: string;
279
278
  id: string;
280
279
  name: string;
281
- layout: "single-column" | "two-column" | "sidebar-left" | "sidebar-right" | "dashboard" | "landing";
280
+ layout: "dashboard" | "single-column" | "two-column" | "sidebar-left" | "sidebar-right" | "landing";
281
+ themeId: string;
282
282
  iconLibrary: string;
283
283
  components: {
284
284
  type: string;
@@ -289,15 +289,15 @@ export declare const GenerateBlueprintOutputSchema: z.ZodObject<{
289
289
  timestamp: number;
290
290
  } | undefined;
291
291
  templateRecommendations?: {
292
+ category: string;
292
293
  templateId: string;
293
294
  templateName: string;
294
- category: string;
295
295
  confidence: number;
296
296
  matchedKeywords: string[];
297
297
  layoutRecommendation: {
298
- description: string;
299
298
  shell: string;
300
299
  page: string;
300
+ description: string;
301
301
  };
302
302
  }[] | undefined;
303
303
  }>;
@@ -441,16 +441,16 @@ export declare const PreviewThemeOutputSchema: z.ZodObject<{
441
441
  elevation: z.ZodOptional<z.ZodUnknown>;
442
442
  typography: z.ZodOptional<z.ZodUnknown>;
443
443
  }, "strip", z.ZodTypeAny, {
444
+ id: string;
445
+ name: string;
446
+ brandTone: string;
447
+ schemaVersion: string;
444
448
  tokens: {
445
449
  atomic?: unknown;
446
450
  semantic?: unknown;
447
451
  component?: unknown;
448
452
  recipes?: unknown;
449
453
  };
450
- id: string;
451
- name: string;
452
- brandTone: string;
453
- schemaVersion: string;
454
454
  description?: string | undefined;
455
455
  designDNA?: {
456
456
  moodKeywords: string[];
@@ -462,16 +462,16 @@ export declare const PreviewThemeOutputSchema: z.ZodObject<{
462
462
  elevation?: unknown;
463
463
  typography?: unknown;
464
464
  }, {
465
+ id: string;
466
+ name: string;
467
+ brandTone: string;
468
+ schemaVersion: string;
465
469
  tokens: {
466
470
  atomic?: unknown;
467
471
  semantic?: unknown;
468
472
  component?: unknown;
469
473
  recipes?: unknown;
470
474
  };
471
- id: string;
472
- name: string;
473
- brandTone: string;
474
- schemaVersion: string;
475
475
  description?: string | undefined;
476
476
  designDNA?: {
477
477
  moodKeywords: string[];
@@ -487,17 +487,18 @@ export declare const PreviewThemeOutputSchema: z.ZodObject<{
487
487
  error: z.ZodOptional<z.ZodString>;
488
488
  }, "strip", z.ZodTypeAny, {
489
489
  success: boolean;
490
+ error?: string | undefined;
490
491
  theme?: {
492
+ id: string;
493
+ name: string;
494
+ brandTone: string;
495
+ schemaVersion: string;
491
496
  tokens: {
492
497
  atomic?: unknown;
493
498
  semantic?: unknown;
494
499
  component?: unknown;
495
500
  recipes?: unknown;
496
501
  };
497
- id: string;
498
- name: string;
499
- brandTone: string;
500
- schemaVersion: string;
501
502
  description?: string | undefined;
502
503
  designDNA?: {
503
504
  moodKeywords: string[];
@@ -510,20 +511,20 @@ export declare const PreviewThemeOutputSchema: z.ZodObject<{
510
511
  typography?: unknown;
511
512
  } | undefined;
512
513
  css?: string | undefined;
513
- error?: string | undefined;
514
514
  }, {
515
515
  success: boolean;
516
+ error?: string | undefined;
516
517
  theme?: {
518
+ id: string;
519
+ name: string;
520
+ brandTone: string;
521
+ schemaVersion: string;
517
522
  tokens: {
518
523
  atomic?: unknown;
519
524
  semantic?: unknown;
520
525
  component?: unknown;
521
526
  recipes?: unknown;
522
527
  };
523
- id: string;
524
- name: string;
525
- brandTone: string;
526
- schemaVersion: string;
527
528
  description?: string | undefined;
528
529
  designDNA?: {
529
530
  moodKeywords: string[];
@@ -536,7 +537,6 @@ export declare const PreviewThemeOutputSchema: z.ZodObject<{
536
537
  typography?: unknown;
537
538
  } | undefined;
538
539
  css?: string | undefined;
539
- error?: string | undefined;
540
540
  }>;
541
541
  export type PreviewThemeOutput = z.infer<typeof PreviewThemeOutputSchema>;
542
542
  /**
@@ -569,12 +569,12 @@ export declare const ExportScreenOutputSchema: z.ZodObject<{
569
569
  error: z.ZodOptional<z.ZodString>;
570
570
  }, "strip", z.ZodTypeAny, {
571
571
  success: boolean;
572
- code?: string | undefined;
573
572
  error?: string | undefined;
573
+ code?: string | undefined;
574
574
  }, {
575
575
  success: boolean;
576
- code?: string | undefined;
577
576
  error?: string | undefined;
577
+ code?: string | undefined;
578
578
  }>;
579
579
  /**
580
580
  * Export component resolution tier
@@ -614,8 +614,8 @@ export declare const HybridExportInputSchema: z.ZodObject<{
614
614
  }, {
615
615
  format: "jsx" | "tsx" | "vue";
616
616
  themeId?: string | undefined;
617
- includeCSS?: boolean | undefined;
618
617
  blueprint?: unknown;
618
+ includeCSS?: boolean | undefined;
619
619
  componentName?: string | undefined;
620
620
  componentDescription?: string | undefined;
621
621
  tier?: "tier1" | "tier2" | "auto" | undefined;
@@ -667,25 +667,25 @@ export declare const HybridExportOutputSchema: z.ZodObject<{
667
667
  error: z.ZodOptional<z.ZodString>;
668
668
  }, "strip", z.ZodTypeAny, {
669
669
  success: boolean;
670
- code?: string | undefined;
671
- css?: string | undefined;
672
670
  error?: string | undefined;
671
+ code?: string | undefined;
673
672
  components?: {
674
673
  code: string;
675
674
  componentName: string;
676
675
  source: "tier1-ui" | "tier1-example" | "tier2-llm" | "tier2-mock";
677
676
  }[] | undefined;
677
+ css?: string | undefined;
678
678
  tierUsed?: "tier1" | "tier2" | "auto" | undefined;
679
679
  }, {
680
680
  success: boolean;
681
- code?: string | undefined;
682
- css?: string | undefined;
683
681
  error?: string | undefined;
682
+ code?: string | undefined;
684
683
  components?: {
685
684
  code: string;
686
685
  componentName: string;
687
686
  source: "tier1-ui" | "tier1-example" | "tier2-llm" | "tier2-mock";
688
687
  }[] | undefined;
688
+ css?: string | undefined;
689
689
  tierUsed?: "tier1" | "tier2" | "auto" | undefined;
690
690
  }>;
691
691
  export type HybridExportOutput = z.infer<typeof HybridExportOutputSchema>;
@@ -698,11 +698,11 @@ export declare const ErrorResponseSchema: z.ZodObject<{
698
698
  success: z.ZodLiteral<false>;
699
699
  error: z.ZodString;
700
700
  }, "strip", z.ZodTypeAny, {
701
- success: false;
702
701
  error: string;
703
- }, {
704
702
  success: false;
703
+ }, {
705
704
  error: string;
705
+ success: false;
706
706
  }>;
707
707
  export type ErrorResponse = z.infer<typeof ErrorResponseSchema>;
708
708
  /**
@@ -839,8 +839,8 @@ export declare const GenerateScreenOutputSchema: z.ZodObject<{
839
839
  error: z.ZodOptional<z.ZodString>;
840
840
  }, "strip", z.ZodTypeAny, {
841
841
  success: boolean;
842
- code?: string | undefined;
843
842
  error?: string | undefined;
843
+ code?: string | undefined;
844
844
  cssVariables?: string | undefined;
845
845
  dependencies?: {
846
846
  external: string[];
@@ -860,8 +860,8 @@ export declare const GenerateScreenOutputSchema: z.ZodObject<{
860
860
  errors?: string[] | undefined;
861
861
  }, {
862
862
  success: boolean;
863
- code?: string | undefined;
864
863
  error?: string | undefined;
864
+ code?: string | undefined;
865
865
  cssVariables?: string | undefined;
866
866
  dependencies?: {
867
867
  external: string[];
@@ -936,8 +936,8 @@ export declare const ValidateScreenOutputSchema: z.ZodObject<{
936
936
  error: z.ZodOptional<z.ZodString>;
937
937
  }, "strip", z.ZodTypeAny, {
938
938
  success: boolean;
939
- valid?: boolean | undefined;
940
939
  error?: string | undefined;
940
+ valid?: boolean | undefined;
941
941
  errors?: string[] | undefined;
942
942
  warnings?: string[] | undefined;
943
943
  suggestions?: {
@@ -947,8 +947,8 @@ export declare const ValidateScreenOutputSchema: z.ZodObject<{
947
947
  }[] | undefined;
948
948
  }, {
949
949
  success: boolean;
950
- valid?: boolean | undefined;
951
950
  error?: string | undefined;
951
+ valid?: boolean | undefined;
952
952
  errors?: string[] | undefined;
953
953
  warnings?: string[] | undefined;
954
954
  suggestions?: {
@@ -970,11 +970,11 @@ export declare const ListTokensInputSchema: z.ZodObject<{
970
970
  tokenType: z.ZodDefault<z.ZodOptional<z.ZodEnum<["shell", "page", "section", "all"]>>>;
971
971
  filter: z.ZodOptional<z.ZodString>;
972
972
  }, "strip", z.ZodTypeAny, {
973
- tokenType: "shell" | "page" | "section" | "all";
973
+ tokenType: "all" | "shell" | "page" | "section";
974
974
  filter?: string | undefined;
975
975
  }, {
976
976
  filter?: string | undefined;
977
- tokenType?: "shell" | "page" | "section" | "all" | undefined;
977
+ tokenType?: "all" | "shell" | "page" | "section" | undefined;
978
978
  }>;
979
979
  export type ListTokensInput = z.infer<typeof ListTokensInputSchema>;
980
980
  /**
@@ -989,16 +989,16 @@ export declare const TokenMetadataSchema: z.ZodObject<{
989
989
  type: z.ZodOptional<z.ZodString>;
990
990
  }, "strip", z.ZodTypeAny, {
991
991
  id: string;
992
- type?: string | undefined;
993
992
  name?: string | undefined;
994
993
  description?: string | undefined;
994
+ type?: string | undefined;
995
995
  platform?: string | undefined;
996
996
  purpose?: string | undefined;
997
997
  }, {
998
998
  id: string;
999
- type?: string | undefined;
1000
999
  name?: string | undefined;
1001
1000
  description?: string | undefined;
1001
+ type?: string | undefined;
1002
1002
  platform?: string | undefined;
1003
1003
  purpose?: string | undefined;
1004
1004
  }>;
@@ -1017,16 +1017,16 @@ export declare const ListTokensOutputSchema: z.ZodObject<{
1017
1017
  type: z.ZodOptional<z.ZodString>;
1018
1018
  }, "strip", z.ZodTypeAny, {
1019
1019
  id: string;
1020
- type?: string | undefined;
1021
1020
  name?: string | undefined;
1022
1021
  description?: string | undefined;
1022
+ type?: string | undefined;
1023
1023
  platform?: string | undefined;
1024
1024
  purpose?: string | undefined;
1025
1025
  }, {
1026
1026
  id: string;
1027
- type?: string | undefined;
1028
1027
  name?: string | undefined;
1029
1028
  description?: string | undefined;
1029
+ type?: string | undefined;
1030
1030
  platform?: string | undefined;
1031
1031
  purpose?: string | undefined;
1032
1032
  }>, "many">>;
@@ -1039,16 +1039,16 @@ export declare const ListTokensOutputSchema: z.ZodObject<{
1039
1039
  type: z.ZodOptional<z.ZodString>;
1040
1040
  }, "strip", z.ZodTypeAny, {
1041
1041
  id: string;
1042
- type?: string | undefined;
1043
1042
  name?: string | undefined;
1044
1043
  description?: string | undefined;
1044
+ type?: string | undefined;
1045
1045
  platform?: string | undefined;
1046
1046
  purpose?: string | undefined;
1047
1047
  }, {
1048
1048
  id: string;
1049
- type?: string | undefined;
1050
1049
  name?: string | undefined;
1051
1050
  description?: string | undefined;
1051
+ type?: string | undefined;
1052
1052
  platform?: string | undefined;
1053
1053
  purpose?: string | undefined;
1054
1054
  }>, "many">>;
@@ -1061,16 +1061,16 @@ export declare const ListTokensOutputSchema: z.ZodObject<{
1061
1061
  type: z.ZodOptional<z.ZodString>;
1062
1062
  }, "strip", z.ZodTypeAny, {
1063
1063
  id: string;
1064
- type?: string | undefined;
1065
1064
  name?: string | undefined;
1066
1065
  description?: string | undefined;
1066
+ type?: string | undefined;
1067
1067
  platform?: string | undefined;
1068
1068
  purpose?: string | undefined;
1069
1069
  }, {
1070
1070
  id: string;
1071
- type?: string | undefined;
1072
1071
  name?: string | undefined;
1073
1072
  description?: string | undefined;
1073
+ type?: string | undefined;
1074
1074
  platform?: string | undefined;
1075
1075
  purpose?: string | undefined;
1076
1076
  }>, "many">>;
@@ -1090,25 +1090,25 @@ export declare const ListTokensOutputSchema: z.ZodObject<{
1090
1090
  error?: string | undefined;
1091
1091
  shells?: {
1092
1092
  id: string;
1093
- type?: string | undefined;
1094
1093
  name?: string | undefined;
1095
1094
  description?: string | undefined;
1095
+ type?: string | undefined;
1096
1096
  platform?: string | undefined;
1097
1097
  purpose?: string | undefined;
1098
1098
  }[] | undefined;
1099
1099
  pages?: {
1100
1100
  id: string;
1101
- type?: string | undefined;
1102
1101
  name?: string | undefined;
1103
1102
  description?: string | undefined;
1103
+ type?: string | undefined;
1104
1104
  platform?: string | undefined;
1105
1105
  purpose?: string | undefined;
1106
1106
  }[] | undefined;
1107
1107
  sections?: {
1108
1108
  id: string;
1109
- type?: string | undefined;
1110
1109
  name?: string | undefined;
1111
1110
  description?: string | undefined;
1111
+ type?: string | undefined;
1112
1112
  platform?: string | undefined;
1113
1113
  purpose?: string | undefined;
1114
1114
  }[] | undefined;
@@ -1121,25 +1121,25 @@ export declare const ListTokensOutputSchema: z.ZodObject<{
1121
1121
  error?: string | undefined;
1122
1122
  shells?: {
1123
1123
  id: string;
1124
- type?: string | undefined;
1125
1124
  name?: string | undefined;
1126
1125
  description?: string | undefined;
1126
+ type?: string | undefined;
1127
1127
  platform?: string | undefined;
1128
1128
  purpose?: string | undefined;
1129
1129
  }[] | undefined;
1130
1130
  pages?: {
1131
1131
  id: string;
1132
- type?: string | undefined;
1133
1132
  name?: string | undefined;
1134
1133
  description?: string | undefined;
1134
+ type?: string | undefined;
1135
1135
  platform?: string | undefined;
1136
1136
  purpose?: string | undefined;
1137
1137
  }[] | undefined;
1138
1138
  sections?: {
1139
1139
  id: string;
1140
- type?: string | undefined;
1141
1140
  name?: string | undefined;
1142
1141
  description?: string | undefined;
1142
+ type?: string | undefined;
1143
1143
  platform?: string | undefined;
1144
1144
  purpose?: string | undefined;
1145
1145
  }[] | undefined;
@@ -1553,8 +1553,8 @@ export declare const ListComponentsInputSchema: z.ZodObject<{
1553
1553
  category: "all" | "core" | "complex" | "advanced";
1554
1554
  search?: string | undefined;
1555
1555
  }, {
1556
- search?: string | undefined;
1557
1556
  category?: "all" | "core" | "complex" | "advanced" | undefined;
1557
+ search?: string | undefined;
1558
1558
  }>;
1559
1559
  export type ListComponentsInput = z.infer<typeof ListComponentsInputSchema>;
1560
1560
  /**
@@ -1569,18 +1569,18 @@ export declare const ComponentMetaSchema: z.ZodObject<{
1569
1569
  hasSubComponents: z.ZodBoolean;
1570
1570
  tier: z.ZodNumber;
1571
1571
  }, "strip", z.ZodTypeAny, {
1572
+ category: "core" | "complex" | "advanced";
1572
1573
  id: string;
1573
1574
  name: string;
1574
1575
  description: string;
1575
- category: "core" | "complex" | "advanced";
1576
1576
  tier: number;
1577
1577
  variantsCount: number;
1578
1578
  hasSubComponents: boolean;
1579
1579
  }, {
1580
+ category: "core" | "complex" | "advanced";
1580
1581
  id: string;
1581
1582
  name: string;
1582
1583
  description: string;
1583
- category: "core" | "complex" | "advanced";
1584
1584
  tier: number;
1585
1585
  variantsCount: number;
1586
1586
  hasSubComponents: boolean;
@@ -1600,18 +1600,18 @@ export declare const ListComponentsOutputSchema: z.ZodObject<{
1600
1600
  hasSubComponents: z.ZodBoolean;
1601
1601
  tier: z.ZodNumber;
1602
1602
  }, "strip", z.ZodTypeAny, {
1603
+ category: "core" | "complex" | "advanced";
1603
1604
  id: string;
1604
1605
  name: string;
1605
1606
  description: string;
1606
- category: "core" | "complex" | "advanced";
1607
1607
  tier: number;
1608
1608
  variantsCount: number;
1609
1609
  hasSubComponents: boolean;
1610
1610
  }, {
1611
+ category: "core" | "complex" | "advanced";
1611
1612
  id: string;
1612
1613
  name: string;
1613
1614
  description: string;
1614
- category: "core" | "complex" | "advanced";
1615
1615
  tier: number;
1616
1616
  variantsCount: number;
1617
1617
  hasSubComponents: boolean;
@@ -1635,10 +1635,10 @@ export declare const ListComponentsOutputSchema: z.ZodObject<{
1635
1635
  success: boolean;
1636
1636
  error?: string | undefined;
1637
1637
  components?: {
1638
+ category: "core" | "complex" | "advanced";
1638
1639
  id: string;
1639
1640
  name: string;
1640
1641
  description: string;
1641
- category: "core" | "complex" | "advanced";
1642
1642
  tier: number;
1643
1643
  variantsCount: number;
1644
1644
  hasSubComponents: boolean;
@@ -1653,10 +1653,10 @@ export declare const ListComponentsOutputSchema: z.ZodObject<{
1653
1653
  success: boolean;
1654
1654
  error?: string | undefined;
1655
1655
  components?: {
1656
+ category: "core" | "complex" | "advanced";
1656
1657
  id: string;
1657
1658
  name: string;
1658
1659
  description: string;
1659
- category: "core" | "complex" | "advanced";
1660
1660
  tier: number;
1661
1661
  variantsCount: number;
1662
1662
  hasSubComponents: boolean;
@@ -1697,14 +1697,14 @@ export declare const PropDefinitionSchema: z.ZodObject<{
1697
1697
  defaultValue: z.ZodOptional<z.ZodString>;
1698
1698
  description: z.ZodOptional<z.ZodString>;
1699
1699
  }, "strip", z.ZodTypeAny, {
1700
- type: string;
1701
1700
  name: string;
1701
+ type: string;
1702
1702
  required: boolean;
1703
1703
  description?: string | undefined;
1704
1704
  defaultValue?: string | undefined;
1705
1705
  }, {
1706
- type: string;
1707
1706
  name: string;
1707
+ type: string;
1708
1708
  required: boolean;
1709
1709
  description?: string | undefined;
1710
1710
  defaultValue?: string | undefined;
@@ -1718,12 +1718,12 @@ export declare const VariantSchema: z.ZodObject<{
1718
1718
  value: z.ZodString;
1719
1719
  description: z.ZodOptional<z.ZodString>;
1720
1720
  }, "strip", z.ZodTypeAny, {
1721
- value: string;
1722
1721
  name: string;
1722
+ value: string;
1723
1723
  description?: string | undefined;
1724
1724
  }, {
1725
- value: string;
1726
1725
  name: string;
1726
+ value: string;
1727
1727
  description?: string | undefined;
1728
1728
  }>;
1729
1729
  export type Variant = z.infer<typeof VariantSchema>;
@@ -1762,14 +1762,14 @@ export declare const PreviewComponentOutputSchema: z.ZodObject<{
1762
1762
  defaultValue: z.ZodOptional<z.ZodString>;
1763
1763
  description: z.ZodOptional<z.ZodString>;
1764
1764
  }, "strip", z.ZodTypeAny, {
1765
- type: string;
1766
1765
  name: string;
1766
+ type: string;
1767
1767
  required: boolean;
1768
1768
  description?: string | undefined;
1769
1769
  defaultValue?: string | undefined;
1770
1770
  }, {
1771
- type: string;
1772
1771
  name: string;
1772
+ type: string;
1773
1773
  required: boolean;
1774
1774
  description?: string | undefined;
1775
1775
  defaultValue?: string | undefined;
@@ -1779,12 +1779,12 @@ export declare const PreviewComponentOutputSchema: z.ZodObject<{
1779
1779
  value: z.ZodString;
1780
1780
  description: z.ZodOptional<z.ZodString>;
1781
1781
  }, "strip", z.ZodTypeAny, {
1782
- value: string;
1783
1782
  name: string;
1783
+ value: string;
1784
1784
  description?: string | undefined;
1785
1785
  }, {
1786
- value: string;
1787
1786
  name: string;
1787
+ value: string;
1788
1788
  description?: string | undefined;
1789
1789
  }>, "many">>;
1790
1790
  subComponents: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
@@ -1814,26 +1814,26 @@ export declare const PreviewComponentOutputSchema: z.ZodObject<{
1814
1814
  }>, "many">>;
1815
1815
  accessibility: z.ZodOptional<z.ZodString>;
1816
1816
  }, "strip", z.ZodTypeAny, {
1817
+ category: "core" | "complex" | "advanced";
1817
1818
  id: string;
1818
1819
  name: string;
1819
1820
  description: string;
1820
- category: "core" | "complex" | "advanced";
1821
- tier: number;
1822
- importStatement: string;
1823
1821
  props: {
1824
- type: string;
1825
1822
  name: string;
1823
+ type: string;
1826
1824
  required: boolean;
1827
1825
  description?: string | undefined;
1828
1826
  defaultValue?: string | undefined;
1829
1827
  }[];
1828
+ tier: number;
1829
+ importStatement: string;
1830
1830
  dependencies?: {
1831
1831
  external: string[];
1832
1832
  internal: string[];
1833
1833
  } | undefined;
1834
1834
  variants?: {
1835
- value: string;
1836
1835
  name: string;
1836
+ value: string;
1837
1837
  description?: string | undefined;
1838
1838
  }[] | undefined;
1839
1839
  subComponents?: string[] | undefined;
@@ -1844,26 +1844,26 @@ export declare const PreviewComponentOutputSchema: z.ZodObject<{
1844
1844
  }[] | undefined;
1845
1845
  accessibility?: string | undefined;
1846
1846
  }, {
1847
+ category: "core" | "complex" | "advanced";
1847
1848
  id: string;
1848
1849
  name: string;
1849
1850
  description: string;
1850
- category: "core" | "complex" | "advanced";
1851
- tier: number;
1852
- importStatement: string;
1853
1851
  props: {
1854
- type: string;
1855
1852
  name: string;
1853
+ type: string;
1856
1854
  required: boolean;
1857
1855
  description?: string | undefined;
1858
1856
  defaultValue?: string | undefined;
1859
1857
  }[];
1858
+ tier: number;
1859
+ importStatement: string;
1860
1860
  dependencies?: {
1861
1861
  external: string[];
1862
1862
  internal: string[];
1863
1863
  } | undefined;
1864
1864
  variants?: {
1865
- value: string;
1866
1865
  name: string;
1866
+ value: string;
1867
1867
  description?: string | undefined;
1868
1868
  }[] | undefined;
1869
1869
  subComponents?: string[] | undefined;
@@ -1877,27 +1877,28 @@ export declare const PreviewComponentOutputSchema: z.ZodObject<{
1877
1877
  error: z.ZodOptional<z.ZodString>;
1878
1878
  }, "strip", z.ZodTypeAny, {
1879
1879
  success: boolean;
1880
+ error?: string | undefined;
1880
1881
  component?: {
1882
+ category: "core" | "complex" | "advanced";
1881
1883
  id: string;
1882
1884
  name: string;
1883
1885
  description: string;
1884
- category: "core" | "complex" | "advanced";
1885
- tier: number;
1886
- importStatement: string;
1887
1886
  props: {
1888
- type: string;
1889
1887
  name: string;
1888
+ type: string;
1890
1889
  required: boolean;
1891
1890
  description?: string | undefined;
1892
1891
  defaultValue?: string | undefined;
1893
1892
  }[];
1893
+ tier: number;
1894
+ importStatement: string;
1894
1895
  dependencies?: {
1895
1896
  external: string[];
1896
1897
  internal: string[];
1897
1898
  } | undefined;
1898
1899
  variants?: {
1899
- value: string;
1900
1900
  name: string;
1901
+ value: string;
1901
1902
  description?: string | undefined;
1902
1903
  }[] | undefined;
1903
1904
  subComponents?: string[] | undefined;
@@ -1908,30 +1909,30 @@ export declare const PreviewComponentOutputSchema: z.ZodObject<{
1908
1909
  }[] | undefined;
1909
1910
  accessibility?: string | undefined;
1910
1911
  } | undefined;
1911
- error?: string | undefined;
1912
1912
  }, {
1913
1913
  success: boolean;
1914
+ error?: string | undefined;
1914
1915
  component?: {
1916
+ category: "core" | "complex" | "advanced";
1915
1917
  id: string;
1916
1918
  name: string;
1917
1919
  description: string;
1918
- category: "core" | "complex" | "advanced";
1919
- tier: number;
1920
- importStatement: string;
1921
1920
  props: {
1922
- type: string;
1923
1921
  name: string;
1922
+ type: string;
1924
1923
  required: boolean;
1925
1924
  description?: string | undefined;
1926
1925
  defaultValue?: string | undefined;
1927
1926
  }[];
1927
+ tier: number;
1928
+ importStatement: string;
1928
1929
  dependencies?: {
1929
1930
  external: string[];
1930
1931
  internal: string[];
1931
1932
  } | undefined;
1932
1933
  variants?: {
1933
- value: string;
1934
1934
  name: string;
1935
+ value: string;
1935
1936
  description?: string | undefined;
1936
1937
  }[] | undefined;
1937
1938
  subComponents?: string[] | undefined;
@@ -1942,7 +1943,6 @@ export declare const PreviewComponentOutputSchema: z.ZodObject<{
1942
1943
  }[] | undefined;
1943
1944
  accessibility?: string | undefined;
1944
1945
  } | undefined;
1945
- error?: string | undefined;
1946
1946
  }>;
1947
1947
  export type PreviewComponentOutput = z.infer<typeof PreviewComponentOutputSchema>;
1948
1948
  /**
@@ -1958,11 +1958,11 @@ export declare const ListScreenTemplatesInputSchema: z.ZodObject<{
1958
1958
  category: z.ZodDefault<z.ZodOptional<z.ZodEnum<["auth", "dashboard", "form", "marketing", "feedback", "all"]>>>;
1959
1959
  search: z.ZodOptional<z.ZodString>;
1960
1960
  }, "strip", z.ZodTypeAny, {
1961
- category: "auth" | "dashboard" | "all" | "form" | "marketing" | "feedback";
1961
+ category: "dashboard" | "all" | "auth" | "form" | "marketing" | "feedback";
1962
1962
  search?: string | undefined;
1963
1963
  }, {
1964
+ category?: "dashboard" | "all" | "auth" | "form" | "marketing" | "feedback" | undefined;
1964
1965
  search?: string | undefined;
1965
- category?: "auth" | "dashboard" | "all" | "form" | "marketing" | "feedback" | undefined;
1966
1966
  }>;
1967
1967
  export type ListScreenTemplatesInput = z.infer<typeof ListScreenTemplatesInputSchema>;
1968
1968
  /**
@@ -1983,19 +1983,19 @@ export declare const TemplateMetaSchema: z.ZodObject<{
1983
1983
  version: z.ZodString;
1984
1984
  tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1985
1985
  }, "strip", z.ZodTypeAny, {
1986
+ category: "dashboard" | "auth" | "form" | "marketing" | "feedback";
1986
1987
  id: string;
1987
1988
  name: string;
1988
1989
  description: string;
1989
- category: "auth" | "dashboard" | "form" | "marketing" | "feedback";
1990
1990
  version: string;
1991
1991
  requiredComponentsCount: number;
1992
1992
  layoutType: "centered" | "sidebar" | "full";
1993
1993
  tags?: string[] | undefined;
1994
1994
  }, {
1995
+ category: "dashboard" | "auth" | "form" | "marketing" | "feedback";
1995
1996
  id: string;
1996
1997
  name: string;
1997
1998
  description: string;
1998
- category: "auth" | "dashboard" | "form" | "marketing" | "feedback";
1999
1999
  version: string;
2000
2000
  requiredComponentsCount: number;
2001
2001
  layoutType: "centered" | "sidebar" | "full";
@@ -2017,19 +2017,19 @@ export declare const ListScreenTemplatesOutputSchema: z.ZodObject<{
2017
2017
  version: z.ZodString;
2018
2018
  tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2019
2019
  }, "strip", z.ZodTypeAny, {
2020
+ category: "dashboard" | "auth" | "form" | "marketing" | "feedback";
2020
2021
  id: string;
2021
2022
  name: string;
2022
2023
  description: string;
2023
- category: "auth" | "dashboard" | "form" | "marketing" | "feedback";
2024
2024
  version: string;
2025
2025
  requiredComponentsCount: number;
2026
2026
  layoutType: "centered" | "sidebar" | "full";
2027
2027
  tags?: string[] | undefined;
2028
2028
  }, {
2029
+ category: "dashboard" | "auth" | "form" | "marketing" | "feedback";
2029
2030
  id: string;
2030
2031
  name: string;
2031
2032
  description: string;
2032
- category: "auth" | "dashboard" | "form" | "marketing" | "feedback";
2033
2033
  version: string;
2034
2034
  requiredComponentsCount: number;
2035
2035
  layoutType: "centered" | "sidebar" | "full";
@@ -2043,14 +2043,14 @@ export declare const ListScreenTemplatesOutputSchema: z.ZodObject<{
2043
2043
  marketing: z.ZodNumber;
2044
2044
  feedback: z.ZodNumber;
2045
2045
  }, "strip", z.ZodTypeAny, {
2046
- auth: number;
2047
2046
  dashboard: number;
2047
+ auth: number;
2048
2048
  form: number;
2049
2049
  marketing: number;
2050
2050
  feedback: number;
2051
2051
  }, {
2052
- auth: number;
2053
2052
  dashboard: number;
2053
+ auth: number;
2054
2054
  form: number;
2055
2055
  marketing: number;
2056
2056
  feedback: number;
@@ -2061,17 +2061,17 @@ export declare const ListScreenTemplatesOutputSchema: z.ZodObject<{
2061
2061
  error?: string | undefined;
2062
2062
  count?: number | undefined;
2063
2063
  categories?: {
2064
- auth: number;
2065
2064
  dashboard: number;
2065
+ auth: number;
2066
2066
  form: number;
2067
2067
  marketing: number;
2068
2068
  feedback: number;
2069
2069
  } | undefined;
2070
2070
  templates?: {
2071
+ category: "dashboard" | "auth" | "form" | "marketing" | "feedback";
2071
2072
  id: string;
2072
2073
  name: string;
2073
2074
  description: string;
2074
- category: "auth" | "dashboard" | "form" | "marketing" | "feedback";
2075
2075
  version: string;
2076
2076
  requiredComponentsCount: number;
2077
2077
  layoutType: "centered" | "sidebar" | "full";
@@ -2082,17 +2082,17 @@ export declare const ListScreenTemplatesOutputSchema: z.ZodObject<{
2082
2082
  error?: string | undefined;
2083
2083
  count?: number | undefined;
2084
2084
  categories?: {
2085
- auth: number;
2086
2085
  dashboard: number;
2086
+ auth: number;
2087
2087
  form: number;
2088
2088
  marketing: number;
2089
2089
  feedback: number;
2090
2090
  } | undefined;
2091
2091
  templates?: {
2092
+ category: "dashboard" | "auth" | "form" | "marketing" | "feedback";
2092
2093
  id: string;
2093
2094
  name: string;
2094
2095
  description: string;
2095
- category: "auth" | "dashboard" | "form" | "marketing" | "feedback";
2096
2096
  version: string;
2097
2097
  requiredComponentsCount: number;
2098
2098
  layoutType: "centered" | "sidebar" | "full";
@@ -2129,13 +2129,13 @@ export declare const SkeletonSchema: z.ZodObject<{
2129
2129
  }, "strip", z.ZodTypeAny, {
2130
2130
  id: string;
2131
2131
  name: string;
2132
- required: boolean;
2133
2132
  slot: string;
2133
+ required: boolean;
2134
2134
  }, {
2135
2135
  id: string;
2136
2136
  name: string;
2137
- required: boolean;
2138
2137
  slot: string;
2138
+ required: boolean;
2139
2139
  }>, "many">;
2140
2140
  }, "strip", z.ZodTypeAny, {
2141
2141
  shell: string;
@@ -2143,8 +2143,8 @@ export declare const SkeletonSchema: z.ZodObject<{
2143
2143
  sections: {
2144
2144
  id: string;
2145
2145
  name: string;
2146
- required: boolean;
2147
2146
  slot: string;
2147
+ required: boolean;
2148
2148
  }[];
2149
2149
  }, {
2150
2150
  shell: string;
@@ -2152,8 +2152,8 @@ export declare const SkeletonSchema: z.ZodObject<{
2152
2152
  sections: {
2153
2153
  id: string;
2154
2154
  name: string;
2155
- required: boolean;
2156
2155
  slot: string;
2156
+ required: boolean;
2157
2157
  }[];
2158
2158
  }>;
2159
2159
  export type Skeleton = z.infer<typeof SkeletonSchema>;
@@ -2273,13 +2273,13 @@ export declare const PreviewScreenTemplateOutputSchema: z.ZodObject<{
2273
2273
  }, "strip", z.ZodTypeAny, {
2274
2274
  id: string;
2275
2275
  name: string;
2276
- required: boolean;
2277
2276
  slot: string;
2277
+ required: boolean;
2278
2278
  }, {
2279
2279
  id: string;
2280
2280
  name: string;
2281
- required: boolean;
2282
2281
  slot: string;
2282
+ required: boolean;
2283
2283
  }>, "many">;
2284
2284
  }, "strip", z.ZodTypeAny, {
2285
2285
  shell: string;
@@ -2287,8 +2287,8 @@ export declare const PreviewScreenTemplateOutputSchema: z.ZodObject<{
2287
2287
  sections: {
2288
2288
  id: string;
2289
2289
  name: string;
2290
- required: boolean;
2291
2290
  slot: string;
2291
+ required: boolean;
2292
2292
  }[];
2293
2293
  }, {
2294
2294
  shell: string;
@@ -2296,8 +2296,8 @@ export declare const PreviewScreenTemplateOutputSchema: z.ZodObject<{
2296
2296
  sections: {
2297
2297
  id: string;
2298
2298
  name: string;
2299
- required: boolean;
2300
2299
  slot: string;
2300
+ required: boolean;
2301
2301
  }[];
2302
2302
  }>;
2303
2303
  layout: z.ZodObject<{
@@ -2446,6 +2446,7 @@ export declare const PreviewScreenTemplateOutputSchema: z.ZodObject<{
2446
2446
  updated: z.ZodString;
2447
2447
  tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2448
2448
  }, "strip", z.ZodTypeAny, {
2449
+ category: "dashboard" | "auth" | "form" | "marketing" | "feedback";
2449
2450
  id: string;
2450
2451
  name: string;
2451
2452
  description: string;
@@ -2469,7 +2470,6 @@ export declare const PreviewScreenTemplateOutputSchema: z.ZodObject<{
2469
2470
  };
2470
2471
  } | undefined;
2471
2472
  };
2472
- category: "auth" | "dashboard" | "form" | "marketing" | "feedback";
2473
2473
  version: string;
2474
2474
  importStatement: string;
2475
2475
  skeleton: {
@@ -2478,8 +2478,8 @@ export declare const PreviewScreenTemplateOutputSchema: z.ZodObject<{
2478
2478
  sections: {
2479
2479
  id: string;
2480
2480
  name: string;
2481
- required: boolean;
2482
2481
  slot: string;
2482
+ required: boolean;
2483
2483
  }[];
2484
2484
  };
2485
2485
  customizable: {
@@ -2497,6 +2497,7 @@ export declare const PreviewScreenTemplateOutputSchema: z.ZodObject<{
2497
2497
  slots?: string[] | undefined;
2498
2498
  } | undefined;
2499
2499
  }, {
2500
+ category: "dashboard" | "auth" | "form" | "marketing" | "feedback";
2500
2501
  id: string;
2501
2502
  name: string;
2502
2503
  description: string;
@@ -2520,7 +2521,6 @@ export declare const PreviewScreenTemplateOutputSchema: z.ZodObject<{
2520
2521
  };
2521
2522
  } | undefined;
2522
2523
  };
2523
- category: "auth" | "dashboard" | "form" | "marketing" | "feedback";
2524
2524
  version: string;
2525
2525
  importStatement: string;
2526
2526
  skeleton: {
@@ -2529,8 +2529,8 @@ export declare const PreviewScreenTemplateOutputSchema: z.ZodObject<{
2529
2529
  sections: {
2530
2530
  id: string;
2531
2531
  name: string;
2532
- required: boolean;
2533
2532
  slot: string;
2533
+ required: boolean;
2534
2534
  }[];
2535
2535
  };
2536
2536
  customizable: {
@@ -2553,6 +2553,7 @@ export declare const PreviewScreenTemplateOutputSchema: z.ZodObject<{
2553
2553
  success: boolean;
2554
2554
  error?: string | undefined;
2555
2555
  template?: {
2556
+ category: "dashboard" | "auth" | "form" | "marketing" | "feedback";
2556
2557
  id: string;
2557
2558
  name: string;
2558
2559
  description: string;
@@ -2576,7 +2577,6 @@ export declare const PreviewScreenTemplateOutputSchema: z.ZodObject<{
2576
2577
  };
2577
2578
  } | undefined;
2578
2579
  };
2579
- category: "auth" | "dashboard" | "form" | "marketing" | "feedback";
2580
2580
  version: string;
2581
2581
  importStatement: string;
2582
2582
  skeleton: {
@@ -2585,8 +2585,8 @@ export declare const PreviewScreenTemplateOutputSchema: z.ZodObject<{
2585
2585
  sections: {
2586
2586
  id: string;
2587
2587
  name: string;
2588
- required: boolean;
2589
2588
  slot: string;
2589
+ required: boolean;
2590
2590
  }[];
2591
2591
  };
2592
2592
  customizable: {
@@ -2608,6 +2608,7 @@ export declare const PreviewScreenTemplateOutputSchema: z.ZodObject<{
2608
2608
  success: boolean;
2609
2609
  error?: string | undefined;
2610
2610
  template?: {
2611
+ category: "dashboard" | "auth" | "form" | "marketing" | "feedback";
2611
2612
  id: string;
2612
2613
  name: string;
2613
2614
  description: string;
@@ -2631,7 +2632,6 @@ export declare const PreviewScreenTemplateOutputSchema: z.ZodObject<{
2631
2632
  };
2632
2633
  } | undefined;
2633
2634
  };
2634
- category: "auth" | "dashboard" | "form" | "marketing" | "feedback";
2635
2635
  version: string;
2636
2636
  importStatement: string;
2637
2637
  skeleton: {
@@ -2640,8 +2640,8 @@ export declare const PreviewScreenTemplateOutputSchema: z.ZodObject<{
2640
2640
  sections: {
2641
2641
  id: string;
2642
2642
  name: string;
2643
- required: boolean;
2644
2643
  slot: string;
2644
+ required: boolean;
2645
2645
  }[];
2646
2646
  };
2647
2647
  customizable: {
@@ -2699,13 +2699,13 @@ export declare const ContextTemplateMatchSchema: z.ZodObject<{
2699
2699
  }, "strip", z.ZodTypeAny, {
2700
2700
  id: string;
2701
2701
  name: string;
2702
- required: boolean;
2703
2702
  slot: string;
2703
+ required: boolean;
2704
2704
  }, {
2705
2705
  id: string;
2706
2706
  name: string;
2707
- required: boolean;
2708
2707
  slot: string;
2708
+ required: boolean;
2709
2709
  }>, "many">;
2710
2710
  }, "strip", z.ZodTypeAny, {
2711
2711
  shell: string;
@@ -2713,8 +2713,8 @@ export declare const ContextTemplateMatchSchema: z.ZodObject<{
2713
2713
  sections: {
2714
2714
  id: string;
2715
2715
  name: string;
2716
- required: boolean;
2717
2716
  slot: string;
2717
+ required: boolean;
2718
2718
  }[];
2719
2719
  }, {
2720
2720
  shell: string;
@@ -2722,15 +2722,15 @@ export declare const ContextTemplateMatchSchema: z.ZodObject<{
2722
2722
  sections: {
2723
2723
  id: string;
2724
2724
  name: string;
2725
- required: boolean;
2726
2725
  slot: string;
2726
+ required: boolean;
2727
2727
  }[];
2728
2728
  }>>;
2729
2729
  requiredComponents: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2730
2730
  }, "strip", z.ZodTypeAny, {
2731
+ category: string;
2731
2732
  templateId: string;
2732
2733
  templateName: string;
2733
- category: string;
2734
2734
  confidence: number;
2735
2735
  matchedKeywords: string[];
2736
2736
  skeleton?: {
@@ -2739,15 +2739,15 @@ export declare const ContextTemplateMatchSchema: z.ZodObject<{
2739
2739
  sections: {
2740
2740
  id: string;
2741
2741
  name: string;
2742
- required: boolean;
2743
2742
  slot: string;
2743
+ required: boolean;
2744
2744
  }[];
2745
2745
  } | undefined;
2746
2746
  requiredComponents?: string[] | undefined;
2747
2747
  }, {
2748
+ category: string;
2748
2749
  templateId: string;
2749
2750
  templateName: string;
2750
- category: string;
2751
2751
  confidence: number;
2752
2752
  matchedKeywords: string[];
2753
2753
  skeleton?: {
@@ -2756,8 +2756,8 @@ export declare const ContextTemplateMatchSchema: z.ZodObject<{
2756
2756
  sections: {
2757
2757
  id: string;
2758
2758
  name: string;
2759
- required: boolean;
2760
2759
  slot: string;
2760
+ required: boolean;
2761
2761
  }[];
2762
2762
  } | undefined;
2763
2763
  requiredComponents?: string[] | undefined;
@@ -2779,14 +2779,14 @@ export declare const ContextComponentInfoSchema: z.ZodObject<{
2779
2779
  defaultValue: z.ZodOptional<z.ZodString>;
2780
2780
  description: z.ZodOptional<z.ZodString>;
2781
2781
  }, "strip", z.ZodTypeAny, {
2782
- type: string;
2783
2782
  name: string;
2783
+ type: string;
2784
2784
  required: boolean;
2785
2785
  description?: string | undefined;
2786
2786
  defaultValue?: string | undefined;
2787
2787
  }, {
2788
- type: string;
2789
2788
  name: string;
2789
+ type: string;
2790
2790
  required: boolean;
2791
2791
  description?: string | undefined;
2792
2792
  defaultValue?: string | undefined;
@@ -2796,48 +2796,48 @@ export declare const ContextComponentInfoSchema: z.ZodObject<{
2796
2796
  value: z.ZodString;
2797
2797
  description: z.ZodOptional<z.ZodString>;
2798
2798
  }, "strip", z.ZodTypeAny, {
2799
- value: string;
2800
2799
  name: string;
2800
+ value: string;
2801
2801
  description?: string | undefined;
2802
2802
  }, {
2803
- value: string;
2804
2803
  name: string;
2804
+ value: string;
2805
2805
  description?: string | undefined;
2806
2806
  }>, "many">>;
2807
2807
  }, "strip", z.ZodTypeAny, {
2808
+ category: "core" | "complex" | "advanced";
2808
2809
  id: string;
2809
2810
  name: string;
2810
2811
  description: string;
2811
- category: "core" | "complex" | "advanced";
2812
- importStatement: string;
2813
2812
  props: {
2814
- type: string;
2815
2813
  name: string;
2814
+ type: string;
2816
2815
  required: boolean;
2817
2816
  description?: string | undefined;
2818
2817
  defaultValue?: string | undefined;
2819
2818
  }[];
2819
+ importStatement: string;
2820
2820
  variants?: {
2821
- value: string;
2822
2821
  name: string;
2822
+ value: string;
2823
2823
  description?: string | undefined;
2824
2824
  }[] | undefined;
2825
2825
  }, {
2826
+ category: "core" | "complex" | "advanced";
2826
2827
  id: string;
2827
2828
  name: string;
2828
2829
  description: string;
2829
- category: "core" | "complex" | "advanced";
2830
- importStatement: string;
2831
2830
  props: {
2832
- type: string;
2833
2831
  name: string;
2832
+ type: string;
2834
2833
  required: boolean;
2835
2834
  description?: string | undefined;
2836
2835
  defaultValue?: string | undefined;
2837
2836
  }[];
2837
+ importStatement: string;
2838
2838
  variants?: {
2839
- value: string;
2840
2839
  name: string;
2840
+ value: string;
2841
2841
  description?: string | undefined;
2842
2842
  }[] | undefined;
2843
2843
  }>;
@@ -2918,9 +2918,9 @@ export declare const ScreenDefinitionSchema: z.ZodObject<{
2918
2918
  pattern: string;
2919
2919
  slot?: string | undefined;
2920
2920
  }[];
2921
- themeId?: string | undefined;
2922
2921
  name?: string | undefined;
2923
2922
  description?: string | undefined;
2923
+ themeId?: string | undefined;
2924
2924
  metadata?: {
2925
2925
  version?: string | undefined;
2926
2926
  created?: string | undefined;
@@ -2941,9 +2941,9 @@ export declare const ScreenDefinitionSchema: z.ZodObject<{
2941
2941
  pattern: string;
2942
2942
  slot?: string | undefined;
2943
2943
  }[];
2944
- themeId?: string | undefined;
2945
2944
  name?: string | undefined;
2946
2945
  description?: string | undefined;
2946
+ themeId?: string | undefined;
2947
2947
  metadata?: {
2948
2948
  version?: string | undefined;
2949
2949
  created?: string | undefined;
@@ -3031,9 +3031,9 @@ export declare const ScreenExampleSchema: z.ZodObject<{
3031
3031
  pattern: string;
3032
3032
  slot?: string | undefined;
3033
3033
  }[];
3034
- themeId?: string | undefined;
3035
3034
  name?: string | undefined;
3036
3035
  description?: string | undefined;
3036
+ themeId?: string | undefined;
3037
3037
  metadata?: {
3038
3038
  version?: string | undefined;
3039
3039
  created?: string | undefined;
@@ -3054,9 +3054,9 @@ export declare const ScreenExampleSchema: z.ZodObject<{
3054
3054
  pattern: string;
3055
3055
  slot?: string | undefined;
3056
3056
  }[];
3057
- themeId?: string | undefined;
3058
3057
  name?: string | undefined;
3059
3058
  description?: string | undefined;
3059
+ themeId?: string | undefined;
3060
3060
  metadata?: {
3061
3061
  version?: string | undefined;
3062
3062
  created?: string | undefined;
@@ -3081,9 +3081,9 @@ export declare const ScreenExampleSchema: z.ZodObject<{
3081
3081
  pattern: string;
3082
3082
  slot?: string | undefined;
3083
3083
  }[];
3084
- themeId?: string | undefined;
3085
3084
  name?: string | undefined;
3086
3085
  description?: string | undefined;
3086
+ themeId?: string | undefined;
3087
3087
  metadata?: {
3088
3088
  version?: string | undefined;
3089
3089
  created?: string | undefined;
@@ -3108,9 +3108,9 @@ export declare const ScreenExampleSchema: z.ZodObject<{
3108
3108
  pattern: string;
3109
3109
  slot?: string | undefined;
3110
3110
  }[];
3111
- themeId?: string | undefined;
3112
3111
  name?: string | undefined;
3113
3112
  description?: string | undefined;
3113
+ themeId?: string | undefined;
3114
3114
  metadata?: {
3115
3115
  version?: string | undefined;
3116
3116
  created?: string | undefined;
@@ -3146,13 +3146,13 @@ export declare const GenerationHintSchema: z.ZodObject<{
3146
3146
  message: z.ZodString;
3147
3147
  example: z.ZodOptional<z.ZodString>;
3148
3148
  }, "strip", z.ZodTypeAny, {
3149
+ category: "layout" | "component" | "accessibility" | "styling" | "best-practice";
3149
3150
  message: string;
3150
- category: "component" | "layout" | "accessibility" | "styling" | "best-practice";
3151
3151
  priority: "high" | "medium" | "low";
3152
3152
  example?: string | undefined;
3153
3153
  }, {
3154
+ category: "layout" | "component" | "accessibility" | "styling" | "best-practice";
3154
3155
  message: string;
3155
- category: "component" | "layout" | "accessibility" | "styling" | "best-practice";
3156
3156
  priority: "high" | "medium" | "low";
3157
3157
  example?: string | undefined;
3158
3158
  }>;
@@ -3254,13 +3254,13 @@ export declare const GetScreenGenerationContextOutputSchema: z.ZodObject<{
3254
3254
  }, "strip", z.ZodTypeAny, {
3255
3255
  id: string;
3256
3256
  name: string;
3257
- required: boolean;
3258
3257
  slot: string;
3258
+ required: boolean;
3259
3259
  }, {
3260
3260
  id: string;
3261
3261
  name: string;
3262
- required: boolean;
3263
3262
  slot: string;
3263
+ required: boolean;
3264
3264
  }>, "many">;
3265
3265
  }, "strip", z.ZodTypeAny, {
3266
3266
  shell: string;
@@ -3268,8 +3268,8 @@ export declare const GetScreenGenerationContextOutputSchema: z.ZodObject<{
3268
3268
  sections: {
3269
3269
  id: string;
3270
3270
  name: string;
3271
- required: boolean;
3272
3271
  slot: string;
3272
+ required: boolean;
3273
3273
  }[];
3274
3274
  }, {
3275
3275
  shell: string;
@@ -3277,15 +3277,15 @@ export declare const GetScreenGenerationContextOutputSchema: z.ZodObject<{
3277
3277
  sections: {
3278
3278
  id: string;
3279
3279
  name: string;
3280
- required: boolean;
3281
3280
  slot: string;
3281
+ required: boolean;
3282
3282
  }[];
3283
3283
  }>>;
3284
3284
  requiredComponents: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3285
3285
  }, "strip", z.ZodTypeAny, {
3286
+ category: string;
3286
3287
  templateId: string;
3287
3288
  templateName: string;
3288
- category: string;
3289
3289
  confidence: number;
3290
3290
  matchedKeywords: string[];
3291
3291
  skeleton?: {
@@ -3294,15 +3294,15 @@ export declare const GetScreenGenerationContextOutputSchema: z.ZodObject<{
3294
3294
  sections: {
3295
3295
  id: string;
3296
3296
  name: string;
3297
- required: boolean;
3298
3297
  slot: string;
3298
+ required: boolean;
3299
3299
  }[];
3300
3300
  } | undefined;
3301
3301
  requiredComponents?: string[] | undefined;
3302
3302
  }, {
3303
+ category: string;
3303
3304
  templateId: string;
3304
3305
  templateName: string;
3305
- category: string;
3306
3306
  confidence: number;
3307
3307
  matchedKeywords: string[];
3308
3308
  skeleton?: {
@@ -3311,8 +3311,8 @@ export declare const GetScreenGenerationContextOutputSchema: z.ZodObject<{
3311
3311
  sections: {
3312
3312
  id: string;
3313
3313
  name: string;
3314
- required: boolean;
3315
3314
  slot: string;
3315
+ required: boolean;
3316
3316
  }[];
3317
3317
  } | undefined;
3318
3318
  requiredComponents?: string[] | undefined;
@@ -3330,14 +3330,14 @@ export declare const GetScreenGenerationContextOutputSchema: z.ZodObject<{
3330
3330
  defaultValue: z.ZodOptional<z.ZodString>;
3331
3331
  description: z.ZodOptional<z.ZodString>;
3332
3332
  }, "strip", z.ZodTypeAny, {
3333
- type: string;
3334
3333
  name: string;
3334
+ type: string;
3335
3335
  required: boolean;
3336
3336
  description?: string | undefined;
3337
3337
  defaultValue?: string | undefined;
3338
3338
  }, {
3339
- type: string;
3340
3339
  name: string;
3340
+ type: string;
3341
3341
  required: boolean;
3342
3342
  description?: string | undefined;
3343
3343
  defaultValue?: string | undefined;
@@ -3347,48 +3347,48 @@ export declare const GetScreenGenerationContextOutputSchema: z.ZodObject<{
3347
3347
  value: z.ZodString;
3348
3348
  description: z.ZodOptional<z.ZodString>;
3349
3349
  }, "strip", z.ZodTypeAny, {
3350
- value: string;
3351
3350
  name: string;
3351
+ value: string;
3352
3352
  description?: string | undefined;
3353
3353
  }, {
3354
- value: string;
3355
3354
  name: string;
3355
+ value: string;
3356
3356
  description?: string | undefined;
3357
3357
  }>, "many">>;
3358
3358
  }, "strip", z.ZodTypeAny, {
3359
+ category: "core" | "complex" | "advanced";
3359
3360
  id: string;
3360
3361
  name: string;
3361
3362
  description: string;
3362
- category: "core" | "complex" | "advanced";
3363
- importStatement: string;
3364
3363
  props: {
3365
- type: string;
3366
3364
  name: string;
3365
+ type: string;
3367
3366
  required: boolean;
3368
3367
  description?: string | undefined;
3369
3368
  defaultValue?: string | undefined;
3370
3369
  }[];
3370
+ importStatement: string;
3371
3371
  variants?: {
3372
- value: string;
3373
3372
  name: string;
3373
+ value: string;
3374
3374
  description?: string | undefined;
3375
3375
  }[] | undefined;
3376
3376
  }, {
3377
+ category: "core" | "complex" | "advanced";
3377
3378
  id: string;
3378
3379
  name: string;
3379
3380
  description: string;
3380
- category: "core" | "complex" | "advanced";
3381
- importStatement: string;
3382
3381
  props: {
3383
- type: string;
3384
3382
  name: string;
3383
+ type: string;
3385
3384
  required: boolean;
3386
3385
  description?: string | undefined;
3387
3386
  defaultValue?: string | undefined;
3388
3387
  }[];
3388
+ importStatement: string;
3389
3389
  variants?: {
3390
- value: string;
3391
3390
  name: string;
3391
+ value: string;
3392
3392
  description?: string | undefined;
3393
3393
  }[] | undefined;
3394
3394
  }>, "many">>;
@@ -3478,9 +3478,9 @@ export declare const GetScreenGenerationContextOutputSchema: z.ZodObject<{
3478
3478
  pattern: string;
3479
3479
  slot?: string | undefined;
3480
3480
  }[];
3481
- themeId?: string | undefined;
3482
3481
  name?: string | undefined;
3483
3482
  description?: string | undefined;
3483
+ themeId?: string | undefined;
3484
3484
  metadata?: {
3485
3485
  version?: string | undefined;
3486
3486
  created?: string | undefined;
@@ -3501,9 +3501,9 @@ export declare const GetScreenGenerationContextOutputSchema: z.ZodObject<{
3501
3501
  pattern: string;
3502
3502
  slot?: string | undefined;
3503
3503
  }[];
3504
- themeId?: string | undefined;
3505
3504
  name?: string | undefined;
3506
3505
  description?: string | undefined;
3506
+ themeId?: string | undefined;
3507
3507
  metadata?: {
3508
3508
  version?: string | undefined;
3509
3509
  created?: string | undefined;
@@ -3528,9 +3528,9 @@ export declare const GetScreenGenerationContextOutputSchema: z.ZodObject<{
3528
3528
  pattern: string;
3529
3529
  slot?: string | undefined;
3530
3530
  }[];
3531
- themeId?: string | undefined;
3532
3531
  name?: string | undefined;
3533
3532
  description?: string | undefined;
3533
+ themeId?: string | undefined;
3534
3534
  metadata?: {
3535
3535
  version?: string | undefined;
3536
3536
  created?: string | undefined;
@@ -3555,9 +3555,9 @@ export declare const GetScreenGenerationContextOutputSchema: z.ZodObject<{
3555
3555
  pattern: string;
3556
3556
  slot?: string | undefined;
3557
3557
  }[];
3558
- themeId?: string | undefined;
3559
3558
  name?: string | undefined;
3560
3559
  description?: string | undefined;
3560
+ themeId?: string | undefined;
3561
3561
  metadata?: {
3562
3562
  version?: string | undefined;
3563
3563
  created?: string | undefined;
@@ -3585,13 +3585,13 @@ export declare const GetScreenGenerationContextOutputSchema: z.ZodObject<{
3585
3585
  message: z.ZodString;
3586
3586
  example: z.ZodOptional<z.ZodString>;
3587
3587
  }, "strip", z.ZodTypeAny, {
3588
+ category: "layout" | "component" | "accessibility" | "styling" | "best-practice";
3588
3589
  message: string;
3589
- category: "component" | "layout" | "accessibility" | "styling" | "best-practice";
3590
3590
  priority: "high" | "medium" | "low";
3591
3591
  example?: string | undefined;
3592
3592
  }, {
3593
+ category: "layout" | "component" | "accessibility" | "styling" | "best-practice";
3593
3594
  message: string;
3594
- category: "component" | "layout" | "accessibility" | "styling" | "best-practice";
3595
3595
  priority: "high" | "medium" | "low";
3596
3596
  example?: string | undefined;
3597
3597
  }>, "many">>;
@@ -3646,21 +3646,21 @@ export declare const GetScreenGenerationContextOutputSchema: z.ZodObject<{
3646
3646
  success: boolean;
3647
3647
  error?: string | undefined;
3648
3648
  components?: {
3649
+ category: "core" | "complex" | "advanced";
3649
3650
  id: string;
3650
3651
  name: string;
3651
3652
  description: string;
3652
- category: "core" | "complex" | "advanced";
3653
- importStatement: string;
3654
3653
  props: {
3655
- type: string;
3656
3654
  name: string;
3655
+ type: string;
3657
3656
  required: boolean;
3658
3657
  description?: string | undefined;
3659
3658
  defaultValue?: string | undefined;
3660
3659
  }[];
3660
+ importStatement: string;
3661
3661
  variants?: {
3662
- value: string;
3663
3662
  name: string;
3663
+ value: string;
3664
3664
  description?: string | undefined;
3665
3665
  }[] | undefined;
3666
3666
  }[] | undefined;
@@ -3681,9 +3681,9 @@ export declare const GetScreenGenerationContextOutputSchema: z.ZodObject<{
3681
3681
  pattern: string;
3682
3682
  slot?: string | undefined;
3683
3683
  }[];
3684
- themeId?: string | undefined;
3685
3684
  name?: string | undefined;
3686
3685
  description?: string | undefined;
3686
+ themeId?: string | undefined;
3687
3687
  metadata?: {
3688
3688
  version?: string | undefined;
3689
3689
  created?: string | undefined;
@@ -3693,9 +3693,9 @@ export declare const GetScreenGenerationContextOutputSchema: z.ZodObject<{
3693
3693
  };
3694
3694
  }[] | undefined;
3695
3695
  templateMatch?: {
3696
+ category: string;
3696
3697
  templateId: string;
3697
3698
  templateName: string;
3698
- category: string;
3699
3699
  confidence: number;
3700
3700
  matchedKeywords: string[];
3701
3701
  skeleton?: {
@@ -3704,8 +3704,8 @@ export declare const GetScreenGenerationContextOutputSchema: z.ZodObject<{
3704
3704
  sections: {
3705
3705
  id: string;
3706
3706
  name: string;
3707
- required: boolean;
3708
3707
  slot: string;
3708
+ required: boolean;
3709
3709
  }[];
3710
3710
  } | undefined;
3711
3711
  requiredComponents?: string[] | undefined;
@@ -3720,8 +3720,8 @@ export declare const GetScreenGenerationContextOutputSchema: z.ZodObject<{
3720
3720
  defaultClassName?: string | undefined;
3721
3721
  }[] | undefined;
3722
3722
  hints?: {
3723
+ category: "layout" | "component" | "accessibility" | "styling" | "best-practice";
3723
3724
  message: string;
3724
- category: "component" | "layout" | "accessibility" | "styling" | "best-practice";
3725
3725
  priority: "high" | "medium" | "low";
3726
3726
  example?: string | undefined;
3727
3727
  }[] | undefined;
@@ -3741,21 +3741,21 @@ export declare const GetScreenGenerationContextOutputSchema: z.ZodObject<{
3741
3741
  success: boolean;
3742
3742
  error?: string | undefined;
3743
3743
  components?: {
3744
+ category: "core" | "complex" | "advanced";
3744
3745
  id: string;
3745
3746
  name: string;
3746
3747
  description: string;
3747
- category: "core" | "complex" | "advanced";
3748
- importStatement: string;
3749
3748
  props: {
3750
- type: string;
3751
3749
  name: string;
3750
+ type: string;
3752
3751
  required: boolean;
3753
3752
  description?: string | undefined;
3754
3753
  defaultValue?: string | undefined;
3755
3754
  }[];
3755
+ importStatement: string;
3756
3756
  variants?: {
3757
- value: string;
3758
3757
  name: string;
3758
+ value: string;
3759
3759
  description?: string | undefined;
3760
3760
  }[] | undefined;
3761
3761
  }[] | undefined;
@@ -3776,9 +3776,9 @@ export declare const GetScreenGenerationContextOutputSchema: z.ZodObject<{
3776
3776
  pattern: string;
3777
3777
  slot?: string | undefined;
3778
3778
  }[];
3779
- themeId?: string | undefined;
3780
3779
  name?: string | undefined;
3781
3780
  description?: string | undefined;
3781
+ themeId?: string | undefined;
3782
3782
  metadata?: {
3783
3783
  version?: string | undefined;
3784
3784
  created?: string | undefined;
@@ -3788,9 +3788,9 @@ export declare const GetScreenGenerationContextOutputSchema: z.ZodObject<{
3788
3788
  };
3789
3789
  }[] | undefined;
3790
3790
  templateMatch?: {
3791
+ category: string;
3791
3792
  templateId: string;
3792
3793
  templateName: string;
3793
- category: string;
3794
3794
  confidence: number;
3795
3795
  matchedKeywords: string[];
3796
3796
  skeleton?: {
@@ -3799,8 +3799,8 @@ export declare const GetScreenGenerationContextOutputSchema: z.ZodObject<{
3799
3799
  sections: {
3800
3800
  id: string;
3801
3801
  name: string;
3802
- required: boolean;
3803
3802
  slot: string;
3803
+ required: boolean;
3804
3804
  }[];
3805
3805
  } | undefined;
3806
3806
  requiredComponents?: string[] | undefined;
@@ -3815,8 +3815,8 @@ export declare const GetScreenGenerationContextOutputSchema: z.ZodObject<{
3815
3815
  defaultClassName?: string | undefined;
3816
3816
  }[] | undefined;
3817
3817
  hints?: {
3818
+ category: "layout" | "component" | "accessibility" | "styling" | "best-practice";
3818
3819
  message: string;
3819
- category: "component" | "layout" | "accessibility" | "styling" | "best-practice";
3820
3820
  priority: "high" | "medium" | "low";
3821
3821
  example?: string | undefined;
3822
3822
  }[] | undefined;
@@ -4023,8 +4023,8 @@ export declare const ImprovementSuggestionSchema: z.ZodObject<{
4023
4023
  value?: unknown;
4024
4024
  }>, "many">>;
4025
4025
  }, "strip", z.ZodTypeAny, {
4026
- message: string;
4027
4026
  category: "accessibility" | "performance" | "maintainability" | "consistency";
4027
+ message: string;
4028
4028
  autoFix?: {
4029
4029
  path: string;
4030
4030
  op: "replace" | "add" | "remove";
@@ -4033,8 +4033,8 @@ export declare const ImprovementSuggestionSchema: z.ZodObject<{
4033
4033
  affectedPath?: string | undefined;
4034
4034
  suggestedChange?: string | undefined;
4035
4035
  }, {
4036
- message: string;
4037
4036
  category: "accessibility" | "performance" | "maintainability" | "consistency";
4037
+ message: string;
4038
4038
  autoFix?: {
4039
4039
  path: string;
4040
4040
  op: "replace" | "add" | "remove";
@@ -4130,8 +4130,8 @@ export declare const ValidateScreenDefinitionOutputSchema: z.ZodObject<{
4130
4130
  value?: unknown;
4131
4131
  }>, "many">>;
4132
4132
  }, "strip", z.ZodTypeAny, {
4133
- message: string;
4134
4133
  category: "accessibility" | "performance" | "maintainability" | "consistency";
4134
+ message: string;
4135
4135
  autoFix?: {
4136
4136
  path: string;
4137
4137
  op: "replace" | "add" | "remove";
@@ -4140,8 +4140,8 @@ export declare const ValidateScreenDefinitionOutputSchema: z.ZodObject<{
4140
4140
  affectedPath?: string | undefined;
4141
4141
  suggestedChange?: string | undefined;
4142
4142
  }, {
4143
- message: string;
4144
4143
  category: "accessibility" | "performance" | "maintainability" | "consistency";
4144
+ message: string;
4145
4145
  autoFix?: {
4146
4146
  path: string;
4147
4147
  op: "replace" | "add" | "remove";
@@ -4166,8 +4166,8 @@ export declare const ValidateScreenDefinitionOutputSchema: z.ZodObject<{
4166
4166
  error: z.ZodOptional<z.ZodString>;
4167
4167
  }, "strip", z.ZodTypeAny, {
4168
4168
  success: boolean;
4169
- valid?: boolean | undefined;
4170
4169
  error?: string | undefined;
4170
+ valid?: boolean | undefined;
4171
4171
  errors?: {
4172
4172
  code: string;
4173
4173
  path: string;
@@ -4188,8 +4188,8 @@ export declare const ValidateScreenDefinitionOutputSchema: z.ZodObject<{
4188
4188
  recommendation?: string | undefined;
4189
4189
  }[] | undefined;
4190
4190
  suggestions?: {
4191
- message: string;
4192
4191
  category: "accessibility" | "performance" | "maintainability" | "consistency";
4192
+ message: string;
4193
4193
  autoFix?: {
4194
4194
  path: string;
4195
4195
  op: "replace" | "add" | "remove";
@@ -4205,8 +4205,8 @@ export declare const ValidateScreenDefinitionOutputSchema: z.ZodObject<{
4205
4205
  }[] | undefined;
4206
4206
  }, {
4207
4207
  success: boolean;
4208
- valid?: boolean | undefined;
4209
4208
  error?: string | undefined;
4209
+ valid?: boolean | undefined;
4210
4210
  errors?: {
4211
4211
  code: string;
4212
4212
  path: string;
@@ -4227,8 +4227,8 @@ export declare const ValidateScreenDefinitionOutputSchema: z.ZodObject<{
4227
4227
  recommendation?: string | undefined;
4228
4228
  }[] | undefined;
4229
4229
  suggestions?: {
4230
- message: string;
4231
4230
  category: "accessibility" | "performance" | "maintainability" | "consistency";
4231
+ message: string;
4232
4232
  autoFix?: {
4233
4233
  path: string;
4234
4234
  op: "replace" | "add" | "remove";