rivet-design 0.14.11 → 0.14.13

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 (133) hide show
  1. package/dist/agent-variants/SessionStore.d.ts.map +1 -1
  2. package/dist/agent-variants/SessionStore.js +3 -0
  3. package/dist/agent-variants/SessionStore.js.map +1 -1
  4. package/dist/agent-variants/WorktreeOrchestrator.d.ts +19 -3
  5. package/dist/agent-variants/WorktreeOrchestrator.d.ts.map +1 -1
  6. package/dist/agent-variants/WorktreeOrchestrator.js +286 -61
  7. package/dist/agent-variants/WorktreeOrchestrator.js.map +1 -1
  8. package/dist/agent-variants/WorktreeOrchestrator.testHelpers.d.ts +1 -0
  9. package/dist/agent-variants/WorktreeOrchestrator.testHelpers.d.ts.map +1 -1
  10. package/dist/agent-variants/WorktreeOrchestrator.testHelpers.js +1 -0
  11. package/dist/agent-variants/WorktreeOrchestrator.testHelpers.js.map +1 -1
  12. package/dist/agent-variants/contextAssets.d.ts +23 -0
  13. package/dist/agent-variants/contextAssets.d.ts.map +1 -0
  14. package/dist/agent-variants/contextAssets.js +199 -0
  15. package/dist/agent-variants/contextAssets.js.map +1 -0
  16. package/dist/agent-variants/contracts.d.ts +731 -181
  17. package/dist/agent-variants/contracts.d.ts.map +1 -1
  18. package/dist/agent-variants/contracts.js +33 -2
  19. package/dist/agent-variants/contracts.js.map +1 -1
  20. package/dist/agent-variants/variantContext.d.ts +2 -1
  21. package/dist/agent-variants/variantContext.d.ts.map +1 -1
  22. package/dist/agent-variants/variantContext.js +9 -0
  23. package/dist/agent-variants/variantContext.js.map +1 -1
  24. package/dist/agent-variants/workItemBriefing.d.ts.map +1 -1
  25. package/dist/agent-variants/workItemBriefing.js +12 -0
  26. package/dist/agent-variants/workItemBriefing.js.map +1 -1
  27. package/dist/cli/commands/mcpServe.d.ts +3 -1
  28. package/dist/cli/commands/mcpServe.d.ts.map +1 -1
  29. package/dist/cli/commands/mcpServe.js +168 -24
  30. package/dist/cli/commands/mcpServe.js.map +1 -1
  31. package/dist/cli/commands/reference.d.ts.map +1 -1
  32. package/dist/cli/commands/reference.js +10 -4
  33. package/dist/cli/commands/reference.js.map +1 -1
  34. package/dist/cli/commands/serve.d.ts.map +1 -1
  35. package/dist/cli/commands/serve.js +36 -7
  36. package/dist/cli/commands/serve.js.map +1 -1
  37. package/dist/cli/commands/shared.d.ts +0 -1
  38. package/dist/cli/commands/shared.d.ts.map +1 -1
  39. package/dist/cli/commands/shared.js +9 -1
  40. package/dist/cli/commands/shared.js.map +1 -1
  41. package/dist/cli/commands/variants.d.ts.map +1 -1
  42. package/dist/cli/commands/variants.js +69 -1
  43. package/dist/cli/commands/variants.js.map +1 -1
  44. package/dist/cli/commands/wait.d.ts +38 -0
  45. package/dist/cli/commands/wait.d.ts.map +1 -1
  46. package/dist/cli/commands/wait.js +16 -2
  47. package/dist/cli/commands/wait.js.map +1 -1
  48. package/dist/cli/envelope.d.ts +8 -1
  49. package/dist/cli/envelope.d.ts.map +1 -1
  50. package/dist/cli/envelope.js +31 -9
  51. package/dist/cli/envelope.js.map +1 -1
  52. package/dist/cli/router.d.ts.map +1 -1
  53. package/dist/cli/router.js +32 -7
  54. package/dist/cli/router.js.map +1 -1
  55. package/dist/cli/telemetry.d.ts +14 -0
  56. package/dist/cli/telemetry.d.ts.map +1 -0
  57. package/dist/cli/telemetry.js +71 -0
  58. package/dist/cli/telemetry.js.map +1 -0
  59. package/dist/config/telemetryContract.d.ts +3 -0
  60. package/dist/config/telemetryContract.d.ts.map +1 -0
  61. package/dist/config/telemetryContract.js +6 -0
  62. package/dist/config/telemetryContract.js.map +1 -0
  63. package/dist/index.d.ts +18 -0
  64. package/dist/index.d.ts.map +1 -1
  65. package/dist/index.js +95 -6
  66. package/dist/index.js.map +1 -1
  67. package/dist/install/legacyMcp.d.ts +13 -0
  68. package/dist/install/legacyMcp.d.ts.map +1 -1
  69. package/dist/install/legacyMcp.js +40 -4
  70. package/dist/install/legacyMcp.js.map +1 -1
  71. package/dist/routes/agentVariants.d.ts.map +1 -1
  72. package/dist/routes/agentVariants.js +5 -0
  73. package/dist/routes/agentVariants.js.map +1 -1
  74. package/dist/routes/mcp.d.ts.map +1 -1
  75. package/dist/routes/mcp.js +0 -5
  76. package/dist/routes/mcp.js.map +1 -1
  77. package/dist/services/ConfigManager.d.ts +8 -0
  78. package/dist/services/ConfigManager.d.ts.map +1 -1
  79. package/dist/services/ConfigManager.js +14 -0
  80. package/dist/services/ConfigManager.js.map +1 -1
  81. package/dist/services/DevServerRuntimeService.d.ts +5 -17
  82. package/dist/services/DevServerRuntimeService.d.ts.map +1 -1
  83. package/dist/services/DevServerRuntimeService.js +43 -81
  84. package/dist/services/DevServerRuntimeService.js.map +1 -1
  85. package/dist/services/ProjectDetectionService.d.ts.map +1 -1
  86. package/dist/services/ProjectDetectionService.js +6 -1
  87. package/dist/services/ProjectDetectionService.js.map +1 -1
  88. package/dist/services/TelemetryService.d.ts +55 -10
  89. package/dist/services/TelemetryService.d.ts.map +1 -1
  90. package/dist/services/TelemetryService.js +78 -13
  91. package/dist/services/TelemetryService.js.map +1 -1
  92. package/dist/services/VariantGenerationService.d.ts.map +1 -1
  93. package/dist/services/VariantGenerationService.js +10 -4
  94. package/dist/services/VariantGenerationService.js.map +1 -1
  95. package/dist/services/VariantRunService.d.ts +1 -0
  96. package/dist/services/VariantRunService.d.ts.map +1 -1
  97. package/dist/services/VariantRunService.js +12 -1
  98. package/dist/services/VariantRunService.js.map +1 -1
  99. package/dist/services/WorktreeManager.d.ts +3 -3
  100. package/dist/services/WorktreeManager.d.ts.map +1 -1
  101. package/dist/services/WorktreeManager.js +41 -25
  102. package/dist/services/WorktreeManager.js.map +1 -1
  103. package/dist/services/createAgentVariantsOrchestrator.d.ts.map +1 -1
  104. package/dist/services/createAgentVariantsOrchestrator.js +4 -1
  105. package/dist/services/createAgentVariantsOrchestrator.js.map +1 -1
  106. package/dist/types/change-request-types.d.ts +3 -0
  107. package/dist/types/change-request-types.d.ts.map +1 -1
  108. package/dist/types/change-request-types.js +0 -5
  109. package/dist/types/change-request-types.js.map +1 -1
  110. package/dist/utils/devServerCommand.d.ts +10 -0
  111. package/dist/utils/devServerCommand.d.ts.map +1 -1
  112. package/dist/utils/devServerCommand.js +37 -1
  113. package/dist/utils/devServerCommand.js.map +1 -1
  114. package/dist/utils/devServerError.d.ts +2 -1
  115. package/dist/utils/devServerError.d.ts.map +1 -1
  116. package/dist/utils/devServerError.js +12 -0
  117. package/dist/utils/devServerError.js.map +1 -1
  118. package/dist/utils/loginShellPath.d.ts +2 -2
  119. package/dist/utils/loginShellPath.d.ts.map +1 -1
  120. package/dist/utils/loginShellPath.js +18 -12
  121. package/dist/utils/loginShellPath.js.map +1 -1
  122. package/dist/utils/skills/claude-skill.d.ts +1 -1
  123. package/dist/utils/skills/claude-skill.d.ts.map +1 -1
  124. package/dist/utils/skills/cli-guidance.d.ts +2 -2
  125. package/dist/utils/skills/cli-guidance.d.ts.map +1 -1
  126. package/dist/utils/skills/cli-guidance.js +4 -2
  127. package/dist/utils/skills/cli-guidance.js.map +1 -1
  128. package/dist/utils/skills/cursor-rules.d.ts +1 -1
  129. package/dist/utils/skills/cursor-rules.d.ts.map +1 -1
  130. package/package.json +1 -1
  131. package/src/ui/dist/assets/main-BfVGaiD6.js +422 -0
  132. package/src/ui/dist/index.html +1 -1
  133. package/src/ui/dist/assets/main-EGX1lAi3.js +0 -422
@@ -79,15 +79,16 @@ export interface WorkItem {
79
79
  */
80
80
  removed?: boolean;
81
81
  }
82
+ export declare const CONTEXT_ASSET_MAX_ITEMS = 12;
82
83
  export declare const designContextEntrySchema: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
83
84
  kind: z.ZodLiteral<"slug">;
84
85
  slug: z.ZodString;
85
86
  }, "strip", z.ZodTypeAny, {
86
- slug: string;
87
87
  kind: "slug";
88
- }, {
89
88
  slug: string;
89
+ }, {
90
90
  kind: "slug";
91
+ slug: string;
91
92
  }>, z.ZodObject<{
92
93
  kind: z.ZodLiteral<"markdown">;
93
94
  content: z.ZodString;
@@ -280,6 +281,41 @@ export declare const rawUserContextSourceSchema: z.ZodDiscriminatedUnion<"transp
280
281
  label?: string | undefined;
281
282
  userIntent?: string | undefined;
282
283
  }>]>;
