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 { z } from 'zod/v3';
2
2
  import type { WorkerSelection } from '../types/change-request-types';
3
+ import type { DirectionRef } from '../types/direction-ref';
3
4
  import type { StaticPreviewTargetElement, VariantWorkItem, WorkItem, WorkItemKind } from './contracts';
4
5
  export declare const VARIANT_WORK_ITEM_KINDS: readonly ["static_preview", "refine_variant", "code_gen"];
5
6
  export type VariantWorkItemKind = (typeof VARIANT_WORK_ITEM_KINDS)[number];
@@ -37,7 +38,6 @@ declare const variantWorkItemInputSchemas: {
37
38
  path: string;
38
39
  id: string;
39
40
  transport: "file";
40
- label?: string | undefined;
41
41
  mimeType?: string | undefined;
42
42
  references?: {
43
43
  title: string;
@@ -49,6 +49,7 @@ declare const variantWorkItemInputSchemas: {
49
49
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
50
50
  } | undefined;
51
51
  }[] | undefined;
52
+ label?: string | undefined;
52
53
  userIntent?: string | undefined;
53
54
  originalFilename?: string | undefined;
54
55
  } | {
@@ -61,7 +62,6 @@ declare const variantWorkItemInputSchemas: {
61
62
  path: string;
62
63
  id: string;
63
64
  transport: "text";
64
- label?: string | undefined;
65
65
  references?: {
66
66
  title: string;
67
67
  id: string;
@@ -72,6 +72,7 @@ declare const variantWorkItemInputSchemas: {
72
72
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
73
73
  } | undefined;
74
74
  }[] | undefined;
75
+ label?: string | undefined;
75
76
  userIntent?: string | undefined;
76
77
  })[];
