rivet-design 0.21.1 → 0.21.3

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 (107) hide show
  1. package/dist/agent-variants/contracts.d.ts +410 -410
  2. package/dist/index.d.ts +1 -0
  3. package/dist/index.d.ts.map +1 -1
  4. package/dist/index.js +25 -9
  5. package/dist/index.js.map +1 -1
  6. package/dist/library/BrowserSessions.d.ts +24 -8
  7. package/dist/library/BrowserSessions.d.ts.map +1 -1
  8. package/dist/library/BrowserSessions.js +67 -45
  9. package/dist/library/BrowserSessions.js.map +1 -1
  10. package/dist/library/HubServer.js +1 -1
  11. package/dist/library/HubServer.js.map +1 -1
  12. package/dist/routes/account.d.ts.map +1 -1
  13. package/dist/routes/account.js +7 -2
  14. package/dist/routes/account.js.map +1 -1
  15. package/dist/routes/installRef.d.ts +3 -0
  16. package/dist/routes/installRef.d.ts.map +1 -0
  17. package/dist/routes/installRef.js +18 -0
  18. package/dist/routes/installRef.js.map +1 -0
  19. package/dist/routes/library/app.d.ts.map +1 -1
  20. package/dist/routes/library/app.js +3 -8
  21. package/dist/routes/library/app.js.map +1 -1
  22. package/dist/routes/library/browserAccess.d.ts +0 -1
  23. package/dist/routes/library/browserAccess.d.ts.map +1 -1
  24. package/dist/routes/library/browserAccess.js +27 -20
  25. package/dist/routes/library/browserAccess.js.map +1 -1
  26. package/dist/routes/library/index.d.ts.map +1 -1
  27. package/dist/routes/library/index.js +2 -4
  28. package/dist/routes/library/index.js.map +1 -1
  29. package/dist/routes/library/middleware.d.ts +1 -1
  30. package/dist/routes/library/middleware.d.ts.map +1 -1
  31. package/dist/routes/library/middleware.js +15 -3
  32. package/dist/routes/library/middleware.js.map +1 -1
  33. package/dist/routes/variantRequestSchema.d.ts +7 -7
  34. package/dist/server.d.ts.map +1 -1
  35. package/dist/server.js +2 -0
  36. package/dist/server.js.map +1 -1
  37. package/dist/services/AuthService.d.ts.map +1 -1
  38. package/dist/services/AuthService.js +41 -15
  39. package/dist/services/AuthService.js.map +1 -1
  40. package/dist/services/BrowserAgentClient.d.ts.map +1 -1
  41. package/dist/services/BrowserAgentClient.js +13 -3
  42. package/dist/services/BrowserAgentClient.js.map +1 -1
  43. package/dist/services/ConfigManager.d.ts +23 -3
  44. package/dist/services/ConfigManager.d.ts.map +1 -1
  45. package/dist/services/ConfigManager.js +117 -24
  46. package/dist/services/ConfigManager.js.map +1 -1
  47. package/dist/services/GatewayClient.d.ts.map +1 -1
  48. package/dist/services/GatewayClient.js +3 -2
  49. package/dist/services/GatewayClient.js.map +1 -1
  50. package/dist/services/IntegrationsClient.d.ts +3 -3
  51. package/dist/services/IntegrationsClient.d.ts.map +1 -1
  52. package/dist/services/IntegrationsClient.js +5 -11
  53. package/dist/services/IntegrationsClient.js.map +1 -1
  54. package/dist/services/ProjectRegistry.d.ts +2 -2
  55. package/dist/services/PrototypeDeployService.d.ts.map +1 -1
  56. package/dist/services/PrototypeDeployService.js +3 -2
  57. package/dist/services/PrototypeDeployService.js.map +1 -1
  58. package/dist/services/authUpdate.d.ts +8 -0
  59. package/dist/services/authUpdate.d.ts.map +1 -0
  60. package/dist/services/authUpdate.js +21 -0
  61. package/dist/services/authUpdate.js.map +1 -0
  62. package/dist/services/pendingLogin.d.ts +2 -0
  63. package/dist/services/pendingLogin.d.ts.map +1 -1
  64. package/dist/services/pendingLogin.js +4 -2
  65. package/dist/services/pendingLogin.js.map +1 -1
  66. package/dist/services/profiles/DesignProfiles.d.ts +6 -6
  67. package/dist/services/profiles/ProfilePlanning.d.ts +4 -4
  68. package/dist/services/profiles/ReferenceReader.d.ts +3 -3
  69. package/dist/services/profiles/profileContext.d.ts +1 -1
  70. package/dist/storage/library/BrowserAuthorizationRecords.d.ts +54 -0
  71. package/dist/storage/library/BrowserAuthorizationRecords.d.ts.map +1 -0
  72. package/dist/storage/library/BrowserAuthorizationRecords.js +175 -0
  73. package/dist/storage/library/BrowserAuthorizationRecords.js.map +1 -0
  74. package/dist/storage/library/database.d.ts +2 -1
  75. package/dist/storage/library/database.d.ts.map +1 -1
  76. package/dist/storage/library/database.js +5 -36
  77. package/dist/storage/library/database.js.map +1 -1
  78. package/dist/storage/library/migrations.d.ts +1 -0
  79. package/dist/storage/library/migrations.d.ts.map +1 -1
  80. package/dist/storage/library/migrations.js +14 -1
  81. package/dist/storage/library/migrations.js.map +1 -1
  82. package/dist/storage/library/schema/browserAuthorization.d.ts +191 -0
  83. package/dist/storage/library/schema/browserAuthorization.d.ts.map +1 -0
  84. package/dist/storage/library/schema/browserAuthorization.js +20 -0
  85. package/dist/storage/library/schema/browserAuthorization.js.map +1 -0
  86. package/dist/storage/profiles/ProfilePlans.d.ts +15 -15
  87. package/dist/storage/profiles/ProfileRecords.d.ts +3 -3
  88. package/dist/storage/profiles/planSchema.d.ts +4 -4
  89. package/dist/storage/profiles/schema.d.ts +2 -2
  90. package/dist/types/cosmos-profile.d.ts +6 -6
  91. package/dist/types/cosmos.d.ts +20 -20
  92. package/dist/types/design-library.d.ts +2 -2
  93. package/dist/types/design-profile.d.ts +14 -14
  94. package/dist/types/guidance.d.ts +4 -4
  95. package/dist/types/reference-connectors.d.ts +10 -10
  96. package/dist/types/reference-onboarding.d.ts +43 -43
  97. package/dist/types/reference-pages.d.ts +6 -6
  98. package/dist/types/variant-reference.d.ts +4 -4
  99. package/dist/utils/installRef.d.ts +8 -0
  100. package/dist/utils/installRef.d.ts.map +1 -0
  101. package/dist/utils/installRef.js +34 -0
  102. package/dist/utils/installRef.js.map +1 -0
  103. package/package.json +2 -2
  104. package/src/ui/dist/assets/LibraryEntry-KqxMUHkc.js +36 -0
  105. package/src/ui/dist/assets/{main-CEV9QrPk.js → main-BHRIv9pk.js} +85 -85
  106. package/src/ui/dist/index.html +1 -1
  107. package/src/ui/dist/assets/LibraryEntry-D962AMoc.js +0 -36
@@ -124,32 +124,32 @@ export declare const rawUserContextInputSchema: z.ZodDiscriminatedUnion<"transpo
124
124
  }, "strip", z.ZodTypeAny, {
125
125
  id: string;
126
126
  title: string;
127
+ url?: string | undefined;
127
128
  image?: {
128
129
  hash: string;
129
130
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
130
131
  } | undefined;
131
- url?: string | undefined;
132
132
  reason?: string | undefined;
133
133
  }, {
134
134
  id: string;
135
135
  title: string;
136
- image?: unknown;
137
136
  url?: string | undefined;
137
+ image?: unknown;
138
138
  reason?: string | undefined;
139
139
  }>, {
140
140
  id: string;
141
141
  title: string;
142
+ url?: string | undefined;
142
143
  image?: {
143
144
  hash: string;
144
145
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
145
146
  } | undefined;
146
- url?: string | undefined;
147
147
  reason?: string | undefined;
148
148
  }, {
149
149
  id: string;
150
150
  title: string;
151
- image?: unknown;
152
151
  url?: string | undefined;
152
+ image?: unknown;
153
153
  reason?: string | undefined;
154
154
  }>, "many">>;
155
155
  dataUrl: z.ZodString;
@@ -164,11 +164,11 @@ export declare const rawUserContextInputSchema: z.ZodDiscriminatedUnion<"transpo
164
164
  references?: {
165
165
  id: string;
166
166
  title: string;
167
+ url?: string | undefined;
167
168
  image?: {
168
169
  hash: string;
169
170
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
170
171
  } | undefined;
171
- url?: string | undefined;
172
172
  reason?: string | undefined;
173
173
  }[] | undefined;
174
174
  filename?: string | undefined;
@@ -180,8 +180,8 @@ export declare const rawUserContextInputSchema: z.ZodDiscriminatedUnion<"transpo
180
180
  references?: {
181
181
  id: string;
182
182
  title: string;
183
- image?: unknown;
184
183
  url?: string | undefined;
184
+ image?: unknown;
185
185
  reason?: string | undefined;
186
186
  }[] | undefined;
187
187
  filename?: string | undefined;
@@ -220,32 +220,32 @@ export declare const rawUserContextInputSchema: z.ZodDiscriminatedUnion<"transpo
220
220
  }, "strip", z.ZodTypeAny, {
221
221
  id: string;
222
222
  title: string;
223
+ url?: string | undefined;
223
224
  image?: {
224
225
  hash: string;
225
226
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
226
227
  } | undefined;
227
- url?: string | undefined;
228
228
  reason?: string | undefined;
229
229
  }, {
230
230
  id: string;
231
231
  title: string;
232
- image?: unknown;
233
232
  url?: string | undefined;
233
+ image?: unknown;
234
234
  reason?: string | undefined;
235
235
  }>, {
236
236
  id: string;
237
237
  title: string;
238
+ url?: string | undefined;
238
239
  image?: {
239
240
  hash: string;
240
241
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
241
242
  } | undefined;
242
- url?: string | undefined;
243
243
  reason?: string | undefined;
244
244
  }, {
245
245
  id: string;
246
246
  title: string;
247
- image?: unknown;
248
247
  url?: string | undefined;
248
+ image?: unknown;
249
249
  reason?: string | undefined;
250
250
  }>, "many">>;
251
251
  content: z.ZodString;
@@ -259,11 +259,11 @@ export declare const rawUserContextInputSchema: z.ZodDiscriminatedUnion<"transpo
259
259
  references?: {
260
260
  id: string;
261
261
  title: string;
262
+ url?: string | undefined;
262
263
  image?: {
263
264
  hash: string;
264
265
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
265
266
  } | undefined;
266
- url?: string | undefined;
267
267
  reason?: string | undefined;
268
268
  }[] | undefined;
269
269
  }, {
@@ -274,8 +274,8 @@ export declare const rawUserContextInputSchema: z.ZodDiscriminatedUnion<"transpo
274
274
  references?: {
275
275
  id: string;
276
276
  title: string;
277
- image?: unknown;
278
277
  url?: string | undefined;
278
+ image?: unknown;
279
279
  reason?: string | undefined;
280
280
  }[] | undefined;
281
281
  }>]>;
@@ -330,32 +330,32 @@ export declare const rawUserContextSourceSchema: z.ZodDiscriminatedUnion<"transp
330
330
  }, "strip", z.ZodTypeAny, {
331
331
  id: string;
332
332
  title: string;
333
+ url?: string | undefined;
333
334
  image?: {
334
335
  hash: string;
335
336
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
336
337
  } | undefined;
337
- url?: string | undefined;
338
338
  reason?: string | undefined;
339
339
  }, {
340
340
  id: string;
341
341
  title: string;
342
- image?: unknown;
343
342
  url?: string | undefined;
343
+ image?: unknown;
344
344
  reason?: string | undefined;
345
345
  }>, {
346
346
  id: string;
347
347
  title: string;
348
+ url?: string | undefined;
348
349
  image?: {
349
350
  hash: string;
350
351
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
351
352
  } | undefined;
352
- url?: string | undefined;
353
353
  reason?: string | undefined;
354
354
  }, {
355
355
  id: string;
356
356
  title: string;
357
- image?: unknown;
358
357
  url?: string | undefined;
358
+ image?: unknown;
359
359
  reason?: string | undefined;
360
360
  }>, "many">>;
361
361
  path: z.ZodString;
@@ -373,11 +373,11 @@ export declare const rawUserContextSourceSchema: z.ZodDiscriminatedUnion<"transp
373
373
  references?: {
374
374
  id: string;
375
375
  title: string;
376
+ url?: string | undefined;
376
377
  image?: {
377
378
  hash: string;
378
379
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
379
380
  } | undefined;
380
- url?: string | undefined;
381
381
  reason?: string | undefined;
382
382
  }[] | undefined;
383
383
  originalFilename?: string | undefined;
@@ -391,8 +391,8 @@ export declare const rawUserContextSourceSchema: z.ZodDiscriminatedUnion<"transp
391
391
  references?: {
392
392
  id: string;
393
393
  title: string;
394
- image?: unknown;
395
394
  url?: string | undefined;
395
+ image?: unknown;
396
396
  reason?: string | undefined;
397
397
  }[] | undefined;
398
398
  originalFilename?: string | undefined;
@@ -435,32 +435,32 @@ export declare const rawUserContextSourceSchema: z.ZodDiscriminatedUnion<"transp
435
435
  }, "strip", z.ZodTypeAny, {
436
436
  id: string;
437
437
  title: string;
438
+ url?: string | undefined;
438
439
  image?: {
439
440
  hash: string;
440
441
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
441
442
  } | undefined;
442
- url?: string | undefined;
443
443
  reason?: string | undefined;
444
444
  }, {
445
445
  id: string;
446
446
  title: string;
447
- image?: unknown;
448
447
  url?: string | undefined;
448
+ image?: unknown;
449
449
  reason?: string | undefined;
450
450
  }>, {
451
451
  id: string;
452
452
  title: string;
453
+ url?: string | undefined;
453
454
  image?: {
454
455
  hash: string;
455
456
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
456
457
  } | undefined;
457
- url?: string | undefined;
458
458
  reason?: string | undefined;
459
459
  }, {
460
460
  id: string;
461
461
  title: string;
462
- image?: unknown;
463
462
  url?: string | undefined;
463
+ image?: unknown;
464
464
  reason?: string | undefined;
465
465
  }>, "many">>;
466
466
  path: z.ZodString;
@@ -475,11 +475,11 @@ export declare const rawUserContextSourceSchema: z.ZodDiscriminatedUnion<"transp
475
475
  references?: {
476
476
  id: string;
477
477
  title: string;
478
+ url?: string | undefined;
478
479
  image?: {
479
480
  hash: string;
480
481
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
481
482
  } | undefined;
482
- url?: string | undefined;
483
483
  reason?: string | undefined;
484
484
  }[] | undefined;
485
485
  }, {
@@ -491,8 +491,8 @@ export declare const rawUserContextSourceSchema: z.ZodDiscriminatedUnion<"transp
491
491
  references?: {
492
492
  id: string;
493
493
  title: string;
494
- image?: unknown;
495
494
  url?: string | undefined;
495
+ image?: unknown;
496
496
  reason?: string | undefined;
497
497
  }[] | undefined;
498
498
  }>]>;
@@ -583,32 +583,32 @@ export declare const storedUserContextSourceRecordSchema: z.ZodObject<{
583
583
  }, "strip", z.ZodTypeAny, {
584
584
  id: string;
585
585
  title: string;
586
+ url?: string | undefined;
586
587
  image?: {
587
588
  hash: string;
588
589
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
589
590
  } | undefined;
590
- url?: string | undefined;
591
591
  reason?: string | undefined;
592
592
  }, {
593
593
  id: string;
594
594
  title: string;
595
- image?: unknown;
596
595
  url?: string | undefined;
596
+ image?: unknown;
597
597
  reason?: string | undefined;
598
598
  }>, {
599
599
  id: string;
600
600
  title: string;
601
+ url?: string | undefined;
601
602
  image?: {
602
603
  hash: string;
603
604
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
604
605
  } | undefined;
605
- url?: string | undefined;
606
606
  reason?: string | undefined;
607
607
  }, {
608
608
  id: string;
609
609
  title: string;
610
- image?: unknown;
611
610
  url?: string | undefined;
611
+ image?: unknown;
612
612
  reason?: string | undefined;
613
613
  }>, "many">>;
614
614
  path: z.ZodString;