284
+ export declare const contextAssetInputSchema: z.ZodObject<{
285
+ path: z.ZodString;
286
+ label: z.ZodOptional<z.ZodString>;
287
+ }, "strict", z.ZodTypeAny, {
288
+ path: string;
289
+ label?: string | undefined;
290
+ }, {
291
+ path: string;
292
+ label?: string | undefined;
293
+ }>;
294
+ export declare const stagedContextAssetSchema: z.ZodObject<{
295
+ id: z.ZodString;
296
+ path: z.ZodString;
297
+ originalFilename: z.ZodString;
298
+ mimeType: z.ZodOptional<z.ZodString>;
299
+ sizeBytes: z.ZodNumber;
300
+ sha256: z.ZodString;
301
+ label: z.ZodOptional<z.ZodString>;
302
+ }, "strip", z.ZodTypeAny, {
303
+ id: string;
304
+ path: string;
305
+ originalFilename: string;
306
+ sizeBytes: number;
307
+ sha256: string;
308
+ label?: string | undefined;
309
+ mimeType?: string | undefined;
310
+ }, {
311
+ id: string;
312
+ path: string;
313
+ originalFilename: string;
314
+ sizeBytes: number;
315
+ sha256: string;
316
+ label?: string | undefined;
317
+ mimeType?: string | undefined;
318
+ }>;
283
319
  export declare const storedUserContextSourceRecordSchema: z.ZodObject<{
284
320
  source: z.ZodDiscriminatedUnion<"transport", [z.ZodObject<{
285
321
  id: z.ZodString;
@@ -377,13 +413,13 @@ export declare const storedUserContextSourceRecordSchema: z.ZodObject<{
377
413
  sha256: z.ZodOptional<z.ZodString>;
378
414
  originalFilename: z.ZodOptional<z.ZodString>;
379
415
  }, "strip", z.ZodTypeAny, {
380
- sha256?: string | undefined;
381
416
  originalFilename?: string | undefined;
382
417
  sizeBytes?: number | undefined;
383
- }, {
384
418
  sha256?: string | undefined;
419
+ }, {
385
420
  originalFilename?: string | undefined;
386
421
  sizeBytes?: number | undefined;
422
+ sha256?: string | undefined;
387
423
  }>>;
388
424
  }, "strip", z.ZodTypeAny, {
389
425
  source: {
@@ -418,9 +454,9 @@ export declare const storedUserContextSourceRecordSchema: z.ZodObject<{
418
454
  userIntent?: string | undefined;
419
455
  };
420
456
  storage?: {
421
- sha256?: string | undefined;
422
457
  originalFilename?: string | undefined;
423
458
  sizeBytes?: number | undefined;
459
+ sha256?: string | undefined;
424
460
  } | undefined;
425
461
  }, {
426
462
  source: {
@@ -455,9 +491,9 @@ export declare const storedUserContextSourceRecordSchema: z.ZodObject<{
455
491
  userIntent?: string | undefined;
456
492
  };
457
493
  storage?: {
458
- sha256?: string | undefined;
459
494
  originalFilename?: string | undefined;
460
495
  sizeBytes?: number | undefined;
496
+ sha256?: string | undefined;
461
497
  } | undefined;
462
498
  }>;
463
499
  export declare const rivetContextActionKindSchema: z.ZodEnum<["extract_design_system", "describe_motion"]>;
@@ -488,13 +524,13 @@ export declare const sourcePlanActionOptionSchema: z.ZodObject<{
488
524
  instructions: z.ZodString;
489
525
  }, "strip", z.ZodTypeAny, {
490
526
  kind: "extract_design_system" | "describe_motion";
491
- sourceTransports: ("text" | "url" | "file" | "prompt" | "directory")[];
527
+ sourceTransports: ("text" | "url" | "prompt" | "file" | "directory")[];
492
528
  capability: "extract_inspiration_context" | "rivet_describe_motion";
493
529
  produces: "design_system" | "motion_guidance";
494
530
  instructions: string;
495
531
  }, {
496
532
  kind: "extract_design_system" | "describe_motion";
497
- sourceTransports: ("text" | "url" | "file" | "prompt" | "directory")[];
533
+ sourceTransports: ("text" | "url" | "prompt" | "file" | "directory")[];
498
534
  capability: "extract_inspiration_context" | "rivet_describe_motion";
499
535
  produces: "design_system" | "motion_guidance";
500
536
  instructions: string;
@@ -581,7 +617,7 @@ export declare const rivetMetadataSchema: z.ZodDiscriminatedUnion<"kind", [z.Zod
581
617
  };
582
618
  kind: "design_system";
583
619
  sourceIds: string[];
584
- producedBy: "agent" | "rivet" | "browser" | "skill";
620
+ producedBy: "rivet" | "agent" | "browser" | "skill";
585
621
  path?: string | undefined;
586
622
  actionId?: string | undefined;
587
623
  warnings?: string[] | undefined;
@@ -603,7 +639,7 @@ export declare const rivetMetadataSchema: z.ZodDiscriminatedUnion<"kind", [z.Zod
603
639
  };
604
640
  kind: "design_system";
605
641
  sourceIds: string[];
606
- producedBy: "agent" | "rivet" | "browser" | "skill";
642
+ producedBy: "rivet" | "agent" | "browser" | "skill";
607
643
  path?: string | undefined;
608
644
  actionId?: string | undefined;
609
645
  warnings?: string[] | undefined;
@@ -638,7 +674,7 @@ export declare const rivetMetadataSchema: z.ZodDiscriminatedUnion<"kind", [z.Zod
638
674
  };
639
675
  kind: "motion_guidance";
640
676
  sourceIds: string[];
641
- producedBy: "agent" | "rivet" | "browser" | "skill";
677
+ producedBy: "rivet" | "agent" | "browser" | "skill";
642
678
  path?: string | undefined;
643
679
  actionId?: string | undefined;
644
680
  warnings?: string[] | undefined;
@@ -651,7 +687,7 @@ export declare const rivetMetadataSchema: z.ZodDiscriminatedUnion<"kind", [z.Zod
651
687
  };
652
688
  kind: "motion_guidance";
653
689
  sourceIds: string[];
654
- producedBy: "agent" | "rivet" | "browser" | "skill";
690
+ producedBy: "rivet" | "agent" | "browser" | "skill";
655
691
  path?: string | undefined;
656
692
  actionId?: string | undefined;
657
693
  warnings?: string[] | undefined;
@@ -954,7 +990,7 @@ export declare const variantContextBundleSchema: z.ZodObject<{
954
990
  };
955
991
  kind: "design_system";
956
992
  sourceIds: string[];
957
- producedBy: "agent" | "rivet" | "browser" | "skill";
993
+ producedBy: "rivet" | "agent" | "browser" | "skill";
958
994
  path?: string | undefined;
959
995
  actionId?: string | undefined;
960
996
  warnings?: string[] | undefined;
@@ -976,7 +1012,7 @@ export declare const variantContextBundleSchema: z.ZodObject<{
976
1012
  };
977
1013
  kind: "design_system";
978
1014
  sourceIds: string[];
979
- producedBy: "agent" | "rivet" | "browser" | "skill";
1015
+ producedBy: "rivet" | "agent" | "browser" | "skill";
980
1016
  path?: string | undefined;
981
1017
  actionId?: string | undefined;
982
1018
  warnings?: string[] | undefined;
@@ -1011,7 +1047,7 @@ export declare const variantContextBundleSchema: z.ZodObject<{
1011
1047
  };
1012
1048
  kind: "motion_guidance";
1013
1049
  sourceIds: string[];
1014
- producedBy: "agent" | "rivet" | "browser" | "skill";
1050
+ producedBy: "rivet" | "agent" | "browser" | "skill";
1015
1051
  path?: string | undefined;
1016
1052
  actionId?: string | undefined;
1017
1053
  warnings?: string[] | undefined;
@@ -1024,11 +1060,36 @@ export declare const variantContextBundleSchema: z.ZodObject<{
1024
1060
  };
1025
1061
  kind: "motion_guidance";
1026
1062
  sourceIds: string[];
1027
- producedBy: "agent" | "rivet" | "browser" | "skill";
1063
+ producedBy: "rivet" | "agent" | "browser" | "skill";
1028
1064
  path?: string | undefined;
1029
1065
  actionId?: string | undefined;
1030
1066
  warnings?: string[] | undefined;
1031
1067
  }>]>, "many">;
1068
+ contextAssets: z.ZodOptional<z.ZodArray<z.ZodObject<{
1069
+ id: z.ZodString;
1070
+ path: z.ZodString;
1071
+ originalFilename: z.ZodString;
1072
+ mimeType: z.ZodOptional<z.ZodString>;
1073
+ sizeBytes: z.ZodNumber;
1074
+ sha256: z.ZodString;
1075
+ label: z.ZodOptional<z.ZodString>;
1076
+ }, "strip", z.ZodTypeAny, {
1077
+ id: string;
1078
+ path: string;
1079
+ originalFilename: string;
1080
+ sizeBytes: number;
1081
+ sha256: string;
1082
+ label?: string | undefined;
1083
+ mimeType?: string | undefined;
1084
+ }, {
1085
+ id: string;
1086
+ path: string;
1087
+ originalFilename: string;
1088
+ sizeBytes: number;
1089
+ sha256: string;
1090
+ label?: string | undefined;
1091
+ mimeType?: string | undefined;
1092
+ }>, "many">>;
1032
1093
  bindings: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
1033
1094
  kind: z.ZodLiteral<"global">;
1034
1095
  sourceIds: z.ZodArray<z.ZodString, "many">;
@@ -1165,7 +1226,7 @@ export declare const variantContextBundleSchema: z.ZodObject<{
1165
1226
  };
1166
1227
  kind: "design_system";
1167
1228
  sourceIds: string[];
1168
- producedBy: "agent" | "rivet" | "browser" | "skill";
1229
+ producedBy: "rivet" | "agent" | "browser" | "skill";
1169
1230
  path?: string | undefined;
1170
1231
  actionId?: string | undefined;
1171
1232
  warnings?: string[] | undefined;
@@ -1178,11 +1239,20 @@ export declare const variantContextBundleSchema: z.ZodObject<{
1178
1239
  };
1179
1240
  kind: "motion_guidance";
1180
1241
  sourceIds: string[];
1181
- producedBy: "agent" | "rivet" | "browser" | "skill";
1242
+ producedBy: "rivet" | "agent" | "browser" | "skill";
1182
1243
  path?: string | undefined;
1183
1244
  actionId?: string | undefined;
1184
1245
  warnings?: string[] | undefined;
1185
1246
  })[];
1247
+ contextAssets?: {
1248
+ id: string;
1249
+ path: string;
1250
+ originalFilename: string;
1251
+ sizeBytes: number;
1252
+ sha256: string;
1253
+ label?: string | undefined;
1254
+ mimeType?: string | undefined;
1255
+ }[] | undefined;
1186
1256
  bindings?: ({
1187
1257
  kind: "global";
1188
1258
  sourceIds: string[];
@@ -1267,7 +1337,7 @@ export declare const variantContextBundleSchema: z.ZodObject<{
1267
1337
  };
1268
1338
  kind: "design_system";
1269
1339
  sourceIds: string[];
1270
- producedBy: "agent" | "rivet" | "browser" | "skill";
1340
+ producedBy: "rivet" | "agent" | "browser" | "skill";
1271
1341
  path?: string | undefined;
1272
1342
  actionId?: string | undefined;
1273
1343
  warnings?: string[] | undefined;
@@ -1280,11 +1350,20 @@ export declare const variantContextBundleSchema: z.ZodObject<{
1280
1350
  };
1281
1351
  kind: "motion_guidance";
1282
1352
  sourceIds: string[];
1283
- producedBy: "agent" | "rivet" | "browser" | "skill";
1353
+ producedBy: "rivet" | "agent" | "browser" | "skill";
1284
1354
  path?: string | undefined;
1285
1355
  actionId?: string | undefined;
1286
1356
  warnings?: string[] | undefined;
1287
1357
  })[];
1358
+ contextAssets?: {
1359
+ id: string;
1360
+ path: string;
1361
+ originalFilename: string;
1362
+ sizeBytes: number;
1363
+ sha256: string;
1364
+ label?: string | undefined;
1365
+ mimeType?: string | undefined;
1366
+ }[] | undefined;
1288
1367
  bindings?: ({
1289
1368
  kind: "global";
1290
1369
  sourceIds: string[];
@@ -1322,11 +1401,11 @@ export declare const projectContextExisting: z.ZodObject<{
1322
1401
  kind: z.ZodLiteral<"slug">;
1323
1402
  slug: z.ZodString;
1324
1403
  }, "strip", z.ZodTypeAny, {
1325
- slug: string;
1326
1404
  kind: "slug";
1327
- }, {
1328
1405
  slug: string;
1406
+ }, {
1329
1407
  kind: "slug";
1408
+ slug: string;
1330
1409
  }>, z.ZodObject<{
1331
1410
  kind: z.ZodLiteral<"markdown">;
1332
1411
  content: z.ZodString;
@@ -1536,7 +1615,7 @@ export declare const projectContextExisting: z.ZodObject<{
1536
1615
  };
1537
1616
  kind: "design_system";
1538
1617
  sourceIds: string[];
1539
- producedBy: "agent" | "rivet" | "browser" | "skill";
1618
+ producedBy: "rivet" | "agent" | "browser" | "skill";
1540
1619
  path?: string | undefined;
1541
1620
  actionId?: string | undefined;
1542
1621
  warnings?: string[] | undefined;
@@ -1558,7 +1637,7 @@ export declare const projectContextExisting: z.ZodObject<{
1558
1637
  };
1559
1638
  kind: "design_system";
1560
1639
  sourceIds: string[];
1561
- producedBy: "agent" | "rivet" | "browser" | "skill";
1640
+ producedBy: "rivet" | "agent" | "browser" | "skill";
1562
1641
  path?: string | undefined;
1563
1642
  actionId?: string | undefined;
1564
1643
  warnings?: string[] | undefined;
@@ -1593,7 +1672,7 @@ export declare const projectContextExisting: z.ZodObject<{
1593
1672
  };
1594
1673
  kind: "motion_guidance";
1595
1674
  sourceIds: string[];
1596
- producedBy: "agent" | "rivet" | "browser" | "skill";
1675
+ producedBy: "rivet" | "agent" | "browser" | "skill";
1597
1676
  path?: string | undefined;
1598
1677
  actionId?: string | undefined;
1599
1678
  warnings?: string[] | undefined;
@@ -1606,11 +1685,36 @@ export declare const projectContextExisting: z.ZodObject<{
1606
1685
  };
1607
1686
  kind: "motion_guidance";
1608
1687
  sourceIds: string[];
1609
- producedBy: "agent" | "rivet" | "browser" | "skill";
1688
+ producedBy: "rivet" | "agent" | "browser" | "skill";
1610
1689
  path?: string | undefined;
1611
1690
  actionId?: string | undefined;
1612
1691
  warnings?: string[] | undefined;
1613
1692
  }>]>, "many">;
1693
+ contextAssets: z.ZodOptional<z.ZodArray<z.ZodObject<{
1694
+ id: z.ZodString;
1695
+ path: z.ZodString;
1696
+ originalFilename: z.ZodString;
1697
+ mimeType: z.ZodOptional<z.ZodString>;
1698
+ sizeBytes: z.ZodNumber;
1699
+ sha256: z.ZodString;
1700
+ label: z.ZodOptional<z.ZodString>;
1701
+ }, "strip", z.ZodTypeAny, {
1702
+ id: string;
1703
+ path: string;
1704
+ originalFilename: string;
1705
+ sizeBytes: number;
1706
+ sha256: string;
1707
+ label?: string | undefined;
1708
+ mimeType?: string | undefined;
1709
+ }, {
1710
+ id: string;
1711
+ path: string;
1712
+ originalFilename: string;
1713
+ sizeBytes: number;
1714
+ sha256: string;
1715
+ label?: string | undefined;
1716
+ mimeType?: string | undefined;
1717
+ }>, "many">>;
1614
1718
  bindings: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
1615
1719
  kind: z.ZodLiteral<"global">;
1616
1720
  sourceIds: z.ZodArray<z.ZodString, "many">;
@@ -1747,7 +1851,7 @@ export declare const projectContextExisting: z.ZodObject<{
1747
1851
  };
1748
1852
  kind: "design_system";
1749
1853
  sourceIds: string[];
1750
- producedBy: "agent" | "rivet" | "browser" | "skill";
1854
+ producedBy: "rivet" | "agent" | "browser" | "skill";
1751
1855
  path?: string | undefined;
1752
1856
  actionId?: string | undefined;
1753
1857
  warnings?: string[] | undefined;
@@ -1760,11 +1864,20 @@ export declare const projectContextExisting: z.ZodObject<{
1760
1864
  };
1761
1865
  kind: "motion_guidance";
1762
1866
  sourceIds: string[];
1763
- producedBy: "agent" | "rivet" | "browser" | "skill";
1867
+ producedBy: "rivet" | "agent" | "browser" | "skill";
1764
1868
  path?: string | undefined;
1765
1869
  actionId?: string | undefined;
1766
1870
  warnings?: string[] | undefined;
1767
1871
  })[];
1872
+ contextAssets?: {
1873
+ id: string;
1874
+ path: string;
1875
+ originalFilename: string;
1876
+ sizeBytes: number;
1877
+ sha256: string;
1878
+ label?: string | undefined;
1879
+ mimeType?: string | undefined;
1880
+ }[] | undefined;
1768
1881
  bindings?: ({
1769
1882
  kind: "global";
1770
1883
  sourceIds: string[];
@@ -1849,7 +1962,7 @@ export declare const projectContextExisting: z.ZodObject<{
1849
1962
  };
1850
1963
  kind: "design_system";
1851
1964
  sourceIds: string[];
1852
- producedBy: "agent" | "rivet" | "browser" | "skill";
1965
+ producedBy: "rivet" | "agent" | "browser" | "skill";
1853
1966
  path?: string | undefined;
1854
1967
  actionId?: string | undefined;
1855
1968
  warnings?: string[] | undefined;
@@ -1862,11 +1975,20 @@ export declare const projectContextExisting: z.ZodObject<{
1862
1975
  };
1863
1976
  kind: "motion_guidance";
1864
1977
  sourceIds: string[];
1865
- producedBy: "agent" | "rivet" | "browser" | "skill";
1978
+ producedBy: "rivet" | "agent" | "browser" | "skill";
1866
1979
  path?: string | undefined;
1867
1980
  actionId?: string | undefined;
1868
1981
  warnings?: string[] | undefined;
1869
1982
  })[];