77
78
  rivetActions: {
@@ -123,8 +124,8 @@ declare const variantWorkItemInputSchemas: {
123
124
  id: string;
124
125
  originalFilename: string;
125
126
  sizeBytes: number;
126
- label?: string | undefined;
127
127
  mimeType?: string | undefined;
128
+ label?: string | undefined;
128
129
  }[] | undefined;
129
130
  bindings?: ({
130
131
  kind: "global";
@@ -194,7 +195,6 @@ declare const variantWorkItemInputSchemas: {
194
195
  path: string;
195
196
  id: string;
196
197
  transport: "file";
197
- label?: string | undefined;
198
198
  mimeType?: string | undefined;
199
199
  references?: {
200
200
  title: string;
@@ -206,6 +206,7 @@ declare const variantWorkItemInputSchemas: {
206
206
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
207
207
  } | undefined;
208
208
  }[] | undefined;
209
+ label?: string | undefined;
209
210
  userIntent?: string | undefined;
210
211
  originalFilename?: string | undefined;
211
212
  } | {
@@ -218,7 +219,6 @@ declare const variantWorkItemInputSchemas: {
218
219
  path: string;
219
220
  id: string;
220
221
  transport: "text";
221
- label?: string | undefined;
222
222
  references?: {
223
223
  title: string;
224
224
  id: string;
@@ -229,6 +229,7 @@ declare const variantWorkItemInputSchemas: {
229
229
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
230
230
  } | undefined;
231
231
  }[] | undefined;
232
+ label?: string | undefined;
232
233
  userIntent?: string | undefined;
233
234
  })[];
234
235
  rivetActions: {
@@ -280,8 +281,8 @@ declare const variantWorkItemInputSchemas: {
280
281
  id: string;
281
282
  originalFilename: string;
282
283
  sizeBytes: number;
283
- label?: string | undefined;
284
284
  mimeType?: string | undefined;
285
+ label?: string | undefined;
285
286
  }[] | undefined;
286
287
  bindings?: ({
287
288
  kind: "global";
@@ -338,7 +339,6 @@ declare const variantWorkItemInputSchemas: {
338
339
  path: string;
339
340
  id: string;
340
341
  transport: "file";
341
- label?: string | undefined;
342
342
  mimeType?: string | undefined;
343
343
  references?: {
344
344
  title: string;
@@ -350,6 +350,7 @@ declare const variantWorkItemInputSchemas: {
350
350
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
351
351
  } | undefined;
352
352
  }[] | undefined;
353
+ label?: string | undefined;
353
354
  userIntent?: string | undefined;
354
355
  originalFilename?: string | undefined;
355
356
  } | {
@@ -362,7 +363,6 @@ declare const variantWorkItemInputSchemas: {
362
363
  path: string;
363
364
  id: string;
364
365
  transport: "text";
365
- label?: string | undefined;
366
366
  references?: {
367
367
  title: string;
368
368
  id: string;
@@ -373,6 +373,7 @@ declare const variantWorkItemInputSchemas: {
373
373
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
374
374
  } | undefined;
375
375
  }[] | undefined;
376
+ label?: string | undefined;
376
377
  userIntent?: string | undefined;
377
378
  })[];
378
379
  rivetActions: {
@@ -424,8 +425,8 @@ declare const variantWorkItemInputSchemas: {
424
425
  id: string;
425
426
  originalFilename: string;
426
427
  sizeBytes: number;
427
- label?: string | undefined;
428
428
  mimeType?: string | undefined;
429
+ label?: string | undefined;
429
430
  }[] | undefined;
430
431
  bindings?: ({
431
432
  kind: "global";
@@ -495,7 +496,6 @@ declare const variantWorkItemInputSchemas: {
495
496
  path: string;
496
497
  id: string;
497
498
  transport: "file";
498
- label?: string | undefined;
499
499
  mimeType?: string | undefined;
500
500
  references?: {
501
501
  title: string;
@@ -507,6 +507,7 @@ declare const variantWorkItemInputSchemas: {
507
507
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
508
508
  } | undefined;
509
509
  }[] | undefined;
510
+ label?: string | undefined;
510
511
  userIntent?: string | undefined;
511
512
  originalFilename?: string | undefined;
512
513
  } | {
@@ -519,7 +520,6 @@ declare const variantWorkItemInputSchemas: {
519
520
  path: string;
520
521
  id: string;
521
522
  transport: "text";
522
- label?: string | undefined;
523
523
  references?: {
524
524
  title: string;
525
525
  id: string;
@@ -530,6 +530,7 @@ declare const variantWorkItemInputSchemas: {
530
530
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
531
531
  } | undefined;
532
532
  }[] | undefined;
533
+ label?: string | undefined;
533
534
  userIntent?: string | undefined;
534
535
  })[];
535
536
  rivetActions: {
@@ -581,8 +582,8 @@ declare const variantWorkItemInputSchemas: {
581
582
  id: string;
582
583
  originalFilename: string;
583
584
  sizeBytes: number;
584
- label?: string | undefined;
585
585
  mimeType?: string | undefined;
586
+ label?: string | undefined;
586
587
  }[] | undefined;
587
588
  bindings?: ({
588
589
  kind: "global";
@@ -613,6 +614,8 @@ declare const variantWorkItemInputSchemas: {
613
614
  }>;
614
615
  briefBody: z.ZodOptional<z.ZodString>;
615
616
  briefNotes: z.ZodOptional<z.ZodString>;
617
+ directionRef: z.ZodOptional<z.ZodType<DirectionRef, z.ZodTypeDef, DirectionRef>>;
618
+ sourceDirectionRef: z.ZodOptional<z.ZodType<DirectionRef, z.ZodTypeDef, DirectionRef>>;
616
619
  visualReferenceUrl: z.ZodOptional<z.ZodString>;
617
620
  instruction: z.ZodOptional<z.ZodString>;
618
621
  guidance: z.ZodOptional<z.ZodArray<z.ZodType<{
@@ -755,7 +758,6 @@ declare const variantWorkItemInputSchemas: {
755
758
  path: string;
756
759
  id: string;
757
760
  transport: "file";
758
- label?: string | undefined;
759
761
  mimeType?: string | undefined;
760
762
  references?: {
761
763
  title: string;
@@ -767,6 +769,7 @@ declare const variantWorkItemInputSchemas: {
767
769
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
768
770
  } | undefined;
769
771
  }[] | undefined;
772
+ label?: string | undefined;
770
773
  userIntent?: string | undefined;
771
774
  originalFilename?: string | undefined;
772
775
  } | {
@@ -779,7 +782,6 @@ declare const variantWorkItemInputSchemas: {
779
782
  path: string;
780
783
  id: string;
781
784
  transport: "text";
782
- label?: string | undefined;
783
785
  references?: {
784
786
  title: string;
785
787
  id: string;
@@ -790,6 +792,7 @@ declare const variantWorkItemInputSchemas: {
790
792
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
791
793
  } | undefined;
792
794
  }[] | undefined;
795
+ label?: string | undefined;
793
796
  userIntent?: string | undefined;
794
797
  })[];
795
798
  rivetMetadata: ({
@@ -844,8 +847,8 @@ declare const variantWorkItemInputSchemas: {
844
847
  id: string;
845
848
  originalFilename: string;
846
849
  sizeBytes: number;
847
- label?: string | undefined;
848
850
  mimeType?: string | undefined;
851
+ label?: string | undefined;
849
852
  }[] | undefined;
850
853
  executionMode?: "static_preview" | "vite_app" | undefined;
851
854
  }, z.ZodTypeDef, {
@@ -871,7 +874,6 @@ declare const variantWorkItemInputSchemas: {
871
874
  path: string;
872
875
  id: string;
873
876
  transport: "file";
874
- label?: string | undefined;
875
877
  mimeType?: string | undefined;
876
878
  references?: {
877
879
  title: string;
@@ -883,6 +885,7 @@ declare const variantWorkItemInputSchemas: {
883
885
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
884
886
  } | undefined;
885
887
  }[] | undefined;
888
+ label?: string | undefined;
886
889
  userIntent?: string | undefined;
887
890
  originalFilename?: string | undefined;
888
891
  } | {
@@ -895,7 +898,6 @@ declare const variantWorkItemInputSchemas: {
895
898
  path: string;
896
899
  id: string;
897
900
  transport: "text";
898
- label?: string | undefined;
899
901
  references?: {
900
902
  title: string;
901
903
  id: string;
@@ -906,6 +908,7 @@ declare const variantWorkItemInputSchemas: {
906
908
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
907
909
  } | undefined;
908
910
  }[] | undefined;
911
+ label?: string | undefined;
909
912
  userIntent?: string | undefined;
910
913
  })[];
911
914
  rivetMetadata: ({
@@ -960,8 +963,8 @@ declare const variantWorkItemInputSchemas: {
960
963
  id: string;
961
964
  originalFilename: string;
962
965
  sizeBytes: number;
963
- label?: string | undefined;
964
966
  mimeType?: string | undefined;
967
+ label?: string | undefined;
965
968
  }[] | undefined;
966
969
  executionMode?: "static_preview" | "vite_app" | undefined;
967
970
  }>>;
@@ -1015,7 +1018,6 @@ declare const variantWorkItemInputSchemas: {
1015
1018
  path: string;
1016
1019
  id: string;
1017
1020
  transport: "file";
1018
- label?: string | undefined;
1019
1021
  mimeType?: string | undefined;
1020
1022
  references?: {
1021
1023
  title: string;
@@ -1027,6 +1029,7 @@ declare const variantWorkItemInputSchemas: {
1027
1029
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
1028
1030
  } | undefined;
1029
1031
  }[] | undefined;
1032
+ label?: string | undefined;
1030
1033
  userIntent?: string | undefined;
1031
1034
  originalFilename?: string | undefined;
1032
1035
  } | {
@@ -1039,7 +1042,6 @@ declare const variantWorkItemInputSchemas: {
1039
1042
  path: string;
1040
1043
  id: string;
1041
1044
  transport: "text";
1042
- label?: string | undefined;
1043
1045
  references?: {
1044
1046
  title: string;
1045
1047
  id: string;
@@ -1050,6 +1052,7 @@ declare const variantWorkItemInputSchemas: {
1050
1052
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
1051
1053
  } | undefined;
1052
1054
  }[] | undefined;
1055
+ label?: string | undefined;
1053
1056
  userIntent?: string | undefined;
1054
1057
  })[];
1055
1058
  rivetActions: {
@@ -1101,8 +1104,8 @@ declare const variantWorkItemInputSchemas: {
1101
1104
  id: string;
1102
1105
  originalFilename: string;
1103
1106
  sizeBytes: number;
1104
- label?: string | undefined;
1105
1107
  mimeType?: string | undefined;
1108
+ label?: string | undefined;
1106
1109
  }[] | undefined;
1107
1110
  bindings?: ({
1108
1111
  kind: "global";
@@ -1172,7 +1175,6 @@ declare const variantWorkItemInputSchemas: {
1172
1175
  path: string;
1173
1176
  id: string;
1174
1177
  transport: "file";
1175
- label?: string | undefined;
1176
1178
  mimeType?: string | undefined;
1177
1179
  references?: {
1178
1180
  title: string;
@@ -1184,6 +1186,7 @@ declare const variantWorkItemInputSchemas: {
1184
1186
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
1185
1187
  } | undefined;
1186
1188
  }[] | undefined;
1189
+ label?: string | undefined;
1187
1190
  userIntent?: string | undefined;
1188
1191
  originalFilename?: string | undefined;
1189
1192
  } | {
@@ -1196,7 +1199,6 @@ declare const variantWorkItemInputSchemas: {
1196
1199
  path: string;
1197
1200
  id: string;
1198
1201
  transport: "text";
1199
- label?: string | undefined;
1200
1202
  references?: {
1201
1203
  title: string;
1202
1204
  id: string;
@@ -1207,6 +1209,7 @@ declare const variantWorkItemInputSchemas: {
1207
1209
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
1208
1210
  } | undefined;
1209
1211
  }[] | undefined;
1212
+ label?: string | undefined;
1210
1213
  userIntent?: string | undefined;
1211
1214
  })[];
1212
1215
  rivetActions: {
@@ -1258,8 +1261,8 @@ declare const variantWorkItemInputSchemas: {
1258
1261
  id: string;
1259
1262
  originalFilename: string;
1260
1263
  sizeBytes: number;
1261
- label?: string | undefined;
1262
1264
  mimeType?: string | undefined;
1265
+ label?: string | undefined;
1263
1266
  }[] | undefined;
1264
1267
  bindings?: ({
1265
1268
  kind: "global";
@@ -1290,10 +1293,9 @@ declare const variantWorkItemInputSchemas: {
1290
1293
  };
1291
1294
  briefId: string;
1292
1295
  briefLabel: string;
1293
- target?: {
1294
- type: "route" | "file" | "element";
1295
- ref: string;
1296
- } | undefined;
1296
+ variantId?: string | undefined;
1297
+ requestId?: string | undefined;
1298
+ instruction?: string | undefined;
1297
1299
  references?: {
1298
1300
  title: string;
1299
1301
  id: string;
@@ -1304,9 +1306,10 @@ declare const variantWorkItemInputSchemas: {
1304
1306
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
1305
1307
  } | undefined;
1306
1308
  }[] | undefined;
1307
- variantId?: string | undefined;
1308
- requestId?: string | undefined;
1309
- instruction?: string | undefined;
1309
+ target?: {
1310
+ type: "route" | "file" | "element";
1311
+ ref: string;
1312
+ } | undefined;
1310
1313
  context?: {
1311
1314
  brief: {
1312
1315
  label: string;
@@ -1330,7 +1333,6 @@ declare const variantWorkItemInputSchemas: {
1330
1333
  path: string;
1331
1334
  id: string;
1332
1335
  transport: "file";
1333
- label?: string | undefined;
1334
1336
  mimeType?: string | undefined;
1335
1337
  references?: {
1336
1338
  title: string;
@@ -1342,6 +1344,7 @@ declare const variantWorkItemInputSchemas: {
1342
1344
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
1343
1345
  } | undefined;
1344
1346
  }[] | undefined;
1347
+ label?: string | undefined;
1345
1348
  userIntent?: string | undefined;
1346
1349
  originalFilename?: string | undefined;
1347
1350
  } | {
@@ -1354,7 +1357,6 @@ declare const variantWorkItemInputSchemas: {
1354
1357
  path: string;
1355
1358
  id: string;
1356
1359
  transport: "text";
1357
- label?: string | undefined;
1358
1360
  references?: {
1359
1361
  title: string;
1360
1362
  id: string;
@@ -1365,6 +1367,7 @@ declare const variantWorkItemInputSchemas: {
1365
1367
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
1366
1368
  } | undefined;
1367
1369
  }[] | undefined;
1370
+ label?: string | undefined;
1368
1371
  userIntent?: string | undefined;
1369
1372
  })[];
1370
1373
  rivetMetadata: ({
@@ -1419,14 +1422,16 @@ declare const variantWorkItemInputSchemas: {
1419
1422
  id: string;
1420
1423
  originalFilename: string;
1421
1424
  sizeBytes: number;
1422
- label?: string | undefined;
1423
1425
  mimeType?: string | undefined;
1426
+ label?: string | undefined;
1424
1427
  }[] | undefined;
1425
1428
  executionMode?: "static_preview" | "vite_app" | undefined;
1426
1429
  } | undefined;
1427
1430
  workerSelection?: WorkerSelection | undefined;
1428
1431
  briefBody?: string | undefined;
1429
1432
  briefNotes?: string | undefined;
1433
+ directionRef?: DirectionRef | undefined;
1434
+ sourceDirectionRef?: DirectionRef | undefined;
1430
1435
  visualReferenceUrl?: string | undefined;
1431
1436
  guidance?: {
1432
1437
  id: string;
@@ -1515,7 +1520,6 @@ declare const variantWorkItemInputSchemas: {
1515
1520
  path: string;
1516
1521
  id: string;
1517
1522
  transport: "file";
1518
- label?: string | undefined;
1519
1523
  mimeType?: string | undefined;
1520
1524
  references?: {
1521
1525
  title: string;
@@ -1527,6 +1531,7 @@ declare const variantWorkItemInputSchemas: {
1527
1531
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
1528
1532
  } | undefined;
1529
1533
  }[] | undefined;
1534
+ label?: string | undefined;
1530
1535
  userIntent?: string | undefined;
1531
1536
  originalFilename?: string | undefined;
1532
1537
  } | {
@@ -1539,7 +1544,6 @@ declare const variantWorkItemInputSchemas: {
1539
1544
  path: string;
1540
1545
  id: string;
1541
1546
  transport: "text";
1542
- label?: string | undefined;
1543
1547
  references?: {
1544
1548
  title: string;
1545
1549
  id: string;
@@ -1550,6 +1554,7 @@ declare const variantWorkItemInputSchemas: {
1550
1554
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
1551
1555
  } | undefined;
1552
1556
  }[] | undefined;
1557
+ label?: string | undefined;
1553
1558
  userIntent?: string | undefined;
1554
1559
  })[];
1555
1560
  rivetActions: {
@@ -1601,8 +1606,8 @@ declare const variantWorkItemInputSchemas: {
1601
1606
  id: string;
1602
1607
  originalFilename: string;
1603
1608
  sizeBytes: number;
1604
- label?: string | undefined;
1605
1609
  mimeType?: string | undefined;
1610
+ label?: string | undefined;
1606
1611
  }[] | undefined;
1607
1612
  bindings?: ({
1608
1613
  kind: "global";
@@ -1672,7 +1677,6 @@ declare const variantWorkItemInputSchemas: {
1672
1677
  path: string;
1673
1678
  id: string;
1674
1679
  transport: "file";
1675
- label?: string | undefined;
1676
1680
  mimeType?: string | undefined;
1677
1681
  references?: {
1678
1682
  title: string;
@@ -1684,6 +1688,7 @@ declare const variantWorkItemInputSchemas: {
1684
1688
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
1685
1689
  } | undefined;
1686
1690
  }[] | undefined;
1691
+ label?: string | undefined;
1687
1692
  userIntent?: string | undefined;
1688
1693
  originalFilename?: string | undefined;
1689
1694
  } | {
@@ -1696,7 +1701,6 @@ declare const variantWorkItemInputSchemas: {
1696
1701
  path: string;
1697
1702
  id: string;
1698
1703
  transport: "text";
1699
- label?: string | undefined;
1700
1704
  references?: {
1701
1705
  title: string;
1702
1706
  id: string;
@@ -1707,6 +1711,7 @@ declare const variantWorkItemInputSchemas: {
1707
1711
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
1708
1712
  } | undefined;
1709
1713
  }[] | undefined;
1714
+ label?: string | undefined;
1710
1715
  userIntent?: string | undefined;
1711
1716
  })[];
1712
1717
  rivetActions: {
@@ -1758,8 +1763,8 @@ declare const variantWorkItemInputSchemas: {
1758
1763
  id: string;
1759
1764
  originalFilename: string;
1760
1765
  sizeBytes: number;
1761
- label?: string | undefined;
1762
1766
  mimeType?: string | undefined;
1767
+ label?: string | undefined;
1763
1768
  }[] | undefined;
1764
1769
  bindings?: ({
1765
1770
  kind: "global";
@@ -1790,10 +1795,9 @@ declare const variantWorkItemInputSchemas: {
1790
1795
  };
1791
1796
  briefId: string;
1792
1797
  briefLabel: string;
1793
- target?: {
1794
- type: "route" | "file" | "element";
1795
- ref: string;
1796
- } | undefined;
1798
+ variantId?: string | undefined;
1799
+ requestId?: string | undefined;
1800
+ instruction?: string | undefined;
1797
1801
  references?: {
1798
1802
  title: string;
1799
1803
  id: string;
@@ -1804,9 +1808,10 @@ declare const variantWorkItemInputSchemas: {
1804
1808
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
1805
1809
  } | undefined;
1806
1810
  }[] | undefined;
1807
- variantId?: string | undefined;
1808
- requestId?: string | undefined;
1809
- instruction?: string | undefined;
1811
+ target?: {
1812
+ type: "route" | "file" | "element";
1813
+ ref: string;
1814
+ } | undefined;
1810
1815
  context?: {
1811
1816
  brief: {
1812
1817
  label: string;
@@ -1830,7 +1835,6 @@ declare const variantWorkItemInputSchemas: {
1830
1835
  path: string;
1831
1836
  id: string;
1832
1837
  transport: "file";
1833
- label?: string | undefined;
1834
1838
  mimeType?: string | undefined;
1835
1839
  references?: {
1836
1840
  title: string;
@@ -1842,6 +1846,7 @@ declare const variantWorkItemInputSchemas: {
1842
1846
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
1843
1847
  } | undefined;
1844
1848
  }[] | undefined;
1849
+ label?: string | undefined;
1845
1850
  userIntent?: string | undefined;
1846
1851
  originalFilename?: string | undefined;
1847
1852
  } | {
@@ -1854,7 +1859,6 @@ declare const variantWorkItemInputSchemas: {
1854
1859
  path: string;
1855
1860
  id: string;
1856
1861
  transport: "text";
1857
- label?: string | undefined;
1858
1862
  references?: {
1859
1863
  title: string;
1860
1864
  id: string;
@@ -1865,6 +1869,7 @@ declare const variantWorkItemInputSchemas: {
1865
1869
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
1866
1870
  } | undefined;
1867
1871
  }[] | undefined;
1872
+ label?: string | undefined;
1868
1873
  userIntent?: string | undefined;
1869
1874
  })[];
1870
1875
  rivetMetadata: ({
@@ -1919,14 +1924,16 @@ declare const variantWorkItemInputSchemas: {
1919
1924
  id: string;
1920
1925
  originalFilename: string;
1921
1926
  sizeBytes: number;
1922
- label?: string | undefined;
1923
1927
  mimeType?: string | undefined;
1928
+ label?: string | undefined;
1924
1929
  }[] | undefined;
1925
1930
  executionMode?: "static_preview" | "vite_app" | undefined;
1926
1931
  } | undefined;
1927
1932
  workerSelection?: WorkerSelection | undefined;
1928
1933
  briefBody?: string | undefined;
1929
1934
  briefNotes?: string | undefined;
1935
+ directionRef?: DirectionRef | undefined;
1936
+ sourceDirectionRef?: DirectionRef | undefined;
1930
1937
  visualReferenceUrl?: string | undefined;
1931
1938
  guidance?: {
1932
1939
  id: string;
@@ -2017,7 +2024,6 @@ declare const variantWorkItemInputSchemas: {
2017
2024
  path: string;
2018
2025
  id: string;
2019
2026
  transport: "file";
2020
- label?: string | undefined;
2021
2027
  mimeType?: string | undefined;
2022
2028
  references?: {
2023
2029
  title: string;
@@ -2029,6 +2035,7 @@ declare const variantWorkItemInputSchemas: {
2029
2035
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
2030
2036
  } | undefined;
2031
2037
  }[] | undefined;
2038
+ label?: string | undefined;
2032
2039
  userIntent?: string | undefined;
2033
2040
  originalFilename?: string | undefined;
2034
2041
  } | {
@@ -2041,7 +2048,6 @@ declare const variantWorkItemInputSchemas: {
2041
2048
  path: string;
2042
2049
  id: string;
2043
2050
  transport: "text";
2044
- label?: string | undefined;
2045
2051
  references?: {
2046
2052
  title: string;
2047
2053
  id: string;
@@ -2052,6 +2058,7 @@ declare const variantWorkItemInputSchemas: {
2052
2058
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
2053
2059
  } | undefined;
2054
2060
  }[] | undefined;
2061
+ label?: string | undefined;
2055
2062
  userIntent?: string | undefined;
2056
2063
  })[];
2057
2064
  rivetActions: {
@@ -2103,8 +2110,8 @@ declare const variantWorkItemInputSchemas: {
2103
2110
  id: string;
2104
2111
  originalFilename: string;
2105
2112
  sizeBytes: number;
2106
- label?: string | undefined;
2107
2113
  mimeType?: string | undefined;
2114
+ label?: string | undefined;
2108
2115
  }[] | undefined;
2109
2116
  bindings?: ({
2110
2117
  kind: "global";
@@ -2174,7 +2181,6 @@ declare const variantWorkItemInputSchemas: {
2174
2181
  path: string;
2175
2182
  id: string;
2176
2183
  transport: "file";
2177
- label?: string | undefined;
2178
2184
  mimeType?: string | undefined;
2179
2185
  references?: {
2180
2186
  title: string;
@@ -2186,6 +2192,7 @@ declare const variantWorkItemInputSchemas: {
2186
2192
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
2187
2193
  } | undefined;
2188
2194
  }[] | undefined;
2195
+ label?: string | undefined;
2189
2196
  userIntent?: string | undefined;
2190
2197
  originalFilename?: string | undefined;
2191
2198
  } | {
@@ -2198,7 +2205,6 @@ declare const variantWorkItemInputSchemas: {
2198
2205
  path: string;
2199
2206
  id: string;
2200
2207
  transport: "text";
2201
- label?: string | undefined;
2202
2208
  references?: {
2203
2209
  title: string;
2204
2210
  id: string;
@@ -2209,6 +2215,7 @@ declare const variantWorkItemInputSchemas: {
2209
2215
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
2210
2216
  } | undefined;
2211
2217
  }[] | undefined;
2218
+ label?: string | undefined;
2212
2219
  userIntent?: string | undefined;
2213
2220
  })[];
2214
2221
  rivetActions: {
@@ -2260,8 +2267,8 @@ declare const variantWorkItemInputSchemas: {
2260
2267
  id: string;
2261
2268
  originalFilename: string;
2262
2269
  sizeBytes: number;
2263
- label?: string | undefined;
2264
2270
  mimeType?: string | undefined;
2271
+ label?: string | undefined;
2265
2272
  }[] | undefined;
2266
2273
  bindings?: ({
2267
2274
  kind: "global";
@@ -2318,7 +2325,6 @@ declare const variantWorkItemInputSchemas: {
2318
2325
  path: string;
2319
2326
  id: string;
2320
2327
  transport: "file";
2321
- label?: string | undefined;
2322
2328
  mimeType?: string | undefined;
2323
2329
  references?: {
2324
2330
  title: string;
@@ -2330,6 +2336,7 @@ declare const variantWorkItemInputSchemas: {
2330
2336
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
2331
2337
  } | undefined;
2332
2338
  }[] | undefined;
2339
+ label?: string | undefined;
2333
2340
  userIntent?: string | undefined;
2334
2341
  originalFilename?: string | undefined;
2335
2342
  } | {
@@ -2342,7 +2349,6 @@ declare const variantWorkItemInputSchemas: {
2342
2349
  path: string;
2343
2350
  id: string;
2344
2351
  transport: "text";
2345
- label?: string | undefined;
2346
2352
  references?: {
2347
2353
  title: string;
2348
2354
  id: string;
@@ -2353,6 +2359,7 @@ declare const variantWorkItemInputSchemas: {
2353
2359
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
2354
2360
  } | undefined;
2355
2361
  }[] | undefined;
2362
+ label?: string | undefined;
2356
2363
  userIntent?: string | undefined;
2357
2364
  })[];
2358
2365
  rivetActions: {
@@ -2404,8 +2411,8 @@ declare const variantWorkItemInputSchemas: {
2404
2411
  id: string;
2405
2412
  originalFilename: string;
2406
2413
  sizeBytes: number;
2407
- label?: string | undefined;
2408
2414
  mimeType?: string | undefined;
2415
+ label?: string | undefined;
2409
2416
  }[] | undefined;
2410
2417
  bindings?: ({
2411
2418
  kind: "global";
@@ -2475,7 +2482,6 @@ declare const variantWorkItemInputSchemas: {
2475
2482
  path: string;
2476
2483
  id: string;
2477
2484
  transport: "file";
2478
- label?: string | undefined;
2479
2485
  mimeType?: string | undefined;
2480
2486
  references?: {
2481
2487
  title: string;
@@ -2487,6 +2493,7 @@ declare const variantWorkItemInputSchemas: {
2487
2493
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
2488
2494
  } | undefined;
2489
2495
  }[] | undefined;
2496
+ label?: string | undefined;
2490
2497
  userIntent?: string | undefined;
2491
2498
  originalFilename?: string | undefined;
2492
2499
  } | {
@@ -2499,7 +2506,6 @@ declare const variantWorkItemInputSchemas: {
2499
2506
  path: string;
2500
2507
  id: string;
2501
2508
  transport: "text";
2502
- label?: string | undefined;
2503
2509
  references?: {
2504
2510
  title: string;
2505
2511
  id: string;
@@ -2510,6 +2516,7 @@ declare const variantWorkItemInputSchemas: {
2510
2516
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
2511
2517
  } | undefined;
2512
2518
  }[] | undefined;
2519
+ label?: string | undefined;
2513
2520
  userIntent?: string | undefined;
2514
2521
  })[];
2515
2522
  rivetActions: {
@@ -2561,8 +2568,8 @@ declare const variantWorkItemInputSchemas: {
2561
2568
  id: string;
2562
2569
  originalFilename: string;
2563
2570
  sizeBytes: number;
2564
- label?: string | undefined;
2565
2571
  mimeType?: string | undefined;
2572
+ label?: string | undefined;
2566
2573
  }[] | undefined;
2567
2574
  bindings?: ({
2568
2575
  kind: "global";
@@ -2595,6 +2602,8 @@ declare const variantWorkItemInputSchemas: {
2595
2602
  briefLabel: z.ZodOptional<z.ZodString>;
2596
2603
  briefBody: z.ZodOptional<z.ZodString>;
2597
2604
  briefNotes: z.ZodOptional<z.ZodString>;
2605
+ directionRef: z.ZodOptional<z.ZodType<DirectionRef, z.ZodTypeDef, DirectionRef>>;
2606
+ sourceDirectionRef: z.ZodOptional<z.ZodType<DirectionRef, z.ZodTypeDef, DirectionRef>>;
2598
2607
  visualReferenceUrl: z.ZodOptional<z.ZodString>;
2599
2608
  guidance: z.ZodOptional<z.ZodArray<z.ZodType<{
2600
2609
  id: string;
@@ -2735,7 +2744,6 @@ declare const variantWorkItemInputSchemas: {
2735
2744
  path: string;
2736
2745
  id: string;
2737
2746
  transport: "file";
2738
- label?: string | undefined;
2739
2747
  mimeType?: string | undefined;
2740
2748
  references?: {
2741
2749
  title: string;
@@ -2747,6 +2755,7 @@ declare const variantWorkItemInputSchemas: {
2747
2755
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
2748
2756
  } | undefined;
2749
2757
  }[] | undefined;
2758
+ label?: string | undefined;
2750
2759
  userIntent?: string | undefined;
2751
2760
  originalFilename?: string | undefined;
2752
2761
  } | {
@@ -2759,7 +2768,6 @@ declare const variantWorkItemInputSchemas: {
2759
2768
  path: string;
2760
2769
  id: string;
2761
2770
  transport: "text";
2762
- label?: string | undefined;
2763
2771
  references?: {
2764
2772
  title: string;
2765
2773
  id: string;
@@ -2770,6 +2778,7 @@ declare const variantWorkItemInputSchemas: {
2770
2778
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
2771
2779
  } | undefined;
2772
2780
  }[] | undefined;
2781
+ label?: string | undefined;
2773
2782
  userIntent?: string | undefined;
2774
2783
  })[];
2775
2784
  rivetMetadata: ({
@@ -2824,8 +2833,8 @@ declare const variantWorkItemInputSchemas: {
2824
2833
  id: string;
2825
2834
  originalFilename: string;
2826
2835
  sizeBytes: number;
2827
- label?: string | undefined;
2828
2836
  mimeType?: string | undefined;
2837
+ label?: string | undefined;
2829
2838
  }[] | undefined;
2830
2839
  executionMode?: "static_preview" | "vite_app" | undefined;
2831
2840
  }, z.ZodTypeDef, {
@@ -2851,7 +2860,6 @@ declare const variantWorkItemInputSchemas: {
2851
2860
  path: string;
2852
2861
  id: string;
2853
2862
  transport: "file";
2854
- label?: string | undefined;
2855
2863
  mimeType?: string | undefined;
2856
2864
  references?: {
2857
2865
  title: string;
@@ -2863,6 +2871,7 @@ declare const variantWorkItemInputSchemas: {
2863
2871
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
2864
2872
  } | undefined;
2865
2873
  }[] | undefined;
2874
+ label?: string | undefined;
2866
2875
  userIntent?: string | undefined;
2867
2876
  originalFilename?: string | undefined;
2868
2877
  } | {
@@ -2875,7 +2884,6 @@ declare const variantWorkItemInputSchemas: {
2875
2884
  path: string;
2876
2885
  id: string;
2877
2886
  transport: "text";
2878
- label?: string | undefined;
2879
2887
  references?: {
2880
2888
  title: string;
2881
2889
  id: string;
@@ -2886,6 +2894,7 @@ declare const variantWorkItemInputSchemas: {
2886
2894
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
2887
2895
  } | undefined;
2888
2896
  }[] | undefined;
2897
+ label?: string | undefined;
2889
2898
  userIntent?: string | undefined;
2890
2899
  })[];
2891
2900
  rivetMetadata: ({
@@ -2940,8 +2949,8 @@ declare const variantWorkItemInputSchemas: {
2940
2949
  id: string;
2941
2950
  originalFilename: string;
2942
2951
  sizeBytes: number;
2943
- label?: string | undefined;
2944
2952
  mimeType?: string | undefined;
2953
+ label?: string | undefined;
2945
2954
  }[] | undefined;
2946
2955
  executionMode?: "static_preview" | "vite_app" | undefined;
2947
2956
  }>>;
@@ -2997,7 +3006,6 @@ declare const variantWorkItemInputSchemas: {
2997
3006
  path: string;
2998
3007
  id: string;
2999
3008
  transport: "file";
3000
- label?: string | undefined;
3001
3009
  mimeType?: string | undefined;
3002
3010
  references?: {
3003
3011
  title: string;
@@ -3009,6 +3017,7 @@ declare const variantWorkItemInputSchemas: {
3009
3017
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
3010
3018
  } | undefined;
3011
3019
  }[] | undefined;
3020
+ label?: string | undefined;
3012
3021
  userIntent?: string | undefined;
3013
3022
  originalFilename?: string | undefined;
3014
3023
  } | {
@@ -3021,7 +3030,6 @@ declare const variantWorkItemInputSchemas: {
3021
3030
  path: string;
3022
3031
  id: string;
3023
3032
  transport: "text";
3024
- label?: string | undefined;
3025
3033
  references?: {
3026
3034
  title: string;
3027
3035
  id: string;
@@ -3032,6 +3040,7 @@ declare const variantWorkItemInputSchemas: {
3032
3040
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
3033
3041
  } | undefined;
3034
3042
  }[] | undefined;
3043
+ label?: string | undefined;
3035
3044
  userIntent?: string | undefined;
3036
3045
  })[];
3037
3046
  rivetActions: {
@@ -3083,8 +3092,8 @@ declare const variantWorkItemInputSchemas: {
3083
3092
  id: string;
3084
3093
  originalFilename: string;
3085
3094
  sizeBytes: number;
3086
- label?: string | undefined;
3087
3095
  mimeType?: string | undefined;
3096
+ label?: string | undefined;
3088
3097
  }[] | undefined;
3089
3098
  bindings?: ({
3090
3099
  kind: "global";
@@ -3154,7 +3163,6 @@ declare const variantWorkItemInputSchemas: {
3154
3163
  path: string;
3155
3164
  id: string;
3156
3165
  transport: "file";
3157
- label?: string | undefined;
3158
3166
  mimeType?: string | undefined;
3159
3167
  references?: {
3160
3168
  title: string;
@@ -3166,6 +3174,7 @@ declare const variantWorkItemInputSchemas: {
3166
3174
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
3167
3175
  } | undefined;
3168
3176
  }[] | undefined;
3177
+ label?: string | undefined;
3169
3178
  userIntent?: string | undefined;
3170
3179
  originalFilename?: string | undefined;
3171
3180
  } | {
@@ -3178,7 +3187,6 @@ declare const variantWorkItemInputSchemas: {
3178
3187
  path: string;
3179
3188
  id: string;
3180
3189
  transport: "text";
3181
- label?: string | undefined;
3182
3190
  references?: {
3183
3191
  title: string;
3184
3192
  id: string;
@@ -3189,6 +3197,7 @@ declare const variantWorkItemInputSchemas: {
3189
3197
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
3190
3198
  } | undefined;
3191
3199
  }[] | undefined;
3200
+ label?: string | undefined;
3192
3201
  userIntent?: string | undefined;
3193
3202
  })[];
3194
3203
  rivetActions: {
@@ -3240,8 +3249,8 @@ declare const variantWorkItemInputSchemas: {
3240
3249
  id: string;
3241
3250
  originalFilename: string;
3242
3251
  sizeBytes: number;
3243
- label?: string | undefined;
3244
3252
  mimeType?: string | undefined;
3253
+ label?: string | undefined;
3245
3254
  }[] | undefined;
3246
3255
  bindings?: ({
3247
3256
  kind: "global";
@@ -3270,10 +3279,7 @@ declare const variantWorkItemInputSchemas: {
3270
3279
  } | undefined;
3271
3280
  assetSourceRoot?: string | undefined;
3272
3281
  };
3273
- target?: {
3274
- type: "route" | "file" | "element";
3275
- ref: string;
3276
- } | undefined;
3282
+ requestId?: string | undefined;
3277
3283
  references?: {
3278
3284
  title: string;
3279
3285
  id: string;
@@ -3284,7 +3290,10 @@ declare const variantWorkItemInputSchemas: {
3284
3290
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
3285
3291
  } | undefined;
3286
3292
  }[] | undefined;
3287
- requestId?: string | undefined;
3293
+ target?: {
3294
+ type: "route" | "file" | "element";
3295
+ ref: string;
3296
+ } | undefined;
3288
3297
  context?: {
3289
3298
  brief: {
3290
3299
  label: string;
@@ -3308,7 +3317,6 @@ declare const variantWorkItemInputSchemas: {
3308
3317
  path: string;
3309
3318
  id: string;
3310
3319
  transport: "file";
3311
- label?: string | undefined;
3312
3320
  mimeType?: string | undefined;
3313
3321
  references?: {
3314
3322
  title: string;
@@ -3320,6 +3328,7 @@ declare const variantWorkItemInputSchemas: {
3320
3328
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
3321
3329
  } | undefined;
3322
3330
  }[] | undefined;
3331
+ label?: string | undefined;
3323
3332
  userIntent?: string | undefined;
3324
3333
  originalFilename?: string | undefined;
3325
3334
  } | {
@@ -3332,7 +3341,6 @@ declare const variantWorkItemInputSchemas: {
3332
3341
  path: string;
3333
3342
  id: string;
3334
3343
  transport: "text";
3335
- label?: string | undefined;
3336
3344
  references?: {
3337
3345
  title: string;
3338
3346
  id: string;
@@ -3343,6 +3351,7 @@ declare const variantWorkItemInputSchemas: {
3343
3351
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
3344
3352
  } | undefined;
3345
3353
  }[] | undefined;
3354
+ label?: string | undefined;
3346
3355
  userIntent?: string | undefined;
3347
3356
  })[];
3348
3357
  rivetMetadata: ({
@@ -3397,8 +3406,8 @@ declare const variantWorkItemInputSchemas: {
3397
3406
  id: string;
3398
3407
  originalFilename: string;
3399
3408
  sizeBytes: number;
3400
- label?: string | undefined;
3401
3409
  mimeType?: string | undefined;
3410
+ label?: string | undefined;
3402
3411
  }[] | undefined;
3403
3412
  executionMode?: "static_preview" | "vite_app" | undefined;
3404
3413
  } | undefined;
@@ -3407,6 +3416,8 @@ declare const variantWorkItemInputSchemas: {
3407
3416
  briefLabel?: string | undefined;
3408
3417
  briefBody?: string | undefined;
3409
3418
  briefNotes?: string | undefined;
3419
+ directionRef?: DirectionRef | undefined;
3420
+ sourceDirectionRef?: DirectionRef | undefined;
3410
3421
  visualReferenceUrl?: string | undefined;
3411
3422
  guidance?: {
3412
3423
  id: string;
@@ -3497,7 +3508,6 @@ declare const variantWorkItemInputSchemas: {
3497
3508
  path: string;
3498
3509
  id: string;
3499
3510
  transport: "file";
3500
- label?: string | undefined;
3501
3511
  mimeType?: string | undefined;
3502
3512
  references?: {
3503
3513
  title: string;
@@ -3509,6 +3519,7 @@ declare const variantWorkItemInputSchemas: {
3509
3519
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
3510
3520
  } | undefined;
3511
3521
  }[] | undefined;
3522
+ label?: string | undefined;
3512
3523
  userIntent?: string | undefined;
3513
3524
  originalFilename?: string | undefined;
3514
3525
  } | {
@@ -3521,7 +3532,6 @@ declare const variantWorkItemInputSchemas: {
3521
3532
  path: string;
3522
3533
  id: string;
3523
3534
  transport: "text";
3524
- label?: string | undefined;
3525
3535
  references?: {
3526
3536
  title: string;
3527
3537
  id: string;
@@ -3532,6 +3542,7 @@ declare const variantWorkItemInputSchemas: {
3532
3542
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
3533
3543
  } | undefined;
3534
3544
  }[] | undefined;
3545
+ label?: string | undefined;
3535
3546
  userIntent?: string | undefined;
3536
3547
  })[];
3537
3548
  rivetActions: {
@@ -3583,8 +3594,8 @@ declare const variantWorkItemInputSchemas: {
3583
3594
  id: string;
3584
3595
  originalFilename: string;
3585
3596
  sizeBytes: number;
3586
- label?: string | undefined;
3587
3597
  mimeType?: string | undefined;
3598
+ label?: string | undefined;
3588
3599
  }[] | undefined;
3589
3600
  bindings?: ({
3590
3601
  kind: "global";
@@ -3654,7 +3665,6 @@ declare const variantWorkItemInputSchemas: {
3654
3665
  path: string;
3655
3666
  id: string;
3656
3667
  transport: "file";
3657
- label?: string | undefined;
3658
3668
  mimeType?: string | undefined;
3659
3669
  references?: {
3660
3670
  title: string;
@@ -3666,6 +3676,7 @@ declare const variantWorkItemInputSchemas: {
3666
3676
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
3667
3677
  } | undefined;
3668
3678
  }[] | undefined;
3679
+ label?: string | undefined;
3669
3680
  userIntent?: string | undefined;
3670
3681
  originalFilename?: string | undefined;
3671
3682
  } | {
@@ -3678,7 +3689,6 @@ declare const variantWorkItemInputSchemas: {
3678
3689
  path: string;
3679
3690
  id: string;
3680
3691
  transport: "text";
3681
- label?: string | undefined;
3682
3692
  references?: {
3683
3693
  title: string;
3684
3694
  id: string;
@@ -3689,6 +3699,7 @@ declare const variantWorkItemInputSchemas: {
3689
3699
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
3690
3700
  } | undefined;
3691
3701
  }[] | undefined;
3702
+ label?: string | undefined;
3692
3703
  userIntent?: string | undefined;
3693
3704
  })[];
3694
3705
  rivetActions: {
@@ -3740,8 +3751,8 @@ declare const variantWorkItemInputSchemas: {
3740
3751
  id: string;
3741
3752
  originalFilename: string;
3742
3753
  sizeBytes: number;
3743
- label?: string | undefined;
3744
3754
  mimeType?: string | undefined;
3755
+ label?: string | undefined;
3745
3756
  }[] | undefined;
3746
3757
  bindings?: ({
3747
3758
  kind: "global";
@@ -3770,10 +3781,7 @@ declare const variantWorkItemInputSchemas: {
3770
3781
  } | undefined;
3771
3782
  assetSourceRoot?: string | undefined;
3772
3783
  };
3773
- target?: {
3774
- type: "route" | "file" | "element";
3775
- ref: string;
3776
- } | undefined;
3784
+ requestId?: string | undefined;
3777
3785
  references?: {
3778
3786
  title: string;
3779
3787
  id: string;
@@ -3784,7 +3792,10 @@ declare const variantWorkItemInputSchemas: {
3784
3792
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
3785
3793
  } | undefined;
3786
3794
  }[] | undefined;
3787
- requestId?: string | undefined;
3795
+ target?: {
3796
+ type: "route" | "file" | "element";
3797
+ ref: string;
3798
+ } | undefined;
3788
3799
  context?: {
3789
3800
  brief: {
3790
3801
  label: string;
@@ -3808,7 +3819,6 @@ declare const variantWorkItemInputSchemas: {
3808
3819
  path: string;
3809
3820
  id: string;
3810
3821
  transport: "file";
3811
- label?: string | undefined;
3812
3822
  mimeType?: string | undefined;
3813
3823
  references?: {
3814
3824
  title: string;
@@ -3820,6 +3830,7 @@ declare const variantWorkItemInputSchemas: {
3820
3830
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
3821
3831
  } | undefined;
3822
3832
  }[] | undefined;
3833
+ label?: string | undefined;
3823
3834
  userIntent?: string | undefined;
3824
3835
  originalFilename?: string | undefined;
3825
3836
  } | {
@@ -3832,7 +3843,6 @@ declare const variantWorkItemInputSchemas: {
3832
3843
  path: string;
3833
3844
  id: string;
3834
3845
  transport: "text";
3835
- label?: string | undefined;
3836
3846
  references?: {
3837
3847
  title: string;
3838
3848
  id: string;
@@ -3843,6 +3853,7 @@ declare const variantWorkItemInputSchemas: {
3843
3853
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
3844
3854
  } | undefined;
3845
3855
  }[] | undefined;
3856
+ label?: string | undefined;
3846
3857
  userIntent?: string | undefined;
3847
3858
  })[];
3848
3859
  rivetMetadata: ({
@@ -3897,8 +3908,8 @@ declare const variantWorkItemInputSchemas: {
3897
3908
  id: string;
3898
3909
  originalFilename: string;
3899
3910
  sizeBytes: number;
3900
- label?: string | undefined;
3901
3911
  mimeType?: string | undefined;
3912
+ label?: string | undefined;
3902
3913
  }[] | undefined;
3903
3914
  executionMode?: "static_preview" | "vite_app" | undefined;
3904
3915
  } | undefined;
@@ -3907,6 +3918,8 @@ declare const variantWorkItemInputSchemas: {
3907
3918
  briefLabel?: string | undefined;
3908
3919
  briefBody?: string | undefined;
3909
3920
  briefNotes?: string | undefined;
3921
+ directionRef?: DirectionRef | undefined;
3922
+ sourceDirectionRef?: DirectionRef | undefined;
3910
3923
  visualReferenceUrl?: string | undefined;
3911
3924
  guidance?: {
3912
3925
  id: string;
@@ -3997,7 +4010,6 @@ declare const variantWorkItemInputSchemas: {
3997
4010
  path: string;
3998
4011
  id: string;
3999
4012
  transport: "file";
4000
- label?: string | undefined;
4001
4013
  mimeType?: string | undefined;
4002
4014
  references?: {
4003
4015
  title: string;
@@ -4009,6 +4021,7 @@ declare const variantWorkItemInputSchemas: {
4009
4021
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
4010
4022
  } | undefined;
4011
4023
  }[] | undefined;
4024
+ label?: string | undefined;
4012
4025
  userIntent?: string | undefined;
4013
4026
  originalFilename?: string | undefined;
4014
4027
  } | {
@@ -4021,7 +4034,6 @@ declare const variantWorkItemInputSchemas: {
4021
4034
  path: string;
4022
4035
  id: string;
4023
4036
  transport: "text";
4024
- label?: string | undefined;
4025
4037
  references?: {
4026
4038
  title: string;
4027
4039
  id: string;
@@ -4032,6 +4044,7 @@ declare const variantWorkItemInputSchemas: {
4032
4044
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
4033
4045
  } | undefined;
4034
4046
  }[] | undefined;
4047
+ label?: string | undefined;
4035
4048
  userIntent?: string | undefined;
4036
4049
  })[];
4037
4050
  rivetActions: {
@@ -4083,8 +4096,8 @@ declare const variantWorkItemInputSchemas: {
4083
4096
  id: string;
4084
4097
  originalFilename: string;
4085
4098
  sizeBytes: number;
4086
- label?: string | undefined;
4087
4099
  mimeType?: string | undefined;
4100
+ label?: string | undefined;
4088
4101
  }[] | undefined;
4089
4102
  bindings?: ({
4090
4103
  kind: "global";
@@ -4154,7 +4167,6 @@ declare const variantWorkItemInputSchemas: {
4154
4167
  path: string;
4155
4168
  id: string;
4156
4169
  transport: "file";
4157
- label?: string | undefined;
4158
4170
  mimeType?: string | undefined;
4159
4171
  references?: {
4160
4172
  title: string;
@@ -4166,6 +4178,7 @@ declare const variantWorkItemInputSchemas: {
4166
4178
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
4167
4179
  } | undefined;
4168
4180
  }[] | undefined;
4181
+ label?: string | undefined;
4169
4182
  userIntent?: string | undefined;
4170
4183
  originalFilename?: string | undefined;
4171
4184
  } | {
@@ -4178,7 +4191,6 @@ declare const variantWorkItemInputSchemas: {
4178
4191
  path: string;
4179
4192
  id: string;
4180
4193
  transport: "text";
4181
- label?: string | undefined;
4182
4194
  references?: {
4183
4195
  title: string;
4184
4196
  id: string;
@@ -4189,6 +4201,7 @@ declare const variantWorkItemInputSchemas: {
4189
4201
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
4190
4202
  } | undefined;
4191
4203
  }[] | undefined;
4204
+ label?: string | undefined;
4192
4205
  userIntent?: string | undefined;
4193
4206
  })[];
4194
4207
  rivetActions: {
@@ -4240,8 +4253,8 @@ declare const variantWorkItemInputSchemas: {
4240
4253
  id: string;
4241
4254
  originalFilename: string;
4242
4255
  sizeBytes: number;
4243
- label?: string | undefined;
4244
4256
  mimeType?: string | undefined;
4257
+ label?: string | undefined;
4245
4258
  }[] | undefined;
4246
4259
  bindings?: ({
4247
4260
  kind: "global";
@@ -4298,7 +4311,6 @@ declare const variantWorkItemInputSchemas: {
4298
4311
  path: string;
4299
4312
  id: string;
4300
4313
  transport: "file";
4301
- label?: string | undefined;
4302
4314
  mimeType?: string | undefined;
4303
4315
  references?: {
4304
4316
  title: string;
@@ -4310,6 +4322,7 @@ declare const variantWorkItemInputSchemas: {
4310
4322
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
4311
4323
  } | undefined;
4312
4324
  }[] | undefined;
4325
+ label?: string | undefined;
4313
4326
  userIntent?: string | undefined;
4314
4327
  originalFilename?: string | undefined;
4315
4328
  } | {
@@ -4322,7 +4335,6 @@ declare const variantWorkItemInputSchemas: {
4322
4335
  path: string;
4323
4336
  id: string;
4324
4337
  transport: "text";
4325
- label?: string | undefined;
4326
4338
  references?: {
4327
4339
  title: string;
4328
4340
  id: string;
@@ -4333,6 +4345,7 @@ declare const variantWorkItemInputSchemas: {
4333
4345
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
4334
4346
  } | undefined;
4335
4347
  }[] | undefined;
4348
+ label?: string | undefined;
4336
4349
  userIntent?: string | undefined;
4337
4350
  })[];
4338
4351
  rivetActions: {
@@ -4384,8 +4397,8 @@ declare const variantWorkItemInputSchemas: {
4384
4397
  id: string;
4385
4398
  originalFilename: string;
4386
4399
  sizeBytes: number;
4387
- label?: string | undefined;
4388
4400
  mimeType?: string | undefined;
4401
+ label?: string | undefined;
4389
4402
  }[] | undefined;
4390
4403
  bindings?: ({
4391
4404
  kind: "global";
@@ -4455,7 +4468,6 @@ declare const variantWorkItemInputSchemas: {
4455
4468
  path: string;
4456
4469
  id: string;
4457
4470
  transport: "file";
4458
- label?: string | undefined;
4459
4471
  mimeType?: string | undefined;
4460
4472
  references?: {
4461
4473
  title: string;
@@ -4467,6 +4479,7 @@ declare const variantWorkItemInputSchemas: {
4467
4479
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
4468
4480
  } | undefined;
4469
4481
  }[] | undefined;
4482
+ label?: string | undefined;
4470
4483
  userIntent?: string | undefined;
4471
4484
  originalFilename?: string | undefined;
4472
4485
  } | {
@@ -4479,7 +4492,6 @@ declare const variantWorkItemInputSchemas: {
4479
4492
  path: string;
4480
4493
  id: string;
4481
4494
  transport: "text";
4482
- label?: string | undefined;
4483
4495
  references?: {
4484
4496
  title: string;
4485
4497
  id: string;
@@ -4490,6 +4502,7 @@ declare const variantWorkItemInputSchemas: {
4490
4502
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
4491
4503
  } | undefined;
4492
4504
  }[] | undefined;
4505
+ label?: string | undefined;
4493
4506
  userIntent?: string | undefined;
4494
4507
  })[];
4495
4508
  rivetActions: {
@@ -4541,8 +4554,8 @@ declare const variantWorkItemInputSchemas: {
4541
4554
  id: string;
4542
4555
  originalFilename: string;
4543
4556
  sizeBytes: number;
4544
- label?: string | undefined;
4545
4557
  mimeType?: string | undefined;
4558
+ label?: string | undefined;
4546
4559
  }[] | undefined;
4547
4560
  bindings?: ({
4548
4561
  kind: "global";
@@ -4572,6 +4585,8 @@ declare const variantWorkItemInputSchemas: {
4572
4585
  assetSourceRoot?: string | undefined;
4573
4586
  }>;
4574
4587
  briefNotes: z.ZodOptional<z.ZodString>;
4588
+ directionRef: z.ZodOptional<z.ZodType<DirectionRef, z.ZodTypeDef, DirectionRef>>;
4589
+ sourceDirectionRef: z.ZodOptional<z.ZodType<DirectionRef, z.ZodTypeDef, DirectionRef>>;
4575
4590
  visualReferenceUrl: z.ZodOptional<z.ZodString>;
4576
4591
  instruction: z.ZodOptional<z.ZodString>;
4577
4592
  guidance: z.ZodOptional<z.ZodArray<z.ZodType<{
@@ -4714,7 +4729,6 @@ declare const variantWorkItemInputSchemas: {
4714
4729
  path: string;
4715
4730
  id: string;
4716
4731
  transport: "file";
4717
- label?: string | undefined;
4718
4732
  mimeType?: string | undefined;
4719
4733
  references?: {
4720
4734
  title: string;
@@ -4726,6 +4740,7 @@ declare const variantWorkItemInputSchemas: {
4726
4740
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
4727
4741
  } | undefined;
4728
4742
  }[] | undefined;
4743
+ label?: string | undefined;
4729
4744
  userIntent?: string | undefined;
4730
4745
  originalFilename?: string | undefined;
4731
4746
  } | {
@@ -4738,7 +4753,6 @@ declare const variantWorkItemInputSchemas: {
4738
4753
  path: string;
4739
4754
  id: string;
4740
4755
  transport: "text";
4741
- label?: string | undefined;
4742
4756
  references?: {
4743
4757
  title: string;
4744
4758
  id: string;
@@ -4749,6 +4763,7 @@ declare const variantWorkItemInputSchemas: {
4749
4763
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
4750
4764
  } | undefined;
4751
4765
  }[] | undefined;
4766
+ label?: string | undefined;
4752
4767
  userIntent?: string | undefined;
4753
4768
  })[];
4754
4769
  rivetMetadata: ({
@@ -4803,8 +4818,8 @@ declare const variantWorkItemInputSchemas: {
4803
4818
  id: string;
4804
4819
  originalFilename: string;
4805
4820
  sizeBytes: number;
4806
- label?: string | undefined;
4807
4821
  mimeType?: string | undefined;
4822
+ label?: string | undefined;
4808
4823
  }[] | undefined;
4809
4824
  executionMode?: "static_preview" | "vite_app" | undefined;
4810
4825
  }, z.ZodTypeDef, {
@@ -4830,7 +4845,6 @@ declare const variantWorkItemInputSchemas: {
4830
4845
  path: string;
4831
4846
  id: string;
4832
4847
  transport: "file";
4833
- label?: string | undefined;
4834
4848
  mimeType?: string | undefined;
4835
4849
  references?: {
4836
4850
  title: string;
@@ -4842,6 +4856,7 @@ declare const variantWorkItemInputSchemas: {
4842
4856
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
4843
4857
  } | undefined;
4844
4858
  }[] | undefined;
4859
+ label?: string | undefined;
4845
4860
  userIntent?: string | undefined;
4846
4861
  originalFilename?: string | undefined;
4847
4862
  } | {
@@ -4854,7 +4869,6 @@ declare const variantWorkItemInputSchemas: {
4854
4869
  path: string;
4855
4870
  id: string;
4856
4871
  transport: "text";
4857
- label?: string | undefined;
4858
4872
  references?: {
4859
4873
  title: string;
4860
4874
  id: string;
@@ -4865,6 +4879,7 @@ declare const variantWorkItemInputSchemas: {
4865
4879
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
4866
4880
  } | undefined;
4867
4881
  }[] | undefined;
4882
+ label?: string | undefined;
4868
4883
  userIntent?: string | undefined;
4869
4884
  })[];
4870
4885
  rivetMetadata: ({
@@ -4919,8 +4934,8 @@ declare const variantWorkItemInputSchemas: {
4919
4934
  id: string;
4920
4935
  originalFilename: string;
4921
4936
  sizeBytes: number;
4922
- label?: string | undefined;
4923
4937
  mimeType?: string | undefined;
4938
+ label?: string | undefined;
4924
4939
  }[] | undefined;
4925
4940
  executionMode?: "static_preview" | "vite_app" | undefined;
4926
4941
  }>>;
@@ -4975,7 +4990,6 @@ declare const variantWorkItemInputSchemas: {
4975
4990
  path: string;
4976
4991
  id: string;
4977
4992
  transport: "file";
4978
- label?: string | undefined;
4979
4993
  mimeType?: string | undefined;
4980
4994
  references?: {
4981
4995
  title: string;
@@ -4987,6 +5001,7 @@ declare const variantWorkItemInputSchemas: {
4987
5001
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
4988
5002
  } | undefined;
4989
5003
  }[] | undefined;
5004
+ label?: string | undefined;
4990
5005
  userIntent?: string | undefined;
4991
5006
  originalFilename?: string | undefined;
4992
5007
  } | {
@@ -4999,7 +5014,6 @@ declare const variantWorkItemInputSchemas: {
4999
5014
  path: string;
5000
5015
  id: string;
5001
5016
  transport: "text";
5002
- label?: string | undefined;
5003
5017
  references?: {
5004
5018
  title: string;
5005
5019
  id: string;
@@ -5010,6 +5024,7 @@ declare const variantWorkItemInputSchemas: {
5010
5024
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
5011
5025
  } | undefined;
5012
5026
  }[] | undefined;
5027
+ label?: string | undefined;
5013
5028
  userIntent?: string | undefined;
5014
5029
  })[];
5015
5030
  rivetActions: {
@@ -5061,8 +5076,8 @@ declare const variantWorkItemInputSchemas: {
5061
5076
  id: string;
5062
5077
  originalFilename: string;
5063
5078
  sizeBytes: number;
5064
- label?: string | undefined;
5065
5079
  mimeType?: string | undefined;
5080
+ label?: string | undefined;
5066
5081
  }[] | undefined;
5067
5082
  bindings?: ({
5068
5083
  kind: "global";
@@ -5132,7 +5147,6 @@ declare const variantWorkItemInputSchemas: {
5132
5147
  path: string;
5133
5148
  id: string;
5134
5149
  transport: "file";
5135
- label?: string | undefined;
5136
5150
  mimeType?: string | undefined;
5137
5151
  references?: {
5138
5152
  title: string;
@@ -5144,6 +5158,7 @@ declare const variantWorkItemInputSchemas: {
5144
5158
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
5145
5159
  } | undefined;
5146
5160
  }[] | undefined;
5161
+ label?: string | undefined;
5147
5162
  userIntent?: string | undefined;
5148
5163
  originalFilename?: string | undefined;
5149
5164
  } | {
@@ -5156,7 +5171,6 @@ declare const variantWorkItemInputSchemas: {
5156
5171
  path: string;
5157
5172
  id: string;
5158
5173
  transport: "text";
5159
- label?: string | undefined;
5160
5174
  references?: {
5161
5175
  title: string;
5162
5176
  id: string;
@@ -5167,6 +5181,7 @@ declare const variantWorkItemInputSchemas: {
5167
5181
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
5168
5182
  } | undefined;
5169
5183
  }[] | undefined;
5184
+ label?: string | undefined;
5170
5185
  userIntent?: string | undefined;
5171
5186
  })[];
5172
5187
  rivetActions: {
@@ -5218,8 +5233,8 @@ declare const variantWorkItemInputSchemas: {
5218
5233
  id: string;
5219
5234
  originalFilename: string;
5220
5235
  sizeBytes: number;
5221
- label?: string | undefined;
5222
5236
  mimeType?: string | undefined;
5237
+ label?: string | undefined;
5223
5238
  }[] | undefined;
5224
5239
  bindings?: ({
5225
5240
  kind: "global";
@@ -5251,10 +5266,9 @@ declare const variantWorkItemInputSchemas: {
5251
5266
  briefId: string;
5252
5267
  briefLabel: string;
5253
5268
  briefBody: string;
5254
- target?: {
5255
- type: "route" | "file" | "element";
5256
- ref: string;
5257
- } | undefined;
5269
+ variantId?: string | undefined;
5270
+ requestId?: string | undefined;
5271
+ instruction?: string | undefined;
5258
5272
  references?: {
5259
5273
  title: string;
5260
5274
  id: string;
@@ -5265,9 +5279,10 @@ declare const variantWorkItemInputSchemas: {
5265
5279
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
5266
5280
  } | undefined;
5267
5281
  }[] | undefined;
5268
- variantId?: string | undefined;
5269
- requestId?: string | undefined;
5270
- instruction?: string | undefined;
5282
+ target?: {
5283
+ type: "route" | "file" | "element";
5284
+ ref: string;
5285
+ } | undefined;
5271
5286
  context?: {
5272
5287
  brief: {
5273
5288
  label: string;
@@ -5291,7 +5306,6 @@ declare const variantWorkItemInputSchemas: {
5291
5306
  path: string;
5292
5307
  id: string;
5293
5308
  transport: "file";
5294
- label?: string | undefined;
5295
5309
  mimeType?: string | undefined;
5296
5310
  references?: {
5297
5311
  title: string;
@@ -5303,6 +5317,7 @@ declare const variantWorkItemInputSchemas: {
5303
5317
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
5304
5318
  } | undefined;
5305
5319
  }[] | undefined;
5320
+ label?: string | undefined;
5306
5321
  userIntent?: string | undefined;
5307
5322
  originalFilename?: string | undefined;
5308
5323
  } | {
@@ -5315,7 +5330,6 @@ declare const variantWorkItemInputSchemas: {
5315
5330
  path: string;
5316
5331
  id: string;
5317
5332
  transport: "text";
5318
- label?: string | undefined;
5319
5333
  references?: {
5320
5334
  title: string;
5321
5335
  id: string;
@@ -5326,6 +5340,7 @@ declare const variantWorkItemInputSchemas: {
5326
5340
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
5327
5341
  } | undefined;
5328
5342
  }[] | undefined;
5343
+ label?: string | undefined;
5329
5344
  userIntent?: string | undefined;
5330
5345
  })[];
5331
5346
  rivetMetadata: ({
@@ -5380,13 +5395,15 @@ declare const variantWorkItemInputSchemas: {
5380
5395
  id: string;
5381
5396
  originalFilename: string;
5382
5397
  sizeBytes: number;
5383
- label?: string | undefined;
5384
5398
  mimeType?: string | undefined;
5399
+ label?: string | undefined;
5385
5400
  }[] | undefined;
5386
5401
  executionMode?: "static_preview" | "vite_app" | undefined;
5387
5402
  } | undefined;
5388
5403
  workerSelection?: WorkerSelection | undefined;
5389
5404
  briefNotes?: string | undefined;
5405
+ directionRef?: DirectionRef | undefined;
5406
+ sourceDirectionRef?: DirectionRef | undefined;
5390
5407
  visualReferenceUrl?: string | undefined;
5391
5408
  guidance?: {
5392
5409
  id: string;
@@ -5475,7 +5492,6 @@ declare const variantWorkItemInputSchemas: {
5475
5492
  path: string;
5476
5493
  id: string;
5477
5494
  transport: "file";
5478
- label?: string | undefined;
5479
5495
  mimeType?: string | undefined;
5480
5496
  references?: {
5481
5497
  title: string;
@@ -5487,6 +5503,7 @@ declare const variantWorkItemInputSchemas: {
5487
5503
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
5488
5504
  } | undefined;
5489
5505
  }[] | undefined;
5506
+ label?: string | undefined;
5490
5507
  userIntent?: string | undefined;
5491
5508
  originalFilename?: string | undefined;
5492
5509
  } | {
@@ -5499,7 +5516,6 @@ declare const variantWorkItemInputSchemas: {
5499
5516
  path: string;
5500
5517
  id: string;
5501
5518
  transport: "text";
5502
- label?: string | undefined;
5503
5519
  references?: {
5504
5520
  title: string;
5505
5521
  id: string;
@@ -5510,6 +5526,7 @@ declare const variantWorkItemInputSchemas: {
5510
5526
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
5511
5527
  } | undefined;
5512
5528
  }[] | undefined;
5529
+ label?: string | undefined;
5513
5530
  userIntent?: string | undefined;
5514
5531
  })[];
5515
5532
  rivetActions: {
@@ -5561,8 +5578,8 @@ declare const variantWorkItemInputSchemas: {
5561
5578
  id: string;
5562
5579
  originalFilename: string;
5563
5580
  sizeBytes: number;
5564
- label?: string | undefined;
5565
5581
  mimeType?: string | undefined;
5582
+ label?: string | undefined;
5566
5583
  }[] | undefined;
5567
5584
  bindings?: ({
5568
5585
  kind: "global";
@@ -5632,7 +5649,6 @@ declare const variantWorkItemInputSchemas: {
5632
5649
  path: string;
5633
5650
  id: string;
5634
5651
  transport: "file";
5635
- label?: string | undefined;
5636
5652
  mimeType?: string | undefined;
5637
5653
  references?: {
5638
5654
  title: string;
@@ -5644,6 +5660,7 @@ declare const variantWorkItemInputSchemas: {
5644
5660
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
5645
5661
  } | undefined;
5646
5662
  }[] | undefined;
5663
+ label?: string | undefined;
5647
5664
  userIntent?: string | undefined;
5648
5665
  originalFilename?: string | undefined;
5649
5666
  } | {
@@ -5656,7 +5673,6 @@ declare const variantWorkItemInputSchemas: {
5656
5673
  path: string;
5657
5674
  id: string;
5658
5675
  transport: "text";
5659
- label?: string | undefined;
5660
5676
  references?: {
5661
5677
  title: string;
5662
5678
  id: string;
@@ -5667,6 +5683,7 @@ declare const variantWorkItemInputSchemas: {
5667
5683
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
5668
5684
  } | undefined;
5669
5685
  }[] | undefined;
5686
+ label?: string | undefined;
5670
5687
  userIntent?: string | undefined;
5671
5688
  })[];
5672
5689
  rivetActions: {
@@ -5718,8 +5735,8 @@ declare const variantWorkItemInputSchemas: {
5718
5735
  id: string;
5719
5736
  originalFilename: string;
5720
5737
  sizeBytes: number;
5721
- label?: string | undefined;
5722
5738
  mimeType?: string | undefined;
5739
+ label?: string | undefined;
5723
5740
  }[] | undefined;
5724
5741
  bindings?: ({
5725
5742
  kind: "global";
@@ -5751,10 +5768,9 @@ declare const variantWorkItemInputSchemas: {
5751
5768
  briefId: string;
5752
5769
  briefLabel: string;
5753
5770
  briefBody: string;
5754
- target?: {
5755
- type: "route" | "file" | "element";
5756
- ref: string;
5757
- } | undefined;
5771
+ variantId?: string | undefined;
5772
+ requestId?: string | undefined;
5773
+ instruction?: string | undefined;
5758
5774
  references?: {
5759
5775
  title: string;
5760
5776
  id: string;
@@ -5765,9 +5781,10 @@ declare const variantWorkItemInputSchemas: {
5765
5781
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
5766
5782
  } | undefined;
5767
5783
  }[] | undefined;
5768
- variantId?: string | undefined;
5769
- requestId?: string | undefined;
5770
- instruction?: string | undefined;
5784
+ target?: {
5785
+ type: "route" | "file" | "element";
5786
+ ref: string;
5787
+ } | undefined;
5771
5788
  context?: {
5772
5789
  brief: {
5773
5790
  label: string;
@@ -5791,7 +5808,6 @@ declare const variantWorkItemInputSchemas: {
5791
5808
  path: string;
5792
5809
  id: string;
5793
5810
  transport: "file";
5794
- label?: string | undefined;
5795
5811
  mimeType?: string | undefined;
5796
5812
  references?: {
5797
5813
  title: string;
@@ -5803,6 +5819,7 @@ declare const variantWorkItemInputSchemas: {
5803
5819
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
5804
5820
  } | undefined;
5805
5821
  }[] | undefined;
5822
+ label?: string | undefined;
5806
5823
  userIntent?: string | undefined;
5807
5824
  originalFilename?: string | undefined;
5808
5825
  } | {
@@ -5815,7 +5832,6 @@ declare const variantWorkItemInputSchemas: {
5815
5832
  path: string;
5816
5833
  id: string;
5817
5834
  transport: "text";
5818
- label?: string | undefined;
5819
5835
  references?: {
5820
5836
  title: string;
5821
5837
  id: string;
@@ -5826,6 +5842,7 @@ declare const variantWorkItemInputSchemas: {
5826
5842
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
5827
5843
  } | undefined;
5828
5844
  }[] | undefined;
5845
+ label?: string | undefined;
5829
5846
  userIntent?: string | undefined;
5830
5847
  })[];
5831
5848
  rivetMetadata: ({
@@ -5880,13 +5897,15 @@ declare const variantWorkItemInputSchemas: {
5880
5897
  id: string;
5881
5898
  originalFilename: string;
5882
5899
  sizeBytes: number;
5883
- label?: string | undefined;
5884
5900
  mimeType?: string | undefined;
5901
+ label?: string | undefined;
5885
5902
  }[] | undefined;
5886
5903
  executionMode?: "static_preview" | "vite_app" | undefined;
5887
5904
  } | undefined;
5888
5905
  workerSelection?: WorkerSelection | undefined;
5889
5906
  briefNotes?: string | undefined;
5907
+ directionRef?: DirectionRef | undefined;
5908
+ sourceDirectionRef?: DirectionRef | undefined;
5890
5909
  visualReferenceUrl?: string | undefined;
5891
5910
  guidance?: {
5892
5911
  id: string;
@@ -5951,6 +5970,9 @@ export type VariantWorkItemInputByKind = {
5951
5970
  [Kind in VariantWorkItemKind]: z.infer<(typeof variantWorkItemInputSchemas)[Kind]>;
5952
5971
  };
5953
5972
  export type VariantWorkItemInput = VariantWorkItemInputByKind[VariantWorkItemKind];
5973
+ export declare const shownDirectionRef: (input: Pick<VariantWorkItemInput, "directionRef" | "sourceDirectionRef">) => {
5974
+ directionRef?: DirectionRef;
5975
+ };
5954
5976
  export declare const parseVariantWorkItemInput: <Kind extends VariantWorkItemKind>(item: {
5955
5977
  id: string;
5956
5978
  kind: Kind;