rivet-design 0.26.1 → 0.26.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (93) hide show
  1. package/bin/rivet.js +13 -0
  2. package/dist/agent-variants/WorkerExecutorService.d.ts +0 -2
  3. package/dist/agent-variants/WorkerExecutorService.js +0 -18
  4. package/dist/agent-variants/WorktreeOrchestrator.testHelpers.js +0 -8
  5. package/dist/agent-variants/contracts.d.ts +897 -4764
  6. package/dist/agent-variants/contracts.js +1 -121
  7. package/dist/agent-variants/index.d.ts +1 -1
  8. package/dist/agent-variants/variantsTelemetry.d.ts +0 -8
  9. package/dist/agent-variants/workItemInput.d.ts +278 -278
  10. package/dist/cli/commands/contextRequest.js +1 -1
  11. package/dist/cli/commands/guidanceReferences.d.ts +2 -2
  12. package/dist/cli/commands/guidanceVerifierPackage.d.ts +2 -2
  13. package/dist/cli/editorSession.d.ts +1 -13
  14. package/dist/cli/runtimeInterruption.d.ts +2 -16
  15. package/dist/config/pluginMetrics.js +0 -1
  16. package/dist/hosts/workerDefaults.d.ts +0 -11
  17. package/dist/hosts/workerDefaults.js +1 -30
  18. package/dist/index-core.d.ts +0 -1
  19. package/dist/index.js +1 -1
  20. package/dist/install/automaticCliUpdate.d.ts +1 -0
  21. package/dist/install/automaticCliUpdate.js +32 -22
  22. package/dist/install/channelCli.d.ts +1 -1
  23. package/dist/install/channelCli.js +11 -6
  24. package/dist/install/channelManager.d.ts +5 -2
  25. package/dist/install/globalBootstrap.d.ts +5 -3
  26. package/dist/install/globalBootstrap.js +21 -9
  27. package/dist/install/npmCommand.d.ts +15 -0
  28. package/dist/install/npmCommand.js +59 -0
  29. package/dist/routes/agentVariants.js +3 -14
  30. package/dist/routes/library/browserAccess.js +6 -2
  31. package/dist/routes/library/guidance.js +3 -1
  32. package/dist/routes/library/middleware.js +4 -4
  33. package/dist/routes/library/navigation.js +3 -1
  34. package/dist/routes/library/profiles.js +5 -5
  35. package/dist/routes/library/projects.js +17 -7
  36. package/dist/routes/library/referenceOnboarding.js +4 -2
  37. package/dist/routes/library/schemas.d.ts +2 -15
  38. package/dist/routes/telemetry.js +1 -1
  39. package/dist/routes/variantRequestSchema.d.ts +4 -4
  40. package/dist/routes/variantRequestSchema.js +7 -2
  41. package/dist/services/AuthService.d.ts +3 -56
  42. package/dist/services/AuthService.js +0 -28
  43. package/dist/services/ConfigManager.d.ts +0 -2
  44. package/dist/services/ConfigManager.js +0 -14
  45. package/dist/services/HubDiscovery.d.ts +1 -9
  46. package/dist/services/IntegrationsClient.d.ts +16 -16
  47. package/dist/services/MCPOnboardingTelemetry.d.ts +0 -14
  48. package/dist/services/MCPOnboardingTelemetry.js +0 -62
  49. package/dist/services/ProjectRegistry.d.ts +5 -24
  50. package/dist/services/TelemetryService.d.ts +1 -62
  51. package/dist/services/TelemetryService.js +0 -113
  52. package/dist/services/TreeStore.d.ts +0 -2
  53. package/dist/services/TreeStore.js +0 -24
  54. package/dist/services/profiles/DesignProfiles.d.ts +180 -125
  55. package/dist/services/profiles/ProfilePlanning.d.ts +38 -38
  56. package/dist/services/profiles/ReferenceReader.d.ts +14 -14
  57. package/dist/services/profiles/modelContract.js +4 -4
  58. package/dist/storage/library/ProjectPreviewCache.d.ts +1 -13
  59. package/dist/storage/profiles/ProfilePlans.d.ts +137 -137
  60. package/dist/storage/profiles/ProfileRecords.d.ts +62 -37
  61. package/dist/storage/profiles/planSchema.d.ts +40 -40
  62. package/dist/storage/profiles/schema.d.ts +16 -16
  63. package/dist/types/api-responses.d.ts +174 -0
  64. package/dist/types/api-responses.js +108 -0
  65. package/dist/types/cosmos-profile.d.ts +17 -105
  66. package/dist/types/cosmos.d.ts +48 -266
  67. package/dist/types/design-library.d.ts +230 -61
  68. package/dist/types/design-library.js +38 -1
  69. package/dist/types/design-profile.d.ts +220 -529
  70. package/dist/types/design-profile.js +5 -1
  71. package/dist/types/guidance-references.d.ts +68 -316
  72. package/dist/types/guidance-verifier.d.ts +65 -558
  73. package/dist/types/guidance-verifier.js +1 -1
  74. package/dist/types/guidance.d.ts +182 -1643
  75. package/dist/types/guidance.js +4 -1
  76. package/dist/types/project-library.d.ts +60 -30
  77. package/dist/types/project-library.js +32 -1
  78. package/dist/types/reference-connectors.d.ts +38 -162
  79. package/dist/types/reference-onboarding.d.ts +144 -878
  80. package/dist/types/reference-pages.d.ts +27 -139
  81. package/dist/types/x-bookmarks.d.ts +40 -296
  82. package/dist/utils/displayLocale.d.ts +0 -1
  83. package/dist/utils/displayLocale.js +1 -3
  84. package/package.json +4 -4
  85. package/src/ui/dist/assets/LibraryEntry-92R_T-Xa.js +37 -0
  86. package/src/ui/dist/assets/main-D0UmAaUe.css +1 -0
  87. package/src/ui/dist/assets/main-DgEfJvYu.js +497 -0
  88. package/src/ui/dist/index.html +2 -2
  89. package/dist/types/change-types.d.ts +0 -66
  90. package/dist/types/change-types.js +0 -3
  91. package/src/ui/dist/assets/LibraryEntry-Cr4GFYXW.js +0 -37
  92. package/src/ui/dist/assets/main-W3oTuTTl.css +0 -1
  93. package/src/ui/dist/assets/main-tPO1OCpZ.js +0 -439