1983
+ contextAssets?: {
1984
+ id: string;
1985
+ path: string;
1986
+ originalFilename: string;
1987
+ sizeBytes: number;
1988
+ sha256: string;
1989
+ label?: string | undefined;
1990
+ mimeType?: string | undefined;
1991
+ }[] | undefined;
1870
1992
  bindings?: ({
1871
1993
  kind: "global";
1872
1994
  sourceIds: string[];
@@ -1896,8 +2018,8 @@ export declare const projectContextExisting: z.ZodObject<{
1896
2018
  kind: "existing";
1897
2019
  projectPath?: string | undefined;
1898
2020
  designContext?: ({
1899
- slug: string;
1900
2021
  kind: "slug";
2022
+ slug: string;
1901
2023
  } | {
1902
2024
  kind: "markdown";
1903
2025
  content: string;
@@ -1963,7 +2085,7 @@ export declare const projectContextExisting: z.ZodObject<{
1963
2085
  };
1964
2086
  kind: "design_system";
1965
2087
  sourceIds: string[];
1966
- producedBy: "agent" | "rivet" | "browser" | "skill";
2088
+ producedBy: "rivet" | "agent" | "browser" | "skill";
1967
2089
  path?: string | undefined;
1968
2090
  actionId?: string | undefined;
1969
2091
  warnings?: string[] | undefined;
@@ -1976,11 +2098,20 @@ export declare const projectContextExisting: z.ZodObject<{
1976
2098
  };
1977
2099
  kind: "motion_guidance";
1978
2100
  sourceIds: string[];
1979
- producedBy: "agent" | "rivet" | "browser" | "skill";
2101
+ producedBy: "rivet" | "agent" | "browser" | "skill";
1980
2102
  path?: string | undefined;
1981
2103
  actionId?: string | undefined;
1982
2104
  warnings?: string[] | undefined;
1983
2105
  })[];
2106
+ contextAssets?: {
2107
+ id: string;
2108
+ path: string;
2109
+ originalFilename: string;
2110
+ sizeBytes: number;
2111
+ sha256: string;
2112
+ label?: string | undefined;
2113
+ mimeType?: string | undefined;
2114
+ }[] | undefined;
1984
2115
  bindings?: ({
1985
2116
  kind: "global";
1986
2117
  sourceIds: string[];
@@ -2010,8 +2141,8 @@ export declare const projectContextExisting: z.ZodObject<{
2010
2141
  kind: "existing";
2011
2142
  projectPath?: string | undefined;
2012
2143
  designContext?: ({
2013
- slug: string;
2014
2144
  kind: "slug";
2145
+ slug: string;
2015
2146
  } | {
2016
2147
  kind: "markdown";
2017
2148
  content: string;
@@ -2077,7 +2208,7 @@ export declare const projectContextExisting: z.ZodObject<{
2077
2208
  };
2078
2209
  kind: "design_system";
2079
2210
  sourceIds: string[];
2080
- producedBy: "agent" | "rivet" | "browser" | "skill";
2211
+ producedBy: "rivet" | "agent" | "browser" | "skill";
2081
2212
  path?: string | undefined;
2082
2213
  actionId?: string | undefined;
2083
2214
  warnings?: string[] | undefined;
@@ -2090,11 +2221,20 @@ export declare const projectContextExisting: z.ZodObject<{
2090
2221
  };
2091
2222
  kind: "motion_guidance";
2092
2223
  sourceIds: string[];
2093
- producedBy: "agent" | "rivet" | "browser" | "skill";
2224
+ producedBy: "rivet" | "agent" | "browser" | "skill";
2094
2225
  path?: string | undefined;
2095
2226
  actionId?: string | undefined;
2096
2227
  warnings?: string[] | undefined;
2097
2228
  })[];
2229
+ contextAssets?: {
2230
+ id: string;
2231
+ path: string;
2232
+ originalFilename: string;
2233
+ sizeBytes: number;
2234
+ sha256: string;
2235
+ label?: string | undefined;
2236
+ mimeType?: string | undefined;
2237
+ }[] | undefined;
2098
2238
  bindings?: ({
2099
2239
  kind: "global";
2100
2240
  sourceIds: string[];
@@ -2143,11 +2283,11 @@ export declare const projectContextFresh: z.ZodObject<{
2143
2283
  kind: z.ZodLiteral<"slug">;
2144
2284
  slug: z.ZodString;
2145
2285
  }, "strip", z.ZodTypeAny, {
2146
- slug: string;
2147
2286
  kind: "slug";
2148
- }, {
2149
2287
  slug: string;
2288
+ }, {
2150
2289
  kind: "slug";
2290
+ slug: string;
2151
2291
  }>, z.ZodObject<{
2152
2292
  kind: z.ZodLiteral<"markdown">;
2153
2293
  content: z.ZodString;
@@ -2357,7 +2497,7 @@ export declare const projectContextFresh: z.ZodObject<{
2357
2497
  };
2358
2498
  kind: "design_system";
2359
2499
  sourceIds: string[];
2360
- producedBy: "agent" | "rivet" | "browser" | "skill";
2500
+ producedBy: "rivet" | "agent" | "browser" | "skill";
2361
2501
  path?: string | undefined;
2362
2502
  actionId?: string | undefined;
2363
2503
  warnings?: string[] | undefined;
@@ -2379,7 +2519,7 @@ export declare const projectContextFresh: z.ZodObject<{
2379
2519
  };
2380
2520
  kind: "design_system";
2381
2521
  sourceIds: string[];
2382
- producedBy: "agent" | "rivet" | "browser" | "skill";
2522
+ producedBy: "rivet" | "agent" | "browser" | "skill";
2383
2523
  path?: string | undefined;
2384
2524
  actionId?: string | undefined;
2385
2525
  warnings?: string[] | undefined;
@@ -2414,7 +2554,7 @@ export declare const projectContextFresh: z.ZodObject<{
2414
2554
  };
2415
2555
  kind: "motion_guidance";
2416
2556
  sourceIds: string[];
2417
- producedBy: "agent" | "rivet" | "browser" | "skill";
2557
+ producedBy: "rivet" | "agent" | "browser" | "skill";
2418
2558
  path?: string | undefined;
2419
2559
  actionId?: string | undefined;
2420
2560
  warnings?: string[] | undefined;
@@ -2427,11 +2567,36 @@ export declare const projectContextFresh: z.ZodObject<{
2427
2567
  };
2428
2568
  kind: "motion_guidance";
2429
2569
  sourceIds: string[];
2430
- producedBy: "agent" | "rivet" | "browser" | "skill";
2570
+ producedBy: "rivet" | "agent" | "browser" | "skill";
2431
2571
  path?: string | undefined;
2432
2572
  actionId?: string | undefined;
2433
2573
  warnings?: string[] | undefined;
2434
2574
  }>]>, "many">;
2575
+ contextAssets: z.ZodOptional<z.ZodArray<z.ZodObject<{
2576
+ id: z.ZodString;
2577
+ path: z.ZodString;
2578
+ originalFilename: z.ZodString;
2579
+ mimeType: z.ZodOptional<z.ZodString>;
2580
+ sizeBytes: z.ZodNumber;
2581
+ sha256: z.ZodString;
2582
+ label: z.ZodOptional<z.ZodString>;
2583
+ }, "strip", z.ZodTypeAny, {
2584
+ id: string;
2585
+ path: string;
2586
+ originalFilename: string;
2587
+ sizeBytes: number;
2588
+ sha256: string;
2589
+ label?: string | undefined;
2590
+ mimeType?: string | undefined;
2591
+ }, {
2592
+ id: string;
2593
+ path: string;
2594
+ originalFilename: string;
2595
+ sizeBytes: number;
2596
+ sha256: string;
2597
+ label?: string | undefined;
2598
+ mimeType?: string | undefined;
2599
+ }>, "many">>;
2435
2600
  bindings: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
2436
2601
  kind: z.ZodLiteral<"global">;
2437
2602
  sourceIds: z.ZodArray<z.ZodString, "many">;
@@ -2568,7 +2733,7 @@ export declare const projectContextFresh: z.ZodObject<{
2568
2733
  };
2569
2734
  kind: "design_system";
2570
2735
  sourceIds: string[];
2571
- producedBy: "agent" | "rivet" | "browser" | "skill";
2736
+ producedBy: "rivet" | "agent" | "browser" | "skill";
2572
2737
  path?: string | undefined;
2573
2738
  actionId?: string | undefined;
2574
2739
  warnings?: string[] | undefined;
@@ -2581,11 +2746,20 @@ export declare const projectContextFresh: z.ZodObject<{
2581
2746
  };
2582
2747
  kind: "motion_guidance";
2583
2748
  sourceIds: string[];
2584
- producedBy: "agent" | "rivet" | "browser" | "skill";
2749
+ producedBy: "rivet" | "agent" | "browser" | "skill";
2585
2750
  path?: string | undefined;
2586
2751
  actionId?: string | undefined;
2587
2752
  warnings?: string[] | undefined;
2588
2753
  })[];
2754
+ contextAssets?: {
2755
+ id: string;
2756
+ path: string;
2757
+ originalFilename: string;
2758
+ sizeBytes: number;
2759
+ sha256: string;
2760
+ label?: string | undefined;
2761
+ mimeType?: string | undefined;
2762
+ }[] | undefined;
2589
2763
  bindings?: ({
2590
2764
  kind: "global";
2591
2765
  sourceIds: string[];
@@ -2670,7 +2844,7 @@ export declare const projectContextFresh: z.ZodObject<{
2670
2844
  };
2671
2845
  kind: "design_system";
2672
2846
  sourceIds: string[];
2673
- producedBy: "agent" | "rivet" | "browser" | "skill";
2847
+ producedBy: "rivet" | "agent" | "browser" | "skill";
2674
2848
  path?: string | undefined;
2675
2849
  actionId?: string | undefined;
2676
2850
  warnings?: string[] | undefined;
@@ -2683,11 +2857,20 @@ export declare const projectContextFresh: z.ZodObject<{
2683
2857
  };
2684
2858
  kind: "motion_guidance";
2685
2859
  sourceIds: string[];
2686
- producedBy: "agent" | "rivet" | "browser" | "skill";
2860
+ producedBy: "rivet" | "agent" | "browser" | "skill";
2687
2861
  path?: string | undefined;
2688
2862
  actionId?: string | undefined;
2689
2863
  warnings?: string[] | undefined;
2690
2864
  })[];
2865
+ contextAssets?: {
2866
+ id: string;
2867
+ path: string;
2868
+ originalFilename: string;
2869
+ sizeBytes: number;
2870
+ sha256: string;
2871
+ label?: string | undefined;
2872
+ mimeType?: string | undefined;
2873
+ }[] | undefined;
2691
2874
  bindings?: ({
2692
2875
  kind: "global";
2693
2876
  sourceIds: string[];
@@ -2763,7 +2946,6 @@ export declare const projectContextFresh: z.ZodObject<{
2763
2946
  kind: "fresh";
2764
2947
  workspacePath: string;
2765
2948
  workspaceRoot: string;
2766
- framework?: "next" | "vite" | "remix" | "astro" | undefined;
2767
2949
  executionPlan?: {
2768
2950
  mode: "static_preview" | "vite_app";
2769
2951
  reason: string;
@@ -2777,8 +2959,8 @@ export declare const projectContextFresh: z.ZodObject<{
2777
2959
  userQuestion?: string | undefined;
2778
2960
  } | undefined;
2779
2961
  designContext?: ({
2780
- slug: string;
2781
2962
  kind: "slug";
2963
+ slug: string;
2782
2964
  } | {
2783
2965
  kind: "markdown";
2784
2966
  content: string;
@@ -2844,7 +3026,7 @@ export declare const projectContextFresh: z.ZodObject<{
2844
3026
  };
2845
3027
  kind: "design_system";
2846
3028
  sourceIds: string[];
2847
- producedBy: "agent" | "rivet" | "browser" | "skill";
3029
+ producedBy: "rivet" | "agent" | "browser" | "skill";
2848
3030
  path?: string | undefined;
2849
3031
  actionId?: string | undefined;
2850
3032
  warnings?: string[] | undefined;
@@ -2857,11 +3039,20 @@ export declare const projectContextFresh: z.ZodObject<{
2857
3039
  };
2858
3040
  kind: "motion_guidance";
2859
3041
  sourceIds: string[];
2860
- producedBy: "agent" | "rivet" | "browser" | "skill";
3042
+ producedBy: "rivet" | "agent" | "browser" | "skill";
2861
3043
  path?: string | undefined;
2862
3044
  actionId?: string | undefined;
2863
3045
  warnings?: string[] | undefined;
2864
3046
  })[];
3047
+ contextAssets?: {
3048
+ id: string;
3049
+ path: string;
3050
+ originalFilename: string;
3051
+ sizeBytes: number;
3052
+ sha256: string;
3053
+ label?: string | undefined;
3054
+ mimeType?: string | undefined;
3055
+ }[] | undefined;
2865
3056
  bindings?: ({
2866
3057
  kind: "global";
2867
3058
  sourceIds: string[];
@@ -2887,12 +3078,12 @@ export declare const projectContextFresh: z.ZodObject<{
2887
3078
  userQuestion?: string | undefined;
2888
3079
  } | undefined;
2889
3080
  } | undefined;
3081
+ framework?: "next" | "vite" | "remix" | "astro" | undefined;
2890
3082
  assetSourceRoot?: string | undefined;
2891
3083
  }, {
2892
3084
  kind: "fresh";
2893
3085
  workspacePath: string;
2894
3086
  workspaceRoot: string;
2895
- framework?: "next" | "vite" | "remix" | "astro" | undefined;
2896
3087
  executionPlan?: {
2897
3088
  mode: "static_preview" | "vite_app";
2898
3089
  reason: string;
@@ -2906,8 +3097,8 @@ export declare const projectContextFresh: z.ZodObject<{
2906
3097
  userQuestion?: string | undefined;
2907
3098
  } | undefined;
2908
3099
  designContext?: ({
2909
- slug: string;
2910
3100
  kind: "slug";
3101
+ slug: string;
2911
3102
  } | {
2912
3103
  kind: "markdown";
2913
3104
  content: string;
@@ -2973,7 +3164,7 @@ export declare const projectContextFresh: z.ZodObject<{
2973
3164
  };
2974
3165
  kind: "design_system";
2975
3166
  sourceIds: string[];
2976
- producedBy: "agent" | "rivet" | "browser" | "skill";
3167
+ producedBy: "rivet" | "agent" | "browser" | "skill";
2977
3168
  path?: string | undefined;
2978
3169
  actionId?: string | undefined;
2979
3170
  warnings?: string[] | undefined;
@@ -2986,11 +3177,20 @@ export declare const projectContextFresh: z.ZodObject<{
2986
3177
  };
2987
3178
  kind: "motion_guidance";
2988
3179
  sourceIds: string[];
2989
- producedBy: "agent" | "rivet" | "browser" | "skill";
3180
+ producedBy: "rivet" | "agent" | "browser" | "skill";
2990
3181
  path?: string | undefined;
2991
3182
  actionId?: string | undefined;
2992
3183
  warnings?: string[] | undefined;
2993
3184
  })[];
3185
+ contextAssets?: {
3186
+ id: string;
3187
+ path: string;
3188
+ originalFilename: string;
3189
+ sizeBytes: number;
3190
+ sha256: string;
3191
+ label?: string | undefined;
3192
+ mimeType?: string | undefined;
3193
+ }[] | undefined;
2994
3194
  bindings?: ({
2995
3195
  kind: "global";
2996
3196
  sourceIds: string[];
@@ -3016,6 +3216,7 @@ export declare const projectContextFresh: z.ZodObject<{
3016
3216
  userQuestion?: string | undefined;
3017
3217
  } | undefined;
3018
3218
  } | undefined;
3219
+ framework?: "next" | "vite" | "remix" | "astro" | undefined;
3019
3220
  assetSourceRoot?: string | undefined;
3020
3221
  }>;
3021
3222
  export declare const projectContextSchema: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
@@ -3030,11 +3231,11 @@ export declare const projectContextSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
3030
3231
  kind: z.ZodLiteral<"slug">;
3031
3232
  slug: z.ZodString;
3032
3233
  }, "strip", z.ZodTypeAny, {
3033
- slug: string;
3034
3234
  kind: "slug";
3035
- }, {
3036
3235
  slug: string;
3236
+ }, {
3037
3237
  kind: "slug";
3238
+ slug: string;
3038
3239
  }>, z.ZodObject<{
3039
3240
  kind: z.ZodLiteral<"markdown">;
3040
3241
  content: z.ZodString;
@@ -3244,7 +3445,7 @@ export declare const projectContextSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
3244
3445
  };
3245
3446
  kind: "design_system";
3246
3447
  sourceIds: string[];
3247
- producedBy: "agent" | "rivet" | "browser" | "skill";
3448
+ producedBy: "rivet" | "agent" | "browser" | "skill";
3248
3449
  path?: string | undefined;
3249
3450
  actionId?: string | undefined;
3250
3451
  warnings?: string[] | undefined;
@@ -3266,7 +3467,7 @@ export declare const projectContextSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
3266
3467
  };
3267
3468
  kind: "design_system";
3268
3469
  sourceIds: string[];
3269
- producedBy: "agent" | "rivet" | "browser" | "skill";
3470
+ producedBy: "rivet" | "agent" | "browser" | "skill";
3270
3471
  path?: string | undefined;
3271
3472
  actionId?: string | undefined;
3272
3473
  warnings?: string[] | undefined;
@@ -3301,7 +3502,7 @@ export declare const projectContextSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
3301
3502
  };
3302
3503
  kind: "motion_guidance";
3303
3504
  sourceIds: string[];
3304
- producedBy: "agent" | "rivet" | "browser" | "skill";
3505
+ producedBy: "rivet" | "agent" | "browser" | "skill";
3305
3506
  path?: string | undefined;
3306
3507
  actionId?: string | undefined;
3307
3508
  warnings?: string[] | undefined;
@@ -3314,11 +3515,36 @@ export declare const projectContextSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
3314
3515
  };
3315
3516
  kind: "motion_guidance";
3316
3517
  sourceIds: string[];
3317
- producedBy: "agent" | "rivet" | "browser" | "skill";
3518
+ producedBy: "rivet" | "agent" | "browser" | "skill";
3318
3519
  path?: string | undefined;
3319
3520
  actionId?: string | undefined;
3320
3521
  warnings?: string[] | undefined;
3321
3522
  }>]>, "many">;
3523
+ contextAssets: z.ZodOptional<z.ZodArray<z.ZodObject<{
3524
+ id: z.ZodString;
3525
+ path: z.ZodString;
3526
+ originalFilename: z.ZodString;
3527
+ mimeType: z.ZodOptional<z.ZodString>;
3528
+ sizeBytes: z.ZodNumber;
3529
+ sha256: z.ZodString;
3530
+ label: z.ZodOptional<z.ZodString>;
3531
+ }, "strip", z.ZodTypeAny, {
3532
+ id: string;
3533
+ path: string;
3534
+ originalFilename: string;
3535
+ sizeBytes: number;
3536
+ sha256: string;
3537
+ label?: string | undefined;
3538
+ mimeType?: string | undefined;
3539
+ }, {
3540
+ id: string;
3541
+ path: string;
3542
+ originalFilename: string;
3543
+ sizeBytes: number;
3544
+ sha256: string;
3545
+ label?: string | undefined;
3546
+ mimeType?: string | undefined;
3547
+ }>, "many">>;
3322
3548
  bindings: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
3323
3549
  kind: z.ZodLiteral<"global">;
3324
3550
  sourceIds: z.ZodArray<z.ZodString, "many">;
@@ -3455,7 +3681,7 @@ export declare const projectContextSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
3455
3681
  };
3456
3682
  kind: "design_system";
3457
3683
  sourceIds: string[];
3458
- producedBy: "agent" | "rivet" | "browser" | "skill";
3684
+ producedBy: "rivet" | "agent" | "browser" | "skill";
3459
3685
  path?: string | undefined;
3460
3686
  actionId?: string | undefined;
3461
3687
  warnings?: string[] | undefined;
@@ -3468,11 +3694,20 @@ export declare const projectContextSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
3468
3694
  };
3469
3695
  kind: "motion_guidance";
3470
3696
  sourceIds: string[];
3471
- producedBy: "agent" | "rivet" | "browser" | "skill";
3697
+ producedBy: "rivet" | "agent" | "browser" | "skill";
3472
3698
  path?: string | undefined;
3473
3699
  actionId?: string | undefined;
3474
3700
  warnings?: string[] | undefined;
3475
3701
  })[];
3702
+ contextAssets?: {
3703
+ id: string;
3704
+ path: string;
3705
+ originalFilename: string;
3706
+ sizeBytes: number;
3707
+ sha256: string;
3708
+ label?: string | undefined;
3709
+ mimeType?: string | undefined;
3710
+ }[] | undefined;
3476
3711
  bindings?: ({
3477
3712
  kind: "global";
3478
3713
  sourceIds: string[];
@@ -3557,7 +3792,7 @@ export declare const projectContextSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
3557
3792
  };
3558
3793
  kind: "design_system";
3559
3794
  sourceIds: string[];
3560
- producedBy: "agent" | "rivet" | "browser" | "skill";
3795
+ producedBy: "rivet" | "agent" | "browser" | "skill";
3561
3796
  path?: string | undefined;
3562
3797
  actionId?: string | undefined;
3563
3798
  warnings?: string[] | undefined;
@@ -3570,11 +3805,20 @@ export declare const projectContextSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
3570
3805
  };
3571
3806
  kind: "motion_guidance";
3572
3807
  sourceIds: string[];
3573
- producedBy: "agent" | "rivet" | "browser" | "skill";
3808
+ producedBy: "rivet" | "agent" | "browser" | "skill";
3574
3809
  path?: string | undefined;
3575
3810
  actionId?: string | undefined;
3576
3811
  warnings?: string[] | undefined;
3577
3812
  })[];