@@ -626,11 +626,11 @@ export declare const storedUserContextSourceRecordSchema: z.ZodObject<{
626
626
  references?: {
627
627
  id: string;
628
628
  title: string;
629
+ url?: string | undefined;
629
630
  image?: {
630
631
  hash: string;
631
632
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
632
633
  } | undefined;
633
- url?: string | undefined;
634
634
  reason?: string | undefined;
635
635
  }[] | undefined;
636
636
  originalFilename?: string | undefined;
@@ -644,8 +644,8 @@ export declare const storedUserContextSourceRecordSchema: z.ZodObject<{
644
644
  references?: {
645
645
  id: string;
646
646
  title: string;
647
- image?: unknown;
648
647
  url?: string | undefined;
648
+ image?: unknown;
649
649
  reason?: string | undefined;
650
650
  }[] | undefined;
651
651
  originalFilename?: string | undefined;
@@ -688,32 +688,32 @@ export declare const storedUserContextSourceRecordSchema: z.ZodObject<{
688
688
  }, "strip", z.ZodTypeAny, {
689
689
  id: string;
690
690
  title: string;
691
+ url?: string | undefined;
691
692
  image?: {
692
693
  hash: string;
693
694
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
694
695
  } | undefined;
695
- url?: string | undefined;
696
696
  reason?: string | undefined;
697
697
  }, {
698
698
  id: string;
699
699
  title: string;
700
- image?: unknown;
701
700
  url?: string | undefined;
701
+ image?: unknown;
702
702
  reason?: string | undefined;
703
703
  }>, {
704
704
  id: string;
705
705
  title: string;
706
+ url?: string | undefined;
706
707
  image?: {
707
708
  hash: string;
708
709
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
709
710
  } | undefined;
710
- url?: string | undefined;
711
711
  reason?: string | undefined;
712
712
  }, {
713
713
  id: string;
714
714
  title: string;
715
- image?: unknown;
716
715
  url?: string | undefined;
716
+ image?: unknown;
717
717
  reason?: string | undefined;
718
718
  }>, "many">>;
719
719
  path: z.ZodString;
@@ -728,11 +728,11 @@ export declare const storedUserContextSourceRecordSchema: z.ZodObject<{
728
728
  references?: {
729
729
  id: string;
730
730
  title: string;
731
+ url?: string | undefined;
731
732
  image?: {
732
733
  hash: string;
733
734
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
734
735
  } | undefined;
735
- url?: string | undefined;
736
736
  reason?: string | undefined;
737
737
  }[] | undefined;
738
738
  }, {
@@ -744,8 +744,8 @@ export declare const storedUserContextSourceRecordSchema: z.ZodObject<{
744
744
  references?: {
745
745
  id: string;
746
746
  title: string;
747
- image?: unknown;
748
747
  url?: string | undefined;
748
+ image?: unknown;
749
749
  reason?: string | undefined;
750
750
  }[] | undefined;
751
751
  }>]>;
@@ -783,11 +783,11 @@ export declare const storedUserContextSourceRecordSchema: z.ZodObject<{
783
783
  references?: {
784
784
  id: string;
785
785
  title: string;
786
+ url?: string | undefined;
786
787
  image?: {
787
788
  hash: string;
788
789
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
789
790
  } | undefined;
790
- url?: string | undefined;
791
791
  reason?: string | undefined;
792
792
  }[] | undefined;
793
793
  originalFilename?: string | undefined;
@@ -806,11 +806,11 @@ export declare const storedUserContextSourceRecordSchema: z.ZodObject<{
806
806
  references?: {
807
807
  id: string;
808
808
  title: string;
809
+ url?: string | undefined;
809
810
  image?: {
810
811
  hash: string;
811
812
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
812
813
  } | undefined;
813
- url?: string | undefined;
814
814
  reason?: string | undefined;
815
815
  }[] | undefined;
816
816
  };
@@ -840,8 +840,8 @@ export declare const storedUserContextSourceRecordSchema: z.ZodObject<{
840
840
  references?: {
841
841
  id: string;
842
842
  title: string;
843
- image?: unknown;
844
843
  url?: string | undefined;
844
+ image?: unknown;
845
845
  reason?: string | undefined;
846
846
  }[] | undefined;
847
847
  originalFilename?: string | undefined;
@@ -860,8 +860,8 @@ export declare const storedUserContextSourceRecordSchema: z.ZodObject<{
860
860
  references?: {
861
861
  id: string;
862
862
  title: string;
863
- image?: unknown;
864
863
  url?: string | undefined;
864
+ image?: unknown;
865
865
  reason?: string | undefined;
866
866
  }[] | undefined;
867
867
  };
@@ -880,14 +880,14 @@ export declare const rivetContextActionSchema: z.ZodObject<{
880
880
  outputMetadataIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
881
881
  }, "strip", z.ZodTypeAny, {
882
882
  id: string;
883
- reason: string;
884
883
  kind: "extract_design_system" | "describe_motion";
884
+ reason: string;
885
885
  sourceIds: string[];
886
886
  outputMetadataIds?: string[] | undefined;
887
887
  }, {
888
888
  id: string;
889
- reason: string;
890
889
  kind: "extract_design_system" | "describe_motion";
890
+ reason: string;
891
891
  sourceIds: string[];
892
892
  outputMetadataIds?: string[] | undefined;
893
893
  }>;
@@ -899,13 +899,13 @@ export declare const sourcePlanActionOptionSchema: z.ZodObject<{
899
899
  instructions: z.ZodString;
900
900
  }, "strip", z.ZodTypeAny, {
901
901
  kind: "extract_design_system" | "describe_motion";
902
- sourceTransports: ("text" | "url" | "prompt" | "file" | "directory")[];
902
+ sourceTransports: ("url" | "text" | "prompt" | "file" | "directory")[];
903
903
  capability: "extract_inspiration_context" | "rivet_describe_motion";
904
904
  produces: "design_system" | "motion_guidance";
905
905
  instructions: string;
906
906
  }, {
907
907
  kind: "extract_design_system" | "describe_motion";
908
- sourceTransports: ("text" | "url" | "prompt" | "file" | "directory")[];
908
+ sourceTransports: ("url" | "text" | "prompt" | "file" | "directory")[];
909
909
  capability: "extract_inspiration_context" | "rivet_describe_motion";
910
910
  produces: "design_system" | "motion_guidance";
911
911
  instructions: string;
@@ -951,7 +951,7 @@ export declare const rivetMetadataSchema: z.ZodDiscriminatedUnion<"kind", [z.Zod
951
951
  }[];
952
952
  qualityBar: string[];
953
953
  designMarkdown?: string | undefined;
954
- evidenceStatus?: "captured" | "partial" | "inferred" | undefined;
954
+ evidenceStatus?: "partial" | "captured" | "inferred" | undefined;
955
955
  risks?: string[] | undefined;
956
956
  }, {
957
957
  sourceFindings: string[];
@@ -964,7 +964,7 @@ export declare const rivetMetadataSchema: z.ZodDiscriminatedUnion<"kind", [z.Zod
964
964
  }[];
965
965
  qualityBar: string[];
966
966
  designMarkdown?: string | undefined;
967
- evidenceStatus?: "captured" | "partial" | "inferred" | undefined;
967
+ evidenceStatus?: "partial" | "captured" | "inferred" | undefined;
968
968
  risks?: string[] | undefined;
969
969
  }>;
970
970
  }, "strip", z.ZodTypeAny, {
@@ -980,7 +980,7 @@ export declare const rivetMetadataSchema: z.ZodDiscriminatedUnion<"kind", [z.Zod
980
980
  }[];
981
981
  qualityBar: string[];
982
982
  designMarkdown?: string | undefined;
983
- evidenceStatus?: "captured" | "partial" | "inferred" | undefined;
983
+ evidenceStatus?: "partial" | "captured" | "inferred" | undefined;
984
984
  risks?: string[] | undefined;
985
985
  };
986
986
  kind: "design_system";
@@ -1002,7 +1002,7 @@ export declare const rivetMetadataSchema: z.ZodDiscriminatedUnion<"kind", [z.Zod
1002
1002
  }[];
1003
1003
  qualityBar: string[];
1004
1004
  designMarkdown?: string | undefined;
1005
- evidenceStatus?: "captured" | "partial" | "inferred" | undefined;
1005
+ evidenceStatus?: "partial" | "captured" | "inferred" | undefined;
1006
1006
  risks?: string[] | undefined;
1007
1007
  };
1008
1008
  kind: "design_system";
@@ -1210,32 +1210,32 @@ export declare const variantContextBundleSchema: z.ZodObject<{
1210
1210
  }, "strip", z.ZodTypeAny, {
1211
1211
  id: string;
1212
1212
  title: string;
1213
+ url?: string | undefined;
1213
1214
  image?: {
1214
1215
  hash: string;
1215
1216
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
1216
1217
  } | undefined;
1217
- url?: string | undefined;
1218
1218
  reason?: string | undefined;
1219
1219
  }, {
1220
1220
  id: string;
1221
1221
  title: string;
1222
- image?: unknown;
1223
1222
  url?: string | undefined;
1223
+ image?: unknown;
1224
1224
  reason?: string | undefined;
1225
1225
  }>, {
1226
1226
  id: string;
1227
1227
  title: string;
1228
+ url?: string | undefined;
1228
1229
  image?: {
1229
1230
  hash: string;
1230
1231
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
1231
1232
  } | undefined;
1232
- url?: string | undefined;
1233
1233
  reason?: string | undefined;
1234
1234
  }, {
1235
1235
  id: string;
1236
1236
  title: string;
1237
- image?: unknown;
1238
1237
  url?: string | undefined;
1238
+ image?: unknown;
1239
1239
  reason?: string | undefined;
1240
1240
  }>, "many">>;
1241
1241
  path: z.ZodString;
@@ -1253,11 +1253,11 @@ export declare const variantContextBundleSchema: z.ZodObject<{
1253
1253
  references?: {
1254
1254
  id: string;
1255
1255
  title: string;
1256
+ url?: string | undefined;
1256
1257
  image?: {
1257
1258
  hash: string;
1258
1259
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
1259
1260
  } | undefined;
1260
- url?: string | undefined;
1261
1261
  reason?: string | undefined;
1262
1262
  }[] | undefined;
1263
1263
  originalFilename?: string | undefined;
@@ -1271,8 +1271,8 @@ export declare const variantContextBundleSchema: z.ZodObject<{
1271
1271
  references?: {
1272
1272
  id: string;
1273
1273
  title: string;
1274
- image?: unknown;
1275
1274
  url?: string | undefined;
1275
+ image?: unknown;
1276
1276
  reason?: string | undefined;
1277
1277
  }[] | undefined;
1278
1278
  originalFilename?: string | undefined;
@@ -1315,32 +1315,32 @@ export declare const variantContextBundleSchema: z.ZodObject<{
1315
1315
  }, "strip", z.ZodTypeAny, {
1316
1316
  id: string;
1317
1317
  title: string;
1318
+ url?: string | undefined;
1318
1319
  image?: {
1319
1320
  hash: string;
1320
1321
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
1321
1322
  } | undefined;
1322
- url?: string | undefined;
1323
1323
  reason?: string | undefined;
1324
1324
  }, {
1325
1325
  id: string;
1326
1326
  title: string;
1327
- image?: unknown;
1328
1327
  url?: string | undefined;
1328
+ image?: unknown;
1329
1329
  reason?: string | undefined;
1330
1330
  }>, {
1331
1331
  id: string;
1332
1332
  title: string;
1333
+ url?: string | undefined;
1333
1334
  image?: {
1334
1335
  hash: string;
1335
1336
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
1336
1337
  } | undefined;
1337
- url?: string | undefined;
1338
1338
  reason?: string | undefined;
1339
1339
  }, {
1340
1340
  id: string;
1341
1341
  title: string;
1342
- image?: unknown;
1343
1342
  url?: string | undefined;
1343
+ image?: unknown;
1344
1344
  reason?: string | undefined;
1345
1345
  }>, "many">>;
1346
1346
  path: z.ZodString;
@@ -1355,11 +1355,11 @@ export declare const variantContextBundleSchema: z.ZodObject<{
1355
1355
  references?: {
1356
1356
  id: string;
1357
1357
  title: string;
1358
+ url?: string | undefined;
1358
1359
  image?: {
1359
1360
  hash: string;
1360
1361
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
1361
1362
  } | undefined;
1362
- url?: string | undefined;
1363
1363
  reason?: string | undefined;
1364
1364
  }[] | undefined;
1365
1365
  }, {
@@ -1371,8 +1371,8 @@ export declare const variantContextBundleSchema: z.ZodObject<{
1371
1371
  references?: {
1372
1372
  id: string;
1373
1373
  title: string;
1374
- image?: unknown;
1375
1374
  url?: string | undefined;
1375
+ image?: unknown;
1376
1376
  reason?: string | undefined;
1377
1377
  }[] | undefined;
1378
1378
  }>]>, "many">;
@@ -1384,14 +1384,14 @@ export declare const variantContextBundleSchema: z.ZodObject<{
1384
1384
  outputMetadataIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1385
1385
  }, "strip", z.ZodTypeAny, {
1386
1386
  id: string;
1387
- reason: string;
1388
1387
  kind: "extract_design_system" | "describe_motion";
1388
+ reason: string;
1389
1389
  sourceIds: string[];
1390
1390
  outputMetadataIds?: string[] | undefined;
1391
1391
  }, {
1392
1392
  id: string;
1393
- reason: string;
1394
1393
  kind: "extract_design_system" | "describe_motion";
1394
+ reason: string;
1395
1395
  sourceIds: string[];
1396
1396
  outputMetadataIds?: string[] | undefined;
1397
1397
  }>, "many">;
@@ -1436,7 +1436,7 @@ export declare const variantContextBundleSchema: z.ZodObject<{
1436
1436
  }[];
1437
1437
  qualityBar: string[];
1438
1438
  designMarkdown?: string | undefined;
1439
- evidenceStatus?: "captured" | "partial" | "inferred" | undefined;
1439
+ evidenceStatus?: "partial" | "captured" | "inferred" | undefined;
1440
1440
  risks?: string[] | undefined;
1441
1441
  }, {
1442
1442
  sourceFindings: string[];
@@ -1449,7 +1449,7 @@ export declare const variantContextBundleSchema: z.ZodObject<{
1449
1449
  }[];
1450
1450
  qualityBar: string[];
1451
1451
  designMarkdown?: string | undefined;
1452
- evidenceStatus?: "captured" | "partial" | "inferred" | undefined;
1452
+ evidenceStatus?: "partial" | "captured" | "inferred" | undefined;
1453
1453
  risks?: string[] | undefined;
1454
1454
  }>;
1455
1455
  }, "strip", z.ZodTypeAny, {
@@ -1465,7 +1465,7 @@ export declare const variantContextBundleSchema: z.ZodObject<{
1465
1465
  }[];
1466
1466
  qualityBar: string[];
1467
1467
  designMarkdown?: string | undefined;
1468
- evidenceStatus?: "captured" | "partial" | "inferred" | undefined;
1468
+ evidenceStatus?: "partial" | "captured" | "inferred" | undefined;
1469
1469
  risks?: string[] | undefined;
1470
1470
  };
1471
1471
  kind: "design_system";
@@ -1487,7 +1487,7 @@ export declare const variantContextBundleSchema: z.ZodObject<{
1487
1487
  }[];
1488
1488
  qualityBar: string[];
1489
1489
  designMarkdown?: string | undefined;
1490
- evidenceStatus?: "captured" | "partial" | "inferred" | undefined;
1490
+ evidenceStatus?: "partial" | "captured" | "inferred" | undefined;
1491
1491
  risks?: string[] | undefined;
1492
1492
  };
1493
1493
  kind: "design_system";
@@ -1647,8 +1647,8 @@ export declare const variantContextBundleSchema: z.ZodObject<{
1647
1647
  userQuestion?: string | undefined;
1648
1648
  }>>;
1649
1649
  }, "strip", z.ZodTypeAny, {
1650
- sessionId: string;
1651
1650
  version: 1;
1651
+ sessionId: string;
1652
1652
  contextBundlePath: string;
1653
1653
  userContext: ({
1654
1654
  id: string;
@@ -1670,11 +1670,11 @@ export declare const variantContextBundleSchema: z.ZodObject<{
1670
1670
  references?: {
1671
1671
  id: string;
1672
1672
  title: string;
1673
+ url?: string | undefined;
1673
1674
  image?: {
1674
1675
  hash: string;
1675
1676
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
1676
1677
  } | undefined;
1677
- url?: string | undefined;
1678
1678
  reason?: string | undefined;
1679
1679
  }[] | undefined;
1680
1680
  originalFilename?: string | undefined;
@@ -1693,18 +1693,18 @@ export declare const variantContextBundleSchema: z.ZodObject<{
1693
1693
  references?: {
1694
1694
  id: string;
1695
1695
  title: string;
1696
+ url?: string | undefined;
1696
1697
  image?: {
1697
1698
  hash: string;
1698
1699
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
1699
1700
  } | undefined;
1700
- url?: string | undefined;
1701
1701
  reason?: string | undefined;
1702
1702
  }[] | undefined;
1703
1703
  })[];
1704
1704
  rivetActions: {
1705
1705
  id: string;
1706
- reason: string;
1707
1706
  kind: "extract_design_system" | "describe_motion";
1707
+ reason: string;
1708
1708
  sourceIds: string[];
1709
1709
  outputMetadataIds?: string[] | undefined;
1710
1710
  }[];
@@ -1721,7 +1721,7 @@ export declare const variantContextBundleSchema: z.ZodObject<{
1721
1721
  }[];
1722
1722
  qualityBar: string[];
1723
1723
  designMarkdown?: string | undefined;
1724
- evidenceStatus?: "captured" | "partial" | "inferred" | undefined;
1724
+ evidenceStatus?: "partial" | "captured" | "inferred" | undefined;
1725
1725
  risks?: string[] | undefined;
1726
1726
  };
1727
1727
  kind: "design_system";
@@ -1778,8 +1778,8 @@ export declare const variantContextBundleSchema: z.ZodObject<{
1778
1778
  userQuestion?: string | undefined;
1779
1779
  } | undefined;
1780
1780
  }, {
1781
- sessionId: string;
1782
1781
  version: 1;
1782
+ sessionId: string;
1783
1783
  contextBundlePath: string;
1784
1784
  userContext: ({
1785
1785
  id: string;
@@ -1801,8 +1801,8 @@ export declare const variantContextBundleSchema: z.ZodObject<{
1801
1801
  references?: {
1802
1802
  id: string;
1803
1803
  title: string;
1804
- image?: unknown;
1805
1804
  url?: string | undefined;
1805
+ image?: unknown;
1806
1806
  reason?: string | undefined;
1807
1807
  }[] | undefined;
1808
1808
  originalFilename?: string | undefined;
@@ -1821,15 +1821,15 @@ export declare const variantContextBundleSchema: z.ZodObject<{
1821
1821
  references?: {
1822
1822
  id: string;
1823
1823
  title: string;
1824
- image?: unknown;
1825
1824
  url?: string | undefined;
1825
+ image?: unknown;
1826
1826
  reason?: string | undefined;
1827
1827
  }[] | undefined;
1828
1828
  })[];
1829
1829
  rivetActions: {
1830
1830
  id: string;
1831
- reason: string;
1832
1831
  kind: "extract_design_system" | "describe_motion";
1832
+ reason: string;
1833
1833
  sourceIds: string[];
1834
1834
  outputMetadataIds?: string[] | undefined;
1835
1835
  }[];
@@ -1846,7 +1846,7 @@ export declare const variantContextBundleSchema: z.ZodObject<{
1846
1846
  }[];
1847
1847
  qualityBar: string[];
1848
1848
  designMarkdown?: string | undefined;
1849
- evidenceStatus?: "captured" | "partial" | "inferred" | undefined;
1849
+ evidenceStatus?: "partial" | "captured" | "inferred" | undefined;
1850
1850
  risks?: string[] | undefined;
1851
1851
  };
1852
1852
  kind: "design_system";
@@ -1983,32 +1983,32 @@ export declare const projectContextExisting: z.ZodObject<{
1983
1983
  }, "strip", z.ZodTypeAny, {
1984
1984
  id: string;
1985
1985
  title: string;
1986
+ url?: string | undefined;
1986
1987
  image?: {
1987
1988
  hash: string;
1988
1989
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
1989
1990
  } | undefined;
1990
- url?: string | undefined;
1991
1991
  reason?: string | undefined;
1992
1992
  }, {
1993
1993
  id: string;
1994
1994
  title: string;
1995
- image?: unknown;
1996
1995
  url?: string | undefined;
1996
+ image?: unknown;
1997
1997
  reason?: string | undefined;
1998
1998
  }>, {
1999
1999
  id: string;
2000
2000
  title: string;
2001
+ url?: string | undefined;
2001
2002
  image?: {
2002
2003
  hash: string;
2003
2004
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
2004
2005
  } | undefined;
2005
- url?: string | undefined;
2006
2006
  reason?: string | undefined;
2007
2007
  }, {
2008
2008
  id: string;
2009
2009
  title: string;
2010
- image?: unknown;
2011
2010
  url?: string | undefined;
2011
+ image?: unknown;
2012
2012
  reason?: string | undefined;
2013
2013
  }>, "many">>;
2014
2014
  path: z.ZodString;
@@ -2026,11 +2026,11 @@ export declare const projectContextExisting: z.ZodObject<{
2026
2026
  references?: {
2027
2027
  id: string;
2028
2028
  title: string;
2029
+ url?: string | undefined;
2029
2030
  image?: {
2030
2031
  hash: string;
2031
2032
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
2032
2033
  } | undefined;
2033
- url?: string | undefined;
2034
2034
  reason?: string | undefined;
2035
2035
  }[] | undefined;
2036
2036
  originalFilename?: string | undefined;
@@ -2044,8 +2044,8 @@ export declare const projectContextExisting: z.ZodObject<{
2044
2044
  references?: {
2045
2045
  id: string;
2046
2046
  title: string;
2047
- image?: unknown;
2048
2047
  url?: string | undefined;
2048
+ image?: unknown;
2049
2049
  reason?: string | undefined;
2050
2050
  }[] | undefined;
2051
2051
  originalFilename?: string | undefined;
@@ -2088,32 +2088,32 @@ export declare const projectContextExisting: z.ZodObject<{
2088
2088
  }, "strip", z.ZodTypeAny, {
2089
2089
  id: string;
2090
2090
  title: string;
2091
+ url?: string | undefined;
2091
2092
  image?: {
2092
2093
  hash: string;
2093
2094
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
2094
2095
  } | undefined;
2095
- url?: string | undefined;
2096
2096
  reason?: string | undefined;
2097
2097
  }, {
2098
2098
  id: string;
2099
2099
  title: string;
2100
- image?: unknown;
2101
2100
  url?: string | undefined;
2101
+ image?: unknown;
2102
2102
  reason?: string | undefined;
2103
2103
  }>, {
2104
2104
  id: string;
2105
2105
  title: string;
2106
+ url?: string | undefined;
2106
2107
  image?: {
2107
2108
  hash: string;
2108
2109
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
2109
2110
  } | undefined;
2110
- url?: string | undefined;
2111
2111
  reason?: string | undefined;
2112
2112
  }, {
2113
2113
  id: string;
2114
2114
  title: string;
2115
- image?: unknown;
2116
2115
  url?: string | undefined;
2116
+ image?: unknown;
2117
2117
  reason?: string | undefined;
2118
2118
  }>, "many">>;
2119
2119
  path: z.ZodString;
@@ -2128,11 +2128,11 @@ export declare const projectContextExisting: z.ZodObject<{
2128
2128
  references?: {
2129
2129
  id: string;
2130
2130
  title: string;
2131
+ url?: string | undefined;
2131
2132
  image?: {
2132
2133
  hash: string;
2133
2134
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
2134
2135
  } | undefined;
2135
- url?: string | undefined;
2136
2136
  reason?: string | undefined;
2137
2137
  }[] | undefined;
2138
2138
  }, {
@@ -2144,8 +2144,8 @@ export declare const projectContextExisting: z.ZodObject<{
2144
2144
  references?: {
2145
2145
  id: string;
2146
2146
  title: string;
2147
- image?: unknown;
2148
2147
  url?: string | undefined;
2148
+ image?: unknown;
2149
2149
  reason?: string | undefined;
2150
2150
  }[] | undefined;
2151
2151
  }>]>, "many">;
@@ -2157,14 +2157,14 @@ export declare const projectContextExisting: z.ZodObject<{
2157
2157
  outputMetadataIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2158
2158
  }, "strip", z.ZodTypeAny, {
2159
2159
  id: string;
2160
- reason: string;
2161
2160
  kind: "extract_design_system" | "describe_motion";
2161
+ reason: string;
2162
2162
  sourceIds: string[];
2163
2163
  outputMetadataIds?: string[] | undefined;
2164
2164
  }, {
2165
2165
  id: string;
2166
- reason: string;
2167
2166
  kind: "extract_design_system" | "describe_motion";
2167
+ reason: string;
2168
2168
  sourceIds: string[];
2169
2169
  outputMetadataIds?: string[] | undefined;
2170
2170
  }>, "many">;
@@ -2209,7 +2209,7 @@ export declare const projectContextExisting: z.ZodObject<{
2209
2209
  }[];
2210
2210
  qualityBar: string[];
2211
2211
  designMarkdown?: string | undefined;
2212
- evidenceStatus?: "captured" | "partial" | "inferred" | undefined;
2212
+ evidenceStatus?: "partial" | "captured" | "inferred" | undefined;
2213
2213
  risks?: string[] | undefined;
2214
2214
  }, {
2215
2215
  sourceFindings: string[];
@@ -2222,7 +2222,7 @@ export declare const projectContextExisting: z.ZodObject<{
2222
2222
  }[];
2223
2223
  qualityBar: string[];
2224
2224
  designMarkdown?: string | undefined;
2225
- evidenceStatus?: "captured" | "partial" | "inferred" | undefined;
2225
+ evidenceStatus?: "partial" | "captured" | "inferred" | undefined;
2226
2226
  risks?: string[] | undefined;
2227
2227
  }>;
2228
2228
  }, "strip", z.ZodTypeAny, {
@@ -2238,7 +2238,7 @@ export declare const projectContextExisting: z.ZodObject<{
2238
2238
  }[];
2239
2239
  qualityBar: string[];
2240
2240
  designMarkdown?: string | undefined;
2241
- evidenceStatus?: "captured" | "partial" | "inferred" | undefined;
2241
+ evidenceStatus?: "partial" | "captured" | "inferred" | undefined;
2242
2242
  risks?: string[] | undefined;
2243
2243
  };
2244
2244
  kind: "design_system";
@@ -2260,7 +2260,7 @@ export declare const projectContextExisting: z.ZodObject<{
2260
2260
  }[];
2261
2261
  qualityBar: string[];
2262
2262
  designMarkdown?: string | undefined;
2263
- evidenceStatus?: "captured" | "partial" | "inferred" | undefined;
2263
+ evidenceStatus?: "partial" | "captured" | "inferred" | undefined;
2264
2264
  risks?: string[] | undefined;
2265
2265
  };
2266
2266
  kind: "design_system";
@@ -2420,8 +2420,8 @@ export declare const projectContextExisting: z.ZodObject<{
2420
2420
  userQuestion?: string | undefined;
2421
2421
  }>>;
2422
2422
  }, "strip", z.ZodTypeAny, {
2423
- sessionId: string;
2424
2423
  version: 1;
2424
+ sessionId: string;
2425
2425
  contextBundlePath: string;
2426
2426
  userContext: ({
2427
2427
  id: string;
@@ -2443,11 +2443,11 @@ export declare const projectContextExisting: z.ZodObject<{
2443
2443
  references?: {
2444
2444
  id: string;
2445
2445
  title: string;
2446
+ url?: string | undefined;
2446
2447
  image?: {
2447
2448
  hash: string;
2448
2449
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
2449
2450
  } | undefined;
2450
- url?: string | undefined;
2451
2451
  reason?: string | undefined;
2452
2452
  }[] | undefined;
2453
2453
  originalFilename?: string | undefined;
@@ -2466,18 +2466,18 @@ export declare const projectContextExisting: z.ZodObject<{
2466
2466
  references?: {
2467
2467
  id: string;
2468
2468
  title: string;
2469
+ url?: string | undefined;
2469
2470
  image?: {
2470
2471
  hash: string;
2471
2472
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
2472
2473
  } | undefined;
2473
- url?: string | undefined;
2474
2474
  reason?: string | undefined;
2475
2475
  }[] | undefined;
2476
2476
  })[];
2477
2477
  rivetActions: {
2478
2478
  id: string;
2479
- reason: string;
2480
2479
  kind: "extract_design_system" | "describe_motion";
2480
+ reason: string;
2481
2481
  sourceIds: string[];
2482
2482
  outputMetadataIds?: string[] | undefined;
2483
2483
  }[];
@@ -2494,7 +2494,7 @@ export declare const projectContextExisting: z.ZodObject<{
2494
2494
  }[];
2495
2495
  qualityBar: string[];
2496
2496
  designMarkdown?: string | undefined;
2497
- evidenceStatus?: "captured" | "partial" | "inferred" | undefined;
2497
+ evidenceStatus?: "partial" | "captured" | "inferred" | undefined;
2498
2498
  risks?: string[] | undefined;
2499
2499
  };
2500
2500
  kind: "design_system";
@@ -2551,8 +2551,8 @@ export declare const projectContextExisting: z.ZodObject<{
2551
2551
  userQuestion?: string | undefined;
2552
2552
  } | undefined;
2553
2553
  }, {
2554
- sessionId: string;
2555
2554
  version: 1;
2555
+ sessionId: string;
2556
2556
  contextBundlePath: string;
2557
2557
  userContext: ({
2558
2558
  id: string;
@@ -2574,8 +2574,8 @@ export declare const projectContextExisting: z.ZodObject<{
2574
2574
  references?: {
2575
2575
  id: string;
2576
2576
  title: string;
2577
- image?: unknown;
2578
2577
  url?: string | undefined;
2578
+ image?: unknown;
2579
2579
  reason?: string | undefined;
2580
2580
  }[] | undefined;
2581
2581
  originalFilename?: string | undefined;
@@ -2594,15 +2594,15 @@ export declare const projectContextExisting: z.ZodObject<{
2594
2594
  references?: {
2595
2595
  id: string;
2596
2596
  title: string;
2597
- image?: unknown;
2598
2597
  url?: string | undefined;
2598
+ image?: unknown;
2599
2599
  reason?: string | undefined;
2600
2600
  }[] | undefined;
2601
2601
  })[];
2602
2602
  rivetActions: {
2603
2603
  id: string;
2604
- reason: string;
2605
2604
  kind: "extract_design_system" | "describe_motion";
2605
+ reason: string;
2606
2606
  sourceIds: string[];
2607
2607
  outputMetadataIds?: string[] | undefined;
2608
2608
  }[];
@@ -2619,7 +2619,7 @@ export declare const projectContextExisting: z.ZodObject<{
2619
2619
  }[];
2620
2620
  qualityBar: string[];
2621
2621
  designMarkdown?: string | undefined;
2622
- evidenceStatus?: "captured" | "partial" | "inferred" | undefined;
2622
+ evidenceStatus?: "partial" | "captured" | "inferred" | undefined;
2623
2623
  risks?: string[] | undefined;
2624
2624
  };
2625
2625
  kind: "design_system";
@@ -2688,8 +2688,8 @@ export declare const projectContextExisting: z.ZodObject<{
2688
2688
  label: string;
2689
2689
  })[] | undefined;
2690
2690
  variantContext?: {
2691
- sessionId: string;
2692
2691
  version: 1;
2692
+ sessionId: string;
2693
2693
  contextBundlePath: string;
2694
2694
  userContext: ({
2695
2695
  id: string;
@@ -2711,11 +2711,11 @@ export declare const projectContextExisting: z.ZodObject<{
2711
2711
  references?: {
2712
2712
  id: string;
2713
2713
  title: string;
2714
+ url?: string | undefined;
2714
2715
  image?: {
2715
2716
  hash: string;
2716
2717
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
2717
2718
  } | undefined;
2718
- url?: string | undefined;
2719
2719
  reason?: string | undefined;
2720
2720
  }[] | undefined;
2721
2721
  originalFilename?: string | undefined;
@@ -2734,18 +2734,18 @@ export declare const projectContextExisting: z.ZodObject<{
2734
2734
  references?: {
2735
2735
  id: string;
2736
2736
  title: string;
2737
+ url?: string | undefined;
2737
2738
  image?: {
2738
2739
  hash: string;
2739
2740
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
2740
2741
  } | undefined;
2741
- url?: string | undefined;
2742
2742
  reason?: string | undefined;
2743
2743
  }[] | undefined;
2744
2744
  })[];
2745
2745
  rivetActions: {
2746
2746
  id: string;
2747
- reason: string;
2748
2747
  kind: "extract_design_system" | "describe_motion";
2748
+ reason: string;
2749
2749
  sourceIds: string[];
2750
2750
  outputMetadataIds?: string[] | undefined;
2751
2751
  }[];
@@ -2762,7 +2762,7 @@ export declare const projectContextExisting: z.ZodObject<{
2762
2762
  }[];
2763
2763
  qualityBar: string[];
2764
2764
  designMarkdown?: string | undefined;
2765
- evidenceStatus?: "captured" | "partial" | "inferred" | undefined;
2765
+ evidenceStatus?: "partial" | "captured" | "inferred" | undefined;
2766
2766
  risks?: string[] | undefined;
2767
2767
  };
2768
2768
  kind: "design_system";
@@ -2831,8 +2831,8 @@ export declare const projectContextExisting: z.ZodObject<{
2831
2831
  label: string;
2832
2832
  })[] | undefined;
2833
2833
  variantContext?: {
2834
- sessionId: string;
2835
2834
  version: 1;
2835
+ sessionId: string;
2836
2836
  contextBundlePath: string;
2837
2837
  userContext: ({
2838
2838
  id: string;
@@ -2854,8 +2854,8 @@ export declare const projectContextExisting: z.ZodObject<{
2854
2854
  references?: {
2855
2855
  id: string;
2856
2856
  title: string;
2857
- image?: unknown;
2858
2857
  url?: string | undefined;
2858
+ image?: unknown;
2859
2859
  reason?: string | undefined;
2860
2860
  }[] | undefined;
2861
2861
  originalFilename?: string | undefined;
@@ -2874,15 +2874,15 @@ export declare const projectContextExisting: z.ZodObject<{
2874
2874
  references?: {
2875
2875
  id: string;
2876
2876
  title: string;
2877
- image?: unknown;
2878
2877
  url?: string | undefined;
2878
+ image?: unknown;
2879
2879
  reason?: string | undefined;
2880
2880
  }[] | undefined;
2881
2881
  })[];
2882
2882
  rivetActions: {
2883
2883
  id: string;
2884
- reason: string;
2885
2884
  kind: "extract_design_system" | "describe_motion";
2885
+ reason: string;
2886
2886
  sourceIds: string[];
2887
2887
  outputMetadataIds?: string[] | undefined;
2888
2888
  }[];
@@ -2899,7 +2899,7 @@ export declare const projectContextExisting: z.ZodObject<{
2899
2899
  }[];
2900
2900
  qualityBar: string[];
2901
2901
  designMarkdown?: string | undefined;
2902
- evidenceStatus?: "captured" | "partial" | "inferred" | undefined;
2902
+ evidenceStatus?: "partial" | "captured" | "inferred" | undefined;
2903
2903
  risks?: string[] | undefined;
2904
2904
  };
2905
2905
  kind: "design_system";
@@ -3040,32 +3040,32 @@ export declare const projectContextFresh: z.ZodObject<{
3040
3040
  }, "strip", z.ZodTypeAny, {
3041
3041
  id: string;
3042
3042
  title: string;
3043
+ url?: string | undefined;
3043
3044
  image?: {
3044
3045
  hash: string;
3045
3046
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
3046
3047
  } | undefined;
3047
- url?: string | undefined;
3048
3048
  reason?: string | undefined;
3049
3049
  }, {
3050
3050
  id: string;
3051
3051
  title: string;
3052
- image?: unknown;
3053
3052
  url?: string | undefined;
3053
+ image?: unknown;
3054
3054
  reason?: string | undefined;
3055
3055
  }>, {
3056
3056
  id: string;
3057
3057
  title: string;
3058
+ url?: string | undefined;
3058
3059
  image?: {
3059
3060
  hash: string;
3060
3061
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
3061
3062
  } | undefined;
3062
- url?: string | undefined;
3063
3063
  reason?: string | undefined;
3064
3064
  }, {
3065
3065
  id: string;
3066
3066
  title: string;
3067
- image?: unknown;
3068
3067
  url?: string | undefined;
3068
+ image?: unknown;
3069
3069
  reason?: string | undefined;
3070
3070
  }>, "many">>;
3071
3071
  path: z.ZodString;
@@ -3083,11 +3083,11 @@ export declare const projectContextFresh: z.ZodObject<{
3083
3083
  references?: {
3084
3084
  id: string;
3085
3085
  title: string;
3086
+ url?: string | undefined;
3086
3087
  image?: {
3087
3088
  hash: string;
3088
3089
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
3089
3090
  } | undefined;
3090
- url?: string | undefined;
3091
3091
  reason?: string | undefined;
3092
3092
  }[] | undefined;
3093
3093
  originalFilename?: string | undefined;
@@ -3101,8 +3101,8 @@ export declare const projectContextFresh: z.ZodObject<{
3101
3101
  references?: {
3102
3102
  id: string;
3103
3103
  title: string;
3104
- image?: unknown;
3105
3104
  url?: string | undefined;
3105
+ image?: unknown;
3106
3106
  reason?: string | undefined;
3107
3107
  }[] | undefined;
3108
3108
  originalFilename?: string | undefined;
@@ -3145,32 +3145,32 @@ export declare const projectContextFresh: z.ZodObject<{
3145
3145
  }, "strip", z.ZodTypeAny, {
3146
3146
  id: string;
3147
3147
  title: string;
3148
+ url?: string | undefined;
3148
3149
  image?: {
3149
3150
  hash: string;
3150
3151
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
3151
3152
  } | undefined;
3152
- url?: string | undefined;
3153
3153
  reason?: string | undefined;
3154
3154
  }, {
3155
3155
  id: string;
3156
3156
  title: string;
3157
- image?: unknown;
3158
3157
  url?: string | undefined;
3158
+ image?: unknown;
3159
3159
  reason?: string | undefined;
3160
3160
  }>, {
3161
3161
  id: string;
3162
3162
  title: string;
3163
+ url?: string | undefined;
3163
3164
  image?: {
3164
3165
  hash: string;
3165
3166
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
3166
3167
  } | undefined;
3167
- url?: string | undefined;
3168
3168
  reason?: string | undefined;
3169
3169
  }, {
3170
3170
  id: string;
3171
3171
  title: string;
3172
- image?: unknown;
3173
3172
  url?: string | undefined;
3173
+ image?: unknown;
3174
3174
  reason?: string | undefined;
3175
3175
  }>, "many">>;
3176
3176
  path: z.ZodString;
@@ -3185,11 +3185,11 @@ export declare const projectContextFresh: z.ZodObject<{
3185
3185
  references?: {
3186
3186
  id: string;
3187
3187
  title: string;
3188
+ url?: string | undefined;
3188
3189
  image?: {
3189
3190
  hash: string;
3190
3191
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
3191
3192
  } | undefined;
3192
- url?: string | undefined;
3193
3193
  reason?: string | undefined;
3194
3194
  }[] | undefined;
3195
3195
  }, {
@@ -3201,8 +3201,8 @@ export declare const projectContextFresh: z.ZodObject<{
3201
3201
  references?: {
3202
3202
  id: string;
3203
3203
  title: string;
3204
- image?: unknown;
3205
3204
  url?: string | undefined;
3205
+ image?: unknown;
3206
3206
  reason?: string | undefined;
3207
3207
  }[] | undefined;
3208
3208
  }>]>, "many">;
@@ -3214,14 +3214,14 @@ export declare const projectContextFresh: z.ZodObject<{
3214
3214
  outputMetadataIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3215
3215
  }, "strip", z.ZodTypeAny, {
3216
3216
  id: string;
3217
- reason: string;
3218
3217
  kind: "extract_design_system" | "describe_motion";
3218
+ reason: string;
3219
3219
  sourceIds: string[];
3220
3220
  outputMetadataIds?: string[] | undefined;
3221
3221
  }, {
3222
3222
  id: string;
3223
- reason: string;
3224
3223
  kind: "extract_design_system" | "describe_motion";
3224
+ reason: string;
3225
3225
  sourceIds: string[];
3226
3226
  outputMetadataIds?: string[] | undefined;
3227
3227
  }>, "many">;
@@ -3266,7 +3266,7 @@ export declare const projectContextFresh: z.ZodObject<{
3266
3266
  }[];
3267
3267
  qualityBar: string[];
3268
3268
  designMarkdown?: string | undefined;
3269
- evidenceStatus?: "captured" | "partial" | "inferred" | undefined;
3269
+ evidenceStatus?: "partial" | "captured" | "inferred" | undefined;
3270
3270
  risks?: string[] | undefined;
3271
3271
  }, {
3272
3272
  sourceFindings: string[];
@@ -3279,7 +3279,7 @@ export declare const projectContextFresh: z.ZodObject<{
3279
3279
  }[];
3280
3280
  qualityBar: string[];
3281
3281
  designMarkdown?: string | undefined;
3282
- evidenceStatus?: "captured" | "partial" | "inferred" | undefined;
3282
+ evidenceStatus?: "partial" | "captured" | "inferred" | undefined;
3283
3283
  risks?: string[] | undefined;
3284
3284
  }>;
3285
3285
  }, "strip", z.ZodTypeAny, {
@@ -3295,7 +3295,7 @@ export declare const projectContextFresh: z.ZodObject<{
3295
3295
  }[];
3296
3296
  qualityBar: string[];
3297
3297
  designMarkdown?: string | undefined;
3298
- evidenceStatus?: "captured" | "partial" | "inferred" | undefined;
3298
+ evidenceStatus?: "partial" | "captured" | "inferred" | undefined;
3299
3299
  risks?: string[] | undefined;
3300
3300
  };
3301
3301
  kind: "design_system";
@@ -3317,7 +3317,7 @@ export declare const projectContextFresh: z.ZodObject<{
3317
3317
  }[];
3318
3318
  qualityBar: string[];
3319
3319
  designMarkdown?: string | undefined;
3320
- evidenceStatus?: "captured" | "partial" | "inferred" | undefined;
3320
+ evidenceStatus?: "partial" | "captured" | "inferred" | undefined;
3321
3321
  risks?: string[] | undefined;
3322
3322
  };
3323
3323
  kind: "design_system";
@@ -3477,8 +3477,8 @@ export declare const projectContextFresh: z.ZodObject<{
3477
3477
  userQuestion?: string | undefined;
3478
3478
  }>>;
3479
3479
  }, "strip", z.ZodTypeAny, {
3480
- sessionId: string;
3481
3480
  version: 1;
3481
+ sessionId: string;
3482
3482
  contextBundlePath: string;
3483
3483
  userContext: ({
3484
3484
  id: string;
@@ -3500,11 +3500,11 @@ export declare const projectContextFresh: z.ZodObject<{
3500
3500
  references?: {
3501
3501
  id: string;
3502
3502
  title: string;
3503
+ url?: string | undefined;
3503
3504
  image?: {
3504
3505
  hash: string;
3505
3506
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
3506
3507
  } | undefined;
3507
- url?: string | undefined;
3508
3508
  reason?: string | undefined;
3509
3509
  }[] | undefined;
3510
3510
  originalFilename?: string | undefined;
@@ -3523,18 +3523,18 @@ export declare const projectContextFresh: z.ZodObject<{
3523
3523
  references?: {
3524
3524
  id: string;
3525
3525
  title: string;
3526
+ url?: string | undefined;
3526
3527
  image?: {
3527
3528
  hash: string;
3528
3529
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
3529
3530
  } | undefined;
3530
- url?: string | undefined;
3531
3531
  reason?: string | undefined;
3532
3532
  }[] | undefined;
3533
3533
  })[];
3534
3534
  rivetActions: {
3535
3535
  id: string;
3536
- reason: string;
3537
3536
  kind: "extract_design_system" | "describe_motion";
3537
+ reason: string;
3538
3538
  sourceIds: string[];
3539
3539
  outputMetadataIds?: string[] | undefined;
3540
3540
  }[];
@@ -3551,7 +3551,7 @@ export declare const projectContextFresh: z.ZodObject<{
3551
3551
  }[];
3552
3552
  qualityBar: string[];
3553
3553
  designMarkdown?: string | undefined;
3554
- evidenceStatus?: "captured" | "partial" | "inferred" | undefined;
3554
+ evidenceStatus?: "partial" | "captured" | "inferred" | undefined;
3555
3555
  risks?: string[] | undefined;
3556
3556
  };
3557
3557
  kind: "design_system";
@@ -3608,8 +3608,8 @@ export declare const projectContextFresh: z.ZodObject<{
3608
3608
  userQuestion?: string | undefined;
3609
3609
  } | undefined;
3610
3610
  }, {
3611
- sessionId: string;
3612
3611
  version: 1;
3612
+ sessionId: string;
3613
3613
  contextBundlePath: string;
3614
3614
  userContext: ({
3615
3615
  id: string;
@@ -3631,8 +3631,8 @@ export declare const projectContextFresh: z.ZodObject<{
3631
3631
  references?: {
3632
3632
  id: string;
3633
3633
  title: string;
3634
- image?: unknown;
3635
3634
  url?: string | undefined;
3635
+ image?: unknown;
3636
3636
  reason?: string | undefined;
3637
3637
  }[] | undefined;
3638
3638
  originalFilename?: string | undefined;
@@ -3651,15 +3651,15 @@ export declare const projectContextFresh: z.ZodObject<{
3651
3651
  references?: {
3652
3652
  id: string;
3653
3653
  title: string;
3654
- image?: unknown;
3655
3654
  url?: string | undefined;
3655
+ image?: unknown;
3656
3656
  reason?: string | undefined;
3657
3657
  }[] | undefined;
3658
3658
  })[];
3659
3659
  rivetActions: {
3660
3660
  id: string;
3661
- reason: string;
3662
3661
  kind: "extract_design_system" | "describe_motion";
3662
+ reason: string;
3663
3663
  sourceIds: string[];
3664
3664
  outputMetadataIds?: string[] | undefined;
3665
3665
  }[];
@@ -3676,7 +3676,7 @@ export declare const projectContextFresh: z.ZodObject<{
3676
3676
  }[];
3677
3677
  qualityBar: string[];
3678
3678
  designMarkdown?: string | undefined;
3679
- evidenceStatus?: "captured" | "partial" | "inferred" | undefined;
3679
+ evidenceStatus?: "partial" | "captured" | "inferred" | undefined;
3680
3680
  risks?: string[] | undefined;
3681
3681
  };
3682
3682
  kind: "design_system";
@@ -3800,8 +3800,8 @@ export declare const projectContextFresh: z.ZodObject<{
3800
3800
  label: string;
3801
3801
  })[] | undefined;
3802
3802
  variantContext?: {
3803
- sessionId: string;
3804
3803
  version: 1;
3804
+ sessionId: string;
3805
3805
  contextBundlePath: string;
3806
3806
  userContext: ({
3807
3807
  id: string;
@@ -3823,11 +3823,11 @@ export declare const projectContextFresh: z.ZodObject<{
3823
3823
  references?: {
3824
3824
  id: string;
3825
3825
  title: string;
3826
+ url?: string | undefined;
3826
3827
  image?: {
3827
3828
  hash: string;
3828
3829
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
3829
3830
  } | undefined;
3830
- url?: string | undefined;
3831
3831
  reason?: string | undefined;
3832
3832
  }[] | undefined;
3833
3833
  originalFilename?: string | undefined;
@@ -3846,18 +3846,18 @@ export declare const projectContextFresh: z.ZodObject<{
3846
3846
  references?: {
3847
3847
  id: string;
3848
3848
  title: string;
3849
+ url?: string | undefined;
3849
3850
  image?: {
3850
3851
  hash: string;
3851
3852
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
3852
3853
  } | undefined;
3853
- url?: string | undefined;
3854
3854
  reason?: string | undefined;
3855
3855
  }[] | undefined;
3856
3856
  })[];
3857
3857
  rivetActions: {
3858
3858
  id: string;
3859
- reason: string;
3860
3859
  kind: "extract_design_system" | "describe_motion";
3860
+ reason: string;
3861
3861
  sourceIds: string[];
3862
3862
  outputMetadataIds?: string[] | undefined;
3863
3863
  }[];
@@ -3874,7 +3874,7 @@ export declare const projectContextFresh: z.ZodObject<{
3874
3874
  }[];
3875
3875
  qualityBar: string[];
3876
3876
  designMarkdown?: string | undefined;
3877
- evidenceStatus?: "captured" | "partial" | "inferred" | undefined;
3877
+ evidenceStatus?: "partial" | "captured" | "inferred" | undefined;
3878
3878
  risks?: string[] | undefined;
3879
3879
  };
3880
3880
  kind: "design_system";
@@ -3958,8 +3958,8 @@ export declare const projectContextFresh: z.ZodObject<{
3958
3958
  label: string;
3959
3959
  })[] | undefined;
3960
3960
  variantContext?: {
3961
- sessionId: string;
3962
3961
  version: 1;
3962
+ sessionId: string;
3963
3963
  contextBundlePath: string;
3964
3964
  userContext: ({
3965
3965
  id: string;
@@ -3981,8 +3981,8 @@ export declare const projectContextFresh: z.ZodObject<{
3981
3981
  references?: {
3982
3982
  id: string;
3983
3983
  title: string;
3984
- image?: unknown;
3985
3984
  url?: string | undefined;
3985
+ image?: unknown;
3986
3986
  reason?: string | undefined;
3987
3987
  }[] | undefined;
3988
3988
  originalFilename?: string | undefined;
@@ -4001,15 +4001,15 @@ export declare const projectContextFresh: z.ZodObject<{
4001
4001
  references?: {
4002
4002
  id: string;
4003
4003
  title: string;
4004
- image?: unknown;
4005
4004
  url?: string | undefined;
4005
+ image?: unknown;
4006
4006
  reason?: string | undefined;
4007
4007
  }[] | undefined;
4008
4008
  })[];
4009
4009
  rivetActions: {
4010
4010
  id: string;
4011
- reason: string;
4012
4011
  kind: "extract_design_system" | "describe_motion";
4012
+ reason: string;
4013
4013
  sourceIds: string[];
4014
4014
  outputMetadataIds?: string[] | undefined;
4015
4015
  }[];
@@ -4026,7 +4026,7 @@ export declare const projectContextFresh: z.ZodObject<{
4026
4026
  }[];
4027
4027
  qualityBar: string[];
4028
4028
  designMarkdown?: string | undefined;
4029
- evidenceStatus?: "captured" | "partial" | "inferred" | undefined;
4029
+ evidenceStatus?: "partial" | "captured" | "inferred" | undefined;
4030
4030
  risks?: string[] | undefined;
4031
4031
  };
4032
4032
  kind: "design_system";
@@ -4166,32 +4166,32 @@ export declare const projectContextSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
4166
4166
  }, "strip", z.ZodTypeAny, {
4167
4167
  id: string;
4168
4168
  title: string;
4169
+ url?: string | undefined;
4169
4170
  image?: {
4170
4171
  hash: string;
4171
4172
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
4172
4173
  } | undefined;
4173
- url?: string | undefined;
4174
4174
  reason?: string | undefined;
4175
4175
  }, {
4176
4176
  id: string;
4177
4177
  title: string;
4178
- image?: unknown;
4179
4178
  url?: string | undefined;
4179
+ image?: unknown;
4180
4180
  reason?: string | undefined;
4181
4181
  }>, {
4182
4182
  id: string;
4183
4183
  title: string;
4184
+ url?: string | undefined;
4184
4185
  image?: {
4185
4186
  hash: string;
4186
4187
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
4187
4188
  } | undefined;
4188
- url?: string | undefined;
4189
4189
  reason?: string | undefined;
4190
4190
  }, {
4191
4191
  id: string;
4192
4192
  title: string;
4193
- image?: unknown;
4194
4193
  url?: string | undefined;
4194
+ image?: unknown;
4195
4195
  reason?: string | undefined;
4196
4196
  }>, "many">>;
4197
4197
  path: z.ZodString;
@@ -4209,11 +4209,11 @@ export declare const projectContextSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
4209
4209
  references?: {
4210
4210
  id: string;
4211
4211
  title: string;
4212
+ url?: string | undefined;
4212
4213
  image?: {
4213
4214
  hash: string;
4214
4215
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
4215
4216
  } | undefined;
4216
- url?: string | undefined;
4217
4217
  reason?: string | undefined;
4218
4218
  }[] | undefined;
4219
4219
  originalFilename?: string | undefined;
@@ -4227,8 +4227,8 @@ export declare const projectContextSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
4227
4227
  references?: {
4228
4228
  id: string;
4229
4229
  title: string;
4230
- image?: unknown;
4231
4230
  url?: string | undefined;
4231
+ image?: unknown;
4232
4232
  reason?: string | undefined;
4233
4233
  }[] | undefined;
4234
4234
  originalFilename?: string | undefined;
@@ -4271,32 +4271,32 @@ export declare const projectContextSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
4271
4271
  }, "strip", z.ZodTypeAny, {
4272
4272
  id: string;
4273
4273
  title: string;
4274
+ url?: string | undefined;
4274
4275
  image?: {
4275
4276
  hash: string;
4276
4277
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
4277
4278
  } | undefined;
4278
- url?: string | undefined;
4279
4279
  reason?: string | undefined;
4280
4280
  }, {
4281
4281
  id: string;
4282
4282
  title: string;
4283
- image?: unknown;
4284
4283
  url?: string | undefined;
4284
+ image?: unknown;
4285
4285
  reason?: string | undefined;
4286
4286
  }>, {
4287
4287
  id: string;
4288
4288
  title: string;
4289
+ url?: string | undefined;
4289
4290
  image?: {
4290
4291
  hash: string;
4291
4292
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
4292
4293
  } | undefined;
4293
- url?: string | undefined;
4294
4294
  reason?: string | undefined;
4295
4295
  }, {
4296
4296
  id: string;
4297
4297
  title: string;
4298
- image?: unknown;
4299
4298
  url?: string | undefined;
4299
+ image?: unknown;
4300
4300
  reason?: string | undefined;
4301
4301
  }>, "many">>;
4302
4302
  path: z.ZodString;
@@ -4311,11 +4311,11 @@ export declare const projectContextSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
4311
4311
  references?: {
4312
4312
  id: string;
4313
4313
  title: string;
4314
+ url?: string | undefined;
4314
4315
  image?: {
4315
4316
  hash: string;
4316
4317
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
4317
4318
  } | undefined;
4318
- url?: string | undefined;
4319
4319
  reason?: string | undefined;
4320
4320
  }[] | undefined;
4321
4321
  }, {
@@ -4327,8 +4327,8 @@ export declare const projectContextSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
4327
4327
  references?: {
4328
4328
  id: string;
4329
4329
  title: string;
4330
- image?: unknown;
4331
4330
  url?: string | undefined;
4331
+ image?: unknown;
4332
4332
  reason?: string | undefined;
4333
4333
  }[] | undefined;
4334
4334
  }>]>, "many">;
@@ -4340,14 +4340,14 @@ export declare const projectContextSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
4340
4340
  outputMetadataIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
4341
4341
  }, "strip", z.ZodTypeAny, {
4342
4342
  id: string;
4343
- reason: string;
4344
4343
  kind: "extract_design_system" | "describe_motion";
4344
+ reason: string;
4345
4345
  sourceIds: string[];
4346
4346
  outputMetadataIds?: string[] | undefined;
4347
4347
  }, {
4348
4348
  id: string;
4349
- reason: string;
4350
4349
  kind: "extract_design_system" | "describe_motion";
4350
+ reason: string;
4351
4351
  sourceIds: string[];
4352
4352
  outputMetadataIds?: string[] | undefined;
4353
4353
  }>, "many">;
@@ -4392,7 +4392,7 @@ export declare const projectContextSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
4392
4392
  }[];
4393
4393
  qualityBar: string[];
4394
4394
  designMarkdown?: string | undefined;
4395
- evidenceStatus?: "captured" | "partial" | "inferred" | undefined;
4395
+ evidenceStatus?: "partial" | "captured" | "inferred" | undefined;
4396
4396
  risks?: string[] | undefined;
4397
4397
  }, {
4398
4398
  sourceFindings: string[];
@@ -4405,7 +4405,7 @@ export declare const projectContextSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
4405
4405
  }[];
4406
4406
  qualityBar: string[];
4407
4407
  designMarkdown?: string | undefined;
4408
- evidenceStatus?: "captured" | "partial" | "inferred" | undefined;
4408
+ evidenceStatus?: "partial" | "captured" | "inferred" | undefined;
4409
4409
  risks?: string[] | undefined;
4410
4410
  }>;
4411
4411
  }, "strip", z.ZodTypeAny, {
@@ -4421,7 +4421,7 @@ export declare const projectContextSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
4421
4421
  }[];
