rivet-design 0.26.1 → 0.27.0

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 (122) hide show
  1. package/bin/rivet.js +13 -0
  2. package/dist/agent-variants/PreviewRuntime.js +20 -7
  3. package/dist/agent-variants/WorkerExecutorService.d.ts +0 -2
  4. package/dist/agent-variants/WorkerExecutorService.js +0 -18
  5. package/dist/agent-variants/WorktreeOrchestrator.testHelpers.js +0 -8
  6. package/dist/agent-variants/contracts.d.ts +1001 -4868
  7. package/dist/agent-variants/contracts.js +1 -121
  8. package/dist/agent-variants/index.d.ts +1 -1
  9. package/dist/agent-variants/variantsTelemetry.d.ts +4 -8
  10. package/dist/agent-variants/variantsTelemetry.js +3 -0
  11. package/dist/agent-variants/workItemInput.d.ts +386 -386
  12. package/dist/cli/commands/contextRequest.js +1 -1
  13. package/dist/cli/commands/guidanceReferences.d.ts +2 -2
  14. package/dist/cli/commands/guidanceVerifierPackage.d.ts +2 -2
  15. package/dist/cli/commands/mcpServe.js +1 -0
  16. package/dist/cli/commands/serve.js +2 -0
  17. package/dist/cli/editorSession.d.ts +1 -13
  18. package/dist/cli/handoff.d.ts +1 -0
  19. package/dist/cli/handoff.js +20 -4
  20. package/dist/cli/router.js +1 -0
  21. package/dist/cli/runtimeInterruption.d.ts +2 -16
  22. package/dist/cli/telemetry.d.ts +10 -0
  23. package/dist/cli/telemetry.js +37 -1
  24. package/dist/config/pluginMetrics.js +36 -1
  25. package/dist/hosts/workerDefaults.d.ts +0 -11
  26. package/dist/hosts/workerDefaults.js +1 -30
  27. package/dist/index-core.d.ts +0 -1
  28. package/dist/index.d.ts +19 -0
  29. package/dist/index.js +15 -6
  30. package/dist/install/automaticCliUpdate.d.ts +1 -0
  31. package/dist/install/automaticCliUpdate.js +32 -22
  32. package/dist/install/channelCli.d.ts +1 -1
  33. package/dist/install/channelCli.js +11 -6
  34. package/dist/install/channelManager.d.ts +5 -2
  35. package/dist/install/globalBootstrap.d.ts +5 -3
  36. package/dist/install/globalBootstrap.js +21 -9
  37. package/dist/install/npmCommand.d.ts +15 -0
  38. package/dist/install/npmCommand.js +59 -0
  39. package/dist/routes/agentVariants.js +3 -14
  40. package/dist/routes/library/browserAccess.js +6 -2
  41. package/dist/routes/library/guidance.js +3 -1
  42. package/dist/routes/library/middleware.js +15 -9
  43. package/dist/routes/library/navigation.js +3 -1
  44. package/dist/routes/library/profiles.js +5 -5
  45. package/dist/routes/library/projects.js +17 -7
  46. package/dist/routes/library/referenceOnboarding.js +4 -2
  47. package/dist/routes/library/schemas.d.ts +2 -15
  48. package/dist/routes/telemetry.js +1 -1
  49. package/dist/routes/variantRequestSchema.d.ts +4 -4
  50. package/dist/routes/variantRequestSchema.js +7 -2
  51. package/dist/server.js +8 -0
  52. package/dist/services/AuthService.d.ts +3 -56
  53. package/dist/services/AuthService.js +0 -28
  54. package/dist/services/ConfigManager.d.ts +0 -2
  55. package/dist/services/ConfigManager.js +0 -14
  56. package/dist/services/DependencyPreparationService.js +57 -19
  57. package/dist/services/GuidanceVerifierRunner.js +4 -4
  58. package/dist/services/HubDiscovery.d.ts +1 -9
  59. package/dist/services/IntegrationsClient.d.ts +16 -16
  60. package/dist/services/MCPOnboardingTelemetry.d.ts +0 -14
  61. package/dist/services/MCPOnboardingTelemetry.js +0 -62
  62. package/dist/services/ProjectPackageManager.d.ts +5 -0
  63. package/dist/services/ProjectPackageManager.js +33 -11
  64. package/dist/services/ProjectRegistry.d.ts +5 -24
  65. package/dist/services/TelemetryService.d.ts +9 -64
  66. package/dist/services/TelemetryService.js +10 -113
  67. package/dist/services/TreeStore.d.ts +0 -2
  68. package/dist/services/TreeStore.js +0 -24
  69. package/dist/services/WorktreeManager.js +5 -0
  70. package/dist/services/profiles/DesignProfiles.d.ts +180 -125
  71. package/dist/services/profiles/DesignProfiles.js +16 -8
  72. package/dist/services/profiles/ProfilePlanning.d.ts +38 -38
  73. package/dist/services/profiles/ReferenceReader.d.ts +14 -14
  74. package/dist/services/profiles/modelContract.js +4 -4
  75. package/dist/storage/library/ProjectPreviewCache.d.ts +1 -13
  76. package/dist/storage/profiles/ProfilePlans.d.ts +137 -137
  77. package/dist/storage/profiles/ProfileRecords.d.ts +62 -37
  78. package/dist/storage/profiles/planSchema.d.ts +40 -40
  79. package/dist/storage/profiles/schema.d.ts +16 -16
  80. package/dist/types/api-responses.d.ts +174 -0
  81. package/dist/types/api-responses.js +108 -0
  82. package/dist/types/cosmos-profile.d.ts +17 -105
  83. package/dist/types/cosmos.d.ts +48 -266
  84. package/dist/types/design-library.d.ts +230 -61
  85. package/dist/types/design-library.js +38 -1
  86. package/dist/types/design-profile.d.ts +220 -529
  87. package/dist/types/design-profile.js +5 -1
  88. package/dist/types/guidance-references.d.ts +68 -316
  89. package/dist/types/guidance-verifier.d.ts +69 -560
  90. package/dist/types/guidance-verifier.js +15 -2
  91. package/dist/types/guidance.d.ts +182 -1643
  92. package/dist/types/guidance.js +4 -1
  93. package/dist/types/project-library.d.ts +60 -30
  94. package/dist/types/project-library.js +32 -1
  95. package/dist/types/reference-connectors.d.ts +38 -162
  96. package/dist/types/reference-onboarding.d.ts +144 -878
  97. package/dist/types/reference-pages.d.ts +27 -139
  98. package/dist/types/x-bookmarks.d.ts +40 -296
  99. package/dist/utils/devServerError.d.ts +5 -0
  100. package/dist/utils/devServerError.js +4 -0
  101. package/dist/utils/displayLocale.d.ts +0 -1
  102. package/dist/utils/displayLocale.js +1 -3
  103. package/dist/utils/failureReason.d.ts +16 -0
  104. package/dist/utils/failureReason.js +106 -0
  105. package/dist/utils/hostedLogPrivacy.d.ts +1 -0
  106. package/dist/utils/hostedLogPrivacy.js +10 -4
  107. package/dist/utils/skills/claude-skill.d.ts +1 -1
  108. package/dist/utils/skills/claude-skill.js +1 -1
  109. package/dist/utils/skills/cli-guidance.d.ts +1 -1
  110. package/dist/utils/skills/cli-guidance.js +3 -3
  111. package/dist/utils/skills/cursor-rules.d.ts +1 -1
  112. package/dist/utils/skills/cursor-rules.js +1 -1
  113. package/package.json +5 -5
  114. package/src/ui/dist/assets/LibraryEntry-RI9Lc7P3.js +37 -0
  115. package/src/ui/dist/assets/main-D0UmAaUe.css +1 -0
  116. package/src/ui/dist/assets/main-DgrLzS5j.js +497 -0
  117. package/src/ui/dist/index.html +2 -2
  118. package/dist/types/change-types.d.ts +0 -66
  119. package/dist/types/change-types.js +0 -3
  120. package/src/ui/dist/assets/LibraryEntry-Cr4GFYXW.js +0 -37
  121. package/src/ui/dist/assets/main-W3oTuTTl.css +0 -1
  122. package/src/ui/dist/assets/main-tPO1OCpZ.js +0 -439
@@ -37,7 +37,6 @@ declare const variantWorkItemInputSchemas: {
37
37
  path: string;
38
38
  id: string;
39
39
  transport: "file";
40
- label?: string | undefined;
41
40
  mimeType?: string | undefined;
42
41
  references?: {
43
42
  title: string;
@@ -49,6 +48,7 @@ declare const variantWorkItemInputSchemas: {
49
48
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
50
49
  } | undefined;
51
50
  }[] | undefined;
51
+ label?: string | undefined;
52
52
  userIntent?: string | undefined;
53
53
  originalFilename?: string | undefined;
54
54
  } | {
@@ -61,7 +61,6 @@ declare const variantWorkItemInputSchemas: {
61
61
  path: string;
62
62
  id: string;
63
63
  transport: "text";
64
- label?: string | undefined;
65
64
  references?: {
66
65
  title: string;
67
66
  id: string;
@@ -72,6 +71,7 @@ declare const variantWorkItemInputSchemas: {
72
71
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
73
72
  } | undefined;
74
73
  }[] | undefined;
74
+ label?: string | undefined;
75
75
  userIntent?: string | undefined;
76
76
  })[];
77
77
  rivetActions: {
@@ -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
- label?: string | undefined;
127
126
  mimeType?: string | undefined;
127
+ label?: string | undefined;
128
128
  }[] | undefined;