3813
+ contextAssets?: {
3814
+ id: string;
3815
+ path: string;
3816
+ originalFilename: string;
3817
+ sizeBytes: number;
3818
+ sha256: string;
3819
+ label?: string | undefined;
3820
+ mimeType?: string | undefined;
3821
+ }[] | undefined;
3578
3822
  bindings?: ({
3579
3823
  kind: "global";
3580
3824
  sourceIds: string[];
@@ -3604,8 +3848,8 @@ export declare const projectContextSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
3604
3848
  kind: "existing";
3605
3849
  projectPath?: string | undefined;
3606
3850
  designContext?: ({
3607
- slug: string;
3608
3851
  kind: "slug";
3852
+ slug: string;
3609
3853
  } | {
3610
3854
  kind: "markdown";
3611
3855
  content: string;
@@ -3671,7 +3915,7 @@ export declare const projectContextSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
3671
3915
  };
3672
3916
  kind: "design_system";
3673
3917
  sourceIds: string[];
3674
- producedBy: "agent" | "rivet" | "browser" | "skill";
3918
+ producedBy: "rivet" | "agent" | "browser" | "skill";
3675
3919
  path?: string | undefined;
3676
3920
  actionId?: string | undefined;
3677
3921
  warnings?: string[] | undefined;
@@ -3684,11 +3928,20 @@ export declare const projectContextSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
3684
3928
  };
3685
3929
  kind: "motion_guidance";
3686
3930
  sourceIds: string[];
3687
- producedBy: "agent" | "rivet" | "browser" | "skill";
3931
+ producedBy: "rivet" | "agent" | "browser" | "skill";
3688
3932
  path?: string | undefined;
3689
3933
  actionId?: string | undefined;
3690
3934
  warnings?: string[] | undefined;
3691
3935
  })[];
3936
+ contextAssets?: {
3937
+ id: string;
3938
+ path: string;
3939
+ originalFilename: string;
3940
+ sizeBytes: number;
3941
+ sha256: string;
3942
+ label?: string | undefined;
3943
+ mimeType?: string | undefined;
3944
+ }[] | undefined;
3692
3945
  bindings?: ({
3693
3946
  kind: "global";
3694
3947
  sourceIds: string[];
@@ -3718,8 +3971,8 @@ export declare const projectContextSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
3718
3971
  kind: "existing";
3719
3972
  projectPath?: string | undefined;
3720
3973
  designContext?: ({
3721
- slug: string;
3722
3974
  kind: "slug";
3975
+ slug: string;
3723
3976
  } | {
3724
3977
  kind: "markdown";
3725
3978
  content: string;
@@ -3785,7 +4038,7 @@ export declare const projectContextSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
3785
4038
  };
3786
4039
  kind: "design_system";
3787
4040
  sourceIds: string[];
3788
- producedBy: "agent" | "rivet" | "browser" | "skill";
4041
+ producedBy: "rivet" | "agent" | "browser" | "skill";
3789
4042
  path?: string | undefined;
3790
4043
  actionId?: string | undefined;
3791
4044
  warnings?: string[] | undefined;
@@ -3798,11 +4051,20 @@ export declare const projectContextSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
3798
4051
  };
3799
4052
  kind: "motion_guidance";
3800
4053
  sourceIds: string[];
3801
- producedBy: "agent" | "rivet" | "browser" | "skill";
4054
+ producedBy: "rivet" | "agent" | "browser" | "skill";
3802
4055
  path?: string | undefined;
3803
4056
  actionId?: string | undefined;
3804
4057
  warnings?: string[] | undefined;
3805
4058
  })[];
4059
+ contextAssets?: {
4060
+ id: string;
4061
+ path: string;
4062
+ originalFilename: string;
4063
+ sizeBytes: number;
4064
+ sha256: string;
4065
+ label?: string | undefined;
4066
+ mimeType?: string | undefined;
4067
+ }[] | undefined;
3806
4068
  bindings?: ({
3807
4069
  kind: "global";
3808
4070
  sourceIds: string[];
@@ -3850,11 +4112,11 @@ export declare const projectContextSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
3850
4112
  kind: z.ZodLiteral<"slug">;
3851
4113
  slug: z.ZodString;
3852
4114
  }, "strip", z.ZodTypeAny, {
3853
- slug: string;
3854
4115
  kind: "slug";
3855
- }, {
3856
4116
  slug: string;
4117
+ }, {
3857
4118
  kind: "slug";
4119
+ slug: string;
3858
4120
  }>, z.ZodObject<{
3859
4121
  kind: z.ZodLiteral<"markdown">;
3860
4122
  content: z.ZodString;
@@ -4064,7 +4326,7 @@ export declare const projectContextSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
4064
4326
  };
4065
4327
  kind: "design_system";
4066
4328
  sourceIds: string[];
4067
- producedBy: "agent" | "rivet" | "browser" | "skill";
4329
+ producedBy: "rivet" | "agent" | "browser" | "skill";
4068
4330
  path?: string | undefined;
4069
4331
  actionId?: string | undefined;
4070
4332
  warnings?: string[] | undefined;
@@ -4086,7 +4348,7 @@ export declare const projectContextSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
4086
4348
  };
4087
4349
  kind: "design_system";
4088
4350
  sourceIds: string[];
4089
- producedBy: "agent" | "rivet" | "browser" | "skill";
4351
+ producedBy: "rivet" | "agent" | "browser" | "skill";
4090
4352
  path?: string | undefined;
4091
4353
  actionId?: string | undefined;
4092
4354
  warnings?: string[] | undefined;
@@ -4121,7 +4383,7 @@ export declare const projectContextSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
4121
4383
  };
4122
4384
  kind: "motion_guidance";
4123
4385
  sourceIds: string[];
4124
- producedBy: "agent" | "rivet" | "browser" | "skill";
4386
+ producedBy: "rivet" | "agent" | "browser" | "skill";
4125
4387
  path?: string | undefined;
4126
4388
  actionId?: string | undefined;
4127
4389
  warnings?: string[] | undefined;
@@ -4134,11 +4396,36 @@ export declare const projectContextSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
4134
4396
  };
4135
4397
  kind: "motion_guidance";
4136
4398
  sourceIds: string[];
4137
- producedBy: "agent" | "rivet" | "browser" | "skill";
4399
+ producedBy: "rivet" | "agent" | "browser" | "skill";
4138
4400
  path?: string | undefined;
4139
4401
  actionId?: string | undefined;
4140
4402
  warnings?: string[] | undefined;
4141
4403
  }>]>, "many">;
4404
+ contextAssets: z.ZodOptional<z.ZodArray<z.ZodObject<{
4405
+ id: z.ZodString;
4406
+ path: z.ZodString;
4407
+ originalFilename: z.ZodString;
4408
+ mimeType: z.ZodOptional<z.ZodString>;
4409
+ sizeBytes: z.ZodNumber;
4410
+ sha256: z.ZodString;
4411
+ label: z.ZodOptional<z.ZodString>;
4412
+ }, "strip", z.ZodTypeAny, {
4413
+ id: string;
4414
+ path: string;
4415
+ originalFilename: string;
4416
+ sizeBytes: number;
4417
+ sha256: string;
4418
+ label?: string | undefined;
4419
+ mimeType?: string | undefined;
4420
+ }, {
4421
+ id: string;
4422
+ path: string;
4423
+ originalFilename: string;
4424
+ sizeBytes: number;
4425
+ sha256: string;
4426
+ label?: string | undefined;
4427
+ mimeType?: string | undefined;
4428
+ }>, "many">>;
4142
4429
  bindings: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
4143
4430
  kind: z.ZodLiteral<"global">;
4144
4431
  sourceIds: z.ZodArray<z.ZodString, "many">;
@@ -4275,7 +4562,7 @@ export declare const projectContextSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
4275
4562
  };
4276
4563
  kind: "design_system";
4277
4564
  sourceIds: string[];
4278
- producedBy: "agent" | "rivet" | "browser" | "skill";
4565
+ producedBy: "rivet" | "agent" | "browser" | "skill";
4279
4566
  path?: string | undefined;
4280
4567
  actionId?: string | undefined;
4281
4568
  warnings?: string[] | undefined;
@@ -4288,11 +4575,20 @@ export declare const projectContextSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
4288
4575
  };
4289
4576
  kind: "motion_guidance";
4290
4577
  sourceIds: string[];
4291
- producedBy: "agent" | "rivet" | "browser" | "skill";
4578
+ producedBy: "rivet" | "agent" | "browser" | "skill";
4292
4579
  path?: string | undefined;
4293
4580
  actionId?: string | undefined;
4294
4581
  warnings?: string[] | undefined;
4295
4582
  })[];
4583
+ contextAssets?: {
4584
+ id: string;
4585
+ path: string;
4586
+ originalFilename: string;
4587
+ sizeBytes: number;
4588
+ sha256: string;
4589
+ label?: string | undefined;
4590
+ mimeType?: string | undefined;
4591
+ }[] | undefined;
4296
4592
  bindings?: ({
4297
4593
  kind: "global";
4298
4594
  sourceIds: string[];
@@ -4377,7 +4673,7 @@ export declare const projectContextSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
4377
4673
  };
4378
4674
  kind: "design_system";
4379
4675
  sourceIds: string[];
4380
- producedBy: "agent" | "rivet" | "browser" | "skill";
4676
+ producedBy: "rivet" | "agent" | "browser" | "skill";
4381
4677
  path?: string | undefined;
4382
4678
  actionId?: string | undefined;
4383
4679
  warnings?: string[] | undefined;
@@ -4390,11 +4686,20 @@ export declare const projectContextSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
4390
4686
  };
4391
4687
  kind: "motion_guidance";
4392
4688
  sourceIds: string[];
4393
- producedBy: "agent" | "rivet" | "browser" | "skill";
4689
+ producedBy: "rivet" | "agent" | "browser" | "skill";
4394
4690
  path?: string | undefined;
4395
4691
  actionId?: string | undefined;
4396
4692
  warnings?: string[] | undefined;
4397
4693
  })[];