4422
4422
  qualityBar: string[];
4423
4423
  designMarkdown?: string | undefined;
4424
- evidenceStatus?: "captured" | "partial" | "inferred" | undefined;
4424
+ evidenceStatus?: "partial" | "captured" | "inferred" | undefined;
4425
4425
  risks?: string[] | undefined;
4426
4426
  };
4427
4427
  kind: "design_system";
@@ -4443,7 +4443,7 @@ export declare const projectContextSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
4443
4443
  }[];
4444
4444
  qualityBar: string[];
4445
4445
  designMarkdown?: string | undefined;
4446
- evidenceStatus?: "captured" | "partial" | "inferred" | undefined;
4446
+ evidenceStatus?: "partial" | "captured" | "inferred" | undefined;
4447
4447
  risks?: string[] | undefined;
4448
4448
  };
4449
4449
  kind: "design_system";
@@ -4603,8 +4603,8 @@ export declare const projectContextSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
4603
4603
  userQuestion?: string | undefined;
4604
4604
  }>>;
4605
4605
  }, "strip", z.ZodTypeAny, {
4606
- sessionId: string;
4607
4606
  version: 1;
4607
+ sessionId: string;
4608
4608
  contextBundlePath: string;
4609
4609
  userContext: ({
4610
4610
  id: string;
@@ -4626,11 +4626,11 @@ export declare const projectContextSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
4626
4626
  references?: {
4627
4627
  id: string;
4628
4628
  title: string;
4629
+ url?: string | undefined;
4629
4630
  image?: {
4630
4631
  hash: string;
4631
4632
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
4632
4633
  } | undefined;
4633
- url?: string | undefined;
4634
4634
  reason?: string | undefined;
4635
4635
  }[] | undefined;
4636
4636
  originalFilename?: string | undefined;
@@ -4649,18 +4649,18 @@ export declare const projectContextSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
4649
4649
  references?: {
4650
4650
  id: string;
4651
4651
  title: string;
4652
+ url?: string | undefined;
4652
4653
  image?: {
4653
4654
  hash: string;
4654
4655
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
4655
4656
  } | undefined;
4656
- url?: string | undefined;
4657
4657
  reason?: string | undefined;
4658
4658
  }[] | undefined;
4659
4659
  })[];
4660
4660
  rivetActions: {
4661
4661
  id: string;
4662
- reason: string;
4663
4662
  kind: "extract_design_system" | "describe_motion";
4663
+ reason: string;
4664
4664
  sourceIds: string[];
4665
4665
  outputMetadataIds?: string[] | undefined;
4666
4666
  }[];
@@ -4677,7 +4677,7 @@ export declare const projectContextSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
4677
4677
  }[];
