mycontext-cli 2.0.27 → 2.0.29

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 (173) hide show
  1. package/README.md +71 -342
  2. package/dist/agents/implementations/CodeGenSubAgent.d.ts.map +1 -1
  3. package/dist/agents/implementations/CodeGenSubAgent.js +67 -14
  4. package/dist/agents/implementations/CodeGenSubAgent.js.map +1 -1
  5. package/dist/agents/implementations/DesignPipelineAgent.d.ts +80 -0
  6. package/dist/agents/implementations/DesignPipelineAgent.d.ts.map +1 -0
  7. package/dist/agents/implementations/DesignPipelineAgent.js +1406 -0
  8. package/dist/agents/implementations/DesignPipelineAgent.js.map +1 -0
  9. package/dist/agents/implementations/FeatureAssemblyAgent.d.ts +67 -0
  10. package/dist/agents/implementations/FeatureAssemblyAgent.d.ts.map +1 -0
  11. package/dist/agents/implementations/FeatureAssemblyAgent.js +564 -0
  12. package/dist/agents/implementations/FeatureAssemblyAgent.js.map +1 -0
  13. package/dist/agents/implementations/PromptConstructorAgent.d.ts +10 -0
  14. package/dist/agents/implementations/PromptConstructorAgent.d.ts.map +1 -1
  15. package/dist/agents/implementations/PromptConstructorAgent.js +172 -12
  16. package/dist/agents/implementations/PromptConstructorAgent.js.map +1 -1
  17. package/dist/agents/implementations/RoleBasedGenerator.d.ts +52 -0
  18. package/dist/agents/implementations/RoleBasedGenerator.d.ts.map +1 -0
  19. package/dist/agents/implementations/RoleBasedGenerator.js +370 -0
  20. package/dist/agents/implementations/RoleBasedGenerator.js.map +1 -0
  21. package/dist/cli.js +111 -56
  22. package/dist/cli.js.map +1 -1
  23. package/dist/clients/ClaudeSDKClient.d.ts +48 -0
  24. package/dist/clients/ClaudeSDKClient.d.ts.map +1 -0
  25. package/dist/clients/ClaudeSDKClient.js +158 -0
  26. package/dist/clients/ClaudeSDKClient.js.map +1 -0
  27. package/dist/clients/MyContextAIClient.d.ts +73 -0
  28. package/dist/clients/MyContextAIClient.d.ts.map +1 -0
  29. package/dist/clients/MyContextAIClient.js +280 -0
  30. package/dist/clients/MyContextAIClient.js.map +1 -0
  31. package/dist/clients/ProviderChain.d.ts +87 -0
  32. package/dist/clients/ProviderChain.d.ts.map +1 -0
  33. package/dist/clients/ProviderChain.js +246 -0
  34. package/dist/clients/ProviderChain.js.map +1 -0
  35. package/dist/clients/XAIClient.d.ts +48 -0
  36. package/dist/clients/XAIClient.d.ts.map +1 -0
  37. package/dist/clients/XAIClient.js +152 -0
  38. package/dist/clients/XAIClient.js.map +1 -0
  39. package/dist/commands/assemble-features.d.ts +40 -0
  40. package/dist/commands/assemble-features.d.ts.map +1 -0
  41. package/dist/commands/assemble-features.js +383 -0
  42. package/dist/commands/assemble-features.js.map +1 -0
  43. package/dist/commands/clone-starter.d.ts +32 -0
  44. package/dist/commands/clone-starter.d.ts.map +1 -0
  45. package/dist/commands/clone-starter.js +218 -0
  46. package/dist/commands/clone-starter.js.map +1 -0
  47. package/dist/commands/design-analyze.d.ts +46 -0
  48. package/dist/commands/design-analyze.d.ts.map +1 -0
  49. package/dist/commands/design-analyze.js +232 -0
  50. package/dist/commands/design-analyze.js.map +1 -0
  51. package/dist/commands/generate-components.d.ts +11 -0
  52. package/dist/commands/generate-components.d.ts.map +1 -1
  53. package/dist/commands/generate-components.js +342 -12
  54. package/dist/commands/generate-components.js.map +1 -1
  55. package/dist/commands/generate-context-files.d.ts +9 -0
  56. package/dist/commands/generate-context-files.d.ts.map +1 -1
  57. package/dist/commands/generate-context-files.js +57 -0
  58. package/dist/commands/generate-context-files.js.map +1 -1
  59. package/dist/commands/generate.d.ts +5 -0
  60. package/dist/commands/generate.d.ts.map +1 -1
  61. package/dist/commands/generate.js +109 -2
  62. package/dist/commands/generate.js.map +1 -1
  63. package/dist/commands/init.d.ts +1 -0
  64. package/dist/commands/init.d.ts.map +1 -1
  65. package/dist/commands/init.js +32 -10
  66. package/dist/commands/init.js.map +1 -1
  67. package/dist/commands/preview-components.d.ts +12 -0
  68. package/dist/commands/preview-components.d.ts.map +1 -0
  69. package/dist/commands/preview-components.js +122 -0
  70. package/dist/commands/preview-components.js.map +1 -0
  71. package/dist/commands/refine-component.d.ts +43 -0
  72. package/dist/commands/refine-component.d.ts.map +1 -0
  73. package/dist/commands/refine-component.js +313 -0
  74. package/dist/commands/refine-component.js.map +1 -0
  75. package/dist/commands/review-context.d.ts +47 -0
  76. package/dist/commands/review-context.d.ts.map +1 -0
  77. package/dist/commands/review-context.js +335 -0
  78. package/dist/commands/review-context.js.map +1 -0
  79. package/dist/commands/setup-complete.d.ts.map +1 -1
  80. package/dist/commands/setup-complete.js +38 -2
  81. package/dist/commands/setup-complete.js.map +1 -1
  82. package/dist/commands/workflow.d.ts.map +1 -1
  83. package/dist/commands/workflow.js +86 -7
  84. package/dist/commands/workflow.js.map +1 -1
  85. package/dist/config/intent-dictionary.json +3700 -0
  86. package/dist/package.json +12 -1
  87. package/dist/services/ContextValidator.d.ts +99 -0
  88. package/dist/services/ContextValidator.d.ts.map +1 -0
  89. package/dist/services/ContextValidator.js +433 -0
  90. package/dist/services/ContextValidator.js.map +1 -0
  91. package/dist/services/IntentEnricher.d.ts +61 -0
  92. package/dist/services/IntentEnricher.d.ts.map +1 -0
  93. package/dist/services/IntentEnricher.js +318 -0
  94. package/dist/services/IntentEnricher.js.map +1 -0
  95. package/dist/services/IntentValidator.d.ts +114 -0
  96. package/dist/services/IntentValidator.d.ts.map +1 -0
  97. package/dist/services/IntentValidator.js +680 -0
  98. package/dist/services/IntentValidator.js.map +1 -0
  99. package/dist/services/MutationLogger.d.ts +54 -0
  100. package/dist/services/MutationLogger.d.ts.map +1 -0
  101. package/dist/services/MutationLogger.js +164 -0
  102. package/dist/services/MutationLogger.js.map +1 -0
  103. package/dist/services/RegressionRunner.d.ts +49 -0
  104. package/dist/services/RegressionRunner.d.ts.map +1 -0
  105. package/dist/services/RegressionRunner.js +285 -0
  106. package/dist/services/RegressionRunner.js.map +1 -0
  107. package/dist/services/TriggerLogger.d.ts +101 -0
  108. package/dist/services/TriggerLogger.d.ts.map +1 -0
  109. package/dist/services/TriggerLogger.js +263 -0
  110. package/dist/services/TriggerLogger.js.map +1 -0
  111. package/dist/types/design-pipeline.d.ts +300 -0
  112. package/dist/types/design-pipeline.d.ts.map +1 -0
  113. package/dist/types/design-pipeline.js +9 -0
  114. package/dist/types/design-pipeline.js.map +1 -0
  115. package/dist/types/feature-bundle.d.ts +239 -0
  116. package/dist/types/feature-bundle.d.ts.map +1 -0
  117. package/dist/types/feature-bundle.js +9 -0
  118. package/dist/types/feature-bundle.js.map +1 -0
  119. package/dist/types/index.d.ts +2 -0
  120. package/dist/types/index.d.ts.map +1 -1
  121. package/dist/types/index.js +2 -0
  122. package/dist/types/index.js.map +1 -1
  123. package/dist/types/intent-dictionary.d.ts +525 -0
  124. package/dist/types/intent-dictionary.d.ts.map +1 -0
  125. package/dist/types/intent-dictionary.js +11 -0
  126. package/dist/types/intent-dictionary.js.map +1 -0
  127. package/dist/types/role-permissions.d.ts +167 -0
  128. package/dist/types/role-permissions.d.ts.map +1 -0
  129. package/dist/types/role-permissions.js +9 -0
  130. package/dist/types/role-permissions.js.map +1 -0
  131. package/dist/utils/contextEnricher.d.ts +41 -0
  132. package/dist/utils/contextEnricher.d.ts.map +1 -0
  133. package/dist/utils/contextEnricher.js +327 -0
  134. package/dist/utils/contextEnricher.js.map +1 -0
  135. package/dist/utils/designFallbacks.d.ts +48 -0
  136. package/dist/utils/designFallbacks.d.ts.map +1 -0
  137. package/dist/utils/designFallbacks.js +885 -0
  138. package/dist/utils/designFallbacks.js.map +1 -0
  139. package/dist/utils/designManifestManager.d.ts +89 -0
  140. package/dist/utils/designManifestManager.d.ts.map +1 -0
  141. package/dist/utils/designManifestManager.js +533 -0
  142. package/dist/utils/designManifestManager.js.map +1 -0
  143. package/dist/utils/designPipelineStateManager.d.ts +63 -0
  144. package/dist/utils/designPipelineStateManager.d.ts.map +1 -0
  145. package/dist/utils/designPipelineStateManager.js +174 -0
  146. package/dist/utils/designPipelineStateManager.js.map +1 -0
  147. package/dist/utils/envExampleGenerator.d.ts.map +1 -1
  148. package/dist/utils/envExampleGenerator.js +41 -171
  149. package/dist/utils/envExampleGenerator.js.map +1 -1
  150. package/dist/utils/featureBundleManager.d.ts +90 -0
  151. package/dist/utils/featureBundleManager.d.ts.map +1 -0
  152. package/dist/utils/featureBundleManager.js +340 -0
  153. package/dist/utils/featureBundleManager.js.map +1 -0
  154. package/dist/utils/githubCloner.d.ts +93 -0
  155. package/dist/utils/githubCloner.d.ts.map +1 -0
  156. package/dist/utils/githubCloner.js +305 -0
  157. package/dist/utils/githubCloner.js.map +1 -0
  158. package/dist/utils/hybridAIClient.d.ts.map +1 -1
  159. package/dist/utils/hybridAIClient.js +21 -0
  160. package/dist/utils/hybridAIClient.js.map +1 -1
  161. package/dist/utils/openRouterClient.d.ts +10 -0
  162. package/dist/utils/openRouterClient.d.ts.map +1 -0
  163. package/dist/utils/openRouterClient.js +61 -0
  164. package/dist/utils/openRouterClient.js.map +1 -0
  165. package/dist/utils/rolePermissionMapper.d.ts +89 -0
  166. package/dist/utils/rolePermissionMapper.d.ts.map +1 -0
  167. package/dist/utils/rolePermissionMapper.js +337 -0
  168. package/dist/utils/rolePermissionMapper.js.map +1 -0
  169. package/dist/utils/unifiedDesignContextLoader.d.ts +76 -0
  170. package/dist/utils/unifiedDesignContextLoader.d.ts.map +1 -0
  171. package/dist/utils/unifiedDesignContextLoader.js +344 -0
  172. package/dist/utils/unifiedDesignContextLoader.js.map +1 -0
  173. package/package.json +12 -1