4694
+ contextAssets?: {
4695
+ id: string;
4696
+ path: string;
4697
+ originalFilename: string;
4698
+ sizeBytes: number;
4699
+ sha256: string;
4700
+ label?: string | undefined;
4701
+ mimeType?: string | undefined;
4702
+ }[] | undefined;
4398
4703
  bindings?: ({
4399
4704
  kind: "global";
4400
4705
  sourceIds: string[];
@@ -4470,7 +4775,6 @@ export declare const projectContextSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
4470
4775
  kind: "fresh";
4471
4776
  workspacePath: string;
4472
4777
  workspaceRoot: string;
4473
- framework?: "next" | "vite" | "remix" | "astro" | undefined;
4474
4778
  executionPlan?: {
4475
4779
  mode: "static_preview" | "vite_app";
4476
4780
  reason: string;
@@ -4484,8 +4788,8 @@ export declare const projectContextSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
4484
4788
  userQuestion?: string | undefined;
4485
4789
  } | undefined;
4486
4790
  designContext?: ({
4487
- slug: string;
4488
4791
  kind: "slug";
4792
+ slug: string;
4489
4793
  } | {
4490
4794
  kind: "markdown";
4491
4795
  content: string;
@@ -4551,7 +4855,7 @@ export declare const projectContextSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
4551
4855
  };
4552
4856
  kind: "design_system";
4553
4857
  sourceIds: string[];
4554
- producedBy: "agent" | "rivet" | "browser" | "skill";
4858
+ producedBy: "rivet" | "agent" | "browser" | "skill";
4555
4859
  path?: string | undefined;
4556
4860
  actionId?: string | undefined;
4557
4861
  warnings?: string[] | undefined;
@@ -4564,11 +4868,20 @@ export declare const projectContextSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
4564
4868
  };
4565
4869
  kind: "motion_guidance";
4566
4870
  sourceIds: string[];
4567
- producedBy: "agent" | "rivet" | "browser" | "skill";
4871
+ producedBy: "rivet" | "agent" | "browser" | "skill";
4568
4872
  path?: string | undefined;
4569
4873
  actionId?: string | undefined;
4570
4874
  warnings?: string[] | undefined;
4571
4875
  })[];
4876
+ contextAssets?: {
4877
+ id: string;
4878
+ path: string;
4879
+ originalFilename: string;
4880
+ sizeBytes: number;
4881
+ sha256: string;
4882
+ label?: string | undefined;
4883
+ mimeType?: string | undefined;
4884
+ }[] | undefined;
4572
4885
  bindings?: ({
4573
4886
  kind: "global";
4574
4887
  sourceIds: string[];
@@ -4594,12 +4907,12 @@ export declare const projectContextSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
4594
4907
  userQuestion?: string | undefined;
4595
4908
  } | undefined;
4596
4909
  } | undefined;
4910
+ framework?: "next" | "vite" | "remix" | "astro" | undefined;
4597
4911
  assetSourceRoot?: string | undefined;
4598
4912
  }, {
4599
4913
  kind: "fresh";
4600
4914
  workspacePath: string;
4601
4915
  workspaceRoot: string;
4602
- framework?: "next" | "vite" | "remix" | "astro" | undefined;
4603
4916
  executionPlan?: {
4604
4917
  mode: "static_preview" | "vite_app";
4605
4918
  reason: string;
@@ -4613,8 +4926,8 @@ export declare const projectContextSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
4613
4926
  userQuestion?: string | undefined;
4614
4927
  } | undefined;
4615
4928
  designContext?: ({
4616
- slug: string;
4617
4929
  kind: "slug";
4930
+ slug: string;
4618
4931
  } | {
4619
4932
  kind: "markdown";
4620
4933
  content: string;
@@ -4680,7 +4993,7 @@ export declare const projectContextSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
4680
4993
  };
4681
4994
  kind: "design_system";
4682
4995
  sourceIds: string[];
4683
- producedBy: "agent" | "rivet" | "browser" | "skill";
4996
+ producedBy: "rivet" | "agent" | "browser" | "skill";
4684
4997
  path?: string | undefined;
4685
4998
  actionId?: string | undefined;
4686
4999
  warnings?: string[] | undefined;
@@ -4693,11 +5006,20 @@ export declare const projectContextSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
4693
5006
  };
4694
5007
  kind: "motion_guidance";
4695
5008
  sourceIds: string[];
4696
- producedBy: "agent" | "rivet" | "browser" | "skill";
5009
+ producedBy: "rivet" | "agent" | "browser" | "skill";
4697
5010
  path?: string | undefined;
4698
5011
  actionId?: string | undefined;
4699
5012
  warnings?: string[] | undefined;
4700
5013
  })[];
5014
+ contextAssets?: {
5015
+ id: string;
5016
+ path: string;
5017
+ originalFilename: string;
5018
+ sizeBytes: number;
5019
+ sha256: string;
5020
+ label?: string | undefined;
5021
+ mimeType?: string | undefined;
5022
+ }[] | undefined;
4701
5023
  bindings?: ({
4702
5024
  kind: "global";
4703
5025
  sourceIds: string[];
@@ -4723,6 +5045,7 @@ export declare const projectContextSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
4723
5045
  userQuestion?: string | undefined;
4724
5046
  } | undefined;
4725
5047
  } | undefined;
5048
+ framework?: "next" | "vite" | "remix" | "astro" | undefined;
4726
5049
  assetSourceRoot?: string | undefined;
4727
5050
  }>]>;
4728
5051
  export declare const projectContextInputSchema: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<Omit<{
@@ -4737,11 +5060,11 @@ export declare const projectContextInputSchema: z.ZodDiscriminatedUnion<"kind",
4737
5060
  kind: z.ZodLiteral<"slug">;
4738
5061
  slug: z.ZodString;
4739
5062
  }, "strip", z.ZodTypeAny, {
4740
- slug: string;
4741
5063
  kind: "slug";
4742
- }, {
4743
5064
  slug: string;
5065
+ }, {
4744
5066
  kind: "slug";
5067
+ slug: string;
4745
5068
  }>, z.ZodObject<{
4746
5069
  kind: z.ZodLiteral<"markdown">;
4747
5070
  content: z.ZodString;
@@ -4951,7 +5274,7 @@ export declare const projectContextInputSchema: z.ZodDiscriminatedUnion<"kind",
4951
5274
  };
4952
5275
  kind: "design_system";
4953
5276
  sourceIds: string[];
4954
- producedBy: "agent" | "rivet" | "browser" | "skill";
5277
+ producedBy: "rivet" | "agent" | "browser" | "skill";
4955
5278
  path?: string | undefined;
4956
5279
  actionId?: string | undefined;
4957
5280
  warnings?: string[] | undefined;
@@ -4973,7 +5296,7 @@ export declare const projectContextInputSchema: z.ZodDiscriminatedUnion<"kind",
4973
5296
  };
4974
5297
  kind: "design_system";
4975
5298
  sourceIds: string[];
4976
- producedBy: "agent" | "rivet" | "browser" | "skill";
5299
+ producedBy: "rivet" | "agent" | "browser" | "skill";
4977
5300
  path?: string | undefined;
4978
5301
  actionId?: string | undefined;
4979
5302
  warnings?: string[] | undefined;
@@ -5008,7 +5331,7 @@ export declare const projectContextInputSchema: z.ZodDiscriminatedUnion<"kind",
5008
5331
  };
5009
5332
  kind: "motion_guidance";
5010
5333
  sourceIds: string[];
5011
- producedBy: "agent" | "rivet" | "browser" | "skill";
5334
+ producedBy: "rivet" | "agent" | "browser" | "skill";
5012
5335
  path?: string | undefined;
5013
5336
  actionId?: string | undefined;
5014
5337
  warnings?: string[] | undefined;
@@ -5021,11 +5344,36 @@ export declare const projectContextInputSchema: z.ZodDiscriminatedUnion<"kind",
5021
5344
  };
5022
5345
  kind: "motion_guidance";
5023
5346
  sourceIds: string[];
5024
- producedBy: "agent" | "rivet" | "browser" | "skill";
5347
+ producedBy: "rivet" | "agent" | "browser" | "skill";
5025
5348
  path?: string | undefined;
5026
5349
  actionId?: string | undefined;
5027
5350
  warnings?: string[] | undefined;
5028
5351
  }>]>, "many">;
5352
+ contextAssets: z.ZodOptional<z.ZodArray<z.ZodObject<{
5353
+ id: z.ZodString;
5354
+ path: z.ZodString;
5355
+ originalFilename: z.ZodString;
5356
+ mimeType: z.ZodOptional<z.ZodString>;
5357
+ sizeBytes: z.ZodNumber;
5358
+ sha256: z.ZodString;
5359
+ label: z.ZodOptional<z.ZodString>;
5360
+ }, "strip", z.ZodTypeAny, {
5361
+ id: string;
5362
+ path: string;
5363
+ originalFilename: string;
5364
+ sizeBytes: number;
5365
+ sha256: string;
5366
+ label?: string | undefined;
5367
+ mimeType?: string | undefined;
5368
+ }, {
5369
+ id: string;
5370
+ path: string;
5371
+ originalFilename: string;
5372
+ sizeBytes: number;
5373
+ sha256: string;
5374
+ label?: string | undefined;
5375
+ mimeType?: string | undefined;
5376
+ }>, "many">>;
5029
5377
  bindings: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
5030
5378
  kind: z.ZodLiteral<"global">;
5031
5379
  sourceIds: z.ZodArray<z.ZodString, "many">;
@@ -5162,7 +5510,7 @@ export declare const projectContextInputSchema: z.ZodDiscriminatedUnion<"kind",
5162
5510
  };
5163
5511
  kind: "design_system";
5164
5512
  sourceIds: string[];
5165
- producedBy: "agent" | "rivet" | "browser" | "skill";
5513
+ producedBy: "rivet" | "agent" | "browser" | "skill";
5166
5514
  path?: string | undefined;
5167
5515
  actionId?: string | undefined;
5168
5516
  warnings?: string[] | undefined;
@@ -5175,11 +5523,20 @@ export declare const projectContextInputSchema: z.ZodDiscriminatedUnion<"kind",
5175
5523
  };
5176
5524
  kind: "motion_guidance";
5177
5525
  sourceIds: string[];
5178
- producedBy: "agent" | "rivet" | "browser" | "skill";
5526
+ producedBy: "rivet" | "agent" | "browser" | "skill";
5179
5527
  path?: string | undefined;
5180
5528
  actionId?: string | undefined;
5181
5529
  warnings?: string[] | undefined;
5182
5530
  })[];
5531
+ contextAssets?: {
5532
+ id: string;
5533
+ path: string;
5534
+ originalFilename: string;
5535
+ sizeBytes: number;
5536
+ sha256: string;
5537
+ label?: string | undefined;
5538
+ mimeType?: string | undefined;
5539
+ }[] | undefined;
5183
5540
  bindings?: ({
5184
5541
  kind: "global";
5185
5542
  sourceIds: string[];
@@ -5264,7 +5621,7 @@ export declare const projectContextInputSchema: z.ZodDiscriminatedUnion<"kind",
5264
5621
  };
5265
5622
  kind: "design_system";
5266
5623
  sourceIds: string[];
5267
- producedBy: "agent" | "rivet" | "browser" | "skill";
5624
+ producedBy: "rivet" | "agent" | "browser" | "skill";
5268
5625
  path?: string | undefined;
5269
5626
  actionId?: string | undefined;
5270
5627
  warnings?: string[] | undefined;
@@ -5277,11 +5634,20 @@ export declare const projectContextInputSchema: z.ZodDiscriminatedUnion<"kind",
5277
5634
  };
5278
5635
  kind: "motion_guidance";
5279
5636
  sourceIds: string[];
5280
- producedBy: "agent" | "rivet" | "browser" | "skill";
5637
+ producedBy: "rivet" | "agent" | "browser" | "skill";
5281
5638
  path?: string | undefined;
5282
5639
  actionId?: string | undefined;
5283
5640
  warnings?: string[] | undefined;
5284
5641
  })[];
5642
+ contextAssets?: {
5643
+ id: string;
5644
+ path: string;
5645
+ originalFilename: string;
5646
+ sizeBytes: number;
5647
+ sha256: string;
5648
+ label?: string | undefined;
5649
+ mimeType?: string | undefined;
5650
+ }[] | undefined;
5285
5651
  bindings?: ({
5286
5652
  kind: "global";
5287
5653
  sourceIds: string[];
@@ -5311,8 +5677,8 @@ export declare const projectContextInputSchema: z.ZodDiscriminatedUnion<"kind",
5311
5677
  kind: "existing";
5312
5678
  projectPath?: string | undefined;
5313
5679
  designContext?: ({
5314
- slug: string;
5315
5680
  kind: "slug";
5681
+ slug: string;
5316
5682
  } | {
5317
5683
  kind: "markdown";
5318
5684
  content: string;
@@ -5322,8 +5688,8 @@ export declare const projectContextInputSchema: z.ZodDiscriminatedUnion<"kind",
5322
5688
  kind: "existing";
5323
5689
  projectPath?: string | undefined;
5324
5690
  designContext?: ({
5325
- slug: string;
5326
5691
  kind: "slug";
5692
+ slug: string;
5327
5693
  } | {
5328
5694
  kind: "markdown";
5329
5695
  content: string;
@@ -5351,11 +5717,11 @@ export declare const projectContextInputSchema: z.ZodDiscriminatedUnion<"kind",
5351
5717
  kind: z.ZodLiteral<"slug">;
5352
5718
  slug: z.ZodString;
5353
5719
  }, "strip", z.ZodTypeAny, {
5354
- slug: string;
5355
5720
  kind: "slug";
5356
- }, {
5357
5721
  slug: string;
5722
+ }, {
5358
5723
  kind: "slug";
5724
+ slug: string;
5359
5725
  }>, z.ZodObject<{
5360
5726
  kind: z.ZodLiteral<"markdown">;
5361
5727
  content: z.ZodString;
@@ -5565,7 +5931,7 @@ export declare const projectContextInputSchema: z.ZodDiscriminatedUnion<"kind",
5565
5931
  };
5566
5932
  kind: "design_system";
5567
5933
  sourceIds: string[];
5568
- producedBy: "agent" | "rivet" | "browser" | "skill";
5934
+ producedBy: "rivet" | "agent" | "browser" | "skill";
5569
5935
  path?: string | undefined;
5570
5936
  actionId?: string | undefined;
5571
5937
  warnings?: string[] | undefined;
@@ -5587,7 +5953,7 @@ export declare const projectContextInputSchema: z.ZodDiscriminatedUnion<"kind",
5587
5953
  };
5588
5954
  kind: "design_system";
5589
5955
  sourceIds: string[];
5590
- producedBy: "agent" | "rivet" | "browser" | "skill";
5956
+ producedBy: "rivet" | "agent" | "browser" | "skill";
5591
5957
  path?: string | undefined;
5592
5958
  actionId?: string | undefined;
5593
5959
  warnings?: string[] | undefined;
@@ -5622,7 +5988,7 @@ export declare const projectContextInputSchema: z.ZodDiscriminatedUnion<"kind",
5622
5988
  };
5623
5989
  kind: "motion_guidance";
5624
5990
  sourceIds: string[];
5625
- producedBy: "agent" | "rivet" | "browser" | "skill";
5991
+ producedBy: "rivet" | "agent" | "browser" | "skill";
5626
5992
  path?: string | undefined;
5627
5993
  actionId?: string | undefined;
5628
5994
  warnings?: string[] | undefined;
@@ -5635,11 +6001,36 @@ export declare const projectContextInputSchema: z.ZodDiscriminatedUnion<"kind",
5635
6001
  };
5636
6002
  kind: "motion_guidance";
5637
6003
  sourceIds: string[];
5638
- producedBy: "agent" | "rivet" | "browser" | "skill";
6004
+ producedBy: "rivet" | "agent" | "browser" | "skill";
5639
6005
  path?: string | undefined;
5640
6006
  actionId?: string | undefined;
5641
6007
  warnings?: string[] | undefined;
5642
6008
  }>]>, "many">;
