rivet-design 0.26.2 → 0.27.1

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 (94) hide show
  1. package/dist/agent-variants/DirectionRefReservations.d.ts +11 -0
  2. package/dist/agent-variants/DirectionRefReservations.js +47 -0
  3. package/dist/agent-variants/PreviewRuntime.js +20 -7
  4. package/dist/agent-variants/SessionStore.d.ts +10 -1
  5. package/dist/agent-variants/SessionStore.js +25 -2
  6. package/dist/agent-variants/WorkItemRequestTimes.d.ts +6 -0
  7. package/dist/agent-variants/WorkItemRequestTimes.js +21 -0
  8. package/dist/agent-variants/WorktreeOrchestrator.d.ts +2 -1
  9. package/dist/agent-variants/WorktreeOrchestrator.js +92 -78
  10. package/dist/agent-variants/contracts.d.ts +120 -116
  11. package/dist/agent-variants/existingStaticEntry.d.ts +34 -0
  12. package/dist/agent-variants/existingStaticEntry.js +136 -0
  13. package/dist/agent-variants/staticPreviewFiles.js +1 -1
  14. package/dist/agent-variants/variant-project-runtime.d.ts +2 -1
  15. package/dist/agent-variants/variantsTelemetry.d.ts +8 -0
  16. package/dist/agent-variants/variantsTelemetry.js +5 -0
  17. package/dist/agent-variants/workItemInput.d.ts +168 -146
  18. package/dist/agent-variants/workItemInput.js +12 -1
  19. package/dist/cli/commands/directionTarget.d.ts +23 -0
  20. package/dist/cli/commands/directionTarget.js +87 -0
  21. package/dist/cli/commands/mcpServe.js +1 -0
  22. package/dist/cli/commands/open.js +28 -4
  23. package/dist/cli/commands/serve.js +2 -0
  24. package/dist/cli/commands/variants.js +36 -43
  25. package/dist/cli/envelope.d.ts +1 -1
  26. package/dist/cli/envelope.js +1 -0
  27. package/dist/cli/handoff.d.ts +1 -0
  28. package/dist/cli/handoff.js +20 -4
  29. package/dist/cli/projectRuntimeUpgrade.d.ts +11 -0
  30. package/dist/cli/projectRuntimeUpgrade.js +43 -11
  31. package/dist/cli/router.js +1 -0
  32. package/dist/cli/telemetry.d.ts +10 -0
  33. package/dist/cli/telemetry.js +37 -1
  34. package/dist/config/pluginMetrics.js +38 -0
  35. package/dist/index.d.ts +19 -0
  36. package/dist/index.js +14 -5
  37. package/dist/mcp/explorationSchema.js +1 -1
  38. package/dist/mcp/getExploration.js +11 -5
  39. package/dist/proxy-middleware/proxy-config.js +7 -0
  40. package/dist/routes/agentVariants.js +4 -0
  41. package/dist/routes/cli.js +10 -1
  42. package/dist/routes/library/middleware.js +11 -5
  43. package/dist/server.js +20 -6
  44. package/dist/services/DependencyPreparationService.js +57 -19
  45. package/dist/services/GuidanceVerifierRunner.js +4 -4
  46. package/dist/services/ProjectLibrary.d.ts +4 -1
  47. package/dist/services/ProjectLibrary.js +14 -9
  48. package/dist/services/ProjectPackageManager.d.ts +5 -0
  49. package/dist/services/ProjectPackageManager.js +33 -11
  50. package/dist/services/ProjectRuntimeService.d.ts +8 -0
  51. package/dist/services/ProjectRuntimeService.js +15 -2
  52. package/dist/services/TelemetryService.d.ts +13 -2
  53. package/dist/services/TelemetryService.js +29 -0
  54. package/dist/services/VariantHistoryService.d.ts +8 -0
  55. package/dist/services/VariantHistoryService.js +40 -0
  56. package/dist/services/WorktreeManager.d.ts +1 -0
  57. package/dist/services/WorktreeManager.js +17 -0
  58. package/dist/services/createAgentVariantsOrchestrator.js +9 -2
  59. package/dist/services/directionRefs.d.ts +21 -0
  60. package/dist/services/directionRefs.js +148 -0
  61. package/dist/services/profiles/DesignProfiles.js +16 -8
  62. package/dist/services/projectDirections.d.ts +22 -0
  63. package/dist/services/projectDirections.js +38 -0
  64. package/dist/types/direction-ref.d.ts +36 -0
  65. package/dist/types/direction-ref.js +3 -0
  66. package/dist/types/guidance-verifier.d.ts +7 -5
  67. package/dist/types/guidance-verifier.js +14 -1
  68. package/dist/types/variant-history.d.ts +3 -1
  69. package/dist/utils/devServerError.d.ts +5 -0
  70. package/dist/utils/devServerError.js +4 -0
  71. package/dist/utils/failureReason.d.ts +16 -0
  72. package/dist/utils/failureReason.js +106 -0
  73. package/dist/utils/hostedLogPrivacy.d.ts +1 -0
  74. package/dist/utils/hostedLogPrivacy.js +10 -4
  75. package/dist/utils/skills/claude-skill.d.ts +1 -1
  76. package/dist/utils/skills/claude-skill.js +1 -1
  77. package/dist/utils/skills/cli-guidance.d.ts +1 -1
  78. package/dist/utils/skills/cli-guidance.js +7 -6
  79. package/dist/utils/skills/cursor-rules.d.ts +1 -1
  80. package/dist/utils/skills/cursor-rules.js +1 -1
  81. package/dist/utils/subprocessEnvironment.d.ts +1 -1
  82. package/dist/utils/subprocessEnvironment.js +0 -1
  83. package/package.json +4 -4
  84. package/src/ui/dist/assets/LibraryEntry-BZ5EdFgA.js +37 -0
  85. package/src/ui/dist/assets/main-MepMmTwb.css +1 -0
  86. package/src/ui/dist/assets/main-RriU35pI.js +497 -0
  87. package/src/ui/dist/index.html +2 -2
  88. package/dist/services/StaticPreviewServer.d.ts +0 -8
  89. package/dist/services/StaticPreviewServer.js +0 -207
  90. package/src/ui/dist/assets/LibraryEntry-92R_T-Xa.js +0 -37
  91. package/src/ui/dist/assets/main-D0UmAaUe.css +0 -1
  92. package/src/ui/dist/assets/main-DgEfJvYu.js +0 -497
  93. package/src/ui/dist/fonts/Goldman-Bold.woff2 +0 -0
  94. package/src/ui/dist/fonts/Goldman-Regular.woff2 +0 -0
@@ -1,5 +1,6 @@
1
1
  import type { GuidanceDocument } from '../types/guidance';
2
2
  import type { WorkerSelection } from '../types/change-request-types';
3
+ import type { DirectionRef } from '../types/direction-ref';
3
4
  import { type VariantReference } from '../types/variant-reference';
4
5
  import { z } from 'zod/v3';
5
6
  import { ERROR_CODES, type ErrorCode } from './errors';
@@ -106,14 +107,14 @@ export declare const rawUserContextInputSchema: z.ZodDiscriminatedUnion<"transpo
106
107
  }, "strip", z.ZodTypeAny, {
107
108
  path: string;
108
109
  transport: "file_path";
109
- label?: string | undefined;
110
110
  mimeType?: string | undefined;
111
+ label?: string | undefined;
111
112
  userIntent?: string | undefined;
112
113
  }, {
113
114
  path: string;
114
115
  transport: "file_path";
115
- label?: string | undefined;
116
116
  mimeType?: string | undefined;
117
+ label?: string | undefined;
117
118
  userIntent?: string | undefined;
118
119
  }>, z.ZodObject<{
119
120
  transport: z.ZodLiteral<"upload">;
@@ -170,7 +171,6 @@ export declare const rawUserContextInputSchema: z.ZodDiscriminatedUnion<"transpo
170
171
  }, "strip", z.ZodTypeAny, {
171
172
  dataUrl: string;
172
173
  transport: "upload";
173
- label?: string | undefined;
174
174
  references?: {
175
175
  title: string;
176
176
  id: string;
@@ -181,12 +181,12 @@ export declare const rawUserContextInputSchema: z.ZodDiscriminatedUnion<"transpo
181
181
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
182
182
  } | undefined;
183
183
  }[] | undefined;
184
+ label?: string | undefined;
184
185
  userIntent?: string | undefined;
185
186
  filename?: string | undefined;
186
187
  }, {
187
188
  dataUrl: string;
188
189
  transport: "upload";
189
- label?: string | undefined;
190
190
  references?: {
191
191
  title: string;
192
192
  id: string;
@@ -194,6 +194,7 @@ export declare const rawUserContextInputSchema: z.ZodDiscriminatedUnion<"transpo
194
194
  url?: string | undefined;
195
195
  image?: unknown;
196
196
  }[] | undefined;
197
+ label?: string | undefined;
197
198
  userIntent?: string | undefined;
198
199
  filename?: string | undefined;
199
200
  }>, z.ZodObject<{
@@ -265,7 +266,6 @@ export declare const rawUserContextInputSchema: z.ZodDiscriminatedUnion<"transpo
265
266
  }, "strip", z.ZodTypeAny, {
266
267
  content: string;
267
268
  transport: "text";
268
- label?: string | undefined;
269
269
  references?: {
270
270
  title: string;
271
271
  id: string;
@@ -276,11 +276,11 @@ export declare const rawUserContextInputSchema: z.ZodDiscriminatedUnion<"transpo
276
276
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
277
277
  } | undefined;
278
278
  }[] | undefined;