4678
4678
  qualityBar: string[];
4679
4679
  designMarkdown?: string | undefined;
4680
- evidenceStatus?: "captured" | "partial" | "inferred" | undefined;
4680
+ evidenceStatus?: "partial" | "captured" | "inferred" | undefined;
4681
4681
  risks?: string[] | undefined;
4682
4682
  };
4683
4683
  kind: "design_system";
@@ -4734,8 +4734,8 @@ export declare const projectContextSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
4734
4734
  userQuestion?: string | undefined;
4735
4735
  } | undefined;
4736
4736
  }, {
4737
- sessionId: string;
4738
4737
  version: 1;
4738
+ sessionId: string;
4739
4739
  contextBundlePath: string;
4740
4740
  userContext: ({
4741
4741
  id: string;
@@ -4757,8 +4757,8 @@ export declare const projectContextSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
4757
4757
  references?: {
4758
4758
  id: string;
4759
4759
  title: string;
4760
- image?: unknown;
4761
4760
  url?: string | undefined;
4761
+ image?: unknown;
4762
4762
  reason?: string | undefined;
4763
4763
  }[] | undefined;
4764
4764
  originalFilename?: string | undefined;
@@ -4777,15 +4777,15 @@ export declare const projectContextSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
4777
4777
  references?: {
4778
4778
  id: string;
4779
4779
  title: string;
4780
- image?: unknown;
4781
4780
  url?: string | undefined;
4781
+ image?: unknown;
4782
4782
  reason?: string | undefined;
4783
4783
  }[] | undefined;
4784
4784
  })[];
4785
4785
  rivetActions: {
4786
4786
  id: string;
4787
- reason: string;
4788
4787
  kind: "extract_design_system" | "describe_motion";
4788
+ reason: string;
4789
4789
  sourceIds: string[];
4790
4790
  outputMetadataIds?: string[] | undefined;
4791
4791
  }[];
@@ -4802,7 +4802,7 @@ export declare const projectContextSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
4802
4802
  }[];
4803
4803
  qualityBar: string[];
4804
4804
  designMarkdown?: string | undefined;
4805
- evidenceStatus?: "captured" | "partial" | "inferred" | undefined;
4805
+ evidenceStatus?: "partial" | "captured" | "inferred" | undefined;
4806
4806
  risks?: string[] | undefined;
4807
4807
  };
4808
4808
  kind: "design_system";
@@ -4871,8 +4871,8 @@ export declare const projectContextSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
4871
4871
  label: string;
4872
4872
  })[] | undefined;
4873
4873
  variantContext?: {
4874
- sessionId: string;
4875
4874
  version: 1;
4875
+ sessionId: string;
4876
4876
  contextBundlePath: string;
4877
4877
  userContext: ({
4878
4878
  id: string;
@@ -4894,11 +4894,11 @@ export declare const projectContextSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
4894
4894
  references?: {
4895
4895
  id: string;
4896
4896
  title: string;
4897
+ url?: string | undefined;
4897
4898
  image?: {
4898
4899
  hash: string;
4899
4900
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
4900
4901
  } | undefined;
4901
- url?: string | undefined;
4902
4902
  reason?: string | undefined;
4903
4903
  }[] | undefined;
4904
4904
  originalFilename?: string | undefined;
@@ -4917,18 +4917,18 @@ export declare const projectContextSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
4917
4917
  references?: {
4918
4918
  id: string;
4919
4919
  title: string;
4920
+ url?: string | undefined;
4920
4921
  image?: {
4921
4922
  hash: string;
4922
4923
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
4923
4924
  } | undefined;
4924
- url?: string | undefined;
4925
4925
  reason?: string | undefined;
4926
4926
  }[] | undefined;
4927
4927
  })[];
4928
4928
  rivetActions: {
4929
4929
  id: string;
4930
- reason: string;
4931
4930
  kind: "extract_design_system" | "describe_motion";
4931
+ reason: string;
4932
4932
  sourceIds: string[];
4933
4933
  outputMetadataIds?: string[] | undefined;
4934
4934
  }[];
@@ -4945,7 +4945,7 @@ export declare const projectContextSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
4945
4945
  }[];
4946
4946
  qualityBar: string[];
4947
4947
  designMarkdown?: string | undefined;
4948
- evidenceStatus?: "captured" | "partial" | "inferred" | undefined;
4948
+ evidenceStatus?: "partial" | "captured" | "inferred" | undefined;
4949
4949
  risks?: string[] | undefined;
4950
4950
  };
4951
4951
  kind: "design_system";
@@ -5014,8 +5014,8 @@ export declare const projectContextSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
5014
5014
  label: string;
5015
5015
  })[] | undefined;
5016
5016
  variantContext?: {
5017
- sessionId: string;
5018
5017
  version: 1;
5018
+ sessionId: string;
5019
5019
  contextBundlePath: string;
5020
5020
  userContext: ({
5021
5021
  id: string;
@@ -5037,8 +5037,8 @@ export declare const projectContextSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
5037
5037
  references?: {
5038
5038
  id: string;
5039
5039
  title: string;
5040
- image?: unknown;
5041
5040
  url?: string | undefined;
5041
+ image?: unknown;
5042
5042
  reason?: string | undefined;
5043
5043
  }[] | undefined;
5044
5044
  originalFilename?: string | undefined;
@@ -5057,15 +5057,15 @@ export declare const projectContextSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
5057
5057
  references?: {
5058
5058
  id: string;
5059
5059
  title: string;
5060
- image?: unknown;
5061
5060
  url?: string | undefined;
5061
+ image?: unknown;
5062
5062
  reason?: string | undefined;
5063
5063
  }[] | undefined;
5064
5064
  })[];
5065
5065
  rivetActions: {
5066
5066
  id: string;
5067
- reason: string;
5068
5067
  kind: "extract_design_system" | "describe_motion";
5068
+ reason: string;
5069
5069
  sourceIds: string[];
5070
5070
  outputMetadataIds?: string[] | undefined;
5071
5071
  }[];
@@ -5082,7 +5082,7 @@ export declare const projectContextSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
5082
5082
  }[];
5083
5083
  qualityBar: string[];
5084
5084
  designMarkdown?: string | undefined;
5085
- evidenceStatus?: "captured" | "partial" | "inferred" | undefined;
5085
+ evidenceStatus?: "partial" | "captured" | "inferred" | undefined;
5086
5086
  risks?: string[] | undefined;
5087
5087
  };
5088
5088
  kind: "design_system";
@@ -5222,32 +5222,32 @@ export declare const projectContextSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
5222
5222
  }, "strip", z.ZodTypeAny, {
5223
5223
  id: string;
5224
5224
  title: string;
5225
+ url?: string | undefined;
5225
5226
  image?: {
5226
5227
  hash: string;
5227
5228
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
5228
5229
  } | undefined;
5229
- url?: string | undefined;
5230
5230
  reason?: string | undefined;
5231
5231
  }, {
5232
5232
  id: string;
5233
5233
  title: string;
5234
- image?: unknown;
5235
5234
  url?: string | undefined;
5235
+ image?: unknown;
5236
5236
  reason?: string | undefined;
5237
5237
  }>, {
5238
5238
  id: string;
5239
5239
  title: string;
5240
+ url?: string | undefined;
5240
5241
  image?: {
5241
5242
  hash: string;
5242
5243
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
5243
5244
  } | undefined;
5244
- url?: string | undefined;
5245
5245
  reason?: string | undefined;
5246
5246
  }, {
5247
5247
  id: string;
5248
5248
  title: string;
5249
- image?: unknown;
5250
5249
  url?: string | undefined;
5250
+ image?: unknown;
5251
5251
  reason?: string | undefined;
5252
5252
  }>, "many">>;
5253
5253
  path: z.ZodString;
@@ -5265,11 +5265,11 @@ export declare const projectContextSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
5265
5265
  references?: {
5266
5266
  id: string;
5267
5267
  title: string;
5268
+ url?: string | undefined;
5268
5269
  image?: {
5269
5270
  hash: string;
5270
5271
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
5271
5272
  } | undefined;
5272
- url?: string | undefined;
5273
5273
  reason?: string | undefined;
5274
5274
  }[] | undefined;
5275
5275
  originalFilename?: string | undefined;
@@ -5283,8 +5283,8 @@ export declare const projectContextSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
5283
5283
  references?: {
5284
5284
  id: string;
5285
5285
  title: string;
5286
- image?: unknown;
5287
5286
  url?: string | undefined;
5287
+ image?: unknown;
5288
5288
  reason?: string | undefined;
5289
5289
  }[] | undefined;
5290
5290
  originalFilename?: string | undefined;
@@ -5327,32 +5327,32 @@ export declare const projectContextSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
5327
5327
  }, "strip", z.ZodTypeAny, {
5328
5328
  id: string;
5329
5329
  title: string;
5330
+ url?: string | undefined;
5330
5331
  image?: {
5331
5332
  hash: string;
5332
5333
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
5333
5334
  } | undefined;
5334
- url?: string | undefined;
5335
5335
  reason?: string | undefined;
5336
5336
  }, {
5337
5337
  id: string;
5338
5338
  title: string;
5339
- image?: unknown;
5340
5339
  url?: string | undefined;
5340
+ image?: unknown;
5341
5341
  reason?: string | undefined;
5342
5342
  }>, {
5343
5343
  id: string;
5344
5344
  title: string;
5345
+ url?: string | undefined;
5345
5346
  image?: {
5346
5347
  hash: string;
5347
5348
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
5348
5349
  } | undefined;
5349
- url?: string | undefined;
5350
5350
  reason?: string | undefined;
5351
5351
  }, {
5352
5352
  id: string;
5353
5353
  title: string;
5354
- image?: unknown;
5355
5354
  url?: string | undefined;
5355
+ image?: unknown;
5356
5356
  reason?: string | undefined;
5357
5357
  }>, "many">>;
5358
5358
  path: z.ZodString;
@@ -5367,11 +5367,11 @@ export declare const projectContextSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
5367
5367
  references?: {
5368
5368
  id: string;
5369
5369
  title: string;
5370
+ url?: string | undefined;
5370
5371
  image?: {
5371
5372
  hash: string;
5372
5373
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
5373
5374
  } | undefined;
5374
- url?: string | undefined;
5375
5375
  reason?: string | undefined;
5376
5376
  }[] | undefined;
5377
5377
  }, {
@@ -5383,8 +5383,8 @@ export declare const projectContextSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
5383
5383
  references?: {
5384
5384
  id: string;
5385
5385
  title: string;
5386
- image?: unknown;
5387
5386
  url?: string | undefined;
5387
+ image?: unknown;
5388
5388
  reason?: string | undefined;
5389
5389
  }[] | undefined;
5390
5390
  }>]>, "many">;