6009
+ contextAssets: z.ZodOptional<z.ZodArray<z.ZodObject<{
6010
+ id: z.ZodString;
6011
+ path: z.ZodString;
6012
+ originalFilename: z.ZodString;
6013
+ mimeType: z.ZodOptional<z.ZodString>;
6014
+ sizeBytes: z.ZodNumber;
6015
+ sha256: z.ZodString;
6016
+ label: z.ZodOptional<z.ZodString>;
6017
+ }, "strip", z.ZodTypeAny, {
6018
+ id: string;
6019
+ path: string;
6020
+ originalFilename: string;
6021
+ sizeBytes: number;
6022
+ sha256: string;
6023
+ label?: string | undefined;
6024
+ mimeType?: string | undefined;
6025
+ }, {
6026
+ id: string;
6027
+ path: string;
6028
+ originalFilename: string;
6029
+ sizeBytes: number;
6030
+ sha256: string;
6031
+ label?: string | undefined;
6032
+ mimeType?: string | undefined;
6033
+ }>, "many">>;
5643
6034
  bindings: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
5644
6035
  kind: z.ZodLiteral<"global">;
5645
6036
  sourceIds: z.ZodArray<z.ZodString, "many">;
@@ -5776,7 +6167,7 @@ export declare const projectContextInputSchema: z.ZodDiscriminatedUnion<"kind",
5776
6167
  };
5777
6168
  kind: "design_system";
5778
6169
  sourceIds: string[];
5779
- producedBy: "agent" | "rivet" | "browser" | "skill";
6170
+ producedBy: "rivet" | "agent" | "browser" | "skill";
5780
6171
  path?: string | undefined;
5781
6172
  actionId?: string | undefined;
5782
6173
  warnings?: string[] | undefined;
@@ -5789,11 +6180,20 @@ export declare const projectContextInputSchema: z.ZodDiscriminatedUnion<"kind",
5789
6180
  };
5790
6181
  kind: "motion_guidance";
5791
6182
  sourceIds: string[];
5792
- producedBy: "agent" | "rivet" | "browser" | "skill";
6183
+ producedBy: "rivet" | "agent" | "browser" | "skill";
5793
6184
  path?: string | undefined;
5794
6185
  actionId?: string | undefined;
5795
6186
  warnings?: string[] | undefined;
5796
6187
  })[];
6188
+ contextAssets?: {
6189
+ id: string;
6190
+ path: string;
6191
+ originalFilename: string;
6192
+ sizeBytes: number;
6193
+ sha256: string;
6194
+ label?: string | undefined;
6195
+ mimeType?: string | undefined;
6196
+ }[] | undefined;
5797
6197
  bindings?: ({
5798
6198
  kind: "global";
5799
6199
  sourceIds: string[];
@@ -5878,7 +6278,7 @@ export declare const projectContextInputSchema: z.ZodDiscriminatedUnion<"kind",
5878
6278
  };
5879
6279
  kind: "design_system";
5880
6280
  sourceIds: string[];
5881
- producedBy: "agent" | "rivet" | "browser" | "skill";
6281
+ producedBy: "rivet" | "agent" | "browser" | "skill";
5882
6282
  path?: string | undefined;
5883
6283
  actionId?: string | undefined;
5884
6284
  warnings?: string[] | undefined;
@@ -5891,11 +6291,20 @@ export declare const projectContextInputSchema: z.ZodDiscriminatedUnion<"kind",
5891
6291
  };
5892
6292
  kind: "motion_guidance";
5893
6293
  sourceIds: string[];
5894
- producedBy: "agent" | "rivet" | "browser" | "skill";
6294
+ producedBy: "rivet" | "agent" | "browser" | "skill";
5895
6295
  path?: string | undefined;
5896
6296
  actionId?: string | undefined;
5897
6297
  warnings?: string[] | undefined;
5898
6298
  })[];
6299
+ contextAssets?: {
6300
+ id: string;
6301
+ path: string;
6302
+ originalFilename: string;
6303
+ sizeBytes: number;
6304
+ sha256: string;
6305
+ label?: string | undefined;
6306
+ mimeType?: string | undefined;
6307
+ }[] | undefined;
5899
6308
  bindings?: ({
5900
6309
  kind: "global";
5901
6310
  sourceIds: string[];
@@ -5971,7 +6380,6 @@ export declare const projectContextInputSchema: z.ZodDiscriminatedUnion<"kind",
5971
6380
  kind: "fresh";
5972
6381
  workspacePath: string;
5973
6382
  workspaceRoot: string;
5974
- framework?: "next" | "vite" | "remix" | "astro" | undefined;
5975
6383
  executionPlan?: {
5976
6384
  mode: "static_preview" | "vite_app";
5977
6385
  reason: string;
@@ -5985,19 +6393,19 @@ export declare const projectContextInputSchema: z.ZodDiscriminatedUnion<"kind",
5985
6393
  userQuestion?: string | undefined;
5986
6394
  } | undefined;
5987
6395
  designContext?: ({
5988
- slug: string;
5989
6396
  kind: "slug";
6397
+ slug: string;
5990
6398
  } | {
5991
6399
  kind: "markdown";
5992
6400
  content: string;
5993
6401
  label: string;
5994
6402
  })[] | undefined;
6403
+ framework?: "next" | "vite" | "remix" | "astro" | undefined;
5995
6404
  assetSourceRoot?: string | undefined;
5996
6405
  }, {
5997
6406
  kind: "fresh";
5998
6407
  workspacePath: string;
5999
6408
  workspaceRoot: string;
6000
- framework?: "next" | "vite" | "remix" | "astro" | undefined;
6001
6409
  executionPlan?: {
6002
6410
  mode: "static_preview" | "vite_app";
6003
6411
  reason: string;
@@ -6011,13 +6419,14 @@ export declare const projectContextInputSchema: z.ZodDiscriminatedUnion<"kind",
6011
6419
  userQuestion?: string | undefined;
6012
6420
  } | undefined;
6013
6421
  designContext?: ({
6014
- slug: string;
6015
6422
  kind: "slug";
6423
+ slug: string;
6016
6424
  } | {
6017
6425
  kind: "markdown";
6018
6426
  content: string;
6019
6427
  label: string;
6020
6428
  })[] | undefined;
6429
+ framework?: "next" | "vite" | "remix" | "astro" | undefined;
6021
6430
  assetSourceRoot?: string | undefined;
6022
6431
  }>]>;
6023
6432
  export type ProjectContext = z.infer<typeof projectContextSchema>;
@@ -6025,6 +6434,8 @@ export type DesignContextEntry = z.infer<typeof designContextEntrySchema>;
6025
6434
  export type SourceRole = z.infer<typeof sourceRoleSchema>;
6026
6435
  export type RawUserContextInput = z.infer<typeof rawUserContextInputSchema>;
6027
6436
  export type RawUserContextSource = z.infer<typeof rawUserContextSourceSchema>;
6437
+ export type ContextAssetInput = z.infer<typeof contextAssetInputSchema>;
6438
+ export type StagedContextAsset = z.infer<typeof stagedContextAssetSchema>;
6028
6439
  export type StoredUserContextSourceRecord = z.infer<typeof storedUserContextSourceRecordSchema>;
6029
6440
  export type RivetContextActionKind = z.infer<typeof rivetContextActionKindSchema>;
6030
6441
  export type RivetContextAction = z.infer<typeof rivetContextActionSchema>;
@@ -6152,7 +6563,7 @@ export interface ActiveVariantSnapshot {
6152
6563
  * causes remain terminal preview failures.
6153
6564
  */
6154
6565
  previewUnavailable?: {
6155
- reason: 'spawn_error' | 'exited' | 'timeout' | 'idle_timeout' | 'unknown';
6566
+ reason: 'spawn_error' | 'exited' | 'timeout' | 'missing_dev_script' | 'idle_timeout' | 'unknown';
6156
6567
  portInUse?: boolean;
6157
6568
  };
6158
6569
  actions?: ActiveVariantActions;
@@ -6217,6 +6628,14 @@ interface HostVariantWorkItemBase {
6217
6628
  */
6218
6629
  export type WorkerFidelity = 'low' | 'medium' | 'high';
6219
6630
  export declare const isWorkerFidelity: (value: unknown) => value is WorkerFidelity;
6631
+ export interface WorkspaceContextAsset {
6632
+ id: string;
6633
+ sourcePath: string;
6634
+ workspacePath: string;
6635
+ referencePath: string;
6636
+ sha256: string;
6637
+ label?: string;
6638
+ }
6220
6639
  export interface HostVariantImplementationWorkItemSnapshot extends HostVariantWorkItemBase {
6221
6640
  kind: 'static_preview' | 'refine_variant' | 'code_gen';
6222
6641
  workspace: VariantAssignedWorkspace;
@@ -6237,6 +6656,8 @@ export interface HostVariantImplementationWorkItemSnapshot extends HostVariantWo
6237
6656
  path: string;
6238
6657
  label?: string;
6239
6658
  }>;
6659
+ /** Caller-supplied files already copied into this work item's workspace. */
6660
+ contextAssets?: WorkspaceContextAsset[];
6240
6661
  completion: VariantCompletionContract;
6241
6662
  }
6242
6663
  export interface HostVariantPlanningWorkItemSnapshot extends HostVariantWorkItemBase {
@@ -6307,10 +6728,10 @@ export declare const targetSchema: z.ZodObject<{
6307
6728
  type: z.ZodEnum<["element", "file", "route"]>;
6308
6729
  ref: z.ZodString;
6309
6730
  }, "strip", z.ZodTypeAny, {
6310
- type: "element" | "file" | "route";
6731
+ type: "file" | "element" | "route";
6311
6732
  ref: string;
6312
6733
  }, {
6313
- type: "element" | "file" | "route";
6734
+ type: "file" | "element" | "route";
6314
6735
  ref: string;
6315
6736
  }>;
6316
6737
  export type Target = z.infer<typeof targetSchema>;
@@ -6513,7 +6934,7 @@ export declare const variantWorkItemContextSchema: z.ZodObject<{
6513
6934
  };
6514
6935
  kind: "design_system";
6515
6936
  sourceIds: string[];
6516
- producedBy: "agent" | "rivet" | "browser" | "skill";
6937
+ producedBy: "rivet" | "agent" | "browser" | "skill";
6517
6938
  path?: string | undefined;
6518
6939
  actionId?: string | undefined;
6519
6940
  warnings?: string[] | undefined;
@@ -6535,7 +6956,7 @@ export declare const variantWorkItemContextSchema: z.ZodObject<{
6535
6956
  };
6536
6957
  kind: "design_system";
6537
6958
  sourceIds: string[];
6538
- producedBy: "agent" | "rivet" | "browser" | "skill";
6959
+ producedBy: "rivet" | "agent" | "browser" | "skill";
6539
6960
  path?: string | undefined;
6540
6961
  actionId?: string | undefined;
6541
6962
  warnings?: string[] | undefined;
@@ -6570,7 +6991,7 @@ export declare const variantWorkItemContextSchema: z.ZodObject<{
6570
6991
  };
6571
6992
  kind: "motion_guidance";
6572
6993
  sourceIds: string[];
6573
- producedBy: "agent" | "rivet" | "browser" | "skill";
6994
+ producedBy: "rivet" | "agent" | "browser" | "skill";
6574
6995
  path?: string | undefined;
6575
6996
  actionId?: string | undefined;
6576
6997
  warnings?: string[] | undefined;
@@ -6583,11 +7004,36 @@ export declare const variantWorkItemContextSchema: z.ZodObject<{
6583
7004
  };
6584
7005
  kind: "motion_guidance";
6585
7006
  sourceIds: string[];
6586
- producedBy: "agent" | "rivet" | "browser" | "skill";
7007
+ producedBy: "rivet" | "agent" | "browser" | "skill";
6587
7008
  path?: string | undefined;
6588
7009
  actionId?: string | undefined;
6589
7010
  warnings?: string[] | undefined;
6590
7011
  }>]>, "many">;
7012
+ contextAssets: z.ZodOptional<z.ZodArray<z.ZodObject<{
7013
+ id: z.ZodString;
7014
+ path: z.ZodString;
7015
+ originalFilename: z.ZodString;
7016
+ mimeType: z.ZodOptional<z.ZodString>;
7017
+ sizeBytes: z.ZodNumber;
7018
+ sha256: z.ZodString;
7019
+ label: z.ZodOptional<z.ZodString>;
7020
+ }, "strip", z.ZodTypeAny, {
7021
+ id: string;
7022
+ path: string;
7023
+ originalFilename: string;
7024
+ sizeBytes: number;
7025
+ sha256: string;
7026
+ label?: string | undefined;
7027
+ mimeType?: string | undefined;
7028
+ }, {
7029
+ id: string;
7030
+ path: string;
7031
+ originalFilename: string;
7032
+ sizeBytes: number;
7033
+ sha256: string;
7034
+ label?: string | undefined;
7035
+ mimeType?: string | undefined;
7036
+ }>, "many">>;
6591
7037
  brief: z.ZodObject<{
6592
7038
  briefId: z.ZodString;
6593
7039
  label: z.ZodString;
@@ -6670,7 +7116,7 @@ export declare const variantWorkItemContextSchema: z.ZodObject<{
6670
7116
  };
6671
7117
  kind: "design_system";
6672
7118
  sourceIds: string[];
6673
- producedBy: "agent" | "rivet" | "browser" | "skill";
7119
+ producedBy: "rivet" | "agent" | "browser" | "skill";
6674
7120
  path?: string | undefined;
6675
7121
  actionId?: string | undefined;
6676
7122
  warnings?: string[] | undefined;
@@ -6683,11 +7129,20 @@ export declare const variantWorkItemContextSchema: z.ZodObject<{
6683
7129
  };
6684
7130
  kind: "motion_guidance";
6685
7131
  sourceIds: string[];
6686
- producedBy: "agent" | "rivet" | "browser" | "skill";
7132
+ producedBy: "rivet" | "agent" | "browser" | "skill";
6687
7133
  path?: string | undefined;
6688
7134
  actionId?: string | undefined;
6689
7135
  warnings?: string[] | undefined;
6690
7136
  })[];
7137
+ contextAssets?: {
7138
+ id: string;
7139
+ path: string;
7140
+ originalFilename: string;
7141
+ sizeBytes: number;
7142
+ sha256: string;
7143
+ label?: string | undefined;
7144
+ mimeType?: string | undefined;
7145
+ }[] | undefined;
6691
7146
  executionMode?: "static_preview" | "vite_app" | undefined;
6692
7147
  }, {
6693
7148
  brief: {
@@ -6747,7 +7202,7 @@ export declare const variantWorkItemContextSchema: z.ZodObject<{
6747
7202
  };
6748
7203
  kind: "design_system";
6749
7204
  sourceIds: string[];
6750
- producedBy: "agent" | "rivet" | "browser" | "skill";
7205
+ producedBy: "rivet" | "agent" | "browser" | "skill";
6751
7206
  path?: string | undefined;
6752
7207
  actionId?: string | undefined;
6753
7208
  warnings?: string[] | undefined;
@@ -6760,11 +7215,20 @@ export declare const variantWorkItemContextSchema: z.ZodObject<{
6760
7215
  };
6761
7216
  kind: "motion_guidance";
6762
7217
  sourceIds: string[];
6763
- producedBy: "agent" | "rivet" | "browser" | "skill";
7218
+ producedBy: "rivet" | "agent" | "browser" | "skill";
6764
7219
  path?: string | undefined;
6765
7220
  actionId?: string | undefined;
6766
7221
  warnings?: string[] | undefined;
6767
7222
  })[];