@@ -0,0 +1,525 @@
1
+ /**
2
+ * Intent Dictionary Type Definitions
3
+ *
4
+ * Defines the type system for mapping natural language UI descriptions
5
+ * to shadcn/ui component implementations with type-safe specifications.
6
+ *
7
+ * @module intent-dictionary
8
+ */
9
+ /**
10
+ * Natural language phrase that describes a UI intent
11
+ */
12
+ export interface IntentPhrase {
13
+ /** The main phrase describing the intent */
14
+ phrase: string;
15
+ /** Alternative phrasings and synonyms */
16
+ aliases: string[];
17
+ /** Keywords that boost confidence when present in context */
18
+ context_keywords: string[];
19
+ /** Confidence boost multiplier (0-1) for this phrase */
20
+ confidence_boost: number;
21
+ }
22
+ /**
23
+ * shadcn/ui component reference
24
+ */
25
+ export interface ShadcnComponent {
26
+ /** Component name as exported (e.g., "Button", "Form") */
27
+ name: string;
28
+ /** Import path (e.g., "@/components/ui/button") */
29
+ import_path: string;
30
+ /** Named exports from the module */
31
+ exports: string[];
32
+ /** Related components often used together */
33
+ peer_components?: string[];
34
+ }
35
+ /**
36
+ * Component implementation pattern with template code
37
+ */
38
+ export interface ComponentPattern {
39
+ /** shadcn/ui components required for this pattern */
40
+ shadcn_components: ShadcnComponent[];
41
+ /** Template code with {{placeholder}} syntax */
42
+ template_code: string;
43
+ /** Required props that must be provided */
44
+ required_props: PropDefinition[];
45
+ /** Optional props with default values */
46
+ optional_props: PropDefinition[];
47
+ /** Default variant values */
48
+ default_variants: Record<string, string>;
49
+ }
50
+ /**
51
+ * TypeScript prop definition
52
+ */
53
+ export interface PropDefinition {
54
+ /** Prop name */
55
+ name: string;
56
+ /** TypeScript type */
57
+ type: string;
58
+ /** Default value if not provided */
59
+ default_value?: any;
60
+ /** Human-readable description */
61
+ description: string;
62
+ /** Validation rule for this prop */
63
+ validation?: ValidationRule;
64
+ }
65
+ /**
66
+ * Validation rule for props or component behavior
67
+ */
68
+ export interface ValidationRule {
69
+ /** Type of validation */
70
+ rule_type: "required" | "pattern" | "enum" | "custom" | "min" | "max";
71
+ /** The rule value (regex pattern, enum values, etc.) */
72
+ rule_value: string | string[] | number;
73
+ /** Error message shown when validation fails */
74
+ error_message: string;
75
+ }
76
+ /**
77
+ * Interaction specification defining component behavior
78
+ */
79
+ export interface InteractionSpec {
80
+ /** Event handlers required or recommended */
81
+ events: string[];
82
+ /** State variables needed for this component */
83
+ states: StateDefinition[];
84
+ /** Behavioral patterns and transitions */
85
+ behaviors: BehaviorDefinition[];
86
+ }
87
+ /**
88
+ * State variable definition
89
+ */
90
+ export interface StateDefinition {
91
+ /** State variable name */
92
+ name: string;
93
+ /** Initial value */
94
+ initial_value: any;
95
+ /** TypeScript type */
96
+ type: string;
97
+ /** Valid state transitions */
98
+ transitions?: string[];
99
+ }
100
+ /**
101
+ * Behavior definition for interactions
102
+ */
103
+ export interface BehaviorDefinition {
104
+ /** Event or condition that triggers this behavior */
105
+ trigger: string;
106
+ /** Description of what happens */
107
+ action: string;
108
+ /** Requirements for this behavior to work */
109
+ requirements: string[];
110
+ }
111
+ /**
112
+ * Accessibility specifications
113
+ */
114
+ export interface AccessibilitySpec {
115
+ /** Required ARIA attributes */
116
+ aria_attributes: Record<string, string>;
117
+ /** Keyboard interactions that must be supported */
118
+ keyboard_support: KeyboardSupport[];
119
+ /** Screen reader text if needed */
120
+ screen_reader_text?: string;
121
+ /** ARIA role if non-standard */
122
+ role?: string;
123
+ /** Focus management requirements */
124
+ focus_management?: string;
125
+ }
126
+ /**
127
+ * Keyboard interaction specification
128
+ */
129
+ export interface KeyboardSupport {
130
+ /** Key or key combination */
131
+ key: string;
132
+ /** Action performed when key is pressed */
133
+ action: string;
134
+ /** Condition when this key binding is active */
135
+ condition?: string;
136
+ }
137
+ /**
138
+ * Design token mapping specification
139
+ */
140
+ export interface DesignTokenMapping {
141
+ /** Category of design token */
142
+ token_category: "color" | "spacing" | "typography" | "shadow" | "radius" | "motion";
143
+ /** Required tokens from the design system */
144
+ required_tokens: string[];
145
+ /** Mapping to CSS variables */
146
+ css_var_mapping: Record<string, string>;
147
+ }
148
+ /**
149
+ * Responsive behavior specification
150
+ */
151
+ export interface ResponsiveBehavior {
152
+ /** Behavior at different breakpoints */
153
+ breakpoint_behaviors: Record<string, string>;
154
+ /** Whether to use mobile-first approach */
155
+ mobile_first: boolean;
156
+ /** Touch target requirements */
157
+ touch_targets: {
158
+ /** Minimum size for touch targets */
159
+ min_size: string;
160
+ };
161
+ }
162
+ /**
163
+ * Conflict resolution strategy
164
+ */
165
+ export interface ConflictResolution {
166
+ /** Intent names this conflicts with */
167
+ conflicts_with: string[];
168
+ /** How to resolve the conflict */
169
+ resolution_strategy: "prioritize" | "combine" | "error" | "prompt";
170
+ /** Message to show when conflict occurs */
171
+ resolution_message: string;
172
+ }
173
+ /**
174
+ * Example of intent usage
175
+ */
176
+ export interface IntentExample {
177
+ /** Natural language description */
178
+ natural_language: string;
179
+ /** Detected intent name */
180
+ extracted_intent: string;
181
+ /** Generated code sample */
182
+ generated_code_sample: string;
183
+ }
184
+ /**
185
+ * Complete specification for a UI intent pattern
186
+ */
187
+ export interface IntentMapping {
188
+ /** Canonical identifier for this intent (e.g., "primary-button") */
189
+ canonical_name: string;
190
+ /** Category this intent belongs to */
191
+ category: string;
192
+ /** Natural language phrases that match this intent */
193
+ intent_phrases: IntentPhrase[];
194
+ /** Component implementation pattern */
195
+ component_pattern: ComponentPattern;
196
+ /** Interaction and behavior specifications */
197
+ interaction_spec: InteractionSpec;
198
+ /** Accessibility requirements */
199
+ accessibility_spec: AccessibilitySpec;
200
+ /** Design token mappings */
201
+ design_tokens: DesignTokenMapping[];
202
+ /** Responsive behavior specification */
203
+ responsive_behavior: ResponsiveBehavior;
204
+ /** Validation rules for this intent */
205
+ validation_rules: ValidationRule[];
206
+ /** Conflict resolution strategies */
207
+ conflict_resolution: ConflictResolution[];
208
+ /** Minimum confidence threshold for this intent */
209
+ confidence_threshold: number;
210
+ /** Usage frequency (tracked by analytics) */
211
+ usage_frequency: number;
212
+ /** Example usages */
213
+ examples: IntentExample[];
214
+ }
215
+ /**
216
+ * Component category grouping
217
+ */
218
+ export interface ComponentCategory {
219
+ /** Category name */
220
+ name: string;
221
+ /** Description of this category */
222
+ description: string;
223
+ /** Common patterns in this category */
224
+ common_patterns: string[];
225
+ /** shadcn components typically used */
226
+ shadcn_components: string[];
227
+ }
228
+ /**
229
+ * Validation configuration
230
+ */
231
+ export interface ValidationConfig {
232
+ /** Minimum confidence threshold (0-1) */
233
+ min_confidence_threshold: number;
234
+ /** Threshold for considering intent ambiguous */
235
+ ambiguity_threshold: number;
236
+ /** Whether to require design tokens in generated code */
237
+ require_design_tokens: boolean;
238
+ /** Strict mode: fail on unknown intents vs. fallback */
239
+ strict_mode: boolean;
240
+ }
241
+ /**
242
+ * Usage analytics tracking
243
+ */
244
+ export interface UsageAnalytics {
245
+ /** Total number of validations performed */
246
+ total_validations: number;
247
+ /** Usage count per intent */
248
+ intent_usage_counts: Record<string, number>;
249
+ /** Log of validation failures */
250
+ validation_failures: ValidationFailureLog[];
251
+ /** Average confidence score across validations */
252
+ average_confidence: number;
253
+ }
254
+ /**
255
+ * Validation failure log entry
256
+ */
257
+ export interface ValidationFailureLog {
258
+ /** When the failure occurred */
259
+ timestamp: string;
260
+ /** Original text that failed to match */
261
+ original_text: string;
262
+ /** Intents that were attempted */
263
+ attempted_intents: string[];
264
+ /** Reason for failure */
265
+ failure_reason: string;
266
+ }
267
+ /**
268
+ * The complete intent dictionary
269
+ */
270
+ export interface IntentDictionary {
271
+ /** Dictionary version */
272
+ version: string;
273
+ /** Last update timestamp */
274
+ last_updated: string;
275
+ /** Schema version for compatibility */
276
+ schema_version: string;
277
+ /** Intent mappings by canonical name */
278
+ mappings: Record<string, IntentMapping>;
279
+ /** Quick synonym lookup to canonical names */
280
+ synonyms: Record<string, string>;
281
+ /** Component categories */
282
+ categories: ComponentCategory[];
283
+ /** Validation configuration */
284
+ validation_config: ValidationConfig;
285
+ /** Usage analytics */
286
+ usage_analytics: UsageAnalytics;
287
+ /** Custom user-defined mappings */
288
+ custom_mappings?: Record<string, IntentMapping>;
289
+ /** Project-specific overrides */
290
+ project_overrides?: Record<string, Partial<IntentMapping>>;
291
+ }
292
+ /**
293
+ * Extracted intent from text analysis
294
+ */
295
+ export interface ExtractedIntent {
296
+ /** Original text that matched */
297
+ original_text: string;
298
+ /** Pattern that matched this text */
299
+ pattern_matched: string;
300
+ /** Surrounding context */
301
+ context: Record<string, any>;
302
+ /** Initial confidence score */
303
+ confidence: number;
304
+ }
305
+ /**
306
+ * Successfully validated intent
307
+ */
308
+ export interface ValidatedIntent {
309
+ /** Original text from PRD */
310
+ original_text: string;
311
+ /** Canonical intent name matched */
312
+ canonical_name: string;
313
+ /** Full intent mapping specification */
314
+ intent_mapping: IntentMapping;
315
+ /** Confidence score (0-1) */
316
+ confidence: number;
317
+ /** Extracted contextual information */
318
+ extracted_context: Record<string, any>;
319
+ /** Resolved placeholder values for template */
320
+ resolved_placeholders: Record<string, string>;
321
+ }
322
+ /**
323
+ * Ambiguous intent requiring clarification
324
+ */
325
+ export interface AmbiguousIntent {
326
+ /** Original text that's ambiguous */
327
+ original_text: string;
328
+ /** Possible intent matches */
329
+ possible_intents: Array<{
330
+ /** Canonical name of possible intent */
331
+ canonical_name: string;
332
+ /** Confidence score for this possibility */
333
+ confidence: number;
334
+ /** Reasoning for why this might match */
335
+ reasoning: string;
336
+ }>;
337
+ /** Additional context needed to resolve ambiguity */
338
+ context_needed: string[];
339
+ }
340
+ /**
341
+ * Unknown intent that couldn't be matched
342
+ */
343
+ export interface UnknownIntent {
344
+ /** Original text that couldn't be matched */
345
+ original_text: string;
346
+ /** Similar intents that partially matched */
347
+ similar_intents: Array<{
348
+ /** Canonical name of similar intent */
349
+ canonical_name: string;
350
+ /** Similarity score (0-1) */
351
+ similarity_score: number;
352
+ }>;
353
+ /** Suggested fallback if any */
354
+ suggested_fallback: string;
355
+ }
356
+ /**
357
+ * Request for user clarification
358
+ */
359
+ export interface ClarificationRequest {
360
+ /** Question to ask the user */
361
+ question: string;
362
+ /** Original ambiguous text */
363
+ original_text: string;
364
+ /** Suggested intents to choose from */
365
+ suggested_intents: Array<{
366
+ /** Canonical name */
367
+ canonical_name: string;
368
+ /** User-friendly description */
369
+ description: string;
370
+ /** Components that will be used */
371
+ components: string[];
372
+ }>;
373
+ }
374
+ /**
375
+ * User's response to clarification
376
+ */
377
+ export interface ClarificationResponse {
378
+ /** Original text that needed clarification */
379
+ original_text: string;
380
+ /** Resolved intent chosen by user */
381
+ resolved_intent: string;
382
+ /** Confidence is 1.0 for user selections */
383
+ confidence: number;
384
+ }
385
+ /**
386
+ * Complete validation report
387
+ */
388
+ export interface IntentValidationReport {
389
+ /** Successfully validated intents */
390
+ validated_intents: ValidatedIntent[];
391
+ /** Ambiguous intents requiring clarification */
392
+ ambiguous_intents: AmbiguousIntent[];
393
+ /** Unknown intents that couldn't be matched */
394
+ unknown_intents: UnknownIntent[];
395
+ /** Overall confidence score */
396
+ confidence_score: number;
397
+ /** Clarifications needed from user */
398
+ clarifications_needed: ClarificationRequest[];
399
+ /** Warnings about potential issues */
400
+ warnings: string[];
401
+ /** Suggestions for improvement */
402
+ suggestions: string[];
403
+ }
404
+ /**
405
+ * Fully enriched component specification ready for code generation
406
+ */
407
+ export interface EnrichedComponentSpec {
408
+ /** Original natural language description */
409
+ original_description: string;
410
+ /** Generated component name */
411
+ component_name: string;
412
+ /** Canonical intent this is based on */
413
+ canonical_intent: string;
414
+ /** Confidence in the intent match */
415
+ intent_confidence: number;
416
+ /** shadcn components to use */
417
+ shadcn_components: string[];
418
+ /** Import statements needed */
419
+ component_imports: string[];
420
+ /** Design pattern specification */
421
+ design_pattern: ComponentPattern;
422
+ /** Expanded code template with values filled in */
423
+ code_template: string;
424
+ /** Prop specifications */
425
+ props_spec: PropDefinition[];
426
+ /** Generated TypeScript type definitions */
427
+ type_definitions: string;
428
+ /** State management requirements */
429
+ state_management: StateDefinition[];
430
+ /** Event handler signatures */
431
+ event_handlers: string[];
432
+ /** Design tokens with resolved values */
433
+ design_tokens_used: Record<string, string>;
434
+ /** Accessibility requirements */
435
+ accessibility_spec: AccessibilitySpec;
436
+ /** Responsive configuration */
437
+ responsive_config: ResponsiveBehavior;
438
+ /** Validation rules for this component */
439
+ validation_rules: ValidationRule[];
440
+ /** Conflicts with other intents */
441
+ conflicts: string[];
442
+ }
443
+ /**
444
+ * Issue found during code validation
445
+ */
446
+ export interface ValidationIssue {
447
+ /** Severity of the issue */
448
+ severity: "error" | "warning" | "info";
449
+ /** Category of issue */
450
+ category: "missing_component" | "missing_prop" | "accessibility" | "design_tokens" | "pattern_match" | "other";
451
+ /** Human-readable message */
452
+ message: string;
453
+ /** Intent this issue relates to */
454
+ intent: string;
455
+ /** Suggested fix */
456
+ fix: string;
457
+ }
458
+ /**
459
+ * Result of code validation
460
+ */
461
+ export interface CodeValidationResult {
462
+ /** Whether code passes validation */
463
+ valid: boolean;
464
+ /** Issues found during validation */
465
+ issues: ValidationIssue[];
466
+ /** Pattern match score (0-1) */
467
+ pattern_match_score: number;
468
+ /** Intent confidence score */
469
+ confidence: number;
470
+ /** Improvement suggestions */
471
+ suggestions: string[];
472
+ }
473
+ /**
474
+ * Fuzzy match result
475
+ */
476
+ export interface FuzzyMatchResult {
477
+ /** Canonical intent name */
478
+ canonical_name: string;
479
+ /** Confidence score (0-1) */
480
+ confidence: number;
481
+ /** Matched intent mapping */
482
+ mapping: IntentMapping;
483
+ /** Matched phrase */
484
+ matched_phrase: string;
485
+ }
486
+ /**
487
+ * Intent extraction context
488
+ */
489
+ export interface ExtractionContext {
490
+ /** Preceding text */
491
+ before: string;
492
+ /** Following text */
493
+ after: string;
494
+ /** Detected keywords */
495
+ keywords: string[];
496
+ /** Section of PRD this came from */
497
+ section: string;
498
+ }
499
+ /**
500
+ * Result of validating generated code against intent specifications
501
+ */
502
+ export interface ValidationResult {
503
+ /** Whether the code passes all validation checks */
504
+ valid: boolean;
505
+ /** List of validation issues found */
506
+ issues: ValidationIssue[];
507
+ /** Suggested improvements */
508
+ suggestions: string[];
509
+ }
510
+ /**
511
+ * Individual validation issue found in generated code
512
+ */
513
+ export interface ValidationIssue {
514
+ /** Type of validation check that failed */
515
+ type: "component" | "props" | "accessibility" | "state" | "tokens";
516
+ /** Severity level of the issue */
517
+ severity: "error" | "warning" | "info";
518
+ /** Human-readable description of the issue */
519
+ message: string;
520
+ /** Suggested fix for the issue */
521
+ fix: string;
522
+ /** Line number where issue was found (if applicable) */
523
+ line_number?: number;
524
+ }
525
+ //# sourceMappingURL=intent-dictionary.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"intent-dictionary.d.ts","sourceRoot":"","sources":["../../src/types/intent-dictionary.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAMH;;GAEG;AACH,MAAM,WAAW,YAAY;IAC3B,4CAA4C;IAC5C,MAAM,EAAE,MAAM,CAAC;IACf,yCAAyC;IACzC,OAAO,EAAE,MAAM,EAAE,CAAC;IAClB,6DAA6D;IAC7D,gBAAgB,EAAE,MAAM,EAAE,CAAC;IAC3B,wDAAwD;IACxD,gBAAgB,EAAE,MAAM,CAAC;CAC1B;AAED;;GAEG;AACH,MAAM,WAAW,eAAe;IAC9B,0DAA0D;IAC1D,IAAI,EAAE,MAAM,CAAC;IACb,mDAAmD;IACnD,WAAW,EAAE,MAAM,CAAC;IACpB,oCAAoC;IACpC,OAAO,EAAE,MAAM,EAAE,CAAC;IAClB,6CAA6C;IAC7C,eAAe,CAAC,EAAE,MAAM,EAAE,CAAC;CAC5B;AAED;;GAEG;AACH,MAAM,WAAW,gBAAgB;IAC/B,qDAAqD;IACrD,iBAAiB,EAAE,eAAe,EAAE,CAAC;IACrC,gDAAgD;IAChD,aAAa,EAAE,MAAM,CAAC;IACtB,2CAA2C;IAC3C,cAAc,EAAE,cAAc,EAAE,CAAC;IACjC,yCAAyC;IACzC,cAAc,EAAE,cAAc,EAAE,CAAC;IACjC,6BAA6B;IAC7B,gBAAgB,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;CAC1C;AAED;;GAEG;AACH,MAAM,WAAW,cAAc;IAC7B,gBAAgB;IAChB,IAAI,EAAE,MAAM,CAAC;IACb,sBAAsB;IACtB,IAAI,EAAE,MAAM,CAAC;IACb,oCAAoC;IACpC,aAAa,CAAC,EAAE,GAAG,CAAC;IACpB,iCAAiC;IACjC,WAAW,EAAE,MAAM,CAAC;IACpB,oCAAoC;IACpC,UAAU,CAAC,EAAE,cAAc,CAAC;CAC7B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BAAqB;IACrB,cAAc,EAAE,MAAM,CAAC;CACxB;AAED;;GAEG;AACH,MAAM,WAAW,iBAAiB;IAChC,qBAAqB;IACrB,MAAM,EAAE,MAAM,CAAC;IACf,qBAAqB;IACrB,KAAK,EAAE,MAAM,CAAC;IACd,wBAAwB;IACxB,QAAQ,EAAE,MAAM,EAAE,CAAC;IACnB,oCAAoC;IACpC,OAAO,EAAE,MAAM,CAAC;CACjB;AAMD;;GAEG;AACH,MAAM,WAAW,gBAAgB;IAC/B,oDAAoD;IACpD,KAAK,EAAE,OAAO,CAAC;IACf,sCAAsC;IACtC,MAAM,EAAE,eAAe,EAAE,CAAC;IAC1B,6BAA6B;IAC7B,WAAW,EAAE,MAAM,EAAE,CAAC;CACvB;AAED;;GAEG;AACH,MAAM,WAAW,eAAe;IAC9B,2CAA2C;IAC3C,IAAI,EAAE,WAAW,GAAG,OAAO,GAAG,eAAe,GAAG,OAAO,GAAG,QAAQ,CAAC;IACnE,kCAAkC;IAClC,QAAQ,EAAE,OAAO,GAAG,SAAS,GAAG,MAAM,CAAC;IACvC,8CAA8C;IAC9C,OAAO,EAAE,MAAM,CAAC;IAChB,kCAAkC;IAClC,GAAG,EAAE,MAAM,CAAC;IACZ,wDAAwD;IACxD,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB"}
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ /**
3
+ * Intent Dictionary Type Definitions
4
+ *
5
+ * Defines the type system for mapping natural language UI descriptions
6
+ * to shadcn/ui component implementations with type-safe specifications.
7
+ *
8
+ * @module intent-dictionary
9
+ */
10
+ Object.defineProperty(exports, "__esModule", { value: true });
11
+ //# sourceMappingURL=intent-dictionary.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"intent-dictionary.js","sourceRoot":"","sources":["../../src/types/intent-dictionary.ts"],"names":[],"mappings":";AAAA;;;;;;;GAOG"}