@@ -5396,14 +5396,14 @@ export declare const projectContextSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
5396
5396
  outputMetadataIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
5397
5397
  }, "strip", z.ZodTypeAny, {
5398
5398
  id: string;
5399
- reason: string;
5400
5399
  kind: "extract_design_system" | "describe_motion";
5400
+ reason: string;
5401
5401
  sourceIds: string[];
5402
5402
  outputMetadataIds?: string[] | undefined;
5403
5403
  }, {
5404
5404
  id: string;
5405
- reason: string;
5406
5405
  kind: "extract_design_system" | "describe_motion";
5406
+ reason: string;
5407
5407
  sourceIds: string[];
5408
5408
  outputMetadataIds?: string[] | undefined;
5409
5409
  }>, "many">;
@@ -5448,7 +5448,7 @@ export declare const projectContextSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
5448
5448
  }[];
5449
5449
  qualityBar: string[];
5450
5450
  designMarkdown?: string | undefined;
5451
- evidenceStatus?: "captured" | "partial" | "inferred" | undefined;
5451
+ evidenceStatus?: "partial" | "captured" | "inferred" | undefined;
5452
5452
  risks?: string[] | undefined;
5453
5453
  }, {
5454
5454
  sourceFindings: string[];
@@ -5461,7 +5461,7 @@ export declare const projectContextSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
5461
5461
  }[];
5462
5462
  qualityBar: string[];
5463
5463
  designMarkdown?: string | undefined;
5464
- evidenceStatus?: "captured" | "partial" | "inferred" | undefined;
5464
+ evidenceStatus?: "partial" | "captured" | "inferred" | undefined;
5465
5465
  risks?: string[] | undefined;
5466
5466
  }>;
5467
5467
  }, "strip", z.ZodTypeAny, {
@@ -5477,7 +5477,7 @@ export declare const projectContextSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
5477
5477
  }[];
5478
5478
  qualityBar: string[];
5479
5479
  designMarkdown?: string | undefined;
5480
- evidenceStatus?: "captured" | "partial" | "inferred" | undefined;
5480
+ evidenceStatus?: "partial" | "captured" | "inferred" | undefined;
5481
5481
  risks?: string[] | undefined;
5482
5482
  };
5483
5483
  kind: "design_system";
@@ -5499,7 +5499,7 @@ export declare const projectContextSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
5499
5499
  }[];
5500
5500
  qualityBar: string[];
5501
5501
  designMarkdown?: string | undefined;
5502
- evidenceStatus?: "captured" | "partial" | "inferred" | undefined;
5502
+ evidenceStatus?: "partial" | "captured" | "inferred" | undefined;
5503
5503
  risks?: string[] | undefined;
5504
5504
  };
5505
5505
  kind: "design_system";
@@ -5659,8 +5659,8 @@ export declare const projectContextSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
5659
5659
  userQuestion?: string | undefined;
5660
5660
  }>>;
5661
5661
  }, "strip", z.ZodTypeAny, {
5662
- sessionId: string;
5663
5662
  version: 1;
5663
+ sessionId: string;
5664
5664
  contextBundlePath: string;
5665
5665
  userContext: ({
5666
5666
  id: string;
@@ -5682,11 +5682,11 @@ export declare const projectContextSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
5682
5682
  references?: {
5683
5683
  id: string;
5684
5684
  title: string;
5685
+ url?: string | undefined;
5685
5686
  image?: {
5686
5687
  hash: string;
5687
5688
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
5688
5689
  } | undefined;
5689
- url?: string | undefined;
5690
5690
  reason?: string | undefined;
5691
5691
  }[] | undefined;
5692
5692
  originalFilename?: string | undefined;
@@ -5705,18 +5705,18 @@ export declare const projectContextSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
5705
5705
  references?: {
5706
5706
  id: string;
5707
5707
  title: string;
5708
+ url?: string | undefined;
5708
5709
  image?: {
5709
5710
  hash: string;
5710
5711
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
5711
5712
  } | undefined;
5712
- url?: string | undefined;
5713
5713
  reason?: string | undefined;
5714
5714
  }[] | undefined;
5715
5715
  })[];
5716
5716
  rivetActions: {
5717
5717
  id: string;
5718
- reason: string;
5719
5718
  kind: "extract_design_system" | "describe_motion";
5719
+ reason: string;
5720
5720
  sourceIds: string[];
5721
5721
  outputMetadataIds?: string[] | undefined;
5722
5722
  }[];
@@ -5733,7 +5733,7 @@ export declare const projectContextSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
5733
5733
  }[];
5734
5734
  qualityBar: string[];
5735
5735
  designMarkdown?: string | undefined;
5736
- evidenceStatus?: "captured" | "partial" | "inferred" | undefined;
5736
+ evidenceStatus?: "partial" | "captured" | "inferred" | undefined;
5737
5737
  risks?: string[] | undefined;
5738
5738
  };
5739
5739
  kind: "design_system";
@@ -5790,8 +5790,8 @@ export declare const projectContextSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
5790
5790
  userQuestion?: string | undefined;
5791
5791
  } | undefined;
5792
5792
  }, {
5793
- sessionId: string;
5794
5793
  version: 1;
5794
+ sessionId: string;
5795
5795
  contextBundlePath: string;
5796
5796
  userContext: ({
5797
5797
  id: string;
@@ -5813,8 +5813,8 @@ export declare const projectContextSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
5813
5813
  references?: {
5814
5814
  id: string;
5815
5815
  title: string;
5816
- image?: unknown;
5817
5816
  url?: string | undefined;
5817
+ image?: unknown;
5818
5818
  reason?: string | undefined;
5819
5819
  }[] | undefined;
5820
5820
  originalFilename?: string | undefined;
@@ -5833,15 +5833,15 @@ export declare const projectContextSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
5833
5833
  references?: {
5834
5834
  id: string;
5835
5835
  title: string;
5836
- image?: unknown;
5837
5836
  url?: string | undefined;
5837
+ image?: unknown;
5838
5838
  reason?: string | undefined;
5839
5839
  }[] | undefined;
5840
5840
  })[];
5841
5841
  rivetActions: {
5842
5842
  id: string;
5843
- reason: string;
5844
5843
  kind: "extract_design_system" | "describe_motion";
5844
+ reason: string;
5845
5845
  sourceIds: string[];
5846
5846
  outputMetadataIds?: string[] | undefined;
5847
5847
  }[];
@@ -5858,7 +5858,7 @@ export declare const projectContextSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
5858
5858
  }[];
5859
5859
  qualityBar: string[];
5860
5860
  designMarkdown?: string | undefined;
5861
- evidenceStatus?: "captured" | "partial" | "inferred" | undefined;
5861
+ evidenceStatus?: "partial" | "captured" | "inferred" | undefined;
5862
5862
  risks?: string[] | undefined;
5863
5863
  };
5864
5864
  kind: "design_system";
@@ -5982,8 +5982,8 @@ export declare const projectContextSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
5982
5982
  label: string;
5983
5983
  })[] | undefined;
5984
5984
  variantContext?: {
5985
- sessionId: string;
5986
5985
  version: 1;
5986
+ sessionId: string;
5987
5987
  contextBundlePath: string;
5988
5988
  userContext: ({
5989
5989
  id: string;
@@ -6005,11 +6005,11 @@ export declare const projectContextSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
6005
6005
  references?: {
6006
6006
  id: string;
6007
6007
  title: string;
6008
+ url?: string | undefined;
6008
6009
  image?: {
6009
6010
  hash: string;
6010
6011
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
6011
6012
  } | undefined;
6012
- url?: string | undefined;
6013
6013
  reason?: string | undefined;
6014
6014
  }[] | undefined;
6015
6015
  originalFilename?: string | undefined;
@@ -6028,18 +6028,18 @@ export declare const projectContextSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
6028
6028
  references?: {
6029
6029
  id: string;
6030
6030
  title: string;
6031
+ url?: string | undefined;
6031
6032
  image?: {
6032
6033
  hash: string;
6033
6034
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
6034
6035
  } | undefined;
6035
- url?: string | undefined;
6036
6036
  reason?: string | undefined;
6037
6037
  }[] | undefined;
6038
6038
  })[];
6039
6039
  rivetActions: {
6040
6040
  id: string;
6041
- reason: string;
6042
6041
  kind: "extract_design_system" | "describe_motion";
6042
+ reason: string;
6043
6043
  sourceIds: string[];
6044
6044
  outputMetadataIds?: string[] | undefined;
6045
6045
  }[];
@@ -6056,7 +6056,7 @@ export declare const projectContextSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
6056
6056
  }[];
6057
6057
  qualityBar: string[];
6058
6058
  designMarkdown?: string | undefined;
6059
- evidenceStatus?: "captured" | "partial" | "inferred" | undefined;
6059
+ evidenceStatus?: "partial" | "captured" | "inferred" | undefined;
6060
6060
  risks?: string[] | undefined;
6061
6061
  };
6062
6062
  kind: "design_system";
@@ -6140,8 +6140,8 @@ export declare const projectContextSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
6140
6140
  label: string;
6141
6141
  })[] | undefined;
6142
6142
  variantContext?: {
6143
- sessionId: string;
6144
6143
  version: 1;
6144
+ sessionId: string;
6145
6145
  contextBundlePath: string;
6146
6146
  userContext: ({
6147
6147
  id: string;
@@ -6163,8 +6163,8 @@ export declare const projectContextSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
6163
6163
  references?: {
6164
6164
  id: string;
6165
6165
  title: string;
6166
- image?: unknown;
6167
6166
  url?: string | undefined;
6167
+ image?: unknown;
6168
6168
  reason?: string | undefined;
6169
6169
  }[] | undefined;
6170
6170
  originalFilename?: string | undefined;
@@ -6183,15 +6183,15 @@ export declare const projectContextSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
6183
6183
  references?: {
6184
6184
  id: string;
6185
6185
  title: string;
6186
- image?: unknown;
6187
6186
  url?: string | undefined;
6187
+ image?: unknown;
6188
6188
  reason?: string | undefined;
6189
6189
  }[] | undefined;
6190
6190
  })[];
6191
6191
  rivetActions: {
6192
6192
  id: string;
6193
- reason: string;
6194
6193
  kind: "extract_design_system" | "describe_motion";
6194
+ reason: string;
6195
6195
  sourceIds: string[];
6196
6196
  outputMetadataIds?: string[] | undefined;
6197
6197
  }[];
@@ -6208,7 +6208,7 @@ export declare const projectContextSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
6208
6208
  }[];
6209
6209
  qualityBar: string[];
6210
6210
  designMarkdown?: string | undefined;
6211
- evidenceStatus?: "captured" | "partial" | "inferred" | undefined;
6211
+ evidenceStatus?: "partial" | "captured" | "inferred" | undefined;
6212
6212
  risks?: string[] | undefined;
6213
6213
  };
6214
6214
  kind: "design_system";
@@ -6348,32 +6348,32 @@ export declare const projectContextInputSchema: z.ZodDiscriminatedUnion<"kind",
6348
6348
  }, "strip", z.ZodTypeAny, {
6349
6349
  id: string;
6350
6350
  title: string;
6351
+ url?: string | undefined;
6351
6352
  image?: {
6352
6353
  hash: string;
6353
6354
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
6354
6355
  } | undefined;
6355
- url?: string | undefined;
6356
6356
  reason?: string | undefined;
6357
6357
  }, {
6358
6358
  id: string;
6359
6359
  title: string;
6360
- image?: unknown;
6361
6360
  url?: string | undefined;
6361
+ image?: unknown;
6362
6362
  reason?: string | undefined;
6363
6363
  }>, {
6364
6364
  id: string;
6365
6365
  title: string;
6366
+ url?: string | undefined;
6366
6367
  image?: {
6367
6368
  hash: string;
6368
6369
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
6369
6370
  } | undefined;
6370
- url?: string | undefined;
6371
6371
  reason?: string | undefined;
6372
6372
  }, {
6373
6373
  id: string;
6374
6374
  title: string;
6375
- image?: unknown;
6376
6375
  url?: string | undefined;
6376
+ image?: unknown;
6377
6377
  reason?: string | undefined;
6378
6378
  }>, "many">>;
6379
6379
  path: z.ZodString;
@@ -6391,11 +6391,11 @@ export declare const projectContextInputSchema: z.ZodDiscriminatedUnion<"kind",
6391
6391
  references?: {
6392
6392
  id: string;
6393
6393
  title: string;
6394
+ url?: string | undefined;
6394
6395
  image?: {
6395
6396
  hash: string;
6396
6397
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
6397
6398
  } | undefined;
6398
- url?: string | undefined;
6399
6399
  reason?: string | undefined;
6400
6400
  }[] | undefined;
6401
6401
  originalFilename?: string | undefined;
@@ -6409,8 +6409,8 @@ export declare const projectContextInputSchema: z.ZodDiscriminatedUnion<"kind",
6409
6409
  references?: {
6410
6410
  id: string;
6411
6411
  title: string;
6412
- image?: unknown;
6413
6412
  url?: string | undefined;
6413
+ image?: unknown;
6414
6414
  reason?: string | undefined;
6415
6415
  }[] | undefined;
6416
6416
  originalFilename?: string | undefined;
@@ -6453,32 +6453,32 @@ export declare const projectContextInputSchema: z.ZodDiscriminatedUnion<"kind",
6453
6453
  }, "strip", z.ZodTypeAny, {
6454
6454
  id: string;
6455
6455
  title: string;
6456
+ url?: string | undefined;
6456
6457
  image?: {
6457
6458
  hash: string;
6458
6459
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
6459
6460
  } | undefined;
6460
- url?: string | undefined;
6461
6461
  reason?: string | undefined;
6462
6462
  }, {
6463
6463
  id: string;
6464
6464
  title: string;
6465
- image?: unknown;
6466
6465
  url?: string | undefined;
6466
+ image?: unknown;
6467
6467
  reason?: string | undefined;
6468
6468
  }>, {
6469
6469
  id: string;
6470
6470
  title: string;
6471
+ url?: string | undefined;
6471
6472
  image?: {
6472
6473
  hash: string;
6473
6474
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
6474
6475
  } | undefined;
6475
- url?: string | undefined;
6476
6476
  reason?: string | undefined;
6477
6477
  }, {
6478
6478
  id: string;
6479
6479
  title: string;
6480
- image?: unknown;
6481
6480
  url?: string | undefined;
6481
+ image?: unknown;
6482
6482
  reason?: string | undefined;
6483
6483
  }>, "many">>;
6484
6484
  path: z.ZodString;
@@ -6493,11 +6493,11 @@ export declare const projectContextInputSchema: z.ZodDiscriminatedUnion<"kind",
6493
6493
  references?: {
6494
6494
  id: string;
6495
6495
  title: string;
6496
+ url?: string | undefined;
6496
6497
  image?: {
6497
6498
  hash: string;
6498
6499
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
6499
6500
  } | undefined;
6500
- url?: string | undefined;
6501
6501
  reason?: string | undefined;
6502
6502
  }[] | undefined;
6503
6503
  }, {
@@ -6509,8 +6509,8 @@ export declare const projectContextInputSchema: z.ZodDiscriminatedUnion<"kind",
6509
6509
  references?: {
6510
6510
  id: string;
6511
6511
  title: string;
6512
- image?: unknown;
6513
6512
  url?: string | undefined;
6513
+ image?: unknown;
6514
6514
  reason?: string | undefined;
6515
6515
  }[] | undefined;
6516
6516
  }>]>, "many">;
@@ -6522,14 +6522,14 @@ export declare const projectContextInputSchema: z.ZodDiscriminatedUnion<"kind",
6522
6522
  outputMetadataIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
6523
6523
  }, "strip", z.ZodTypeAny, {
6524
6524
  id: string;
6525
- reason: string;
6526
6525
  kind: "extract_design_system" | "describe_motion";
6526
+ reason: string;
6527
6527
  sourceIds: string[];
6528
6528
  outputMetadataIds?: string[] | undefined;
6529
6529
  }, {
6530
6530
  id: string;
6531
- reason: string;
6532
6531
  kind: "extract_design_system" | "describe_motion";
6532
+ reason: string;
6533
6533
  sourceIds: string[];
6534
6534
  outputMetadataIds?: string[] | undefined;
6535
6535
  }>, "many">;
@@ -6574,7 +6574,7 @@ export declare const projectContextInputSchema: z.ZodDiscriminatedUnion<"kind",
6574
6574
  }[];
6575
6575
  qualityBar: string[];
6576
6576
  designMarkdown?: string | undefined;
6577
- evidenceStatus?: "captured" | "partial" | "inferred" | undefined;
6577
+ evidenceStatus?: "partial" | "captured" | "inferred" | undefined;
6578
6578
  risks?: string[] | undefined;
6579
6579
  }, {
6580
6580
  sourceFindings: string[];
@@ -6587,7 +6587,7 @@ export declare const projectContextInputSchema: z.ZodDiscriminatedUnion<"kind",
6587
6587
  }[];
6588
6588
  qualityBar: string[];
6589
6589
  designMarkdown?: string | undefined;
6590
- evidenceStatus?: "captured" | "partial" | "inferred" | undefined;
6590
+ evidenceStatus?: "partial" | "captured" | "inferred" | undefined;
6591
6591
  risks?: string[] | undefined;
6592
6592
  }>;
6593
6593
  }, "strip", z.ZodTypeAny, {
@@ -6603,7 +6603,7 @@ export declare const projectContextInputSchema: z.ZodDiscriminatedUnion<"kind",
6603
6603
  }[];
6604
6604
  qualityBar: string[];
6605
6605
  designMarkdown?: string | undefined;
6606
- evidenceStatus?: "captured" | "partial" | "inferred" | undefined;
6606
+ evidenceStatus?: "partial" | "captured" | "inferred" | undefined;
6607
6607
  risks?: string[] | undefined;
6608
6608
  };
6609
6609
  kind: "design_system";
@@ -6625,7 +6625,7 @@ export declare const projectContextInputSchema: z.ZodDiscriminatedUnion<"kind",
6625
6625
  }[];
6626
6626
  qualityBar: string[];
6627
6627
  designMarkdown?: string | undefined;
6628
- evidenceStatus?: "captured" | "partial" | "inferred" | undefined;
6628
+ evidenceStatus?: "partial" | "captured" | "inferred" | undefined;
6629
6629
  risks?: string[] | undefined;
6630
6630
  };
6631
6631
  kind: "design_system";
@@ -6785,8 +6785,8 @@ export declare const projectContextInputSchema: z.ZodDiscriminatedUnion<"kind",
6785
6785
  userQuestion?: string | undefined;
6786
6786
  }>>;
6787
6787
  }, "strip", z.ZodTypeAny, {
6788
- sessionId: string;
6789
6788
  version: 1;
6789
+ sessionId: string;
6790
6790
  contextBundlePath: string;
6791
6791
  userContext: ({
6792
6792
  id: string;
@@ -6808,11 +6808,11 @@ export declare const projectContextInputSchema: z.ZodDiscriminatedUnion<"kind",
6808
6808
  references?: {
6809
6809
  id: string;
6810
6810
  title: string;
6811
+ url?: string | undefined;
6811
6812
  image?: {
6812
6813
  hash: string;
6813
6814
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
6814
6815
  } | undefined;
6815
- url?: string | undefined;
6816
6816
  reason?: string | undefined;
6817
6817
  }[] | undefined;
6818
6818
  originalFilename?: string | undefined;
@@ -6831,18 +6831,18 @@ export declare const projectContextInputSchema: z.ZodDiscriminatedUnion<"kind",
6831
6831
  references?: {
6832
6832
  id: string;
6833
6833
  title: string;
6834
+ url?: string | undefined;
6834
6835
  image?: {
6835
6836
  hash: string;
6836
6837
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
6837
6838
  } | undefined;
6838
- url?: string | undefined;
6839
6839
  reason?: string | undefined;
6840
6840
  }[] | undefined;
6841
6841
  })[];
6842
6842
  rivetActions: {
6843
6843
  id: string;
6844
- reason: string;
6845
6844
  kind: "extract_design_system" | "describe_motion";
6845
+ reason: string;
6846
6846
  sourceIds: string[];
6847
6847
  outputMetadataIds?: string[] | undefined;
6848
6848
  }[];
@@ -6859,7 +6859,7 @@ export declare const projectContextInputSchema: z.ZodDiscriminatedUnion<"kind",
6859
6859
  }[];
6860
6860
  qualityBar: string[];
6861
6861
  designMarkdown?: string | undefined;
6862
- evidenceStatus?: "captured" | "partial" | "inferred" | undefined;
6862
+ evidenceStatus?: "partial" | "captured" | "inferred" | undefined;
6863
6863
  risks?: string[] | undefined;
6864
6864
  };
6865
6865
  kind: "design_system";
@@ -6916,8 +6916,8 @@ export declare const projectContextInputSchema: z.ZodDiscriminatedUnion<"kind",
6916
6916
  userQuestion?: string | undefined;
6917
6917
  } | undefined;
6918
6918
  }, {
6919
- sessionId: string;
6920
6919
  version: 1;
6920
+ sessionId: string;
6921
6921
  contextBundlePath: string;
6922
6922
  userContext: ({
6923
6923
  id: string;
@@ -6939,8 +6939,8 @@ export declare const projectContextInputSchema: z.ZodDiscriminatedUnion<"kind",
6939
6939
  references?: {
6940
6940
  id: string;
6941
6941
  title: string;
6942
- image?: unknown;
6943
6942
  url?: string | undefined;
6943
+ image?: unknown;
6944
6944
  reason?: string | undefined;
6945
6945
  }[] | undefined;
6946
6946
  originalFilename?: string | undefined;
@@ -6959,15 +6959,15 @@ export declare const projectContextInputSchema: z.ZodDiscriminatedUnion<"kind",
6959
6959
  references?: {
6960
6960
  id: string;
6961
6961
  title: string;
6962
- image?: unknown;
6963
6962
  url?: string | undefined;
6963
+ image?: unknown;
6964
6964
  reason?: string | undefined;
6965
6965
  }[] | undefined;
6966
6966
  })[];
6967
6967
  rivetActions: {
6968
6968
  id: string;
6969
- reason: string;
6970
6969
  kind: "extract_design_system" | "describe_motion";
6970
+ reason: string;
6971
6971
  sourceIds: string[];
6972
6972
  outputMetadataIds?: string[] | undefined;
6973
6973
  }[];
@@ -6984,7 +6984,7 @@ export declare const projectContextInputSchema: z.ZodDiscriminatedUnion<"kind",
6984
6984
  }[];