7223
+ contextAssets?: {
7224
+ id: string;
7225
+ path: string;
7226
+ originalFilename: string;
7227
+ sizeBytes: number;
7228
+ sha256: string;
7229
+ label?: string | undefined;
7230
+ mimeType?: string | undefined;
7231
+ }[] | undefined;
6768
7232
  executionMode?: "static_preview" | "vite_app" | undefined;
6769
7233
  }>;
6770
7234
  export type VariantWorkItemContext = z.infer<typeof variantWorkItemContextSchema>;
@@ -6789,10 +7253,10 @@ export declare const proposeVariantsInput: {
6789
7253
  type: z.ZodEnum<["element", "file", "route"]>;
6790
7254
  ref: z.ZodString;
6791
7255
  }, "strip", z.ZodTypeAny, {
6792
- type: "element" | "file" | "route";
7256
+ type: "file" | "element" | "route";
6793
7257
  ref: string;
6794
7258
  }, {
6795
- type: "element" | "file" | "route";
7259
+ type: "file" | "element" | "route";
6796
7260
  ref: string;
6797
7261
  }>>;
6798
7262
  projectContext: z.ZodOptional<z.ZodDiscriminatedUnion<"kind", [z.ZodObject<Omit<{
@@ -6807,11 +7271,11 @@ export declare const proposeVariantsInput: {
6807
7271
  kind: z.ZodLiteral<"slug">;
6808
7272
  slug: z.ZodString;
6809
7273
  }, "strip", z.ZodTypeAny, {
6810
- slug: string;
6811
7274
  kind: "slug";
6812
- }, {
6813
7275
  slug: string;
7276
+ }, {
6814
7277
  kind: "slug";
7278
+ slug: string;
6815
7279
  }>, z.ZodObject<{
6816
7280
  kind: z.ZodLiteral<"markdown">;
6817
7281
  content: z.ZodString;
@@ -7021,7 +7485,7 @@ export declare const proposeVariantsInput: {
7021
7485
  };
7022
7486
  kind: "design_system";
7023
7487
  sourceIds: string[];
7024
- producedBy: "agent" | "rivet" | "browser" | "skill";
7488
+ producedBy: "rivet" | "agent" | "browser" | "skill";
7025
7489
  path?: string | undefined;
7026
7490
  actionId?: string | undefined;
7027
7491
  warnings?: string[] | undefined;
@@ -7043,7 +7507,7 @@ export declare const proposeVariantsInput: {
7043
7507
  };
7044
7508
  kind: "design_system";
7045
7509
  sourceIds: string[];
7046
- producedBy: "agent" | "rivet" | "browser" | "skill";
7510
+ producedBy: "rivet" | "agent" | "browser" | "skill";
7047
7511
  path?: string | undefined;
7048
7512
  actionId?: string | undefined;
7049
7513
  warnings?: string[] | undefined;
@@ -7078,7 +7542,7 @@ export declare const proposeVariantsInput: {
7078
7542
  };
7079
7543
  kind: "motion_guidance";
7080
7544
  sourceIds: string[];
7081
- producedBy: "agent" | "rivet" | "browser" | "skill";
7545
+ producedBy: "rivet" | "agent" | "browser" | "skill";
7082
7546
  path?: string | undefined;
7083
7547
  actionId?: string | undefined;
7084
7548
  warnings?: string[] | undefined;
@@ -7091,11 +7555,36 @@ export declare const proposeVariantsInput: {
7091
7555
  };
7092
7556
  kind: "motion_guidance";
7093
7557
  sourceIds: string[];
7094
- producedBy: "agent" | "rivet" | "browser" | "skill";
7558
+ producedBy: "rivet" | "agent" | "browser" | "skill";
7095
7559
  path?: string | undefined;
7096
7560
  actionId?: string | undefined;
7097
7561
  warnings?: string[] | undefined;
7098
7562
  }>]>, "many">;
7563
+ contextAssets: z.ZodOptional<z.ZodArray<z.ZodObject<{
7564
+ id: z.ZodString;
7565
+ path: z.ZodString;
7566
+ originalFilename: z.ZodString;
7567
+ mimeType: z.ZodOptional<z.ZodString>;
7568
+ sizeBytes: z.ZodNumber;
7569
+ sha256: z.ZodString;
7570
+ label: z.ZodOptional<z.ZodString>;
7571
+ }, "strip", z.ZodTypeAny, {
7572
+ id: string;
7573
+ path: string;
7574
+ originalFilename: string;
7575
+ sizeBytes: number;
7576
+ sha256: string;
7577
+ label?: string | undefined;
7578
+ mimeType?: string | undefined;
7579
+ }, {
7580
+ id: string;
7581
+ path: string;
7582
+ originalFilename: string;
7583
+ sizeBytes: number;
7584
+ sha256: string;
7585
+ label?: string | undefined;
7586
+ mimeType?: string | undefined;
7587
+ }>, "many">>;
7099
7588
  bindings: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
7100
7589
  kind: z.ZodLiteral<"global">;
7101
7590
  sourceIds: z.ZodArray<z.ZodString, "many">;
@@ -7232,7 +7721,7 @@ export declare const proposeVariantsInput: {
7232
7721
  };
7233
7722
  kind: "design_system";
7234
7723
  sourceIds: string[];
7235
- producedBy: "agent" | "rivet" | "browser" | "skill";
7724
+ producedBy: "rivet" | "agent" | "browser" | "skill";
7236
7725
  path?: string | undefined;
7237
7726
  actionId?: string | undefined;
7238
7727
  warnings?: string[] | undefined;
@@ -7245,11 +7734,20 @@ export declare const proposeVariantsInput: {
7245
7734
  };
7246
7735
  kind: "motion_guidance";
7247
7736
  sourceIds: string[];
7248
- producedBy: "agent" | "rivet" | "browser" | "skill";
7737
+ producedBy: "rivet" | "agent" | "browser" | "skill";
7249
7738
  path?: string | undefined;
7250
7739
  actionId?: string | undefined;
7251
7740
  warnings?: string[] | undefined;
7252
7741
  })[];
7742
+ contextAssets?: {
7743
+ id: string;
7744
+ path: string;
7745
+ originalFilename: string;
7746
+ sizeBytes: number;
7747
+ sha256: string;
7748
+ label?: string | undefined;
7749
+ mimeType?: string | undefined;
7750
+ }[] | undefined;
7253
7751
  bindings?: ({
7254
7752
  kind: "global";
7255
7753
  sourceIds: string[];
@@ -7334,7 +7832,7 @@ export declare const proposeVariantsInput: {
7334
7832
  };
7335
7833
  kind: "design_system";
7336
7834
  sourceIds: string[];
7337
- producedBy: "agent" | "rivet" | "browser" | "skill";
7835
+ producedBy: "rivet" | "agent" | "browser" | "skill";
7338
7836
  path?: string | undefined;
7339
7837
  actionId?: string | undefined;
7340
7838
  warnings?: string[] | undefined;
@@ -7347,11 +7845,20 @@ export declare const proposeVariantsInput: {
7347
7845
  };
7348
7846
  kind: "motion_guidance";
7349
7847
  sourceIds: string[];
7350
- producedBy: "agent" | "rivet" | "browser" | "skill";
7848
+ producedBy: "rivet" | "agent" | "browser" | "skill";
7351
7849
  path?: string | undefined;
7352
7850
  actionId?: string | undefined;
7353
7851
  warnings?: string[] | undefined;
7354
7852
  })[];