@@ -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;
@@ -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;
@@ -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;
@@ -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";
@@ -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;
@@ -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;
@@ -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;
@@ -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
  };
@@ -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;
@@ -851,8 +851,8 @@ declare const variantWorkItemInputSchemas: {
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
  };
@@ -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;
@@ -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;
@@ -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;
@@ -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;
@@ -1285,16 +1286,32 @@ declare const variantWorkItemInputSchemas: {
1285
1286
  userQuestion?: string | undefined;
1286
1287
  } | undefined;
1287
1288
  } | undefined;
1288
- framework?: "vite" | "remix" | "next" | "astro" | undefined;
1289
1289
  assetSourceRoot?: string | undefined;
1290
1290
  };
1291
1291
  briefId: string;
1292
1292
  briefLabel: string;
1293
+ target?: {
1294
+ type: "route" | "file" | "element";
1295
+ ref: string;
1296
+ } | undefined;
1297
+ references?: {
1298
+ title: string;
1299
+ id: string;
1300
+ reason?: string | undefined;
1301
+ url?: string | undefined;
1302
+ image?: {
1303
+ hash: string;
1304
+ mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
1305
+ } | undefined;
1306
+ }[] | undefined;
1307
+ variantId?: string | undefined;
1308
+ requestId?: string | undefined;
1309
+ instruction?: string | undefined;
1293
1310
  context?: {
1294
1311
  brief: {
1295
1312
  label: string;
1296
- briefId: string;
1297
1313
  body: string;
1314
+ briefId: string;
1298
1315
  notes?: string | undefined;
1299
1316
  visualReferenceUrl?: string | undefined;
1300
1317
  };
@@ -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;
@@ -1407,47 +1424,33 @@ declare const variantWorkItemInputSchemas: {
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;
@@ -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;
@@ -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;
@@ -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;
@@ -1785,16 +1786,32 @@ declare const variantWorkItemInputSchemas: {
1785
1786
  userQuestion?: string | undefined;
1786
1787
  } | undefined;
1787
1788
  } | undefined;
1788
- framework?: "vite" | "remix" | "next" | "astro" | undefined;
1789
1789
  assetSourceRoot?: string | undefined;
1790
1790
  };