279
+ label?: string | undefined;
279
280
  userIntent?: string | undefined;
280
281
  }, {
281
282
  content: string;
282
283
  transport: "text";
283
- label?: string | undefined;
284
284
  references?: {
285
285
  title: string;
286
286
  id: string;
@@ -288,6 +288,7 @@ export declare const rawUserContextInputSchema: z.ZodDiscriminatedUnion<"transpo
288
288
  url?: string | undefined;
289
289
  image?: unknown;
290
290
  }[] | undefined;
291
+ label?: string | undefined;
291
292
  userIntent?: string | undefined;
292
293
  }>]>;
293
294
  export declare const rawUserContextSourceSchema: z.ZodDiscriminatedUnion<"transport", [z.ZodObject<{
@@ -378,7 +379,6 @@ export declare const rawUserContextSourceSchema: z.ZodDiscriminatedUnion<"transp
378
379
  path: string;
379
380
  id: string;
380
381
  transport: "file";
381
- label?: string | undefined;
382
382
  mimeType?: string | undefined;
383
383
  references?: {
384
384
  title: string;
@@ -390,13 +390,13 @@ export declare const rawUserContextSourceSchema: z.ZodDiscriminatedUnion<"transp
390
390
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
391
391
  } | undefined;
392
392
  }[] | undefined;
393
+ label?: string | undefined;
393
394
  userIntent?: string | undefined;
394
395
  originalFilename?: string | undefined;
395
396
  }, {
396
397
  path: string;
397
398
  id: string;
398
399
  transport: "file";
399
- label?: string | undefined;
400
400
  mimeType?: string | undefined;
401
401
  references?: {
402
402
  title: string;
@@ -405,6 +405,7 @@ export declare const rawUserContextSourceSchema: z.ZodDiscriminatedUnion<"transp
405
405
  url?: string | undefined;
406
406
  image?: unknown;
407
407
  }[] | undefined;
408
+ label?: string | undefined;
408
409
  userIntent?: string | undefined;
409
410
  originalFilename?: string | undefined;
410
411
  }>, z.ZodObject<{
@@ -481,7 +482,6 @@ export declare const rawUserContextSourceSchema: z.ZodDiscriminatedUnion<"transp
481
482
  path: string;
482
483
  id: string;
483
484
  transport: "text";
484
- label?: string | undefined;
485
485
  references?: {
486
486
  title: string;
487
487
  id: string;
@@ -492,12 +492,12 @@ export declare const rawUserContextSourceSchema: z.ZodDiscriminatedUnion<"transp
492
492
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
493
493
  } | undefined;
494
494
  }[] | undefined;
495
+ label?: string | undefined;
495
496
  userIntent?: string | undefined;
496
497
  }, {
497
498
  path: string;
498
499
  id: string;
499
500
  transport: "text";
500
- label?: string | undefined;
501
501
  references?: {
502
502
  title: string;
503
503
  id: string;
@@ -505,6 +505,7 @@ export declare const rawUserContextSourceSchema: z.ZodDiscriminatedUnion<"transp
505
505
  url?: string | undefined;
506
506
  image?: unknown;
507
507
  }[] | undefined;
508
+ label?: string | undefined;
508
509
  userIntent?: string | undefined;
509
510
  }>]>;
