rivet-design 0.26.0 → 0.26.2

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 (96) hide show
  1. package/bin/rivet.js +13 -0
  2. package/dist/agent-variants/WorkerExecutorService.d.ts +0 -2
  3. package/dist/agent-variants/WorkerExecutorService.js +0 -18
  4. package/dist/agent-variants/WorktreeOrchestrator.testHelpers.js +0 -8
  5. package/dist/agent-variants/contracts.d.ts +1099 -4966
  6. package/dist/agent-variants/contracts.js +1 -121
  7. package/dist/agent-variants/index.d.ts +1 -1
  8. package/dist/agent-variants/variantsTelemetry.d.ts +0 -8
  9. package/dist/agent-variants/workItemInput.d.ts +464 -464
  10. package/dist/cli/commands/contextRequest.js +1 -1
  11. package/dist/cli/commands/guidanceReferences.d.ts +2 -2
  12. package/dist/cli/commands/guidanceVerifierPackage.d.ts +2 -2
  13. package/dist/cli/editorSession.d.ts +1 -13
  14. package/dist/cli/runtimeInterruption.d.ts +2 -16
  15. package/dist/config/pluginMetrics.js +0 -1
  16. package/dist/hosts/workerDefaults.d.ts +0 -11
  17. package/dist/hosts/workerDefaults.js +1 -30
  18. package/dist/index-core.d.ts +0 -1
  19. package/dist/index.js +1 -1
  20. package/dist/install/automaticCliUpdate.d.ts +1 -0
  21. package/dist/install/automaticCliUpdate.js +32 -22
  22. package/dist/install/channelCli.d.ts +1 -1
  23. package/dist/install/channelCli.js +11 -6
  24. package/dist/install/channelManager.d.ts +5 -2
  25. package/dist/install/globalBootstrap.d.ts +5 -3
  26. package/dist/install/globalBootstrap.js +21 -9
  27. package/dist/install/npmCommand.d.ts +15 -0
  28. package/dist/install/npmCommand.js +59 -0
  29. package/dist/routes/agentVariants.js +3 -14
  30. package/dist/routes/library/browserAccess.js +6 -2
  31. package/dist/routes/library/guidance.js +3 -1
  32. package/dist/routes/library/middleware.js +4 -4
  33. package/dist/routes/library/navigation.js +3 -1
  34. package/dist/routes/library/profiles.js +5 -5
  35. package/dist/routes/library/projects.js +17 -7
  36. package/dist/routes/library/referenceOnboarding.js +4 -2
  37. package/dist/routes/library/schemas.d.ts +2 -15
  38. package/dist/routes/telemetry.js +1 -1
  39. package/dist/routes/variantRequestSchema.d.ts +8 -8
  40. package/dist/routes/variantRequestSchema.js +7 -2
  41. package/dist/services/AuthService.d.ts +3 -56
  42. package/dist/services/AuthService.js +0 -28
  43. package/dist/services/ConfigManager.d.ts +0 -2
  44. package/dist/services/ConfigManager.js +0 -14
  45. package/dist/services/GuidanceVerifierRunner.js +13 -2
  46. package/dist/services/HubDiscovery.d.ts +1 -9
  47. package/dist/services/IntegrationsClient.d.ts +16 -16
  48. package/dist/services/MCPOnboardingTelemetry.d.ts +0 -14
  49. package/dist/services/MCPOnboardingTelemetry.js +0 -62
  50. package/dist/services/ProjectRegistry.d.ts +5 -24
  51. package/dist/services/TelemetryService.d.ts +1 -62
  52. package/dist/services/TelemetryService.js +0 -113
  53. package/dist/services/TreeStore.d.ts +0 -2
  54. package/dist/services/TreeStore.js +0 -24
  55. package/dist/services/profiles/DesignProfiles.d.ts +180 -125
  56. package/dist/services/profiles/ProfilePlanning.d.ts +38 -38
  57. package/dist/services/profiles/ReferenceReader.d.ts +14 -14
  58. package/dist/services/profiles/modelContract.js +4 -4
  59. package/dist/storage/library/ProjectPreviewCache.d.ts +1 -13
  60. package/dist/storage/profiles/ProfilePlans.d.ts +137 -137
  61. package/dist/storage/profiles/ProfileRecords.d.ts +62 -37
  62. package/dist/storage/profiles/planSchema.d.ts +40 -40
  63. package/dist/storage/profiles/schema.d.ts +16 -16
  64. package/dist/types/api-responses.d.ts +174 -0
  65. package/dist/types/api-responses.js +108 -0
  66. package/dist/types/cosmos-profile.d.ts +17 -105
  67. package/dist/types/cosmos.d.ts +48 -266
  68. package/dist/types/design-library.d.ts +230 -61
  69. package/dist/types/design-library.js +38 -1
  70. package/dist/types/design-profile.d.ts +220 -529
  71. package/dist/types/design-profile.js +5 -1
  72. package/dist/types/guidance-references.d.ts +68 -316
  73. package/dist/types/guidance-verifier.d.ts +103 -197
  74. package/dist/types/guidance-verifier.js +36 -13
  75. package/dist/types/guidance.d.ts +182 -1643
  76. package/dist/types/guidance.js +4 -1
  77. package/dist/types/project-library.d.ts +60 -30
  78. package/dist/types/project-library.js +32 -1
  79. package/dist/types/reference-connectors.d.ts +38 -162
  80. package/dist/types/reference-onboarding.d.ts +144 -878
  81. package/dist/types/reference-pages.d.ts +27 -139
  82. package/dist/types/x-bookmarks.d.ts +40 -296
  83. package/dist/utils/displayLocale.d.ts +0 -1
  84. package/dist/utils/displayLocale.js +1 -3
  85. package/dist/utils/skills/cli-guidance.d.ts +1 -1
  86. package/dist/utils/skills/cli-guidance.js +2 -2
  87. package/package.json +4 -4
  88. package/src/ui/dist/assets/LibraryEntry-92R_T-Xa.js +37 -0
  89. package/src/ui/dist/assets/main-D0UmAaUe.css +1 -0
  90. package/src/ui/dist/assets/main-DgEfJvYu.js +497 -0
  91. package/src/ui/dist/index.html +2 -2
  92. package/dist/types/change-types.d.ts +0 -66
  93. package/dist/types/change-types.js +0 -3
  94. package/src/ui/dist/assets/LibraryEntry-CFkd6v_O.js +0 -37
  95. package/src/ui/dist/assets/main-B_jie9r3.js +0 -439
  96. package/src/ui/dist/assets/main-W3oTuTTl.css +0 -1
@@ -37,6 +37,7 @@ declare const variantWorkItemInputSchemas: {
37
37
  path: string;
38
38
  id: string;
39
39
  transport: "file";
40
+ label?: string | undefined;
40
41
  mimeType?: string | undefined;
41
42
  references?: {
42
43
  title: string;
@@ -48,7 +49,6 @@ declare const variantWorkItemInputSchemas: {
48
49
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
49
50
  } | undefined;
50
51
  }[] | undefined;
51
- label?: string | undefined;
52
52
  userIntent?: string | undefined;
53
53
  originalFilename?: string | undefined;
54
54
  } | {
@@ -61,6 +61,7 @@ declare const variantWorkItemInputSchemas: {
61
61
  path: string;
62
62
  id: string;
63
63
  transport: "text";
64
+ label?: string | undefined;
64
65
  references?: {
65
66
  title: string;
66
67
  id: string;
@@ -71,7 +72,6 @@ declare const variantWorkItemInputSchemas: {
71
72
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
72
73
  } | undefined;
73
74
  }[] | undefined;
74
- label?: string | undefined;
75
75
  userIntent?: string | undefined;
76
76
  })[];