6985
6985
  qualityBar: string[];
6986
6986
  designMarkdown?: string | undefined;
6987
- evidenceStatus?: "captured" | "partial" | "inferred" | undefined;
6987
+ evidenceStatus?: "partial" | "captured" | "inferred" | undefined;
6988
6988
  risks?: string[] | undefined;
6989
6989
  };
6990
6990
  kind: "design_system";
@@ -7146,32 +7146,32 @@ export declare const projectContextInputSchema: z.ZodDiscriminatedUnion<"kind",
7146
7146
  }, "strip", z.ZodTypeAny, {
7147
7147
  id: string;
7148
7148
  title: string;
7149
+ url?: string | undefined;
7149
7150
  image?: {
7150
7151
  hash: string;
7151
7152
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
7152
7153
  } | undefined;
7153
- url?: string | undefined;
7154
7154
  reason?: string | undefined;
7155
7155
  }, {
7156
7156
  id: string;
7157
7157
  title: string;
7158
- image?: unknown;
7159
7158
  url?: string | undefined;
7159
+ image?: unknown;
7160
7160
  reason?: string | undefined;
7161
7161
  }>, {
7162
7162
  id: string;
7163
7163
  title: string;
7164
+ url?: string | undefined;
7164
7165
  image?: {
7165
7166
  hash: string;
7166
7167
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
7167
7168
  } | undefined;
7168
- url?: string | undefined;
7169
7169
  reason?: string | undefined;
7170
7170
  }, {
7171
7171
  id: string;
7172
7172
  title: string;
7173
- image?: unknown;
7174
7173
  url?: string | undefined;
7174
+ image?: unknown;
7175
7175
  reason?: string | undefined;
7176
7176
  }>, "many">>;
7177
7177
  path: z.ZodString;
@@ -7189,11 +7189,11 @@ export declare const projectContextInputSchema: z.ZodDiscriminatedUnion<"kind",
7189
7189
  references?: {
7190
7190
  id: string;
7191
7191
  title: string;
7192
+ url?: string | undefined;
7192
7193
  image?: {
7193
7194
  hash: string;
7194
7195
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
7195
7196
  } | undefined;
7196
- url?: string | undefined;
7197
7197
  reason?: string | undefined;
7198
7198
  }[] | undefined;
7199
7199
  originalFilename?: string | undefined;
@@ -7207,8 +7207,8 @@ export declare const projectContextInputSchema: z.ZodDiscriminatedUnion<"kind",
7207
7207
  references?: {
7208
7208
  id: string;
7209
7209
  title: string;
7210
- image?: unknown;
7211
7210
  url?: string | undefined;
7211
+ image?: unknown;
7212
7212
  reason?: string | undefined;
7213
7213
  }[] | undefined;
7214
7214
  originalFilename?: string | undefined;
@@ -7251,32 +7251,32 @@ export declare const projectContextInputSchema: z.ZodDiscriminatedUnion<"kind",
7251
7251
  }, "strip", z.ZodTypeAny, {
7252
7252
  id: string;
7253
7253
  title: string;
7254
+ url?: string | undefined;
7254
7255
  image?: {
7255
7256
  hash: string;
7256
7257
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
7257
7258
  } | undefined;
7258
- url?: string | undefined;
7259
7259
  reason?: string | undefined;
7260
7260
  }, {
7261
7261
  id: string;
7262
7262
  title: string;
7263
- image?: unknown;
7264
7263
  url?: string | undefined;
7264
+ image?: unknown;
7265
7265
  reason?: string | undefined;
7266
7266
  }>, {
7267
7267
  id: string;
7268
7268
  title: string;
7269
+ url?: string | undefined;
7269
7270
  image?: {
7270
7271
  hash: string;
7271
7272
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
7272
7273
  } | undefined;
7273
- url?: string | undefined;
7274
7274
  reason?: string | undefined;
7275
7275
  }, {
7276
7276
  id: string;
7277
7277
  title: string;
7278
- image?: unknown;
7279
7278
  url?: string | undefined;
7279
+ image?: unknown;
7280
7280
  reason?: string | undefined;
7281
7281
  }>, "many">>;
7282
7282
  path: z.ZodString;
@@ -7291,11 +7291,11 @@ export declare const projectContextInputSchema: z.ZodDiscriminatedUnion<"kind",
7291
7291
  references?: {
7292
7292
  id: string;
7293
7293
  title: string;
7294
+ url?: string | undefined;
7294
7295
  image?: {
7295
7296
  hash: string;
7296
7297
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
7297
7298
  } | undefined;
7298
- url?: string | undefined;
7299
7299
  reason?: string | undefined;
7300
7300
  }[] | undefined;
7301
7301
  }, {
@@ -7307,8 +7307,8 @@ export declare const projectContextInputSchema: z.ZodDiscriminatedUnion<"kind",
7307
7307
  references?: {
7308
7308
  id: string;
7309
7309
  title: string;
7310
- image?: unknown;
7311
7310
  url?: string | undefined;
7311
+ image?: unknown;
7312
7312
  reason?: string | undefined;
7313
7313
  }[] | undefined;
7314
7314
  }>]>, "many">;
@@ -7320,14 +7320,14 @@ export declare const projectContextInputSchema: z.ZodDiscriminatedUnion<"kind",
7320
7320
  outputMetadataIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
7321
7321
  }, "strip", z.ZodTypeAny, {
7322
7322
  id: string;
7323
- reason: string;
7324
7323
  kind: "extract_design_system" | "describe_motion";
7324
+ reason: string;
7325
7325
  sourceIds: string[];
7326
7326
  outputMetadataIds?: string[] | undefined;
7327
7327
  }, {
7328
7328
  id: string;
7329
- reason: string;
7330
7329
  kind: "extract_design_system" | "describe_motion";
7330
+ reason: string;
7331
7331
  sourceIds: string[];
7332
7332
  outputMetadataIds?: string[] | undefined;
7333
7333
  }>, "many">;
@@ -7372,7 +7372,7 @@ export declare const projectContextInputSchema: z.ZodDiscriminatedUnion<"kind",
7372
7372
  }[];
7373
7373
  qualityBar: string[];
7374
7374
  designMarkdown?: string | undefined;
7375
- evidenceStatus?: "captured" | "partial" | "inferred" | undefined;
7375
+ evidenceStatus?: "partial" | "captured" | "inferred" | undefined;
7376
7376
  risks?: string[] | undefined;
7377
7377
  }, {
7378
7378
  sourceFindings: string[];
@@ -7385,7 +7385,7 @@ export declare const projectContextInputSchema: z.ZodDiscriminatedUnion<"kind",
7385
7385
  }[];
7386
7386
  qualityBar: string[];
7387
7387
  designMarkdown?: string | undefined;
7388
- evidenceStatus?: "captured" | "partial" | "inferred" | undefined;
7388
+ evidenceStatus?: "partial" | "captured" | "inferred" | undefined;
7389
7389
  risks?: string[] | undefined;
7390
7390
  }>;
7391
7391
  }, "strip", z.ZodTypeAny, {
@@ -7401,7 +7401,7 @@ export declare const projectContextInputSchema: z.ZodDiscriminatedUnion<"kind",
7401
7401
  }[];
7402
7402
  qualityBar: string[];
7403
7403
  designMarkdown?: string | undefined;
7404
- evidenceStatus?: "captured" | "partial" | "inferred" | undefined;
7404
+ evidenceStatus?: "partial" | "captured" | "inferred" | undefined;
7405
7405
  risks?: string[] | undefined;
7406
7406
  };
7407
7407
  kind: "design_system";
@@ -7423,7 +7423,7 @@ export declare const projectContextInputSchema: z.ZodDiscriminatedUnion<"kind",
7423
7423
  }[];
7424
7424
  qualityBar: string[];
7425
7425
  designMarkdown?: string | undefined;
7426
- evidenceStatus?: "captured" | "partial" | "inferred" | undefined;
7426
+ evidenceStatus?: "partial" | "captured" | "inferred" | undefined;
7427
7427
  risks?: string[] | undefined;
7428
7428
  };
7429
7429
  kind: "design_system";
@@ -7583,8 +7583,8 @@ export declare const projectContextInputSchema: z.ZodDiscriminatedUnion<"kind",
7583
7583
  userQuestion?: string | undefined;
7584
7584
  }>>;
7585
7585
  }, "strip", z.ZodTypeAny, {
7586
- sessionId: string;
7587
7586
  version: 1;
7587
+ sessionId: string;
7588
7588
  contextBundlePath: string;
7589
7589
  userContext: ({
7590
7590
  id: string;
@@ -7606,11 +7606,11 @@ export declare const projectContextInputSchema: z.ZodDiscriminatedUnion<"kind",
7606
7606
  references?: {
7607
7607
  id: string;
7608
7608
  title: string;
7609
+ url?: string | undefined;
7609
7610
  image?: {
7610
7611
  hash: string;
7611
7612
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
7612
7613
  } | undefined;
7613
- url?: string | undefined;
7614
7614
  reason?: string | undefined;
7615
7615
  }[] | undefined;
7616
7616
  originalFilename?: string | undefined;
@@ -7629,18 +7629,18 @@ export declare const projectContextInputSchema: z.ZodDiscriminatedUnion<"kind",
7629
7629
  references?: {
7630
7630
  id: string;
7631
7631
  title: string;
7632
+ url?: string | undefined;
7632
7633
  image?: {
7633
7634
  hash: string;
7634
7635
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
7635
7636
  } | undefined;
7636
- url?: string | undefined;
7637
7637
  reason?: string | undefined;
7638
7638
  }[] | undefined;
7639
7639
  })[];
7640
7640
  rivetActions: {
7641
7641
  id: string;
7642
- reason: string;
7643
7642
  kind: "extract_design_system" | "describe_motion";
7643
+ reason: string;
7644
7644
  sourceIds: string[];
7645
7645
  outputMetadataIds?: string[] | undefined;
7646
7646
  }[];
@@ -7657,7 +7657,7 @@ export declare const projectContextInputSchema: z.ZodDiscriminatedUnion<"kind",
7657
7657
  }[];
7658
7658
  qualityBar: string[];
7659
7659
  designMarkdown?: string | undefined;
7660
- evidenceStatus?: "captured" | "partial" | "inferred" | undefined;
7660
+ evidenceStatus?: "partial" | "captured" | "inferred" | undefined;
7661
7661
  risks?: string[] | undefined;
7662
7662
  };
7663
7663
  kind: "design_system";
@@ -7714,8 +7714,8 @@ export declare const projectContextInputSchema: z.ZodDiscriminatedUnion<"kind",
7714
7714
  userQuestion?: string | undefined;
7715
7715
  } | undefined;
7716
7716
  }, {
7717
- sessionId: string;
7718
7717
  version: 1;
7718
+ sessionId: string;
7719
7719
  contextBundlePath: string;
7720
7720
  userContext: ({
7721
7721
  id: string;
@@ -7737,8 +7737,8 @@ export declare const projectContextInputSchema: z.ZodDiscriminatedUnion<"kind",
7737
7737
  references?: {
7738
7738
  id: string;
7739
7739
  title: string;
7740
- image?: unknown;
7741
7740
  url?: string | undefined;
7741
+ image?: unknown;
7742
7742
  reason?: string | undefined;
7743
7743
  }[] | undefined;
7744
7744
  originalFilename?: string | undefined;
@@ -7757,15 +7757,15 @@ export declare const projectContextInputSchema: z.ZodDiscriminatedUnion<"kind",
7757
7757
  references?: {
7758
7758
  id: string;
7759
7759
  title: string;
7760
- image?: unknown;
7761
7760
  url?: string | undefined;
7761
+ image?: unknown;
7762
7762
  reason?: string | undefined;
7763
7763
  }[] | undefined;
7764
7764
  })[];
7765
7765
  rivetActions: {
7766
7766
  id: string;
7767
- reason: string;
7768
7767
  kind: "extract_design_system" | "describe_motion";
7768
+ reason: string;
7769
7769
  sourceIds: string[];
7770
7770
  outputMetadataIds?: string[] | undefined;
7771
7771
  }[];
@@ -7782,7 +7782,7 @@ export declare const projectContextInputSchema: z.ZodDiscriminatedUnion<"kind",
7782
7782
  }[];
7783
7783
  qualityBar: string[];
7784
7784
  designMarkdown?: string | undefined;
7785
- evidenceStatus?: "captured" | "partial" | "inferred" | undefined;
7785
+ evidenceStatus?: "partial" | "captured" | "inferred" | undefined;
7786
7786
  risks?: string[] | undefined;
7787
7787
  };
7788
7788
  kind: "design_system";
@@ -8198,32 +8198,32 @@ export declare const variantWorkItemContextSchema: z.ZodObject<{
8198
8198
  }, "strip", z.ZodTypeAny, {
8199
8199
  id: string;
8200
8200
  title: string;
8201
+ url?: string | undefined;
8201
8202
  image?: {
8202
8203
  hash: string;
8203
8204
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
8204
8205
  } | undefined;
8205
- url?: string | undefined;
8206
8206
  reason?: string | undefined;
8207
8207
  }, {
8208
8208
  id: string;
8209
8209
  title: string;
8210
- image?: unknown;
8211
8210
  url?: string | undefined;
8211
+ image?: unknown;
8212
8212
  reason?: string | undefined;
8213
8213
  }>, {
8214
8214
  id: string;
8215
8215
  title: string;
8216
+ url?: string | undefined;
8216
8217
  image?: {
8217
8218
  hash: string;
8218
8219
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
8219
8220
  } | undefined;
8220
- url?: string | undefined;
8221
8221
  reason?: string | undefined;
8222
8222
  }, {
8223
8223
  id: string;
8224
8224
  title: string;
8225
- image?: unknown;
8226
8225
  url?: string | undefined;
8226
+ image?: unknown;
8227
8227
  reason?: string | undefined;
8228
8228
  }>, "many">>;
8229
8229
  contextBundlePath: z.ZodString;
@@ -8278,32 +8278,32 @@ export declare const variantWorkItemContextSchema: z.ZodObject<{
8278
8278
  }, "strip", z.ZodTypeAny, {
8279
8279
  id: string;
8280
8280
  title: string;
8281
+ url?: string | undefined;
8281
8282
  image?: {
8282
8283
  hash: string;
8283
8284
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
8284
8285
  } | undefined;
8285
- url?: string | undefined;
8286
8286
  reason?: string | undefined;
8287
8287
  }, {
8288
8288
  id: string;
8289
8289
  title: string;
8290
- image?: unknown;
8291
8290
  url?: string | undefined;
8291
+ image?: unknown;
8292
8292
  reason?: string | undefined;
8293
8293
  }>, {
8294
8294
  id: string;
8295
8295
  title: string;
8296
+ url?: string | undefined;
8296
8297
  image?: {
8297
8298
  hash: string;
8298
8299
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
8299
8300
  } | undefined;
8300
- url?: string | undefined;
8301
8301
  reason?: string | undefined;
8302
8302
  }, {
8303
8303
  id: string;
8304
8304
  title: string;
8305
- image?: unknown;
8306
8305
  url?: string | undefined;
8306
+ image?: unknown;
8307
8307
  reason?: string | undefined;
8308
8308
  }>, "many">>;
8309
8309
  path: z.ZodString;
@@ -8321,11 +8321,11 @@ export declare const variantWorkItemContextSchema: z.ZodObject<{
8321
8321
  references?: {
8322
8322
  id: string;
8323
8323
  title: string;
8324
+ url?: string | undefined;
8324
8325
  image?: {
8325
8326
  hash: string;
8326
8327
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
8327
8328
  } | undefined;
8328
- url?: string | undefined;
8329
8329
  reason?: string | undefined;
8330
8330
  }[] | undefined;
8331
8331
  originalFilename?: string | undefined;
@@ -8339,8 +8339,8 @@ export declare const variantWorkItemContextSchema: z.ZodObject<{
8339
8339
  references?: {
8340
8340
  id: string;
8341
8341
  title: string;
8342
- image?: unknown;
8343
8342
  url?: string | undefined;
8343
+ image?: unknown;
8344
8344
  reason?: string | undefined;
8345
8345
  }[] | undefined;
8346
8346
  originalFilename?: string | undefined;
@@ -8383,32 +8383,32 @@ export declare const variantWorkItemContextSchema: z.ZodObject<{
8383
8383
  }, "strip", z.ZodTypeAny, {
8384
8384
  id: string;
8385
8385
  title: string;
8386
+ url?: string | undefined;
8386
8387
  image?: {
8387
8388
  hash: string;
8388
8389
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
8389
8390
  } | undefined;
8390
- url?: string | undefined;
8391
8391
  reason?: string | undefined;
8392
8392
  }, {
8393
8393
  id: string;
8394
8394
  title: string;
8395
- image?: unknown;
8396
8395
  url?: string | undefined;
8396
+ image?: unknown;
8397
8397
  reason?: string | undefined;
8398
8398
  }>, {
8399
8399
  id: string;
8400
8400
  title: string;
8401
+ url?: string | undefined;
8401
8402
  image?: {
8402
8403
  hash: string;
8403
8404
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
8404
8405
  } | undefined;
8405
- url?: string | undefined;
8406
8406
  reason?: string | undefined;
8407
8407
  }, {
8408
8408
  id: string;
8409
8409
  title: string;
8410
- image?: unknown;
8411
8410
  url?: string | undefined;
8411
+ image?: unknown;
8412
8412
  reason?: string | undefined;
8413
8413
  }>, "many">>;
8414
8414
  path: z.ZodString;
@@ -8423,11 +8423,11 @@ export declare const variantWorkItemContextSchema: z.ZodObject<{
8423
8423
  references?: {
8424
8424
  id: string;
8425
8425
  title: string;
8426
+ url?: string | undefined;
8426
8427
  image?: {
8427
8428
  hash: string;
8428
8429
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
8429
8430
  } | undefined;
8430
- url?: string | undefined;
8431
8431
  reason?: string | undefined;
8432
8432
  }[] | undefined;
8433
8433
  }, {
@@ -8439,8 +8439,8 @@ export declare const variantWorkItemContextSchema: z.ZodObject<{
8439
8439
  references?: {
8440
8440
  id: string;
8441
8441
  title: string;
8442
- image?: unknown;
8443
8442
  url?: string | undefined;
8443
+ image?: unknown;
8444
8444
  reason?: string | undefined;
8445
8445
  }[] | undefined;
8446
8446
  }>]>, "many">;
@@ -8485,7 +8485,7 @@ export declare const variantWorkItemContextSchema: z.ZodObject<{
8485
8485
  }[];
8486
8486
  qualityBar: string[];
8487
8487
  designMarkdown?: string | undefined;
8488
- evidenceStatus?: "captured" | "partial" | "inferred" | undefined;
8488
+ evidenceStatus?: "partial" | "captured" | "inferred" | undefined;
8489
8489
  risks?: string[] | undefined;
8490
8490
  }, {
8491
8491
  sourceFindings: string[];
@@ -8498,7 +8498,7 @@ export declare const variantWorkItemContextSchema: z.ZodObject<{
8498
8498
  }[];
8499
8499
  qualityBar: string[];
8500
8500
  designMarkdown?: string | undefined;
8501
- evidenceStatus?: "captured" | "partial" | "inferred" | undefined;
8501
+ evidenceStatus?: "partial" | "captured" | "inferred" | undefined;
8502
8502
  risks?: string[] | undefined;
8503
8503
  }>;
8504
8504
  }, "strip", z.ZodTypeAny, {
@@ -8514,7 +8514,7 @@ export declare const variantWorkItemContextSchema: z.ZodObject<{
8514
8514
  }[];
8515
8515
  qualityBar: string[];
8516
8516
  designMarkdown?: string | undefined;
8517
- evidenceStatus?: "captured" | "partial" | "inferred" | undefined;
8517
+ evidenceStatus?: "partial" | "captured" | "inferred" | undefined;
8518
8518
  risks?: string[] | undefined;
8519
8519
  };
8520
8520
  kind: "design_system";
@@ -8536,7 +8536,7 @@ export declare const variantWorkItemContextSchema: z.ZodObject<{
8536
8536
  }[];
8537
8537
  qualityBar: string[];
8538
8538
  designMarkdown?: string | undefined;
8539
- evidenceStatus?: "captured" | "partial" | "inferred" | undefined;
8539
+ evidenceStatus?: "partial" | "captured" | "inferred" | undefined;
8540
8540
  risks?: string[] | undefined;
8541
8541
  };
8542
8542
  kind: "design_system";
@@ -8668,11 +8668,11 @@ export declare const variantWorkItemContextSchema: z.ZodObject<{
8668
8668
  references?: {
8669
8669
  id: string;
8670
8670
  title: string;
8671
+ url?: string | undefined;
8671
8672
  image?: {
8672
8673
  hash: string;
8673
8674
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
8674
8675
  } | undefined;
8675
- url?: string | undefined;
8676
8676
  reason?: string | undefined;
8677
8677
  }[] | undefined;
8678
8678
  originalFilename?: string | undefined;
@@ -8691,11 +8691,11 @@ export declare const variantWorkItemContextSchema: z.ZodObject<{
8691
8691
  references?: {
8692
8692
  id: string;
8693
8693
  title: string;
8694
+ url?: string | undefined;
8694
8695
  image?: {
8695
8696
  hash: string;
8696
8697
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
8697
8698
  } | undefined;
8698
- url?: string | undefined;
8699
8699
  reason?: string | undefined;
8700
8700
  }[] | undefined;
8701
8701
  })[];