510
511
  export declare const contextAssetInputSchema: z.ZodObject<{
@@ -531,16 +532,16 @@ export declare const stagedContextAssetSchema: z.ZodObject<{
531
532
  id: string;
532
533
  originalFilename: string;
533
534
  sizeBytes: number;
534
- label?: string | undefined;
535
535
  mimeType?: string | undefined;
536
+ label?: string | undefined;
536
537
  }, {
537
538
  path: string;
538
539
  sha256: string;
539
540
  id: string;
540
541
  originalFilename: string;
541
542
  sizeBytes: number;
542
- label?: string | undefined;
543
543
  mimeType?: string | undefined;
544
+ label?: string | undefined;
544
545
  }>;
545
546
  export declare const storedUserContextSourceRecordSchema: z.ZodObject<{
546
547
  source: z.ZodDiscriminatedUnion<"transport", [z.ZodObject<{
@@ -631,7 +632,6 @@ export declare const storedUserContextSourceRecordSchema: z.ZodObject<{
631
632
  path: string;
632
633
  id: string;
633
634
  transport: "file";
634
- label?: string | undefined;
635
635
  mimeType?: string | undefined;
636
636
  references?: {
637
637
  title: string;
@@ -643,13 +643,13 @@ export declare const storedUserContextSourceRecordSchema: z.ZodObject<{
643
643
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
644
644
  } | undefined;
645
645
  }[] | undefined;
646
+ label?: string | undefined;
646
647
  userIntent?: string | undefined;
647
648
  originalFilename?: string | undefined;
648
649
  }, {
649
650
  path: string;
650
651
  id: string;
651
652
  transport: "file";
652
- label?: string | undefined;
653
653
  mimeType?: string | undefined;
654
654
  references?: {
655
655
  title: string;
@@ -658,6 +658,7 @@ export declare const storedUserContextSourceRecordSchema: z.ZodObject<{
658
658
  url?: string | undefined;
659
659
  image?: unknown;
660
660
  }[] | undefined;
661
+ label?: string | undefined;
661
662
  userIntent?: string | undefined;
662
663
  originalFilename?: string | undefined;
663
664
  }>, z.ZodObject<{
@@ -734,7 +735,6 @@ export declare const storedUserContextSourceRecordSchema: z.ZodObject<{
734
735
  path: string;
735
736
  id: string;
736
737
  transport: "text";
737
- label?: string | undefined;
738
738
  references?: {
739
739
  title: string;
740
740
  id: string;
@@ -745,12 +745,12 @@ export declare const storedUserContextSourceRecordSchema: z.ZodObject<{
745
745
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
746
746
  } | undefined;
747
747
  }[] | undefined;
748
+ label?: string | undefined;
748
749
  userIntent?: string | undefined;
749
750
  }, {
750
751
  path: string;
751
752
  id: string;
752
753
  transport: "text";
753
- label?: string | undefined;
754
754
  references?: {
755
755
  title: string;
756
756
  id: string;
@@ -758,6 +758,7 @@ export declare const storedUserContextSourceRecordSchema: z.ZodObject<{
758
758
  url?: string | undefined;
759
759
  image?: unknown;
760
760
  }[] | undefined;
761
+ label?: string | undefined;
761
762
  userIntent?: string | undefined;
762
763
  }>]>;
763
764
  storage: z.ZodOptional<z.ZodObject<{
@@ -788,7 +789,6 @@ export declare const storedUserContextSourceRecordSchema: z.ZodObject<{
788
789
  path: string;
789
790
  id: string;
790
791
  transport: "file";
791
- label?: string | undefined;
792
792
  mimeType?: string | undefined;
793
793
  references?: {
794
794
  title: string;
@@ -800,6 +800,7 @@ export declare const storedUserContextSourceRecordSchema: z.ZodObject<{
800
800
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
801
801
  } | undefined;
802
802
  }[] | undefined;
803
+ label?: string | undefined;
803
804
  userIntent?: string | undefined;
804
805
  originalFilename?: string | undefined;
805
806
  } | {
@@ -812,7 +813,6 @@ export declare const storedUserContextSourceRecordSchema: z.ZodObject<{
812
813
  path: string;
813
814
  id: string;
814
815
  transport: "text";
815
- label?: string | undefined;
816
816
  references?: {
817
817
  title: string;
818
818
  id: string;
@@ -823,6 +823,7 @@ export declare const storedUserContextSourceRecordSchema: z.ZodObject<{
823
823
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
824
824
  } | undefined;
825
825
  }[] | undefined;
826
+ label?: string | undefined;
826
827
  userIntent?: string | undefined;
827
828
  };
828
829
  storage?: {
@@ -845,7 +846,6 @@ export declare const storedUserContextSourceRecordSchema: z.ZodObject<{
845
846
  path: string;
846
847
  id: string;
847
848
  transport: "file";
848
- label?: string | undefined;
849
849
  mimeType?: string | undefined;
850
850
  references?: {
851
851
  title: string;
@@ -854,6 +854,7 @@ export declare const storedUserContextSourceRecordSchema: z.ZodObject<{
854
854
  url?: string | undefined;
855
855
  image?: unknown;
856
856
  }[] | undefined;
857
+ label?: string | undefined;
857
858
  userIntent?: string | undefined;
858
859
  originalFilename?: string | undefined;
859
860
  } | {
@@ -866,7 +867,6 @@ export declare const storedUserContextSourceRecordSchema: z.ZodObject<{
866
867
  path: string;
867
868
  id: string;
868
869
  transport: "text";
869
- label?: string | undefined;
870
870
  references?: {
871
871
  title: string;
872
872
  id: string;
@@ -874,6 +874,7 @@ export declare const storedUserContextSourceRecordSchema: z.ZodObject<{
874
874
  url?: string | undefined;
875
875
  image?: unknown;
876
876
  }[] | undefined;
877
+ label?: string | undefined;
877
878
  userIntent?: string | undefined;
878
879
  };
879
880
  storage?: {
@@ -1239,7 +1240,6 @@ export declare const variantContextBundleSchema: z.ZodObject<{
1239
1240
  path: string;
1240
1241
  id: string;
1241
1242
  transport: "file";
1242
- label?: string | undefined;
1243
1243
  mimeType?: string | undefined;
1244
1244
  references?: {
1245
1245
  title: string;
@@ -1251,13 +1251,13 @@ export declare const variantContextBundleSchema: z.ZodObject<{
1251
1251
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
1252
1252
  } | undefined;
1253
1253
  }[] | undefined;
1254
+ label?: string | undefined;
1254
1255
  userIntent?: string | undefined;
1255
1256
  originalFilename?: string | undefined;
1256
1257
  }, {
1257
1258
  path: string;
1258
1259
  id: string;
1259
1260
  transport: "file";
1260
- label?: string | undefined;
1261
1261
  mimeType?: string | undefined;
1262
1262
  references?: {
1263
1263
  title: string;
@@ -1266,6 +1266,7 @@ export declare const variantContextBundleSchema: z.ZodObject<{
1266
1266
  url?: string | undefined;
1267
1267
  image?: unknown;
1268
1268
  }[] | undefined;
1269
+ label?: string | undefined;
1269
1270
  userIntent?: string | undefined;
1270
1271
  originalFilename?: string | undefined;
1271
1272
  }>, z.ZodObject<{
@@ -1342,7 +1343,6 @@ export declare const variantContextBundleSchema: z.ZodObject<{
1342
1343
  path: string;
1343
1344
  id: string;
1344
1345
  transport: "text";
1345
- label?: string | undefined;
1346
1346
  references?: {
1347
1347
  title: string;
1348
1348
  id: string;
@@ -1353,12 +1353,12 @@ export declare const variantContextBundleSchema: z.ZodObject<{
1353
1353
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
1354
1354
  } | undefined;
1355
1355
  }[] | undefined;
1356
+ label?: string | undefined;
1356
1357
  userIntent?: string | undefined;
1357
1358
  }, {
1358
1359
  path: string;
1359
1360
  id: string;
1360
1361
  transport: "text";
1361
- label?: string | undefined;
1362
1362
  references?: {
1363
1363
  title: string;
1364
1364
  id: string;
@@ -1366,6 +1366,7 @@ export declare const variantContextBundleSchema: z.ZodObject<{
1366
1366
  url?: string | undefined;
1367
1367
  image?: unknown;
1368
1368
  }[] | undefined;
1369
+ label?: string | undefined;
1369
1370
  userIntent?: string | undefined;
1370
1371
  }>]>, "many">;
1371
1372
  rivetActions: z.ZodArray<z.ZodObject<{
@@ -1551,16 +1552,16 @@ export declare const variantContextBundleSchema: z.ZodObject<{
1551
1552
  id: string;
1552
1553
  originalFilename: string;
1553
1554
  sizeBytes: number;
1554
- label?: string | undefined;
1555
1555
  mimeType?: string | undefined;
1556
+ label?: string | undefined;
1556
1557
  }, {
1557
1558
  path: string;
1558
1559
  sha256: string;
1559
1560
  id: string;
1560
1561
  originalFilename: string;
1561
1562
  sizeBytes: number;
1562
- label?: string | undefined;
1563
1563
  mimeType?: string | undefined;
1564
+ label?: string | undefined;
1564
1565
  }>, "many">>;
1565
1566
  bindings: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
1566
1567
  kind: z.ZodLiteral<"global">;
@@ -1656,7 +1657,6 @@ export declare const variantContextBundleSchema: z.ZodObject<{
1656
1657
  path: string;
1657
1658
  id: string;
1658
1659
  transport: "file";
1659
- label?: string | undefined;
1660
1660
  mimeType?: string | undefined;
1661
1661
  references?: {
1662
1662
  title: string;
@@ -1668,6 +1668,7 @@ export declare const variantContextBundleSchema: z.ZodObject<{
1668
1668
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
1669
1669
  } | undefined;
1670
1670
  }[] | undefined;
1671
+ label?: string | undefined;
1671
1672
  userIntent?: string | undefined;
1672
1673
  originalFilename?: string | undefined;
1673
1674
  } | {
@@ -1680,7 +1681,6 @@ export declare const variantContextBundleSchema: z.ZodObject<{
1680
1681
  path: string;
1681
1682
  id: string;
1682
1683
  transport: "text";
1683
- label?: string | undefined;
1684
1684
  references?: {
1685
1685
  title: string;
1686
1686
  id: string;
@@ -1691,6 +1691,7 @@ export declare const variantContextBundleSchema: z.ZodObject<{
1691
1691
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
1692
1692
  } | undefined;
1693
1693
  }[] | undefined;
1694
+ label?: string | undefined;
1694
1695
  userIntent?: string | undefined;
1695
1696
  })[];
1696
1697
  rivetActions: {
@@ -1742,8 +1743,8 @@ export declare const variantContextBundleSchema: z.ZodObject<{
1742
1743
  id: string;
1743
1744
  originalFilename: string;
1744
1745
  sizeBytes: number;
1745
- label?: string | undefined;
1746
1746
  mimeType?: string | undefined;
1747
+ label?: string | undefined;
1747
1748
  }[] | undefined;
1748
1749
  bindings?: ({
1749
1750
  kind: "global";
@@ -1787,7 +1788,6 @@ export declare const variantContextBundleSchema: z.ZodObject<{
1787
1788
  path: string;
1788
1789
  id: string;
1789
1790
  transport: "file";
1790
- label?: string | undefined;
1791
1791
  mimeType?: string | undefined;
1792
1792
  references?: {
1793
1793
  title: string;
@@ -1796,6 +1796,7 @@ export declare const variantContextBundleSchema: z.ZodObject<{
1796
1796
  url?: string | undefined;
1797
1797
  image?: unknown;
1798
1798
  }[] | undefined;
1799
+ label?: string | undefined;
1799
1800
  userIntent?: string | undefined;
1800
1801
  originalFilename?: string | undefined;
1801
1802
  } | {
@@ -1808,7 +1809,6 @@ export declare const variantContextBundleSchema: z.ZodObject<{
1808
1809
  path: string;
1809
1810
  id: string;
1810
1811
  transport: "text";
1811
- label?: string | undefined;
1812
1812
  references?: {
1813
1813
  title: string;
1814
1814
  id: string;
@@ -1816,6 +1816,7 @@ export declare const variantContextBundleSchema: z.ZodObject<{
1816
1816
  url?: string | undefined;
1817
1817
  image?: unknown;
1818
1818
  }[] | undefined;
1819
+ label?: string | undefined;
1819
1820
  userIntent?: string | undefined;
1820
1821
  })[];
1821
1822
  rivetActions: {
@@ -1867,8 +1868,8 @@ export declare const variantContextBundleSchema: z.ZodObject<{
1867
1868
  id: string;
1868
1869
  originalFilename: string;
1869
1870
  sizeBytes: number;
1870
- label?: string | undefined;
1871
1871
  mimeType?: string | undefined;
1872
+ label?: string | undefined;
1872
1873
  }[] | undefined;
1873
1874
  bindings?: ({
1874
1875
  kind: "global";
@@ -2012,7 +2013,6 @@ export declare const projectContextExisting: z.ZodObject<{
2012
2013
  path: string;
2013
2014
  id: string;
2014
2015
  transport: "file";
2015
- label?: string | undefined;
2016
2016
  mimeType?: string | undefined;
2017
2017
  references?: {
2018
2018
  title: string;
@@ -2024,13 +2024,13 @@ export declare const projectContextExisting: z.ZodObject<{
2024
2024
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
2025
2025
  } | undefined;
2026
2026
  }[] | undefined;
2027
+ label?: string | undefined;
2027
2028
  userIntent?: string | undefined;
2028
2029
  originalFilename?: string | undefined;
2029
2030
  }, {
2030
2031
  path: string;
2031
2032
  id: string;
2032
2033
  transport: "file";
2033
- label?: string | undefined;
2034
2034
  mimeType?: string | undefined;
2035
2035
  references?: {
2036
2036
  title: string;
@@ -2039,6 +2039,7 @@ export declare const projectContextExisting: z.ZodObject<{
2039
2039
  url?: string | undefined;
2040
2040
  image?: unknown;
2041
2041
  }[] | undefined;
2042
+ label?: string | undefined;
2042
2043
  userIntent?: string | undefined;
2043
2044
  originalFilename?: string | undefined;
2044
2045
  }>, z.ZodObject<{
@@ -2115,7 +2116,6 @@ export declare const projectContextExisting: z.ZodObject<{
2115
2116
  path: string;
2116
2117
  id: string;
2117
2118
  transport: "text";
2118
- label?: string | undefined;
2119
2119
  references?: {
2120
2120
  title: string;
2121
2121
  id: string;
@@ -2126,12 +2126,12 @@ export declare const projectContextExisting: z.ZodObject<{
2126
2126
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
2127
2127
  } | undefined;
2128
2128
  }[] | undefined;
2129
+ label?: string | undefined;
2129
2130
  userIntent?: string | undefined;
2130
2131
  }, {
2131
2132
  path: string;
2132
2133
  id: string;
2133
2134
  transport: "text";
2134
- label?: string | undefined;
2135
2135
  references?: {
2136
2136
  title: string;
2137
2137
  id: string;
@@ -2139,6 +2139,7 @@ export declare const projectContextExisting: z.ZodObject<{
2139
2139
  url?: string | undefined;
2140
2140
  image?: unknown;
2141
2141
  }[] | undefined;
2142
+ label?: string | undefined;
2142
2143
  userIntent?: string | undefined;
2143
2144
  }>]>, "many">;
2144
2145
  rivetActions: z.ZodArray<z.ZodObject<{
@@ -2324,16 +2325,16 @@ export declare const projectContextExisting: z.ZodObject<{
2324
2325
  id: string;
2325
2326
  originalFilename: string;
2326
2327
  sizeBytes: number;
2327
- label?: string | undefined;
2328
2328
  mimeType?: string | undefined;
2329
+ label?: string | undefined;
2329
2330
  }, {
2330
2331
  path: string;
2331
2332
  sha256: string;
2332
2333
  id: string;
2333
2334
  originalFilename: string;
2334
2335
  sizeBytes: number;
2335
- label?: string | undefined;
2336
2336
  mimeType?: string | undefined;
2337
+ label?: string | undefined;
2337
2338
  }>, "many">>;
2338
2339
  bindings: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
2339
2340
  kind: z.ZodLiteral<"global">;
@@ -2429,7 +2430,6 @@ export declare const projectContextExisting: z.ZodObject<{
2429
2430
  path: string;
2430
2431
  id: string;
2431
2432
  transport: "file";
2432
- label?: string | undefined;
2433
2433
  mimeType?: string | undefined;
2434
2434
  references?: {
2435
2435
  title: string;
@@ -2441,6 +2441,7 @@ export declare const projectContextExisting: z.ZodObject<{
2441
2441
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
2442
2442
  } | undefined;
2443
2443
  }[] | undefined;
2444
+ label?: string | undefined;
2444
2445
  userIntent?: string | undefined;
2445
2446
  originalFilename?: string | undefined;
2446
2447
  } | {
@@ -2453,7 +2454,6 @@ export declare const projectContextExisting: z.ZodObject<{
2453
2454
  path: string;
2454
2455
  id: string;
2455
2456
  transport: "text";
2456
- label?: string | undefined;
2457
2457
  references?: {
2458
2458
  title: string;
2459
2459
  id: string;
@@ -2464,6 +2464,7 @@ export declare const projectContextExisting: z.ZodObject<{
2464
2464
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
2465
2465
  } | undefined;
2466
2466
  }[] | undefined;
2467
+ label?: string | undefined;
2467
2468
  userIntent?: string | undefined;
2468
2469
  })[];
2469
2470
  rivetActions: {
@@ -2515,8 +2516,8 @@ export declare const projectContextExisting: z.ZodObject<{
2515
2516
  id: string;
2516
2517
  originalFilename: string;
2517
2518
  sizeBytes: number;
2518
- label?: string | undefined;
2519
2519
  mimeType?: string | undefined;
2520
+ label?: string | undefined;
2520
2521
  }[] | undefined;
2521
2522
  bindings?: ({
2522
2523
  kind: "global";
@@ -2560,7 +2561,6 @@ export declare const projectContextExisting: z.ZodObject<{
2560
2561
  path: string;
2561
2562
  id: string;
2562
2563
  transport: "file";
2563
- label?: string | undefined;
2564
2564
  mimeType?: string | undefined;
2565
2565
  references?: {
2566
2566
  title: string;
@@ -2569,6 +2569,7 @@ export declare const projectContextExisting: z.ZodObject<{
2569
2569
  url?: string | undefined;
2570
2570
  image?: unknown;
2571
2571
  }[] | undefined;
2572
+ label?: string | undefined;
2572
2573
  userIntent?: string | undefined;
2573
2574
  originalFilename?: string | undefined;
2574
2575
  } | {
@@ -2581,7 +2582,6 @@ export declare const projectContextExisting: z.ZodObject<{
2581
2582
  path: string;
2582
2583
  id: string;
2583
2584
  transport: "text";
2584
- label?: string | undefined;
2585
2585
  references?: {
2586
2586
  title: string;
2587
2587
  id: string;
@@ -2589,6 +2589,7 @@ export declare const projectContextExisting: z.ZodObject<{
2589
2589
  url?: string | undefined;
2590
2590
  image?: unknown;
2591
2591
  }[] | undefined;
2592
+ label?: string | undefined;
2592
2593
  userIntent?: string | undefined;
2593
2594
  })[];
2594
2595
  rivetActions: {
@@ -2640,8 +2641,8 @@ export declare const projectContextExisting: z.ZodObject<{
2640
2641
  id: string;
2641
2642
  originalFilename: string;
2642
2643
  sizeBytes: number;
2643
- label?: string | undefined;
2644
2644
  mimeType?: string | undefined;
2645
+ label?: string | undefined;
2645
2646
  }[] | undefined;
2646
2647
  bindings?: ({
2647
2648
  kind: "global";
@@ -2697,7 +2698,6 @@ export declare const projectContextExisting: z.ZodObject<{
2697
2698
  path: string;
2698
2699
  id: string;
2699
2700
  transport: "file";
2700
- label?: string | undefined;
2701
2701
  mimeType?: string | undefined;
2702
2702
  references?: {
2703
2703
  title: string;
@@ -2709,6 +2709,7 @@ export declare const projectContextExisting: z.ZodObject<{
2709
2709
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
2710
2710
  } | undefined;
2711
2711
  }[] | undefined;
2712
+ label?: string | undefined;
2712
2713
  userIntent?: string | undefined;
2713
2714
  originalFilename?: string | undefined;
2714
2715
  } | {
@@ -2721,7 +2722,6 @@ export declare const projectContextExisting: z.ZodObject<{
2721
2722
  path: string;
2722
2723
  id: string;
2723
2724
  transport: "text";
2724
- label?: string | undefined;
2725
2725
  references?: {
2726
2726
  title: string;
2727
2727
  id: string;
@@ -2732,6 +2732,7 @@ export declare const projectContextExisting: z.ZodObject<{
2732
2732
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
2733
2733
  } | undefined;
2734
2734
  }[] | undefined;
2735
+ label?: string | undefined;
2735
2736
  userIntent?: string | undefined;
2736
2737
  })[];
2737
2738
  rivetActions: {
@@ -2783,8 +2784,8 @@ export declare const projectContextExisting: z.ZodObject<{
2783
2784
  id: string;
2784
2785
  originalFilename: string;
2785
2786
  sizeBytes: number;
2786
- label?: string | undefined;
2787
2787
  mimeType?: string | undefined;
2788
+ label?: string | undefined;
2788
2789
  }[] | undefined;
2789
2790
  bindings?: ({
2790
2791
  kind: "global";
@@ -2840,7 +2841,6 @@ export declare const projectContextExisting: z.ZodObject<{
2840
2841
  path: string;
2841
2842
  id: string;
2842
2843
  transport: "file";
2843
- label?: string | undefined;
2844
2844
  mimeType?: string | undefined;
2845
2845
  references?: {
2846
2846
  title: string;
@@ -2849,6 +2849,7 @@ export declare const projectContextExisting: z.ZodObject<{
2849
2849
  url?: string | undefined;
2850
2850
  image?: unknown;
2851
2851
  }[] | undefined;
2852
+ label?: string | undefined;
2852
2853
  userIntent?: string | undefined;
2853
2854
  originalFilename?: string | undefined;
2854
2855
  } | {
@@ -2861,7 +2862,6 @@ export declare const projectContextExisting: z.ZodObject<{
2861
2862
  path: string;
2862
2863
  id: string;
2863
2864
  transport: "text";
2864
- label?: string | undefined;
2865
2865
  references?: {
2866
2866
  title: string;
2867
2867
  id: string;
@@ -2869,6 +2869,7 @@ export declare const projectContextExisting: z.ZodObject<{
2869
2869
  url?: string | undefined;
2870
2870
  image?: unknown;
2871
2871
  }[] | undefined;
2872
+ label?: string | undefined;
2872
2873
  userIntent?: string | undefined;
2873
2874
  })[];
2874
2875
  rivetActions: {
@@ -2920,8 +2921,8 @@ export declare const projectContextExisting: z.ZodObject<{
2920
2921
  id: string;
2921
2922
  originalFilename: string;
2922
2923
  sizeBytes: number;
2923
- label?: string | undefined;
2924
2924
  mimeType?: string | undefined;
2925
+ label?: string | undefined;
2925
2926
  }[] | undefined;
2926
2927
  bindings?: ({
2927
2928
  kind: "global";
@@ -3069,7 +3070,6 @@ export declare const projectContextFresh: z.ZodObject<{
3069
3070
  path: string;
3070
3071
  id: string;
3071
3072
  transport: "file";
3072
- label?: string | undefined;
3073
3073
  mimeType?: string | undefined;
3074
3074
  references?: {
3075
3075
  title: string;
@@ -3081,13 +3081,13 @@ export declare const projectContextFresh: z.ZodObject<{
3081
3081
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
3082
3082
  } | undefined;
3083
3083
  }[] | undefined;
3084
+ label?: string | undefined;
3084
3085
  userIntent?: string | undefined;
3085
3086
  originalFilename?: string | undefined;
3086
3087
  }, {
3087
3088
  path: string;
3088
3089
  id: string;
3089
3090
  transport: "file";
3090
- label?: string | undefined;
3091
3091
  mimeType?: string | undefined;
3092
3092
  references?: {
3093
3093
  title: string;
@@ -3096,6 +3096,7 @@ export declare const projectContextFresh: z.ZodObject<{
3096
3096
  url?: string | undefined;
3097
3097
  image?: unknown;
3098
3098
  }[] | undefined;
3099
+ label?: string | undefined;
3099
3100
  userIntent?: string | undefined;
3100
3101
  originalFilename?: string | undefined;
3101
3102
  }>, z.ZodObject<{
@@ -3172,7 +3173,6 @@ export declare const projectContextFresh: z.ZodObject<{
3172
3173
  path: string;
3173
3174
  id: string;
3174
3175
  transport: "text";
3175
- label?: string | undefined;
3176
3176
  references?: {
3177
3177
  title: string;
3178
3178
  id: string;
@@ -3183,12 +3183,12 @@ export declare const projectContextFresh: z.ZodObject<{
3183
3183
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
3184
3184
  } | undefined;
3185
3185
  }[] | undefined;
3186
+ label?: string | undefined;
3186
3187
  userIntent?: string | undefined;
3187
3188
  }, {
3188
3189
  path: string;
3189
3190
  id: string;
3190
3191
  transport: "text";
3191
- label?: string | undefined;
3192
3192
  references?: {
3193
3193
  title: string;
3194
3194
  id: string;
@@ -3196,6 +3196,7 @@ export declare const projectContextFresh: z.ZodObject<{
3196
3196
  url?: string | undefined;
3197
3197
  image?: unknown;
3198
3198
  }[] | undefined;
3199
+ label?: string | undefined;
3199
3200
  userIntent?: string | undefined;
3200
3201
  }>]>, "many">;
3201
3202
  rivetActions: z.ZodArray<z.ZodObject<{
@@ -3381,16 +3382,16 @@ export declare const projectContextFresh: z.ZodObject<{
3381
3382
  id: string;
3382
3383
  originalFilename: string;
3383
3384
  sizeBytes: number;
3384
- label?: string | undefined;
3385
3385
  mimeType?: string | undefined;
3386
+ label?: string | undefined;
3386
3387
  }, {
3387
3388
  path: string;
3388
3389
  sha256: string;
3389
3390
  id: string;
3390
3391
  originalFilename: string;
3391
3392
  sizeBytes: number;
3392
- label?: string | undefined;
3393
3393
  mimeType?: string | undefined;
3394
+ label?: string | undefined;
3394
3395
  }>, "many">>;
3395
3396
  bindings: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
3396
3397
  kind: z.ZodLiteral<"global">;
@@ -3486,7 +3487,6 @@ export declare const projectContextFresh: z.ZodObject<{
3486
3487
  path: string;
3487
3488
  id: string;
3488
3489
  transport: "file";
3489
- label?: string | undefined;
3490
3490
  mimeType?: string | undefined;
3491
3491
  references?: {
3492
3492
  title: string;
@@ -3498,6 +3498,7 @@ export declare const projectContextFresh: z.ZodObject<{
3498
3498
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
3499
3499
  } | undefined;
3500
3500
  }[] | undefined;
3501
+ label?: string | undefined;
3501
3502
  userIntent?: string | undefined;
3502
3503
  originalFilename?: string | undefined;
3503
3504
  } | {
@@ -3510,7 +3511,6 @@ export declare const projectContextFresh: z.ZodObject<{
3510
3511
  path: string;
3511
3512
  id: string;
3512
3513
  transport: "text";
3513
- label?: string | undefined;
3514
3514
  references?: {
3515
3515
  title: string;
3516
3516
  id: string;
@@ -3521,6 +3521,7 @@ export declare const projectContextFresh: z.ZodObject<{
3521
3521
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
3522
3522
  } | undefined;
3523
3523
  }[] | undefined;
3524
+ label?: string | undefined;
3524
3525
  userIntent?: string | undefined;
3525
3526
  })[];
3526
3527
  rivetActions: {
@@ -3572,8 +3573,8 @@ export declare const projectContextFresh: z.ZodObject<{
3572
3573
  id: string;
3573
3574
  originalFilename: string;
3574
3575
  sizeBytes: number;
3575
- label?: string | undefined;
3576
3576
  mimeType?: string | undefined;
3577
+ label?: string | undefined;
3577
3578
  }[] | undefined;
3578
3579
  bindings?: ({
3579
3580
  kind: "global";
@@ -3617,7 +3618,6 @@ export declare const projectContextFresh: z.ZodObject<{
3617
3618
  path: string;
3618
3619
  id: string;
3619
3620
  transport: "file";
3620
- label?: string | undefined;
3621
3621
  mimeType?: string | undefined;
3622
3622
  references?: {
3623
3623
  title: string;
@@ -3626,6 +3626,7 @@ export declare const projectContextFresh: z.ZodObject<{
3626
3626
  url?: string | undefined;
3627
3627
  image?: unknown;
3628
3628
  }[] | undefined;
3629
+ label?: string | undefined;
3629
3630
  userIntent?: string | undefined;
3630
3631
  originalFilename?: string | undefined;
3631
3632
  } | {
@@ -3638,7 +3639,6 @@ export declare const projectContextFresh: z.ZodObject<{
3638
3639
  path: string;
3639
3640
  id: string;
3640
3641
  transport: "text";
3641
- label?: string | undefined;
3642
3642
  references?: {
3643
3643
  title: string;
3644
3644
  id: string;
@@ -3646,6 +3646,7 @@ export declare const projectContextFresh: z.ZodObject<{
3646
3646
  url?: string | undefined;
3647
3647
  image?: unknown;
3648
3648
  }[] | undefined;
3649
+ label?: string | undefined;
3649
3650
  userIntent?: string | undefined;
3650
3651
  })[];
3651
3652
  rivetActions: {
@@ -3697,8 +3698,8 @@ export declare const projectContextFresh: z.ZodObject<{
3697
3698
  id: string;
3698
3699
  originalFilename: string;
3699
3700
  sizeBytes: number;
3700
- label?: string | undefined;
3701
3701
  mimeType?: string | undefined;
3702
+ label?: string | undefined;
3702
3703
  }[] | undefined;
3703
3704
  bindings?: ({
3704
3705
  kind: "global";
@@ -3810,7 +3811,6 @@ export declare const projectContextFresh: z.ZodObject<{
3810
3811
  path: string;
3811
3812
  id: string;
3812
3813
  transport: "file";
3813
- label?: string | undefined;
3814
3814
  mimeType?: string | undefined;
3815
3815
  references?: {
3816
3816
  title: string;
@@ -3822,6 +3822,7 @@ export declare const projectContextFresh: z.ZodObject<{
3822
3822
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
3823
3823
  } | undefined;
3824
3824
  }[] | undefined;
3825
+ label?: string | undefined;
3825
3826
  userIntent?: string | undefined;
3826
3827
  originalFilename?: string | undefined;
3827
3828
  } | {
@@ -3834,7 +3835,6 @@ export declare const projectContextFresh: z.ZodObject<{
3834
3835
  path: string;
3835
3836
  id: string;
3836
3837
  transport: "text";
3837
- label?: string | undefined;
3838
3838
  references?: {
3839
3839
  title: string;
3840
3840
  id: string;
@@ -3845,6 +3845,7 @@ export declare const projectContextFresh: z.ZodObject<{
3845
3845
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
3846
3846
  } | undefined;
3847
3847
  }[] | undefined;
3848
+ label?: string | undefined;
3848
3849
  userIntent?: string | undefined;
3849
3850
  })[];
3850
3851
  rivetActions: {
@@ -3896,8 +3897,8 @@ export declare const projectContextFresh: z.ZodObject<{
3896
3897
  id: string;
3897
3898
  originalFilename: string;
3898
3899
  sizeBytes: number;
3899
- label?: string | undefined;
3900
3900
  mimeType?: string | undefined;
3901
+ label?: string | undefined;
3901
3902
  }[] | undefined;
3902
3903
  bindings?: ({
3903
3904
  kind: "global";
@@ -3968,7 +3969,6 @@ export declare const projectContextFresh: z.ZodObject<{
3968
3969
  path: string;
3969
3970
  id: string;
3970
3971
  transport: "file";
3971
- label?: string | undefined;
3972
3972
  mimeType?: string | undefined;
3973
3973
  references?: {
3974
3974
  title: string;
@@ -3977,6 +3977,7 @@ export declare const projectContextFresh: z.ZodObject<{
3977
3977
  url?: string | undefined;
3978
3978
  image?: unknown;
3979
3979
  }[] | undefined;
3980
+ label?: string | undefined;
3980
3981
  userIntent?: string | undefined;
3981
3982
  originalFilename?: string | undefined;
3982
3983
  } | {
@@ -3989,7 +3990,6 @@ export declare const projectContextFresh: z.ZodObject<{
3989
3990
  path: string;
3990
3991
  id: string;
3991
3992
  transport: "text";
3992
- label?: string | undefined;
3993
3993
  references?: {
3994
3994
  title: string;
3995
3995
  id: string;
@@ -3997,6 +3997,7 @@ export declare const projectContextFresh: z.ZodObject<{
3997
3997
  url?: string | undefined;
3998
3998
  image?: unknown;
3999
3999
  }[] | undefined;
4000
+ label?: string | undefined;
4000
4001
  userIntent?: string | undefined;
4001
4002
  })[];
4002
4003
  rivetActions: {
@@ -4048,8 +4049,8 @@ export declare const projectContextFresh: z.ZodObject<{
4048
4049
  id: string;
4049
4050
  originalFilename: string;
4050
4051
  sizeBytes: number;
4051
- label?: string | undefined;
4052
4052
  mimeType?: string | undefined;
4053
+ label?: string | undefined;
4053
4054
  }[] | undefined;
4054
4055
  bindings?: ({
4055
4056
  kind: "global";
@@ -4195,7 +4196,6 @@ export declare const projectContextSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
4195
4196
  path: string;
4196
4197
  id: string;
4197
4198
  transport: "file";
4198
- label?: string | undefined;
4199
4199
  mimeType?: string | undefined;
4200
4200
  references?: {
4201
4201
  title: string;
@@ -4207,13 +4207,13 @@ export declare const projectContextSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
4207
4207
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
4208
4208
  } | undefined;
4209
4209
  }[] | undefined;
4210
+ label?: string | undefined;
4210
4211
  userIntent?: string | undefined;
4211
4212
  originalFilename?: string | undefined;
4212
4213
  }, {
4213
4214
  path: string;
4214
4215
  id: string;
4215
4216
  transport: "file";
4216
- label?: string | undefined;
4217
4217
  mimeType?: string | undefined;
4218
4218
  references?: {
4219
4219
  title: string;
@@ -4222,6 +4222,7 @@ export declare const projectContextSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
4222
4222
  url?: string | undefined;
4223
4223
  image?: unknown;
4224
4224
  }[] | undefined;
4225
+ label?: string | undefined;
4225
4226
  userIntent?: string | undefined;
4226
4227
  originalFilename?: string | undefined;
4227
4228
  }>, z.ZodObject<{
@@ -4298,7 +4299,6 @@ export declare const projectContextSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
4298
4299
  path: string;
4299
4300
  id: string;
4300
4301
  transport: "text";
4301
- label?: string | undefined;
4302
4302
  references?: {
4303
4303
  title: string;
4304
4304
  id: string;
@@ -4309,12 +4309,12 @@ export declare const projectContextSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
4309
4309
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
4310
4310
  } | undefined;
4311
4311
  }[] | undefined;
4312
+ label?: string | undefined;
4312
4313
  userIntent?: string | undefined;
4313
4314
  }, {
4314
4315
  path: string;
4315
4316
  id: string;
4316
4317
  transport: "text";
4317
- label?: string | undefined;
4318
4318
  references?: {
4319
4319
  title: string;
4320
4320
  id: string;
@@ -4322,6 +4322,7 @@ export declare const projectContextSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
4322
4322
  url?: string | undefined;
4323
4323
  image?: unknown;
4324
4324
  }[] | undefined;
4325
+ label?: string | undefined;
4325
4326
  userIntent?: string | undefined;
4326
4327
  }>]>, "many">;
4327
4328
  rivetActions: z.ZodArray<z.ZodObject<{
@@ -4507,16 +4508,16 @@ export declare const projectContextSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
4507
4508
  id: string;
4508
4509
  originalFilename: string;
4509
4510
  sizeBytes: number;
4510
- label?: string | undefined;
4511
4511
  mimeType?: string | undefined;
4512
+ label?: string | undefined;
4512
4513
  }, {
4513
4514
  path: string;
4514
4515
  sha256: string;
4515
4516
  id: string;
4516
4517
  originalFilename: string;
4517
4518
  sizeBytes: number;
4518
- label?: string | undefined;
4519
4519
  mimeType?: string | undefined;
4520
+ label?: string | undefined;
4520
4521
  }>, "many">>;
4521
4522
  bindings: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
4522
4523
  kind: z.ZodLiteral<"global">;
@@ -4612,7 +4613,6 @@ export declare const projectContextSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
4612
4613
  path: string;
4613
4614
  id: string;
4614
4615
  transport: "file";
4615
- label?: string | undefined;
4616
4616
  mimeType?: string | undefined;
4617
4617
  references?: {
4618
4618
  title: string;
@@ -4624,6 +4624,7 @@ export declare const projectContextSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
4624
4624
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
4625
4625
  } | undefined;
4626
4626
  }[] | undefined;
4627
+ label?: string | undefined;
4627
4628
  userIntent?: string | undefined;
4628
4629
  originalFilename?: string | undefined;
4629
4630
  } | {
@@ -4636,7 +4637,6 @@ export declare const projectContextSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
4636
4637
  path: string;
4637
4638
  id: string;
4638
4639
  transport: "text";
4639
- label?: string | undefined;
4640
4640
  references?: {
4641
4641
  title: string;
4642
4642
  id: string;
@@ -4647,6 +4647,7 @@ export declare const projectContextSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
4647
4647
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
4648
4648
  } | undefined;
4649
4649
  }[] | undefined;
4650
+ label?: string | undefined;
4650
4651
  userIntent?: string | undefined;
4651
4652
  })[];
4652
4653
  rivetActions: {
@@ -4698,8 +4699,8 @@ export declare const projectContextSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
4698
4699
  id: string;
4699
4700
  originalFilename: string;
4700
4701
  sizeBytes: number;
4701
- label?: string | undefined;
4702
4702
  mimeType?: string | undefined;
4703
+ label?: string | undefined;
4703
4704
  }[] | undefined;
4704
4705
  bindings?: ({
4705
4706
  kind: "global";
@@ -4743,7 +4744,6 @@ export declare const projectContextSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
4743
4744
  path: string;
4744
4745
  id: string;
4745
4746
  transport: "file";
4746
- label?: string | undefined;
4747
4747
  mimeType?: string | undefined;
4748
4748
  references?: {
4749
4749
  title: string;
@@ -4752,6 +4752,7 @@ export declare const projectContextSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
4752
4752
  url?: string | undefined;
4753
4753
  image?: unknown;
4754
4754
  }[] | undefined;
4755
+ label?: string | undefined;
4755
4756
  userIntent?: string | undefined;
4756
4757
  originalFilename?: string | undefined;
4757
4758
  } | {
@@ -4764,7 +4765,6 @@ export declare const projectContextSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
4764
4765
  path: string;
4765
4766
  id: string;
4766
4767
  transport: "text";
4767
- label?: string | undefined;
4768
4768
  references?: {
4769
4769
  title: string;
4770
4770
  id: string;
@@ -4772,6 +4772,7 @@ export declare const projectContextSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
4772
4772
  url?: string | undefined;
4773
4773
  image?: unknown;
4774
4774
  }[] | undefined;
4775
+ label?: string | undefined;
4775
4776
  userIntent?: string | undefined;
4776
4777
  })[];
4777
4778
  rivetActions: {
@@ -4823,8 +4824,8 @@ export declare const projectContextSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
4823
4824
  id: string;
4824
4825
  originalFilename: string;
4825
4826
  sizeBytes: number;
4826
- label?: string | undefined;
4827
4827
  mimeType?: string | undefined;
4828
+ label?: string | undefined;
4828
4829
  }[] | undefined;
4829
4830
  bindings?: ({
4830
4831
  kind: "global";
@@ -4880,7 +4881,6 @@ export declare const projectContextSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
4880
4881
  path: string;
4881
4882
  id: string;
4882
4883
  transport: "file";
4883
- label?: string | undefined;
4884
4884
  mimeType?: string | undefined;
4885
4885
  references?: {
4886
4886
  title: string;
@@ -4892,6 +4892,7 @@ export declare const projectContextSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
4892
4892
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
4893
4893
  } | undefined;
4894
4894
  }[] | undefined;
4895
+ label?: string | undefined;
4895
4896
  userIntent?: string | undefined;
4896
4897
  originalFilename?: string | undefined;
4897
4898
  } | {
@@ -4904,7 +4905,6 @@ export declare const projectContextSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
4904
4905
  path: string;
4905
4906
  id: string;
4906
4907
  transport: "text";
4907
- label?: string | undefined;
4908
4908
  references?: {
4909
4909
  title: string;
4910
4910
  id: string;
@@ -4915,6 +4915,7 @@ export declare const projectContextSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
4915
4915
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
4916
4916
  } | undefined;
4917
4917
  }[] | undefined;
4918
+ label?: string | undefined;
4918
4919
  userIntent?: string | undefined;
4919
4920
  })[];
4920
4921
  rivetActions: {
@@ -4966,8 +4967,8 @@ export declare const projectContextSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
4966
4967
  id: string;
4967
4968
  originalFilename: string;
4968
4969
  sizeBytes: number;
4969
- label?: string | undefined;
4970
4970
  mimeType?: string | undefined;
4971
+ label?: string | undefined;
4971
4972
  }[] | undefined;
4972
4973
  bindings?: ({
4973
4974
  kind: "global";
@@ -5023,7 +5024,6 @@ export declare const projectContextSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
5023
5024
  path: string;
5024
5025
  id: string;
5025
5026
  transport: "file";
5026
- label?: string | undefined;
5027
5027
  mimeType?: string | undefined;
5028
5028
  references?: {
5029
5029
  title: string;
@@ -5032,6 +5032,7 @@ export declare const projectContextSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
5032
5032
  url?: string | undefined;
5033
5033
  image?: unknown;
5034
5034
  }[] | undefined;
5035
+ label?: string | undefined;
5035
5036
  userIntent?: string | undefined;
5036
5037
  originalFilename?: string | undefined;
5037
5038
  } | {
@@ -5044,7 +5045,6 @@ export declare const projectContextSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
5044
5045
  path: string;
5045
5046
  id: string;
5046
5047
  transport: "text";
5047
- label?: string | undefined;
5048
5048
  references?: {
5049
5049
  title: string;
5050
5050
  id: string;
@@ -5052,6 +5052,7 @@ export declare const projectContextSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
5052
5052
  url?: string | undefined;
5053
5053
  image?: unknown;
5054
5054
  }[] | undefined;
5055
+ label?: string | undefined;
5055
5056
  userIntent?: string | undefined;
5056
5057
  })[];
5057
5058
  rivetActions: {
@@ -5103,8 +5104,8 @@ export declare const projectContextSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
5103
5104
  id: string;
5104
5105
  originalFilename: string;
5105
5106
  sizeBytes: number;
5106
- label?: string | undefined;
5107
5107
  mimeType?: string | undefined;
5108
+ label?: string | undefined;
5108
5109
  }[] | undefined;
5109
5110
  bindings?: ({
5110
5111
  kind: "global";
@@ -5251,7 +5252,6 @@ export declare const projectContextSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
5251
5252
  path: string;
5252
5253
  id: string;
5253
5254
  transport: "file";
5254
- label?: string | undefined;
5255
5255
  mimeType?: string | undefined;
5256
5256
  references?: {
5257
5257
  title: string;
@@ -5263,13 +5263,13 @@ export declare const projectContextSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
5263
5263
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
5264
5264
  } | undefined;
5265
5265
  }[] | undefined;
5266
+ label?: string | undefined;
5266
5267
  userIntent?: string | undefined;
5267
5268
  originalFilename?: string | undefined;
5268
5269
  }, {
5269
5270
  path: string;
5270
5271
  id: string;
5271
5272
  transport: "file";
5272
- label?: string | undefined;
5273
5273
  mimeType?: string | undefined;
5274
5274
  references?: {
5275
5275
  title: string;
@@ -5278,6 +5278,7 @@ export declare const projectContextSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
5278
5278
  url?: string | undefined;
5279
5279
  image?: unknown;
5280
5280
  }[] | undefined;
5281
+ label?: string | undefined;
5281
5282
  userIntent?: string | undefined;
5282
5283
  originalFilename?: string | undefined;
5283
5284
  }>, z.ZodObject<{
@@ -5354,7 +5355,6 @@ export declare const projectContextSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
5354
5355
  path: string;
5355
5356
  id: string;
5356
5357
  transport: "text";
5357
- label?: string | undefined;
5358
5358
  references?: {
5359
5359
  title: string;
5360
5360
  id: string;
@@ -5365,12 +5365,12 @@ export declare const projectContextSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
5365
5365
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
5366
5366
  } | undefined;
5367
5367
  }[] | undefined;
5368
+ label?: string | undefined;
5368
5369
  userIntent?: string | undefined;
5369
5370
  }, {
5370
5371
  path: string;
5371
5372
  id: string;
5372
5373
  transport: "text";
5373
- label?: string | undefined;
5374
5374
  references?: {
5375
5375
  title: string;
5376
5376
  id: string;
@@ -5378,6 +5378,7 @@ export declare const projectContextSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
5378
5378
  url?: string | undefined;
5379
5379
  image?: unknown;
5380
5380
  }[] | undefined;
5381
+ label?: string | undefined;
5381
5382
  userIntent?: string | undefined;
5382
5383
  }>]>, "many">;
5383
5384
  rivetActions: z.ZodArray<z.ZodObject<{
@@ -5563,16 +5564,16 @@ export declare const projectContextSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
5563
5564
  id: string;
5564
5565
  originalFilename: string;
5565
5566
  sizeBytes: number;
5566
- label?: string | undefined;
5567
5567
  mimeType?: string | undefined;
5568
+ label?: string | undefined;
5568
5569
  }, {
5569
5570
  path: string;
5570
5571
  sha256: string;
5571
5572
  id: string;
5572
5573
  originalFilename: string;
5573
5574
  sizeBytes: number;
5574
- label?: string | undefined;
5575
5575
  mimeType?: string | undefined;
5576
+ label?: string | undefined;
5576
5577
  }>, "many">>;
5577
5578
  bindings: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
5578
5579
  kind: z.ZodLiteral<"global">;
@@ -5668,7 +5669,6 @@ export declare const projectContextSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
5668
5669
  path: string;
5669
5670
  id: string;
5670
5671
  transport: "file";
5671
- label?: string | undefined;
5672
5672
  mimeType?: string | undefined;
5673
5673
  references?: {
5674
5674
  title: string;
@@ -5680,6 +5680,7 @@ export declare const projectContextSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
5680
5680
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
5681
5681
  } | undefined;
5682
5682
  }[] | undefined;
5683
+ label?: string | undefined;
5683
5684
  userIntent?: string | undefined;
5684
5685
  originalFilename?: string | undefined;
5685
5686
  } | {
@@ -5692,7 +5693,6 @@ export declare const projectContextSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
5692
5693
  path: string;
5693
5694
  id: string;
5694
5695
  transport: "text";
5695
- label?: string | undefined;
5696
5696
  references?: {
5697
5697
  title: string;
5698
5698
  id: string;
@@ -5703,6 +5703,7 @@ export declare const projectContextSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
5703
5703
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
5704
5704
  } | undefined;
5705
5705
  }[] | undefined;
5706
+ label?: string | undefined;
5706
5707
  userIntent?: string | undefined;
5707
5708
  })[];
5708
5709
  rivetActions: {
@@ -5754,8 +5755,8 @@ export declare const projectContextSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
5754
5755
  id: string;
5755
5756
  originalFilename: string;
5756
5757
  sizeBytes: number;
5757
- label?: string | undefined;
5758
5758
  mimeType?: string | undefined;
5759
+ label?: string | undefined;
5759
5760
  }[] | undefined;
5760
5761
  bindings?: ({
5761
5762
  kind: "global";
@@ -5799,7 +5800,6 @@ export declare const projectContextSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
5799
5800
  path: string;
5800
5801
  id: string;
5801
5802
  transport: "file";
5802
- label?: string | undefined;
5803
5803
  mimeType?: string | undefined;
5804
5804
  references?: {
5805
5805
  title: string;
@@ -5808,6 +5808,7 @@ export declare const projectContextSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
5808
5808
  url?: string | undefined;
5809
5809
  image?: unknown;
5810
5810
  }[] | undefined;
5811
+ label?: string | undefined;
5811
5812
  userIntent?: string | undefined;
5812
5813
  originalFilename?: string | undefined;
5813
5814
  } | {
@@ -5820,7 +5821,6 @@ export declare const projectContextSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
5820
5821
  path: string;
5821
5822
  id: string;
5822
5823
  transport: "text";
5823
- label?: string | undefined;
5824
5824
  references?: {
5825
5825
  title: string;
5826
5826
  id: string;
@@ -5828,6 +5828,7 @@ export declare const projectContextSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
5828
5828
  url?: string | undefined;
5829
5829
  image?: unknown;
5830
5830
  }[] | undefined;
5831
+ label?: string | undefined;
5831
5832
  userIntent?: string | undefined;
5832
5833
  })[];
5833
5834
  rivetActions: {
@@ -5879,8 +5880,8 @@ export declare const projectContextSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
5879
5880
  id: string;
5880
5881
  originalFilename: string;
5881
5882
  sizeBytes: number;
5882
- label?: string | undefined;
5883
5883
  mimeType?: string | undefined;
5884
+ label?: string | undefined;
5884
5885
  }[] | undefined;
5885
5886
  bindings?: ({
5886
5887
  kind: "global";
@@ -5992,7 +5993,6 @@ export declare const projectContextSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
5992
5993
  path: string;
5993
5994
  id: string;
5994
5995
  transport: "file";
5995
- label?: string | undefined;
5996
5996
  mimeType?: string | undefined;
5997
5997
  references?: {
5998
5998
  title: string;
@@ -6004,6 +6004,7 @@ export declare const projectContextSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
6004
6004
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
6005
6005
  } | undefined;
6006
6006
  }[] | undefined;
6007
+ label?: string | undefined;
6007
6008
  userIntent?: string | undefined;
6008
6009
  originalFilename?: string | undefined;
6009
6010
  } | {
@@ -6016,7 +6017,6 @@ export declare const projectContextSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
6016
6017
  path: string;
6017
6018
  id: string;
6018
6019
  transport: "text";
6019
- label?: string | undefined;
6020
6020
  references?: {
6021
6021
  title: string;
6022
6022
  id: string;
@@ -6027,6 +6027,7 @@ export declare const projectContextSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
6027
6027
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
6028
6028
  } | undefined;
6029
6029
  }[] | undefined;
6030
+ label?: string | undefined;
6030
6031
  userIntent?: string | undefined;
6031
6032
  })[];
6032
6033
  rivetActions: {
@@ -6078,8 +6079,8 @@ export declare const projectContextSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
6078
6079
  id: string;
6079
6080
  originalFilename: string;
6080
6081
  sizeBytes: number;
6081
- label?: string | undefined;
6082
6082
  mimeType?: string | undefined;
6083
+ label?: string | undefined;
6083
6084
  }[] | undefined;
6084
6085
  bindings?: ({
6085
6086
  kind: "global";
@@ -6150,7 +6151,6 @@ export declare const projectContextSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
6150
6151
  path: string;
6151
6152
  id: string;
6152
6153
  transport: "file";
6153
- label?: string | undefined;
6154
6154
  mimeType?: string | undefined;
6155
6155
  references?: {
6156
6156
  title: string;
@@ -6159,6 +6159,7 @@ export declare const projectContextSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
6159
6159
  url?: string | undefined;
6160
6160
  image?: unknown;
6161
6161
  }[] | undefined;
6162
+ label?: string | undefined;
6162
6163
  userIntent?: string | undefined;
6163
6164
  originalFilename?: string | undefined;
6164
6165
  } | {
@@ -6171,7 +6172,6 @@ export declare const projectContextSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
6171
6172
  path: string;
6172
6173
  id: string;
6173
6174
  transport: "text";
6174
- label?: string | undefined;
6175
6175
  references?: {
6176
6176
  title: string;
6177
6177
  id: string;
@@ -6179,6 +6179,7 @@ export declare const projectContextSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
6179
6179
  url?: string | undefined;
6180
6180
  image?: unknown;
6181
6181
  }[] | undefined;
6182
+ label?: string | undefined;
6182
6183
  userIntent?: string | undefined;
6183
6184
  })[];
6184
6185
  rivetActions: {
@@ -6230,8 +6231,8 @@ export declare const projectContextSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
6230
6231
  id: string;
6231
6232
  originalFilename: string;
6232
6233
  sizeBytes: number;
6233
- label?: string | undefined;
6234
6234
  mimeType?: string | undefined;
6235
+ label?: string | undefined;
6235
6236
  }[] | undefined;
6236
6237
  bindings?: ({
6237
6238
  kind: "global";
@@ -6343,6 +6344,7 @@ export interface SavedVariantPreview {
6343
6344
  references?: VariantReference[];
6344
6345
  previewRoutes?: string[];
6345
6346
  runLabel?: string;
6347
+ directionRef?: DirectionRef;
6346
6348
  }
6347
6349
  export interface AdoptPastVariantArgs extends SavedVariantPreview {
6348
6350
  sessionId: string;
@@ -6361,6 +6363,7 @@ export interface ActiveVariantSnapshot {
6361
6363
  previewRoutes?: string[];
6362
6364
  workItemId: string;
6363
6365
  briefId: string;
6366
+ directionRef?: DirectionRef;
6364
6367
  label: string;
6365
6368
  status: WorkItemStatus;
6366
6369
  workItemKind?: 'code_gen' | 'static_preview';
@@ -6443,6 +6446,7 @@ export interface HostVariantImplementationWorkItemSnapshot extends HostVariantWo
6443
6446
  kind: 'static_preview' | 'refine_variant' | 'code_gen';
6444
6447
  workspace: VariantAssignedWorkspace;
6445
6448
  mode: VariantExecutionMode;
6449
+ directionRef?: DirectionRef;
6446
6450
  direction: VariantWorkerDirection;
6447
6451
  fidelity?: WorkerFidelity;
6448
6452
  sourceDirection?: VariantWorkerDirection;
@@ -6647,7 +6651,6 @@ export declare const variantWorkItemContextSchema: z.ZodObject<{
6647
6651
  path: string;
6648
6652
  id: string;
6649
6653
  transport: "file";
6650
- label?: string | undefined;
6651
6654
  mimeType?: string | undefined;
6652
6655
  references?: {
6653
6656
  title: string;
@@ -6659,13 +6662,13 @@ export declare const variantWorkItemContextSchema: z.ZodObject<{
6659
6662
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
6660
6663
  } | undefined;
6661
6664
  }[] | undefined;
6665
+ label?: string | undefined;
6662
6666
  userIntent?: string | undefined;
6663
6667
  originalFilename?: string | undefined;
6664
6668
  }, {
6665
6669
  path: string;
6666
6670
  id: string;
6667
6671
  transport: "file";
6668
- label?: string | undefined;
6669
6672
  mimeType?: string | undefined;
6670
6673
  references?: {
6671
6674
  title: string;
@@ -6674,6 +6677,7 @@ export declare const variantWorkItemContextSchema: z.ZodObject<{
6674
6677
  url?: string | undefined;
6675
6678
  image?: unknown;
6676
6679
  }[] | undefined;
6680
+ label?: string | undefined;
6677
6681
  userIntent?: string | undefined;
6678
6682
  originalFilename?: string | undefined;
6679
6683
  }>, z.ZodObject<{
@@ -6750,7 +6754,6 @@ export declare const variantWorkItemContextSchema: z.ZodObject<{
6750
6754
  path: string;
6751
6755
  id: string;
6752
6756
  transport: "text";
6753
- label?: string | undefined;
6754
6757
  references?: {
6755
6758
  title: string;
6756
6759
  id: string;
@@ -6761,12 +6764,12 @@ export declare const variantWorkItemContextSchema: z.ZodObject<{
6761
6764
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
6762
6765
  } | undefined;
6763
6766
  }[] | undefined;
6767
+ label?: string | undefined;
6764
6768
  userIntent?: string | undefined;
6765
6769
  }, {
6766
6770
  path: string;
6767
6771
  id: string;
6768
6772
  transport: "text";
6769
- label?: string | undefined;
6770
6773
  references?: {
6771
6774
  title: string;
6772
6775
  id: string;
@@ -6774,6 +6777,7 @@ export declare const variantWorkItemContextSchema: z.ZodObject<{
6774
6777
  url?: string | undefined;
6775
6778
  image?: unknown;
6776
6779
  }[] | undefined;
6780
+ label?: string | undefined;
6777
6781
  userIntent?: string | undefined;
6778
6782
  }>]>, "many">;
6779
6783
  rivetMetadata: z.ZodArray<z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
@@ -6940,16 +6944,16 @@ export declare const variantWorkItemContextSchema: z.ZodObject<{
6940
6944
  id: string;
6941
6945
  originalFilename: string;
6942
6946
  sizeBytes: number;
6943
- label?: string | undefined;
6944
6947
  mimeType?: string | undefined;
6948
+ label?: string | undefined;
6945
6949
  }, {
6946
6950
  path: string;
6947
6951
  sha256: string;
6948
6952
  id: string;
6949
6953
  originalFilename: string;
6950
6954
  sizeBytes: number;
6951
- label?: string | undefined;
6952
6955
  mimeType?: string | undefined;
6956
+ label?: string | undefined;
6953
6957
  }>, "many">>;
6954
6958
  brief: z.ZodObject<{
6955
6959
  briefId: z.ZodString;
@@ -6994,7 +6998,6 @@ export declare const variantWorkItemContextSchema: z.ZodObject<{
6994
6998
  path: string;
6995
6999
  id: string;
6996
7000
  transport: "file";
6997
- label?: string | undefined;
6998
7001
  mimeType?: string | undefined;
6999
7002
  references?: {
7000
7003
  title: string;
@@ -7006,6 +7009,7 @@ export declare const variantWorkItemContextSchema: z.ZodObject<{
7006
7009
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
7007
7010
  } | undefined;
7008
7011
  }[] | undefined;
7012
+ label?: string | undefined;
7009
7013
  userIntent?: string | undefined;
7010
7014
  originalFilename?: string | undefined;
7011
7015
  } | {
@@ -7018,7 +7022,6 @@ export declare const variantWorkItemContextSchema: z.ZodObject<{
7018
7022
  path: string;
7019
7023
  id: string;
7020
7024
  transport: "text";
7021
- label?: string | undefined;
7022
7025
  references?: {
7023
7026
  title: string;
7024
7027
  id: string;
@@ -7029,6 +7032,7 @@ export declare const variantWorkItemContextSchema: z.ZodObject<{
7029
7032
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
7030
7033
  } | undefined;
7031
7034
  }[] | undefined;
7035
+ label?: string | undefined;
7032
7036
  userIntent?: string | undefined;
7033
7037
  })[];
7034
7038
  rivetMetadata: ({
@@ -7083,8 +7087,8 @@ export declare const variantWorkItemContextSchema: z.ZodObject<{
7083
7087
  id: string;
7084
7088
  originalFilename: string;
7085
7089
  sizeBytes: number;
7086
- label?: string | undefined;
7087
7090
  mimeType?: string | undefined;
7091
+ label?: string | undefined;
7088
7092
  }[] | undefined;
7089
7093
  executionMode?: "static_preview" | "vite_app" | undefined;
7090
7094
  }, {
@@ -7110,7 +7114,6 @@ export declare const variantWorkItemContextSchema: z.ZodObject<{
7110
7114
  path: string;
7111
7115
  id: string;
7112
7116
  transport: "file";
7113
- label?: string | undefined;
7114
7117
  mimeType?: string | undefined;
7115
7118
  references?: {
7116
7119
  title: string;
@@ -7119,6 +7122,7 @@ export declare const variantWorkItemContextSchema: z.ZodObject<{
7119
7122
  url?: string | undefined;
7120
7123
  image?: unknown;
7121
7124
  }[] | undefined;
7125
+ label?: string | undefined;
7122
7126
  userIntent?: string | undefined;
7123
7127
  originalFilename?: string | undefined;
7124
7128
  } | {
@@ -7131,7 +7135,6 @@ export declare const variantWorkItemContextSchema: z.ZodObject<{
7131
7135
  path: string;
7132
7136
  id: string;
7133
7137
  transport: "text";
7134
- label?: string | undefined;
7135
7138
  references?: {
7136
7139
  title: string;
7137
7140
  id: string;
@@ -7139,6 +7142,7 @@ export declare const variantWorkItemContextSchema: z.ZodObject<{
7139
7142
  url?: string | undefined;
7140
7143
  image?: unknown;
7141
7144
  }[] | undefined;
7145
+ label?: string | undefined;
7142
7146
  userIntent?: string | undefined;
7143
7147
  })[];
7144
7148
  rivetMetadata: ({
@@ -7190,8 +7194,8 @@ export declare const variantWorkItemContextSchema: z.ZodObject<{
7190
7194
  id: string;
7191
7195
  originalFilename: string;
7192
7196
  sizeBytes: number;
7193
- label?: string | undefined;
7194
7197
  mimeType?: string | undefined;
7198
+ label?: string | undefined;
7195
7199
  }[] | undefined;
7196
7200
  executionMode?: "static_preview" | "vite_app" | undefined;
7197
7201
  }>;