77
77
  rivetActions: {
@@ -87,8 +87,8 @@ declare const variantWorkItemInputSchemas: {
87
87
  sectionInventory: string[];
88
88
  visualObservations: string[];
89
89
  sourceRoles: {
90
- sourceId: string;
91
90
  role: "primary" | "inspiration" | "competitor";
91
+ sourceId: string;
92
92
  rationale?: string | undefined;
93
93
  }[];
94
94
  qualityBar: string[];
@@ -99,7 +99,7 @@ declare const variantWorkItemInputSchemas: {
99
99
  kind: "design_system";
100
100
  id: string;
101
101
  sourceIds: string[];
102
- producedBy: "browser" | "rivet" | "agent" | "skill";
102
+ producedBy: "browser" | "agent" | "rivet" | "skill";
103
103
  path?: string | undefined;
104
104
  actionId?: string | undefined;
105
105
  warnings?: string[] | undefined;
@@ -112,7 +112,7 @@ declare const variantWorkItemInputSchemas: {
112
112
  kind: "motion_guidance";
113
113
  id: string;
114
114
  sourceIds: string[];
115
- producedBy: "browser" | "rivet" | "agent" | "skill";
115
+ producedBy: "browser" | "agent" | "rivet" | "skill";
116
116
  path?: string | undefined;
117
117
  actionId?: string | undefined;
118
118
  warnings?: string[] | undefined;
@@ -123,8 +123,8 @@ declare const variantWorkItemInputSchemas: {
123
123
  id: string;
124
124
  originalFilename: string;
125
125
  sizeBytes: number;
126
- mimeType?: string | undefined;
127
126
  label?: string | undefined;
127
+ mimeType?: string | undefined;
128
128
  }[] | undefined;
129
129
  bindings?: ({
130
130
  kind: "global";
@@ -141,7 +141,7 @@ declare const variantWorkItemInputSchemas: {
141
141
  executionPlan?: {
142
142
  mode: "static_preview" | "vite_app";
143
143
  reason: string;
144
- confidence: "low" | "medium" | "high";
144
+ confidence: "high" | "medium" | "low";
145
145
  assetPlan?: {
146
146
  source: string;
147
147
  destination: string;
@@ -155,6 +155,7 @@ declare const variantWorkItemInputSchemas: {
155
155
  kind: "fresh";
156
156
  workspacePath: string;
157
157
  workspaceRoot: string;
158
+ framework?: "vite" | "remix" | "next" | "astro" | undefined;
158
159
  designContext?: ({
159
160
  kind: "slug";
160
161
  slug: string;
@@ -166,7 +167,7 @@ declare const variantWorkItemInputSchemas: {
166
167
  executionPlan?: {
167
168
  mode: "static_preview" | "vite_app";
168
169
  reason: string;
169
- confidence: "low" | "medium" | "high";
170
+ confidence: "high" | "medium" | "low";
170
171
  assetPlan?: {
171
172
  source: string;
172
173
  destination: string;
@@ -193,6 +194,7 @@ declare const variantWorkItemInputSchemas: {
193
194
  path: string;
194
195
  id: string;
195
196
  transport: "file";
197
+ label?: string | undefined;
196
198
  mimeType?: string | undefined;
197
199
  references?: {
198
200
  title: string;
@@ -204,7 +206,6 @@ declare const variantWorkItemInputSchemas: {
204
206
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
205
207
  } | undefined;
206
208
  }[] | undefined;
207
- label?: string | undefined;
208
209
  userIntent?: string | undefined;
209
210
  originalFilename?: string | undefined;
210
211
  } | {
@@ -217,6 +218,7 @@ declare const variantWorkItemInputSchemas: {
217
218
  path: string;
218
219
  id: string;
219
220
  transport: "text";
221
+ label?: string | undefined;
220
222
  references?: {
221
223
  title: string;
222
224
  id: string;
@@ -227,7 +229,6 @@ declare const variantWorkItemInputSchemas: {
227
229
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
228
230
  } | undefined;
229
231
  }[] | undefined;
230
- label?: string | undefined;
231
232
  userIntent?: string | undefined;
232
233
  })[];
233
234
  rivetActions: {
@@ -243,8 +244,8 @@ declare const variantWorkItemInputSchemas: {
243
244
  sectionInventory: string[];
244
245
  visualObservations: string[];
245
246
  sourceRoles: {
246
- sourceId: string;
247
247
  role: "primary" | "inspiration" | "competitor";
248
+ sourceId: string;
248
249
  rationale?: string | undefined;
249
250
  }[];
250
251
  qualityBar: string[];
@@ -255,7 +256,7 @@ declare const variantWorkItemInputSchemas: {
255
256
  kind: "design_system";
256
257
  id: string;
257
258
  sourceIds: string[];
258
- producedBy: "browser" | "rivet" | "agent" | "skill";
259
+ producedBy: "browser" | "agent" | "rivet" | "skill";
259
260
  path?: string | undefined;
260
261
  actionId?: string | undefined;
261
262
  warnings?: string[] | undefined;
@@ -268,7 +269,7 @@ declare const variantWorkItemInputSchemas: {
268
269
  kind: "motion_guidance";
269
270
  id: string;
270
271
  sourceIds: string[];
271
- producedBy: "browser" | "rivet" | "agent" | "skill";
272
+ producedBy: "browser" | "agent" | "rivet" | "skill";
272
273
  path?: string | undefined;
273
274
  actionId?: string | undefined;
274
275
  warnings?: string[] | undefined;
@@ -279,8 +280,8 @@ declare const variantWorkItemInputSchemas: {
279
280
  id: string;
280
281
  originalFilename: string;
281
282
  sizeBytes: number;
282
- mimeType?: string | undefined;
283
283
  label?: string | undefined;
284
+ mimeType?: string | undefined;
284
285
  }[] | undefined;
285
286
  bindings?: ({
286
287
  kind: "global";
@@ -297,7 +298,7 @@ declare const variantWorkItemInputSchemas: {
297
298
  executionPlan?: {
298
299
  mode: "static_preview" | "vite_app";
299
300
  reason: string;
300
- confidence: "low" | "medium" | "high";
301
+ confidence: "high" | "medium" | "low";
301
302
  assetPlan?: {
302
303
  source: string;
303
304
  destination: string;
@@ -307,7 +308,6 @@ declare const variantWorkItemInputSchemas: {
307
308
  userQuestion?: string | undefined;
308
309
  } | undefined;
309
310
  } | undefined;
310
- framework?: "vite" | "remix" | "next" | "astro" | undefined;
311
311
  assetSourceRoot?: string | undefined;
312
312
  }, z.ZodTypeDef, {
313
313
  kind: "existing";
@@ -338,6 +338,7 @@ declare const variantWorkItemInputSchemas: {
338
338
  path: string;
339
339
  id: string;
340
340
  transport: "file";
341
+ label?: string | undefined;
341
342
  mimeType?: string | undefined;
342
343
  references?: {
343
344
  title: string;
@@ -349,7 +350,6 @@ declare const variantWorkItemInputSchemas: {
349
350
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
350
351
  } | undefined;
351
352
  }[] | undefined;
352
- label?: string | undefined;
353
353
  userIntent?: string | undefined;
354
354
  originalFilename?: string | undefined;
355
355
  } | {
@@ -362,6 +362,7 @@ declare const variantWorkItemInputSchemas: {
362
362
  path: string;
363
363
  id: string;
364
364
  transport: "text";
365
+ label?: string | undefined;
365
366
  references?: {
366
367
  title: string;
367
368
  id: string;
@@ -372,7 +373,6 @@ declare const variantWorkItemInputSchemas: {
372
373
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
373
374
  } | undefined;
374
375
  }[] | undefined;
375
- label?: string | undefined;
376
376
  userIntent?: string | undefined;
377
377
  })[];
378
378
  rivetActions: {
@@ -388,8 +388,8 @@ declare const variantWorkItemInputSchemas: {
388
388
  sectionInventory: string[];
389
389
  visualObservations: string[];
390
390
  sourceRoles: {
391
- sourceId: string;
392
391
  role: "primary" | "inspiration" | "competitor";
392
+ sourceId: string;
393
393
  rationale?: string | undefined;
394
394
  }[];
395
395
  qualityBar: string[];
@@ -400,7 +400,7 @@ declare const variantWorkItemInputSchemas: {
400
400
  kind: "design_system";
401
401
  id: string;
402
402
  sourceIds: string[];
403
- producedBy: "browser" | "rivet" | "agent" | "skill";
403
+ producedBy: "browser" | "agent" | "rivet" | "skill";
404
404
  path?: string | undefined;
405
405
  actionId?: string | undefined;
406
406
  warnings?: string[] | undefined;
@@ -413,7 +413,7 @@ declare const variantWorkItemInputSchemas: {
413
413
  kind: "motion_guidance";
414
414
  id: string;
415
415
  sourceIds: string[];
416
- producedBy: "browser" | "rivet" | "agent" | "skill";
416
+ producedBy: "browser" | "agent" | "rivet" | "skill";
417
417
  path?: string | undefined;
418
418
  actionId?: string | undefined;
419
419
  warnings?: string[] | undefined;
@@ -424,8 +424,8 @@ declare const variantWorkItemInputSchemas: {
424
424
  id: string;
425
425
  originalFilename: string;
426
426
  sizeBytes: number;
427
- mimeType?: string | undefined;
428
427
  label?: string | undefined;
428
+ mimeType?: string | undefined;
429
429
  }[] | undefined;
430
430
  bindings?: ({
431
431
  kind: "global";
@@ -442,7 +442,7 @@ declare const variantWorkItemInputSchemas: {
442
442
  executionPlan?: {
443
443
  mode: "static_preview" | "vite_app";
444
444
  reason: string;
445
- confidence: "low" | "medium" | "high";
445
+ confidence: "high" | "medium" | "low";
446
446
  assetPlan?: {
447
447
  source: string;
448
448
  destination: string;
@@ -456,6 +456,7 @@ declare const variantWorkItemInputSchemas: {
456
456
  kind: "fresh";
457
457
  workspacePath: string;
458
458
  workspaceRoot: string;
459
+ framework?: "vite" | "remix" | "next" | "astro" | undefined;
459
460
  designContext?: ({
460
461
  kind: "slug";
461
462
  slug: string;
@@ -467,7 +468,7 @@ declare const variantWorkItemInputSchemas: {
467
468
  executionPlan?: {
468
469
  mode: "static_preview" | "vite_app";
469
470
  reason: string;
470
- confidence: "low" | "medium" | "high";
471
+ confidence: "high" | "medium" | "low";
471
472
  assetPlan?: {
472
473
  source: string;
473
474
  destination: string;
@@ -494,6 +495,7 @@ declare const variantWorkItemInputSchemas: {
494
495
  path: string;
495
496
  id: string;
496
497
  transport: "file";
498
+ label?: string | undefined;
497
499
  mimeType?: string | undefined;
498
500
  references?: {
499
501
  title: string;
@@ -505,7 +507,6 @@ declare const variantWorkItemInputSchemas: {
505
507
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
506
508
  } | undefined;
507
509
  }[] | undefined;
508
- label?: string | undefined;
509
510
  userIntent?: string | undefined;
510
511
  originalFilename?: string | undefined;
511
512
  } | {
@@ -518,6 +519,7 @@ declare const variantWorkItemInputSchemas: {
518
519
  path: string;
519
520
  id: string;
520
521
  transport: "text";
522
+ label?: string | undefined;
521
523
  references?: {
522
524
  title: string;
523
525
  id: string;
@@ -528,7 +530,6 @@ declare const variantWorkItemInputSchemas: {
528
530
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
529
531
  } | undefined;
530
532
  }[] | undefined;
531
- label?: string | undefined;
532
533
  userIntent?: string | undefined;
533
534
  })[];
534
535
  rivetActions: {
@@ -544,8 +545,8 @@ declare const variantWorkItemInputSchemas: {
544
545
  sectionInventory: string[];
545
546
  visualObservations: string[];
546
547
  sourceRoles: {
547
- sourceId: string;
548
548
  role: "primary" | "inspiration" | "competitor";
549
+ sourceId: string;
549
550
  rationale?: string | undefined;
550
551
  }[];
551
552
  qualityBar: string[];
@@ -556,7 +557,7 @@ declare const variantWorkItemInputSchemas: {
556
557
  kind: "design_system";
557
558
  id: string;
558
559
  sourceIds: string[];
559
- producedBy: "browser" | "rivet" | "agent" | "skill";
560
+ producedBy: "browser" | "agent" | "rivet" | "skill";
560
561
  path?: string | undefined;
561
562
  actionId?: string | undefined;
562
563
  warnings?: string[] | undefined;
@@ -569,7 +570,7 @@ declare const variantWorkItemInputSchemas: {
569
570
  kind: "motion_guidance";
570
571
  id: string;
571
572
  sourceIds: string[];
572
- producedBy: "browser" | "rivet" | "agent" | "skill";
573
+ producedBy: "browser" | "agent" | "rivet" | "skill";
573
574
  path?: string | undefined;
574
575
  actionId?: string | undefined;
575
576
  warnings?: string[] | undefined;
@@ -580,8 +581,8 @@ declare const variantWorkItemInputSchemas: {
580
581
  id: string;
581
582
  originalFilename: string;
582
583
  sizeBytes: number;
583
- mimeType?: string | undefined;
584
584
  label?: string | undefined;
585
+ mimeType?: string | undefined;
585
586
  }[] | undefined;
586
587
  bindings?: ({
587
588
  kind: "global";
@@ -598,7 +599,7 @@ declare const variantWorkItemInputSchemas: {
598
599
  executionPlan?: {
599
600
  mode: "static_preview" | "vite_app";
600
601
  reason: string;
601
- confidence: "low" | "medium" | "high";
602
+ confidence: "high" | "medium" | "low";
602
603
  assetPlan?: {
603
604
  source: string;
604
605
  destination: string;
@@ -608,7 +609,6 @@ declare const variantWorkItemInputSchemas: {
608
609
  userQuestion?: string | undefined;
609
610
  } | undefined;
610
611
  } | undefined;
611
- framework?: "vite" | "remix" | "next" | "astro" | undefined;
612
612
  assetSourceRoot?: string | undefined;
613
613
  }>;
614
614
  briefBody: z.ZodOptional<z.ZodString>;
@@ -616,29 +616,28 @@ declare const variantWorkItemInputSchemas: {
616
616
  visualReferenceUrl: z.ZodOptional<z.ZodString>;
617
617
  instruction: z.ZodOptional<z.ZodString>;
618
618
  guidance: z.ZodOptional<z.ZodArray<z.ZodType<{
619
- title: string;
620
619
  id: string;
620
+ title: string;
621
621
  markdown: string;
622
622
  attachments?: {
623
- path: string;
624
- source: string;
625
623
  hash: string;
626
624
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif";
627
625
  bytes: number;
628
626
  representation: "variant" | "image" | "video-cover" | "page";
627
+ source: string;
629
628
  alt: string;
630
- title?: string | undefined;
629
+ path: string;
631
630
  page?: number | undefined;
631
+ title?: string | undefined;
632
632
  }[] | undefined;
633
633
  references?: ({
634
- path: string;
635
634
  kind: "directory";
635
+ path: string;
636
636
  intent: string;
637
637
  } | {
638
- url: string;
639
638
  kind: "url" | "repository";
639
+ url: string;
640
640
  intent: string;
641
- digest?: string | undefined;
642
641
  revision?: string | undefined;
643
642
  files?: {
644
643
  name: string;
@@ -646,31 +645,31 @@ declare const variantWorkItemInputSchemas: {
646
645
  path?: string | undefined;
647
646
  sha256?: string | undefined;
648
647
  }[] | undefined;
648
+ digest?: string | undefined;
649
649
  })[] | undefined;
650
650
  }, z.ZodTypeDef, {
651
- title: string;
652
651
  id: string;
652
+ title: string;
653
653
  markdown: string;
654
654
  attachments?: {
655
- path: string;
656
- source: string;
657
655
  hash: string;
658
656
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif";
659
657
  bytes: number;
660
658
  representation: "variant" | "image" | "video-cover" | "page";
659
+ source: string;
661
660
  alt: string;
662
- title?: string | undefined;
661
+ path: string;
663
662
  page?: number | undefined;
663
+ title?: string | undefined;
664
664
  }[] | undefined;
665
665
  references?: ({
666
- path: string;
667
666
  kind: "directory";
667
+ path: string;
668
668
  intent: string;
669
669
  } | {
670
- url: string;
671
670
  kind: "url" | "repository";
671
+ url: string;
672
672
  intent: string;
673
- digest?: string | undefined;
674
673
  revision?: string | undefined;
675
674
  files?: {
676
675
  name: string;
@@ -678,6 +677,7 @@ declare const variantWorkItemInputSchemas: {
678
677
  path?: string | undefined;
679
678
  sha256?: string | undefined;
680
679
  }[] | undefined;
680
+ digest?: string | undefined;
681
681
  })[] | undefined;
682
682
  }>, "many">>;
683
683
  previewRoutes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
@@ -735,8 +735,8 @@ declare const variantWorkItemInputSchemas: {
735
735
  context: z.ZodOptional<z.ZodType<{
736
736
  brief: {
737
737
  label: string;
738
- briefId: string;
739
738
  body: string;
739
+ briefId: string;
740
740
  notes?: string | undefined;
741
741
  visualReferenceUrl?: string | undefined;
742
742
  };
@@ -755,6 +755,7 @@ declare const variantWorkItemInputSchemas: {
755
755
  path: string;
756
756
  id: string;
757
757
  transport: "file";
758
+ label?: string | undefined;
758
759
  mimeType?: string | undefined;
759
760
  references?: {
760
761
  title: string;
@@ -766,7 +767,6 @@ declare const variantWorkItemInputSchemas: {
766
767
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
767
768
  } | undefined;
768
769
  }[] | undefined;
769
- label?: string | undefined;
770
770
  userIntent?: string | undefined;
771
771
  originalFilename?: string | undefined;
772
772
  } | {
@@ -779,6 +779,7 @@ declare const variantWorkItemInputSchemas: {
779
779
  path: string;
780
780
  id: string;
781
781
  transport: "text";
782
+ label?: string | undefined;
782
783
  references?: {
783
784
  title: string;
784
785
  id: string;
@@ -789,7 +790,6 @@ declare const variantWorkItemInputSchemas: {
789
790
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
790
791
  } | undefined;
791
792
  }[] | undefined;
792
- label?: string | undefined;
793
793
  userIntent?: string | undefined;
794
794
  })[];
795
795
  rivetMetadata: ({
@@ -798,8 +798,8 @@ declare const variantWorkItemInputSchemas: {
798
798
  sectionInventory: string[];
799
799
  visualObservations: string[];
800
800
  sourceRoles: {
801
- sourceId: string;
802
801
  role: "primary" | "inspiration" | "competitor";
802
+ sourceId: string;
803
803
  rationale?: string | undefined;
804
804
  }[];
805
805
  qualityBar: string[];
@@ -810,7 +810,7 @@ declare const variantWorkItemInputSchemas: {
810
810
  kind: "design_system";
811
811
  id: string;
812
812
  sourceIds: string[];
813
- producedBy: "browser" | "rivet" | "agent" | "skill";
813
+ producedBy: "browser" | "agent" | "rivet" | "skill";
814
814
  path?: string | undefined;
815
815
  actionId?: string | undefined;
816
816
  warnings?: string[] | undefined;
@@ -823,7 +823,7 @@ declare const variantWorkItemInputSchemas: {
823
823
  kind: "motion_guidance";
824
824
  id: string;
825
825
  sourceIds: string[];
826
- producedBy: "browser" | "rivet" | "agent" | "skill";
826
+ producedBy: "browser" | "agent" | "rivet" | "skill";
827
827
  path?: string | undefined;
828
828
  actionId?: string | undefined;
829
829
  warnings?: string[] | undefined;
@@ -844,15 +844,15 @@ declare const variantWorkItemInputSchemas: {
844
844
  id: string;
845
845
  originalFilename: string;
846
846
  sizeBytes: number;
847
- mimeType?: string | undefined;
848
847
  label?: string | undefined;
848
+ mimeType?: string | undefined;
849
849
  }[] | undefined;
850
850
  executionMode?: "static_preview" | "vite_app" | undefined;
851
851
  }, z.ZodTypeDef, {
852
852
  brief: {
853
853
  label: string;
854
- briefId: string;
855
854
  body: string;
855
+ briefId: string;
856
856
  notes?: string | undefined;
857
857
  visualReferenceUrl?: string | undefined;
858
858
  };
@@ -871,6 +871,7 @@ declare const variantWorkItemInputSchemas: {
871
871
  path: string;
872
872
  id: string;
873
873
  transport: "file";
874
+ label?: string | undefined;
874
875
  mimeType?: string | undefined;
875
876
  references?: {
876
877
  title: string;
@@ -882,7 +883,6 @@ declare const variantWorkItemInputSchemas: {
882
883
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
883
884
  } | undefined;
884
885
  }[] | undefined;
885
- label?: string | undefined;
886
886
  userIntent?: string | undefined;
887
887
  originalFilename?: string | undefined;
888
888
  } | {
@@ -895,6 +895,7 @@ declare const variantWorkItemInputSchemas: {
895
895
  path: string;
896
896
  id: string;
897
897
  transport: "text";
898
+ label?: string | undefined;
898
899
  references?: {
899
900
  title: string;
900
901
  id: string;
@@ -905,7 +906,6 @@ declare const variantWorkItemInputSchemas: {
905
906
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
906
907
  } | undefined;
907
908
  }[] | undefined;
908
- label?: string | undefined;
909
909
  userIntent?: string | undefined;
910
910
  })[];
911
911
  rivetMetadata: ({
@@ -914,8 +914,8 @@ declare const variantWorkItemInputSchemas: {
914
914
  sectionInventory: string[];
915
915
  visualObservations: string[];
916
916
  sourceRoles: {
917
- sourceId: string;
918
917
  role: "primary" | "inspiration" | "competitor";
918
+ sourceId: string;
919
919
  rationale?: string | undefined;
920
920
  }[];
921
921
  qualityBar: string[];
@@ -926,7 +926,7 @@ declare const variantWorkItemInputSchemas: {
926
926
  kind: "design_system";
927
927
  id: string;
928
928
  sourceIds: string[];
929
- producedBy: "browser" | "rivet" | "agent" | "skill";
929
+ producedBy: "browser" | "agent" | "rivet" | "skill";
930
930
  path?: string | undefined;
931
931
  actionId?: string | undefined;
932
932
  warnings?: string[] | undefined;
@@ -939,7 +939,7 @@ declare const variantWorkItemInputSchemas: {
939
939
  kind: "motion_guidance";
940
940
  id: string;
941
941
  sourceIds: string[];
942
- producedBy: "browser" | "rivet" | "agent" | "skill";
942
+ producedBy: "browser" | "agent" | "rivet" | "skill";
943
943
  path?: string | undefined;
944
944
  actionId?: string | undefined;
945
945
  warnings?: string[] | undefined;
@@ -960,8 +960,8 @@ declare const variantWorkItemInputSchemas: {
960
960
  id: string;
961
961
  originalFilename: string;
962
962
  sizeBytes: number;
963
- mimeType?: string | undefined;
964
963
  label?: string | undefined;
964
+ mimeType?: string | undefined;
965
965
  }[] | undefined;
966
966
  executionMode?: "static_preview" | "vite_app" | undefined;
967
967
  }>>;
@@ -1015,6 +1015,7 @@ declare const variantWorkItemInputSchemas: {
1015
1015
  path: string;
1016
1016
  id: string;
1017
1017
  transport: "file";
1018
+ label?: string | undefined;
1018
1019
  mimeType?: string | undefined;
1019
1020
  references?: {
1020
1021
  title: string;
@@ -1026,7 +1027,6 @@ declare const variantWorkItemInputSchemas: {
1026
1027
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
1027
1028
  } | undefined;
1028
1029
  }[] | undefined;
1029
- label?: string | undefined;
1030
1030
  userIntent?: string | undefined;
1031
1031
  originalFilename?: string | undefined;
1032
1032
  } | {
@@ -1039,6 +1039,7 @@ declare const variantWorkItemInputSchemas: {
1039
1039
  path: string;
1040
1040
  id: string;
1041
1041
  transport: "text";
1042
+ label?: string | undefined;
1042
1043
  references?: {
1043
1044
  title: string;
1044
1045
  id: string;
@@ -1049,7 +1050,6 @@ declare const variantWorkItemInputSchemas: {
1049
1050
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
1050
1051
  } | undefined;
1051
1052
  }[] | undefined;
1052
- label?: string | undefined;
1053
1053
  userIntent?: string | undefined;
1054
1054
  })[];
1055
1055
  rivetActions: {
@@ -1065,8 +1065,8 @@ declare const variantWorkItemInputSchemas: {
1065
1065
  sectionInventory: string[];
1066
1066
  visualObservations: string[];
1067
1067
  sourceRoles: {
1068
- sourceId: string;
1069
1068
  role: "primary" | "inspiration" | "competitor";
1069
+ sourceId: string;
1070
1070
  rationale?: string | undefined;
1071
1071
  }[];
1072
1072
  qualityBar: string[];
@@ -1077,7 +1077,7 @@ declare const variantWorkItemInputSchemas: {
1077
1077
  kind: "design_system";
1078
1078
  id: string;
1079
1079
  sourceIds: string[];
1080
- producedBy: "browser" | "rivet" | "agent" | "skill";
1080
+ producedBy: "browser" | "agent" | "rivet" | "skill";
1081
1081
  path?: string | undefined;
1082
1082
  actionId?: string | undefined;
1083
1083
  warnings?: string[] | undefined;
@@ -1090,7 +1090,7 @@ declare const variantWorkItemInputSchemas: {
1090
1090
  kind: "motion_guidance";
1091
1091
  id: string;
1092
1092
  sourceIds: string[];
1093
- producedBy: "browser" | "rivet" | "agent" | "skill";
1093
+ producedBy: "browser" | "agent" | "rivet" | "skill";
1094
1094
  path?: string | undefined;
1095
1095
  actionId?: string | undefined;
1096
1096
  warnings?: string[] | undefined;
@@ -1101,8 +1101,8 @@ declare const variantWorkItemInputSchemas: {
1101
1101
  id: string;
1102
1102
  originalFilename: string;
1103
1103
  sizeBytes: number;
1104
- mimeType?: string | undefined;
1105
1104
  label?: string | undefined;
1105
+ mimeType?: string | undefined;
1106
1106
  }[] | undefined;
1107
1107
  bindings?: ({
1108
1108
  kind: "global";
@@ -1119,7 +1119,7 @@ declare const variantWorkItemInputSchemas: {
1119
1119
  executionPlan?: {
1120
1120
  mode: "static_preview" | "vite_app";
1121
1121
  reason: string;
1122
- confidence: "low" | "medium" | "high";
1122
+ confidence: "high" | "medium" | "low";
1123
1123
  assetPlan?: {
1124
1124
  source: string;
1125
1125
  destination: string;
@@ -1133,6 +1133,7 @@ declare const variantWorkItemInputSchemas: {
1133
1133
  kind: "fresh";
1134
1134
  workspacePath: string;
1135
1135
  workspaceRoot: string;
1136
+ framework?: "vite" | "remix" | "next" | "astro" | undefined;
1136
1137
  designContext?: ({
1137
1138
  kind: "slug";
1138
1139
  slug: string;
@@ -1144,7 +1145,7 @@ declare const variantWorkItemInputSchemas: {
1144
1145
  executionPlan?: {
1145
1146
  mode: "static_preview" | "vite_app";
1146
1147
  reason: string;
1147
- confidence: "low" | "medium" | "high";
1148
+ confidence: "high" | "medium" | "low";
1148
1149
  assetPlan?: {
1149
1150
  source: string;
1150
1151
  destination: string;
@@ -1171,6 +1172,7 @@ declare const variantWorkItemInputSchemas: {
1171
1172
  path: string;
1172
1173
  id: string;
1173
1174
  transport: "file";
1175
+ label?: string | undefined;
1174
1176
  mimeType?: string | undefined;
1175
1177
  references?: {
1176
1178
  title: string;
@@ -1182,7 +1184,6 @@ declare const variantWorkItemInputSchemas: {
1182
1184
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
1183
1185
  } | undefined;
1184
1186
  }[] | undefined;
1185
- label?: string | undefined;
1186
1187
  userIntent?: string | undefined;
1187
1188
  originalFilename?: string | undefined;
1188
1189
  } | {
@@ -1195,6 +1196,7 @@ declare const variantWorkItemInputSchemas: {
1195
1196
  path: string;
1196
1197
  id: string;
1197
1198
  transport: "text";
1199
+ label?: string | undefined;
1198
1200
  references?: {
1199
1201
  title: string;
1200
1202
  id: string;
@@ -1205,7 +1207,6 @@ declare const variantWorkItemInputSchemas: {
1205
1207
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
1206
1208
  } | undefined;
1207
1209
  }[] | undefined;
1208
- label?: string | undefined;
1209
1210
  userIntent?: string | undefined;
1210
1211
  })[];
1211
1212
  rivetActions: {
@@ -1221,8 +1222,8 @@ declare const variantWorkItemInputSchemas: {
1221
1222
  sectionInventory: string[];
1222
1223
  visualObservations: string[];
1223
1224
  sourceRoles: {
1224
- sourceId: string;
1225
1225
  role: "primary" | "inspiration" | "competitor";
1226
+ sourceId: string;
1226
1227
  rationale?: string | undefined;
1227
1228
  }[];
1228
1229
  qualityBar: string[];
@@ -1233,7 +1234,7 @@ declare const variantWorkItemInputSchemas: {
1233
1234
  kind: "design_system";
1234
1235
  id: string;
1235
1236
  sourceIds: string[];
1236
- producedBy: "browser" | "rivet" | "agent" | "skill";
1237
+ producedBy: "browser" | "agent" | "rivet" | "skill";
1237
1238
  path?: string | undefined;
1238
1239
  actionId?: string | undefined;
1239
1240
  warnings?: string[] | undefined;
@@ -1246,7 +1247,7 @@ declare const variantWorkItemInputSchemas: {
1246
1247
  kind: "motion_guidance";
1247
1248
  id: string;
1248
1249
  sourceIds: string[];
1249
- producedBy: "browser" | "rivet" | "agent" | "skill";
1250
+ producedBy: "browser" | "agent" | "rivet" | "skill";
1250
1251
  path?: string | undefined;
1251
1252
  actionId?: string | undefined;
1252
1253
  warnings?: string[] | undefined;
@@ -1257,8 +1258,8 @@ declare const variantWorkItemInputSchemas: {
1257
1258
  id: string;
1258
1259
  originalFilename: string;
1259
1260
  sizeBytes: number;
1260
- mimeType?: string | undefined;
1261
1261
  label?: string | undefined;
1262
+ mimeType?: string | undefined;
1262
1263
  }[] | undefined;
1263
1264
  bindings?: ({
1264
1265
  kind: "global";
@@ -1275,7 +1276,7 @@ declare const variantWorkItemInputSchemas: {
1275
1276
  executionPlan?: {
1276
1277
  mode: "static_preview" | "vite_app";
1277
1278
  reason: string;
1278
- confidence: "low" | "medium" | "high";
1279
+ confidence: "high" | "medium" | "low";
1279
1280
  assetPlan?: {
1280
1281
  source: string;
1281
1282
  destination: string;
@@ -1285,16 +1286,32 @@ declare const variantWorkItemInputSchemas: {
1285
1286
  userQuestion?: string | undefined;
1286
1287
  } | undefined;
1287
1288
  } | undefined;
1288
- framework?: "vite" | "remix" | "next" | "astro" | undefined;
1289
1289
  assetSourceRoot?: string | undefined;
1290
1290
  };
1291
1291
  briefId: string;
1292
1292
  briefLabel: string;
1293
+ target?: {
1294
+ type: "route" | "file" | "element";
1295
+ ref: string;
1296
+ } | undefined;
1297
+ references?: {
1298
+ title: string;
1299
+ id: string;
1300
+ reason?: string | undefined;
1301
+ url?: string | undefined;
1302
+ image?: {
1303
+ hash: string;
1304
+ mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
1305
+ } | undefined;
1306
+ }[] | undefined;
1307
+ variantId?: string | undefined;
1308
+ requestId?: string | undefined;
1309
+ instruction?: string | undefined;
1293
1310
  context?: {
1294
1311
  brief: {
1295
1312
  label: string;
1296
- briefId: string;
1297
1313
  body: string;
1314
+ briefId: string;
1298
1315
  notes?: string | undefined;
1299
1316
  visualReferenceUrl?: string | undefined;
1300
1317
  };
@@ -1313,6 +1330,7 @@ declare const variantWorkItemInputSchemas: {
1313
1330
  path: string;
1314
1331
  id: string;
1315
1332
  transport: "file";
1333
+ label?: string | undefined;
1316
1334
  mimeType?: string | undefined;
1317
1335
  references?: {
1318
1336
  title: string;
@@ -1324,7 +1342,6 @@ declare const variantWorkItemInputSchemas: {
1324
1342
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
1325
1343
  } | undefined;
1326
1344
  }[] | undefined;
1327
- label?: string | undefined;
1328
1345
  userIntent?: string | undefined;
1329
1346
  originalFilename?: string | undefined;
1330
1347
  } | {
@@ -1337,6 +1354,7 @@ declare const variantWorkItemInputSchemas: {
1337
1354
  path: string;
1338
1355
  id: string;
1339
1356
  transport: "text";
1357
+ label?: string | undefined;
1340
1358
  references?: {
1341
1359
  title: string;
1342
1360
  id: string;
@@ -1347,7 +1365,6 @@ declare const variantWorkItemInputSchemas: {
1347
1365
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
1348
1366
  } | undefined;
1349
1367
  }[] | undefined;
1350
- label?: string | undefined;
1351
1368
  userIntent?: string | undefined;
1352
1369
  })[];
1353
1370
  rivetMetadata: ({
@@ -1356,8 +1373,8 @@ declare const variantWorkItemInputSchemas: {
1356
1373
  sectionInventory: string[];
1357
1374
  visualObservations: string[];
1358
1375
  sourceRoles: {
1359
- sourceId: string;
1360
1376
  role: "primary" | "inspiration" | "competitor";
1377
+ sourceId: string;
1361
1378
  rationale?: string | undefined;
1362
1379
  }[];
1363
1380
  qualityBar: string[];
@@ -1368,7 +1385,7 @@ declare const variantWorkItemInputSchemas: {
1368
1385
  kind: "design_system";
1369
1386
  id: string;
1370
1387
  sourceIds: string[];
1371
- producedBy: "browser" | "rivet" | "agent" | "skill";
1388
+ producedBy: "browser" | "agent" | "rivet" | "skill";
1372
1389
  path?: string | undefined;
1373
1390
  actionId?: string | undefined;
1374
1391
  warnings?: string[] | undefined;
@@ -1381,7 +1398,7 @@ declare const variantWorkItemInputSchemas: {
1381
1398
  kind: "motion_guidance";
1382
1399
  id: string;
1383
1400
  sourceIds: string[];
1384
- producedBy: "browser" | "rivet" | "agent" | "skill";
1401
+ producedBy: "browser" | "agent" | "rivet" | "skill";
1385
1402
  path?: string | undefined;
1386
1403
  actionId?: string | undefined;
1387
1404
  warnings?: string[] | undefined;
@@ -1402,56 +1419,38 @@ declare const variantWorkItemInputSchemas: {
1402
1419
  id: string;
1403
1420
  originalFilename: string;
1404
1421
  sizeBytes: number;
1405
- mimeType?: string | undefined;
1406
1422
  label?: string | undefined;
1423
+ mimeType?: string | undefined;
1407
1424
  }[] | undefined;
1408
1425
  executionMode?: "static_preview" | "vite_app" | undefined;
1409
1426
  } | undefined;
1410
- target?: {
1411
- type: "route" | "file" | "element";
1412
- ref: string;
1413
- } | undefined;
1414
- references?: {
1415
- title: string;
1416
- id: string;
1417
- reason?: string | undefined;
1418
- url?: string | undefined;
1419
- image?: {
1420
- hash: string;
1421
- mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
1422
- } | undefined;
1423
- }[] | undefined;
1424
- variantId?: string | undefined;
1425
- requestId?: string | undefined;
1426
- instruction?: string | undefined;
1427
1427
  workerSelection?: WorkerSelection | undefined;
1428
1428
  briefBody?: string | undefined;
1429
1429
  briefNotes?: string | undefined;
1430
1430
  visualReferenceUrl?: string | undefined;
1431
1431
  guidance?: {
1432
- title: string;
1433
1432
  id: string;
1433
+ title: string;
1434
1434
  markdown: string;
1435
1435
  attachments?: {
1436
- path: string;
1437
- source: string;
1438
1436
  hash: string;
1439
1437
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif";
1440
1438
  bytes: number;
1441
1439
  representation: "variant" | "image" | "video-cover" | "page";
1440
+ source: string;
1442
1441
  alt: string;
1443
- title?: string | undefined;
1442
+ path: string;
1444
1443
  page?: number | undefined;
1444
+ title?: string | undefined;
1445
1445
  }[] | undefined;
1446
1446
  references?: ({
1447
- path: string;
1448
1447
  kind: "directory";
1448
+ path: string;
1449
1449
  intent: string;
1450
1450
  } | {
1451
- url: string;
1452
1451
  kind: "url" | "repository";
1452
+ url: string;
1453
1453
  intent: string;
1454
- digest?: string | undefined;
1455
1454
  revision?: string | undefined;
1456
1455
  files?: {
1457
1456
  name: string;
@@ -1459,6 +1458,7 @@ declare const variantWorkItemInputSchemas: {
1459
1458
  path?: string | undefined;
1460
1459
  sha256?: string | undefined;
1461
1460
  }[] | undefined;
1461
+ digest?: string | undefined;
1462
1462
  })[] | undefined;
1463
1463
  }[] | undefined;
1464
1464
  previewRoutes?: string[] | undefined;
@@ -1469,7 +1469,7 @@ declare const variantWorkItemInputSchemas: {
1469
1469
  currentHtml?: string | undefined;
1470
1470
  targetElement?: StaticPreviewTargetElement | undefined;
1471
1471
  relevantFiles?: string[] | undefined;
1472
- fidelity?: "low" | "medium" | "high" | undefined;
1472
+ fidelity?: "high" | "medium" | "low" | undefined;
1473
1473
  designContextEntry?: {
1474
1474
  kind: "slug";
1475
1475
  slug: string;
@@ -1515,6 +1515,7 @@ declare const variantWorkItemInputSchemas: {
1515
1515
  path: string;
1516
1516
  id: string;
1517
1517
  transport: "file";
1518
+ label?: string | undefined;
1518
1519
  mimeType?: string | undefined;
1519
1520
  references?: {
1520
1521
  title: string;
@@ -1526,7 +1527,6 @@ declare const variantWorkItemInputSchemas: {
1526
1527
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
1527
1528
  } | undefined;
1528
1529
  }[] | undefined;
1529
- label?: string | undefined;
1530
1530
  userIntent?: string | undefined;
1531
1531
  originalFilename?: string | undefined;
1532
1532
  } | {
@@ -1539,6 +1539,7 @@ declare const variantWorkItemInputSchemas: {
1539
1539
  path: string;
1540
1540
  id: string;
1541
1541
  transport: "text";
1542
+ label?: string | undefined;
1542
1543
  references?: {
1543
1544
  title: string;
1544
1545
  id: string;
@@ -1549,7 +1550,6 @@ declare const variantWorkItemInputSchemas: {
1549
1550
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
1550
1551
  } | undefined;
1551
1552
  }[] | undefined;
1552
- label?: string | undefined;
1553
1553
  userIntent?: string | undefined;
1554
1554
  })[];
1555
1555
  rivetActions: {
@@ -1565,8 +1565,8 @@ declare const variantWorkItemInputSchemas: {
1565
1565
  sectionInventory: string[];
1566
1566
  visualObservations: string[];
1567
1567
  sourceRoles: {
1568
- sourceId: string;
1569
1568
  role: "primary" | "inspiration" | "competitor";
1569
+ sourceId: string;
1570
1570
  rationale?: string | undefined;
1571
1571
  }[];
1572
1572
  qualityBar: string[];
@@ -1577,7 +1577,7 @@ declare const variantWorkItemInputSchemas: {
1577
1577
  kind: "design_system";
1578
1578
  id: string;
1579
1579
  sourceIds: string[];
1580
- producedBy: "browser" | "rivet" | "agent" | "skill";
1580
+ producedBy: "browser" | "agent" | "rivet" | "skill";
1581
1581
  path?: string | undefined;
1582
1582
  actionId?: string | undefined;
1583
1583
  warnings?: string[] | undefined;
@@ -1590,7 +1590,7 @@ declare const variantWorkItemInputSchemas: {
1590
1590
  kind: "motion_guidance";
1591
1591
  id: string;
1592
1592
  sourceIds: string[];
1593
- producedBy: "browser" | "rivet" | "agent" | "skill";
1593
+ producedBy: "browser" | "agent" | "rivet" | "skill";
1594
1594
  path?: string | undefined;
1595
1595
  actionId?: string | undefined;
1596
1596
  warnings?: string[] | undefined;
@@ -1601,8 +1601,8 @@ declare const variantWorkItemInputSchemas: {
1601
1601
  id: string;
1602
1602
  originalFilename: string;
1603
1603
  sizeBytes: number;
1604
- mimeType?: string | undefined;
1605
1604
  label?: string | undefined;
1605
+ mimeType?: string | undefined;
1606
1606
  }[] | undefined;
1607
1607
  bindings?: ({
1608
1608
  kind: "global";
@@ -1619,7 +1619,7 @@ declare const variantWorkItemInputSchemas: {
1619
1619
  executionPlan?: {
1620
1620
  mode: "static_preview" | "vite_app";
1621
1621
  reason: string;
1622
- confidence: "low" | "medium" | "high";
1622
+ confidence: "high" | "medium" | "low";
1623
1623
  assetPlan?: {
1624
1624
  source: string;
1625
1625
  destination: string;
@@ -1633,6 +1633,7 @@ declare const variantWorkItemInputSchemas: {
1633
1633
  kind: "fresh";
1634
1634
  workspacePath: string;
1635
1635
  workspaceRoot: string;
1636
+ framework?: "vite" | "remix" | "next" | "astro" | undefined;
1636
1637
  designContext?: ({
1637
1638
  kind: "slug";
1638
1639
  slug: string;
@@ -1644,7 +1645,7 @@ declare const variantWorkItemInputSchemas: {
1644
1645
  executionPlan?: {
1645
1646
  mode: "static_preview" | "vite_app";
1646
1647
  reason: string;
1647
- confidence: "low" | "medium" | "high";
1648
+ confidence: "high" | "medium" | "low";
1648
1649
  assetPlan?: {
1649
1650
  source: string;
1650
1651
  destination: string;
@@ -1671,6 +1672,7 @@ declare const variantWorkItemInputSchemas: {
1671
1672
  path: string;
1672
1673
  id: string;
1673
1674
  transport: "file";
1675
+ label?: string | undefined;
1674
1676
  mimeType?: string | undefined;
1675
1677
  references?: {
1676
1678
  title: string;
@@ -1682,7 +1684,6 @@ declare const variantWorkItemInputSchemas: {
1682
1684
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
1683
1685
  } | undefined;
1684
1686
  }[] | undefined;
1685
- label?: string | undefined;
1686
1687
  userIntent?: string | undefined;
1687
1688
  originalFilename?: string | undefined;
1688
1689
  } | {
@@ -1695,6 +1696,7 @@ declare const variantWorkItemInputSchemas: {
1695
1696
  path: string;
1696
1697
  id: string;
1697
1698
  transport: "text";
1699
+ label?: string | undefined;
1698
1700
  references?: {
1699
1701
  title: string;
1700
1702
  id: string;
@@ -1705,7 +1707,6 @@ declare const variantWorkItemInputSchemas: {
1705
1707
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
1706
1708
  } | undefined;
1707
1709
  }[] | undefined;
1708
- label?: string | undefined;
1709
1710
  userIntent?: string | undefined;
1710
1711
  })[];
1711
1712
  rivetActions: {
@@ -1721,8 +1722,8 @@ declare const variantWorkItemInputSchemas: {
1721
1722
  sectionInventory: string[];
1722
1723
  visualObservations: string[];
1723
1724
  sourceRoles: {
1724
- sourceId: string;
1725
1725
  role: "primary" | "inspiration" | "competitor";
1726
+ sourceId: string;
1726
1727
  rationale?: string | undefined;
1727
1728
  }[];
1728
1729
  qualityBar: string[];
@@ -1733,7 +1734,7 @@ declare const variantWorkItemInputSchemas: {
1733
1734
  kind: "design_system";
1734
1735
  id: string;
1735
1736
  sourceIds: string[];
1736
- producedBy: "browser" | "rivet" | "agent" | "skill";
1737
+ producedBy: "browser" | "agent" | "rivet" | "skill";
1737
1738
  path?: string | undefined;
1738
1739
  actionId?: string | undefined;
1739
1740
  warnings?: string[] | undefined;
@@ -1746,7 +1747,7 @@ declare const variantWorkItemInputSchemas: {
1746
1747
  kind: "motion_guidance";
1747
1748
  id: string;
1748
1749
  sourceIds: string[];
1749
- producedBy: "browser" | "rivet" | "agent" | "skill";
1750
+ producedBy: "browser" | "agent" | "rivet" | "skill";
1750
1751
  path?: string | undefined;
1751
1752
  actionId?: string | undefined;
1752
1753
  warnings?: string[] | undefined;
@@ -1757,8 +1758,8 @@ declare const variantWorkItemInputSchemas: {
1757
1758
  id: string;
1758
1759
  originalFilename: string;
1759
1760
  sizeBytes: number;
1760
- mimeType?: string | undefined;
1761
1761
  label?: string | undefined;
1762
+ mimeType?: string | undefined;
1762
1763
  }[] | undefined;
1763
1764
  bindings?: ({
1764
1765
  kind: "global";
@@ -1775,7 +1776,7 @@ declare const variantWorkItemInputSchemas: {
1775
1776
  executionPlan?: {
1776
1777
  mode: "static_preview" | "vite_app";
1777
1778
  reason: string;
1778
- confidence: "low" | "medium" | "high";
1779
+ confidence: "high" | "medium" | "low";
1779
1780
  assetPlan?: {
1780
1781
  source: string;
1781
1782
  destination: string;
@@ -1785,16 +1786,32 @@ declare const variantWorkItemInputSchemas: {
1785
1786
  userQuestion?: string | undefined;
1786
1787
  } | undefined;
1787
1788
  } | undefined;
1788
- framework?: "vite" | "remix" | "next" | "astro" | undefined;
1789
1789
  assetSourceRoot?: string | undefined;
1790
1790
  };
1791
1791
  briefId: string;
1792
1792
  briefLabel: string;
1793
+ target?: {
1794
+ type: "route" | "file" | "element";
1795
+ ref: string;
1796
+ } | undefined;
1797
+ references?: {
1798
+ title: string;
1799
+ id: string;
1800
+ reason?: string | undefined;
1801
+ url?: string | undefined;
1802
+ image?: {
1803
+ hash: string;
1804
+ mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
1805
+ } | undefined;
1806
+ }[] | undefined;
1807
+ variantId?: string | undefined;
1808
+ requestId?: string | undefined;
1809
+ instruction?: string | undefined;
1793
1810
  context?: {
1794
1811
  brief: {
1795
1812
  label: string;
1796
- briefId: string;
1797
1813
  body: string;
1814
+ briefId: string;
1798
1815
  notes?: string | undefined;
1799
1816
  visualReferenceUrl?: string | undefined;
1800
1817
  };
@@ -1813,6 +1830,7 @@ declare const variantWorkItemInputSchemas: {
1813
1830
  path: string;
1814
1831
  id: string;
1815
1832
  transport: "file";
1833
+ label?: string | undefined;
1816
1834
  mimeType?: string | undefined;
1817
1835
  references?: {
1818
1836
  title: string;
@@ -1824,7 +1842,6 @@ declare const variantWorkItemInputSchemas: {
1824
1842
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
1825
1843
  } | undefined;
1826
1844
  }[] | undefined;
1827
- label?: string | undefined;
1828
1845
  userIntent?: string | undefined;
1829
1846
  originalFilename?: string | undefined;
1830
1847
  } | {
@@ -1837,6 +1854,7 @@ declare const variantWorkItemInputSchemas: {
1837
1854
  path: string;
1838
1855
  id: string;
1839
1856
  transport: "text";
1857
+ label?: string | undefined;
1840
1858
  references?: {
1841
1859
  title: string;
1842
1860
  id: string;
@@ -1847,7 +1865,6 @@ declare const variantWorkItemInputSchemas: {
1847
1865
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
1848
1866
  } | undefined;
1849
1867
  }[] | undefined;
1850
- label?: string | undefined;
1851
1868
  userIntent?: string | undefined;
1852
1869
  })[];
1853
1870
  rivetMetadata: ({
@@ -1856,8 +1873,8 @@ declare const variantWorkItemInputSchemas: {
1856
1873
  sectionInventory: string[];
1857
1874
  visualObservations: string[];
1858
1875
  sourceRoles: {
1859
- sourceId: string;
1860
1876
  role: "primary" | "inspiration" | "competitor";
1877
+ sourceId: string;
1861
1878
  rationale?: string | undefined;
1862
1879
  }[];
1863
1880
  qualityBar: string[];
@@ -1868,7 +1885,7 @@ declare const variantWorkItemInputSchemas: {
1868
1885
  kind: "design_system";
1869
1886
  id: string;
1870
1887
  sourceIds: string[];
1871
- producedBy: "browser" | "rivet" | "agent" | "skill";
1888
+ producedBy: "browser" | "agent" | "rivet" | "skill";
1872
1889
  path?: string | undefined;
1873
1890
  actionId?: string | undefined;
1874
1891
  warnings?: string[] | undefined;
@@ -1881,7 +1898,7 @@ declare const variantWorkItemInputSchemas: {
1881
1898
  kind: "motion_guidance";
1882
1899
  id: string;
1883
1900
  sourceIds: string[];
1884
- producedBy: "browser" | "rivet" | "agent" | "skill";
1901
+ producedBy: "browser" | "agent" | "rivet" | "skill";
1885
1902
  path?: string | undefined;
1886
1903
  actionId?: string | undefined;
1887
1904
  warnings?: string[] | undefined;
@@ -1902,56 +1919,38 @@ declare const variantWorkItemInputSchemas: {
1902
1919
  id: string;
1903
1920
  originalFilename: string;
1904
1921
  sizeBytes: number;
1905
- mimeType?: string | undefined;
1906
1922
  label?: string | undefined;
1923
+ mimeType?: string | undefined;
1907
1924
  }[] | undefined;
1908
1925
  executionMode?: "static_preview" | "vite_app" | undefined;
1909
1926
  } | undefined;
1910
- target?: {
1911
- type: "route" | "file" | "element";
1912
- ref: string;
1913
- } | undefined;
1914
- references?: {
1915
- title: string;
1916
- id: string;
1917
- reason?: string | undefined;
1918
- url?: string | undefined;
1919
- image?: {
1920
- hash: string;
1921
- mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
1922
- } | undefined;
1923
- }[] | undefined;
1924
- variantId?: string | undefined;
1925
- requestId?: string | undefined;
1926
- instruction?: string | undefined;
1927
1927
  workerSelection?: WorkerSelection | undefined;
1928
1928
  briefBody?: string | undefined;
1929
1929
  briefNotes?: string | undefined;
1930
1930
  visualReferenceUrl?: string | undefined;
1931
1931
  guidance?: {
1932
- title: string;
1933
1932
  id: string;
1933
+ title: string;
1934
1934
  markdown: string;
1935
1935
  attachments?: {
1936
- path: string;
1937
- source: string;
1938
1936
  hash: string;
1939
1937
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif";
1940
1938
  bytes: number;
1941
1939
  representation: "variant" | "image" | "video-cover" | "page";
1940
+ source: string;
1942
1941
  alt: string;
1943
- title?: string | undefined;
1942
+ path: string;
1944
1943
  page?: number | undefined;
1944
+ title?: string | undefined;
1945
1945
  }[] | undefined;
1946
1946
  references?: ({
1947
- path: string;
1948
1947
  kind: "directory";
1948
+ path: string;
1949
1949
  intent: string;
1950
1950
  } | {
1951
- url: string;
1952
1951
  kind: "url" | "repository";
1952
+ url: string;
1953
1953
  intent: string;
1954
- digest?: string | undefined;
1955
1954
  revision?: string | undefined;
1956
1955
  files?: {
1957
1956
  name: string;
@@ -1959,6 +1958,7 @@ declare const variantWorkItemInputSchemas: {
1959
1958
  path?: string | undefined;
1960
1959
  sha256?: string | undefined;
1961
1960
  }[] | undefined;
1961
+ digest?: string | undefined;
1962
1962
  })[] | undefined;
1963
1963
  }[] | undefined;
1964
1964
  previewRoutes?: string[] | undefined;
@@ -1969,7 +1969,7 @@ declare const variantWorkItemInputSchemas: {
1969
1969
  currentHtml?: string | undefined;
1970
1970
  targetElement?: StaticPreviewTargetElement | undefined;
1971
1971
  relevantFiles?: string[] | undefined;
1972
- fidelity?: "low" | "medium" | "high" | undefined;
1972
+ fidelity?: "high" | "medium" | "low" | undefined;
1973
1973
  designContextEntry?: {
1974
1974
  kind: "slug";
1975
1975
  slug: string;
@@ -2017,6 +2017,7 @@ declare const variantWorkItemInputSchemas: {
2017
2017
  path: string;
2018
2018
  id: string;
2019
2019
  transport: "file";
2020
+ label?: string | undefined;
2020
2021
  mimeType?: string | undefined;
2021
2022
  references?: {
2022
2023
  title: string;
@@ -2028,7 +2029,6 @@ declare const variantWorkItemInputSchemas: {
2028
2029
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
2029
2030
  } | undefined;
2030
2031
  }[] | undefined;
2031
- label?: string | undefined;
2032
2032
  userIntent?: string | undefined;
2033
2033
  originalFilename?: string | undefined;
2034
2034
  } | {
@@ -2041,6 +2041,7 @@ declare const variantWorkItemInputSchemas: {
2041
2041
  path: string;
2042
2042
  id: string;
2043
2043
  transport: "text";
2044
+ label?: string | undefined;
2044
2045
  references?: {
2045
2046
  title: string;
2046
2047
  id: string;
@@ -2051,7 +2052,6 @@ declare const variantWorkItemInputSchemas: {
2051
2052
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
2052
2053
  } | undefined;
2053
2054
  }[] | undefined;
2054
- label?: string | undefined;
2055
2055
  userIntent?: string | undefined;
2056
2056
  })[];
2057
2057
  rivetActions: {
@@ -2067,8 +2067,8 @@ declare const variantWorkItemInputSchemas: {
2067
2067
  sectionInventory: string[];
2068
2068
  visualObservations: string[];
2069
2069
  sourceRoles: {
2070
- sourceId: string;
2071
2070
  role: "primary" | "inspiration" | "competitor";
2071
+ sourceId: string;
2072
2072
  rationale?: string | undefined;
2073
2073
  }[];
2074
2074
  qualityBar: string[];
@@ -2079,7 +2079,7 @@ declare const variantWorkItemInputSchemas: {
2079
2079
  kind: "design_system";
2080
2080
  id: string;
2081
2081
  sourceIds: string[];
2082
- producedBy: "browser" | "rivet" | "agent" | "skill";
2082
+ producedBy: "browser" | "agent" | "rivet" | "skill";
2083
2083
  path?: string | undefined;
2084
2084
  actionId?: string | undefined;
2085
2085
  warnings?: string[] | undefined;
@@ -2092,7 +2092,7 @@ declare const variantWorkItemInputSchemas: {
2092
2092
  kind: "motion_guidance";
2093
2093
  id: string;
2094
2094
  sourceIds: string[];
2095
- producedBy: "browser" | "rivet" | "agent" | "skill";
2095
+ producedBy: "browser" | "agent" | "rivet" | "skill";
2096
2096
  path?: string | undefined;
2097
2097
  actionId?: string | undefined;
2098
2098
  warnings?: string[] | undefined;
@@ -2103,8 +2103,8 @@ declare const variantWorkItemInputSchemas: {
2103
2103
  id: string;
2104
2104
  originalFilename: string;
2105
2105
  sizeBytes: number;
2106
- mimeType?: string | undefined;
2107
2106
  label?: string | undefined;
2107
+ mimeType?: string | undefined;
2108
2108
  }[] | undefined;
2109
2109
  bindings?: ({
2110
2110
  kind: "global";
@@ -2121,7 +2121,7 @@ declare const variantWorkItemInputSchemas: {
2121
2121
  executionPlan?: {
2122
2122
  mode: "static_preview" | "vite_app";
2123
2123
  reason: string;
2124
- confidence: "low" | "medium" | "high";
2124
+ confidence: "high" | "medium" | "low";
2125
2125
  assetPlan?: {
2126
2126
  source: string;
2127
2127
  destination: string;
@@ -2135,6 +2135,7 @@ declare const variantWorkItemInputSchemas: {
2135
2135
  kind: "fresh";
2136
2136
  workspacePath: string;
2137
2137
  workspaceRoot: string;
2138
+ framework?: "vite" | "remix" | "next" | "astro" | undefined;
2138
2139
  designContext?: ({
2139
2140
  kind: "slug";
2140
2141
  slug: string;
@@ -2146,7 +2147,7 @@ declare const variantWorkItemInputSchemas: {
2146
2147
  executionPlan?: {
2147
2148
  mode: "static_preview" | "vite_app";
2148
2149
  reason: string;
2149
- confidence: "low" | "medium" | "high";
2150
+ confidence: "high" | "medium" | "low";
2150
2151
  assetPlan?: {
2151
2152
  source: string;
2152
2153
  destination: string;
@@ -2173,6 +2174,7 @@ declare const variantWorkItemInputSchemas: {
2173
2174
  path: string;
2174
2175
  id: string;
2175
2176
  transport: "file";
2177
+ label?: string | undefined;
2176
2178
  mimeType?: string | undefined;
2177
2179
  references?: {
2178
2180
  title: string;
@@ -2184,7 +2186,6 @@ declare const variantWorkItemInputSchemas: {
2184
2186
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
2185
2187
  } | undefined;
2186
2188
  }[] | undefined;
2187
- label?: string | undefined;
2188
2189
  userIntent?: string | undefined;
2189
2190
  originalFilename?: string | undefined;
2190
2191
  } | {
@@ -2197,6 +2198,7 @@ declare const variantWorkItemInputSchemas: {
2197
2198
  path: string;
2198
2199
  id: string;
2199
2200
  transport: "text";
2201
+ label?: string | undefined;
2200
2202
  references?: {
2201
2203
  title: string;
2202
2204
  id: string;
@@ -2207,7 +2209,6 @@ declare const variantWorkItemInputSchemas: {
2207
2209
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
2208
2210
  } | undefined;
2209
2211
  }[] | undefined;
2210
- label?: string | undefined;
2211
2212
  userIntent?: string | undefined;
2212
2213
  })[];
2213
2214
  rivetActions: {
@@ -2223,8 +2224,8 @@ declare const variantWorkItemInputSchemas: {
2223
2224
  sectionInventory: string[];
2224
2225
  visualObservations: string[];
2225
2226
  sourceRoles: {
2226
- sourceId: string;
2227
2227
  role: "primary" | "inspiration" | "competitor";
2228
+ sourceId: string;
2228
2229
  rationale?: string | undefined;
2229
2230
  }[];
2230
2231
  qualityBar: string[];
@@ -2235,7 +2236,7 @@ declare const variantWorkItemInputSchemas: {
2235
2236
  kind: "design_system";
2236
2237
  id: string;
2237
2238
  sourceIds: string[];
2238
- producedBy: "browser" | "rivet" | "agent" | "skill";
2239
+ producedBy: "browser" | "agent" | "rivet" | "skill";
2239
2240
  path?: string | undefined;
2240
2241
  actionId?: string | undefined;
2241
2242
  warnings?: string[] | undefined;
@@ -2248,7 +2249,7 @@ declare const variantWorkItemInputSchemas: {
2248
2249
  kind: "motion_guidance";
2249
2250
  id: string;
2250
2251
  sourceIds: string[];
2251
- producedBy: "browser" | "rivet" | "agent" | "skill";
2252
+ producedBy: "browser" | "agent" | "rivet" | "skill";
2252
2253
  path?: string | undefined;
2253
2254
  actionId?: string | undefined;
2254
2255
  warnings?: string[] | undefined;
@@ -2259,8 +2260,8 @@ declare const variantWorkItemInputSchemas: {
2259
2260
  id: string;
2260
2261
  originalFilename: string;
2261
2262
  sizeBytes: number;
2262
- mimeType?: string | undefined;
2263
2263
  label?: string | undefined;
2264
+ mimeType?: string | undefined;
2264
2265
  }[] | undefined;
2265
2266
  bindings?: ({
2266
2267
  kind: "global";
@@ -2277,7 +2278,7 @@ declare const variantWorkItemInputSchemas: {
2277
2278
  executionPlan?: {
2278
2279
  mode: "static_preview" | "vite_app";
2279
2280
  reason: string;
2280
- confidence: "low" | "medium" | "high";
2281
+ confidence: "high" | "medium" | "low";
2281
2282
  assetPlan?: {
2282
2283
  source: string;
2283
2284
  destination: string;
@@ -2287,7 +2288,6 @@ declare const variantWorkItemInputSchemas: {
2287
2288
  userQuestion?: string | undefined;
2288
2289
  } | undefined;
2289
2290
  } | undefined;
2290
- framework?: "vite" | "remix" | "next" | "astro" | undefined;
2291
2291
  assetSourceRoot?: string | undefined;
2292
2292
  }, z.ZodTypeDef, {
2293
2293
  kind: "existing";
@@ -2318,6 +2318,7 @@ declare const variantWorkItemInputSchemas: {
2318
2318
  path: string;
2319
2319
  id: string;
2320
2320
  transport: "file";
2321
+ label?: string | undefined;
2321
2322
  mimeType?: string | undefined;
2322
2323
  references?: {
2323
2324
  title: string;
@@ -2329,7 +2330,6 @@ declare const variantWorkItemInputSchemas: {
2329
2330
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
2330
2331
  } | undefined;
2331
2332
  }[] | undefined;
2332
- label?: string | undefined;
2333
2333
  userIntent?: string | undefined;
2334
2334
  originalFilename?: string | undefined;
2335
2335
  } | {
@@ -2342,6 +2342,7 @@ declare const variantWorkItemInputSchemas: {
2342
2342
  path: string;
2343
2343
  id: string;
2344
2344
  transport: "text";
2345
+ label?: string | undefined;
2345
2346
  references?: {
2346
2347
  title: string;
2347
2348
  id: string;
@@ -2352,7 +2353,6 @@ declare const variantWorkItemInputSchemas: {
2352
2353
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
2353
2354
  } | undefined;
2354
2355
  }[] | undefined;
2355
- label?: string | undefined;
2356
2356
  userIntent?: string | undefined;
2357
2357
  })[];
2358
2358
  rivetActions: {
@@ -2368,8 +2368,8 @@ declare const variantWorkItemInputSchemas: {
2368
2368
  sectionInventory: string[];
2369
2369
  visualObservations: string[];
2370
2370
  sourceRoles: {
2371
- sourceId: string;
2372
2371
  role: "primary" | "inspiration" | "competitor";
2372
+ sourceId: string;
2373
2373
  rationale?: string | undefined;
2374
2374
  }[];
2375
2375
  qualityBar: string[];
@@ -2380,7 +2380,7 @@ declare const variantWorkItemInputSchemas: {
2380
2380
  kind: "design_system";
2381
2381
  id: string;
2382
2382
  sourceIds: string[];
2383
- producedBy: "browser" | "rivet" | "agent" | "skill";
2383
+ producedBy: "browser" | "agent" | "rivet" | "skill";
2384
2384
  path?: string | undefined;
2385
2385
  actionId?: string | undefined;
2386
2386
  warnings?: string[] | undefined;
@@ -2393,7 +2393,7 @@ declare const variantWorkItemInputSchemas: {
2393
2393
  kind: "motion_guidance";
2394
2394
  id: string;
2395
2395
  sourceIds: string[];
2396
- producedBy: "browser" | "rivet" | "agent" | "skill";
2396
+ producedBy: "browser" | "agent" | "rivet" | "skill";
2397
2397
  path?: string | undefined;
2398
2398
  actionId?: string | undefined;
2399
2399
  warnings?: string[] | undefined;
@@ -2404,8 +2404,8 @@ declare const variantWorkItemInputSchemas: {
2404
2404
  id: string;
2405
2405
  originalFilename: string;
2406
2406
  sizeBytes: number;
2407
- mimeType?: string | undefined;
2408
2407
  label?: string | undefined;
2408
+ mimeType?: string | undefined;
2409
2409
  }[] | undefined;
2410
2410
  bindings?: ({
2411
2411
  kind: "global";
@@ -2422,7 +2422,7 @@ declare const variantWorkItemInputSchemas: {
2422
2422
  executionPlan?: {
2423
2423
  mode: "static_preview" | "vite_app";
2424
2424
  reason: string;
2425
- confidence: "low" | "medium" | "high";
2425
+ confidence: "high" | "medium" | "low";
2426
2426
  assetPlan?: {
2427
2427
  source: string;
2428
2428
  destination: string;
@@ -2436,6 +2436,7 @@ declare const variantWorkItemInputSchemas: {
2436
2436
  kind: "fresh";
2437
2437
  workspacePath: string;
2438
2438
  workspaceRoot: string;
2439
+ framework?: "vite" | "remix" | "next" | "astro" | undefined;
2439
2440
  designContext?: ({
2440
2441
  kind: "slug";
2441
2442
  slug: string;
@@ -2447,7 +2448,7 @@ declare const variantWorkItemInputSchemas: {
2447
2448
  executionPlan?: {
2448
2449
  mode: "static_preview" | "vite_app";
2449
2450
  reason: string;
2450
- confidence: "low" | "medium" | "high";
2451
+ confidence: "high" | "medium" | "low";
2451
2452
  assetPlan?: {
2452
2453
  source: string;
2453
2454
  destination: string;
@@ -2474,6 +2475,7 @@ declare const variantWorkItemInputSchemas: {
2474
2475
  path: string;
2475
2476
  id: string;
2476
2477
  transport: "file";
2478
+ label?: string | undefined;
2477
2479
  mimeType?: string | undefined;
2478
2480
  references?: {
2479
2481
  title: string;
@@ -2485,7 +2487,6 @@ declare const variantWorkItemInputSchemas: {
2485
2487
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
2486
2488
  } | undefined;
2487
2489
  }[] | undefined;
2488
- label?: string | undefined;
2489
2490
  userIntent?: string | undefined;
2490
2491
  originalFilename?: string | undefined;
2491
2492
  } | {
@@ -2498,6 +2499,7 @@ declare const variantWorkItemInputSchemas: {
2498
2499
  path: string;
2499
2500
  id: string;
2500
2501
  transport: "text";
2502
+ label?: string | undefined;
2501
2503
  references?: {
2502
2504
  title: string;
2503
2505
  id: string;
@@ -2508,7 +2510,6 @@ declare const variantWorkItemInputSchemas: {
2508
2510
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
2509
2511
  } | undefined;
2510
2512
  }[] | undefined;
2511
- label?: string | undefined;
2512
2513
  userIntent?: string | undefined;
2513
2514
  })[];
2514
2515
  rivetActions: {
@@ -2524,8 +2525,8 @@ declare const variantWorkItemInputSchemas: {
2524
2525
  sectionInventory: string[];
2525
2526
  visualObservations: string[];
2526
2527
  sourceRoles: {
2527
- sourceId: string;
2528
2528
  role: "primary" | "inspiration" | "competitor";
2529
+ sourceId: string;
2529
2530
  rationale?: string | undefined;
2530
2531
  }[];
2531
2532
  qualityBar: string[];
@@ -2536,7 +2537,7 @@ declare const variantWorkItemInputSchemas: {
2536
2537
  kind: "design_system";
2537
2538
  id: string;
2538
2539
  sourceIds: string[];
2539
- producedBy: "browser" | "rivet" | "agent" | "skill";
2540
+ producedBy: "browser" | "agent" | "rivet" | "skill";
2540
2541
  path?: string | undefined;
2541
2542
  actionId?: string | undefined;
2542
2543
  warnings?: string[] | undefined;
@@ -2549,7 +2550,7 @@ declare const variantWorkItemInputSchemas: {
2549
2550
  kind: "motion_guidance";
2550
2551
  id: string;
2551
2552
  sourceIds: string[];
2552
- producedBy: "browser" | "rivet" | "agent" | "skill";
2553
+ producedBy: "browser" | "agent" | "rivet" | "skill";
2553
2554
  path?: string | undefined;
2554
2555
  actionId?: string | undefined;
2555
2556
  warnings?: string[] | undefined;
@@ -2560,8 +2561,8 @@ declare const variantWorkItemInputSchemas: {
2560
2561
  id: string;
2561
2562
  originalFilename: string;
2562
2563
  sizeBytes: number;
2563
- mimeType?: string | undefined;
2564
2564
  label?: string | undefined;
2565
+ mimeType?: string | undefined;
2565
2566
  }[] | undefined;
2566
2567
  bindings?: ({
2567
2568
  kind: "global";
@@ -2578,7 +2579,7 @@ declare const variantWorkItemInputSchemas: {
2578
2579
  executionPlan?: {
2579
2580
  mode: "static_preview" | "vite_app";
2580
2581
  reason: string;
2581
- confidence: "low" | "medium" | "high";
2582
+ confidence: "high" | "medium" | "low";
2582
2583
  assetPlan?: {
2583
2584
  source: string;
2584
2585
  destination: string;
@@ -2588,7 +2589,6 @@ declare const variantWorkItemInputSchemas: {
2588
2589
  userQuestion?: string | undefined;
2589
2590
  } | undefined;
2590
2591
  } | undefined;
2591
- framework?: "vite" | "remix" | "next" | "astro" | undefined;
2592
2592
  assetSourceRoot?: string | undefined;
2593
2593
  }>;
2594
2594
  briefId: z.ZodOptional<z.ZodString>;
@@ -2597,29 +2597,28 @@ declare const variantWorkItemInputSchemas: {
2597
2597
  briefNotes: z.ZodOptional<z.ZodString>;
2598
2598
  visualReferenceUrl: z.ZodOptional<z.ZodString>;
2599
2599
  guidance: z.ZodOptional<z.ZodArray<z.ZodType<{
2600
- title: string;
2601
2600
  id: string;
2601
+ title: string;
2602
2602
  markdown: string;
2603
2603
  attachments?: {
2604
- path: string;
2605
- source: string;
2606
2604
  hash: string;
2607
2605
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif";
2608
2606
  bytes: number;
2609
2607
  representation: "variant" | "image" | "video-cover" | "page";
2608
+ source: string;
2610
2609
  alt: string;
2611
- title?: string | undefined;
2610
+ path: string;
2612
2611
  page?: number | undefined;
2612
+ title?: string | undefined;
2613
2613
  }[] | undefined;
2614
2614
  references?: ({
2615
- path: string;
2616
2615
  kind: "directory";
2616
+ path: string;
2617
2617
  intent: string;
2618
2618
  } | {
2619
- url: string;
2620
2619
  kind: "url" | "repository";
2620
+ url: string;
2621
2621
  intent: string;
2622
- digest?: string | undefined;
2623
2622
  revision?: string | undefined;
2624
2623
  files?: {
2625
2624
  name: string;
@@ -2627,31 +2626,31 @@ declare const variantWorkItemInputSchemas: {
2627
2626
  path?: string | undefined;
2628
2627
  sha256?: string | undefined;
2629
2628
  }[] | undefined;
2629
+ digest?: string | undefined;
2630
2630
  })[] | undefined;
2631
2631
  }, z.ZodTypeDef, {
2632
- title: string;
2633
2632
  id: string;
2633
+ title: string;
2634
2634
  markdown: string;
2635
2635
  attachments?: {
2636
- path: string;
2637
- source: string;
2638
2636
  hash: string;
2639
2637
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif";
2640
2638
  bytes: number;
2641
2639
  representation: "variant" | "image" | "video-cover" | "page";
2640
+ source: string;
2642
2641
  alt: string;
2643
- title?: string | undefined;
2642
+ path: string;
2644
2643
  page?: number | undefined;
2644
+ title?: string | undefined;
2645
2645
  }[] | undefined;
2646
2646
  references?: ({
2647
- path: string;
2648
2647
  kind: "directory";
2648
+ path: string;
2649
2649
  intent: string;
2650
2650
  } | {
2651
- url: string;
2652
2651
  kind: "url" | "repository";
2652
+ url: string;
2653
2653
  intent: string;
2654
- digest?: string | undefined;
2655
2654
  revision?: string | undefined;
2656
2655
  files?: {
2657
2656
  name: string;
@@ -2659,6 +2658,7 @@ declare const variantWorkItemInputSchemas: {
2659
2658
  path?: string | undefined;
2660
2659
  sha256?: string | undefined;
2661
2660
  }[] | undefined;
2661
+ digest?: string | undefined;
2662
2662
  })[] | undefined;
2663
2663
  }>, "many">>;
2664
2664
  previewRoutes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
@@ -2715,8 +2715,8 @@ declare const variantWorkItemInputSchemas: {
2715
2715
  context: z.ZodOptional<z.ZodType<{
2716
2716
  brief: {
2717
2717
  label: string;
2718
- briefId: string;
2719
2718
  body: string;
2719
+ briefId: string;
2720
2720
  notes?: string | undefined;
2721
2721
  visualReferenceUrl?: string | undefined;
2722
2722
  };
@@ -2735,6 +2735,7 @@ declare const variantWorkItemInputSchemas: {
2735
2735
  path: string;
2736
2736
  id: string;
2737
2737
  transport: "file";
2738
+ label?: string | undefined;
2738
2739
  mimeType?: string | undefined;
2739
2740
  references?: {
2740
2741
  title: string;
@@ -2746,7 +2747,6 @@ declare const variantWorkItemInputSchemas: {
2746
2747
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
2747
2748
  } | undefined;
2748
2749
  }[] | undefined;
2749
- label?: string | undefined;
2750
2750
  userIntent?: string | undefined;
2751
2751
  originalFilename?: string | undefined;
2752
2752
  } | {
@@ -2759,6 +2759,7 @@ declare const variantWorkItemInputSchemas: {
2759
2759
  path: string;
2760
2760
  id: string;
2761
2761
  transport: "text";
2762
+ label?: string | undefined;
2762
2763
  references?: {
2763
2764
  title: string;
2764
2765
  id: string;
@@ -2769,7 +2770,6 @@ declare const variantWorkItemInputSchemas: {
2769
2770
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
2770
2771
  } | undefined;
2771
2772
  }[] | undefined;
2772
- label?: string | undefined;
2773
2773
  userIntent?: string | undefined;
2774
2774
  })[];
2775
2775
  rivetMetadata: ({
@@ -2778,8 +2778,8 @@ declare const variantWorkItemInputSchemas: {
2778
2778
  sectionInventory: string[];
2779
2779
  visualObservations: string[];
2780
2780
  sourceRoles: {
2781
- sourceId: string;
2782
2781
  role: "primary" | "inspiration" | "competitor";
2782
+ sourceId: string;
2783
2783
  rationale?: string | undefined;
2784
2784
  }[];
2785
2785
  qualityBar: string[];
@@ -2790,7 +2790,7 @@ declare const variantWorkItemInputSchemas: {
2790
2790
  kind: "design_system";
2791
2791
  id: string;
2792
2792
  sourceIds: string[];
2793
- producedBy: "browser" | "rivet" | "agent" | "skill";
2793
+ producedBy: "browser" | "agent" | "rivet" | "skill";
2794
2794
  path?: string | undefined;
2795
2795
  actionId?: string | undefined;
2796
2796
  warnings?: string[] | undefined;
@@ -2803,7 +2803,7 @@ declare const variantWorkItemInputSchemas: {
2803
2803
  kind: "motion_guidance";
2804
2804
  id: string;
2805
2805
  sourceIds: string[];
2806
- producedBy: "browser" | "rivet" | "agent" | "skill";
2806
+ producedBy: "browser" | "agent" | "rivet" | "skill";
2807
2807
  path?: string | undefined;
2808
2808
  actionId?: string | undefined;
2809
2809
  warnings?: string[] | undefined;
@@ -2824,15 +2824,15 @@ declare const variantWorkItemInputSchemas: {
2824
2824
  id: string;
2825
2825
  originalFilename: string;
2826
2826
  sizeBytes: number;
2827
- mimeType?: string | undefined;
2828
2827
  label?: string | undefined;
2828
+ mimeType?: string | undefined;
2829
2829
  }[] | undefined;
2830
2830
  executionMode?: "static_preview" | "vite_app" | undefined;
2831
2831
  }, z.ZodTypeDef, {
2832
2832
  brief: {
2833
2833
  label: string;
2834
- briefId: string;
2835
2834
  body: string;
2835
+ briefId: string;
2836
2836
  notes?: string | undefined;
2837
2837
  visualReferenceUrl?: string | undefined;
2838
2838
  };
@@ -2851,6 +2851,7 @@ declare const variantWorkItemInputSchemas: {
2851
2851
  path: string;
2852
2852
  id: string;
2853
2853
  transport: "file";
2854
+ label?: string | undefined;
2854
2855
  mimeType?: string | undefined;
2855
2856
  references?: {
2856
2857
  title: string;
@@ -2862,7 +2863,6 @@ declare const variantWorkItemInputSchemas: {
2862
2863
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
2863
2864
  } | undefined;
2864
2865
  }[] | undefined;
2865
- label?: string | undefined;
2866
2866
  userIntent?: string | undefined;
2867
2867
  originalFilename?: string | undefined;
2868
2868
  } | {
@@ -2875,6 +2875,7 @@ declare const variantWorkItemInputSchemas: {
2875
2875
  path: string;
2876
2876
  id: string;
2877
2877
  transport: "text";
2878
+ label?: string | undefined;
2878
2879
  references?: {
2879
2880
  title: string;
2880
2881
  id: string;
@@ -2885,7 +2886,6 @@ declare const variantWorkItemInputSchemas: {
2885
2886
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
2886
2887
  } | undefined;
2887
2888
  }[] | undefined;
2888
- label?: string | undefined;
2889
2889
  userIntent?: string | undefined;
2890
2890
  })[];
2891
2891
  rivetMetadata: ({
@@ -2894,8 +2894,8 @@ declare const variantWorkItemInputSchemas: {
2894
2894
  sectionInventory: string[];
2895
2895
  visualObservations: string[];
2896
2896
  sourceRoles: {
2897
- sourceId: string;
2898
2897
  role: "primary" | "inspiration" | "competitor";
2898
+ sourceId: string;
2899
2899
  rationale?: string | undefined;
2900
2900
  }[];
2901
2901
  qualityBar: string[];
@@ -2906,7 +2906,7 @@ declare const variantWorkItemInputSchemas: {
2906
2906
  kind: "design_system";
2907
2907
  id: string;
2908
2908
  sourceIds: string[];
2909
- producedBy: "browser" | "rivet" | "agent" | "skill";
2909
+ producedBy: "browser" | "agent" | "rivet" | "skill";
2910
2910
  path?: string | undefined;
2911
2911
  actionId?: string | undefined;
2912
2912
  warnings?: string[] | undefined;
@@ -2919,7 +2919,7 @@ declare const variantWorkItemInputSchemas: {
2919
2919
  kind: "motion_guidance";
2920
2920
  id: string;
2921
2921
  sourceIds: string[];
2922
- producedBy: "browser" | "rivet" | "agent" | "skill";
2922
+ producedBy: "browser" | "agent" | "rivet" | "skill";
2923
2923
  path?: string | undefined;
2924
2924
  actionId?: string | undefined;
2925
2925
  warnings?: string[] | undefined;
@@ -2940,8 +2940,8 @@ declare const variantWorkItemInputSchemas: {
2940
2940
  id: string;
2941
2941
  originalFilename: string;
2942
2942
  sizeBytes: number;
2943
- mimeType?: string | undefined;
2944
2943
  label?: string | undefined;
2944
+ mimeType?: string | undefined;
2945
2945
  }[] | undefined;
2946
2946
  executionMode?: "static_preview" | "vite_app" | undefined;
2947
2947
  }>>;
@@ -2997,6 +2997,7 @@ declare const variantWorkItemInputSchemas: {
2997
2997
  path: string;
2998
2998
  id: string;
2999
2999
  transport: "file";
3000
+ label?: string | undefined;
3000
3001
  mimeType?: string | undefined;
3001
3002
  references?: {
3002
3003
  title: string;
@@ -3008,7 +3009,6 @@ declare const variantWorkItemInputSchemas: {
3008
3009
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
3009
3010
  } | undefined;
3010
3011
  }[] | undefined;
3011
- label?: string | undefined;
3012
3012
  userIntent?: string | undefined;
3013
3013
  originalFilename?: string | undefined;
3014
3014
  } | {
@@ -3021,6 +3021,7 @@ declare const variantWorkItemInputSchemas: {
3021
3021
  path: string;
3022
3022
  id: string;
3023
3023
  transport: "text";
3024
+ label?: string | undefined;
3024
3025
  references?: {
3025
3026
  title: string;
3026
3027
  id: string;
@@ -3031,7 +3032,6 @@ declare const variantWorkItemInputSchemas: {
3031
3032
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
3032
3033
  } | undefined;
3033
3034
  }[] | undefined;
3034
- label?: string | undefined;
3035
3035
  userIntent?: string | undefined;
3036
3036
  })[];
3037
3037
  rivetActions: {
@@ -3047,8 +3047,8 @@ declare const variantWorkItemInputSchemas: {
3047
3047
  sectionInventory: string[];
3048
3048
  visualObservations: string[];
3049
3049
  sourceRoles: {
3050
- sourceId: string;
3051
3050
  role: "primary" | "inspiration" | "competitor";
3051
+ sourceId: string;
3052
3052
  rationale?: string | undefined;
3053
3053
  }[];
3054
3054
  qualityBar: string[];
@@ -3059,7 +3059,7 @@ declare const variantWorkItemInputSchemas: {
3059
3059
  kind: "design_system";
3060
3060
  id: string;
3061
3061
  sourceIds: string[];
3062
- producedBy: "browser" | "rivet" | "agent" | "skill";
3062
+ producedBy: "browser" | "agent" | "rivet" | "skill";
3063
3063
  path?: string | undefined;
3064
3064
  actionId?: string | undefined;
3065
3065
  warnings?: string[] | undefined;
@@ -3072,7 +3072,7 @@ declare const variantWorkItemInputSchemas: {
3072
3072
  kind: "motion_guidance";
3073
3073
  id: string;
3074
3074
  sourceIds: string[];
3075
- producedBy: "browser" | "rivet" | "agent" | "skill";
3075
+ producedBy: "browser" | "agent" | "rivet" | "skill";
3076
3076
  path?: string | undefined;
3077
3077
  actionId?: string | undefined;
3078
3078
  warnings?: string[] | undefined;
@@ -3083,8 +3083,8 @@ declare const variantWorkItemInputSchemas: {
3083
3083
  id: string;
3084
3084
  originalFilename: string;
3085
3085
  sizeBytes: number;
3086
- mimeType?: string | undefined;
3087
3086
  label?: string | undefined;
3087
+ mimeType?: string | undefined;
3088
3088
  }[] | undefined;
3089
3089
  bindings?: ({
3090
3090
  kind: "global";
@@ -3101,7 +3101,7 @@ declare const variantWorkItemInputSchemas: {
3101
3101
  executionPlan?: {
3102
3102
  mode: "static_preview" | "vite_app";
3103
3103
  reason: string;
3104
- confidence: "low" | "medium" | "high";
3104
+ confidence: "high" | "medium" | "low";
3105
3105
  assetPlan?: {
3106
3106
  source: string;
3107
3107
  destination: string;
@@ -3115,6 +3115,7 @@ declare const variantWorkItemInputSchemas: {
3115
3115
  kind: "fresh";
3116
3116
  workspacePath: string;
3117
3117
  workspaceRoot: string;
3118
+ framework?: "vite" | "remix" | "next" | "astro" | undefined;
3118
3119
  designContext?: ({
3119
3120
  kind: "slug";
3120
3121
  slug: string;
@@ -3126,7 +3127,7 @@ declare const variantWorkItemInputSchemas: {
3126
3127
  executionPlan?: {
3127
3128
  mode: "static_preview" | "vite_app";
3128
3129
  reason: string;
3129
- confidence: "low" | "medium" | "high";
3130
+ confidence: "high" | "medium" | "low";
3130
3131
  assetPlan?: {
3131
3132
  source: string;
3132
3133
  destination: string;
@@ -3153,6 +3154,7 @@ declare const variantWorkItemInputSchemas: {
3153
3154
  path: string;
3154
3155
  id: string;
3155
3156
  transport: "file";
3157
+ label?: string | undefined;
3156
3158
  mimeType?: string | undefined;
3157
3159
  references?: {
3158
3160
  title: string;
@@ -3164,7 +3166,6 @@ declare const variantWorkItemInputSchemas: {
3164
3166
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
3165
3167
  } | undefined;
3166
3168
  }[] | undefined;
3167
- label?: string | undefined;
3168
3169
  userIntent?: string | undefined;
3169
3170
  originalFilename?: string | undefined;
3170
3171
  } | {
@@ -3177,6 +3178,7 @@ declare const variantWorkItemInputSchemas: {
3177
3178
  path: string;
3178
3179
  id: string;
3179
3180
  transport: "text";
3181
+ label?: string | undefined;
3180
3182
  references?: {
3181
3183
  title: string;
3182
3184
  id: string;
@@ -3187,7 +3189,6 @@ declare const variantWorkItemInputSchemas: {
3187
3189
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
3188
3190
  } | undefined;
3189
3191
  }[] | undefined;
3190
- label?: string | undefined;
3191
3192
  userIntent?: string | undefined;
3192
3193
  })[];
3193
3194
  rivetActions: {
@@ -3203,8 +3204,8 @@ declare const variantWorkItemInputSchemas: {
3203
3204
  sectionInventory: string[];
3204
3205
  visualObservations: string[];
3205
3206
  sourceRoles: {
3206
- sourceId: string;
3207
3207
  role: "primary" | "inspiration" | "competitor";
3208
+ sourceId: string;
3208
3209
  rationale?: string | undefined;
3209
3210
  }[];
3210
3211
  qualityBar: string[];
@@ -3215,7 +3216,7 @@ declare const variantWorkItemInputSchemas: {
3215
3216
  kind: "design_system";
3216
3217
  id: string;
3217
3218
  sourceIds: string[];
3218
- producedBy: "browser" | "rivet" | "agent" | "skill";
3219
+ producedBy: "browser" | "agent" | "rivet" | "skill";
3219
3220
  path?: string | undefined;
3220
3221
  actionId?: string | undefined;
3221
3222
  warnings?: string[] | undefined;
@@ -3228,7 +3229,7 @@ declare const variantWorkItemInputSchemas: {
3228
3229
  kind: "motion_guidance";
3229
3230
  id: string;
3230
3231
  sourceIds: string[];
3231
- producedBy: "browser" | "rivet" | "agent" | "skill";
3232
+ producedBy: "browser" | "agent" | "rivet" | "skill";
3232
3233
  path?: string | undefined;
3233
3234
  actionId?: string | undefined;
3234
3235
  warnings?: string[] | undefined;
@@ -3239,8 +3240,8 @@ declare const variantWorkItemInputSchemas: {
3239
3240
  id: string;
3240
3241
  originalFilename: string;
3241
3242
  sizeBytes: number;
3242
- mimeType?: string | undefined;
3243
3243
  label?: string | undefined;
3244
+ mimeType?: string | undefined;
3244
3245
  }[] | undefined;
3245
3246
  bindings?: ({
3246
3247
  kind: "global";
@@ -3257,7 +3258,7 @@ declare const variantWorkItemInputSchemas: {
3257
3258
  executionPlan?: {
3258
3259
  mode: "static_preview" | "vite_app";
3259
3260
  reason: string;
3260
- confidence: "low" | "medium" | "high";
3261
+ confidence: "high" | "medium" | "low";
3261
3262
  assetPlan?: {
3262
3263
  source: string;
3263
3264
  destination: string;
@@ -3267,14 +3268,28 @@ declare const variantWorkItemInputSchemas: {
3267
3268
  userQuestion?: string | undefined;
3268
3269
  } | undefined;
3269
3270
  } | undefined;
3270
- framework?: "vite" | "remix" | "next" | "astro" | undefined;
3271
3271
  assetSourceRoot?: string | undefined;
3272
3272
  };
3273
+ target?: {
3274
+ type: "route" | "file" | "element";
3275
+ ref: string;
3276
+ } | undefined;
3277
+ references?: {
3278
+ title: string;
3279
+ id: string;
3280
+ reason?: string | undefined;
3281
+ url?: string | undefined;
3282
+ image?: {
3283
+ hash: string;
3284
+ mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
3285
+ } | undefined;
3286
+ }[] | undefined;
3287
+ requestId?: string | undefined;
3273
3288
  context?: {
3274
3289
  brief: {
3275
3290
  label: string;
3276
- briefId: string;
3277
3291
  body: string;
3292
+ briefId: string;
3278
3293
  notes?: string | undefined;
3279
3294
  visualReferenceUrl?: string | undefined;
3280
3295
  };
@@ -3293,6 +3308,7 @@ declare const variantWorkItemInputSchemas: {
3293
3308
  path: string;
3294
3309
  id: string;
3295
3310
  transport: "file";
3311
+ label?: string | undefined;
3296
3312
  mimeType?: string | undefined;
3297
3313
  references?: {
3298
3314
  title: string;
@@ -3304,7 +3320,6 @@ declare const variantWorkItemInputSchemas: {
3304
3320
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
3305
3321
  } | undefined;
3306
3322
  }[] | undefined;
3307
- label?: string | undefined;
3308
3323
  userIntent?: string | undefined;
3309
3324
  originalFilename?: string | undefined;
3310
3325
  } | {
@@ -3317,6 +3332,7 @@ declare const variantWorkItemInputSchemas: {
3317
3332
  path: string;
3318
3333
  id: string;
3319
3334
  transport: "text";
3335
+ label?: string | undefined;
3320
3336
  references?: {
3321
3337
  title: string;
3322
3338
  id: string;
@@ -3327,7 +3343,6 @@ declare const variantWorkItemInputSchemas: {
3327
3343
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
3328
3344
  } | undefined;
3329
3345
  }[] | undefined;
3330
- label?: string | undefined;
3331
3346
  userIntent?: string | undefined;
3332
3347
  })[];
3333
3348
  rivetMetadata: ({
@@ -3336,8 +3351,8 @@ declare const variantWorkItemInputSchemas: {
3336
3351
  sectionInventory: string[];
3337
3352
  visualObservations: string[];
3338
3353
  sourceRoles: {
3339
- sourceId: string;
3340
3354
  role: "primary" | "inspiration" | "competitor";
3355
+ sourceId: string;
3341
3356
  rationale?: string | undefined;
3342
3357
  }[];
3343
3358
  qualityBar: string[];
@@ -3348,7 +3363,7 @@ declare const variantWorkItemInputSchemas: {
3348
3363
  kind: "design_system";
3349
3364
  id: string;
3350
3365
  sourceIds: string[];
3351
- producedBy: "browser" | "rivet" | "agent" | "skill";
3366
+ producedBy: "browser" | "agent" | "rivet" | "skill";
3352
3367
  path?: string | undefined;
3353
3368
  actionId?: string | undefined;
3354
3369
  warnings?: string[] | undefined;
@@ -3361,7 +3376,7 @@ declare const variantWorkItemInputSchemas: {
3361
3376
  kind: "motion_guidance";
3362
3377
  id: string;
3363
3378
  sourceIds: string[];
3364
- producedBy: "browser" | "rivet" | "agent" | "skill";
3379
+ producedBy: "browser" | "agent" | "rivet" | "skill";
3365
3380
  path?: string | undefined;
3366
3381
  actionId?: string | undefined;
3367
3382
  warnings?: string[] | undefined;
@@ -3382,26 +3397,11 @@ declare const variantWorkItemInputSchemas: {
3382
3397
  id: string;
3383
3398
  originalFilename: string;
3384
3399
  sizeBytes: number;
3385
- mimeType?: string | undefined;
3386
3400
  label?: string | undefined;
3401
+ mimeType?: string | undefined;
3387
3402
  }[] | undefined;
3388
3403
  executionMode?: "static_preview" | "vite_app" | undefined;
3389
3404
  } | undefined;
3390
- target?: {
3391
- type: "route" | "file" | "element";
3392
- ref: string;
3393
- } | undefined;
3394
- references?: {
3395
- title: string;
3396
- id: string;
3397
- reason?: string | undefined;
3398
- url?: string | undefined;
3399
- image?: {
3400
- hash: string;
3401
- mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
3402
- } | undefined;
3403
- }[] | undefined;
3404
- requestId?: string | undefined;
3405
3405
  workerSelection?: WorkerSelection | undefined;
3406
3406
  briefId?: string | undefined;
3407
3407
  briefLabel?: string | undefined;
@@ -3409,29 +3409,28 @@ declare const variantWorkItemInputSchemas: {
3409
3409
  briefNotes?: string | undefined;
3410
3410
  visualReferenceUrl?: string | undefined;
3411
3411
  guidance?: {
3412
- title: string;
3413
3412
  id: string;
3413
+ title: string;
3414
3414
  markdown: string;
3415
3415
  attachments?: {
3416
- path: string;
3417
- source: string;
3418
3416
  hash: string;
3419
3417
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif";
3420
3418
  bytes: number;
3421
3419
  representation: "variant" | "image" | "video-cover" | "page";
3420
+ source: string;
3422
3421
  alt: string;
3423
- title?: string | undefined;
3422
+ path: string;
3424
3423
  page?: number | undefined;
3424
+ title?: string | undefined;
3425
3425
  }[] | undefined;
3426
3426
  references?: ({
3427
- path: string;
3428
3427
  kind: "directory";
3428
+ path: string;
3429
3429
  intent: string;
3430
3430
  } | {
3431
- url: string;
3432
3431
  kind: "url" | "repository";
3432
+ url: string;
3433
3433
  intent: string;
3434
- digest?: string | undefined;
3435
3434
  revision?: string | undefined;
3436
3435
  files?: {
3437
3436
  name: string;
@@ -3439,6 +3438,7 @@ declare const variantWorkItemInputSchemas: {
3439
3438
  path?: string | undefined;
3440
3439
  sha256?: string | undefined;
3441
3440
  }[] | undefined;
3441
+ digest?: string | undefined;
3442
3442
  })[] | undefined;
3443
3443
  }[] | undefined;
3444
3444
  previewRoutes?: string[] | undefined;
@@ -3449,7 +3449,7 @@ declare const variantWorkItemInputSchemas: {
3449
3449
  currentHtml?: string | undefined;
3450
3450
  targetElement?: StaticPreviewTargetElement | undefined;
3451
3451
  relevantFiles?: string[] | undefined;
3452
- fidelity?: "low" | "medium" | "high" | undefined;
3452
+ fidelity?: "high" | "medium" | "low" | undefined;
3453
3453
  designContextEntry?: {
3454
3454
  kind: "slug";
3455
3455
  slug: string;
@@ -3497,6 +3497,7 @@ declare const variantWorkItemInputSchemas: {
3497
3497
  path: string;
3498
3498
  id: string;
3499
3499
  transport: "file";
3500
+ label?: string | undefined;
3500
3501
  mimeType?: string | undefined;
3501
3502
  references?: {
3502
3503
  title: string;
@@ -3508,7 +3509,6 @@ declare const variantWorkItemInputSchemas: {
3508
3509
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
3509
3510
  } | undefined;
3510
3511
  }[] | undefined;
3511
- label?: string | undefined;
3512
3512
  userIntent?: string | undefined;
3513
3513
  originalFilename?: string | undefined;
3514
3514
  } | {
@@ -3521,6 +3521,7 @@ declare const variantWorkItemInputSchemas: {
3521
3521
  path: string;
3522
3522
  id: string;
3523
3523
  transport: "text";
3524
+ label?: string | undefined;
3524
3525
  references?: {
3525
3526
  title: string;
3526
3527
  id: string;
@@ -3531,7 +3532,6 @@ declare const variantWorkItemInputSchemas: {
3531
3532
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
3532
3533
  } | undefined;
3533
3534
  }[] | undefined;
3534
- label?: string | undefined;
3535
3535
  userIntent?: string | undefined;
3536
3536
  })[];
3537
3537
  rivetActions: {
@@ -3547,8 +3547,8 @@ declare const variantWorkItemInputSchemas: {
3547
3547
  sectionInventory: string[];
3548
3548
  visualObservations: string[];
3549
3549
  sourceRoles: {
3550
- sourceId: string;
3551
3550
  role: "primary" | "inspiration" | "competitor";
3551
+ sourceId: string;
3552
3552
  rationale?: string | undefined;
3553
3553
  }[];
3554
3554
  qualityBar: string[];
@@ -3559,7 +3559,7 @@ declare const variantWorkItemInputSchemas: {
3559
3559
  kind: "design_system";
3560
3560
  id: string;
3561
3561
  sourceIds: string[];
3562
- producedBy: "browser" | "rivet" | "agent" | "skill";
3562
+ producedBy: "browser" | "agent" | "rivet" | "skill";
3563
3563
  path?: string | undefined;
3564
3564
  actionId?: string | undefined;
3565
3565
  warnings?: string[] | undefined;
@@ -3572,7 +3572,7 @@ declare const variantWorkItemInputSchemas: {
3572
3572
  kind: "motion_guidance";
3573
3573
  id: string;
3574
3574
  sourceIds: string[];
3575
- producedBy: "browser" | "rivet" | "agent" | "skill";
3575
+ producedBy: "browser" | "agent" | "rivet" | "skill";
3576
3576
  path?: string | undefined;
3577
3577
  actionId?: string | undefined;
3578
3578
  warnings?: string[] | undefined;
@@ -3583,8 +3583,8 @@ declare const variantWorkItemInputSchemas: {
3583
3583
  id: string;
3584
3584
  originalFilename: string;
3585
3585
  sizeBytes: number;
3586
- mimeType?: string | undefined;
3587
3586
  label?: string | undefined;
3587
+ mimeType?: string | undefined;
3588
3588
  }[] | undefined;
3589
3589
  bindings?: ({
3590
3590
  kind: "global";
@@ -3601,7 +3601,7 @@ declare const variantWorkItemInputSchemas: {
3601
3601
  executionPlan?: {
3602
3602
  mode: "static_preview" | "vite_app";
3603
3603
  reason: string;
3604
- confidence: "low" | "medium" | "high";
3604
+ confidence: "high" | "medium" | "low";
3605
3605
  assetPlan?: {
3606
3606
  source: string;
3607
3607
  destination: string;
@@ -3615,6 +3615,7 @@ declare const variantWorkItemInputSchemas: {
3615
3615
  kind: "fresh";
3616
3616
  workspacePath: string;
3617
3617
  workspaceRoot: string;
3618
+ framework?: "vite" | "remix" | "next" | "astro" | undefined;
3618
3619
  designContext?: ({
3619
3620
  kind: "slug";
3620
3621
  slug: string;
@@ -3626,7 +3627,7 @@ declare const variantWorkItemInputSchemas: {
3626
3627
  executionPlan?: {
3627
3628
  mode: "static_preview" | "vite_app";
3628
3629
  reason: string;
3629
- confidence: "low" | "medium" | "high";
3630
+ confidence: "high" | "medium" | "low";
3630
3631
  assetPlan?: {
3631
3632
  source: string;
3632
3633
  destination: string;
@@ -3653,6 +3654,7 @@ declare const variantWorkItemInputSchemas: {
3653
3654
  path: string;
3654
3655
  id: string;
3655
3656
  transport: "file";
3657
+ label?: string | undefined;
3656
3658
  mimeType?: string | undefined;
3657
3659
  references?: {
3658
3660
  title: string;
@@ -3664,7 +3666,6 @@ declare const variantWorkItemInputSchemas: {
3664
3666
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
3665
3667
  } | undefined;
3666
3668
  }[] | undefined;
3667
- label?: string | undefined;
3668
3669
  userIntent?: string | undefined;
3669
3670
  originalFilename?: string | undefined;
3670
3671
  } | {
@@ -3677,6 +3678,7 @@ declare const variantWorkItemInputSchemas: {
3677
3678
  path: string;
3678
3679
  id: string;
3679
3680
  transport: "text";
3681
+ label?: string | undefined;
3680
3682
  references?: {
3681
3683
  title: string;
3682
3684
  id: string;
@@ -3687,7 +3689,6 @@ declare const variantWorkItemInputSchemas: {
3687
3689
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
3688
3690
  } | undefined;
3689
3691
  }[] | undefined;
3690
- label?: string | undefined;
3691
3692
  userIntent?: string | undefined;
3692
3693
  })[];
3693
3694
  rivetActions: {
@@ -3703,8 +3704,8 @@ declare const variantWorkItemInputSchemas: {
3703
3704
  sectionInventory: string[];
3704
3705
  visualObservations: string[];
3705
3706
  sourceRoles: {
3706
- sourceId: string;
3707
3707
  role: "primary" | "inspiration" | "competitor";
3708
+ sourceId: string;
3708
3709
  rationale?: string | undefined;
3709
3710
  }[];
3710
3711
  qualityBar: string[];
@@ -3715,7 +3716,7 @@ declare const variantWorkItemInputSchemas: {
3715
3716
  kind: "design_system";
3716
3717
  id: string;
3717
3718
  sourceIds: string[];
3718
- producedBy: "browser" | "rivet" | "agent" | "skill";
3719
+ producedBy: "browser" | "agent" | "rivet" | "skill";
3719
3720
  path?: string | undefined;
3720
3721
  actionId?: string | undefined;
3721
3722
  warnings?: string[] | undefined;
@@ -3728,7 +3729,7 @@ declare const variantWorkItemInputSchemas: {
3728
3729
  kind: "motion_guidance";
3729
3730
  id: string;
3730
3731
  sourceIds: string[];
3731
- producedBy: "browser" | "rivet" | "agent" | "skill";
3732
+ producedBy: "browser" | "agent" | "rivet" | "skill";
3732
3733
  path?: string | undefined;
3733
3734
  actionId?: string | undefined;
3734
3735
  warnings?: string[] | undefined;
@@ -3739,8 +3740,8 @@ declare const variantWorkItemInputSchemas: {
3739
3740
  id: string;
3740
3741
  originalFilename: string;
3741
3742
  sizeBytes: number;
3742
- mimeType?: string | undefined;
3743
3743
  label?: string | undefined;
3744
+ mimeType?: string | undefined;
3744
3745
  }[] | undefined;
3745
3746
  bindings?: ({
3746
3747
  kind: "global";
@@ -3757,7 +3758,7 @@ declare const variantWorkItemInputSchemas: {
3757
3758
  executionPlan?: {
3758
3759
  mode: "static_preview" | "vite_app";
3759
3760
  reason: string;
3760
- confidence: "low" | "medium" | "high";
3761
+ confidence: "high" | "medium" | "low";
3761
3762
  assetPlan?: {
3762
3763
  source: string;
3763
3764
  destination: string;
@@ -3767,14 +3768,28 @@ declare const variantWorkItemInputSchemas: {
3767
3768
  userQuestion?: string | undefined;
3768
3769
  } | undefined;
3769
3770
  } | undefined;
3770
- framework?: "vite" | "remix" | "next" | "astro" | undefined;
3771
3771
  assetSourceRoot?: string | undefined;
3772
3772
  };
3773
+ target?: {
3774
+ type: "route" | "file" | "element";
3775
+ ref: string;
3776
+ } | undefined;
3777
+ references?: {
3778
+ title: string;
3779
+ id: string;
3780
+ reason?: string | undefined;
3781
+ url?: string | undefined;
3782
+ image?: {
3783
+ hash: string;
3784
+ mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
3785
+ } | undefined;
3786
+ }[] | undefined;
3787
+ requestId?: string | undefined;
3773
3788
  context?: {
3774
3789
  brief: {
3775
3790
  label: string;
3776
- briefId: string;
3777
3791
  body: string;
3792
+ briefId: string;
3778
3793
  notes?: string | undefined;
3779
3794
  visualReferenceUrl?: string | undefined;
3780
3795
  };
@@ -3793,6 +3808,7 @@ declare const variantWorkItemInputSchemas: {
3793
3808
  path: string;
3794
3809
  id: string;
3795
3810
  transport: "file";
3811
+ label?: string | undefined;
3796
3812
  mimeType?: string | undefined;
3797
3813
  references?: {
3798
3814
  title: string;
@@ -3804,7 +3820,6 @@ declare const variantWorkItemInputSchemas: {
3804
3820
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
3805
3821
  } | undefined;
3806
3822
  }[] | undefined;
3807
- label?: string | undefined;
3808
3823
  userIntent?: string | undefined;
3809
3824
  originalFilename?: string | undefined;
3810
3825
  } | {
@@ -3817,6 +3832,7 @@ declare const variantWorkItemInputSchemas: {
3817
3832
  path: string;
3818
3833
  id: string;
3819
3834
  transport: "text";
3835
+ label?: string | undefined;
3820
3836
  references?: {
3821
3837
  title: string;
3822
3838
  id: string;
@@ -3827,7 +3843,6 @@ declare const variantWorkItemInputSchemas: {
3827
3843
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
3828
3844
  } | undefined;
3829
3845
  }[] | undefined;
3830
- label?: string | undefined;
3831
3846
  userIntent?: string | undefined;
3832
3847
  })[];
3833
3848
  rivetMetadata: ({
@@ -3836,8 +3851,8 @@ declare const variantWorkItemInputSchemas: {
3836
3851
  sectionInventory: string[];
3837
3852
  visualObservations: string[];
3838
3853
  sourceRoles: {
3839
- sourceId: string;
3840
3854
  role: "primary" | "inspiration" | "competitor";
3855
+ sourceId: string;
3841
3856
  rationale?: string | undefined;
3842
3857
  }[];
3843
3858
  qualityBar: string[];
@@ -3848,7 +3863,7 @@ declare const variantWorkItemInputSchemas: {
3848
3863
  kind: "design_system";
3849
3864
  id: string;
3850
3865
  sourceIds: string[];
3851
- producedBy: "browser" | "rivet" | "agent" | "skill";
3866
+ producedBy: "browser" | "agent" | "rivet" | "skill";
3852
3867
  path?: string | undefined;
3853
3868
  actionId?: string | undefined;
3854
3869
  warnings?: string[] | undefined;
@@ -3861,7 +3876,7 @@ declare const variantWorkItemInputSchemas: {
3861
3876
  kind: "motion_guidance";
3862
3877
  id: string;
3863
3878
  sourceIds: string[];
3864
- producedBy: "browser" | "rivet" | "agent" | "skill";
3879
+ producedBy: "browser" | "agent" | "rivet" | "skill";
3865
3880
  path?: string | undefined;
3866
3881
  actionId?: string | undefined;
3867
3882
  warnings?: string[] | undefined;
@@ -3882,26 +3897,11 @@ declare const variantWorkItemInputSchemas: {
3882
3897
  id: string;
3883
3898
  originalFilename: string;
3884
3899
  sizeBytes: number;
3885
- mimeType?: string | undefined;
3886
3900
  label?: string | undefined;
3901
+ mimeType?: string | undefined;
3887
3902
  }[] | undefined;
3888
3903
  executionMode?: "static_preview" | "vite_app" | undefined;
3889
3904
  } | undefined;
3890
- target?: {
3891
- type: "route" | "file" | "element";
3892
- ref: string;
3893
- } | undefined;
3894
- references?: {
3895
- title: string;
3896
- id: string;
3897
- reason?: string | undefined;
3898
- url?: string | undefined;
3899
- image?: {
3900
- hash: string;
3901
- mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
3902
- } | undefined;
3903
- }[] | undefined;
3904
- requestId?: string | undefined;
3905
3905
  workerSelection?: WorkerSelection | undefined;
3906
3906
  briefId?: string | undefined;
3907
3907
  briefLabel?: string | undefined;
@@ -3909,29 +3909,28 @@ declare const variantWorkItemInputSchemas: {
3909
3909
  briefNotes?: string | undefined;
3910
3910
  visualReferenceUrl?: string | undefined;
3911
3911
  guidance?: {
3912
- title: string;
3913
3912
  id: string;
3913
+ title: string;
3914
3914
  markdown: string;
3915
3915
  attachments?: {
3916
- path: string;
3917
- source: string;
3918
3916
  hash: string;
3919
3917
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif";
3920
3918
  bytes: number;
3921
3919
  representation: "variant" | "image" | "video-cover" | "page";
3920
+ source: string;
3922
3921
  alt: string;
3923
- title?: string | undefined;
3922
+ path: string;
3924
3923
  page?: number | undefined;
3924
+ title?: string | undefined;
3925
3925
  }[] | undefined;
3926
3926
  references?: ({
3927
- path: string;
3928
3927
  kind: "directory";
3928
+ path: string;
3929
3929
  intent: string;
3930
3930
  } | {
3931
- url: string;
3932
3931
  kind: "url" | "repository";
3932
+ url: string;
3933
3933
  intent: string;
3934
- digest?: string | undefined;
3935
3934
  revision?: string | undefined;
3936
3935
  files?: {
3937
3936
  name: string;
@@ -3939,6 +3938,7 @@ declare const variantWorkItemInputSchemas: {
3939
3938
  path?: string | undefined;
3940
3939
  sha256?: string | undefined;
3941
3940
  }[] | undefined;
3941
+ digest?: string | undefined;
3942
3942
  })[] | undefined;
3943
3943
  }[] | undefined;
3944
3944
  previewRoutes?: string[] | undefined;
@@ -3949,7 +3949,7 @@ declare const variantWorkItemInputSchemas: {
3949
3949
  currentHtml?: string | undefined;
3950
3950
  targetElement?: StaticPreviewTargetElement | undefined;
3951
3951
  relevantFiles?: string[] | undefined;
3952
- fidelity?: "low" | "medium" | "high" | undefined;
3952
+ fidelity?: "high" | "medium" | "low" | undefined;
3953
3953
  designContextEntry?: {
3954
3954
  kind: "slug";
3955
3955
  slug: string;
@@ -3997,6 +3997,7 @@ declare const variantWorkItemInputSchemas: {
3997
3997
  path: string;
3998
3998
  id: string;
3999
3999
  transport: "file";
4000
+ label?: string | undefined;
4000
4001
  mimeType?: string | undefined;
4001
4002
  references?: {
4002
4003
  title: string;
@@ -4008,7 +4009,6 @@ declare const variantWorkItemInputSchemas: {
4008
4009
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
4009
4010
  } | undefined;
4010
4011
  }[] | undefined;
4011
- label?: string | undefined;
4012
4012
  userIntent?: string | undefined;
4013
4013
  originalFilename?: string | undefined;
4014
4014
  } | {
@@ -4021,6 +4021,7 @@ declare const variantWorkItemInputSchemas: {
4021
4021
  path: string;
4022
4022
  id: string;
4023
4023
  transport: "text";
4024
+ label?: string | undefined;
4024
4025
  references?: {
4025
4026
  title: string;
4026
4027
  id: string;
@@ -4031,7 +4032,6 @@ declare const variantWorkItemInputSchemas: {
4031
4032
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
4032
4033
  } | undefined;
4033
4034
  }[] | undefined;
4034
- label?: string | undefined;
4035
4035
  userIntent?: string | undefined;
4036
4036
  })[];
4037
4037
  rivetActions: {
@@ -4047,8 +4047,8 @@ declare const variantWorkItemInputSchemas: {
4047
4047
  sectionInventory: string[];
4048
4048
  visualObservations: string[];
4049
4049
  sourceRoles: {
4050
- sourceId: string;
4051
4050
  role: "primary" | "inspiration" | "competitor";
4051
+ sourceId: string;
4052
4052
  rationale?: string | undefined;
4053
4053
  }[];
4054
4054
  qualityBar: string[];
@@ -4059,7 +4059,7 @@ declare const variantWorkItemInputSchemas: {
4059
4059
  kind: "design_system";
4060
4060
  id: string;
4061
4061
  sourceIds: string[];
4062
- producedBy: "browser" | "rivet" | "agent" | "skill";
4062
+ producedBy: "browser" | "agent" | "rivet" | "skill";
4063
4063
  path?: string | undefined;
4064
4064
  actionId?: string | undefined;
4065
4065
  warnings?: string[] | undefined;
@@ -4072,7 +4072,7 @@ declare const variantWorkItemInputSchemas: {
4072
4072
  kind: "motion_guidance";
4073
4073
  id: string;
4074
4074
  sourceIds: string[];
4075
- producedBy: "browser" | "rivet" | "agent" | "skill";
4075
+ producedBy: "browser" | "agent" | "rivet" | "skill";
4076
4076
  path?: string | undefined;
4077
4077
  actionId?: string | undefined;
4078
4078
  warnings?: string[] | undefined;
@@ -4083,8 +4083,8 @@ declare const variantWorkItemInputSchemas: {
4083
4083
  id: string;
4084
4084
  originalFilename: string;
4085
4085
  sizeBytes: number;
4086
- mimeType?: string | undefined;
4087
4086
  label?: string | undefined;
4087
+ mimeType?: string | undefined;
4088
4088
  }[] | undefined;
4089
4089
  bindings?: ({
4090
4090
  kind: "global";
@@ -4101,7 +4101,7 @@ declare const variantWorkItemInputSchemas: {
4101
4101
  executionPlan?: {
4102
4102
  mode: "static_preview" | "vite_app";
4103
4103
  reason: string;
4104
- confidence: "low" | "medium" | "high";
4104
+ confidence: "high" | "medium" | "low";
4105
4105
  assetPlan?: {
4106
4106
  source: string;
4107
4107
  destination: string;
@@ -4115,6 +4115,7 @@ declare const variantWorkItemInputSchemas: {
4115
4115
  kind: "fresh";
4116
4116
  workspacePath: string;
4117
4117
  workspaceRoot: string;
4118
+ framework?: "vite" | "remix" | "next" | "astro" | undefined;
4118
4119
  designContext?: ({
4119
4120
  kind: "slug";
4120
4121
  slug: string;
@@ -4126,7 +4127,7 @@ declare const variantWorkItemInputSchemas: {
4126
4127
  executionPlan?: {
4127
4128
  mode: "static_preview" | "vite_app";
4128
4129
  reason: string;
4129
- confidence: "low" | "medium" | "high";
4130
+ confidence: "high" | "medium" | "low";
4130
4131
  assetPlan?: {
4131
4132
  source: string;
4132
4133
  destination: string;
@@ -4153,6 +4154,7 @@ declare const variantWorkItemInputSchemas: {
4153
4154
  path: string;
4154
4155
  id: string;
4155
4156
  transport: "file";
4157
+ label?: string | undefined;
4156
4158
  mimeType?: string | undefined;
4157
4159
  references?: {
4158
4160
  title: string;
@@ -4164,7 +4166,6 @@ declare const variantWorkItemInputSchemas: {
4164
4166
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
4165
4167
  } | undefined;
4166
4168
  }[] | undefined;
4167
- label?: string | undefined;
4168
4169
  userIntent?: string | undefined;
4169
4170
  originalFilename?: string | undefined;
4170
4171
  } | {
@@ -4177,6 +4178,7 @@ declare const variantWorkItemInputSchemas: {
4177
4178
  path: string;
4178
4179
  id: string;
4179
4180
  transport: "text";
4181
+ label?: string | undefined;
4180
4182
  references?: {
4181
4183
  title: string;
4182
4184
  id: string;
@@ -4187,7 +4189,6 @@ declare const variantWorkItemInputSchemas: {
4187
4189
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
4188
4190
  } | undefined;
4189
4191
  }[] | undefined;
4190
- label?: string | undefined;
4191
4192
  userIntent?: string | undefined;
4192
4193
  })[];
4193
4194
  rivetActions: {
@@ -4203,8 +4204,8 @@ declare const variantWorkItemInputSchemas: {
4203
4204
  sectionInventory: string[];
4204
4205
  visualObservations: string[];
4205
4206
  sourceRoles: {
4206
- sourceId: string;
4207
4207
  role: "primary" | "inspiration" | "competitor";
4208
+ sourceId: string;
4208
4209
  rationale?: string | undefined;
4209
4210
  }[];
4210
4211
  qualityBar: string[];
@@ -4215,7 +4216,7 @@ declare const variantWorkItemInputSchemas: {
4215
4216
  kind: "design_system";
4216
4217
  id: string;
4217
4218
  sourceIds: string[];
4218
- producedBy: "browser" | "rivet" | "agent" | "skill";
4219
+ producedBy: "browser" | "agent" | "rivet" | "skill";
4219
4220
  path?: string | undefined;
4220
4221
  actionId?: string | undefined;
4221
4222
  warnings?: string[] | undefined;
@@ -4228,7 +4229,7 @@ declare const variantWorkItemInputSchemas: {
4228
4229
  kind: "motion_guidance";
4229
4230
  id: string;
4230
4231
  sourceIds: string[];
4231
- producedBy: "browser" | "rivet" | "agent" | "skill";
4232
+ producedBy: "browser" | "agent" | "rivet" | "skill";
4232
4233
  path?: string | undefined;
4233
4234
  actionId?: string | undefined;
4234
4235
  warnings?: string[] | undefined;
@@ -4239,8 +4240,8 @@ declare const variantWorkItemInputSchemas: {
4239
4240
  id: string;
4240
4241
  originalFilename: string;
4241
4242
  sizeBytes: number;
4242
- mimeType?: string | undefined;
4243
4243
  label?: string | undefined;
4244
+ mimeType?: string | undefined;
4244
4245
  }[] | undefined;
4245
4246
  bindings?: ({
4246
4247
  kind: "global";
@@ -4257,7 +4258,7 @@ declare const variantWorkItemInputSchemas: {
4257
4258
  executionPlan?: {
4258
4259
  mode: "static_preview" | "vite_app";
4259
4260
  reason: string;
4260
- confidence: "low" | "medium" | "high";
4261
+ confidence: "high" | "medium" | "low";
4261
4262
  assetPlan?: {
4262
4263
  source: string;
4263
4264
  destination: string;
@@ -4267,7 +4268,6 @@ declare const variantWorkItemInputSchemas: {
4267
4268
  userQuestion?: string | undefined;
4268
4269
  } | undefined;
4269
4270
  } | undefined;
4270
- framework?: "vite" | "remix" | "next" | "astro" | undefined;
4271
4271
  assetSourceRoot?: string | undefined;
4272
4272
  }, z.ZodTypeDef, {
4273
4273
  kind: "existing";
@@ -4298,6 +4298,7 @@ declare const variantWorkItemInputSchemas: {
4298
4298
  path: string;
4299
4299
  id: string;
4300
4300
  transport: "file";
4301
+ label?: string | undefined;
4301
4302
  mimeType?: string | undefined;
4302
4303
  references?: {
4303
4304
  title: string;
@@ -4309,7 +4310,6 @@ declare const variantWorkItemInputSchemas: {
4309
4310
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
4310
4311
  } | undefined;
4311
4312
  }[] | undefined;
4312
- label?: string | undefined;
4313
4313
  userIntent?: string | undefined;
4314
4314
  originalFilename?: string | undefined;
4315
4315
  } | {
@@ -4322,6 +4322,7 @@ declare const variantWorkItemInputSchemas: {
4322
4322
  path: string;
4323
4323
  id: string;
4324
4324
  transport: "text";
4325
+ label?: string | undefined;
4325
4326
  references?: {
4326
4327
  title: string;
4327
4328
  id: string;
@@ -4332,7 +4333,6 @@ declare const variantWorkItemInputSchemas: {
4332
4333
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
4333
4334
  } | undefined;
4334
4335
  }[] | undefined;
4335
- label?: string | undefined;
4336
4336
  userIntent?: string | undefined;
4337
4337
  })[];
4338
4338
  rivetActions: {
@@ -4348,8 +4348,8 @@ declare const variantWorkItemInputSchemas: {
4348
4348
  sectionInventory: string[];
4349
4349
  visualObservations: string[];
4350
4350
  sourceRoles: {
4351
- sourceId: string;
4352
4351
  role: "primary" | "inspiration" | "competitor";
4352
+ sourceId: string;
4353
4353
  rationale?: string | undefined;
4354
4354
  }[];
4355
4355
  qualityBar: string[];
@@ -4360,7 +4360,7 @@ declare const variantWorkItemInputSchemas: {
4360
4360
  kind: "design_system";
4361
4361
  id: string;
4362
4362
  sourceIds: string[];
4363
- producedBy: "browser" | "rivet" | "agent" | "skill";
4363
+ producedBy: "browser" | "agent" | "rivet" | "skill";
4364
4364
  path?: string | undefined;
4365
4365
  actionId?: string | undefined;
4366
4366
  warnings?: string[] | undefined;
@@ -4373,7 +4373,7 @@ declare const variantWorkItemInputSchemas: {
4373
4373
  kind: "motion_guidance";
4374
4374
  id: string;
4375
4375
  sourceIds: string[];
4376
- producedBy: "browser" | "rivet" | "agent" | "skill";
4376
+ producedBy: "browser" | "agent" | "rivet" | "skill";
4377
4377
  path?: string | undefined;
4378
4378
  actionId?: string | undefined;
4379
4379
  warnings?: string[] | undefined;
@@ -4384,8 +4384,8 @@ declare const variantWorkItemInputSchemas: {
4384
4384
  id: string;
4385
4385
  originalFilename: string;
4386
4386
  sizeBytes: number;
4387
- mimeType?: string | undefined;
4388
4387
  label?: string | undefined;
4388
+ mimeType?: string | undefined;
4389
4389
  }[] | undefined;
4390
4390
  bindings?: ({
4391
4391
  kind: "global";
@@ -4402,7 +4402,7 @@ declare const variantWorkItemInputSchemas: {
4402
4402
  executionPlan?: {
4403
4403
  mode: "static_preview" | "vite_app";
4404
4404
  reason: string;
4405
- confidence: "low" | "medium" | "high";
4405
+ confidence: "high" | "medium" | "low";
4406
4406
  assetPlan?: {
4407
4407
  source: string;
4408
4408
  destination: string;
@@ -4416,6 +4416,7 @@ declare const variantWorkItemInputSchemas: {
4416
4416
  kind: "fresh";
4417
4417
  workspacePath: string;
4418
4418
  workspaceRoot: string;
4419
+ framework?: "vite" | "remix" | "next" | "astro" | undefined;
4419
4420
  designContext?: ({
4420
4421
  kind: "slug";
4421
4422
  slug: string;
@@ -4427,7 +4428,7 @@ declare const variantWorkItemInputSchemas: {
4427
4428
  executionPlan?: {
4428
4429
  mode: "static_preview" | "vite_app";
4429
4430
  reason: string;
4430
- confidence: "low" | "medium" | "high";
4431
+ confidence: "high" | "medium" | "low";
4431
4432
  assetPlan?: {
4432
4433
  source: string;
4433
4434
  destination: string;
@@ -4454,6 +4455,7 @@ declare const variantWorkItemInputSchemas: {
4454
4455
  path: string;
4455
4456
  id: string;
4456
4457
  transport: "file";
4458
+ label?: string | undefined;
4457
4459
  mimeType?: string | undefined;
4458
4460
  references?: {
4459
4461
  title: string;
@@ -4465,7 +4467,6 @@ declare const variantWorkItemInputSchemas: {
4465
4467
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
4466
4468
  } | undefined;
4467
4469
  }[] | undefined;
4468
- label?: string | undefined;
4469
4470
  userIntent?: string | undefined;
4470
4471
  originalFilename?: string | undefined;
4471
4472
  } | {
@@ -4478,6 +4479,7 @@ declare const variantWorkItemInputSchemas: {
4478
4479
  path: string;
4479
4480
  id: string;
4480
4481
  transport: "text";
4482
+ label?: string | undefined;
4481
4483
  references?: {
4482
4484
  title: string;
4483
4485
  id: string;
@@ -4488,7 +4490,6 @@ declare const variantWorkItemInputSchemas: {
4488
4490
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
4489
4491
  } | undefined;
4490
4492
  }[] | undefined;
4491
- label?: string | undefined;
4492
4493
  userIntent?: string | undefined;
4493
4494
  })[];
4494
4495
  rivetActions: {
@@ -4504,8 +4505,8 @@ declare const variantWorkItemInputSchemas: {
4504
4505
  sectionInventory: string[];
4505
4506
  visualObservations: string[];
4506
4507
  sourceRoles: {
4507
- sourceId: string;
4508
4508
  role: "primary" | "inspiration" | "competitor";
4509
+ sourceId: string;
4509
4510
  rationale?: string | undefined;
4510
4511
  }[];
4511
4512
  qualityBar: string[];
@@ -4516,7 +4517,7 @@ declare const variantWorkItemInputSchemas: {
4516
4517
  kind: "design_system";
4517
4518
  id: string;
4518
4519
  sourceIds: string[];
4519
- producedBy: "browser" | "rivet" | "agent" | "skill";
4520
+ producedBy: "browser" | "agent" | "rivet" | "skill";
4520
4521
  path?: string | undefined;
4521
4522
  actionId?: string | undefined;
4522
4523
  warnings?: string[] | undefined;
@@ -4529,7 +4530,7 @@ declare const variantWorkItemInputSchemas: {
4529
4530
  kind: "motion_guidance";
4530
4531
  id: string;
4531
4532
  sourceIds: string[];
4532
- producedBy: "browser" | "rivet" | "agent" | "skill";
4533
+ producedBy: "browser" | "agent" | "rivet" | "skill";
4533
4534
  path?: string | undefined;
4534
4535
  actionId?: string | undefined;
4535
4536
  warnings?: string[] | undefined;
@@ -4540,8 +4541,8 @@ declare const variantWorkItemInputSchemas: {
4540
4541
  id: string;
4541
4542
  originalFilename: string;
4542
4543
  sizeBytes: number;
4543
- mimeType?: string | undefined;
4544
4544
  label?: string | undefined;
4545
+ mimeType?: string | undefined;
4545
4546
  }[] | undefined;
4546
4547
  bindings?: ({
4547
4548
  kind: "global";
@@ -4558,7 +4559,7 @@ declare const variantWorkItemInputSchemas: {
4558
4559
  executionPlan?: {
4559
4560
  mode: "static_preview" | "vite_app";
4560
4561
  reason: string;
4561
- confidence: "low" | "medium" | "high";
4562
+ confidence: "high" | "medium" | "low";
4562
4563
  assetPlan?: {
4563
4564
  source: string;
4564
4565
  destination: string;
@@ -4568,36 +4569,34 @@ declare const variantWorkItemInputSchemas: {
4568
4569
  userQuestion?: string | undefined;
4569
4570
  } | undefined;
4570
4571
  } | undefined;
4571
- framework?: "vite" | "remix" | "next" | "astro" | undefined;
4572
4572
  assetSourceRoot?: string | undefined;
4573
4573
  }>;
4574
4574
  briefNotes: z.ZodOptional<z.ZodString>;
4575
4575
  visualReferenceUrl: z.ZodOptional<z.ZodString>;
4576
4576
  instruction: z.ZodOptional<z.ZodString>;
4577
4577
  guidance: z.ZodOptional<z.ZodArray<z.ZodType<{
4578
- title: string;
4579
4578
  id: string;
4579
+ title: string;
4580
4580
  markdown: string;
4581
4581
  attachments?: {
4582
- path: string;
4583
- source: string;
4584
4582
  hash: string;
4585
4583
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif";
4586
4584
  bytes: number;
4587
4585
  representation: "variant" | "image" | "video-cover" | "page";
4586
+ source: string;
4588
4587
  alt: string;
4589
- title?: string | undefined;
4588
+ path: string;
4590
4589
  page?: number | undefined;
4590
+ title?: string | undefined;
4591
4591
  }[] | undefined;
4592
4592
  references?: ({
4593
- path: string;
4594
4593
  kind: "directory";
4594
+ path: string;
4595
4595
  intent: string;
4596
4596
  } | {
4597
- url: string;
4598
4597
  kind: "url" | "repository";
4598
+ url: string;
4599
4599
  intent: string;
4600
- digest?: string | undefined;
4601
4600
  revision?: string | undefined;
4602
4601
  files?: {
4603
4602
  name: string;
@@ -4605,31 +4604,31 @@ declare const variantWorkItemInputSchemas: {
4605
4604
  path?: string | undefined;
4606
4605
  sha256?: string | undefined;
4607
4606
  }[] | undefined;
4607
+ digest?: string | undefined;
4608
4608
  })[] | undefined;
4609
4609
  }, z.ZodTypeDef, {
4610
- title: string;
4611
4610
  id: string;
4611
+ title: string;
4612
4612
  markdown: string;
4613
4613
  attachments?: {
4614
- path: string;
4615
- source: string;
4616
4614
  hash: string;
4617
4615
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif";
4618
4616
  bytes: number;
4619
4617
  representation: "variant" | "image" | "video-cover" | "page";
4618
+ source: string;
4620
4619
  alt: string;
4621
- title?: string | undefined;
4620
+ path: string;
4622
4621
  page?: number | undefined;
4622
+ title?: string | undefined;
4623
4623
  }[] | undefined;
4624
4624
  references?: ({
4625
- path: string;
4626
4625
  kind: "directory";
4626
+ path: string;
4627
4627
  intent: string;
4628
4628
  } | {
4629
- url: string;
4630
4629
  kind: "url" | "repository";
4630
+ url: string;
4631
4631
  intent: string;
4632
- digest?: string | undefined;
4633
4632
  revision?: string | undefined;
4634
4633
  files?: {
4635
4634
  name: string;
@@ -4637,6 +4636,7 @@ declare const variantWorkItemInputSchemas: {
4637
4636
  path?: string | undefined;
4638
4637
  sha256?: string | undefined;
4639
4638
  }[] | undefined;
4639
+ digest?: string | undefined;
4640
4640
  })[] | undefined;
4641
4641
  }>, "many">>;
4642
4642
  previewRoutes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
@@ -4694,8 +4694,8 @@ declare const variantWorkItemInputSchemas: {
4694
4694
  context: z.ZodOptional<z.ZodType<{
4695
4695
  brief: {
4696
4696
  label: string;
4697
- briefId: string;
4698
4697
  body: string;
4698
+ briefId: string;
4699
4699
  notes?: string | undefined;
4700
4700
  visualReferenceUrl?: string | undefined;
4701
4701
  };
@@ -4714,6 +4714,7 @@ declare const variantWorkItemInputSchemas: {
4714
4714
  path: string;
4715
4715
  id: string;
4716
4716
  transport: "file";
4717
+ label?: string | undefined;
4717
4718
  mimeType?: string | undefined;
4718
4719
  references?: {
4719
4720
  title: string;
@@ -4725,7 +4726,6 @@ declare const variantWorkItemInputSchemas: {
4725
4726
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
4726
4727
  } | undefined;
4727
4728
  }[] | undefined;
4728
- label?: string | undefined;
4729
4729
  userIntent?: string | undefined;
4730
4730
  originalFilename?: string | undefined;
4731
4731
  } | {
@@ -4738,6 +4738,7 @@ declare const variantWorkItemInputSchemas: {
4738
4738
  path: string;
4739
4739
  id: string;
4740
4740
  transport: "text";
4741
+ label?: string | undefined;
4741
4742
  references?: {
4742
4743
  title: string;
4743
4744
  id: string;
@@ -4748,7 +4749,6 @@ declare const variantWorkItemInputSchemas: {
4748
4749
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
4749
4750
  } | undefined;
4750
4751
  }[] | undefined;
4751
- label?: string | undefined;
4752
4752
  userIntent?: string | undefined;
4753
4753
  })[];
4754
4754
  rivetMetadata: ({
@@ -4757,8 +4757,8 @@ declare const variantWorkItemInputSchemas: {
4757
4757
  sectionInventory: string[];
4758
4758
  visualObservations: string[];
4759
4759
  sourceRoles: {
4760
- sourceId: string;
4761
4760
  role: "primary" | "inspiration" | "competitor";
4761
+ sourceId: string;
4762
4762
  rationale?: string | undefined;
4763
4763
  }[];
4764
4764
  qualityBar: string[];
@@ -4769,7 +4769,7 @@ declare const variantWorkItemInputSchemas: {
4769
4769
  kind: "design_system";
4770
4770
  id: string;
4771
4771
  sourceIds: string[];
4772
- producedBy: "browser" | "rivet" | "agent" | "skill";
4772
+ producedBy: "browser" | "agent" | "rivet" | "skill";
4773
4773
  path?: string | undefined;
4774
4774
  actionId?: string | undefined;
4775
4775
  warnings?: string[] | undefined;
@@ -4782,7 +4782,7 @@ declare const variantWorkItemInputSchemas: {
4782
4782
  kind: "motion_guidance";
4783
4783
  id: string;
4784
4784
  sourceIds: string[];
4785
- producedBy: "browser" | "rivet" | "agent" | "skill";
4785
+ producedBy: "browser" | "agent" | "rivet" | "skill";
4786
4786
  path?: string | undefined;
4787
4787
  actionId?: string | undefined;
4788
4788
  warnings?: string[] | undefined;
@@ -4803,15 +4803,15 @@ declare const variantWorkItemInputSchemas: {
4803
4803
  id: string;
4804
4804
  originalFilename: string;
4805
4805
  sizeBytes: number;
4806
- mimeType?: string | undefined;
4807
4806
  label?: string | undefined;
4807
+ mimeType?: string | undefined;
4808
4808
  }[] | undefined;
4809
4809
  executionMode?: "static_preview" | "vite_app" | undefined;
4810
4810
  }, z.ZodTypeDef, {
4811
4811
  brief: {
4812
4812
  label: string;
4813
- briefId: string;
4814
4813
  body: string;
4814
+ briefId: string;
4815
4815
  notes?: string | undefined;
4816
4816
  visualReferenceUrl?: string | undefined;
4817
4817
  };
@@ -4830,6 +4830,7 @@ declare const variantWorkItemInputSchemas: {
4830
4830
  path: string;
4831
4831
  id: string;
4832
4832
  transport: "file";
4833
+ label?: string | undefined;
4833
4834
  mimeType?: string | undefined;
4834
4835
  references?: {
4835
4836
  title: string;
@@ -4841,7 +4842,6 @@ declare const variantWorkItemInputSchemas: {
4841
4842
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
4842
4843
  } | undefined;
4843
4844
  }[] | undefined;
4844
- label?: string | undefined;
4845
4845
  userIntent?: string | undefined;
4846
4846
  originalFilename?: string | undefined;
4847
4847
  } | {
@@ -4854,6 +4854,7 @@ declare const variantWorkItemInputSchemas: {
4854
4854
  path: string;
4855
4855
  id: string;
4856
4856
  transport: "text";
4857
+ label?: string | undefined;
4857
4858
  references?: {
4858
4859
  title: string;
4859
4860
  id: string;
@@ -4864,7 +4865,6 @@ declare const variantWorkItemInputSchemas: {
4864
4865
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
4865
4866
  } | undefined;
4866
4867
  }[] | undefined;
4867
- label?: string | undefined;
4868
4868
  userIntent?: string | undefined;
4869
4869
  })[];
4870
4870
  rivetMetadata: ({
@@ -4873,8 +4873,8 @@ declare const variantWorkItemInputSchemas: {
4873
4873
  sectionInventory: string[];
4874
4874
  visualObservations: string[];
4875
4875
  sourceRoles: {
4876
- sourceId: string;
4877
4876
  role: "primary" | "inspiration" | "competitor";
4877
+ sourceId: string;
4878
4878
  rationale?: string | undefined;
4879
4879
  }[];
4880
4880
  qualityBar: string[];
@@ -4885,7 +4885,7 @@ declare const variantWorkItemInputSchemas: {
4885
4885
  kind: "design_system";
4886
4886
  id: string;
4887
4887
  sourceIds: string[];
4888
- producedBy: "browser" | "rivet" | "agent" | "skill";
4888
+ producedBy: "browser" | "agent" | "rivet" | "skill";
4889
4889
  path?: string | undefined;
4890
4890
  actionId?: string | undefined;
4891
4891
  warnings?: string[] | undefined;
@@ -4898,7 +4898,7 @@ declare const variantWorkItemInputSchemas: {
4898
4898
  kind: "motion_guidance";
4899
4899
  id: string;
4900
4900
  sourceIds: string[];
4901
- producedBy: "browser" | "rivet" | "agent" | "skill";
4901
+ producedBy: "browser" | "agent" | "rivet" | "skill";
4902
4902
  path?: string | undefined;
4903
4903
  actionId?: string | undefined;
4904
4904
  warnings?: string[] | undefined;
@@ -4919,8 +4919,8 @@ declare const variantWorkItemInputSchemas: {
4919
4919
  id: string;
4920
4920
  originalFilename: string;
4921
4921
  sizeBytes: number;
4922
- mimeType?: string | undefined;
4923
4922
  label?: string | undefined;
4923
+ mimeType?: string | undefined;
4924
4924
  }[] | undefined;
4925
4925
  executionMode?: "static_preview" | "vite_app" | undefined;
4926
4926
  }>>;
@@ -4975,6 +4975,7 @@ declare const variantWorkItemInputSchemas: {
4975
4975
  path: string;
4976
4976
  id: string;
4977
4977
  transport: "file";
4978
+ label?: string | undefined;
4978
4979
  mimeType?: string | undefined;
4979
4980
  references?: {
4980
4981
  title: string;
@@ -4986,7 +4987,6 @@ declare const variantWorkItemInputSchemas: {
4986
4987
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
4987
4988
  } | undefined;
4988
4989
  }[] | undefined;
4989
- label?: string | undefined;
4990
4990
  userIntent?: string | undefined;
4991
4991
  originalFilename?: string | undefined;
4992
4992
  } | {
@@ -4999,6 +4999,7 @@ declare const variantWorkItemInputSchemas: {
4999
4999
  path: string;
5000
5000
  id: string;
5001
5001
  transport: "text";
5002
+ label?: string | undefined;
5002
5003
  references?: {
5003
5004
  title: string;
5004
5005
  id: string;
@@ -5009,7 +5010,6 @@ declare const variantWorkItemInputSchemas: {
5009
5010
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
5010
5011
  } | undefined;
5011
5012
  }[] | undefined;
5012
- label?: string | undefined;
5013
5013
  userIntent?: string | undefined;
5014
5014
  })[];
5015
5015
  rivetActions: {
@@ -5025,8 +5025,8 @@ declare const variantWorkItemInputSchemas: {
5025
5025
  sectionInventory: string[];
5026
5026
  visualObservations: string[];
5027
5027
  sourceRoles: {
5028
- sourceId: string;
5029
5028
  role: "primary" | "inspiration" | "competitor";
5029
+ sourceId: string;
5030
5030
  rationale?: string | undefined;
5031
5031
  }[];
5032
5032
  qualityBar: string[];
@@ -5037,7 +5037,7 @@ declare const variantWorkItemInputSchemas: {
5037
5037
  kind: "design_system";
5038
5038
  id: string;
5039
5039
  sourceIds: string[];
5040
- producedBy: "browser" | "rivet" | "agent" | "skill";
5040
+ producedBy: "browser" | "agent" | "rivet" | "skill";
5041
5041
  path?: string | undefined;
5042
5042
  actionId?: string | undefined;
5043
5043
  warnings?: string[] | undefined;
@@ -5050,7 +5050,7 @@ declare const variantWorkItemInputSchemas: {
5050
5050
  kind: "motion_guidance";
5051
5051
  id: string;
5052
5052
  sourceIds: string[];
5053
- producedBy: "browser" | "rivet" | "agent" | "skill";
5053
+ producedBy: "browser" | "agent" | "rivet" | "skill";
5054
5054
  path?: string | undefined;
5055
5055
  actionId?: string | undefined;
5056
5056
  warnings?: string[] | undefined;
@@ -5061,8 +5061,8 @@ declare const variantWorkItemInputSchemas: {
5061
5061
  id: string;
5062
5062
  originalFilename: string;
5063
5063
  sizeBytes: number;
5064
- mimeType?: string | undefined;
5065
5064
  label?: string | undefined;
5065
+ mimeType?: string | undefined;
5066
5066
  }[] | undefined;
5067
5067
  bindings?: ({
5068
5068
  kind: "global";
@@ -5079,7 +5079,7 @@ declare const variantWorkItemInputSchemas: {
5079
5079
  executionPlan?: {
5080
5080
  mode: "static_preview" | "vite_app";
5081
5081
  reason: string;
5082
- confidence: "low" | "medium" | "high";
5082
+ confidence: "high" | "medium" | "low";
5083
5083
  assetPlan?: {
5084
5084
  source: string;
5085
5085
  destination: string;
@@ -5093,6 +5093,7 @@ declare const variantWorkItemInputSchemas: {
5093
5093
  kind: "fresh";
5094
5094
  workspacePath: string;
5095
5095
  workspaceRoot: string;
5096
+ framework?: "vite" | "remix" | "next" | "astro" | undefined;
5096
5097
  designContext?: ({
5097
5098
  kind: "slug";
5098
5099
  slug: string;
@@ -5104,7 +5105,7 @@ declare const variantWorkItemInputSchemas: {
5104
5105
  executionPlan?: {
5105
5106
  mode: "static_preview" | "vite_app";
5106
5107
  reason: string;
5107
- confidence: "low" | "medium" | "high";
5108
+ confidence: "high" | "medium" | "low";
5108
5109
  assetPlan?: {
5109
5110
  source: string;
5110
5111
  destination: string;
@@ -5131,6 +5132,7 @@ declare const variantWorkItemInputSchemas: {
5131
5132
  path: string;
5132
5133
  id: string;
5133
5134
  transport: "file";
5135
+ label?: string | undefined;
5134
5136
  mimeType?: string | undefined;
5135
5137
  references?: {
5136
5138
  title: string;
@@ -5142,7 +5144,6 @@ declare const variantWorkItemInputSchemas: {
5142
5144
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
5143
5145
  } | undefined;
5144
5146
  }[] | undefined;
5145
- label?: string | undefined;
5146
5147
  userIntent?: string | undefined;
5147
5148
  originalFilename?: string | undefined;
5148
5149
  } | {
@@ -5155,6 +5156,7 @@ declare const variantWorkItemInputSchemas: {
5155
5156
  path: string;
5156
5157
  id: string;
5157
5158
  transport: "text";
5159
+ label?: string | undefined;
5158
5160
  references?: {
5159
5161
  title: string;
5160
5162
  id: string;
@@ -5165,7 +5167,6 @@ declare const variantWorkItemInputSchemas: {
5165
5167
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
5166
5168
  } | undefined;
5167
5169
  }[] | undefined;
5168
- label?: string | undefined;
5169
5170
  userIntent?: string | undefined;
5170
5171
  })[];
5171
5172
  rivetActions: {
@@ -5181,8 +5182,8 @@ declare const variantWorkItemInputSchemas: {
5181
5182
  sectionInventory: string[];
5182
5183
  visualObservations: string[];
5183
5184
  sourceRoles: {
5184
- sourceId: string;
5185
5185
  role: "primary" | "inspiration" | "competitor";
5186
+ sourceId: string;
5186
5187
  rationale?: string | undefined;
5187
5188
  }[];
5188
5189
  qualityBar: string[];
@@ -5193,7 +5194,7 @@ declare const variantWorkItemInputSchemas: {
5193
5194
  kind: "design_system";
5194
5195
  id: string;
5195
5196
  sourceIds: string[];
5196
- producedBy: "browser" | "rivet" | "agent" | "skill";
5197
+ producedBy: "browser" | "agent" | "rivet" | "skill";
5197
5198
  path?: string | undefined;
5198
5199
  actionId?: string | undefined;
5199
5200
  warnings?: string[] | undefined;
@@ -5206,7 +5207,7 @@ declare const variantWorkItemInputSchemas: {
5206
5207
  kind: "motion_guidance";
5207
5208
  id: string;
5208
5209
  sourceIds: string[];
5209
- producedBy: "browser" | "rivet" | "agent" | "skill";
5210
+ producedBy: "browser" | "agent" | "rivet" | "skill";
5210
5211
  path?: string | undefined;
5211
5212
  actionId?: string | undefined;
5212
5213
  warnings?: string[] | undefined;
@@ -5217,8 +5218,8 @@ declare const variantWorkItemInputSchemas: {
5217
5218
  id: string;
5218
5219
  originalFilename: string;
5219
5220
  sizeBytes: number;
5220
- mimeType?: string | undefined;
5221
5221
  label?: string | undefined;
5222
+ mimeType?: string | undefined;
5222
5223
  }[] | undefined;
5223
5224
  bindings?: ({
5224
5225
  kind: "global";
@@ -5235,7 +5236,7 @@ declare const variantWorkItemInputSchemas: {
5235
5236
  executionPlan?: {
5236
5237
  mode: "static_preview" | "vite_app";
5237
5238
  reason: string;
5238
- confidence: "low" | "medium" | "high";
5239
+ confidence: "high" | "medium" | "low";
5239
5240
  assetPlan?: {
5240
5241
  source: string;
5241
5242
  destination: string;
@@ -5245,17 +5246,33 @@ declare const variantWorkItemInputSchemas: {
5245
5246
  userQuestion?: string | undefined;
5246
5247
  } | undefined;
5247
5248
  } | undefined;
5248
- framework?: "vite" | "remix" | "next" | "astro" | undefined;
5249
5249
  assetSourceRoot?: string | undefined;
5250
5250
  };
5251
5251
  briefId: string;
5252
5252
  briefLabel: string;
5253
5253
  briefBody: string;
5254
+ target?: {
5255
+ type: "route" | "file" | "element";
5256
+ ref: string;
5257
+ } | undefined;
5258
+ references?: {
5259
+ title: string;
5260
+ id: string;
5261
+ reason?: string | undefined;
5262
+ url?: string | undefined;
5263
+ image?: {
5264
+ hash: string;
5265
+ mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
5266
+ } | undefined;
5267
+ }[] | undefined;
5268
+ variantId?: string | undefined;
5269
+ requestId?: string | undefined;
5270
+ instruction?: string | undefined;
5254
5271
  context?: {
5255
5272
  brief: {
5256
5273
  label: string;
5257
- briefId: string;
5258
5274
  body: string;
5275
+ briefId: string;
5259
5276
  notes?: string | undefined;
5260
5277
  visualReferenceUrl?: string | undefined;
5261
5278
  };
@@ -5274,6 +5291,7 @@ declare const variantWorkItemInputSchemas: {
5274
5291
  path: string;
5275
5292
  id: string;
5276
5293
  transport: "file";
5294
+ label?: string | undefined;
5277
5295
  mimeType?: string | undefined;
5278
5296
  references?: {
5279
5297
  title: string;
@@ -5285,7 +5303,6 @@ declare const variantWorkItemInputSchemas: {
5285
5303
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
5286
5304
  } | undefined;
5287
5305
  }[] | undefined;
5288
- label?: string | undefined;
5289
5306
  userIntent?: string | undefined;
5290
5307
  originalFilename?: string | undefined;
5291
5308
  } | {
@@ -5298,6 +5315,7 @@ declare const variantWorkItemInputSchemas: {
5298
5315
  path: string;
5299
5316
  id: string;
5300
5317
  transport: "text";
5318
+ label?: string | undefined;
5301
5319
  references?: {
5302
5320
  title: string;
5303
5321
  id: string;
@@ -5308,7 +5326,6 @@ declare const variantWorkItemInputSchemas: {
5308
5326
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
5309
5327
  } | undefined;
5310
5328
  }[] | undefined;
5311
- label?: string | undefined;
5312
5329
  userIntent?: string | undefined;
5313
5330
  })[];
5314
5331
  rivetMetadata: ({
@@ -5317,8 +5334,8 @@ declare const variantWorkItemInputSchemas: {
5317
5334
  sectionInventory: string[];
5318
5335
  visualObservations: string[];
5319
5336
  sourceRoles: {
5320
- sourceId: string;
5321
5337
  role: "primary" | "inspiration" | "competitor";
5338
+ sourceId: string;
5322
5339
  rationale?: string | undefined;
5323
5340
  }[];
5324
5341
  qualityBar: string[];
@@ -5329,7 +5346,7 @@ declare const variantWorkItemInputSchemas: {
5329
5346
  kind: "design_system";
5330
5347
  id: string;
5331
5348
  sourceIds: string[];
5332
- producedBy: "browser" | "rivet" | "agent" | "skill";
5349
+ producedBy: "browser" | "agent" | "rivet" | "skill";
5333
5350
  path?: string | undefined;
5334
5351
  actionId?: string | undefined;
5335
5352
  warnings?: string[] | undefined;
@@ -5342,7 +5359,7 @@ declare const variantWorkItemInputSchemas: {
5342
5359
  kind: "motion_guidance";
5343
5360
  id: string;
5344
5361
  sourceIds: string[];
5345
- producedBy: "browser" | "rivet" | "agent" | "skill";
5362
+ producedBy: "browser" | "agent" | "rivet" | "skill";
5346
5363
  path?: string | undefined;
5347
5364
  actionId?: string | undefined;
5348
5365
  warnings?: string[] | undefined;
@@ -5363,55 +5380,37 @@ declare const variantWorkItemInputSchemas: {
5363
5380
  id: string;
5364
5381
  originalFilename: string;
5365
5382
  sizeBytes: number;
5366
- mimeType?: string | undefined;
5367
5383
  label?: string | undefined;
5384
+ mimeType?: string | undefined;
5368
5385
  }[] | undefined;
5369
5386
  executionMode?: "static_preview" | "vite_app" | undefined;
5370
5387
  } | undefined;
5371
- target?: {
5372
- type: "route" | "file" | "element";
5373
- ref: string;
5374
- } | undefined;
5375
- references?: {
5376
- title: string;
5377
- id: string;
5378
- reason?: string | undefined;
5379
- url?: string | undefined;
5380
- image?: {
5381
- hash: string;
5382
- mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
5383
- } | undefined;
5384
- }[] | undefined;
5385
- variantId?: string | undefined;
5386
- requestId?: string | undefined;
5387
- instruction?: string | undefined;
5388
5388
  workerSelection?: WorkerSelection | undefined;
5389
5389
  briefNotes?: string | undefined;
5390
5390
  visualReferenceUrl?: string | undefined;
5391
5391
  guidance?: {
5392
- title: string;
5393
5392
  id: string;
5393
+ title: string;
5394
5394
  markdown: string;
5395
5395
  attachments?: {
5396
- path: string;
5397
- source: string;
5398
5396
  hash: string;
5399
5397
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif";
5400
5398
  bytes: number;
5401
5399
  representation: "variant" | "image" | "video-cover" | "page";
5400
+ source: string;
5402
5401
  alt: string;
5403
- title?: string | undefined;
5402
+ path: string;
5404
5403
  page?: number | undefined;
5404
+ title?: string | undefined;
5405
5405
  }[] | undefined;
5406
5406
  references?: ({
5407
- path: string;
5408
5407
  kind: "directory";
5408
+ path: string;
5409
5409
  intent: string;
5410
5410
  } | {
5411
- url: string;
5412
5411
  kind: "url" | "repository";
5412
+ url: string;
5413
5413
  intent: string;
5414
- digest?: string | undefined;
5415
5414
  revision?: string | undefined;
5416
5415
  files?: {
5417
5416
  name: string;
@@ -5419,6 +5418,7 @@ declare const variantWorkItemInputSchemas: {
5419
5418
  path?: string | undefined;
5420
5419
  sha256?: string | undefined;
5421
5420
  }[] | undefined;
5421
+ digest?: string | undefined;
5422
5422
  })[] | undefined;
5423
5423
  }[] | undefined;
5424
5424
  previewRoutes?: string[] | undefined;
@@ -5429,7 +5429,7 @@ declare const variantWorkItemInputSchemas: {
5429
5429
  currentHtml?: string | undefined;
5430
5430
  targetElement?: StaticPreviewTargetElement | undefined;
5431
5431
  relevantFiles?: string[] | undefined;
5432
- fidelity?: "low" | "medium" | "high" | undefined;
5432
+ fidelity?: "high" | "medium" | "low" | undefined;
5433
5433
  designContextEntry?: {
5434
5434
  kind: "slug";
5435
5435
  slug: string;
@@ -5475,6 +5475,7 @@ declare const variantWorkItemInputSchemas: {
5475
5475
  path: string;
5476
5476
  id: string;
5477
5477
  transport: "file";
5478
+ label?: string | undefined;
5478
5479
  mimeType?: string | undefined;
5479
5480
  references?: {
5480
5481
  title: string;
@@ -5486,7 +5487,6 @@ declare const variantWorkItemInputSchemas: {
5486
5487
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
5487
5488
  } | undefined;
5488
5489
  }[] | undefined;
5489
- label?: string | undefined;
5490
5490
  userIntent?: string | undefined;
5491
5491
  originalFilename?: string | undefined;
5492
5492
  } | {
@@ -5499,6 +5499,7 @@ declare const variantWorkItemInputSchemas: {
5499
5499
  path: string;
5500
5500
  id: string;
5501
5501
  transport: "text";
5502
+ label?: string | undefined;
5502
5503
  references?: {
5503
5504
  title: string;
5504
5505
  id: string;
@@ -5509,7 +5510,6 @@ declare const variantWorkItemInputSchemas: {
5509
5510
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
5510
5511
  } | undefined;
5511
5512
  }[] | undefined;
5512
- label?: string | undefined;
5513
5513
  userIntent?: string | undefined;
5514
5514
  })[];
5515
5515
  rivetActions: {
@@ -5525,8 +5525,8 @@ declare const variantWorkItemInputSchemas: {
5525
5525
  sectionInventory: string[];
5526
5526
  visualObservations: string[];
5527
5527
  sourceRoles: {
5528
- sourceId: string;
5529
5528
  role: "primary" | "inspiration" | "competitor";
5529
+ sourceId: string;
5530
5530
  rationale?: string | undefined;
5531
5531
  }[];
5532
5532
  qualityBar: string[];
@@ -5537,7 +5537,7 @@ declare const variantWorkItemInputSchemas: {
5537
5537
  kind: "design_system";
5538
5538
  id: string;
5539
5539
  sourceIds: string[];
5540
- producedBy: "browser" | "rivet" | "agent" | "skill";
5540
+ producedBy: "browser" | "agent" | "rivet" | "skill";
5541
5541
  path?: string | undefined;
5542
5542
  actionId?: string | undefined;
5543
5543
  warnings?: string[] | undefined;
@@ -5550,7 +5550,7 @@ declare const variantWorkItemInputSchemas: {
5550
5550
  kind: "motion_guidance";
5551
5551
  id: string;
5552
5552
  sourceIds: string[];
5553
- producedBy: "browser" | "rivet" | "agent" | "skill";
5553
+ producedBy: "browser" | "agent" | "rivet" | "skill";
5554
5554
  path?: string | undefined;
5555
5555
  actionId?: string | undefined;
5556
5556
  warnings?: string[] | undefined;
@@ -5561,8 +5561,8 @@ declare const variantWorkItemInputSchemas: {
5561
5561
  id: string;
5562
5562
  originalFilename: string;
5563
5563
  sizeBytes: number;
5564
- mimeType?: string | undefined;
5565
5564
  label?: string | undefined;
5565
+ mimeType?: string | undefined;
5566
5566
  }[] | undefined;
5567
5567
  bindings?: ({
5568
5568
  kind: "global";
@@ -5579,7 +5579,7 @@ declare const variantWorkItemInputSchemas: {
5579
5579
  executionPlan?: {
5580
5580
  mode: "static_preview" | "vite_app";
5581
5581
  reason: string;
5582
- confidence: "low" | "medium" | "high";
5582
+ confidence: "high" | "medium" | "low";
5583
5583
  assetPlan?: {
5584
5584
  source: string;
5585
5585
  destination: string;
@@ -5593,6 +5593,7 @@ declare const variantWorkItemInputSchemas: {
5593
5593
  kind: "fresh";
5594
5594
  workspacePath: string;
5595
5595
  workspaceRoot: string;
5596
+ framework?: "vite" | "remix" | "next" | "astro" | undefined;
5596
5597
  designContext?: ({
5597
5598
  kind: "slug";
5598
5599
  slug: string;
@@ -5604,7 +5605,7 @@ declare const variantWorkItemInputSchemas: {
5604
5605
  executionPlan?: {
5605
5606
  mode: "static_preview" | "vite_app";
5606
5607
  reason: string;
5607
- confidence: "low" | "medium" | "high";
5608
+ confidence: "high" | "medium" | "low";
5608
5609
  assetPlan?: {
5609
5610
  source: string;
5610
5611
  destination: string;
@@ -5631,6 +5632,7 @@ declare const variantWorkItemInputSchemas: {
5631
5632
  path: string;
5632
5633
  id: string;
5633
5634
  transport: "file";
5635
+ label?: string | undefined;
5634
5636
  mimeType?: string | undefined;
5635
5637
  references?: {
5636
5638
  title: string;
@@ -5642,7 +5644,6 @@ declare const variantWorkItemInputSchemas: {
5642
5644
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
5643
5645
  } | undefined;
5644
5646
  }[] | undefined;
5645
- label?: string | undefined;
5646
5647
  userIntent?: string | undefined;
5647
5648
  originalFilename?: string | undefined;
5648
5649
  } | {
@@ -5655,6 +5656,7 @@ declare const variantWorkItemInputSchemas: {
5655
5656
  path: string;
5656
5657
  id: string;
5657
5658
  transport: "text";
5659
+ label?: string | undefined;
5658
5660
  references?: {
5659
5661
  title: string;
5660
5662
  id: string;
@@ -5665,7 +5667,6 @@ declare const variantWorkItemInputSchemas: {
5665
5667
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
5666
5668
  } | undefined;
5667
5669
  }[] | undefined;
5668
- label?: string | undefined;
5669
5670
  userIntent?: string | undefined;
5670
5671
  })[];
5671
5672
  rivetActions: {
@@ -5681,8 +5682,8 @@ declare const variantWorkItemInputSchemas: {
5681
5682
  sectionInventory: string[];
5682
5683
  visualObservations: string[];
5683
5684
  sourceRoles: {
5684
- sourceId: string;
5685
5685
  role: "primary" | "inspiration" | "competitor";
5686
+ sourceId: string;
5686
5687
  rationale?: string | undefined;
5687
5688
  }[];
5688
5689
  qualityBar: string[];
@@ -5693,7 +5694,7 @@ declare const variantWorkItemInputSchemas: {
5693
5694
  kind: "design_system";
5694
5695
  id: string;
5695
5696
  sourceIds: string[];
5696
- producedBy: "browser" | "rivet" | "agent" | "skill";
5697
+ producedBy: "browser" | "agent" | "rivet" | "skill";
5697
5698
  path?: string | undefined;
5698
5699
  actionId?: string | undefined;
5699
5700
  warnings?: string[] | undefined;
@@ -5706,7 +5707,7 @@ declare const variantWorkItemInputSchemas: {
5706
5707
  kind: "motion_guidance";
5707
5708
  id: string;
5708
5709
  sourceIds: string[];
5709
- producedBy: "browser" | "rivet" | "agent" | "skill";
5710
+ producedBy: "browser" | "agent" | "rivet" | "skill";
5710
5711
  path?: string | undefined;
5711
5712
  actionId?: string | undefined;
5712
5713
  warnings?: string[] | undefined;
@@ -5717,8 +5718,8 @@ declare const variantWorkItemInputSchemas: {
5717
5718
  id: string;
5718
5719
  originalFilename: string;
5719
5720
  sizeBytes: number;
5720
- mimeType?: string | undefined;
5721
5721
  label?: string | undefined;
5722
+ mimeType?: string | undefined;
5722
5723
  }[] | undefined;
5723
5724
  bindings?: ({
5724
5725
  kind: "global";
@@ -5735,7 +5736,7 @@ declare const variantWorkItemInputSchemas: {
5735
5736
  executionPlan?: {
5736
5737
  mode: "static_preview" | "vite_app";
5737
5738
  reason: string;
5738
- confidence: "low" | "medium" | "high";
5739
+ confidence: "high" | "medium" | "low";
5739
5740
  assetPlan?: {
5740
5741
  source: string;
5741
5742
  destination: string;
@@ -5745,17 +5746,33 @@ declare const variantWorkItemInputSchemas: {
5745
5746
  userQuestion?: string | undefined;
5746
5747
  } | undefined;
5747
5748
  } | undefined;
5748
- framework?: "vite" | "remix" | "next" | "astro" | undefined;
5749
5749
  assetSourceRoot?: string | undefined;
5750
5750
  };
5751
5751
  briefId: string;
5752
5752
  briefLabel: string;
5753
5753
  briefBody: string;
5754
+ target?: {
5755
+ type: "route" | "file" | "element";
5756
+ ref: string;
5757
+ } | undefined;
5758
+ references?: {
5759
+ title: string;
5760
+ id: string;
5761
+ reason?: string | undefined;
5762
+ url?: string | undefined;
5763
+ image?: {
5764
+ hash: string;
5765
+ mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
5766
+ } | undefined;
5767
+ }[] | undefined;
5768
+ variantId?: string | undefined;
5769
+ requestId?: string | undefined;
5770
+ instruction?: string | undefined;
5754
5771
  context?: {
5755
5772
  brief: {
5756
5773
  label: string;
5757
- briefId: string;
5758
5774
  body: string;
5775
+ briefId: string;
5759
5776
  notes?: string | undefined;
5760
5777
  visualReferenceUrl?: string | undefined;
5761
5778
  };
@@ -5774,6 +5791,7 @@ declare const variantWorkItemInputSchemas: {
5774
5791
  path: string;
5775
5792
  id: string;
5776
5793
  transport: "file";
5794
+ label?: string | undefined;
5777
5795
  mimeType?: string | undefined;
5778
5796
  references?: {
5779
5797
  title: string;
@@ -5785,7 +5803,6 @@ declare const variantWorkItemInputSchemas: {
5785
5803
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
5786
5804
  } | undefined;
5787
5805
  }[] | undefined;
5788
- label?: string | undefined;
5789
5806
  userIntent?: string | undefined;
5790
5807
  originalFilename?: string | undefined;
5791
5808
  } | {
@@ -5798,6 +5815,7 @@ declare const variantWorkItemInputSchemas: {
5798
5815
  path: string;
5799
5816
  id: string;
5800
5817
  transport: "text";
5818
+ label?: string | undefined;
5801
5819
  references?: {
5802
5820
  title: string;
5803
5821
  id: string;
@@ -5808,7 +5826,6 @@ declare const variantWorkItemInputSchemas: {
5808
5826
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
5809
5827
  } | undefined;
5810
5828
  }[] | undefined;
5811
- label?: string | undefined;
5812
5829
  userIntent?: string | undefined;
5813
5830
  })[];
5814
5831
  rivetMetadata: ({
@@ -5817,8 +5834,8 @@ declare const variantWorkItemInputSchemas: {
5817
5834
  sectionInventory: string[];
5818
5835
  visualObservations: string[];
5819
5836
  sourceRoles: {
5820
- sourceId: string;
5821
5837
  role: "primary" | "inspiration" | "competitor";
5838
+ sourceId: string;
5822
5839
  rationale?: string | undefined;
5823
5840
  }[];
5824
5841
  qualityBar: string[];
@@ -5829,7 +5846,7 @@ declare const variantWorkItemInputSchemas: {
5829
5846
  kind: "design_system";
5830
5847
  id: string;
5831
5848
  sourceIds: string[];
5832
- producedBy: "browser" | "rivet" | "agent" | "skill";
5849
+ producedBy: "browser" | "agent" | "rivet" | "skill";
5833
5850
  path?: string | undefined;
5834
5851
  actionId?: string | undefined;
5835
5852
  warnings?: string[] | undefined;
@@ -5842,7 +5859,7 @@ declare const variantWorkItemInputSchemas: {
5842
5859
  kind: "motion_guidance";
5843
5860
  id: string;
5844
5861
  sourceIds: string[];
5845
- producedBy: "browser" | "rivet" | "agent" | "skill";
5862
+ producedBy: "browser" | "agent" | "rivet" | "skill";
5846
5863
  path?: string | undefined;
5847
5864
  actionId?: string | undefined;
5848
5865
  warnings?: string[] | undefined;
@@ -5863,55 +5880,37 @@ declare const variantWorkItemInputSchemas: {
5863
5880
  id: string;
5864
5881
  originalFilename: string;
5865
5882
  sizeBytes: number;
5866
- mimeType?: string | undefined;
5867
5883
  label?: string | undefined;
5884
+ mimeType?: string | undefined;
5868
5885
  }[] | undefined;
5869
5886
  executionMode?: "static_preview" | "vite_app" | undefined;
5870
5887
  } | undefined;
5871
- target?: {
5872
- type: "route" | "file" | "element";
5873
- ref: string;
5874
- } | undefined;
5875
- references?: {
5876
- title: string;
5877
- id: string;
5878
- reason?: string | undefined;
5879
- url?: string | undefined;
5880
- image?: {
5881
- hash: string;
5882
- mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
5883
- } | undefined;
5884
- }[] | undefined;
5885
- variantId?: string | undefined;
5886
- requestId?: string | undefined;
5887
- instruction?: string | undefined;
5888
5888
  workerSelection?: WorkerSelection | undefined;
5889
5889
  briefNotes?: string | undefined;
5890
5890
  visualReferenceUrl?: string | undefined;
5891
5891
  guidance?: {
5892
- title: string;
5893
5892
  id: string;
5893
+ title: string;
5894
5894
  markdown: string;
5895
5895
  attachments?: {
5896
- path: string;
5897
- source: string;
5898
5896
  hash: string;
5899
5897
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif";
5900
5898
  bytes: number;
5901
5899
  representation: "variant" | "image" | "video-cover" | "page";
5900
+ source: string;
5902
5901
  alt: string;
5903
- title?: string | undefined;
5902
+ path: string;
5904
5903
  page?: number | undefined;
5904
+ title?: string | undefined;
5905
5905
  }[] | undefined;
5906
5906
  references?: ({
5907
- path: string;
5908
5907
  kind: "directory";
5908
+ path: string;
5909
5909
  intent: string;
5910
5910
  } | {
5911
- url: string;
5912
5911
  kind: "url" | "repository";
5912
+ url: string;
5913
5913
  intent: string;
5914
- digest?: string | undefined;
5915
5914
  revision?: string | undefined;
5916
5915
  files?: {
5917
5916
  name: string;
@@ -5919,6 +5918,7 @@ declare const variantWorkItemInputSchemas: {
5919
5918
  path?: string | undefined;
5920
5919
  sha256?: string | undefined;
5921
5920
  }[] | undefined;
5921
+ digest?: string | undefined;
5922
5922
  })[] | undefined;
5923
5923
  }[] | undefined;
5924
5924
  previewRoutes?: string[] | undefined;
@@ -5929,7 +5929,7 @@ declare const variantWorkItemInputSchemas: {
5929
5929
  currentHtml?: string | undefined;
5930
5930
  targetElement?: StaticPreviewTargetElement | undefined;
5931
5931
  relevantFiles?: string[] | undefined;
5932
- fidelity?: "low" | "medium" | "high" | undefined;
5932
+ fidelity?: "high" | "medium" | "low" | undefined;
5933
5933
  designContextEntry?: {
5934
5934
  kind: "slug";
5935
5935
  slug: string;