@@ -8712,7 +8712,7 @@ export declare const variantWorkItemContextSchema: z.ZodObject<{
8712
8712
  }[];
8713
8713
  qualityBar: string[];
8714
8714
  designMarkdown?: string | undefined;
8715
- evidenceStatus?: "captured" | "partial" | "inferred" | undefined;
8715
+ evidenceStatus?: "partial" | "captured" | "inferred" | undefined;
8716
8716
  risks?: string[] | undefined;
8717
8717
  };
8718
8718
  kind: "design_system";
@@ -8738,11 +8738,11 @@ export declare const variantWorkItemContextSchema: z.ZodObject<{
8738
8738
  references?: {
8739
8739
  id: string;
8740
8740
  title: string;
8741
+ url?: string | undefined;
8741
8742
  image?: {
8742
8743
  hash: string;
8743
8744
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
8744
8745
  } | undefined;
8745
- url?: string | undefined;
8746
8746
  reason?: string | undefined;
8747
8747
  }[] | undefined;
8748
8748
  contextAssets?: {
@@ -8784,8 +8784,8 @@ export declare const variantWorkItemContextSchema: z.ZodObject<{
8784
8784
  references?: {
8785
8785
  id: string;
8786
8786
  title: string;
8787
- image?: unknown;
8788
8787
  url?: string | undefined;
8788
+ image?: unknown;
8789
8789
  reason?: string | undefined;
8790
8790
  }[] | undefined;
8791
8791
  originalFilename?: string | undefined;
@@ -8804,8 +8804,8 @@ export declare const variantWorkItemContextSchema: z.ZodObject<{
8804
8804
  references?: {
8805
8805
  id: string;
8806
8806
  title: string;
8807
- image?: unknown;
8808
8807
  url?: string | undefined;
8808
+ image?: unknown;
8809
8809
  reason?: string | undefined;
8810
8810
  }[] | undefined;
8811
8811
  })[];
@@ -8822,7 +8822,7 @@ export declare const variantWorkItemContextSchema: z.ZodObject<{
8822
8822
  }[];
8823
8823
  qualityBar: string[];
8824
8824
  designMarkdown?: string | undefined;
8825
- evidenceStatus?: "captured" | "partial" | "inferred" | undefined;
8825
+ evidenceStatus?: "partial" | "captured" | "inferred" | undefined;
8826
8826
  risks?: string[] | undefined;
8827
8827
  };
8828
8828
  kind: "design_system";
@@ -8848,8 +8848,8 @@ export declare const variantWorkItemContextSchema: z.ZodObject<{
8848
8848
  references?: {
8849
8849
  id: string;
8850
8850
  title: string;
8851
- image?: unknown;
8852
8851
  url?: string | undefined;
8852
+ image?: unknown;
8853
8853
  reason?: string | undefined;
8854
8854
  }[] | undefined;
8855
8855
  contextAssets?: {
@@ -8963,32 +8963,32 @@ export declare const proposeVariantsInput: {
8963
8963
  }, "strip", z.ZodTypeAny, {
8964
8964
  id: string;
8965
8965
  title: string;
8966
+ url?: string | undefined;
8966
8967
  image?: {
8967
8968
  hash: string;
8968
8969
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
8969
8970
  } | undefined;
8970
- url?: string | undefined;
8971
8971
  reason?: string | undefined;
8972
8972
  }, {
8973
8973
  id: string;
8974
8974
  title: string;
8975
- image?: unknown;
8976
8975
  url?: string | undefined;
8976
+ image?: unknown;
8977
8977
  reason?: string | undefined;
8978
8978
  }>, {
8979
8979
  id: string;
8980
8980
  title: string;
8981
+ url?: string | undefined;
8981
8982
  image?: {
8982
8983
  hash: string;
8983
8984
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
8984
8985
  } | undefined;
8985
- url?: string | undefined;
8986
8986
  reason?: string | undefined;
8987
8987
  }, {
8988
8988
  id: string;
8989
8989
  title: string;
8990
- image?: unknown;
8991
8990
  url?: string | undefined;
8991
+ image?: unknown;
8992
8992
  reason?: string | undefined;
8993
8993
  }>, "many">>;
8994
8994
  path: z.ZodString;
@@ -9006,11 +9006,11 @@ export declare const proposeVariantsInput: {
9006
9006
  references?: {
9007
9007
  id: string;
9008
9008
  title: string;
9009
+ url?: string | undefined;
9009
9010
  image?: {
9010
9011
  hash: string;
9011
9012
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
9012
9013
  } | undefined;
9013
- url?: string | undefined;
9014
9014
  reason?: string | undefined;
9015
9015
  }[] | undefined;
9016
9016
  originalFilename?: string | undefined;
@@ -9024,8 +9024,8 @@ export declare const proposeVariantsInput: {
9024
9024
  references?: {
9025
9025
  id: string;
9026
9026
  title: string;
9027
- image?: unknown;
9028
9027
  url?: string | undefined;
9028
+ image?: unknown;
9029
9029
  reason?: string | undefined;
9030
9030
  }[] | undefined;
9031
9031
  originalFilename?: string | undefined;
@@ -9068,32 +9068,32 @@ export declare const proposeVariantsInput: {
9068
9068
  }, "strip", z.ZodTypeAny, {
9069
9069
  id: string;
9070
9070
  title: string;
9071
+ url?: string | undefined;
9071
9072
  image?: {
9072
9073
  hash: string;
9073
9074
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
9074
9075
  } | undefined;
9075
- url?: string | undefined;
9076
9076
  reason?: string | undefined;
9077
9077
  }, {
9078
9078
  id: string;
9079
9079
  title: string;
9080
- image?: unknown;
9081
9080
  url?: string | undefined;
9081
+ image?: unknown;
9082
9082
  reason?: string | undefined;
9083
9083
  }>, {
9084
9084
  id: string;
9085
9085
  title: string;
9086
+ url?: string | undefined;
9086
9087
  image?: {
9087
9088
  hash: string;
9088
9089
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
9089
9090
  } | undefined;
9090
- url?: string | undefined;
9091
9091
  reason?: string | undefined;
9092
9092
  }, {
9093
9093
  id: string;
9094
9094
  title: string;
9095
- image?: unknown;
9096
9095
  url?: string | undefined;
9096
+ image?: unknown;
9097
9097
  reason?: string | undefined;
9098
9098
  }>, "many">>;
9099
9099
  path: z.ZodString;
@@ -9108,11 +9108,11 @@ export declare const proposeVariantsInput: {
9108
9108
  references?: {
9109
9109
  id: string;
9110
9110
  title: string;
9111
+ url?: string | undefined;
9111
9112
  image?: {
9112
9113
  hash: string;
9113
9114
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
9114
9115
  } | undefined;
9115
- url?: string | undefined;
9116
9116
  reason?: string | undefined;
9117
9117
  }[] | undefined;
9118
9118
  }, {
@@ -9124,8 +9124,8 @@ export declare const proposeVariantsInput: {
9124
9124
  references?: {
9125
9125
  id: string;
9126
9126
  title: string;
9127
- image?: unknown;
9128
9127
  url?: string | undefined;
9128
+ image?: unknown;
9129
9129
  reason?: string | undefined;
9130
9130
  }[] | undefined;
9131
9131
  }>]>, "many">;
@@ -9137,14 +9137,14 @@ export declare const proposeVariantsInput: {
9137
9137
  outputMetadataIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
9138
9138
  }, "strip", z.ZodTypeAny, {
9139
9139
  id: string;
9140
- reason: string;
9141
9140
  kind: "extract_design_system" | "describe_motion";
9141
+ reason: string;
9142
9142
  sourceIds: string[];
9143
9143
  outputMetadataIds?: string[] | undefined;
9144
9144
  }, {
9145
9145
  id: string;
9146
- reason: string;
9147
9146
  kind: "extract_design_system" | "describe_motion";
9147
+ reason: string;
9148
9148
  sourceIds: string[];
9149
9149
  outputMetadataIds?: string[] | undefined;
9150
9150
  }>, "many">;
@@ -9189,7 +9189,7 @@ export declare const proposeVariantsInput: {
9189
9189
  }[];
9190
9190
  qualityBar: string[];
9191
9191
  designMarkdown?: string | undefined;
9192
- evidenceStatus?: "captured" | "partial" | "inferred" | undefined;
9192
+ evidenceStatus?: "partial" | "captured" | "inferred" | undefined;
9193
9193
  risks?: string[] | undefined;
9194
9194
  }, {
9195
9195
  sourceFindings: string[];
@@ -9202,7 +9202,7 @@ export declare const proposeVariantsInput: {
9202
9202
  }[];
9203
9203
  qualityBar: string[];
9204
9204
  designMarkdown?: string | undefined;
9205
- evidenceStatus?: "captured" | "partial" | "inferred" | undefined;
9205
+ evidenceStatus?: "partial" | "captured" | "inferred" | undefined;
9206
9206
  risks?: string[] | undefined;
9207
9207
  }>;
9208
9208
  }, "strip", z.ZodTypeAny, {
@@ -9218,7 +9218,7 @@ export declare const proposeVariantsInput: {
9218
9218
  }[];
9219
9219
  qualityBar: string[];
9220
9220
  designMarkdown?: string | undefined;
9221
- evidenceStatus?: "captured" | "partial" | "inferred" | undefined;
9221
+ evidenceStatus?: "partial" | "captured" | "inferred" | undefined;
9222
9222
  risks?: string[] | undefined;
9223
9223
  };
9224
9224
  kind: "design_system";
@@ -9240,7 +9240,7 @@ export declare const proposeVariantsInput: {
9240
9240
  }[];
9241
9241
  qualityBar: string[];
9242
9242
  designMarkdown?: string | undefined;
9243
- evidenceStatus?: "captured" | "partial" | "inferred" | undefined;
9243
+ evidenceStatus?: "partial" | "captured" | "inferred" | undefined;
9244
9244
  risks?: string[] | undefined;
9245
9245
  };
9246
9246
  kind: "design_system";
@@ -9400,8 +9400,8 @@ export declare const proposeVariantsInput: {
9400
9400
  userQuestion?: string | undefined;
9401
9401
  }>>;
9402
9402
  }, "strip", z.ZodTypeAny, {
9403
- sessionId: string;
9404
9403
  version: 1;
9404
+ sessionId: string;
9405
9405
  contextBundlePath: string;
9406
9406
  userContext: ({
9407
9407
  id: string;
@@ -9423,11 +9423,11 @@ export declare const proposeVariantsInput: {
9423
9423
  references?: {
9424
9424
  id: string;
9425
9425
  title: string;
9426
+ url?: string | undefined;
9426
9427
  image?: {
9427
9428
  hash: string;
9428
9429
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
9429
9430
  } | undefined;
9430
- url?: string | undefined;
9431
9431
  reason?: string | undefined;
9432
9432
  }[] | undefined;
9433
9433
  originalFilename?: string | undefined;
@@ -9446,18 +9446,18 @@ export declare const proposeVariantsInput: {
9446
9446
  references?: {
9447
9447
  id: string;
9448
9448
  title: string;
9449
+ url?: string | undefined;
9449
9450
  image?: {
9450
9451
  hash: string;
9451
9452
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
9452
9453
  } | undefined;
9453
- url?: string | undefined;
9454
9454
  reason?: string | undefined;
9455
9455
  }[] | undefined;
9456
9456
  })[];
9457
9457
  rivetActions: {
9458
9458
  id: string;
9459
- reason: string;
9460
9459
  kind: "extract_design_system" | "describe_motion";
9460
+ reason: string;
9461
9461
  sourceIds: string[];
9462
9462
  outputMetadataIds?: string[] | undefined;
9463
9463
  }[];
@@ -9474,7 +9474,7 @@ export declare const proposeVariantsInput: {
9474
9474
  }[];
9475
9475
  qualityBar: string[];
9476
9476
  designMarkdown?: string | undefined;
9477
- evidenceStatus?: "captured" | "partial" | "inferred" | undefined;
9477
+ evidenceStatus?: "partial" | "captured" | "inferred" | undefined;
9478
9478
  risks?: string[] | undefined;
9479
9479
  };
9480
9480
  kind: "design_system";
@@ -9531,8 +9531,8 @@ export declare const proposeVariantsInput: {
9531
9531
  userQuestion?: string | undefined;
9532
9532
  } | undefined;
9533
9533
  }, {
9534
- sessionId: string;
9535
9534
  version: 1;
9535
+ sessionId: string;
9536
9536
  contextBundlePath: string;
9537
9537
  userContext: ({
9538
9538
  id: string;
@@ -9554,8 +9554,8 @@ export declare const proposeVariantsInput: {
9554
9554
  references?: {
9555
9555
  id: string;
9556
9556
  title: string;
9557
- image?: unknown;
9558
9557
  url?: string | undefined;
9558
+ image?: unknown;
9559
9559
  reason?: string | undefined;
9560
9560
  }[] | undefined;
9561
9561
  originalFilename?: string | undefined;
@@ -9574,15 +9574,15 @@ export declare const proposeVariantsInput: {
9574
9574
  references?: {
9575
9575
  id: string;
9576
9576
  title: string;
9577
- image?: unknown;
9578
9577
  url?: string | undefined;
9578
+ image?: unknown;
9579
9579
  reason?: string | undefined;
9580
9580
  }[] | undefined;
9581
9581
  })[];
9582
9582
  rivetActions: {
9583
9583
  id: string;
9584
- reason: string;
9585
9584
  kind: "extract_design_system" | "describe_motion";
9585
+ reason: string;
9586
9586
  sourceIds: string[];
9587
9587
  outputMetadataIds?: string[] | undefined;
9588
9588
  }[];
@@ -9599,7 +9599,7 @@ export declare const proposeVariantsInput: {
9599
9599
  }[];
9600
9600
  qualityBar: string[];
9601
9601
  designMarkdown?: string | undefined;
9602
- evidenceStatus?: "captured" | "partial" | "inferred" | undefined;
9602
+ evidenceStatus?: "partial" | "captured" | "inferred" | undefined;
9603
9603
  risks?: string[] | undefined;
9604
9604
  };
9605
9605
  kind: "design_system";
@@ -9761,32 +9761,32 @@ export declare const proposeVariantsInput: {
9761
9761
  }, "strip", z.ZodTypeAny, {
9762
9762
  id: string;
9763
9763
  title: string;
9764
+ url?: string | undefined;
9764
9765
  image?: {
9765
9766
  hash: string;
9766
9767
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
9767
9768
  } | undefined;
9768
- url?: string | undefined;
9769
9769
  reason?: string | undefined;
9770
9770
  }, {
9771
9771
  id: string;
9772
9772
  title: string;
9773
- image?: unknown;
9774
9773
  url?: string | undefined;
9774
+ image?: unknown;
9775
9775
  reason?: string | undefined;
9776
9776
  }>, {
9777
9777
  id: string;
9778
9778
  title: string;
9779
+ url?: string | undefined;
9779
9780
  image?: {
9780
9781
  hash: string;
9781
9782
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
9782
9783
  } | undefined;
9783
- url?: string | undefined;
9784
9784
  reason?: string | undefined;
9785
9785
  }, {
9786
9786
  id: string;
9787
9787
  title: string;
9788
- image?: unknown;
9789
9788
  url?: string | undefined;
9789
+ image?: unknown;
9790
9790
  reason?: string | undefined;
9791
9791
  }>, "many">>;
9792
9792
  path: z.ZodString;
@@ -9804,11 +9804,11 @@ export declare const proposeVariantsInput: {
9804
9804
  references?: {
9805
9805
  id: string;
9806
9806
  title: string;
9807
+ url?: string | undefined;
9807
9808
  image?: {
9808
9809
  hash: string;
9809
9810
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
9810
9811
  } | undefined;
9811
- url?: string | undefined;
9812
9812
  reason?: string | undefined;
9813
9813
  }[] | undefined;
9814
9814
  originalFilename?: string | undefined;
@@ -9822,8 +9822,8 @@ export declare const proposeVariantsInput: {
9822
9822
  references?: {
9823
9823
  id: string;
9824
9824
  title: string;
9825
- image?: unknown;
9826
9825
  url?: string | undefined;
9826
+ image?: unknown;
9827
9827
  reason?: string | undefined;
9828
9828
  }[] | undefined;
9829
9829
  originalFilename?: string | undefined;
@@ -9866,32 +9866,32 @@ export declare const proposeVariantsInput: {
9866
9866
  }, "strip", z.ZodTypeAny, {
9867
9867
  id: string;
9868
9868
  title: string;
9869
+ url?: string | undefined;
9869
9870
  image?: {
9870
9871
  hash: string;
9871
9872
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
9872
9873
  } | undefined;
9873
- url?: string | undefined;
9874
9874
  reason?: string | undefined;
9875
9875
  }, {
9876
9876
  id: string;
9877
9877
  title: string;
9878
- image?: unknown;
9879
9878
  url?: string | undefined;
9879
+ image?: unknown;
9880
9880
  reason?: string | undefined;
9881
9881
  }>, {
9882
9882
  id: string;
9883
9883
  title: string;
9884
+ url?: string | undefined;
9884
9885
  image?: {
9885
9886
  hash: string;
9886
9887
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
9887
9888
  } | undefined;
9888
- url?: string | undefined;
9889
9889
  reason?: string | undefined;
9890
9890
  }, {
9891
9891
  id: string;
9892
9892
  title: string;
9893
- image?: unknown;
9894
9893
  url?: string | undefined;
9894
+ image?: unknown;
9895
9895
  reason?: string | undefined;
9896
9896
  }>, "many">>;
9897
9897
  path: z.ZodString;
@@ -9906,11 +9906,11 @@ export declare const proposeVariantsInput: {
9906
9906
  references?: {
9907
9907
  id: string;
9908
9908
  title: string;
9909
+ url?: string | undefined;
9909
9910
  image?: {
9910
9911
  hash: string;
9911
9912
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
9912
9913
  } | undefined;
9913
- url?: string | undefined;
9914
9914
  reason?: string | undefined;
9915
9915
  }[] | undefined;
9916
9916
  }, {
@@ -9922,8 +9922,8 @@ export declare const proposeVariantsInput: {
9922
9922
  references?: {
9923
9923
  id: string;
9924
9924
  title: string;
9925
- image?: unknown;
9926
9925
  url?: string | undefined;
9926
+ image?: unknown;
9927
9927
  reason?: string | undefined;
9928
9928
  }[] | undefined;
9929
9929
  }>]>, "many">;
@@ -9935,14 +9935,14 @@ export declare const proposeVariantsInput: {
9935
9935
  outputMetadataIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
9936
9936
  }, "strip", z.ZodTypeAny, {
9937
9937
  id: string;
9938
- reason: string;
9939
9938
  kind: "extract_design_system" | "describe_motion";
9939
+ reason: string;
9940
9940
  sourceIds: string[];
9941
9941
  outputMetadataIds?: string[] | undefined;
9942
9942
  }, {
9943
9943
  id: string;
9944
- reason: string;
9945
9944
  kind: "extract_design_system" | "describe_motion";
9945
+ reason: string;
9946
9946
  sourceIds: string[];
9947
9947
  outputMetadataIds?: string[] | undefined;
9948
9948
  }>, "many">;
@@ -9987,7 +9987,7 @@ export declare const proposeVariantsInput: {
9987
9987
  }[];
9988
9988
  qualityBar: string[];
9989
9989
  designMarkdown?: string | undefined;
9990
- evidenceStatus?: "captured" | "partial" | "inferred" | undefined;
9990
+ evidenceStatus?: "partial" | "captured" | "inferred" | undefined;
9991
9991
  risks?: string[] | undefined;
9992
9992
  }, {
9993
9993
  sourceFindings: string[];
@@ -10000,7 +10000,7 @@ export declare const proposeVariantsInput: {
10000
10000
  }[];
10001
10001
  qualityBar: string[];
10002
10002
  designMarkdown?: string | undefined;
10003
- evidenceStatus?: "captured" | "partial" | "inferred" | undefined;
10003
+ evidenceStatus?: "partial" | "captured" | "inferred" | undefined;
10004
10004
  risks?: string[] | undefined;
10005
10005
  }>;
10006
10006
  }, "strip", z.ZodTypeAny, {
@@ -10016,7 +10016,7 @@ export declare const proposeVariantsInput: {
10016
10016
  }[];
10017
10017
  qualityBar: string[];
10018
10018
  designMarkdown?: string | undefined;
10019
- evidenceStatus?: "captured" | "partial" | "inferred" | undefined;
10019
+ evidenceStatus?: "partial" | "captured" | "inferred" | undefined;
10020
10020
  risks?: string[] | undefined;
10021
10021
  };
10022
10022
  kind: "design_system";
@@ -10038,7 +10038,7 @@ export declare const proposeVariantsInput: {
10038
10038
  }[];
10039
10039
  qualityBar: string[];
10040
10040
  designMarkdown?: string | undefined;
10041
- evidenceStatus?: "captured" | "partial" | "inferred" | undefined;
10041
+ evidenceStatus?: "partial" | "captured" | "inferred" | undefined;
10042
10042
  risks?: string[] | undefined;
10043
10043
  };
10044
10044
  kind: "design_system";
@@ -10198,8 +10198,8 @@ export declare const proposeVariantsInput: {
10198
10198
  userQuestion?: string | undefined;
10199
10199
  }>>;
10200
10200
  }, "strip", z.ZodTypeAny, {
10201
- sessionId: string;
10202
10201
  version: 1;
10202
+ sessionId: string;
10203
10203
  contextBundlePath: string;
10204
10204
  userContext: ({
10205
10205
  id: string;
@@ -10221,11 +10221,11 @@ export declare const proposeVariantsInput: {
10221
10221
  references?: {
10222
10222
  id: string;
10223
10223
  title: string;
10224
+ url?: string | undefined;
10224
10225
  image?: {
10225
10226
  hash: string;
10226
10227
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
10227
10228
  } | undefined;
10228
- url?: string | undefined;
10229
10229
  reason?: string | undefined;
10230
10230
  }[] | undefined;
10231
10231
  originalFilename?: string | undefined;
@@ -10244,18 +10244,18 @@ export declare const proposeVariantsInput: {
10244
10244
  references?: {
10245
10245
  id: string;
10246
10246
  title: string;
10247
+ url?: string | undefined;
10247
10248
  image?: {
10248
10249
  hash: string;
10249
10250
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
10250
10251
  } | undefined;
10251
- url?: string | undefined;
10252
10252
  reason?: string | undefined;
10253
10253
  }[] | undefined;
10254
10254
  })[];
10255
10255
  rivetActions: {
10256
10256
  id: string;
10257
- reason: string;
10258
10257
  kind: "extract_design_system" | "describe_motion";
10258
+ reason: string;
10259
10259
  sourceIds: string[];
10260
10260
  outputMetadataIds?: string[] | undefined;
10261
10261
  }[];
@@ -10272,7 +10272,7 @@ export declare const proposeVariantsInput: {
10272
10272
  }[];
10273
10273
  qualityBar: string[];
10274
10274
  designMarkdown?: string | undefined;
10275
- evidenceStatus?: "captured" | "partial" | "inferred" | undefined;
10275
+ evidenceStatus?: "partial" | "captured" | "inferred" | undefined;
10276
10276
  risks?: string[] | undefined;
10277
10277
  };
10278
10278
  kind: "design_system";
@@ -10329,8 +10329,8 @@ export declare const proposeVariantsInput: {
10329
10329
  userQuestion?: string | undefined;
10330
10330
  } | undefined;
10331
10331
  }, {
10332
- sessionId: string;
10333
10332
  version: 1;
10333
+ sessionId: string;
10334
10334
  contextBundlePath: string;
10335
10335
  userContext: ({
10336
10336
  id: string;
@@ -10352,8 +10352,8 @@ export declare const proposeVariantsInput: {
10352
10352
  references?: {
10353
10353
  id: string;
10354
10354
  title: string;
10355
- image?: unknown;
10356
10355
  url?: string | undefined;
10356
+ image?: unknown;
10357
10357
  reason?: string | undefined;
10358
10358
  }[] | undefined;
10359
10359
  originalFilename?: string | undefined;
@@ -10372,15 +10372,15 @@ export declare const proposeVariantsInput: {
10372
10372
  references?: {
10373
10373
  id: string;
10374
10374
  title: string;
10375
- image?: unknown;
10376
10375
  url?: string | undefined;
10376
+ image?: unknown;
10377
10377
  reason?: string | undefined;
10378
10378
  }[] | undefined;
10379
10379
  })[];
10380
10380
  rivetActions: {
10381
10381
  id: string;
10382
- reason: string;
10383
10382
  kind: "extract_design_system" | "describe_motion";
10383
+ reason: string;
10384
10384
  sourceIds: string[];
10385
10385
  outputMetadataIds?: string[] | undefined;
10386
10386
  }[];
@@ -10397,7 +10397,7 @@ export declare const proposeVariantsInput: {
10397
10397
  }[];
10398
10398
  qualityBar: string[];
10399
10399
  designMarkdown?: string | undefined;
10400
- evidenceStatus?: "captured" | "partial" | "inferred" | undefined;
10400
+ evidenceStatus?: "partial" | "captured" | "inferred" | undefined;
10401
10401
  risks?: string[] | undefined;
10402
10402
  };
10403
10403
  kind: "design_system";
@@ -10628,14 +10628,14 @@ export declare const sourcePlanArtifactSchema: z.ZodObject<{
10628
10628
  outputMetadataIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
10629
10629
  }, "strip", z.ZodTypeAny, {
10630
10630
  id: string;
10631
- reason: string;
10632
10631
  kind: "extract_design_system" | "describe_motion";
10632
+ reason: string;
10633
10633
  sourceIds: string[];
10634
10634
  outputMetadataIds?: string[] | undefined;
10635
10635
  }, {
10636
10636
  id: string;
10637
- reason: string;
10638
10637
  kind: "extract_design_system" | "describe_motion";
10638
+ reason: string;
10639
10639
  sourceIds: string[];
10640
10640
  outputMetadataIds?: string[] | undefined;
10641
10641
  }>, "many">;
@@ -10680,7 +10680,7 @@ export declare const sourcePlanArtifactSchema: z.ZodObject<{
10680
10680
  }[];
10681
10681
  qualityBar: string[];
10682
10682
  designMarkdown?: string | undefined;
10683
- evidenceStatus?: "captured" | "partial" | "inferred" | undefined;
10683
+ evidenceStatus?: "partial" | "captured" | "inferred" | undefined;
10684
10684
  risks?: string[] | undefined;
10685
10685
  }, {
10686
10686
  sourceFindings: string[];
@@ -10693,7 +10693,7 @@ export declare const sourcePlanArtifactSchema: z.ZodObject<{
10693
10693
  }[];
10694
10694
  qualityBar: string[];
10695
10695
  designMarkdown?: string | undefined;
10696
- evidenceStatus?: "captured" | "partial" | "inferred" | undefined;
10696
+ evidenceStatus?: "partial" | "captured" | "inferred" | undefined;
10697
10697
  risks?: string[] | undefined;
10698
10698
  }>;
10699
10699
  }, "strip", z.ZodTypeAny, {
@@ -10709,7 +10709,7 @@ export declare const sourcePlanArtifactSchema: z.ZodObject<{
10709
10709
  }[];
10710
10710
  qualityBar: string[];
10711
10711
  designMarkdown?: string | undefined;
10712
- evidenceStatus?: "captured" | "partial" | "inferred" | undefined;
10712
+ evidenceStatus?: "partial" | "captured" | "inferred" | undefined;
10713
10713
  risks?: string[] | undefined;
10714
10714
  };
10715
10715
  kind: "design_system";
@@ -10731,7 +10731,7 @@ export declare const sourcePlanArtifactSchema: z.ZodObject<{
10731
10731
  }[];
10732
10732
  qualityBar: string[];
10733
10733
  designMarkdown?: string | undefined;
10734
- evidenceStatus?: "captured" | "partial" | "inferred" | undefined;
10734
+ evidenceStatus?: "partial" | "captured" | "inferred" | undefined;
10735
10735
  risks?: string[] | undefined;
10736
10736
  };
10737
10737
  kind: "design_system";
@@ -10880,8 +10880,8 @@ export declare const sourcePlanArtifactSchema: z.ZodObject<{
10880
10880
  };
10881
10881
  actions: {
10882
10882
  id: string;
10883
- reason: string;
10884
10883
  kind: "extract_design_system" | "describe_motion";
10884
+ reason: string;
10885
10885
  sourceIds: string[];
10886
10886
  outputMetadataIds?: string[] | undefined;
10887
10887
  }[];
@@ -10898,7 +10898,7 @@ export declare const sourcePlanArtifactSchema: z.ZodObject<{
10898
10898
  }[];
10899
10899
  qualityBar: string[];
10900
10900
  designMarkdown?: string | undefined;
10901
- evidenceStatus?: "captured" | "partial" | "inferred" | undefined;
10901
+ evidenceStatus?: "partial" | "captured" | "inferred" | undefined;
10902
10902
  risks?: string[] | undefined;
10903
10903
  };
10904
10904
  kind: "design_system";
@@ -10948,8 +10948,8 @@ export declare const sourcePlanArtifactSchema: z.ZodObject<{
10948
10948
  };
10949
10949
  actions: {
10950
10950
  id: string;
10951
- reason: string;
10952
10951
  kind: "extract_design_system" | "describe_motion";
10952
+ reason: string;
10953
10953
  sourceIds: string[];
10954
10954
  outputMetadataIds?: string[] | undefined;
10955
10955
  }[];
@@ -10966,7 +10966,7 @@ export declare const sourcePlanArtifactSchema: z.ZodObject<{
10966
10966
  }[];
10967
10967
  qualityBar: string[];
10968
10968
  designMarkdown?: string | undefined;
10969
- evidenceStatus?: "captured" | "partial" | "inferred" | undefined;
10969
+ evidenceStatus?: "partial" | "captured" | "inferred" | undefined;
10970
10970
  risks?: string[] | undefined;
10971
10971
  };