1791
1791
  briefId: string;
1792
1792
  briefLabel: string;
1793
+ target?: {
1794
+ type: "route" | "file" | "element";
1795
+ ref: string;
1796
+ } | undefined;
1797
+ references?: {
1798
+ title: string;
1799
+ id: string;
1800
+ reason?: string | undefined;
1801
+ url?: string | undefined;
1802
+ image?: {
1803
+ hash: string;
1804
+ mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
1805
+ } | undefined;
1806
+ }[] | undefined;
1807
+ variantId?: string | undefined;
1808
+ requestId?: string | undefined;
1809
+ instruction?: string | undefined;
1793
1810
  context?: {
1794
1811
  brief: {
1795
1812
  label: string;
1796
- briefId: string;
1797
1813
  body: string;
1814
+ briefId: string;
1798
1815
  notes?: string | undefined;
1799
1816
  visualReferenceUrl?: string | undefined;
1800
1817
  };
@@ -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;
@@ -1907,47 +1924,33 @@ declare const variantWorkItemInputSchemas: {
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;
@@ -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;
@@ -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;
@@ -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;
@@ -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";
@@ -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;
@@ -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;
@@ -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;
@@ -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
  };
@@ -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;
@@ -2831,8 +2831,8 @@ declare const variantWorkItemInputSchemas: {
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
  };
@@ -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;
@@ -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;
@@ -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;
@@ -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;
@@ -3267,14 +3268,28 @@ declare const variantWorkItemInputSchemas: {
3267
3268
  userQuestion?: string | undefined;
3268
3269
  } | undefined;
3269
3270
  } | undefined;
3270
- framework?: "vite" | "remix" | "next" | "astro" | undefined;
3271
3271
  assetSourceRoot?: string | undefined;
3272
3272
  };
3273
+ target?: {
3274
+ type: "route" | "file" | "element";
3275
+ ref: string;
3276
+ } | undefined;
3277
+ references?: {
3278
+ title: string;
3279
+ id: string;
3280
+ reason?: string | undefined;
3281
+ url?: string | undefined;
3282
+ image?: {
3283
+ hash: string;
3284
+ mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
3285
+ } | undefined;
3286
+ }[] | undefined;
3287
+ requestId?: string | undefined;
3273
3288
  context?: {
3274
3289
  brief: {
3275
3290
  label: string;
3276
- briefId: string;
3277
3291
  body: string;
3292
+ briefId: string;
3278
3293
  notes?: string | undefined;
3279
3294
  visualReferenceUrl?: string | undefined;
3280
3295
  };
@@ -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;
@@ -3387,17 +3402,6 @@ declare const variantWorkItemInputSchemas: {
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;
@@ -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;
@@ -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;
@@ -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;
@@ -3767,14 +3768,28 @@ declare const variantWorkItemInputSchemas: {
3767
3768
  userQuestion?: string | undefined;
3768
3769
  } | undefined;
3769
3770
  } | undefined;
3770
- framework?: "vite" | "remix" | "next" | "astro" | undefined;
3771
3771
  assetSourceRoot?: string | undefined;
3772
3772
  };