129
129
  bindings?: ({
130
130
  kind: "global";
@@ -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;
@@ -193,7 +194,6 @@ declare const variantWorkItemInputSchemas: {
193
194
  path: string;
194
195
  id: string;
195
196
  transport: "file";
196
- label?: string | undefined;
197
197
  mimeType?: string | undefined;
198
198
  references?: {
199
199
  title: string;
@@ -205,6 +205,7 @@ declare const variantWorkItemInputSchemas: {
205
205
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
206
206
  } | undefined;
207
207
  }[] | undefined;
208
+ label?: string | undefined;
208
209
  userIntent?: string | undefined;
209
210
  originalFilename?: string | undefined;
210
211
  } | {
@@ -217,7 +218,6 @@ declare const variantWorkItemInputSchemas: {
217
218
  path: string;
218
219
  id: string;
219
220
  transport: "text";
220
- label?: string | undefined;
221
221
  references?: {
222
222
  title: string;
223
223
  id: string;
@@ -228,6 +228,7 @@ declare const variantWorkItemInputSchemas: {
228
228
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
229
229
  } | undefined;
230
230
  }[] | undefined;
231
+ label?: string | undefined;
231
232
  userIntent?: string | undefined;
232
233
  })[];
233
234
  rivetActions: {
@@ -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
- label?: string | undefined;
283
283
  mimeType?: string | undefined;
284
+ label?: string | undefined;
284
285
  }[] | undefined;
285
286
  bindings?: ({
286
287
  kind: "global";
@@ -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,7 +338,6 @@ declare const variantWorkItemInputSchemas: {
338
338
  path: string;
339
339
  id: string;
340
340
  transport: "file";
341
- label?: string | undefined;
342
341
  mimeType?: string | undefined;
343
342
  references?: {
344
343
  title: string;
@@ -350,6 +349,7 @@ declare const variantWorkItemInputSchemas: {
350
349
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
351
350
  } | undefined;
352
351
  }[] | undefined;
352
+ label?: string | undefined;
353
353
  userIntent?: string | undefined;
354
354
  originalFilename?: string | undefined;
355
355
  } | {
@@ -362,7 +362,6 @@ declare const variantWorkItemInputSchemas: {
362
362
  path: string;
363
363
  id: string;
364
364
  transport: "text";
365
- label?: string | undefined;
366
365
  references?: {
367
366
  title: string;
368
367
  id: string;
@@ -373,6 +372,7 @@ declare const variantWorkItemInputSchemas: {
373
372
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
374
373
  } | undefined;
375
374
  }[] | undefined;
375
+ label?: string | undefined;
376
376
  userIntent?: string | undefined;
377
377
  })[];
378
378
  rivetActions: {
@@ -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
- label?: string | undefined;
428
427
  mimeType?: string | undefined;
428
+ label?: string | undefined;
429
429
  }[] | undefined;
430
430
  bindings?: ({
431
431
  kind: "global";
@@ -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;
@@ -494,7 +495,6 @@ declare const variantWorkItemInputSchemas: {
494
495
  path: string;
495
496
  id: string;
496
497
  transport: "file";
497
- label?: string | undefined;
498
498
  mimeType?: string | undefined;
499
499
  references?: {
500
500
  title: string;
@@ -506,6 +506,7 @@ declare const variantWorkItemInputSchemas: {
506
506
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
507
507
  } | undefined;
508
508
  }[] | undefined;
509
+ label?: string | undefined;
509
510
  userIntent?: string | undefined;
510
511
  originalFilename?: string | undefined;
511
512
  } | {
@@ -518,7 +519,6 @@ declare const variantWorkItemInputSchemas: {
518
519
  path: string;
519
520
  id: string;
520
521
  transport: "text";
521
- label?: string | undefined;
522
522
  references?: {
523
523
  title: string;
524
524
  id: string;
@@ -529,6 +529,7 @@ declare const variantWorkItemInputSchemas: {
529
529
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
530
530
  } | undefined;
531
531
  }[] | undefined;
532
+ label?: string | undefined;
532
533
  userIntent?: string | undefined;
533
534
  })[];
534
535
  rivetActions: {
@@ -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
- label?: string | undefined;
584
584
  mimeType?: string | undefined;
585
+ label?: string | undefined;
585
586
  }[] | undefined;
586
587
  bindings?: ({
587
588
  kind: "global";
@@ -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,7 +755,6 @@ declare const variantWorkItemInputSchemas: {
755
755
  path: string;
756
756
  id: string;
757
757
  transport: "file";
758
- label?: string | undefined;
759
758
  mimeType?: string | undefined;
760
759
  references?: {
761
760
  title: string;
@@ -767,6 +766,7 @@ declare const variantWorkItemInputSchemas: {
767
766
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
768
767
  } | undefined;
769
768
  }[] | undefined;
769
+ label?: string | undefined;
770
770
  userIntent?: string | undefined;
771
771
  originalFilename?: string | undefined;
772
772
  } | {
@@ -779,7 +779,6 @@ declare const variantWorkItemInputSchemas: {
779
779
  path: string;
780
780
  id: string;
781
781
  transport: "text";
782
- label?: string | undefined;
783
782
  references?: {
784
783
  title: string;
785
784
  id: string;
@@ -790,6 +789,7 @@ declare const variantWorkItemInputSchemas: {
790
789
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
791
790
  } | undefined;
792
791
  }[] | undefined;
792
+ label?: string | undefined;
793
793
  userIntent?: string | undefined;
794
794
  })[];
795
795
  rivetMetadata: ({
@@ -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
- label?: string | undefined;
848
847
  mimeType?: string | undefined;
848
+ label?: 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,7 +871,6 @@ declare const variantWorkItemInputSchemas: {
871
871
  path: string;
872
872
  id: string;
873
873
  transport: "file";
874
- label?: string | undefined;
875
874
  mimeType?: string | undefined;
876
875
  references?: {
877
876
  title: string;
@@ -883,6 +882,7 @@ declare const variantWorkItemInputSchemas: {
883
882
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
884
883
  } | undefined;
885
884
  }[] | undefined;
885
+ label?: string | undefined;
886
886
  userIntent?: string | undefined;
887
887
  originalFilename?: string | undefined;
888
888
  } | {
@@ -895,7 +895,6 @@ declare const variantWorkItemInputSchemas: {
895
895
  path: string;
896
896
  id: string;
897
897
  transport: "text";
898
- label?: string | undefined;
899
898
  references?: {
900
899
  title: string;
901
900
  id: string;
@@ -906,6 +905,7 @@ declare const variantWorkItemInputSchemas: {
906
905
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
907
906
  } | undefined;
908
907
  }[] | undefined;
908
+ label?: string | undefined;
909
909
  userIntent?: string | undefined;
910
910
  })[];
911
911
  rivetMetadata: ({
@@ -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
- label?: string | undefined;
964
963
  mimeType?: string | undefined;
964
+ label?: string | undefined;
965
965
  }[] | undefined;
966
966
  executionMode?: "static_preview" | "vite_app" | undefined;
967
967
  }>>;
@@ -1015,7 +1015,6 @@ declare const variantWorkItemInputSchemas: {
1015
1015
  path: string;
1016
1016
  id: string;
1017
1017
  transport: "file";
1018
- label?: string | undefined;
1019
1018
  mimeType?: string | undefined;
1020
1019
  references?: {
1021
1020
  title: string;
@@ -1027,6 +1026,7 @@ declare const variantWorkItemInputSchemas: {
1027
1026
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
1028
1027
  } | undefined;
1029
1028
  }[] | undefined;
1029
+ label?: string | undefined;
1030
1030
  userIntent?: string | undefined;
1031
1031
  originalFilename?: string | undefined;
1032
1032
  } | {
@@ -1039,7 +1039,6 @@ declare const variantWorkItemInputSchemas: {
1039
1039
  path: string;
1040
1040
  id: string;
1041
1041
  transport: "text";
1042
- label?: string | undefined;
1043
1042
  references?: {
1044
1043
  title: string;
1045
1044
  id: string;
@@ -1050,6 +1049,7 @@ declare const variantWorkItemInputSchemas: {
1050
1049
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
1051
1050
  } | undefined;
1052
1051
  }[] | undefined;
1052
+ label?: string | undefined;
1053
1053
  userIntent?: string | undefined;
1054
1054
  })[];
1055
1055
  rivetActions: {
@@ -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
- label?: string | undefined;
1105
1104
  mimeType?: string | undefined;
1105
+ label?: string | undefined;
1106
1106
  }[] | undefined;
1107
1107
  bindings?: ({
1108
1108
  kind: "global";
@@ -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;
@@ -1171,7 +1172,6 @@ declare const variantWorkItemInputSchemas: {
1171
1172
  path: string;
1172
1173
  id: string;
1173
1174
  transport: "file";
1174
- label?: string | undefined;
1175
1175
  mimeType?: string | undefined;
1176
1176
  references?: {
1177
1177
  title: string;
@@ -1183,6 +1183,7 @@ declare const variantWorkItemInputSchemas: {
1183
1183
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
1184
1184
  } | undefined;
1185
1185
  }[] | undefined;
1186
+ label?: string | undefined;
1186
1187
  userIntent?: string | undefined;
1187
1188
  originalFilename?: string | undefined;
1188
1189
  } | {
@@ -1195,7 +1196,6 @@ declare const variantWorkItemInputSchemas: {
1195
1196
  path: string;
1196
1197
  id: string;
1197
1198
  transport: "text";
1198
- label?: string | undefined;
1199
1199
  references?: {
1200
1200
  title: string;
1201
1201
  id: string;
@@ -1206,6 +1206,7 @@ declare const variantWorkItemInputSchemas: {
1206
1206
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
1207
1207
  } | undefined;
1208
1208
  }[] | undefined;
1209
+ label?: string | undefined;
1209
1210
  userIntent?: string | undefined;
1210
1211
  })[];
1211
1212
  rivetActions: {
@@ -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
- label?: string | undefined;
1261
1261
  mimeType?: string | undefined;
1262
+ label?: string | undefined;
1262
1263
  }[] | undefined;
1263
1264
  bindings?: ({
1264
1265
  kind: "global";
@@ -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
+ variantId?: string | undefined;
1294
+ requestId?: string | undefined;
1295
+ instruction?: string | undefined;
1296
+ references?: {
1297
+ title: string;
1298
+ id: string;
1299
+ reason?: string | undefined;
1300
+ url?: string | undefined;
1301
+ image?: {
1302
+ hash: string;
1303
+ mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
1304
+ } | undefined;
1305
+ }[] | undefined;
1306
+ target?: {
1307
+ type: "route" | "file" | "element";
1308
+ ref: string;
1309
+ } | 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,7 +1330,6 @@ declare const variantWorkItemInputSchemas: {
1313
1330
  path: string;
1314
1331
  id: string;
1315
1332
  transport: "file";
1316
- label?: string | undefined;
1317
1333
  mimeType?: string | undefined;
1318
1334
  references?: {
1319
1335
  title: string;
@@ -1325,6 +1341,7 @@ declare const variantWorkItemInputSchemas: {
1325
1341
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
1326
1342
  } | undefined;
1327
1343
  }[] | undefined;
1344
+ label?: string | undefined;
1328
1345
  userIntent?: string | undefined;
1329
1346
  originalFilename?: string | undefined;
1330
1347
  } | {
@@ -1337,7 +1354,6 @@ declare const variantWorkItemInputSchemas: {
1337
1354
  path: string;
1338
1355
  id: string;
1339
1356
  transport: "text";
1340
- label?: string | undefined;
1341
1357
  references?: {
1342
1358
  title: string;
1343
1359
  id: string;
@@ -1348,6 +1364,7 @@ declare const variantWorkItemInputSchemas: {
1348
1364
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
1349
1365
  } | undefined;
1350
1366
  }[] | undefined;
1367
+ label?: string | undefined;
1351
1368
  userIntent?: string | undefined;
1352
1369
  })[];
1353
1370
  rivetMetadata: ({
@@ -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,52 +1419,38 @@ declare const variantWorkItemInputSchemas: {
1402
1419
  id: string;
1403
1420
  originalFilename: string;
1404
1421
  sizeBytes: number;
1405
- label?: string | undefined;
1406
1422
  mimeType?: string | undefined;
1423
+ label?: string | undefined;
1407
1424
  }[] | undefined;
1408
1425
  executionMode?: "static_preview" | "vite_app" | undefined;
1409
1426
  } | undefined;
1410
- references?: {
1411
- title: string;
1412
- id: string;
1413
- reason?: string | undefined;
1414
- url?: string | undefined;
1415
- image?: {
1416
- hash: string;
1417
- mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
1418
- } | undefined;
1419
- }[] | undefined;
1420
- variantId?: string | undefined;
1421
- requestId?: string | undefined;
1422
- instruction?: string | undefined;
1423
1427
  workerSelection?: WorkerSelection | undefined;
1424
1428
  briefBody?: string | undefined;
1425
1429
  briefNotes?: string | undefined;
1426
1430
  visualReferenceUrl?: string | undefined;
1427
1431
  guidance?: {
1428
- title: string;
1429
1432
  id: string;
1433
+ title: string;
1430
1434
  markdown: string;
1431
1435
  attachments?: {
1432
- path: string;
1433
- source: string;
1434
1436
  hash: string;
1435
1437
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif";
1436
1438
  bytes: number;
1437
1439
  representation: "variant" | "image" | "video-cover" | "page";
1440
+ source: string;
1438
1441
  alt: string;
1439
- title?: string | undefined;
1442
+ path: string;
1440
1443
  page?: number | undefined;
1444
+ title?: string | undefined;
1441
1445
  }[] | undefined;
1442
1446
  references?: ({
1443
- path: string;
1444
1447
  kind: "directory";
1448
+ path: string;
1445
1449
  intent: string;
1446
1450
  } | {
1447
- url: string;
1448
1451
  kind: "url" | "repository";
1452
+ url: string;
1449
1453
  intent: string;
1450
- digest?: string | undefined;
1451
1454
  revision?: string | undefined;
1452
1455
  files?: {
1453
1456
  name: string;
@@ -1455,6 +1458,7 @@ declare const variantWorkItemInputSchemas: {
1455
1458
  path?: string | undefined;
1456
1459
  sha256?: string | undefined;
1457
1460
  }[] | undefined;
1461
+ digest?: string | undefined;
1458
1462
  })[] | undefined;
1459
1463
  }[] | undefined;
1460
1464
  previewRoutes?: string[] | undefined;
@@ -1463,10 +1467,6 @@ declare const variantWorkItemInputSchemas: {
1463
1467
  sourceLabel?: string | undefined;
1464
1468
  sourceBody?: string | undefined;
1465
1469
  currentHtml?: string | undefined;
1466
- target?: {
1467
- type: "route" | "file" | "element";
1468
- ref: string;
1469
- } | undefined;
1470
1470
  targetElement?: StaticPreviewTargetElement | undefined;
1471
1471
  relevantFiles?: string[] | undefined;
1472
1472
  fidelity?: "high" | "medium" | "low" | undefined;
@@ -1515,7 +1515,6 @@ declare const variantWorkItemInputSchemas: {
1515
1515
  path: string;
1516
1516
  id: string;
1517
1517
  transport: "file";
1518
- label?: string | undefined;
1519
1518
  mimeType?: string | undefined;
1520
1519
  references?: {
1521
1520
  title: string;
@@ -1527,6 +1526,7 @@ declare const variantWorkItemInputSchemas: {
1527
1526
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
1528
1527
  } | undefined;
1529
1528
  }[] | undefined;
1529
+ label?: string | undefined;
1530
1530
  userIntent?: string | undefined;
1531
1531
  originalFilename?: string | undefined;
1532
1532
  } | {
@@ -1539,7 +1539,6 @@ declare const variantWorkItemInputSchemas: {
1539
1539
  path: string;
1540
1540
  id: string;
1541
1541
  transport: "text";
1542
- label?: string | undefined;
1543
1542
  references?: {
1544
1543
  title: string;
1545
1544
  id: string;
@@ -1550,6 +1549,7 @@ declare const variantWorkItemInputSchemas: {
1550
1549
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
1551
1550
  } | undefined;
1552
1551
  }[] | undefined;
1552
+ label?: string | undefined;
1553
1553
  userIntent?: string | undefined;
1554
1554
  })[];
1555
1555
  rivetActions: {
@@ -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
- label?: string | undefined;
1605
1604
  mimeType?: string | undefined;
1605
+ label?: string | undefined;
1606
1606
  }[] | undefined;
1607
1607
  bindings?: ({
1608
1608
  kind: "global";
@@ -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;
@@ -1671,7 +1672,6 @@ declare const variantWorkItemInputSchemas: {
1671
1672
  path: string;
1672
1673
  id: string;
1673
1674
  transport: "file";
1674
- label?: string | undefined;
1675
1675
  mimeType?: string | undefined;
1676
1676
  references?: {
1677
1677
  title: string;
@@ -1683,6 +1683,7 @@ declare const variantWorkItemInputSchemas: {
1683
1683
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
1684
1684
  } | undefined;
1685
1685
  }[] | undefined;
1686
+ label?: string | undefined;
1686
1687
  userIntent?: string | undefined;
1687
1688
  originalFilename?: string | undefined;
1688
1689
  } | {
@@ -1695,7 +1696,6 @@ declare const variantWorkItemInputSchemas: {
1695
1696
  path: string;
1696
1697
  id: string;
1697
1698
  transport: "text";
1698
- label?: string | undefined;
1699
1699
  references?: {
1700
1700
  title: string;
1701
1701
  id: string;
@@ -1706,6 +1706,7 @@ declare const variantWorkItemInputSchemas: {
1706
1706
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
1707
1707
  } | undefined;
1708
1708
  }[] | undefined;
1709
+ label?: string | undefined;
1709
1710
  userIntent?: string | undefined;
1710
1711
  })[];
1711
1712
  rivetActions: {
@@ -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
- label?: string | undefined;
1761
1761
  mimeType?: string | undefined;
1762
+ label?: string | undefined;
1762
1763
  }[] | undefined;
1763
1764
  bindings?: ({
1764
1765
  kind: "global";
@@ -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
+ variantId?: string | undefined;
1794
+ requestId?: string | undefined;
1795
+ instruction?: string | undefined;
1796
+ references?: {
1797
+ title: string;
1798
+ id: string;
1799
+ reason?: string | undefined;
1800
+ url?: string | undefined;
1801
+ image?: {
1802
+ hash: string;
1803
+ mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
1804
+ } | undefined;
1805
+ }[] | undefined;
1806
+ target?: {
1807
+ type: "route" | "file" | "element";
1808
+ ref: string;
1809
+ } | 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,7 +1830,6 @@ declare const variantWorkItemInputSchemas: {
1813
1830
  path: string;
1814
1831
  id: string;
1815
1832
  transport: "file";
1816
- label?: string | undefined;
1817
1833
  mimeType?: string | undefined;
1818
1834
  references?: {
1819
1835
  title: string;
@@ -1825,6 +1841,7 @@ declare const variantWorkItemInputSchemas: {
1825
1841
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
1826
1842
  } | undefined;
1827
1843
  }[] | undefined;
1844
+ label?: string | undefined;
1828
1845
  userIntent?: string | undefined;
1829
1846
  originalFilename?: string | undefined;
1830
1847
  } | {
@@ -1837,7 +1854,6 @@ declare const variantWorkItemInputSchemas: {
1837
1854
  path: string;
1838
1855
  id: string;
1839
1856
  transport: "text";
1840
- label?: string | undefined;
1841
1857
  references?: {
1842
1858
  title: string;
1843
1859
  id: string;
@@ -1848,6 +1864,7 @@ declare const variantWorkItemInputSchemas: {
1848
1864
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
1849
1865
  } | undefined;
1850
1866
  }[] | undefined;
1867
+ label?: string | undefined;
1851
1868
  userIntent?: string | undefined;
1852
1869
  })[];
1853
1870
  rivetMetadata: ({
@@ -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,52 +1919,38 @@ declare const variantWorkItemInputSchemas: {
1902
1919
  id: string;
1903
1920
  originalFilename: string;
1904
1921
  sizeBytes: number;
1905
- label?: string | undefined;
1906
1922
  mimeType?: string | undefined;
1923
+ label?: string | undefined;
1907
1924
  }[] | undefined;
1908
1925
  executionMode?: "static_preview" | "vite_app" | undefined;
1909
1926
  } | undefined;
1910
- references?: {
1911
- title: string;
1912
- id: string;
1913
- reason?: string | undefined;
1914
- url?: string | undefined;
1915
- image?: {
1916
- hash: string;
1917
- mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
1918
- } | undefined;
1919
- }[] | undefined;
1920
- variantId?: string | undefined;
1921
- requestId?: string | undefined;
1922
- instruction?: string | undefined;
1923
1927
  workerSelection?: WorkerSelection | undefined;
1924
1928
  briefBody?: string | undefined;
1925
1929
  briefNotes?: string | undefined;
1926
1930
  visualReferenceUrl?: string | undefined;
1927
1931
  guidance?: {
1928
- title: string;
1929
1932
  id: string;
1933
+ title: string;
1930
1934
  markdown: string;
1931
1935
  attachments?: {
1932
- path: string;
1933
- source: string;
1934
1936
  hash: string;
1935
1937
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif";
1936
1938
  bytes: number;
1937
1939
  representation: "variant" | "image" | "video-cover" | "page";
1940
+ source: string;
1938
1941
  alt: string;
1939
- title?: string | undefined;
1942
+ path: string;
1940
1943
  page?: number | undefined;
1944
+ title?: string | undefined;
1941
1945
  }[] | undefined;
1942
1946
  references?: ({
1943
- path: string;
1944
1947
  kind: "directory";
1948
+ path: string;
1945
1949
  intent: string;
1946
1950
  } | {
1947
- url: string;
1948
1951
  kind: "url" | "repository";
1952
+ url: string;
1949
1953
  intent: string;
1950
- digest?: string | undefined;
1951
1954
  revision?: string | undefined;
1952
1955
  files?: {
1953
1956
  name: string;
@@ -1955,6 +1958,7 @@ declare const variantWorkItemInputSchemas: {
1955
1958
  path?: string | undefined;
1956
1959
  sha256?: string | undefined;
1957
1960
  }[] | undefined;
1961
+ digest?: string | undefined;
1958
1962
  })[] | undefined;
1959
1963
  }[] | undefined;
1960
1964
  previewRoutes?: string[] | undefined;
@@ -1963,10 +1967,6 @@ declare const variantWorkItemInputSchemas: {
1963
1967
  sourceLabel?: string | undefined;
1964
1968
  sourceBody?: string | undefined;
1965
1969
  currentHtml?: string | undefined;
1966
- target?: {
1967
- type: "route" | "file" | "element";
1968
- ref: string;
1969
- } | undefined;
1970
1970
  targetElement?: StaticPreviewTargetElement | undefined;
1971
1971
  relevantFiles?: string[] | undefined;
1972
1972
  fidelity?: "high" | "medium" | "low" | undefined;
@@ -2017,7 +2017,6 @@ declare const variantWorkItemInputSchemas: {
2017
2017
  path: string;
2018
2018
  id: string;
2019
2019
  transport: "file";
2020
- label?: string | undefined;
2021
2020
  mimeType?: string | undefined;
2022
2021
  references?: {
2023
2022
  title: string;
@@ -2029,6 +2028,7 @@ declare const variantWorkItemInputSchemas: {
2029
2028
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
2030
2029
  } | undefined;
2031
2030
  }[] | undefined;
2031
+ label?: string | undefined;
2032
2032
  userIntent?: string | undefined;
2033
2033
  originalFilename?: string | undefined;
2034
2034
  } | {
@@ -2041,7 +2041,6 @@ declare const variantWorkItemInputSchemas: {
2041
2041
  path: string;
2042
2042
  id: string;
2043
2043
  transport: "text";
2044
- label?: string | undefined;
2045
2044
  references?: {
2046
2045
  title: string;
2047
2046
  id: string;
@@ -2052,6 +2051,7 @@ declare const variantWorkItemInputSchemas: {
2052
2051
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
2053
2052
  } | undefined;
2054
2053
  }[] | undefined;
2054
+ label?: string | undefined;
2055
2055
  userIntent?: string | undefined;
2056
2056
  })[];
2057
2057
  rivetActions: {
@@ -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
- label?: string | undefined;
2107
2106
  mimeType?: string | undefined;
2107
+ label?: string | undefined;
2108
2108
  }[] | undefined;
2109
2109
  bindings?: ({
2110
2110
  kind: "global";
@@ -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;
@@ -2173,7 +2174,6 @@ declare const variantWorkItemInputSchemas: {
2173
2174
  path: string;
2174
2175
  id: string;
2175
2176
  transport: "file";
2176
- label?: string | undefined;
2177
2177
  mimeType?: string | undefined;
2178
2178
  references?: {
2179
2179
  title: string;
@@ -2185,6 +2185,7 @@ declare const variantWorkItemInputSchemas: {
2185
2185
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
2186
2186
  } | undefined;
2187
2187
  }[] | undefined;
2188
+ label?: string | undefined;
2188
2189
  userIntent?: string | undefined;
2189
2190
  originalFilename?: string | undefined;
2190
2191
  } | {
@@ -2197,7 +2198,6 @@ declare const variantWorkItemInputSchemas: {
2197
2198
  path: string;
2198
2199
  id: string;
2199
2200
  transport: "text";
2200
- label?: string | undefined;
2201
2201
  references?: {
2202
2202
  title: string;
2203
2203
  id: string;
@@ -2208,6 +2208,7 @@ declare const variantWorkItemInputSchemas: {
2208
2208
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
2209
2209
  } | undefined;
2210
2210
  }[] | undefined;
2211
+ label?: string | undefined;
2211
2212
  userIntent?: string | undefined;
2212
2213
  })[];
2213
2214
  rivetActions: {
@@ -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
- label?: string | undefined;
2263
2263
  mimeType?: string | undefined;
2264
+ label?: string | undefined;
2264
2265
  }[] | undefined;
2265
2266
  bindings?: ({
2266
2267
  kind: "global";
@@ -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,7 +2318,6 @@ declare const variantWorkItemInputSchemas: {
2318
2318
  path: string;
2319
2319
  id: string;
2320
2320
  transport: "file";
2321
- label?: string | undefined;
2322
2321
  mimeType?: string | undefined;
2323
2322
  references?: {
2324
2323
  title: string;
@@ -2330,6 +2329,7 @@ declare const variantWorkItemInputSchemas: {
2330
2329
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
2331
2330
  } | undefined;
2332
2331
  }[] | undefined;
2332
+ label?: string | undefined;
2333
2333
  userIntent?: string | undefined;
2334
2334
  originalFilename?: string | undefined;
2335
2335
  } | {
@@ -2342,7 +2342,6 @@ declare const variantWorkItemInputSchemas: {
2342
2342
  path: string;
2343
2343
  id: string;
2344
2344
  transport: "text";
2345
- label?: string | undefined;
2346
2345
  references?: {
2347
2346
  title: string;
2348
2347
  id: string;
@@ -2353,6 +2352,7 @@ declare const variantWorkItemInputSchemas: {
2353
2352
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
2354
2353
  } | undefined;
2355
2354
  }[] | undefined;
2355
+ label?: string | undefined;
2356
2356
  userIntent?: string | undefined;
2357
2357
  })[];
2358
2358
  rivetActions: {
@@ -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
- label?: string | undefined;
2408
2407
  mimeType?: string | undefined;
2408
+ label?: string | undefined;
2409
2409
  }[] | undefined;
2410
2410
  bindings?: ({
2411
2411
  kind: "global";
@@ -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;
@@ -2474,7 +2475,6 @@ declare const variantWorkItemInputSchemas: {
2474
2475
  path: string;
2475
2476
  id: string;
2476
2477
  transport: "file";
2477
- label?: string | undefined;
2478
2478
  mimeType?: string | undefined;
2479
2479
  references?: {
2480
2480
  title: string;
@@ -2486,6 +2486,7 @@ declare const variantWorkItemInputSchemas: {
2486
2486
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
2487
2487
  } | undefined;
2488
2488
  }[] | undefined;
2489
+ label?: string | undefined;
2489
2490
  userIntent?: string | undefined;
2490
2491
  originalFilename?: string | undefined;
2491
2492
  } | {
@@ -2498,7 +2499,6 @@ declare const variantWorkItemInputSchemas: {
2498
2499
  path: string;
2499
2500
  id: string;
2500
2501
  transport: "text";
2501
- label?: string | undefined;
2502
2502
  references?: {
2503
2503
  title: string;
2504
2504
  id: string;
@@ -2509,6 +2509,7 @@ declare const variantWorkItemInputSchemas: {
2509
2509
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
2510
2510
  } | undefined;
2511
2511
  }[] | undefined;
2512
+ label?: string | undefined;
2512
2513
  userIntent?: string | undefined;
2513
2514
  })[];
2514
2515
  rivetActions: {
@@ -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
- label?: string | undefined;
2564
2564
  mimeType?: string | undefined;
2565
+ label?: string | undefined;
2565
2566
  }[] | undefined;
2566
2567
  bindings?: ({
2567
2568
  kind: "global";
@@ -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,7 +2735,6 @@ declare const variantWorkItemInputSchemas: {
2735
2735
  path: string;
2736
2736
  id: string;
2737
2737
  transport: "file";
2738
- label?: string | undefined;
2739
2738
  mimeType?: string | undefined;
2740
2739
  references?: {
2741
2740
  title: string;
@@ -2747,6 +2746,7 @@ declare const variantWorkItemInputSchemas: {
2747
2746
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
2748
2747
  } | undefined;
2749
2748
  }[] | undefined;
2749
+ label?: string | undefined;
2750
2750
  userIntent?: string | undefined;
2751
2751
  originalFilename?: string | undefined;
2752
2752
  } | {
@@ -2759,7 +2759,6 @@ declare const variantWorkItemInputSchemas: {
2759
2759
  path: string;
2760
2760
  id: string;
2761
2761
  transport: "text";
2762
- label?: string | undefined;
2763
2762
  references?: {
2764
2763
  title: string;
2765
2764
  id: string;
@@ -2770,6 +2769,7 @@ declare const variantWorkItemInputSchemas: {
2770
2769
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
2771
2770
  } | undefined;
2772
2771
  }[] | undefined;
2772
+ label?: string | undefined;
2773
2773
  userIntent?: string | undefined;
2774
2774
  })[];
2775
2775
  rivetMetadata: ({
@@ -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
- label?: string | undefined;
2828
2827
  mimeType?: string | undefined;
2828
+ label?: 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,7 +2851,6 @@ declare const variantWorkItemInputSchemas: {
2851
2851
  path: string;
2852
2852
  id: string;
2853
2853
  transport: "file";
2854
- label?: string | undefined;
2855
2854
  mimeType?: string | undefined;
2856
2855
  references?: {
2857
2856
  title: string;
@@ -2863,6 +2862,7 @@ declare const variantWorkItemInputSchemas: {
2863
2862
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
2864
2863
  } | undefined;
2865
2864
  }[] | undefined;
2865
+ label?: string | undefined;
2866
2866
  userIntent?: string | undefined;
2867
2867
  originalFilename?: string | undefined;
2868
2868
  } | {
@@ -2875,7 +2875,6 @@ declare const variantWorkItemInputSchemas: {
2875
2875
  path: string;
2876
2876
  id: string;
2877
2877
  transport: "text";
2878
- label?: string | undefined;
2879
2878
  references?: {
2880
2879
  title: string;
2881
2880
  id: string;
@@ -2886,6 +2885,7 @@ declare const variantWorkItemInputSchemas: {
2886
2885
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
2887
2886
  } | undefined;
2888
2887
  }[] | undefined;
2888
+ label?: string | undefined;
2889
2889
  userIntent?: string | undefined;
2890
2890
  })[];
2891
2891
  rivetMetadata: ({
@@ -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
- label?: string | undefined;
2944
2943
  mimeType?: string | undefined;
2944
+ label?: string | undefined;
2945
2945
  }[] | undefined;
2946
2946
  executionMode?: "static_preview" | "vite_app" | undefined;
2947
2947
  }>>;
@@ -2997,7 +2997,6 @@ declare const variantWorkItemInputSchemas: {
2997
2997
  path: string;
2998
2998
  id: string;
2999
2999
  transport: "file";
3000
- label?: string | undefined;
3001
3000
  mimeType?: string | undefined;
3002
3001
  references?: {
3003
3002
  title: string;
@@ -3009,6 +3008,7 @@ declare const variantWorkItemInputSchemas: {
3009
3008
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
3010
3009
  } | undefined;
3011
3010
  }[] | undefined;
3011
+ label?: string | undefined;
3012
3012
  userIntent?: string | undefined;
3013
3013
  originalFilename?: string | undefined;
3014
3014
  } | {
@@ -3021,7 +3021,6 @@ declare const variantWorkItemInputSchemas: {
3021
3021
  path: string;
3022
3022
  id: string;
3023
3023
  transport: "text";
3024
- label?: string | undefined;
3025
3024
  references?: {
3026
3025
  title: string;
3027
3026
  id: string;
@@ -3032,6 +3031,7 @@ declare const variantWorkItemInputSchemas: {
3032
3031
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
3033
3032
  } | undefined;
3034
3033
  }[] | undefined;
3034
+ label?: string | undefined;
3035
3035
  userIntent?: string | undefined;
3036
3036
  })[];
3037
3037
  rivetActions: {
@@ -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
- label?: string | undefined;
3087
3086
  mimeType?: string | undefined;
3087
+ label?: string | undefined;
3088
3088
  }[] | undefined;
3089
3089
  bindings?: ({
3090
3090
  kind: "global";
@@ -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;
@@ -3153,7 +3154,6 @@ declare const variantWorkItemInputSchemas: {
3153
3154
  path: string;
3154
3155
  id: string;
3155
3156
  transport: "file";
3156
- label?: string | undefined;
3157
3157
  mimeType?: string | undefined;
3158
3158
  references?: {
3159
3159
  title: string;
@@ -3165,6 +3165,7 @@ declare const variantWorkItemInputSchemas: {
3165
3165
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
3166
3166
  } | undefined;
3167
3167
  }[] | undefined;
3168
+ label?: string | undefined;
3168
3169
  userIntent?: string | undefined;
3169
3170
  originalFilename?: string | undefined;
3170
3171
  } | {
@@ -3177,7 +3178,6 @@ declare const variantWorkItemInputSchemas: {
3177
3178
  path: string;
3178
3179
  id: string;
3179
3180
  transport: "text";
3180
- label?: string | undefined;
3181
3181
  references?: {
3182
3182
  title: string;
3183
3183
  id: string;
@@ -3188,6 +3188,7 @@ declare const variantWorkItemInputSchemas: {
3188
3188
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
3189
3189
  } | undefined;
3190
3190
  }[] | undefined;
3191
+ label?: string | undefined;
3191
3192
  userIntent?: string | undefined;
3192
3193
  })[];
3193
3194
  rivetActions: {
@@ -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
- label?: string | undefined;
3243
3243
  mimeType?: string | undefined;
3244
+ label?: string | undefined;
3244
3245
  }[] | undefined;
3245
3246
  bindings?: ({
3246
3247
  kind: "global";
@@ -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
+ requestId?: string | undefined;
3274
+ references?: {
3275
+ title: string;
3276
+ id: string;
3277
+ reason?: string | undefined;
3278
+ url?: string | undefined;
3279
+ image?: {
3280
+ hash: string;
3281
+ mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
3282
+ } | undefined;
3283
+ }[] | undefined;
3284
+ target?: {
3285
+ type: "route" | "file" | "element";
3286
+ ref: string;
3287
+ } | 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,7 +3308,6 @@ declare const variantWorkItemInputSchemas: {
3293
3308
  path: string;
3294
3309
  id: string;
3295
3310
  transport: "file";
3296
- label?: string | undefined;
3297
3311
  mimeType?: string | undefined;
3298
3312
  references?: {
3299
3313
  title: string;
@@ -3305,6 +3319,7 @@ declare const variantWorkItemInputSchemas: {
3305
3319
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
3306
3320
  } | undefined;
3307
3321
  }[] | undefined;
3322
+ label?: string | undefined;
3308
3323
  userIntent?: string | undefined;
3309
3324
  originalFilename?: string | undefined;
3310
3325
  } | {
@@ -3317,7 +3332,6 @@ declare const variantWorkItemInputSchemas: {
3317
3332
  path: string;
3318
3333
  id: string;
3319
3334
  transport: "text";
3320
- label?: string | undefined;
3321
3335
  references?: {
3322
3336
  title: string;
3323
3337
  id: string;
@@ -3328,6 +3342,7 @@ declare const variantWorkItemInputSchemas: {
3328
3342
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
3329
3343
  } | undefined;
3330
3344
  }[] | undefined;
3345
+ label?: string | undefined;
3331
3346
  userIntent?: string | undefined;
3332
3347
  })[];
3333
3348
  rivetMetadata: ({
@@ -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,22 +3397,11 @@ declare const variantWorkItemInputSchemas: {
3382
3397
  id: string;
3383
3398
  originalFilename: string;
3384
3399
  sizeBytes: number;
3385
- label?: string | undefined;
3386
3400
  mimeType?: string | undefined;
3401
+ label?: string | undefined;
3387
3402
  }[] | undefined;
3388
3403
  executionMode?: "static_preview" | "vite_app" | undefined;
3389
3404
  } | undefined;
3390
- references?: {
3391
- title: string;
3392
- id: string;
3393
- reason?: string | undefined;
3394
- url?: string | undefined;
3395
- image?: {
3396
- hash: string;
3397
- mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
3398
- } | undefined;
3399
- }[] | undefined;
3400
- requestId?: string | undefined;
3401
3405
  workerSelection?: WorkerSelection | undefined;
3402
3406
  briefId?: string | undefined;
3403
3407
  briefLabel?: string | undefined;
@@ -3405,29 +3409,28 @@ declare const variantWorkItemInputSchemas: {
3405
3409
  briefNotes?: string | undefined;
3406
3410
  visualReferenceUrl?: string | undefined;
3407
3411
  guidance?: {
3408
- title: string;
3409
3412
  id: string;
3413
+ title: string;
3410
3414
  markdown: string;
3411
3415
  attachments?: {
3412
- path: string;
3413
- source: string;
3414
3416
  hash: string;
3415
3417
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif";
3416
3418
  bytes: number;
3417
3419
  representation: "variant" | "image" | "video-cover" | "page";
3420
+ source: string;
3418
3421
  alt: string;
3419
- title?: string | undefined;
3422
+ path: string;
3420
3423
  page?: number | undefined;
3424
+ title?: string | undefined;
3421
3425
  }[] | undefined;
3422
3426
  references?: ({
3423
- path: string;
3424
3427
  kind: "directory";
3428
+ path: string;
3425
3429
  intent: string;
3426
3430
  } | {
3427
- url: string;
3428
3431
  kind: "url" | "repository";
3432
+ url: string;
3429
3433
  intent: string;
3430
- digest?: string | undefined;
3431
3434
  revision?: string | undefined;
3432
3435
  files?: {
3433
3436
  name: string;
@@ -3435,6 +3438,7 @@ declare const variantWorkItemInputSchemas: {
3435
3438
  path?: string | undefined;
3436
3439
  sha256?: string | undefined;
3437
3440
  }[] | undefined;
3441
+ digest?: string | undefined;
3438
3442
  })[] | undefined;
3439
3443
  }[] | undefined;
3440
3444
  previewRoutes?: string[] | undefined;
@@ -3443,10 +3447,6 @@ declare const variantWorkItemInputSchemas: {
3443
3447
  sourceLabel?: string | undefined;
3444
3448
  sourceBody?: string | undefined;
3445
3449
  currentHtml?: string | undefined;
3446
- target?: {
3447
- type: "route" | "file" | "element";
3448
- ref: string;
3449
- } | undefined;
3450
3450
  targetElement?: StaticPreviewTargetElement | undefined;
3451
3451
  relevantFiles?: string[] | undefined;
3452
3452
  fidelity?: "high" | "medium" | "low" | undefined;
@@ -3497,7 +3497,6 @@ declare const variantWorkItemInputSchemas: {
3497
3497
  path: string;
3498
3498
  id: string;
3499
3499
  transport: "file";
3500
- label?: string | undefined;
3501
3500
  mimeType?: string | undefined;
3502
3501
  references?: {
3503
3502
  title: string;
@@ -3509,6 +3508,7 @@ declare const variantWorkItemInputSchemas: {
3509
3508
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
3510
3509
  } | undefined;
3511
3510
  }[] | undefined;
3511
+ label?: string | undefined;
3512
3512
  userIntent?: string | undefined;
3513
3513
  originalFilename?: string | undefined;
3514
3514
  } | {
@@ -3521,7 +3521,6 @@ declare const variantWorkItemInputSchemas: {
3521
3521
  path: string;
3522
3522
  id: string;
3523
3523
  transport: "text";
3524
- label?: string | undefined;
3525
3524
  references?: {
3526
3525
  title: string;
3527
3526
  id: string;
@@ -3532,6 +3531,7 @@ declare const variantWorkItemInputSchemas: {
3532
3531
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
3533
3532
  } | undefined;
3534
3533
  }[] | undefined;
3534
+ label?: string | undefined;
3535
3535
  userIntent?: string | undefined;
3536
3536
  })[];
3537
3537
  rivetActions: {
@@ -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
- label?: string | undefined;
3587
3586
  mimeType?: string | undefined;
3587
+ label?: string | undefined;
3588
3588
  }[] | undefined;
3589
3589
  bindings?: ({
3590
3590
  kind: "global";
@@ -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;
@@ -3653,7 +3654,6 @@ declare const variantWorkItemInputSchemas: {
3653
3654
  path: string;
3654
3655
  id: string;
3655
3656
  transport: "file";
3656
- label?: string | undefined;
3657
3657
  mimeType?: string | undefined;
3658
3658
  references?: {
3659
3659
  title: string;
@@ -3665,6 +3665,7 @@ declare const variantWorkItemInputSchemas: {
3665
3665
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
3666
3666
  } | undefined;
3667
3667
  }[] | undefined;
3668
+ label?: string | undefined;
3668
3669
  userIntent?: string | undefined;
3669
3670
  originalFilename?: string | undefined;
3670
3671
  } | {
@@ -3677,7 +3678,6 @@ declare const variantWorkItemInputSchemas: {
3677
3678
  path: string;
3678
3679
  id: string;
3679
3680
  transport: "text";
3680
- label?: string | undefined;
3681
3681
  references?: {
3682
3682
  title: string;
3683
3683
  id: string;
@@ -3688,6 +3688,7 @@ declare const variantWorkItemInputSchemas: {
3688
3688
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
3689
3689
  } | undefined;
3690
3690
  }[] | undefined;
3691
+ label?: string | undefined;
3691
3692
  userIntent?: string | undefined;
3692
3693
  })[];
3693
3694
  rivetActions: {
@@ -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
- label?: string | undefined;
3743
3743
  mimeType?: string | undefined;
3744
+ label?: string | undefined;
3744
3745
  }[] | undefined;
3745
3746
  bindings?: ({
3746
3747
  kind: "global";
@@ -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
+ requestId?: string | undefined;
3774
+ references?: {
3775
+ title: string;
3776
+ id: string;
3777
+ reason?: string | undefined;
3778
+ url?: string | undefined;
3779
+ image?: {
3780
+ hash: string;
3781
+ mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
3782
+ } | undefined;
3783
+ }[] | undefined;
3784
+ target?: {
3785
+ type: "route" | "file" | "element";
3786
+ ref: string;
3787
+ } | 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,7 +3808,6 @@ declare const variantWorkItemInputSchemas: {
3793
3808
  path: string;
3794
3809
  id: string;
3795
3810
  transport: "file";
3796
- label?: string | undefined;
3797
3811
  mimeType?: string | undefined;
3798
3812
  references?: {
3799
3813
  title: string;
@@ -3805,6 +3819,7 @@ declare const variantWorkItemInputSchemas: {
3805
3819
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
3806
3820
  } | undefined;
3807
3821
  }[] | undefined;
3822
+ label?: string | undefined;
3808
3823
  userIntent?: string | undefined;
3809
3824
  originalFilename?: string | undefined;
3810
3825
  } | {
@@ -3817,7 +3832,6 @@ declare const variantWorkItemInputSchemas: {
3817
3832
  path: string;
3818
3833
  id: string;
3819
3834
  transport: "text";
3820
- label?: string | undefined;
3821
3835
  references?: {
3822
3836
  title: string;
3823
3837
  id: string;
@@ -3828,6 +3842,7 @@ declare const variantWorkItemInputSchemas: {
3828
3842
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
3829
3843
  } | undefined;
3830
3844
  }[] | undefined;
3845
+ label?: string | undefined;
3831
3846
  userIntent?: string | undefined;
3832
3847
  })[];
3833
3848
  rivetMetadata: ({
@@ -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,22 +3897,11 @@ declare const variantWorkItemInputSchemas: {
3882
3897
  id: string;
3883
3898
  originalFilename: string;
3884
3899
  sizeBytes: number;
3885
- label?: string | undefined;
3886
3900
  mimeType?: string | undefined;
3901
+ label?: string | undefined;
3887
3902
  }[] | undefined;
3888
3903
  executionMode?: "static_preview" | "vite_app" | undefined;
3889
3904
  } | undefined;
3890
- references?: {
3891
- title: string;
3892
- id: string;
3893
- reason?: string | undefined;
3894
- url?: string | undefined;
3895
- image?: {
3896
- hash: string;
3897
- mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
3898
- } | undefined;
3899
- }[] | undefined;
3900
- requestId?: string | undefined;
3901
3905
  workerSelection?: WorkerSelection | undefined;
3902
3906
  briefId?: string | undefined;
3903
3907
  briefLabel?: string | undefined;
@@ -3905,29 +3909,28 @@ declare const variantWorkItemInputSchemas: {
3905
3909
  briefNotes?: string | undefined;
3906
3910
  visualReferenceUrl?: string | undefined;
3907
3911
  guidance?: {
3908
- title: string;
3909
3912
  id: string;
3913
+ title: string;
3910
3914
  markdown: string;
3911
3915
  attachments?: {
3912
- path: string;
3913
- source: string;
3914
3916
  hash: string;
3915
3917
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif";
3916
3918
  bytes: number;
3917
3919
  representation: "variant" | "image" | "video-cover" | "page";
3920
+ source: string;
3918
3921
  alt: string;
3919
- title?: string | undefined;
3922
+ path: string;
3920
3923
  page?: number | undefined;
3924
+ title?: string | undefined;
3921
3925
  }[] | undefined;
3922
3926
  references?: ({
3923
- path: string;
3924
3927
  kind: "directory";
3928
+ path: string;
3925
3929
  intent: string;
3926
3930
  } | {
3927
- url: string;
3928
3931
  kind: "url" | "repository";
3932
+ url: string;
3929
3933
  intent: string;
3930
- digest?: string | undefined;
3931
3934
  revision?: string | undefined;
3932
3935
  files?: {
3933
3936
  name: string;
@@ -3935,6 +3938,7 @@ declare const variantWorkItemInputSchemas: {
3935
3938
  path?: string | undefined;
3936
3939
  sha256?: string | undefined;
3937
3940
  }[] | undefined;
3941
+ digest?: string | undefined;
3938
3942
  })[] | undefined;
3939
3943
  }[] | undefined;
3940
3944
  previewRoutes?: string[] | undefined;
@@ -3943,10 +3947,6 @@ declare const variantWorkItemInputSchemas: {
3943
3947
  sourceLabel?: string | undefined;
3944
3948
  sourceBody?: string | undefined;
3945
3949
  currentHtml?: string | undefined;
3946
- target?: {
3947
- type: "route" | "file" | "element";
3948
- ref: string;
3949
- } | undefined;
3950
3950
  targetElement?: StaticPreviewTargetElement | undefined;
3951
3951
  relevantFiles?: string[] | undefined;
3952
3952
  fidelity?: "high" | "medium" | "low" | undefined;
@@ -3997,7 +3997,6 @@ declare const variantWorkItemInputSchemas: {
3997
3997
  path: string;
3998
3998
  id: string;
3999
3999
  transport: "file";
4000
- label?: string | undefined;
4001
4000
  mimeType?: string | undefined;
4002
4001
  references?: {
4003
4002
  title: string;
@@ -4009,6 +4008,7 @@ declare const variantWorkItemInputSchemas: {
4009
4008
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
4010
4009
  } | undefined;
4011
4010
  }[] | undefined;
4011
+ label?: string | undefined;
4012
4012
  userIntent?: string | undefined;
4013
4013
  originalFilename?: string | undefined;
4014
4014
  } | {
@@ -4021,7 +4021,6 @@ declare const variantWorkItemInputSchemas: {
4021
4021
  path: string;
4022
4022
  id: string;
4023
4023
  transport: "text";
4024
- label?: string | undefined;
4025
4024
  references?: {
4026
4025
  title: string;
4027
4026
  id: string;
@@ -4032,6 +4031,7 @@ declare const variantWorkItemInputSchemas: {
4032
4031
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
4033
4032
  } | undefined;
4034
4033
  }[] | undefined;
4034
+ label?: string | undefined;
4035
4035
  userIntent?: string | undefined;
4036
4036
  })[];
4037
4037
  rivetActions: {
@@ -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
- label?: string | undefined;
4087
4086
  mimeType?: string | undefined;
4087
+ label?: string | undefined;
4088
4088
  }[] | undefined;
4089
4089
  bindings?: ({
4090
4090
  kind: "global";
@@ -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;
@@ -4153,7 +4154,6 @@ declare const variantWorkItemInputSchemas: {
4153
4154
  path: string;
4154
4155
  id: string;
4155
4156
  transport: "file";
4156
- label?: string | undefined;
4157
4157
  mimeType?: string | undefined;
4158
4158
  references?: {
4159
4159
  title: string;
@@ -4165,6 +4165,7 @@ declare const variantWorkItemInputSchemas: {
4165
4165
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
4166
4166
  } | undefined;
4167
4167
  }[] | undefined;
4168
+ label?: string | undefined;
4168
4169
  userIntent?: string | undefined;
4169
4170
  originalFilename?: string | undefined;
4170
4171
  } | {
@@ -4177,7 +4178,6 @@ declare const variantWorkItemInputSchemas: {
4177
4178
  path: string;
4178
4179
  id: string;
4179
4180
  transport: "text";
4180
- label?: string | undefined;
4181
4181
  references?: {
4182
4182
  title: string;
4183
4183
  id: string;
@@ -4188,6 +4188,7 @@ declare const variantWorkItemInputSchemas: {
4188
4188
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
4189
4189
  } | undefined;
4190
4190
  }[] | undefined;
4191
+ label?: string | undefined;
4191
4192
  userIntent?: string | undefined;
4192
4193
  })[];
4193
4194
  rivetActions: {
@@ -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
- label?: string | undefined;
4243
4243
  mimeType?: string | undefined;
4244
+ label?: string | undefined;
4244
4245
  }[] | undefined;
4245
4246
  bindings?: ({
4246
4247
  kind: "global";
@@ -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,7 +4298,6 @@ declare const variantWorkItemInputSchemas: {
4298
4298
  path: string;
4299
4299
  id: string;
4300
4300
  transport: "file";
4301
- label?: string | undefined;
4302
4301
  mimeType?: string | undefined;
4303
4302
  references?: {
4304
4303
  title: string;
@@ -4310,6 +4309,7 @@ declare const variantWorkItemInputSchemas: {
4310
4309
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
4311
4310
  } | undefined;
4312
4311
  }[] | undefined;
4312
+ label?: string | undefined;
4313
4313
  userIntent?: string | undefined;
4314
4314
  originalFilename?: string | undefined;
4315
4315
  } | {
@@ -4322,7 +4322,6 @@ declare const variantWorkItemInputSchemas: {
4322
4322
  path: string;
4323
4323
  id: string;
4324
4324
  transport: "text";
4325
- label?: string | undefined;
4326
4325
  references?: {
4327
4326
  title: string;
4328
4327
  id: string;
@@ -4333,6 +4332,7 @@ declare const variantWorkItemInputSchemas: {
4333
4332
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
4334
4333
  } | undefined;
4335
4334
  }[] | undefined;
4335
+ label?: string | undefined;
4336
4336
  userIntent?: string | undefined;
4337
4337
  })[];
4338
4338
  rivetActions: {
@@ -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
- label?: string | undefined;
4388
4387
  mimeType?: string | undefined;
4388
+ label?: string | undefined;
4389
4389
  }[] | undefined;
4390
4390
  bindings?: ({
4391
4391
  kind: "global";
@@ -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;
@@ -4454,7 +4455,6 @@ declare const variantWorkItemInputSchemas: {
4454
4455
  path: string;
4455
4456
  id: string;
4456
4457
  transport: "file";
4457
- label?: string | undefined;
4458
4458
  mimeType?: string | undefined;
4459
4459
  references?: {
4460
4460
  title: string;
@@ -4466,6 +4466,7 @@ declare const variantWorkItemInputSchemas: {
4466
4466
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
4467
4467
  } | undefined;
4468
4468
  }[] | undefined;
4469
+ label?: string | undefined;
4469
4470
  userIntent?: string | undefined;
4470
4471
  originalFilename?: string | undefined;
4471
4472
  } | {
@@ -4478,7 +4479,6 @@ declare const variantWorkItemInputSchemas: {
4478
4479
  path: string;
4479
4480
  id: string;
4480
4481
  transport: "text";
4481
- label?: string | undefined;
4482
4482
  references?: {
4483
4483
  title: string;
4484
4484
  id: string;
@@ -4489,6 +4489,7 @@ declare const variantWorkItemInputSchemas: {
4489
4489
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
4490
4490
  } | undefined;
4491
4491
  }[] | undefined;
4492
+ label?: string | undefined;
4492
4493
  userIntent?: string | undefined;
4493
4494
  })[];
4494
4495
  rivetActions: {
@@ -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
- label?: string | undefined;
4544
4544
  mimeType?: string | undefined;
4545
+ label?: string | undefined;
4545
4546
  }[] | undefined;
4546
4547
  bindings?: ({
4547
4548
  kind: "global";
@@ -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,7 +4714,6 @@ declare const variantWorkItemInputSchemas: {
4714
4714
  path: string;
4715
4715
  id: string;
4716
4716
  transport: "file";
4717
- label?: string | undefined;
4718
4717
  mimeType?: string | undefined;
4719
4718
  references?: {
4720
4719
  title: string;
@@ -4726,6 +4725,7 @@ declare const variantWorkItemInputSchemas: {
4726
4725
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
4727
4726
  } | undefined;
4728
4727
  }[] | undefined;
4728
+ label?: string | undefined;
4729
4729
  userIntent?: string | undefined;
4730
4730
  originalFilename?: string | undefined;
4731
4731
  } | {
@@ -4738,7 +4738,6 @@ declare const variantWorkItemInputSchemas: {
4738
4738
  path: string;
4739
4739
  id: string;
4740
4740
  transport: "text";
4741
- label?: string | undefined;
4742
4741
  references?: {
4743
4742
  title: string;
4744
4743
  id: string;
@@ -4749,6 +4748,7 @@ declare const variantWorkItemInputSchemas: {
4749
4748
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
4750
4749
  } | undefined;
4751
4750
  }[] | undefined;
4751
+ label?: string | undefined;
4752
4752
  userIntent?: string | undefined;
4753
4753
  })[];
4754
4754
  rivetMetadata: ({
@@ -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
- label?: string | undefined;
4807
4806
  mimeType?: string | undefined;
4807
+ label?: 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,7 +4830,6 @@ declare const variantWorkItemInputSchemas: {
4830
4830
  path: string;
4831
4831
  id: string;
4832
4832
  transport: "file";
4833
- label?: string | undefined;
4834
4833
  mimeType?: string | undefined;
4835
4834
  references?: {
4836
4835
  title: string;
@@ -4842,6 +4841,7 @@ declare const variantWorkItemInputSchemas: {
4842
4841
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
4843
4842
  } | undefined;
4844
4843
  }[] | undefined;
4844
+ label?: string | undefined;
4845
4845
  userIntent?: string | undefined;
4846
4846
  originalFilename?: string | undefined;
4847
4847
  } | {
@@ -4854,7 +4854,6 @@ declare const variantWorkItemInputSchemas: {
4854
4854
  path: string;
4855
4855
  id: string;
4856
4856
  transport: "text";
4857
- label?: string | undefined;
4858
4857
  references?: {
4859
4858
  title: string;
4860
4859
  id: string;
@@ -4865,6 +4864,7 @@ declare const variantWorkItemInputSchemas: {
4865
4864
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
4866
4865
  } | undefined;
4867
4866
  }[] | undefined;
4867
+ label?: string | undefined;
4868
4868
  userIntent?: string | undefined;
4869
4869
  })[];
4870
4870
  rivetMetadata: ({
@@ -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
- label?: string | undefined;
4923
4922
  mimeType?: string | undefined;
4923
+ label?: string | undefined;
4924
4924
  }[] | undefined;
4925
4925
  executionMode?: "static_preview" | "vite_app" | undefined;
4926
4926
  }>>;
@@ -4975,7 +4975,6 @@ declare const variantWorkItemInputSchemas: {
4975
4975
  path: string;
4976
4976
  id: string;
4977
4977
  transport: "file";
4978
- label?: string | undefined;
4979
4978
  mimeType?: string | undefined;
4980
4979
  references?: {
4981
4980
  title: string;
@@ -4987,6 +4986,7 @@ declare const variantWorkItemInputSchemas: {
4987
4986
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
4988
4987
  } | undefined;
4989
4988
  }[] | undefined;
4989
+ label?: string | undefined;
4990
4990
  userIntent?: string | undefined;
4991
4991
  originalFilename?: string | undefined;
4992
4992
  } | {
@@ -4999,7 +4999,6 @@ declare const variantWorkItemInputSchemas: {
4999
4999
  path: string;
5000
5000
  id: string;
5001
5001
  transport: "text";
5002
- label?: string | undefined;
5003
5002
  references?: {
5004
5003
  title: string;
5005
5004
  id: string;
@@ -5010,6 +5009,7 @@ declare const variantWorkItemInputSchemas: {
5010
5009
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
5011
5010
  } | undefined;
5012
5011
  }[] | undefined;
5012
+ label?: string | undefined;
5013
5013
  userIntent?: string | undefined;
5014
5014
  })[];
5015
5015
  rivetActions: {
@@ -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
- label?: string | undefined;
5065
5064
  mimeType?: string | undefined;
5065
+ label?: string | undefined;
5066
5066
  }[] | undefined;
5067
5067
  bindings?: ({
5068
5068
  kind: "global";
@@ -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;
@@ -5131,7 +5132,6 @@ declare const variantWorkItemInputSchemas: {
5131
5132
  path: string;
5132
5133
  id: string;
5133
5134
  transport: "file";
5134
- label?: string | undefined;
5135
5135
  mimeType?: string | undefined;
5136
5136
  references?: {
5137
5137
  title: string;
@@ -5143,6 +5143,7 @@ declare const variantWorkItemInputSchemas: {
5143
5143
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
5144
5144
  } | undefined;
5145
5145
  }[] | undefined;
5146
+ label?: string | undefined;
5146
5147
  userIntent?: string | undefined;
5147
5148
  originalFilename?: string | undefined;
5148
5149
  } | {
@@ -5155,7 +5156,6 @@ declare const variantWorkItemInputSchemas: {
5155
5156
  path: string;
5156
5157
  id: string;
5157
5158
  transport: "text";
5158
- label?: string | undefined;
5159
5159
  references?: {
5160
5160
  title: string;
5161
5161
  id: string;
@@ -5166,6 +5166,7 @@ declare const variantWorkItemInputSchemas: {
5166
5166
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
5167
5167
  } | undefined;
5168
5168
  }[] | undefined;
5169
+ label?: string | undefined;
5169
5170
  userIntent?: string | undefined;
5170
5171
  })[];
5171
5172
  rivetActions: {
@@ -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
- label?: string | undefined;
5221
5221
  mimeType?: string | undefined;
5222
+ label?: string | undefined;
5222
5223
  }[] | undefined;
5223
5224
  bindings?: ({
5224
5225
  kind: "global";
@@ -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
+ variantId?: string | undefined;
5255
+ requestId?: string | undefined;
5256
+ instruction?: string | undefined;
5257
+ references?: {
5258
+ title: string;
5259
+ id: string;
5260
+ reason?: string | undefined;
5261
+ url?: string | undefined;
5262
+ image?: {
5263
+ hash: string;
5264
+ mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
5265
+ } | undefined;
5266
+ }[] | undefined;
5267
+ target?: {
5268
+ type: "route" | "file" | "element";
5269
+ ref: string;
5270
+ } | 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,7 +5291,6 @@ declare const variantWorkItemInputSchemas: {
5274
5291
  path: string;
5275
5292
  id: string;
5276
5293
  transport: "file";
5277
- label?: string | undefined;
5278
5294
  mimeType?: string | undefined;
5279
5295
  references?: {
5280
5296
  title: string;
@@ -5286,6 +5302,7 @@ declare const variantWorkItemInputSchemas: {
5286
5302
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
5287
5303
  } | undefined;
5288
5304
  }[] | undefined;
5305
+ label?: string | undefined;
5289
5306
  userIntent?: string | undefined;
5290
5307
  originalFilename?: string | undefined;
5291
5308
  } | {
@@ -5298,7 +5315,6 @@ declare const variantWorkItemInputSchemas: {
5298
5315
  path: string;
5299
5316
  id: string;
5300
5317
  transport: "text";
5301
- label?: string | undefined;
5302
5318
  references?: {
5303
5319
  title: string;
5304
5320
  id: string;
@@ -5309,6 +5325,7 @@ declare const variantWorkItemInputSchemas: {
5309
5325
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
5310
5326
  } | undefined;
5311
5327
  }[] | undefined;
5328
+ label?: string | undefined;
5312
5329
  userIntent?: string | undefined;
5313
5330
  })[];
5314
5331
  rivetMetadata: ({
@@ -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,51 +5380,37 @@ declare const variantWorkItemInputSchemas: {
5363
5380
  id: string;
5364
5381
  originalFilename: string;
5365
5382
  sizeBytes: number;
5366
- label?: string | undefined;
5367
5383
  mimeType?: string | undefined;
5384
+ label?: string | undefined;
5368
5385
  }[] | undefined;
5369
5386
  executionMode?: "static_preview" | "vite_app" | undefined;
5370
5387
  } | undefined;
5371
- references?: {
5372
- title: string;
5373
- id: string;
5374
- reason?: string | undefined;
5375
- url?: string | undefined;
5376
- image?: {
5377
- hash: string;
5378
- mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
5379
- } | undefined;
5380
- }[] | undefined;
5381
- variantId?: string | undefined;
5382
- requestId?: string | undefined;
5383
- instruction?: string | undefined;
5384
5388
  workerSelection?: WorkerSelection | undefined;
5385
5389
  briefNotes?: string | undefined;
5386
5390
  visualReferenceUrl?: string | undefined;
5387
5391
  guidance?: {
5388
- title: string;
5389
5392
  id: string;
5393
+ title: string;
5390
5394
  markdown: string;
5391
5395
  attachments?: {
5392
- path: string;
5393
- source: string;
5394
5396
  hash: string;
5395
5397
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif";
5396
5398
  bytes: number;
5397
5399
  representation: "variant" | "image" | "video-cover" | "page";
5400
+ source: string;
5398
5401
  alt: string;
5399
- title?: string | undefined;
5402
+ path: string;
5400
5403
  page?: number | undefined;
5404
+ title?: string | undefined;
5401
5405
  }[] | undefined;
5402
5406
  references?: ({
5403
- path: string;
5404
5407
  kind: "directory";
5408
+ path: string;
5405
5409
  intent: string;
5406
5410
  } | {
5407
- url: string;
5408
5411
  kind: "url" | "repository";
5412
+ url: string;
5409
5413
  intent: string;
5410
- digest?: string | undefined;
5411
5414
  revision?: string | undefined;
5412
5415
  files?: {
5413
5416
  name: string;
@@ -5415,6 +5418,7 @@ declare const variantWorkItemInputSchemas: {
5415
5418
  path?: string | undefined;
5416
5419
  sha256?: string | undefined;
5417
5420
  }[] | undefined;
5421
+ digest?: string | undefined;
5418
5422
  })[] | undefined;
5419
5423
  }[] | undefined;
5420
5424
  previewRoutes?: string[] | undefined;
@@ -5423,10 +5427,6 @@ declare const variantWorkItemInputSchemas: {
5423
5427
  sourceLabel?: string | undefined;
5424
5428
  sourceBody?: string | undefined;
5425
5429
  currentHtml?: string | undefined;
5426
- target?: {
5427
- type: "route" | "file" | "element";
5428
- ref: string;
5429
- } | undefined;
5430
5430
  targetElement?: StaticPreviewTargetElement | undefined;
5431
5431
  relevantFiles?: string[] | undefined;
5432
5432
  fidelity?: "high" | "medium" | "low" | undefined;
@@ -5475,7 +5475,6 @@ declare const variantWorkItemInputSchemas: {
5475
5475
  path: string;
5476
5476
  id: string;
5477
5477
  transport: "file";
5478
- label?: string | undefined;
5479
5478
  mimeType?: string | undefined;
5480
5479
  references?: {
5481
5480
  title: string;
@@ -5487,6 +5486,7 @@ declare const variantWorkItemInputSchemas: {
5487
5486
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
5488
5487
  } | undefined;
5489
5488
  }[] | undefined;
5489
+ label?: string | undefined;
5490
5490
  userIntent?: string | undefined;
5491
5491
  originalFilename?: string | undefined;
5492
5492
  } | {
@@ -5499,7 +5499,6 @@ declare const variantWorkItemInputSchemas: {
5499
5499
  path: string;
5500
5500
  id: string;
5501
5501
  transport: "text";
5502
- label?: string | undefined;
5503
5502
  references?: {
5504
5503
  title: string;
5505
5504
  id: string;
@@ -5510,6 +5509,7 @@ declare const variantWorkItemInputSchemas: {
5510
5509
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
5511
5510
  } | undefined;
5512
5511
  }[] | undefined;
5512
+ label?: string | undefined;
5513
5513
  userIntent?: string | undefined;
5514
5514
  })[];
5515
5515
  rivetActions: {
@@ -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
- label?: string | undefined;
5565
5564
  mimeType?: string | undefined;
5565
+ label?: string | undefined;
5566
5566
  }[] | undefined;
5567
5567
  bindings?: ({
5568
5568
  kind: "global";
@@ -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;
@@ -5631,7 +5632,6 @@ declare const variantWorkItemInputSchemas: {
5631
5632
  path: string;
5632
5633
  id: string;
5633
5634
  transport: "file";
5634
- label?: string | undefined;
5635
5635
  mimeType?: string | undefined;
5636
5636
  references?: {
5637
5637
  title: string;
@@ -5643,6 +5643,7 @@ declare const variantWorkItemInputSchemas: {
5643
5643
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
5644
5644
  } | undefined;
5645
5645
  }[] | undefined;
5646
+ label?: string | undefined;
5646
5647
  userIntent?: string | undefined;
5647
5648
  originalFilename?: string | undefined;
5648
5649
  } | {
@@ -5655,7 +5656,6 @@ declare const variantWorkItemInputSchemas: {
5655
5656
  path: string;
5656
5657
  id: string;
5657
5658
  transport: "text";
5658
- label?: string | undefined;
5659
5659
  references?: {
5660
5660
  title: string;
5661
5661
  id: string;
@@ -5666,6 +5666,7 @@ declare const variantWorkItemInputSchemas: {
5666
5666
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
5667
5667
  } | undefined;
5668
5668
  }[] | undefined;
5669
+ label?: string | undefined;
5669
5670
  userIntent?: string | undefined;
5670
5671
  })[];
5671
5672
  rivetActions: {
@@ -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
- label?: string | undefined;
5721
5721
  mimeType?: string | undefined;
5722
+ label?: string | undefined;
5722
5723
  }[] | undefined;
5723
5724
  bindings?: ({
5724
5725
  kind: "global";
@@ -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
+ variantId?: string | undefined;
5755
+ requestId?: string | undefined;
5756
+ instruction?: string | undefined;
5757
+ references?: {
5758
+ title: string;
5759
+ id: string;
5760
+ reason?: string | undefined;
5761
+ url?: string | undefined;
5762
+ image?: {
5763
+ hash: string;
5764
+ mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
5765
+ } | undefined;
5766
+ }[] | undefined;
5767
+ target?: {
5768
+ type: "route" | "file" | "element";
5769
+ ref: string;
5770
+ } | 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,7 +5791,6 @@ declare const variantWorkItemInputSchemas: {
5774
5791
  path: string;
5775
5792
  id: string;
5776
5793
  transport: "file";
5777
- label?: string | undefined;
5778
5794
  mimeType?: string | undefined;
5779
5795
  references?: {
5780
5796
  title: string;
@@ -5786,6 +5802,7 @@ declare const variantWorkItemInputSchemas: {
5786
5802
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
5787
5803
  } | undefined;
5788
5804
  }[] | undefined;
5805
+ label?: string | undefined;
5789
5806
  userIntent?: string | undefined;
5790
5807
  originalFilename?: string | undefined;
5791
5808
  } | {
@@ -5798,7 +5815,6 @@ declare const variantWorkItemInputSchemas: {
5798
5815
  path: string;
5799
5816
  id: string;
5800
5817
  transport: "text";
5801
- label?: string | undefined;
5802
5818
  references?: {
5803
5819
  title: string;
5804
5820
  id: string;
@@ -5809,6 +5825,7 @@ declare const variantWorkItemInputSchemas: {
5809
5825
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
5810
5826
  } | undefined;
5811
5827
  }[] | undefined;
5828
+ label?: string | undefined;
5812
5829
  userIntent?: string | undefined;
5813
5830
  })[];
5814
5831
  rivetMetadata: ({
@@ -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,51 +5880,37 @@ declare const variantWorkItemInputSchemas: {
5863
5880
  id: string;
5864
5881
  originalFilename: string;
5865
5882
  sizeBytes: number;
5866
- label?: string | undefined;
5867
5883
  mimeType?: string | undefined;
5884
+ label?: string | undefined;
5868
5885
  }[] | undefined;
5869
5886
  executionMode?: "static_preview" | "vite_app" | undefined;
5870
5887
  } | undefined;
5871
- references?: {
5872
- title: string;
5873
- id: string;
5874
- reason?: string | undefined;
5875
- url?: string | undefined;
5876
- image?: {
5877
- hash: string;
5878
- mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
5879
- } | undefined;
5880
- }[] | undefined;
5881
- variantId?: string | undefined;
5882
- requestId?: string | undefined;
5883
- instruction?: string | undefined;
5884
5888
  workerSelection?: WorkerSelection | undefined;
5885
5889
  briefNotes?: string | undefined;
5886
5890
  visualReferenceUrl?: string | undefined;
5887
5891
  guidance?: {
5888
- title: string;
5889
5892
  id: string;
5893
+ title: string;
5890
5894
  markdown: string;
5891
5895
  attachments?: {
5892
- path: string;
5893
- source: string;
5894
5896
  hash: string;
5895
5897
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif";
5896
5898
  bytes: number;
5897
5899
  representation: "variant" | "image" | "video-cover" | "page";
5900
+ source: string;
5898
5901
  alt: string;
5899
- title?: string | undefined;
5902
+ path: string;
5900
5903
  page?: number | undefined;
5904
+ title?: string | undefined;
5901
5905
  }[] | undefined;
5902
5906
  references?: ({
5903
- path: string;
5904
5907
  kind: "directory";
5908
+ path: string;
5905
5909
  intent: string;
5906
5910
  } | {
5907
- url: string;
5908
5911
  kind: "url" | "repository";
5912
+ url: string;
5909
5913
  intent: string;
5910
- digest?: string | undefined;
5911
5914
  revision?: string | undefined;
5912
5915
  files?: {
5913
5916
  name: string;
@@ -5915,6 +5918,7 @@ declare const variantWorkItemInputSchemas: {
5915
5918
  path?: string | undefined;
5916
5919
  sha256?: string | undefined;
5917
5920
  }[] | undefined;
5921
+ digest?: string | undefined;
5918
5922
  })[] | undefined;
5919
5923
  }[] | undefined;
5920
5924
  previewRoutes?: string[] | undefined;
@@ -5923,10 +5927,6 @@ declare const variantWorkItemInputSchemas: {
5923
5927
  sourceLabel?: string | undefined;
5924
5928
  sourceBody?: string | undefined;
5925
5929
  currentHtml?: string | undefined;
5926
- target?: {
5927
- type: "route" | "file" | "element";
5928
- ref: string;
5929
- } | undefined;
5930
5930
  targetElement?: StaticPreviewTargetElement | undefined;
5931
5931
  relevantFiles?: string[] | undefined;
5932
5932
  fidelity?: "high" | "medium" | "low" | undefined;