10972
10972
  kind: "design_system";
@@ -11017,14 +11017,14 @@ export declare const reportSourcePlanInput: {
11017
11017
  outputMetadataIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
11018
11018
  }, "strip", z.ZodTypeAny, {
11019
11019
  id: string;
11020
- reason: string;
11021
11020
  kind: "extract_design_system" | "describe_motion";
11021
+ reason: string;
11022
11022
  sourceIds: string[];
11023
11023
  outputMetadataIds?: string[] | undefined;
11024
11024
  }, {
11025
11025
  id: string;
11026
- reason: string;
11027
11026
  kind: "extract_design_system" | "describe_motion";
11027
+ reason: string;
11028
11028
  sourceIds: string[];
11029
11029
  outputMetadataIds?: string[] | undefined;
11030
11030
  }>, "many">;
@@ -11069,7 +11069,7 @@ export declare const reportSourcePlanInput: {
11069
11069
  }[];
11070
11070
  qualityBar: string[];
11071
11071
  designMarkdown?: string | undefined;
11072
- evidenceStatus?: "captured" | "partial" | "inferred" | undefined;
11072
+ evidenceStatus?: "partial" | "captured" | "inferred" | undefined;
11073
11073
  risks?: string[] | undefined;
11074
11074
  }, {
11075
11075
  sourceFindings: string[];
@@ -11082,7 +11082,7 @@ export declare const reportSourcePlanInput: {
11082
11082
  }[];
11083
11083
  qualityBar: string[];
11084
11084
  designMarkdown?: string | undefined;
11085
- evidenceStatus?: "captured" | "partial" | "inferred" | undefined;
11085
+ evidenceStatus?: "partial" | "captured" | "inferred" | undefined;
11086
11086
  risks?: string[] | undefined;
11087
11087
  }>;
11088
11088
  }, "strip", z.ZodTypeAny, {
@@ -11098,7 +11098,7 @@ export declare const reportSourcePlanInput: {
11098
11098
  }[];
11099
11099
  qualityBar: string[];
11100
11100
  designMarkdown?: string | undefined;
11101
- evidenceStatus?: "captured" | "partial" | "inferred" | undefined;
11101
+ evidenceStatus?: "partial" | "captured" | "inferred" | undefined;
11102
11102
  risks?: string[] | undefined;
11103
11103
  };
11104
11104
  kind: "design_system";
@@ -11120,7 +11120,7 @@ export declare const reportSourcePlanInput: {
11120
11120
  }[];
11121
11121
  qualityBar: string[];
11122
11122
  designMarkdown?: string | undefined;
11123
- evidenceStatus?: "captured" | "partial" | "inferred" | undefined;
11123
+ evidenceStatus?: "partial" | "captured" | "inferred" | undefined;
11124
11124
  risks?: string[] | undefined;
11125
11125
  };
11126
11126
  kind: "design_system";
@@ -11269,8 +11269,8 @@ export declare const reportSourcePlanInput: {
11269
11269
  };
11270
11270
  actions: {
11271
11271
  id: string;
11272
- reason: string;
11273
11272
  kind: "extract_design_system" | "describe_motion";
11273
+ reason: string;
11274
11274
  sourceIds: string[];
11275
11275
  outputMetadataIds?: string[] | undefined;
11276
11276
  }[];
@@ -11287,7 +11287,7 @@ export declare const reportSourcePlanInput: {
11287
11287
  }[];
11288
11288
  qualityBar: string[];
11289
11289
  designMarkdown?: string | undefined;
11290
- evidenceStatus?: "captured" | "partial" | "inferred" | undefined;
11290
+ evidenceStatus?: "partial" | "captured" | "inferred" | undefined;
11291
11291
  risks?: string[] | undefined;
11292
11292
  };
11293
11293
  kind: "design_system";
@@ -11337,8 +11337,8 @@ export declare const reportSourcePlanInput: {
11337
11337
  };
11338
11338
  actions: {
11339
11339
  id: string;
11340
- reason: string;
11341
11340
  kind: "extract_design_system" | "describe_motion";
11341
+ reason: string;
11342
11342
  sourceIds: string[];
11343
11343
  outputMetadataIds?: string[] | undefined;
11344
11344
  }[];
@@ -11355,7 +11355,7 @@ export declare const reportSourcePlanInput: {
11355
11355
  }[];
11356
11356
  qualityBar: string[];
11357
11357
  designMarkdown?: string | undefined;
11358
- evidenceStatus?: "captured" | "partial" | "inferred" | undefined;
11358
+ evidenceStatus?: "partial" | "captured" | "inferred" | undefined;
11359
11359
  risks?: string[] | undefined;
11360
11360
  };
11361
11361
  kind: "design_system";
@@ -11570,14 +11570,14 @@ export declare const reportWorkItemInput: {
11570
11570
  outputMetadataIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
11571
11571
  }, "strip", z.ZodTypeAny, {
11572
11572
  id: string;
11573
- reason: string;
11574
11573
  kind: "extract_design_system" | "describe_motion";
11574
+ reason: string;
11575
11575
  sourceIds: string[];
11576
11576
  outputMetadataIds?: string[] | undefined;
11577
11577
  }, {
11578
11578
  id: string;
11579
- reason: string;
11580
11579
  kind: "extract_design_system" | "describe_motion";
11580
+ reason: string;
11581
11581
  sourceIds: string[];
11582
11582
  outputMetadataIds?: string[] | undefined;
11583
11583
  }>, "many">;
@@ -11622,7 +11622,7 @@ export declare const reportWorkItemInput: {
11622
11622
  }[];
11623
11623
  qualityBar: string[];
11624
11624
  designMarkdown?: string | undefined;
11625
- evidenceStatus?: "captured" | "partial" | "inferred" | undefined;
11625
+ evidenceStatus?: "partial" | "captured" | "inferred" | undefined;
11626
11626
  risks?: string[] | undefined;
11627
11627
  }, {
11628
11628
  sourceFindings: string[];
@@ -11635,7 +11635,7 @@ export declare const reportWorkItemInput: {
11635
11635
  }[];
11636
11636
  qualityBar: string[];
11637
11637
  designMarkdown?: string | undefined;
11638
- evidenceStatus?: "captured" | "partial" | "inferred" | undefined;
11638
+ evidenceStatus?: "partial" | "captured" | "inferred" | undefined;
11639
11639
  risks?: string[] | undefined;
11640
11640
  }>;
11641
11641
  }, "strip", z.ZodTypeAny, {
@@ -11651,7 +11651,7 @@ export declare const reportWorkItemInput: {
11651
11651
  }[];
11652
11652
  qualityBar: string[];
11653
11653
  designMarkdown?: string | undefined;
11654
- evidenceStatus?: "captured" | "partial" | "inferred" | undefined;
11654
+ evidenceStatus?: "partial" | "captured" | "inferred" | undefined;
11655
11655
  risks?: string[] | undefined;
11656
11656
  };
11657
11657
  kind: "design_system";
@@ -11673,7 +11673,7 @@ export declare const reportWorkItemInput: {
11673
11673
  }[];
11674
11674
  qualityBar: string[];
11675
11675
  designMarkdown?: string | undefined;
11676
- evidenceStatus?: "captured" | "partial" | "inferred" | undefined;
11676
+ evidenceStatus?: "partial" | "captured" | "inferred" | undefined;
11677
11677
  risks?: string[] | undefined;
11678
11678
  };
11679
11679
  kind: "design_system";
@@ -11822,8 +11822,8 @@ export declare const reportWorkItemInput: {
11822
11822
  };
11823
11823
  actions: {
11824
11824
  id: string;
11825
- reason: string;
11826
11825
  kind: "extract_design_system" | "describe_motion";
11826
+ reason: string;
11827
11827
  sourceIds: string[];
11828
11828
  outputMetadataIds?: string[] | undefined;
11829
11829
  }[];
@@ -11840,7 +11840,7 @@ export declare const reportWorkItemInput: {
11840
11840
  }[];
11841
11841
  qualityBar: string[];
11842
11842
  designMarkdown?: string | undefined;
11843
- evidenceStatus?: "captured" | "partial" | "inferred" | undefined;
11843
+ evidenceStatus?: "partial" | "captured" | "inferred" | undefined;
11844
11844
  risks?: string[] | undefined;
11845
11845
  };
11846
11846
  kind: "design_system";
@@ -11890,8 +11890,8 @@ export declare const reportWorkItemInput: {
11890
11890
  };
11891
11891
  actions: {
11892
11892
  id: string;
11893
- reason: string;
11894
11893
  kind: "extract_design_system" | "describe_motion";
11894
+ reason: string;
11895
11895
  sourceIds: string[];
11896
11896
  outputMetadataIds?: string[] | undefined;
11897
11897
  }[];
@@ -11908,7 +11908,7 @@ export declare const reportWorkItemInput: {
11908
11908
  }[];
11909
11909
  qualityBar: string[];
11910
11910
  designMarkdown?: string | undefined;
11911
- evidenceStatus?: "captured" | "partial" | "inferred" | undefined;
11911
+ evidenceStatus?: "partial" | "captured" | "inferred" | undefined;
11912
11912
  risks?: string[] | undefined;
11913
11913
  };
11914
11914
  kind: "design_system";
@@ -12134,32 +12134,32 @@ export declare const startVariantsInput: {
12134
12134
  }, "strip", z.ZodTypeAny, {
12135
12135
  id: string;
12136
12136
  title: string;
12137
+ url?: string | undefined;
12137
12138
  image?: {
12138
12139
  hash: string;
12139
12140
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
12140
12141
  } | undefined;
12141
- url?: string | undefined;
12142
12142
  reason?: string | undefined;
12143
12143
  }, {
12144
12144
  id: string;
12145
12145
  title: string;
12146
- image?: unknown;
12147
12146
  url?: string | undefined;
12147
+ image?: unknown;
12148
12148
  reason?: string | undefined;
12149
12149
  }>, {
12150
12150
  id: string;
12151
12151
  title: string;
12152
+ url?: string | undefined;
12152
12153
  image?: {
12153
12154
  hash: string;
12154
12155
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
12155
12156
  } | undefined;
12156
- url?: string | undefined;
12157
12157
  reason?: string | undefined;
12158
12158
  }, {
12159
12159
  id: string;
12160
12160
  title: string;
12161
- image?: unknown;
12162
12161
  url?: string | undefined;
12162
+ image?: unknown;
12163
12163
  reason?: string | undefined;
12164
12164
  }>, "many">>;
12165
12165
  dataUrl: z.ZodString;
@@ -12174,11 +12174,11 @@ export declare const startVariantsInput: {
12174
12174
  references?: {
12175
12175
  id: string;
12176
12176
  title: string;
12177
+ url?: string | undefined;
12177
12178
  image?: {
12178
12179
  hash: string;
12179
12180
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
12180
12181
  } | undefined;
12181
- url?: string | undefined;
12182
12182
  reason?: string | undefined;
12183
12183
  }[] | undefined;
12184
12184
  filename?: string | undefined;
@@ -12190,8 +12190,8 @@ export declare const startVariantsInput: {
12190
12190
  references?: {
12191
12191
  id: string;
12192
12192
  title: string;
12193
- image?: unknown;
12194
12193
  url?: string | undefined;
12194
+ image?: unknown;
12195
12195
  reason?: string | undefined;
12196
12196
  }[] | undefined;
12197
12197
  filename?: string | undefined;
@@ -12230,32 +12230,32 @@ export declare const startVariantsInput: {
12230
12230
  }, "strip", z.ZodTypeAny, {
12231
12231
  id: string;
12232
12232
  title: string;
12233
+ url?: string | undefined;
12233
12234
  image?: {
12234
12235
  hash: string;
12235
12236
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
12236
12237
  } | undefined;
12237
- url?: string | undefined;
12238
12238
  reason?: string | undefined;
12239
12239
  }, {
12240
12240
  id: string;
12241
12241
  title: string;
12242
- image?: unknown;
12243
12242
  url?: string | undefined;
12243
+ image?: unknown;
12244
12244
  reason?: string | undefined;
12245
12245
  }>, {
12246
12246
  id: string;
12247
12247
  title: string;
12248
+ url?: string | undefined;
12248
12249
  image?: {
12249
12250
  hash: string;
12250
12251
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
12251
12252
  } | undefined;
12252
- url?: string | undefined;
12253
12253
  reason?: string | undefined;
12254
12254
  }, {
12255
12255
  id: string;
12256
12256
  title: string;
12257
- image?: unknown;
12258
12257
  url?: string | undefined;
12258
+ image?: unknown;
12259
12259
  reason?: string | undefined;
12260
12260
  }>, "many">>;
12261
12261
  content: z.ZodString;
@@ -12269,11 +12269,11 @@ export declare const startVariantsInput: {
12269
12269
  references?: {
12270
12270
  id: string;
12271
12271
  title: string;
12272
+ url?: string | undefined;
12272
12273
  image?: {
12273
12274
  hash: string;
12274
12275
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
12275
12276
  } | undefined;
12276
- url?: string | undefined;
12277
12277
  reason?: string | undefined;
12278
12278
  }[] | undefined;
12279
12279
  }, {
@@ -12284,8 +12284,8 @@ export declare const startVariantsInput: {
12284
12284
  references?: {
12285
12285
  id: string;
12286
12286
  title: string;
12287
- image?: unknown;
12288
12287
  url?: string | undefined;
12288
+ image?: unknown;
12289
12289
  reason?: string | undefined;
12290
12290
  }[] | undefined;
12291
12291
  }>]>, "many">>;