3773
+ target?: {
3774
+ type: "route" | "file" | "element";
3775
+ ref: string;
3776
+ } | undefined;
3777
+ references?: {
3778
+ title: string;
3779
+ id: string;
3780
+ reason?: string | undefined;
3781
+ url?: string | undefined;
3782
+ image?: {
3783
+ hash: string;
3784
+ mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
3785
+ } | undefined;
3786
+ }[] | undefined;
3787
+ requestId?: string | undefined;
3773
3788
  context?: {
3774
3789
  brief: {
3775
3790
  label: string;
3776
- briefId: string;
3777
3791
  body: string;
3792
+ briefId: string;
3778
3793
  notes?: string | undefined;
3779
3794
  visualReferenceUrl?: string | undefined;
3780
3795
  };
@@ -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;
@@ -3887,17 +3902,6 @@ declare const variantWorkItemInputSchemas: {
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;
@@ -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;
@@ -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;
@@ -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;
@@ -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";
@@ -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;
@@ -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;
@@ -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;
@@ -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
  };
@@ -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;
@@ -4810,8 +4810,8 @@ declare const variantWorkItemInputSchemas: {
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
  };
@@ -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;
@@ -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;
@@ -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;
@@ -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;
@@ -5245,17 +5246,33 @@ declare const variantWorkItemInputSchemas: {
5245
5246
  userQuestion?: string | undefined;
5246
5247
  } | undefined;
5247
5248
  } | undefined;
5248
- framework?: "vite" | "remix" | "next" | "astro" | undefined;
5249
5249
  assetSourceRoot?: string | undefined;
5250
5250
  };
5251
5251
  briefId: string;
5252
5252
  briefLabel: string;
5253
5253
  briefBody: string;
5254
+ target?: {
5255
+ type: "route" | "file" | "element";
5256
+ ref: string;
5257
+ } | undefined;
5258
+ references?: {
5259
+ title: string;
5260
+ id: string;
5261
+ reason?: string | undefined;
5262
+ url?: string | undefined;
5263
+ image?: {
5264
+ hash: string;
5265
+ mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
5266
+ } | undefined;
5267
+ }[] | undefined;
5268
+ variantId?: string | undefined;
5269
+ requestId?: string | undefined;
5270
+ instruction?: string | undefined;
5254
5271
  context?: {
5255
5272
  brief: {
5256
5273
  label: string;
5257
- briefId: string;
5258
5274
  body: string;
5275
+ briefId: string;
5259
5276
  notes?: string | undefined;
5260
5277
  visualReferenceUrl?: string | undefined;
5261
5278
  };
@@ -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;
@@ -5368,46 +5385,32 @@ declare const variantWorkItemInputSchemas: {
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;
@@ -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;
@@ -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;
@@ -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;
@@ -5745,17 +5746,33 @@ declare const variantWorkItemInputSchemas: {
5745
5746
  userQuestion?: string | undefined;
5746
5747
  } | undefined;
5747
5748
  } | undefined;
5748
- framework?: "vite" | "remix" | "next" | "astro" | undefined;
5749
5749
  assetSourceRoot?: string | undefined;
5750
5750
  };
5751
5751
  briefId: string;
5752
5752
  briefLabel: string;
5753
5753
  briefBody: string;
5754
+ target?: {
5755
+ type: "route" | "file" | "element";
5756
+ ref: string;
5757
+ } | undefined;
5758
+ references?: {
5759
+ title: string;
5760
+ id: string;
5761
+ reason?: string | undefined;
5762
+ url?: string | undefined;
5763
+ image?: {
5764
+ hash: string;
5765
+ mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
5766
+ } | undefined;
5767
+ }[] | undefined;
5768
+ variantId?: string | undefined;
5769
+ requestId?: string | undefined;
5770
+ instruction?: string | undefined;
5754
5771
  context?: {
5755
5772
  brief: {
5756
5773
  label: string;
5757
- briefId: string;
5758
5774
  body: string;
5775
+ briefId: string;
5759
5776
  notes?: string | undefined;
5760
5777
  visualReferenceUrl?: string | undefined;
5761
5778
  };
@@ -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;
@@ -5868,46 +5885,32 @@ declare const variantWorkItemInputSchemas: {
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;