7853
+ contextAssets?: {
7854
+ id: string;
7855
+ path: string;
7856
+ originalFilename: string;
7857
+ sizeBytes: number;
7858
+ sha256: string;
7859
+ label?: string | undefined;
7860
+ mimeType?: string | undefined;
7861
+ }[] | undefined;
7355
7862
  bindings?: ({
7356
7863
  kind: "global";
7357
7864
  sourceIds: string[];
@@ -7381,8 +7888,8 @@ export declare const proposeVariantsInput: {
7381
7888
  kind: "existing";
7382
7889
  projectPath?: string | undefined;
7383
7890
  designContext?: ({
7384
- slug: string;
7385
7891
  kind: "slug";
7892
+ slug: string;
7386
7893
  } | {
7387
7894
  kind: "markdown";
7388
7895
  content: string;
@@ -7392,8 +7899,8 @@ export declare const proposeVariantsInput: {
7392
7899
  kind: "existing";
7393
7900
  projectPath?: string | undefined;
7394
7901
  designContext?: ({
7395
- slug: string;
7396
7902
  kind: "slug";
7903
+ slug: string;
7397
7904
  } | {
7398
7905
  kind: "markdown";
7399
7906
  content: string;
@@ -7421,11 +7928,11 @@ export declare const proposeVariantsInput: {
7421
7928
  kind: z.ZodLiteral<"slug">;
7422
7929
  slug: z.ZodString;
7423
7930
  }, "strip", z.ZodTypeAny, {
7424
- slug: string;
7425
7931
  kind: "slug";
7426
- }, {
7427
7932
  slug: string;
7933
+ }, {
7428
7934
  kind: "slug";
7935
+ slug: string;
7429
7936
  }>, z.ZodObject<{
7430
7937
  kind: z.ZodLiteral<"markdown">;
7431
7938
  content: z.ZodString;
@@ -7635,7 +8142,7 @@ export declare const proposeVariantsInput: {
7635
8142
  };
7636
8143
  kind: "design_system";
7637
8144
  sourceIds: string[];
7638
- producedBy: "agent" | "rivet" | "browser" | "skill";
8145
+ producedBy: "rivet" | "agent" | "browser" | "skill";
7639
8146
  path?: string | undefined;
7640
8147
  actionId?: string | undefined;
7641
8148
  warnings?: string[] | undefined;
@@ -7657,7 +8164,7 @@ export declare const proposeVariantsInput: {
7657
8164
  };
7658
8165
  kind: "design_system";
7659
8166
  sourceIds: string[];
7660
- producedBy: "agent" | "rivet" | "browser" | "skill";
8167
+ producedBy: "rivet" | "agent" | "browser" | "skill";
7661
8168
  path?: string | undefined;
7662
8169
  actionId?: string | undefined;
7663
8170
  warnings?: string[] | undefined;
@@ -7692,7 +8199,7 @@ export declare const proposeVariantsInput: {
7692
8199
  };
7693
8200
  kind: "motion_guidance";
7694
8201
  sourceIds: string[];
7695
- producedBy: "agent" | "rivet" | "browser" | "skill";
8202
+ producedBy: "rivet" | "agent" | "browser" | "skill";
7696
8203
  path?: string | undefined;
7697
8204
  actionId?: string | undefined;
7698
8205
  warnings?: string[] | undefined;
@@ -7705,11 +8212,36 @@ export declare const proposeVariantsInput: {
7705
8212
  };
7706
8213
  kind: "motion_guidance";
7707
8214
  sourceIds: string[];
7708
- producedBy: "agent" | "rivet" | "browser" | "skill";
8215
+ producedBy: "rivet" | "agent" | "browser" | "skill";
7709
8216
  path?: string | undefined;
7710
8217
  actionId?: string | undefined;
7711
8218
  warnings?: string[] | undefined;
7712
8219
  }>]>, "many">;
8220
+ contextAssets: z.ZodOptional<z.ZodArray<z.ZodObject<{
8221
+ id: z.ZodString;
8222
+ path: z.ZodString;
8223
+ originalFilename: z.ZodString;
8224
+ mimeType: z.ZodOptional<z.ZodString>;
8225
+ sizeBytes: z.ZodNumber;
8226
+ sha256: z.ZodString;
8227
+ label: z.ZodOptional<z.ZodString>;
8228
+ }, "strip", z.ZodTypeAny, {
8229
+ id: string;
8230
+ path: string;
8231
+ originalFilename: string;
8232
+ sizeBytes: number;
8233
+ sha256: string;
8234
+ label?: string | undefined;
8235
+ mimeType?: string | undefined;
8236
+ }, {
8237
+ id: string;
8238
+ path: string;
8239
+ originalFilename: string;
8240
+ sizeBytes: number;
8241
+ sha256: string;
8242
+ label?: string | undefined;
8243
+ mimeType?: string | undefined;
8244
+ }>, "many">>;
7713
8245
  bindings: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
7714
8246
  kind: z.ZodLiteral<"global">;
7715
8247
  sourceIds: z.ZodArray<z.ZodString, "many">;
@@ -7846,7 +8378,7 @@ export declare const proposeVariantsInput: {
7846
8378
  };
7847
8379
  kind: "design_system";
7848
8380
  sourceIds: string[];
7849
- producedBy: "agent" | "rivet" | "browser" | "skill";
8381
+ producedBy: "rivet" | "agent" | "browser" | "skill";
7850
8382
  path?: string | undefined;
7851
8383
  actionId?: string | undefined;
7852
8384
  warnings?: string[] | undefined;
@@ -7859,11 +8391,20 @@ export declare const proposeVariantsInput: {
7859
8391
  };
7860
8392
  kind: "motion_guidance";
7861
8393
  sourceIds: string[];
7862
- producedBy: "agent" | "rivet" | "browser" | "skill";
8394
+ producedBy: "rivet" | "agent" | "browser" | "skill";
7863
8395
  path?: string | undefined;
7864
8396
  actionId?: string | undefined;
7865
8397
  warnings?: string[] | undefined;
7866
8398
  })[];
8399
+ contextAssets?: {
8400
+ id: string;
8401
+ path: string;
8402
+ originalFilename: string;
8403
+ sizeBytes: number;
8404
+ sha256: string;
8405
+ label?: string | undefined;
8406
+ mimeType?: string | undefined;
8407
+ }[] | undefined;
7867
8408
  bindings?: ({
7868
8409
  kind: "global";
7869
8410
  sourceIds: string[];
@@ -7948,7 +8489,7 @@ export declare const proposeVariantsInput: {
7948
8489
  };
7949
8490
  kind: "design_system";
7950
8491
  sourceIds: string[];
7951
- producedBy: "agent" | "rivet" | "browser" | "skill";
8492
+ producedBy: "rivet" | "agent" | "browser" | "skill";
7952
8493
  path?: string | undefined;
7953
8494
  actionId?: string | undefined;
7954
8495
  warnings?: string[] | undefined;
@@ -7961,11 +8502,20 @@ export declare const proposeVariantsInput: {
7961
8502
  };
7962
8503
  kind: "motion_guidance";
7963
8504
  sourceIds: string[];
7964
- producedBy: "agent" | "rivet" | "browser" | "skill";
8505
+ producedBy: "rivet" | "agent" | "browser" | "skill";
7965
8506
  path?: string | undefined;
7966
8507
  actionId?: string | undefined;
7967
8508
  warnings?: string[] | undefined;
7968
8509
  })[];
8510
+ contextAssets?: {
8511
+ id: string;
8512
+ path: string;
8513
+ originalFilename: string;
8514
+ sizeBytes: number;
8515
+ sha256: string;
8516
+ label?: string | undefined;
8517
+ mimeType?: string | undefined;
8518
+ }[] | undefined;
7969
8519
  bindings?: ({
7970
8520
  kind: "global";
7971
8521
  sourceIds: string[];
@@ -8041,7 +8591,6 @@ export declare const proposeVariantsInput: {
8041
8591
  kind: "fresh";
8042
8592
  workspacePath: string;
8043
8593
  workspaceRoot: string;
8044
- framework?: "next" | "vite" | "remix" | "astro" | undefined;
8045
8594
  executionPlan?: {
8046
8595
  mode: "static_preview" | "vite_app";
8047
8596
  reason: string;
@@ -8055,19 +8604,19 @@ export declare const proposeVariantsInput: {
8055
8604
  userQuestion?: string | undefined;
8056
8605
  } | undefined;
8057
8606
  designContext?: ({
8058
- slug: string;
8059
8607
  kind: "slug";
8608
+ slug: string;
8060
8609
  } | {
8061
8610
  kind: "markdown";
8062
8611
  content: string;
8063
8612
  label: string;
8064
8613
  })[] | undefined;
8614
+ framework?: "next" | "vite" | "remix" | "astro" | undefined;
8065
8615
  assetSourceRoot?: string | undefined;
8066
8616
  }, {
8067
8617
  kind: "fresh";
8068
8618
  workspacePath: string;
8069
8619
  workspaceRoot: string;
8070
- framework?: "next" | "vite" | "remix" | "astro" | undefined;
8071
8620
  executionPlan?: {
8072
8621
  mode: "static_preview" | "vite_app";
8073
8622
  reason: string;
@@ -8081,13 +8630,14 @@ export declare const proposeVariantsInput: {
8081
8630
  userQuestion?: string | undefined;
8082
8631
  } | undefined;
8083
8632
  designContext?: ({
8084
- slug: string;
8085
8633
  kind: "slug";
8634
+ slug: string;
8086
8635
  } | {
8087
8636
  kind: "markdown";
8088
8637
  content: string;
8089
8638
  label: string;
8090
8639
  })[] | undefined;
8640
+ framework?: "next" | "vite" | "remix" | "astro" | undefined;
8091
8641
  assetSourceRoot?: string | undefined;
8092
8642
  }>]>>;
8093
8643
  runLabel: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
@@ -8277,7 +8827,7 @@ export declare const sourcePlanArtifactSchema: z.ZodObject<{
8277
8827
  };
8278
8828
  kind: "design_system";
8279
8829
  sourceIds: string[];
8280
- producedBy: "agent" | "rivet" | "browser" | "skill";
8830
+ producedBy: "rivet" | "agent" | "browser" | "skill";
8281
8831
  path?: string | undefined;
8282
8832
  actionId?: string | undefined;
8283
8833
  warnings?: string[] | undefined;
@@ -8299,7 +8849,7 @@ export declare const sourcePlanArtifactSchema: z.ZodObject<{
8299
8849
  };
8300
8850
  kind: "design_system";
8301
8851
  sourceIds: string[];
8302
- producedBy: "agent" | "rivet" | "browser" | "skill";
8852
+ producedBy: "rivet" | "agent" | "browser" | "skill";
8303
8853
  path?: string | undefined;
8304
8854
  actionId?: string | undefined;
8305
8855
  warnings?: string[] | undefined;
@@ -8334,7 +8884,7 @@ export declare const sourcePlanArtifactSchema: z.ZodObject<{
8334
8884
  };
8335
8885
  kind: "motion_guidance";
8336
8886
  sourceIds: string[];
8337
- producedBy: "agent" | "rivet" | "browser" | "skill";
8887
+ producedBy: "rivet" | "agent" | "browser" | "skill";
8338
8888
  path?: string | undefined;
8339
8889
  actionId?: string | undefined;
8340
8890
  warnings?: string[] | undefined;
@@ -8347,7 +8897,7 @@ export declare const sourcePlanArtifactSchema: z.ZodObject<{
8347
8897
  };
8348
8898
  kind: "motion_guidance";
8349
8899
  sourceIds: string[];
8350
- producedBy: "agent" | "rivet" | "browser" | "skill";
8900
+ producedBy: "rivet" | "agent" | "browser" | "skill";
8351
8901
  path?: string | undefined;
8352
8902
  actionId?: string | undefined;
8353
8903
  warnings?: string[] | undefined;
@@ -8466,7 +9016,7 @@ export declare const sourcePlanArtifactSchema: z.ZodObject<{
8466
9016
  };
8467
9017
  kind: "design_system";
8468
9018
  sourceIds: string[];
8469
- producedBy: "agent" | "rivet" | "browser" | "skill";
9019
+ producedBy: "rivet" | "agent" | "browser" | "skill";
8470
9020
  path?: string | undefined;
8471
9021
  actionId?: string | undefined;
8472
9022
  warnings?: string[] | undefined;
@@ -8479,7 +9029,7 @@ export declare const sourcePlanArtifactSchema: z.ZodObject<{
8479
9029
  };
8480
9030
  kind: "motion_guidance";
8481
9031
  sourceIds: string[];
8482
- producedBy: "agent" | "rivet" | "browser" | "skill";
9032
+ producedBy: "rivet" | "agent" | "browser" | "skill";
8483
9033
  path?: string | undefined;
8484
9034
  actionId?: string | undefined;
8485
9035
  warnings?: string[] | undefined;
@@ -8534,7 +9084,7 @@ export declare const sourcePlanArtifactSchema: z.ZodObject<{
8534
9084
  };
8535
9085
  kind: "design_system";
8536
9086
  sourceIds: string[];
8537
- producedBy: "agent" | "rivet" | "browser" | "skill";
9087
+ producedBy: "rivet" | "agent" | "browser" | "skill";
8538
9088
  path?: string | undefined;
8539
9089
  actionId?: string | undefined;
8540
9090
  warnings?: string[] | undefined;
@@ -8547,7 +9097,7 @@ export declare const sourcePlanArtifactSchema: z.ZodObject<{
8547
9097
  };
8548
9098
  kind: "motion_guidance";
8549
9099
  sourceIds: string[];
8550
- producedBy: "agent" | "rivet" | "browser" | "skill";
9100
+ producedBy: "rivet" | "agent" | "browser" | "skill";
8551
9101
  path?: string | undefined;
8552
9102
  actionId?: string | undefined;
8553
9103
  warnings?: string[] | undefined;
@@ -8673,7 +9223,7 @@ export declare const reportSourcePlanInput: {
8673
9223
  };
8674
9224
  kind: "design_system";
8675
9225
  sourceIds: string[];
8676
- producedBy: "agent" | "rivet" | "browser" | "skill";
9226
+ producedBy: "rivet" | "agent" | "browser" | "skill";
8677
9227
  path?: string | undefined;
8678
9228
  actionId?: string | undefined;
8679
9229
  warnings?: string[] | undefined;
@@ -8695,7 +9245,7 @@ export declare const reportSourcePlanInput: {
8695
9245
  };
8696
9246
  kind: "design_system";
8697
9247
  sourceIds: string[];
8698
- producedBy: "agent" | "rivet" | "browser" | "skill";
9248
+ producedBy: "rivet" | "agent" | "browser" | "skill";
8699
9249
  path?: string | undefined;
8700
9250
  actionId?: string | undefined;
8701
9251
  warnings?: string[] | undefined;
@@ -8730,7 +9280,7 @@ export declare const reportSourcePlanInput: {
8730
9280
  };
8731
9281
  kind: "motion_guidance";
8732
9282
  sourceIds: string[];
8733
- producedBy: "agent" | "rivet" | "browser" | "skill";
9283
+ producedBy: "rivet" | "agent" | "browser" | "skill";
8734
9284
  path?: string | undefined;
8735
9285
  actionId?: string | undefined;
8736
9286
  warnings?: string[] | undefined;
@@ -8743,7 +9293,7 @@ export declare const reportSourcePlanInput: {
8743
9293
  };
8744
9294
  kind: "motion_guidance";
8745
9295
  sourceIds: string[];
8746
- producedBy: "agent" | "rivet" | "browser" | "skill";
9296
+ producedBy: "rivet" | "agent" | "browser" | "skill";
8747
9297
  path?: string | undefined;
8748
9298
  actionId?: string | undefined;
8749
9299
  warnings?: string[] | undefined;
@@ -8862,7 +9412,7 @@ export declare const reportSourcePlanInput: {
8862
9412
  };
8863
9413
  kind: "design_system";
8864
9414
  sourceIds: string[];
8865
- producedBy: "agent" | "rivet" | "browser" | "skill";
9415
+ producedBy: "rivet" | "agent" | "browser" | "skill";
8866
9416
  path?: string | undefined;
8867
9417
  actionId?: string | undefined;
8868
9418
  warnings?: string[] | undefined;
@@ -8875,7 +9425,7 @@ export declare const reportSourcePlanInput: {
8875
9425
  };
8876
9426
  kind: "motion_guidance";
8877
9427
  sourceIds: string[];
8878
- producedBy: "agent" | "rivet" | "browser" | "skill";
9428
+ producedBy: "rivet" | "agent" | "browser" | "skill";
8879
9429
  path?: string | undefined;
8880
9430
  actionId?: string | undefined;
8881
9431
  warnings?: string[] | undefined;
@@ -8930,7 +9480,7 @@ export declare const reportSourcePlanInput: {
8930
9480
  };
8931
9481
  kind: "design_system";
8932
9482
  sourceIds: string[];
8933
- producedBy: "agent" | "rivet" | "browser" | "skill";
9483
+ producedBy: "rivet" | "agent" | "browser" | "skill";
8934
9484
  path?: string | undefined;
8935
9485
  actionId?: string | undefined;
8936
9486
  warnings?: string[] | undefined;
@@ -8943,7 +9493,7 @@ export declare const reportSourcePlanInput: {
8943
9493
  };
8944
9494
  kind: "motion_guidance";
8945
9495
  sourceIds: string[];
8946
- producedBy: "agent" | "rivet" | "browser" | "skill";
9496
+ producedBy: "rivet" | "agent" | "browser" | "skill";
8947
9497
  path?: string | undefined;
8948
9498
  actionId?: string | undefined;
8949
9499
  warnings?: string[] | undefined;
@@ -9247,7 +9797,7 @@ export declare const reportWorkItemInput: {
9247
9797
  };
9248
9798
  kind: "design_system";
9249
9799
  sourceIds: string[];
9250
- producedBy: "agent" | "rivet" | "browser" | "skill";
9800
+ producedBy: "rivet" | "agent" | "browser" | "skill";
9251
9801
  path?: string | undefined;
9252
9802
  actionId?: string | undefined;
9253
9803
  warnings?: string[] | undefined;
@@ -9269,7 +9819,7 @@ export declare const reportWorkItemInput: {
9269
9819
  };
9270
9820
  kind: "design_system";
9271
9821
  sourceIds: string[];
9272
- producedBy: "agent" | "rivet" | "browser" | "skill";
9822
+ producedBy: "rivet" | "agent" | "browser" | "skill";
9273
9823
  path?: string | undefined;
9274
9824
  actionId?: string | undefined;
9275
9825
  warnings?: string[] | undefined;
@@ -9304,7 +9854,7 @@ export declare const reportWorkItemInput: {
9304
9854
  };
9305
9855
  kind: "motion_guidance";
9306
9856
  sourceIds: string[];
9307
- producedBy: "agent" | "rivet" | "browser" | "skill";
9857
+ producedBy: "rivet" | "agent" | "browser" | "skill";
9308
9858
  path?: string | undefined;
9309
9859
  actionId?: string | undefined;
9310
9860
  warnings?: string[] | undefined;
@@ -9317,7 +9867,7 @@ export declare const reportWorkItemInput: {
9317
9867
  };
9318
9868
  kind: "motion_guidance";
9319
9869
  sourceIds: string[];
9320
- producedBy: "agent" | "rivet" | "browser" | "skill";
9870
+ producedBy: "rivet" | "agent" | "browser" | "skill";
9321
9871
  path?: string | undefined;
9322
9872
  actionId?: string | undefined;
9323
9873
  warnings?: string[] | undefined;
@@ -9436,7 +9986,7 @@ export declare const reportWorkItemInput: {
9436
9986
  };
9437
9987
  kind: "design_system";
9438
9988
  sourceIds: string[];
9439
- producedBy: "agent" | "rivet" | "browser" | "skill";
9989
+ producedBy: "rivet" | "agent" | "browser" | "skill";
9440
9990
  path?: string | undefined;
9441
9991
  actionId?: string | undefined;
9442
9992
  warnings?: string[] | undefined;
@@ -9449,7 +9999,7 @@ export declare const reportWorkItemInput: {
9449
9999
  };
9450
10000
  kind: "motion_guidance";
9451
10001
  sourceIds: string[];
9452
- producedBy: "agent" | "rivet" | "browser" | "skill";
10002
+ producedBy: "rivet" | "agent" | "browser" | "skill";
9453
10003
  path?: string | undefined;
9454
10004
  actionId?: string | undefined;
9455
10005
  warnings?: string[] | undefined;
@@ -9504,7 +10054,7 @@ export declare const reportWorkItemInput: {
9504
10054
  };
9505
10055
  kind: "design_system";
9506
10056
  sourceIds: string[];
9507
- producedBy: "agent" | "rivet" | "browser" | "skill";
10057
+ producedBy: "rivet" | "agent" | "browser" | "skill";
9508
10058
  path?: string | undefined;
9509
10059
  actionId?: string | undefined;
9510
10060
  warnings?: string[] | undefined;
@@ -9517,7 +10067,7 @@ export declare const reportWorkItemInput: {
9517
10067
  };
9518
10068
  kind: "motion_guidance";
9519
10069
  sourceIds: string[];
9520
- producedBy: "agent" | "rivet" | "browser" | "skill";
10070
+ producedBy: "rivet" | "agent" | "browser" | "skill";
9521
10071
  path?: string | undefined;
9522
10072
  actionId?: string | undefined;
9523
10073
  warnings?: string[] | undefined;
@@ -9632,10 +10182,10 @@ export declare const startVariantsInput: {
9632
10182
  type: z.ZodEnum<["element", "file", "route"]>;
9633
10183
  ref: z.ZodString;
9634
10184
  }, "strip", z.ZodTypeAny, {
9635
- type: "element" | "file" | "route";
10185
+ type: "file" | "element" | "route";
9636
10186
  ref: string;
9637
10187
  }, {
9638
- type: "element" | "file" | "route";
10188
+ type: "file" | "element" | "route";
9639
10189
  ref: string;
9640
10190
  }>>;
9641
10191
  runLabel: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
@@ -9685,11 +10235,11 @@ export declare const startVariantsInput: {
9685
10235
  kind: z.ZodLiteral<"slug">;
9686
10236
  slug: z.ZodString;
9687
10237
  }, "strip", z.ZodTypeAny, {
9688
- slug: string;
9689
10238
  kind: "slug";
9690
- }, {
9691
10239
  slug: string;
10240
+ }, {
9692
10241
  kind: "slug";
10242
+ slug: string;
9693
10243
  }>, z.ZodObject<{
9694
10244
  kind: z.ZodLiteral<"markdown">;
9695
10245
  content: z.ZodString;