rivet-design 0.11.13 → 0.11.14

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 (76) hide show
  1. package/dist/config/flags.d.ts +1 -1
  2. package/dist/config/flags.js +1 -1
  3. package/dist/config/proxy.d.ts +6 -0
  4. package/dist/config/proxy.d.ts.map +1 -1
  5. package/dist/config/proxy.js +36 -19
  6. package/dist/config/proxy.js.map +1 -1
  7. package/dist/install/harnesses.d.ts.map +1 -1
  8. package/dist/install/harnesses.js +78 -42
  9. package/dist/install/harnesses.js.map +1 -1
  10. package/dist/mcp/agent-variants/WorktreeOrchestrator.d.ts +29 -0
  11. package/dist/mcp/agent-variants/WorktreeOrchestrator.d.ts.map +1 -1
  12. package/dist/mcp/agent-variants/WorktreeOrchestrator.js +472 -8
  13. package/dist/mcp/agent-variants/WorktreeOrchestrator.js.map +1 -1
  14. package/dist/mcp/agent-variants/WorktreeOrchestrator.testHelpers.d.ts.map +1 -1
  15. package/dist/mcp/agent-variants/WorktreeOrchestrator.testHelpers.js +64 -0
  16. package/dist/mcp/agent-variants/WorktreeOrchestrator.testHelpers.js.map +1 -1
  17. package/dist/mcp/agent-variants/contracts.d.ts +378 -378
  18. package/dist/mcp/agent-variants/tools.d.ts +29 -1
  19. package/dist/mcp/agent-variants/tools.d.ts.map +1 -1
  20. package/dist/mcp/agent-variants/tools.js +142 -13
  21. package/dist/mcp/agent-variants/tools.js.map +1 -1
  22. package/dist/mcp/auth/tools.d.ts.map +1 -1
  23. package/dist/mcp/auth/tools.js +68 -2
  24. package/dist/mcp/auth/tools.js.map +1 -1
  25. package/dist/mcp/server.d.ts +54 -2
  26. package/dist/mcp/server.d.ts.map +1 -1
  27. package/dist/mcp/server.js +190 -41
  28. package/dist/mcp/server.js.map +1 -1
  29. package/dist/mcp/toolAnalytics.d.ts +15 -0
  30. package/dist/mcp/toolAnalytics.d.ts.map +1 -0
  31. package/dist/mcp/toolAnalytics.js +87 -0
  32. package/dist/mcp/toolAnalytics.js.map +1 -0
  33. package/dist/onboarding/signin.d.ts +10 -0
  34. package/dist/onboarding/signin.d.ts.map +1 -1
  35. package/dist/onboarding/signin.js +41 -3
  36. package/dist/onboarding/signin.js.map +1 -1
  37. package/dist/routes/agentVariants.d.ts +2 -2
  38. package/dist/routes/agentVariants.d.ts.map +1 -1
  39. package/dist/routes/agentVariants.js +12 -7
  40. package/dist/routes/agentVariants.js.map +1 -1
  41. package/dist/routes/mcp.d.ts.map +1 -1
  42. package/dist/routes/mcp.js +153 -2
  43. package/dist/routes/mcp.js.map +1 -1
  44. package/dist/server.d.ts +6 -0
  45. package/dist/server.d.ts.map +1 -1
  46. package/dist/server.js +52 -37
  47. package/dist/server.js.map +1 -1
  48. package/dist/services/BridgeBatchPipeline.d.ts +4 -0
  49. package/dist/services/BridgeBatchPipeline.d.ts.map +1 -1
  50. package/dist/services/BridgeBatchPipeline.js +18 -1
  51. package/dist/services/BridgeBatchPipeline.js.map +1 -1
  52. package/dist/services/MCPOnboardingTelemetry.d.ts +41 -0
  53. package/dist/services/MCPOnboardingTelemetry.d.ts.map +1 -0
  54. package/dist/services/MCPOnboardingTelemetry.js +158 -0
  55. package/dist/services/MCPOnboardingTelemetry.js.map +1 -0
  56. package/dist/services/MCPVariantsTelemetry.d.ts +59 -0
  57. package/dist/services/MCPVariantsTelemetry.d.ts.map +1 -0
  58. package/dist/services/MCPVariantsTelemetry.js +153 -0
  59. package/dist/services/MCPVariantsTelemetry.js.map +1 -0
  60. package/dist/services/SessionBridgeService.d.ts +28 -7
  61. package/dist/services/SessionBridgeService.d.ts.map +1 -1
  62. package/dist/services/SessionBridgeService.js +46 -9
  63. package/dist/services/SessionBridgeService.js.map +1 -1
  64. package/dist/services/TelemetryService.d.ts +108 -0
  65. package/dist/services/TelemetryService.d.ts.map +1 -1
  66. package/dist/services/TelemetryService.js +269 -1
  67. package/dist/services/TelemetryService.js.map +1 -1
  68. package/dist/services/WorktreeManager.d.ts.map +1 -1
  69. package/dist/services/WorktreeManager.js +3 -0
  70. package/dist/services/WorktreeManager.js.map +1 -1
  71. package/package.json +2 -2
  72. package/src/ui/dist/assets/main-CNVy90lr.css +1 -0
  73. package/src/ui/dist/assets/main-tL2Lt1OL.js +655 -0
  74. package/src/ui/dist/index.html +2 -2
  75. package/src/ui/dist/assets/main-DREt3GGU.css +0 -1
  76. package/src/ui/dist/assets/main-Dt7ShmjM.js +0 -655
@@ -172,12 +172,12 @@ export declare const rawUserContextSourceSchema: z.ZodDiscriminatedUnion<"transp
172
172
  transport: z.ZodLiteral<"prompt">;
173
173
  path: z.ZodString;
174
174
  }, "strip", z.ZodTypeAny, {
175
- id: string;
176
175
  path: string;
176
+ id: string;
177
177
  transport: "prompt";
178
178
  }, {
179
- id: string;
180
179
  path: string;
180
+ id: string;
181
181
  transport: "prompt";
182
182
  }>, z.ZodObject<{
183
183
  id: z.ZodString;
@@ -186,14 +186,14 @@ export declare const rawUserContextSourceSchema: z.ZodDiscriminatedUnion<"transp
186
186
  label: z.ZodOptional<z.ZodString>;
187
187
  userIntent: z.ZodOptional<z.ZodString>;
188
188
  }, "strip", z.ZodTypeAny, {
189
- id: string;
190
189
  url: string;
190
+ id: string;
191
191
  transport: "url";
192
192
  label?: string | undefined;
193
193
  userIntent?: string | undefined;
194
194
  }, {
195
- id: string;
196
195
  url: string;
196
+ id: string;
197
197
  transport: "url";
198
198
  label?: string | undefined;
199
199
  userIntent?: string | undefined;
@@ -206,16 +206,16 @@ export declare const rawUserContextSourceSchema: z.ZodDiscriminatedUnion<"transp
206
206
  label: z.ZodOptional<z.ZodString>;
207
207
  userIntent: z.ZodOptional<z.ZodString>;
208
208
  }, "strip", z.ZodTypeAny, {
209
- id: string;
210
209
  path: string;
210
+ id: string;
211
211
  transport: "file";
212
212
  label?: string | undefined;
213
213
  userIntent?: string | undefined;
214
214
  mimeType?: string | undefined;
215
215
  originalFilename?: string | undefined;
216
216
  }, {
217
- id: string;
218
217
  path: string;
218
+ id: string;
219
219
  transport: "file";
220
220
  label?: string | undefined;
221
221
  userIntent?: string | undefined;
@@ -228,14 +228,14 @@ export declare const rawUserContextSourceSchema: z.ZodDiscriminatedUnion<"transp
228
228
  label: z.ZodOptional<z.ZodString>;
229
229
  userIntent: z.ZodOptional<z.ZodString>;
230
230
  }, "strip", z.ZodTypeAny, {
231
- id: string;
232
231
  path: string;
232
+ id: string;
233
233
  transport: "directory";
234
234
  label?: string | undefined;
235
235
  userIntent?: string | undefined;
236
236
  }, {
237
- id: string;
238
237
  path: string;
238
+ id: string;
239
239
  transport: "directory";
240
240
  label?: string | undefined;
241
241
  userIntent?: string | undefined;
@@ -246,14 +246,14 @@ export declare const rawUserContextSourceSchema: z.ZodDiscriminatedUnion<"transp
246
246
  label: z.ZodOptional<z.ZodString>;
247
247
  userIntent: z.ZodOptional<z.ZodString>;
248
248
  }, "strip", z.ZodTypeAny, {
249
- id: string;
250
249
  path: string;
250
+ id: string;
251
251
  transport: "text";
252
252
  label?: string | undefined;
253
253
  userIntent?: string | undefined;
254
254
  }, {
255
- id: string;
256
255
  path: string;
256
+ id: string;
257
257
  transport: "text";
258
258
  label?: string | undefined;
259
259
  userIntent?: string | undefined;
@@ -264,12 +264,12 @@ export declare const storedUserContextSourceRecordSchema: z.ZodObject<{
264
264
  transport: z.ZodLiteral<"prompt">;
265
265
  path: z.ZodString;
266
266
  }, "strip", z.ZodTypeAny, {
267
- id: string;
268
267
  path: string;
268
+ id: string;
269
269
  transport: "prompt";
270
270
  }, {
271
- id: string;
272
271
  path: string;
272
+ id: string;
273
273
  transport: "prompt";
274
274
  }>, z.ZodObject<{
275
275
  id: z.ZodString;
@@ -278,14 +278,14 @@ export declare const storedUserContextSourceRecordSchema: z.ZodObject<{
278
278
  label: z.ZodOptional<z.ZodString>;
279
279
  userIntent: z.ZodOptional<z.ZodString>;
280
280
  }, "strip", z.ZodTypeAny, {
281
- id: string;
282
281
  url: string;
282
+ id: string;
283
283
  transport: "url";
284
284
  label?: string | undefined;
285
285
  userIntent?: string | undefined;
286
286
  }, {
287
- id: string;
288
287
  url: string;
288
+ id: string;
289
289
  transport: "url";
290
290
  label?: string | undefined;
291
291
  userIntent?: string | undefined;
@@ -298,16 +298,16 @@ export declare const storedUserContextSourceRecordSchema: z.ZodObject<{
298
298
  label: z.ZodOptional<z.ZodString>;
299
299
  userIntent: z.ZodOptional<z.ZodString>;
300
300
  }, "strip", z.ZodTypeAny, {
301
- id: string;
302
301
  path: string;
302
+ id: string;
303
303
  transport: "file";
304
304
  label?: string | undefined;
305
305
  userIntent?: string | undefined;
306
306
  mimeType?: string | undefined;
307
307
  originalFilename?: string | undefined;
308
308
  }, {
309
- id: string;
310
309
  path: string;
310
+ id: string;
311
311
  transport: "file";
312
312
  label?: string | undefined;
313
313
  userIntent?: string | undefined;
@@ -320,14 +320,14 @@ export declare const storedUserContextSourceRecordSchema: z.ZodObject<{
320
320
  label: z.ZodOptional<z.ZodString>;
321
321
  userIntent: z.ZodOptional<z.ZodString>;
322
322
  }, "strip", z.ZodTypeAny, {
323
- id: string;
324
323
  path: string;
324
+ id: string;
325
325
  transport: "directory";
326
326
  label?: string | undefined;
327
327
  userIntent?: string | undefined;
328
328
  }, {
329
- id: string;
330
329
  path: string;
330
+ id: string;
331
331
  transport: "directory";
332
332
  label?: string | undefined;
333
333
  userIntent?: string | undefined;
@@ -338,14 +338,14 @@ export declare const storedUserContextSourceRecordSchema: z.ZodObject<{
338
338
  label: z.ZodOptional<z.ZodString>;
339
339
  userIntent: z.ZodOptional<z.ZodString>;
340
340
  }, "strip", z.ZodTypeAny, {
341
- id: string;
342
341
  path: string;
342
+ id: string;
343
343
  transport: "text";
344
344
  label?: string | undefined;
345
345
  userIntent?: string | undefined;
346
346
  }, {
347
- id: string;
348
347
  path: string;
348
+ id: string;
349
349
  transport: "text";
350
350
  label?: string | undefined;
351
351
  userIntent?: string | undefined;
@@ -365,32 +365,32 @@ export declare const storedUserContextSourceRecordSchema: z.ZodObject<{
365
365
  }>>;
366
366
  }, "strip", z.ZodTypeAny, {
367
367
  source: {
368
- id: string;
369
368
  path: string;
369
+ id: string;
370
370
  transport: "prompt";
371
371
  } | {
372
- id: string;
373
372
  url: string;
373
+ id: string;
374
374
  transport: "url";
375
375
  label?: string | undefined;
376
376
  userIntent?: string | undefined;
377
377
  } | {
378
- id: string;
379
378
  path: string;
379
+ id: string;
380
380
  transport: "file";
381
381
  label?: string | undefined;
382
382
  userIntent?: string | undefined;
383
383
  mimeType?: string | undefined;
384
384
  originalFilename?: string | undefined;
385
385
  } | {
386
- id: string;
387
386
  path: string;
387
+ id: string;
388
388
  transport: "directory";
389
389
  label?: string | undefined;
390
390
  userIntent?: string | undefined;
391
391
  } | {
392
- id: string;
393
392
  path: string;
393
+ id: string;
394
394
  transport: "text";
395
395
  label?: string | undefined;
396
396
  userIntent?: string | undefined;
@@ -402,32 +402,32 @@ export declare const storedUserContextSourceRecordSchema: z.ZodObject<{
402
402
  } | undefined;
403
403
  }, {
404
404
  source: {
405
- id: string;
406
405
  path: string;
406
+ id: string;
407
407
  transport: "prompt";
408
408
  } | {
409
- id: string;
410
409
  url: string;
410
+ id: string;
411
411
  transport: "url";
412
412
  label?: string | undefined;
413
413
  userIntent?: string | undefined;
414
414
  } | {
415
- id: string;
416
415
  path: string;
416
+ id: string;
417
417
  transport: "file";
418
418
  label?: string | undefined;
419
419
  userIntent?: string | undefined;
420
420
  mimeType?: string | undefined;
421
421
  originalFilename?: string | undefined;
422
422
  } | {
423
- id: string;
424
423
  path: string;
424
+ id: string;
425
425
  transport: "directory";
426
426
  label?: string | undefined;
427
427
  userIntent?: string | undefined;
428
428
  } | {
429
- id: string;
430
429
  path: string;
430
+ id: string;
431
431
  transport: "text";
432
432
  label?: string | undefined;
433
433
  userIntent?: string | undefined;
@@ -466,13 +466,13 @@ export declare const sourcePlanActionOptionSchema: z.ZodObject<{
466
466
  instructions: z.ZodString;
467
467
  }, "strip", z.ZodTypeAny, {
468
468
  kind: "extract_design_system" | "describe_motion";
469
- sourceTransports: ("text" | "url" | "file" | "prompt" | "directory")[];
469
+ sourceTransports: ("text" | "file" | "prompt" | "url" | "directory")[];
470
470
  capability: "extract_inspiration_context" | "rivet_describe_motion";
471
471
  produces: "design_system" | "motion_guidance";
472
472
  instructions: string;
473
473
  }, {
474
474
  kind: "extract_design_system" | "describe_motion";
475
- sourceTransports: ("text" | "url" | "file" | "prompt" | "directory")[];
475
+ sourceTransports: ("text" | "file" | "prompt" | "url" | "directory")[];
476
476
  capability: "extract_inspiration_context" | "rivet_describe_motion";
477
477
  produces: "design_system" | "motion_guidance";
478
478
  instructions: string;
@@ -682,12 +682,12 @@ export declare const assetPlanEntrySchema: z.ZodObject<{
682
682
  destination: z.ZodString;
683
683
  referenceAs: z.ZodString;
684
684
  }, "strip", z.ZodTypeAny, {
685
- source: string;
686
685
  destination: string;
686
+ source: string;
687
687
  referenceAs: string;
688
688
  }, {
689
- source: string;
690
689
  destination: string;
690
+ source: string;
691
691
  referenceAs: string;
692
692
  }>;
693
693
  export declare const executionCapabilityPlanSchema: z.ZodObject<{
@@ -699,12 +699,12 @@ export declare const executionCapabilityPlanSchema: z.ZodObject<{
699
699
  destination: z.ZodString;
700
700
  referenceAs: z.ZodString;
701
701
  }, "strip", z.ZodTypeAny, {
702
- source: string;
703
702
  destination: string;
703
+ source: string;
704
704
  referenceAs: string;
705
705
  }, {
706
- source: string;
707
706
  destination: string;
707
+ source: string;
708
708
  referenceAs: string;
709
709
  }>, "many">>;
710
710
  runtimeRequirements: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
@@ -714,8 +714,8 @@ export declare const executionCapabilityPlanSchema: z.ZodObject<{
714
714
  reason: string;
715
715
  confidence: "low" | "medium" | "high";
716
716
  assetPlan?: {
717
- source: string;
718
717
  destination: string;
718
+ source: string;
719
719
  referenceAs: string;
720
720
  }[] | undefined;
721
721
  runtimeRequirements?: string[] | undefined;
@@ -725,8 +725,8 @@ export declare const executionCapabilityPlanSchema: z.ZodObject<{
725
725
  reason: string;
726
726
  confidence: "low" | "medium" | "high";
727
727
  assetPlan?: {
728
- source: string;
729
728
  destination: string;
729
+ source: string;
730
730
  referenceAs: string;
731
731
  }[] | undefined;
732
732
  runtimeRequirements?: string[] | undefined;
@@ -745,12 +745,12 @@ export declare const variantContextBundleSchema: z.ZodObject<{
745
745
  transport: z.ZodLiteral<"prompt">;
746
746
  path: z.ZodString;
747
747
  }, "strip", z.ZodTypeAny, {
748
- id: string;
749
748
  path: string;
749
+ id: string;
750
750
  transport: "prompt";
751
751
  }, {
752
- id: string;
753
752
  path: string;
753
+ id: string;
754
754
  transport: "prompt";
755
755
  }>, z.ZodObject<{
756
756
  id: z.ZodString;
@@ -759,14 +759,14 @@ export declare const variantContextBundleSchema: z.ZodObject<{
759
759
  label: z.ZodOptional<z.ZodString>;
760
760
  userIntent: z.ZodOptional<z.ZodString>;
761
761
  }, "strip", z.ZodTypeAny, {
762
- id: string;
763
762
  url: string;
763
+ id: string;
764
764
  transport: "url";
765
765
  label?: string | undefined;
766
766
  userIntent?: string | undefined;
767
767
  }, {
768
- id: string;
769
768
  url: string;
769
+ id: string;
770
770
  transport: "url";
771
771
  label?: string | undefined;
772
772
  userIntent?: string | undefined;
@@ -779,16 +779,16 @@ export declare const variantContextBundleSchema: z.ZodObject<{
779
779
  label: z.ZodOptional<z.ZodString>;
780
780
  userIntent: z.ZodOptional<z.ZodString>;
781
781
  }, "strip", z.ZodTypeAny, {
782
- id: string;
783
782
  path: string;
783
+ id: string;
784
784
  transport: "file";
785
785
  label?: string | undefined;
786
786
  userIntent?: string | undefined;
787
787
  mimeType?: string | undefined;
788
788
  originalFilename?: string | undefined;
789
789
  }, {
790
- id: string;
791
790
  path: string;
791
+ id: string;
792
792
  transport: "file";
793
793
  label?: string | undefined;
794
794
  userIntent?: string | undefined;
@@ -801,14 +801,14 @@ export declare const variantContextBundleSchema: z.ZodObject<{
801
801
  label: z.ZodOptional<z.ZodString>;
802
802
  userIntent: z.ZodOptional<z.ZodString>;
803
803
  }, "strip", z.ZodTypeAny, {
804
- id: string;
805
804
  path: string;
805
+ id: string;
806
806
  transport: "directory";
807
807
  label?: string | undefined;
808
808
  userIntent?: string | undefined;
809
809
  }, {
810
- id: string;
811
810
  path: string;
811
+ id: string;
812
812
  transport: "directory";
813
813
  label?: string | undefined;
814
814
  userIntent?: string | undefined;
@@ -819,14 +819,14 @@ export declare const variantContextBundleSchema: z.ZodObject<{
819
819
  label: z.ZodOptional<z.ZodString>;
820
820
  userIntent: z.ZodOptional<z.ZodString>;
821
821
  }, "strip", z.ZodTypeAny, {
822
- id: string;
823
822
  path: string;
823
+ id: string;
824
824
  transport: "text";
825
825
  label?: string | undefined;
826
826
  userIntent?: string | undefined;
827
827
  }, {
828
- id: string;
829
828
  path: string;
829
+ id: string;
830
830
  transport: "text";
831
831
  label?: string | undefined;
832
832
  userIntent?: string | undefined;
@@ -1050,12 +1050,12 @@ export declare const variantContextBundleSchema: z.ZodObject<{
1050
1050
  destination: z.ZodString;
1051
1051
  referenceAs: z.ZodString;
1052
1052
  }, "strip", z.ZodTypeAny, {
1053
- source: string;
1054
1053
  destination: string;
1054
+ source: string;
1055
1055
  referenceAs: string;
1056
1056
  }, {
1057
- source: string;
1058
1057
  destination: string;
1058
+ source: string;
1059
1059
  referenceAs: string;
1060
1060
  }>, "many">>;
1061
1061
  runtimeRequirements: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
@@ -1065,8 +1065,8 @@ export declare const variantContextBundleSchema: z.ZodObject<{
1065
1065
  reason: string;
1066
1066
  confidence: "low" | "medium" | "high";
1067
1067
  assetPlan?: {
1068
- source: string;
1069
1068
  destination: string;
1069
+ source: string;
1070
1070
  referenceAs: string;
1071
1071
  }[] | undefined;
1072
1072
  runtimeRequirements?: string[] | undefined;
@@ -1076,8 +1076,8 @@ export declare const variantContextBundleSchema: z.ZodObject<{
1076
1076
  reason: string;
1077
1077
  confidence: "low" | "medium" | "high";
1078
1078
  assetPlan?: {
1079
- source: string;
1080
1079
  destination: string;
1080
+ source: string;
1081
1081
  referenceAs: string;
1082
1082
  }[] | undefined;
1083
1083
  runtimeRequirements?: string[] | undefined;
@@ -1088,32 +1088,32 @@ export declare const variantContextBundleSchema: z.ZodObject<{
1088
1088
  version: 1;
1089
1089
  contextBundlePath: string;
1090
1090
  userContext: ({
1091
- id: string;
1092
1091
  path: string;
1092
+ id: string;
1093
1093
  transport: "prompt";
1094
1094
  } | {
1095
- id: string;
1096
1095
  url: string;
1096
+ id: string;
1097
1097
  transport: "url";
1098
1098
  label?: string | undefined;
1099
1099
  userIntent?: string | undefined;
1100
1100
  } | {
1101
- id: string;
1102
1101
  path: string;
1102
+ id: string;
1103
1103
  transport: "file";
1104
1104
  label?: string | undefined;
1105
1105
  userIntent?: string | undefined;
1106
1106
  mimeType?: string | undefined;
1107
1107
  originalFilename?: string | undefined;
1108
1108
  } | {
1109
- id: string;
1110
1109
  path: string;
1110
+ id: string;
1111
1111
  transport: "directory";
1112
1112
  label?: string | undefined;
1113
1113
  userIntent?: string | undefined;
1114
1114
  } | {
1115
- id: string;
1116
1115
  path: string;
1116
+ id: string;
1117
1117
  transport: "text";
1118
1118
  label?: string | undefined;
1119
1119
  userIntent?: string | undefined;
@@ -1178,8 +1178,8 @@ export declare const variantContextBundleSchema: z.ZodObject<{
1178
1178
  reason: string;
1179
1179
  confidence: "low" | "medium" | "high";
1180
1180
  assetPlan?: {
1181
- source: string;
1182
1181
  destination: string;
1182
+ source: string;
1183
1183
  referenceAs: string;
1184
1184
  }[] | undefined;
1185
1185
  runtimeRequirements?: string[] | undefined;
@@ -1190,32 +1190,32 @@ export declare const variantContextBundleSchema: z.ZodObject<{
1190
1190
  version: 1;
1191
1191
  contextBundlePath: string;
1192
1192
  userContext: ({
1193
- id: string;
1194
1193
  path: string;
1194
+ id: string;
1195
1195
  transport: "prompt";
1196
1196
  } | {
1197
- id: string;
1198
1197
  url: string;
1198
+ id: string;
1199
1199
  transport: "url";
1200
1200
  label?: string | undefined;
1201
1201
  userIntent?: string | undefined;
1202
1202
  } | {
1203
- id: string;
1204
1203
  path: string;
1204
+ id: string;
1205
1205
  transport: "file";
1206
1206
  label?: string | undefined;
1207
1207
  userIntent?: string | undefined;
1208
1208
  mimeType?: string | undefined;
1209
1209
  originalFilename?: string | undefined;
1210
1210
  } | {
1211
- id: string;
1212
1211
  path: string;
1212
+ id: string;
1213
1213
  transport: "directory";
1214
1214
  label?: string | undefined;
1215
1215
  userIntent?: string | undefined;
1216
1216
  } | {
1217
- id: string;
1218
1217
  path: string;
1218
+ id: string;
1219
1219
  transport: "text";
1220
1220
  label?: string | undefined;
1221
1221
  userIntent?: string | undefined;
@@ -1280,8 +1280,8 @@ export declare const variantContextBundleSchema: z.ZodObject<{
1280
1280
  reason: string;
1281
1281
  confidence: "low" | "medium" | "high";
1282
1282
  assetPlan?: {
1283
- source: string;
1284
1283
  destination: string;
1284
+ source: string;
1285
1285
  referenceAs: string;
1286
1286
  }[] | undefined;
1287
1287
  runtimeRequirements?: string[] | undefined;
@@ -1327,12 +1327,12 @@ export declare const projectContextExisting: z.ZodObject<{
1327
1327
  transport: z.ZodLiteral<"prompt">;
1328
1328
  path: z.ZodString;
1329
1329
  }, "strip", z.ZodTypeAny, {
1330
- id: string;
1331
1330
  path: string;
1331
+ id: string;
1332
1332
  transport: "prompt";
1333
1333
  }, {
1334
- id: string;
1335
1334
  path: string;
1335
+ id: string;
1336
1336
  transport: "prompt";
1337
1337
  }>, z.ZodObject<{
1338
1338
  id: z.ZodString;
@@ -1341,14 +1341,14 @@ export declare const projectContextExisting: z.ZodObject<{
1341
1341
  label: z.ZodOptional<z.ZodString>;
1342
1342
  userIntent: z.ZodOptional<z.ZodString>;
1343
1343
  }, "strip", z.ZodTypeAny, {
1344
- id: string;
1345
1344
  url: string;
1345
+ id: string;
1346
1346
  transport: "url";
1347
1347
  label?: string | undefined;
1348
1348
  userIntent?: string | undefined;
1349
1349
  }, {
1350
- id: string;
1351
1350
  url: string;
1351
+ id: string;
1352
1352
  transport: "url";
1353
1353
  label?: string | undefined;
1354
1354
  userIntent?: string | undefined;
@@ -1361,16 +1361,16 @@ export declare const projectContextExisting: z.ZodObject<{
1361
1361
  label: z.ZodOptional<z.ZodString>;
1362
1362
  userIntent: z.ZodOptional<z.ZodString>;
1363
1363
  }, "strip", z.ZodTypeAny, {
1364
- id: string;
1365
1364
  path: string;
1365
+ id: string;
1366
1366
  transport: "file";
1367
1367
  label?: string | undefined;
1368
1368
  userIntent?: string | undefined;
1369
1369
  mimeType?: string | undefined;
1370
1370
  originalFilename?: string | undefined;
1371
1371
  }, {
1372
- id: string;
1373
1372
  path: string;
1373
+ id: string;
1374
1374
  transport: "file";
1375
1375
  label?: string | undefined;
1376
1376
  userIntent?: string | undefined;
@@ -1383,14 +1383,14 @@ export declare const projectContextExisting: z.ZodObject<{
1383
1383
  label: z.ZodOptional<z.ZodString>;
1384
1384
  userIntent: z.ZodOptional<z.ZodString>;
1385
1385
  }, "strip", z.ZodTypeAny, {
1386
- id: string;
1387
1386
  path: string;
1387
+ id: string;
1388
1388
  transport: "directory";
1389
1389
  label?: string | undefined;
1390
1390
  userIntent?: string | undefined;
1391
1391
  }, {
1392
- id: string;
1393
1392
  path: string;
1393
+ id: string;
1394
1394
  transport: "directory";
1395
1395
  label?: string | undefined;
1396
1396
  userIntent?: string | undefined;
@@ -1401,14 +1401,14 @@ export declare const projectContextExisting: z.ZodObject<{
1401
1401
  label: z.ZodOptional<z.ZodString>;
1402
1402
  userIntent: z.ZodOptional<z.ZodString>;
1403
1403
  }, "strip", z.ZodTypeAny, {
1404
- id: string;
1405
1404
  path: string;
1405
+ id: string;
1406
1406
  transport: "text";
1407
1407
  label?: string | undefined;
1408
1408
  userIntent?: string | undefined;
1409
1409
  }, {
1410
- id: string;
1411
1410
  path: string;
1411
+ id: string;
1412
1412
  transport: "text";
1413
1413
  label?: string | undefined;
1414
1414
  userIntent?: string | undefined;
@@ -1632,12 +1632,12 @@ export declare const projectContextExisting: z.ZodObject<{
1632
1632
  destination: z.ZodString;
1633
1633
  referenceAs: z.ZodString;
1634
1634
  }, "strip", z.ZodTypeAny, {
1635
- source: string;
1636
1635
  destination: string;
1636
+ source: string;
1637
1637
  referenceAs: string;
1638
1638
  }, {
1639
- source: string;
1640
1639
  destination: string;
1640
+ source: string;
1641
1641
  referenceAs: string;
1642
1642
  }>, "many">>;
1643
1643
  runtimeRequirements: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
@@ -1647,8 +1647,8 @@ export declare const projectContextExisting: z.ZodObject<{
1647
1647
  reason: string;
1648
1648
  confidence: "low" | "medium" | "high";
1649
1649
  assetPlan?: {
1650
- source: string;
1651
1650
  destination: string;
1651
+ source: string;
1652
1652
  referenceAs: string;
1653
1653
  }[] | undefined;
1654
1654
  runtimeRequirements?: string[] | undefined;
@@ -1658,8 +1658,8 @@ export declare const projectContextExisting: z.ZodObject<{
1658
1658
  reason: string;
1659
1659
  confidence: "low" | "medium" | "high";
1660
1660
  assetPlan?: {
1661
- source: string;
1662
1661
  destination: string;
1662
+ source: string;
1663
1663
  referenceAs: string;
1664
1664
  }[] | undefined;
1665
1665
  runtimeRequirements?: string[] | undefined;
@@ -1670,32 +1670,32 @@ export declare const projectContextExisting: z.ZodObject<{
1670
1670
  version: 1;
1671
1671
  contextBundlePath: string;
1672
1672
  userContext: ({
1673
- id: string;
1674
1673
  path: string;
1674
+ id: string;
1675
1675
  transport: "prompt";
1676
1676
  } | {
1677
- id: string;
1678
1677
  url: string;
1678
+ id: string;
1679
1679
  transport: "url";
1680
1680
  label?: string | undefined;
1681
1681
  userIntent?: string | undefined;
1682
1682
  } | {
1683
- id: string;
1684
1683
  path: string;
1684
+ id: string;
1685
1685
  transport: "file";
1686
1686
  label?: string | undefined;
1687
1687
  userIntent?: string | undefined;
1688
1688
  mimeType?: string | undefined;
1689
1689
  originalFilename?: string | undefined;
1690
1690
  } | {
1691
- id: string;
1692
1691
  path: string;
1692
+ id: string;
1693
1693
  transport: "directory";
1694
1694
  label?: string | undefined;
1695
1695
  userIntent?: string | undefined;
1696
1696
  } | {
1697
- id: string;
1698
1697
  path: string;
1698
+ id: string;
1699
1699
  transport: "text";
1700
1700
  label?: string | undefined;
1701
1701
  userIntent?: string | undefined;
@@ -1760,8 +1760,8 @@ export declare const projectContextExisting: z.ZodObject<{
1760
1760
  reason: string;
1761
1761
  confidence: "low" | "medium" | "high";
1762
1762
  assetPlan?: {
1763
- source: string;
1764
1763
  destination: string;
1764
+ source: string;
1765
1765
  referenceAs: string;
1766
1766
  }[] | undefined;
1767
1767
  runtimeRequirements?: string[] | undefined;
@@ -1772,32 +1772,32 @@ export declare const projectContextExisting: z.ZodObject<{
1772
1772
  version: 1;
1773
1773
  contextBundlePath: string;
1774
1774
  userContext: ({
1775
- id: string;
1776
1775
  path: string;
1776
+ id: string;
1777
1777
  transport: "prompt";
1778
1778
  } | {
1779
- id: string;
1780
1779
  url: string;
1780
+ id: string;
1781
1781
  transport: "url";
1782
1782
  label?: string | undefined;
1783
1783
  userIntent?: string | undefined;
1784
1784
  } | {
1785
- id: string;
1786
1785
  path: string;
1786
+ id: string;
1787
1787
  transport: "file";
1788
1788
  label?: string | undefined;
1789
1789
  userIntent?: string | undefined;
1790
1790
  mimeType?: string | undefined;
1791
1791
  originalFilename?: string | undefined;
1792
1792
  } | {
1793
- id: string;
1794
1793
  path: string;
1794
+ id: string;
1795
1795
  transport: "directory";
1796
1796
  label?: string | undefined;
1797
1797
  userIntent?: string | undefined;
1798
1798
  } | {
1799
- id: string;
1800
1799
  path: string;
1800
+ id: string;
1801
1801
  transport: "text";
1802
1802
  label?: string | undefined;
1803
1803
  userIntent?: string | undefined;
@@ -1862,8 +1862,8 @@ export declare const projectContextExisting: z.ZodObject<{
1862
1862
  reason: string;
1863
1863
  confidence: "low" | "medium" | "high";
1864
1864
  assetPlan?: {
1865
- source: string;
1866
1865
  destination: string;
1866
+ source: string;
1867
1867
  referenceAs: string;
1868
1868
  }[] | undefined;
1869
1869
  runtimeRequirements?: string[] | undefined;
@@ -1886,32 +1886,32 @@ export declare const projectContextExisting: z.ZodObject<{
1886
1886
  version: 1;
1887
1887
  contextBundlePath: string;
1888
1888
  userContext: ({
1889
- id: string;
1890
1889
  path: string;
1890
+ id: string;
1891
1891
  transport: "prompt";
1892
1892
  } | {
1893
- id: string;
1894
1893
  url: string;
1894
+ id: string;
1895
1895
  transport: "url";
1896
1896
  label?: string | undefined;
1897
1897
  userIntent?: string | undefined;
1898
1898
  } | {
1899
- id: string;
1900
1899
  path: string;
1900
+ id: string;
1901
1901
  transport: "file";
1902
1902
  label?: string | undefined;
1903
1903
  userIntent?: string | undefined;
1904
1904
  mimeType?: string | undefined;
1905
1905
  originalFilename?: string | undefined;
1906
1906
  } | {
1907
- id: string;
1908
1907
  path: string;
1908
+ id: string;
1909
1909
  transport: "directory";
1910
1910
  label?: string | undefined;
1911
1911
  userIntent?: string | undefined;
1912
1912
  } | {
1913
- id: string;
1914
1913
  path: string;
1914
+ id: string;
1915
1915
  transport: "text";
1916
1916
  label?: string | undefined;
1917
1917
  userIntent?: string | undefined;
@@ -1976,8 +1976,8 @@ export declare const projectContextExisting: z.ZodObject<{
1976
1976
  reason: string;
1977
1977
  confidence: "low" | "medium" | "high";
1978
1978
  assetPlan?: {
1979
- source: string;
1980
1979
  destination: string;
1980
+ source: string;
1981
1981
  referenceAs: string;
1982
1982
  }[] | undefined;
1983
1983
  runtimeRequirements?: string[] | undefined;
@@ -2000,32 +2000,32 @@ export declare const projectContextExisting: z.ZodObject<{
2000
2000
  version: 1;
2001
2001
  contextBundlePath: string;
2002
2002
  userContext: ({
2003
- id: string;
2004
2003
  path: string;
2004
+ id: string;
2005
2005
  transport: "prompt";
2006
2006
  } | {
2007
- id: string;
2008
2007
  url: string;
2008
+ id: string;
2009
2009
  transport: "url";
2010
2010
  label?: string | undefined;
2011
2011
  userIntent?: string | undefined;
2012
2012
  } | {
2013
- id: string;
2014
2013
  path: string;
2014
+ id: string;
2015
2015
  transport: "file";
2016
2016
  label?: string | undefined;
2017
2017
  userIntent?: string | undefined;
2018
2018
  mimeType?: string | undefined;
2019
2019
  originalFilename?: string | undefined;
2020
2020
  } | {
2021
- id: string;
2022
2021
  path: string;
2022
+ id: string;
2023
2023
  transport: "directory";
2024
2024
  label?: string | undefined;
2025
2025
  userIntent?: string | undefined;
2026
2026
  } | {
2027
- id: string;
2028
2027
  path: string;
2028
+ id: string;
2029
2029
  transport: "text";
2030
2030
  label?: string | undefined;
2031
2031
  userIntent?: string | undefined;
@@ -2090,8 +2090,8 @@ export declare const projectContextExisting: z.ZodObject<{
2090
2090
  reason: string;
2091
2091
  confidence: "low" | "medium" | "high";
2092
2092
  assetPlan?: {
2093
- source: string;
2094
2093
  destination: string;
2094
+ source: string;
2095
2095
  referenceAs: string;
2096
2096
  }[] | undefined;
2097
2097
  runtimeRequirements?: string[] | undefined;
@@ -2148,12 +2148,12 @@ export declare const projectContextFresh: z.ZodObject<{
2148
2148
  transport: z.ZodLiteral<"prompt">;
2149
2149
  path: z.ZodString;
2150
2150
  }, "strip", z.ZodTypeAny, {
2151
- id: string;
2152
2151
  path: string;
2152
+ id: string;
2153
2153
  transport: "prompt";
2154
2154
  }, {
2155
- id: string;
2156
2155
  path: string;
2156
+ id: string;
2157
2157
  transport: "prompt";
2158
2158
  }>, z.ZodObject<{
2159
2159
  id: z.ZodString;
@@ -2162,14 +2162,14 @@ export declare const projectContextFresh: z.ZodObject<{
2162
2162
  label: z.ZodOptional<z.ZodString>;
2163
2163
  userIntent: z.ZodOptional<z.ZodString>;
2164
2164
  }, "strip", z.ZodTypeAny, {
2165
- id: string;
2166
2165
  url: string;
2166
+ id: string;
2167
2167
  transport: "url";
2168
2168
  label?: string | undefined;
2169
2169
  userIntent?: string | undefined;
2170
2170
  }, {
2171
- id: string;
2172
2171
  url: string;
2172
+ id: string;
2173
2173
  transport: "url";
2174
2174
  label?: string | undefined;
2175
2175
  userIntent?: string | undefined;
@@ -2182,16 +2182,16 @@ export declare const projectContextFresh: z.ZodObject<{
2182
2182
  label: z.ZodOptional<z.ZodString>;
2183
2183
  userIntent: z.ZodOptional<z.ZodString>;
2184
2184
  }, "strip", z.ZodTypeAny, {
2185
- id: string;
2186
2185
  path: string;
2186
+ id: string;
2187
2187
  transport: "file";
2188
2188
  label?: string | undefined;
2189
2189
  userIntent?: string | undefined;
2190
2190
  mimeType?: string | undefined;
2191
2191
  originalFilename?: string | undefined;
2192
2192
  }, {
2193
- id: string;
2194
2193
  path: string;
2194
+ id: string;
2195
2195
  transport: "file";
2196
2196
  label?: string | undefined;
2197
2197
  userIntent?: string | undefined;
@@ -2204,14 +2204,14 @@ export declare const projectContextFresh: z.ZodObject<{
2204
2204
  label: z.ZodOptional<z.ZodString>;
2205
2205
  userIntent: z.ZodOptional<z.ZodString>;
2206
2206
  }, "strip", z.ZodTypeAny, {
2207
- id: string;
2208
2207
  path: string;
2208
+ id: string;
2209
2209
  transport: "directory";
2210
2210
  label?: string | undefined;
2211
2211
  userIntent?: string | undefined;
2212
2212
  }, {
2213
- id: string;
2214
2213
  path: string;
2214
+ id: string;
2215
2215
  transport: "directory";
2216
2216
  label?: string | undefined;
2217
2217
  userIntent?: string | undefined;
@@ -2222,14 +2222,14 @@ export declare const projectContextFresh: z.ZodObject<{
2222
2222
  label: z.ZodOptional<z.ZodString>;
2223
2223
  userIntent: z.ZodOptional<z.ZodString>;
2224
2224
  }, "strip", z.ZodTypeAny, {
2225
- id: string;
2226
2225
  path: string;
2226
+ id: string;
2227
2227
  transport: "text";
2228
2228
  label?: string | undefined;
2229
2229
  userIntent?: string | undefined;
2230
2230
  }, {
2231
- id: string;
2232
2231
  path: string;
2232
+ id: string;
2233
2233
  transport: "text";
2234
2234
  label?: string | undefined;
2235
2235
  userIntent?: string | undefined;
@@ -2453,12 +2453,12 @@ export declare const projectContextFresh: z.ZodObject<{
2453
2453
  destination: z.ZodString;
2454
2454
  referenceAs: z.ZodString;
2455
2455
  }, "strip", z.ZodTypeAny, {
2456
- source: string;
2457
2456
  destination: string;
2457
+ source: string;
2458
2458
  referenceAs: string;
2459
2459
  }, {
2460
- source: string;
2461
2460
  destination: string;
2461
+ source: string;
2462
2462
  referenceAs: string;
2463
2463
  }>, "many">>;
2464
2464
  runtimeRequirements: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
@@ -2468,8 +2468,8 @@ export declare const projectContextFresh: z.ZodObject<{
2468
2468
  reason: string;
2469
2469
  confidence: "low" | "medium" | "high";
2470
2470
  assetPlan?: {
2471
- source: string;
2472
2471
  destination: string;
2472
+ source: string;
2473
2473
  referenceAs: string;
2474
2474
  }[] | undefined;
2475
2475
  runtimeRequirements?: string[] | undefined;
@@ -2479,8 +2479,8 @@ export declare const projectContextFresh: z.ZodObject<{
2479
2479
  reason: string;
2480
2480
  confidence: "low" | "medium" | "high";
2481
2481
  assetPlan?: {
2482
- source: string;
2483
2482
  destination: string;
2483
+ source: string;
2484
2484
  referenceAs: string;
2485
2485
  }[] | undefined;
2486
2486
  runtimeRequirements?: string[] | undefined;
@@ -2491,32 +2491,32 @@ export declare const projectContextFresh: z.ZodObject<{
2491
2491
  version: 1;
2492
2492
  contextBundlePath: string;
2493
2493
  userContext: ({
2494
- id: string;
2495
2494
  path: string;
2495
+ id: string;
2496
2496
  transport: "prompt";
2497
2497
  } | {
2498
- id: string;
2499
2498
  url: string;
2499
+ id: string;
2500
2500
  transport: "url";
2501
2501
  label?: string | undefined;
2502
2502
  userIntent?: string | undefined;
2503
2503
  } | {
2504
- id: string;
2505
2504
  path: string;
2505
+ id: string;
2506
2506
  transport: "file";
2507
2507
  label?: string | undefined;
2508
2508
  userIntent?: string | undefined;
2509
2509
  mimeType?: string | undefined;
2510
2510
  originalFilename?: string | undefined;
2511
2511
  } | {
2512
- id: string;
2513
2512
  path: string;
2513
+ id: string;
2514
2514
  transport: "directory";
2515
2515
  label?: string | undefined;
2516
2516
  userIntent?: string | undefined;
2517
2517
  } | {
2518
- id: string;
2519
2518
  path: string;
2519
+ id: string;
2520
2520
  transport: "text";
2521
2521
  label?: string | undefined;
2522
2522
  userIntent?: string | undefined;
@@ -2581,8 +2581,8 @@ export declare const projectContextFresh: z.ZodObject<{
2581
2581
  reason: string;
2582
2582
  confidence: "low" | "medium" | "high";
2583
2583
  assetPlan?: {
2584
- source: string;
2585
2584
  destination: string;
2585
+ source: string;
2586
2586
  referenceAs: string;
2587
2587
  }[] | undefined;
2588
2588
  runtimeRequirements?: string[] | undefined;
@@ -2593,32 +2593,32 @@ export declare const projectContextFresh: z.ZodObject<{
2593
2593
  version: 1;
2594
2594
  contextBundlePath: string;
2595
2595
  userContext: ({
2596
- id: string;
2597
2596
  path: string;
2597
+ id: string;
2598
2598
  transport: "prompt";
2599
2599
  } | {
2600
- id: string;
2601
2600
  url: string;
2601
+ id: string;
2602
2602
  transport: "url";
2603
2603
  label?: string | undefined;
2604
2604
  userIntent?: string | undefined;
2605
2605
  } | {
2606
- id: string;
2607
2606
  path: string;
2607
+ id: string;
2608
2608
  transport: "file";
2609
2609
  label?: string | undefined;
2610
2610
  userIntent?: string | undefined;
2611
2611
  mimeType?: string | undefined;
2612
2612
  originalFilename?: string | undefined;
2613
2613
  } | {
2614
- id: string;
2615
2614
  path: string;
2615
+ id: string;
2616
2616
  transport: "directory";
2617
2617
  label?: string | undefined;
2618
2618
  userIntent?: string | undefined;
2619
2619
  } | {
2620
- id: string;
2621
2620
  path: string;
2621
+ id: string;
2622
2622
  transport: "text";
2623
2623
  label?: string | undefined;
2624
2624
  userIntent?: string | undefined;
@@ -2683,8 +2683,8 @@ export declare const projectContextFresh: z.ZodObject<{
2683
2683
  reason: string;
2684
2684
  confidence: "low" | "medium" | "high";
2685
2685
  assetPlan?: {
2686
- source: string;
2687
2686
  destination: string;
2687
+ source: string;
2688
2688
  referenceAs: string;
2689
2689
  }[] | undefined;
2690
2690
  runtimeRequirements?: string[] | undefined;
@@ -2704,12 +2704,12 @@ export declare const projectContextFresh: z.ZodObject<{
2704
2704
  destination: z.ZodString;
2705
2705
  referenceAs: z.ZodString;
2706
2706
  }, "strip", z.ZodTypeAny, {
2707
- source: string;
2708
2707
  destination: string;
2708
+ source: string;
2709
2709
  referenceAs: string;
2710
2710
  }, {
2711
- source: string;
2712
2711
  destination: string;
2712
+ source: string;
2713
2713
  referenceAs: string;
2714
2714
  }>, "many">>;
2715
2715
  runtimeRequirements: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
@@ -2719,8 +2719,8 @@ export declare const projectContextFresh: z.ZodObject<{
2719
2719
  reason: string;
2720
2720
  confidence: "low" | "medium" | "high";
2721
2721
  assetPlan?: {
2722
- source: string;
2723
2722
  destination: string;
2723
+ source: string;
2724
2724
  referenceAs: string;
2725
2725
  }[] | undefined;
2726
2726
  runtimeRequirements?: string[] | undefined;
@@ -2730,8 +2730,8 @@ export declare const projectContextFresh: z.ZodObject<{
2730
2730
  reason: string;
2731
2731
  confidence: "low" | "medium" | "high";
2732
2732
  assetPlan?: {
2733
- source: string;
2734
2733
  destination: string;
2734
+ source: string;
2735
2735
  referenceAs: string;
2736
2736
  }[] | undefined;
2737
2737
  runtimeRequirements?: string[] | undefined;
@@ -2747,8 +2747,8 @@ export declare const projectContextFresh: z.ZodObject<{
2747
2747
  reason: string;
2748
2748
  confidence: "low" | "medium" | "high";
2749
2749
  assetPlan?: {
2750
- source: string;
2751
2750
  destination: string;
2751
+ source: string;
2752
2752
  referenceAs: string;
2753
2753
  }[] | undefined;
2754
2754
  runtimeRequirements?: string[] | undefined;
@@ -2767,32 +2767,32 @@ export declare const projectContextFresh: z.ZodObject<{
2767
2767
  version: 1;
2768
2768
  contextBundlePath: string;
2769
2769
  userContext: ({
2770
- id: string;
2771
2770
  path: string;
2771
+ id: string;
2772
2772
  transport: "prompt";
2773
2773
  } | {
2774
- id: string;
2775
2774
  url: string;
2775
+ id: string;
2776
2776
  transport: "url";
2777
2777
  label?: string | undefined;
2778
2778
  userIntent?: string | undefined;
2779
2779
  } | {
2780
- id: string;
2781
2780
  path: string;
2781
+ id: string;
2782
2782
  transport: "file";
2783
2783
  label?: string | undefined;
2784
2784
  userIntent?: string | undefined;
2785
2785
  mimeType?: string | undefined;
2786
2786
  originalFilename?: string | undefined;
2787
2787
  } | {
2788
- id: string;
2789
2788
  path: string;
2789
+ id: string;
2790
2790
  transport: "directory";
2791
2791
  label?: string | undefined;
2792
2792
  userIntent?: string | undefined;
2793
2793
  } | {
2794
- id: string;
2795
2794
  path: string;
2795
+ id: string;
2796
2796
  transport: "text";
2797
2797
  label?: string | undefined;
2798
2798
  userIntent?: string | undefined;
@@ -2857,8 +2857,8 @@ export declare const projectContextFresh: z.ZodObject<{
2857
2857
  reason: string;
2858
2858
  confidence: "low" | "medium" | "high";
2859
2859
  assetPlan?: {
2860
- source: string;
2861
2860
  destination: string;
2861
+ source: string;
2862
2862
  referenceAs: string;
2863
2863
  }[] | undefined;
2864
2864
  runtimeRequirements?: string[] | undefined;
@@ -2876,8 +2876,8 @@ export declare const projectContextFresh: z.ZodObject<{
2876
2876
  reason: string;
2877
2877
  confidence: "low" | "medium" | "high";
2878
2878
  assetPlan?: {
2879
- source: string;
2880
2879
  destination: string;
2880
+ source: string;
2881
2881
  referenceAs: string;
2882
2882
  }[] | undefined;
2883
2883
  runtimeRequirements?: string[] | undefined;
@@ -2896,32 +2896,32 @@ export declare const projectContextFresh: z.ZodObject<{
2896
2896
  version: 1;
2897
2897
  contextBundlePath: string;
2898
2898
  userContext: ({
2899
- id: string;
2900
2899
  path: string;
2900
+ id: string;
2901
2901
  transport: "prompt";
2902
2902
  } | {
2903
- id: string;
2904
2903
  url: string;
2904
+ id: string;
2905
2905
  transport: "url";
2906
2906
  label?: string | undefined;
2907
2907
  userIntent?: string | undefined;
2908
2908
  } | {
2909
- id: string;
2910
2909
  path: string;
2910
+ id: string;
2911
2911
  transport: "file";
2912
2912
  label?: string | undefined;
2913
2913
  userIntent?: string | undefined;
2914
2914
  mimeType?: string | undefined;
2915
2915
  originalFilename?: string | undefined;
2916
2916
  } | {
2917
- id: string;
2918
2917
  path: string;
2918
+ id: string;
2919
2919
  transport: "directory";
2920
2920
  label?: string | undefined;
2921
2921
  userIntent?: string | undefined;
2922
2922
  } | {
2923
- id: string;
2924
2923
  path: string;
2924
+ id: string;
2925
2925
  transport: "text";
2926
2926
  label?: string | undefined;
2927
2927
  userIntent?: string | undefined;
@@ -2986,8 +2986,8 @@ export declare const projectContextFresh: z.ZodObject<{
2986
2986
  reason: string;
2987
2987
  confidence: "low" | "medium" | "high";
2988
2988
  assetPlan?: {
2989
- source: string;
2990
2989
  destination: string;
2990
+ source: string;
2991
2991
  referenceAs: string;
2992
2992
  }[] | undefined;
2993
2993
  runtimeRequirements?: string[] | undefined;
@@ -3035,12 +3035,12 @@ export declare const projectContextSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
3035
3035
  transport: z.ZodLiteral<"prompt">;
3036
3036
  path: z.ZodString;
3037
3037
  }, "strip", z.ZodTypeAny, {
3038
- id: string;
3039
3038
  path: string;
3039
+ id: string;
3040
3040
  transport: "prompt";
3041
3041
  }, {
3042
- id: string;
3043
3042
  path: string;
3043
+ id: string;
3044
3044
  transport: "prompt";
3045
3045
  }>, z.ZodObject<{
3046
3046
  id: z.ZodString;
@@ -3049,14 +3049,14 @@ export declare const projectContextSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
3049
3049
  label: z.ZodOptional<z.ZodString>;
3050
3050
  userIntent: z.ZodOptional<z.ZodString>;
3051
3051
  }, "strip", z.ZodTypeAny, {
3052
- id: string;
3053
3052
  url: string;
3053
+ id: string;
3054
3054
  transport: "url";
3055
3055
  label?: string | undefined;
3056
3056
  userIntent?: string | undefined;
3057
3057
  }, {
3058
- id: string;
3059
3058
  url: string;
3059
+ id: string;
3060
3060
  transport: "url";
3061
3061
  label?: string | undefined;
3062
3062
  userIntent?: string | undefined;
@@ -3069,16 +3069,16 @@ export declare const projectContextSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
3069
3069
  label: z.ZodOptional<z.ZodString>;
3070
3070
  userIntent: z.ZodOptional<z.ZodString>;
3071
3071
  }, "strip", z.ZodTypeAny, {
3072
- id: string;
3073
3072
  path: string;
3073
+ id: string;
3074
3074
  transport: "file";
3075
3075
  label?: string | undefined;
3076
3076
  userIntent?: string | undefined;
3077
3077
  mimeType?: string | undefined;
3078
3078
  originalFilename?: string | undefined;
3079
3079
  }, {
3080
- id: string;
3081
3080
  path: string;
3081
+ id: string;
3082
3082
  transport: "file";
3083
3083
  label?: string | undefined;
3084
3084
  userIntent?: string | undefined;
@@ -3091,14 +3091,14 @@ export declare const projectContextSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
3091
3091
  label: z.ZodOptional<z.ZodString>;
3092
3092
  userIntent: z.ZodOptional<z.ZodString>;
3093
3093
  }, "strip", z.ZodTypeAny, {
3094
- id: string;
3095
3094
  path: string;
3095
+ id: string;
3096
3096
  transport: "directory";
3097
3097
  label?: string | undefined;
3098
3098
  userIntent?: string | undefined;
3099
3099
  }, {
3100
- id: string;
3101
3100
  path: string;
3101
+ id: string;
3102
3102
  transport: "directory";
3103
3103
  label?: string | undefined;
3104
3104
  userIntent?: string | undefined;
@@ -3109,14 +3109,14 @@ export declare const projectContextSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
3109
3109
  label: z.ZodOptional<z.ZodString>;
3110
3110
  userIntent: z.ZodOptional<z.ZodString>;
3111
3111
  }, "strip", z.ZodTypeAny, {
3112
- id: string;
3113
3112
  path: string;
3113
+ id: string;
3114
3114
  transport: "text";
3115
3115
  label?: string | undefined;
3116
3116
  userIntent?: string | undefined;
3117
3117
  }, {
3118
- id: string;
3119
3118
  path: string;
3119
+ id: string;
3120
3120
  transport: "text";
3121
3121
  label?: string | undefined;
3122
3122
  userIntent?: string | undefined;
@@ -3340,12 +3340,12 @@ export declare const projectContextSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
3340
3340
  destination: z.ZodString;
3341
3341
  referenceAs: z.ZodString;
3342
3342
  }, "strip", z.ZodTypeAny, {
3343
- source: string;
3344
3343
  destination: string;
3344
+ source: string;
3345
3345
  referenceAs: string;
3346
3346
  }, {
3347
- source: string;
3348
3347
  destination: string;
3348
+ source: string;
3349
3349
  referenceAs: string;
3350
3350
  }>, "many">>;
3351
3351
  runtimeRequirements: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
@@ -3355,8 +3355,8 @@ export declare const projectContextSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
3355
3355
  reason: string;
3356
3356
  confidence: "low" | "medium" | "high";
3357
3357
  assetPlan?: {
3358
- source: string;
3359
3358
  destination: string;
3359
+ source: string;
3360
3360
  referenceAs: string;
3361
3361
  }[] | undefined;
3362
3362
  runtimeRequirements?: string[] | undefined;
@@ -3366,8 +3366,8 @@ export declare const projectContextSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
3366
3366
  reason: string;
3367
3367
  confidence: "low" | "medium" | "high";
3368
3368
  assetPlan?: {
3369
- source: string;
3370
3369
  destination: string;
3370
+ source: string;
3371
3371
  referenceAs: string;
3372
3372
  }[] | undefined;
3373
3373
  runtimeRequirements?: string[] | undefined;
@@ -3378,32 +3378,32 @@ export declare const projectContextSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
3378
3378
  version: 1;
3379
3379
  contextBundlePath: string;
3380
3380
  userContext: ({
3381
- id: string;
3382
3381
  path: string;
3382
+ id: string;
3383
3383
  transport: "prompt";
3384
3384
  } | {
3385
- id: string;
3386
3385
  url: string;
3386
+ id: string;
3387
3387
  transport: "url";
3388
3388
  label?: string | undefined;
3389
3389
  userIntent?: string | undefined;
3390
3390
  } | {
3391
- id: string;
3392
3391
  path: string;
3392
+ id: string;
3393
3393
  transport: "file";
3394
3394
  label?: string | undefined;
3395
3395
  userIntent?: string | undefined;
3396
3396
  mimeType?: string | undefined;
3397
3397
  originalFilename?: string | undefined;
3398
3398
  } | {
3399
- id: string;
3400
3399
  path: string;
3400
+ id: string;
3401
3401
  transport: "directory";
3402
3402
  label?: string | undefined;
3403
3403
  userIntent?: string | undefined;
3404
3404
  } | {
3405
- id: string;
3406
3405
  path: string;
3406
+ id: string;
3407
3407
  transport: "text";
3408
3408
  label?: string | undefined;
3409
3409
  userIntent?: string | undefined;
@@ -3468,8 +3468,8 @@ export declare const projectContextSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
3468
3468
  reason: string;
3469
3469
  confidence: "low" | "medium" | "high";
3470
3470
  assetPlan?: {
3471
- source: string;
3472
3471
  destination: string;
3472
+ source: string;
3473
3473
  referenceAs: string;
3474
3474
  }[] | undefined;
3475
3475
  runtimeRequirements?: string[] | undefined;
@@ -3480,32 +3480,32 @@ export declare const projectContextSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
3480
3480
  version: 1;
3481
3481
  contextBundlePath: string;
3482
3482
  userContext: ({
3483
- id: string;
3484
3483
  path: string;
3484
+ id: string;
3485
3485
  transport: "prompt";
3486
3486
  } | {
3487
- id: string;
3488
3487
  url: string;
3488
+ id: string;
3489
3489
  transport: "url";
3490
3490
  label?: string | undefined;
3491
3491
  userIntent?: string | undefined;
3492
3492
  } | {
3493
- id: string;
3494
3493
  path: string;
3494
+ id: string;
3495
3495
  transport: "file";
3496
3496
  label?: string | undefined;
3497
3497
  userIntent?: string | undefined;
3498
3498
  mimeType?: string | undefined;
3499
3499
  originalFilename?: string | undefined;
3500
3500
  } | {
3501
- id: string;
3502
3501
  path: string;
3502
+ id: string;
3503
3503
  transport: "directory";
3504
3504
  label?: string | undefined;
3505
3505
  userIntent?: string | undefined;
3506
3506
  } | {
3507
- id: string;
3508
3507
  path: string;
3508
+ id: string;
3509
3509
  transport: "text";
3510
3510
  label?: string | undefined;
3511
3511
  userIntent?: string | undefined;
@@ -3570,8 +3570,8 @@ export declare const projectContextSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
3570
3570
  reason: string;
3571
3571
  confidence: "low" | "medium" | "high";
3572
3572
  assetPlan?: {
3573
- source: string;
3574
3573
  destination: string;
3574
+ source: string;
3575
3575
  referenceAs: string;
3576
3576
  }[] | undefined;
3577
3577
  runtimeRequirements?: string[] | undefined;
@@ -3594,32 +3594,32 @@ export declare const projectContextSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
3594
3594
  version: 1;
3595
3595
  contextBundlePath: string;
3596
3596
  userContext: ({
3597
- id: string;
3598
3597
  path: string;
3598
+ id: string;
3599
3599
  transport: "prompt";
3600
3600
  } | {
3601
- id: string;
3602
3601
  url: string;
3602
+ id: string;
3603
3603
  transport: "url";
3604
3604
  label?: string | undefined;
3605
3605
  userIntent?: string | undefined;
3606
3606
  } | {
3607
- id: string;
3608
3607
  path: string;
3608
+ id: string;
3609
3609
  transport: "file";
3610
3610
  label?: string | undefined;
3611
3611
  userIntent?: string | undefined;
3612
3612
  mimeType?: string | undefined;
3613
3613
  originalFilename?: string | undefined;
3614
3614
  } | {
3615
- id: string;
3616
3615
  path: string;
3616
+ id: string;
3617
3617
  transport: "directory";
3618
3618
  label?: string | undefined;
3619
3619
  userIntent?: string | undefined;
3620
3620
  } | {
3621
- id: string;
3622
3621
  path: string;
3622
+ id: string;
3623
3623
  transport: "text";
3624
3624
  label?: string | undefined;
3625
3625
  userIntent?: string | undefined;
@@ -3684,8 +3684,8 @@ export declare const projectContextSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
3684
3684
  reason: string;
3685
3685
  confidence: "low" | "medium" | "high";
3686
3686
  assetPlan?: {
3687
- source: string;
3688
3687
  destination: string;
3688
+ source: string;
3689
3689
  referenceAs: string;
3690
3690
  }[] | undefined;
3691
3691
  runtimeRequirements?: string[] | undefined;
@@ -3708,32 +3708,32 @@ export declare const projectContextSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
3708
3708
  version: 1;
3709
3709
  contextBundlePath: string;
3710
3710
  userContext: ({
3711
- id: string;
3712
3711
  path: string;
3712
+ id: string;
3713
3713
  transport: "prompt";
3714
3714
  } | {
3715
- id: string;
3716
3715
  url: string;
3716
+ id: string;
3717
3717
  transport: "url";
3718
3718
  label?: string | undefined;
3719
3719
  userIntent?: string | undefined;
3720
3720
  } | {
3721
- id: string;
3722
3721
  path: string;
3722
+ id: string;
3723
3723
  transport: "file";
3724
3724
  label?: string | undefined;
3725
3725
  userIntent?: string | undefined;
3726
3726
  mimeType?: string | undefined;
3727
3727
  originalFilename?: string | undefined;
3728
3728
  } | {
3729
- id: string;
3730
3729
  path: string;
3730
+ id: string;
3731
3731
  transport: "directory";
3732
3732
  label?: string | undefined;
3733
3733
  userIntent?: string | undefined;
3734
3734
  } | {
3735
- id: string;
3736
3735
  path: string;
3736
+ id: string;
3737
3737
  transport: "text";
3738
3738
  label?: string | undefined;
3739
3739
  userIntent?: string | undefined;
@@ -3798,8 +3798,8 @@ export declare const projectContextSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
3798
3798
  reason: string;
3799
3799
  confidence: "low" | "medium" | "high";
3800
3800
  assetPlan?: {
3801
- source: string;
3802
3801
  destination: string;
3802
+ source: string;
3803
3803
  referenceAs: string;
3804
3804
  }[] | undefined;
3805
3805
  runtimeRequirements?: string[] | undefined;
@@ -3855,12 +3855,12 @@ export declare const projectContextSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
3855
3855
  transport: z.ZodLiteral<"prompt">;
3856
3856
  path: z.ZodString;
3857
3857
  }, "strip", z.ZodTypeAny, {
3858
- id: string;
3859
3858
  path: string;
3859
+ id: string;
3860
3860
  transport: "prompt";
3861
3861
  }, {
3862
- id: string;
3863
3862
  path: string;
3863
+ id: string;
3864
3864
  transport: "prompt";
3865
3865
  }>, z.ZodObject<{
3866
3866
  id: z.ZodString;
@@ -3869,14 +3869,14 @@ export declare const projectContextSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
3869
3869
  label: z.ZodOptional<z.ZodString>;
3870
3870
  userIntent: z.ZodOptional<z.ZodString>;
3871
3871
  }, "strip", z.ZodTypeAny, {
3872
- id: string;
3873
3872
  url: string;
3873
+ id: string;
3874
3874
  transport: "url";
3875
3875
  label?: string | undefined;
3876
3876
  userIntent?: string | undefined;
3877
3877
  }, {
3878
- id: string;
3879
3878
  url: string;
3879
+ id: string;
3880
3880
  transport: "url";
3881
3881
  label?: string | undefined;
3882
3882
  userIntent?: string | undefined;
@@ -3889,16 +3889,16 @@ export declare const projectContextSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
3889
3889
  label: z.ZodOptional<z.ZodString>;
3890
3890
  userIntent: z.ZodOptional<z.ZodString>;
3891
3891
  }, "strip", z.ZodTypeAny, {
3892
- id: string;
3893
3892
  path: string;
3893
+ id: string;
3894
3894
  transport: "file";
3895
3895
  label?: string | undefined;
3896
3896
  userIntent?: string | undefined;
3897
3897
  mimeType?: string | undefined;
3898
3898
  originalFilename?: string | undefined;
3899
3899
  }, {
3900
- id: string;
3901
3900
  path: string;
3901
+ id: string;
3902
3902
  transport: "file";
3903
3903
  label?: string | undefined;
3904
3904
  userIntent?: string | undefined;
@@ -3911,14 +3911,14 @@ export declare const projectContextSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
3911
3911
  label: z.ZodOptional<z.ZodString>;
3912
3912
  userIntent: z.ZodOptional<z.ZodString>;
3913
3913
  }, "strip", z.ZodTypeAny, {
3914
- id: string;
3915
3914
  path: string;
3915
+ id: string;
3916
3916
  transport: "directory";
3917
3917
  label?: string | undefined;
3918
3918
  userIntent?: string | undefined;
3919
3919
  }, {
3920
- id: string;
3921
3920
  path: string;
3921
+ id: string;
3922
3922
  transport: "directory";
3923
3923
  label?: string | undefined;
3924
3924
  userIntent?: string | undefined;
@@ -3929,14 +3929,14 @@ export declare const projectContextSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
3929
3929
  label: z.ZodOptional<z.ZodString>;
3930
3930
  userIntent: z.ZodOptional<z.ZodString>;
3931
3931
  }, "strip", z.ZodTypeAny, {
3932
- id: string;
3933
3932
  path: string;
3933
+ id: string;
3934
3934
  transport: "text";
3935
3935
  label?: string | undefined;
3936
3936
  userIntent?: string | undefined;
3937
3937
  }, {
3938
- id: string;
3939
3938
  path: string;
3939
+ id: string;
3940
3940
  transport: "text";
3941
3941
  label?: string | undefined;
3942
3942
  userIntent?: string | undefined;
@@ -4160,12 +4160,12 @@ export declare const projectContextSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
4160
4160
  destination: z.ZodString;
4161
4161
  referenceAs: z.ZodString;
4162
4162
  }, "strip", z.ZodTypeAny, {
4163
- source: string;
4164
4163
  destination: string;
4164
+ source: string;
4165
4165
  referenceAs: string;
4166
4166
  }, {
4167
- source: string;
4168
4167
  destination: string;
4168
+ source: string;
4169
4169
  referenceAs: string;
4170
4170
  }>, "many">>;
4171
4171
  runtimeRequirements: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
@@ -4175,8 +4175,8 @@ export declare const projectContextSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
4175
4175
  reason: string;
4176
4176
  confidence: "low" | "medium" | "high";
4177
4177
  assetPlan?: {
4178
- source: string;
4179
4178
  destination: string;
4179
+ source: string;
4180
4180
  referenceAs: string;
4181
4181
  }[] | undefined;
4182
4182
  runtimeRequirements?: string[] | undefined;
@@ -4186,8 +4186,8 @@ export declare const projectContextSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
4186
4186
  reason: string;
4187
4187
  confidence: "low" | "medium" | "high";
4188
4188
  assetPlan?: {
4189
- source: string;
4190
4189
  destination: string;
4190
+ source: string;
4191
4191
  referenceAs: string;
4192
4192
  }[] | undefined;
4193
4193
  runtimeRequirements?: string[] | undefined;
@@ -4198,32 +4198,32 @@ export declare const projectContextSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
4198
4198
  version: 1;
4199
4199
  contextBundlePath: string;
4200
4200
  userContext: ({
4201
- id: string;
4202
4201
  path: string;
4202
+ id: string;
4203
4203
  transport: "prompt";
4204
4204
  } | {
4205
- id: string;
4206
4205
  url: string;
4206
+ id: string;
4207
4207
  transport: "url";
4208
4208
  label?: string | undefined;
4209
4209
  userIntent?: string | undefined;
4210
4210
  } | {
4211
- id: string;
4212
4211
  path: string;
4212
+ id: string;
4213
4213
  transport: "file";
4214
4214
  label?: string | undefined;
4215
4215
  userIntent?: string | undefined;
4216
4216
  mimeType?: string | undefined;
4217
4217
  originalFilename?: string | undefined;
4218
4218
  } | {
4219
- id: string;
4220
4219
  path: string;
4220
+ id: string;
4221
4221
  transport: "directory";
4222
4222
  label?: string | undefined;
4223
4223
  userIntent?: string | undefined;
4224
4224
  } | {
4225
- id: string;
4226
4225
  path: string;
4226
+ id: string;
4227
4227
  transport: "text";
4228
4228
  label?: string | undefined;
4229
4229
  userIntent?: string | undefined;
@@ -4288,8 +4288,8 @@ export declare const projectContextSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
4288
4288
  reason: string;
4289
4289
  confidence: "low" | "medium" | "high";
4290
4290
  assetPlan?: {
4291
- source: string;
4292
4291
  destination: string;
4292
+ source: string;
4293
4293
  referenceAs: string;
4294
4294
  }[] | undefined;
4295
4295
  runtimeRequirements?: string[] | undefined;
@@ -4300,32 +4300,32 @@ export declare const projectContextSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
4300
4300
  version: 1;
4301
4301
  contextBundlePath: string;
4302
4302
  userContext: ({
4303
- id: string;
4304
4303
  path: string;
4304
+ id: string;
4305
4305
  transport: "prompt";
4306
4306
  } | {
4307
- id: string;
4308
4307
  url: string;
4308
+ id: string;
4309
4309
  transport: "url";
4310
4310
  label?: string | undefined;
4311
4311
  userIntent?: string | undefined;
4312
4312
  } | {
4313
- id: string;
4314
4313
  path: string;
4314
+ id: string;
4315
4315
  transport: "file";
4316
4316
  label?: string | undefined;
4317
4317
  userIntent?: string | undefined;
4318
4318
  mimeType?: string | undefined;
4319
4319
  originalFilename?: string | undefined;
4320
4320
  } | {
4321
- id: string;
4322
4321
  path: string;
4322
+ id: string;
4323
4323
  transport: "directory";
4324
4324
  label?: string | undefined;
4325
4325
  userIntent?: string | undefined;
4326
4326
  } | {
4327
- id: string;
4328
4327
  path: string;
4328
+ id: string;
4329
4329
  transport: "text";
4330
4330
  label?: string | undefined;
4331
4331
  userIntent?: string | undefined;
@@ -4390,8 +4390,8 @@ export declare const projectContextSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
4390
4390
  reason: string;
4391
4391
  confidence: "low" | "medium" | "high";
4392
4392
  assetPlan?: {
4393
- source: string;
4394
4393
  destination: string;
4394
+ source: string;
4395
4395
  referenceAs: string;
4396
4396
  }[] | undefined;
4397
4397
  runtimeRequirements?: string[] | undefined;
@@ -4411,12 +4411,12 @@ export declare const projectContextSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
4411
4411
  destination: z.ZodString;
4412
4412
  referenceAs: z.ZodString;
4413
4413
  }, "strip", z.ZodTypeAny, {
4414
- source: string;
4415
4414
  destination: string;
4415
+ source: string;
4416
4416
  referenceAs: string;
4417
4417
  }, {
4418
- source: string;
4419
4418
  destination: string;
4419
+ source: string;
4420
4420
  referenceAs: string;
4421
4421
  }>, "many">>;
4422
4422
  runtimeRequirements: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
@@ -4426,8 +4426,8 @@ export declare const projectContextSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
4426
4426
  reason: string;
4427
4427
  confidence: "low" | "medium" | "high";
4428
4428
  assetPlan?: {
4429
- source: string;
4430
4429
  destination: string;
4430
+ source: string;
4431
4431
  referenceAs: string;
4432
4432
  }[] | undefined;
4433
4433
  runtimeRequirements?: string[] | undefined;
@@ -4437,8 +4437,8 @@ export declare const projectContextSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
4437
4437
  reason: string;
4438
4438
  confidence: "low" | "medium" | "high";
4439
4439
  assetPlan?: {
4440
- source: string;
4441
4440
  destination: string;
4441
+ source: string;
4442
4442
  referenceAs: string;
4443
4443
  }[] | undefined;
4444
4444
  runtimeRequirements?: string[] | undefined;
@@ -4454,8 +4454,8 @@ export declare const projectContextSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
4454
4454
  reason: string;
4455
4455
  confidence: "low" | "medium" | "high";
4456
4456
  assetPlan?: {
4457
- source: string;
4458
4457
  destination: string;
4458
+ source: string;
4459
4459
  referenceAs: string;
4460
4460
  }[] | undefined;
4461
4461
  runtimeRequirements?: string[] | undefined;
@@ -4474,32 +4474,32 @@ export declare const projectContextSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
4474
4474
  version: 1;
4475
4475
  contextBundlePath: string;
4476
4476
  userContext: ({
4477
- id: string;
4478
4477
  path: string;
4478
+ id: string;
4479
4479
  transport: "prompt";
4480
4480
  } | {
4481
- id: string;
4482
4481
  url: string;
4482
+ id: string;
4483
4483
  transport: "url";
4484
4484
  label?: string | undefined;
4485
4485
  userIntent?: string | undefined;
4486
4486
  } | {
4487
- id: string;
4488
4487
  path: string;
4488
+ id: string;
4489
4489
  transport: "file";
4490
4490
  label?: string | undefined;
4491
4491
  userIntent?: string | undefined;
4492
4492
  mimeType?: string | undefined;
4493
4493
  originalFilename?: string | undefined;
4494
4494
  } | {
4495
- id: string;
4496
4495
  path: string;
4496
+ id: string;
4497
4497
  transport: "directory";
4498
4498
  label?: string | undefined;
4499
4499
  userIntent?: string | undefined;
4500
4500
  } | {
4501
- id: string;
4502
4501
  path: string;
4502
+ id: string;
4503
4503
  transport: "text";
4504
4504
  label?: string | undefined;
4505
4505
  userIntent?: string | undefined;
@@ -4564,8 +4564,8 @@ export declare const projectContextSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
4564
4564
  reason: string;
4565
4565
  confidence: "low" | "medium" | "high";
4566
4566
  assetPlan?: {
4567
- source: string;
4568
4567
  destination: string;
4568
+ source: string;
4569
4569
  referenceAs: string;
4570
4570
  }[] | undefined;
4571
4571
  runtimeRequirements?: string[] | undefined;
@@ -4583,8 +4583,8 @@ export declare const projectContextSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
4583
4583
  reason: string;
4584
4584
  confidence: "low" | "medium" | "high";
4585
4585
  assetPlan?: {
4586
- source: string;
4587
4586
  destination: string;
4587
+ source: string;
4588
4588
  referenceAs: string;
4589
4589
  }[] | undefined;
4590
4590
  runtimeRequirements?: string[] | undefined;
@@ -4603,32 +4603,32 @@ export declare const projectContextSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
4603
4603
  version: 1;
4604
4604
  contextBundlePath: string;
4605
4605
  userContext: ({
4606
- id: string;
4607
4606
  path: string;
4607
+ id: string;
4608
4608
  transport: "prompt";
4609
4609
  } | {
4610
- id: string;
4611
4610
  url: string;
4611
+ id: string;
4612
4612
  transport: "url";
4613
4613
  label?: string | undefined;
4614
4614
  userIntent?: string | undefined;
4615
4615
  } | {
4616
- id: string;
4617
4616
  path: string;
4617
+ id: string;
4618
4618
  transport: "file";
4619
4619
  label?: string | undefined;
4620
4620
  userIntent?: string | undefined;
4621
4621
  mimeType?: string | undefined;
4622
4622
  originalFilename?: string | undefined;
4623
4623
  } | {
4624
- id: string;
4625
4624
  path: string;
4625
+ id: string;
4626
4626
  transport: "directory";
4627
4627
  label?: string | undefined;
4628
4628
  userIntent?: string | undefined;
4629
4629
  } | {
4630
- id: string;
4631
4630
  path: string;
4631
+ id: string;
4632
4632
  transport: "text";
4633
4633
  label?: string | undefined;
4634
4634
  userIntent?: string | undefined;
@@ -4693,8 +4693,8 @@ export declare const projectContextSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
4693
4693
  reason: string;
4694
4694
  confidence: "low" | "medium" | "high";
4695
4695
  assetPlan?: {
4696
- source: string;
4697
4696
  destination: string;
4697
+ source: string;
4698
4698
  referenceAs: string;
4699
4699
  }[] | undefined;
4700
4700
  runtimeRequirements?: string[] | undefined;
@@ -4742,12 +4742,12 @@ export declare const projectContextInputSchema: z.ZodDiscriminatedUnion<"kind",
4742
4742
  transport: z.ZodLiteral<"prompt">;
4743
4743
  path: z.ZodString;
4744
4744
  }, "strip", z.ZodTypeAny, {
4745
- id: string;
4746
4745
  path: string;
4746
+ id: string;
4747
4747
  transport: "prompt";
4748
4748
  }, {
4749
- id: string;
4750
4749
  path: string;
4750
+ id: string;
4751
4751
  transport: "prompt";
4752
4752
  }>, z.ZodObject<{
4753
4753
  id: z.ZodString;
@@ -4756,14 +4756,14 @@ export declare const projectContextInputSchema: z.ZodDiscriminatedUnion<"kind",
4756
4756
  label: z.ZodOptional<z.ZodString>;
4757
4757
  userIntent: z.ZodOptional<z.ZodString>;
4758
4758
  }, "strip", z.ZodTypeAny, {
4759
- id: string;
4760
4759
  url: string;
4760
+ id: string;
4761
4761
  transport: "url";
4762
4762
  label?: string | undefined;
4763
4763
  userIntent?: string | undefined;
4764
4764
  }, {
4765
- id: string;
4766
4765
  url: string;
4766
+ id: string;
4767
4767
  transport: "url";
4768
4768
  label?: string | undefined;
4769
4769
  userIntent?: string | undefined;
@@ -4776,16 +4776,16 @@ export declare const projectContextInputSchema: z.ZodDiscriminatedUnion<"kind",
4776
4776
  label: z.ZodOptional<z.ZodString>;
4777
4777
  userIntent: z.ZodOptional<z.ZodString>;
4778
4778
  }, "strip", z.ZodTypeAny, {
4779
- id: string;
4780
4779
  path: string;
4780
+ id: string;
4781
4781
  transport: "file";
4782
4782
  label?: string | undefined;
4783
4783
  userIntent?: string | undefined;
4784
4784
  mimeType?: string | undefined;
4785
4785
  originalFilename?: string | undefined;
4786
4786
  }, {
4787
- id: string;
4788
4787
  path: string;
4788
+ id: string;
4789
4789
  transport: "file";
4790
4790
  label?: string | undefined;
4791
4791
  userIntent?: string | undefined;
@@ -4798,14 +4798,14 @@ export declare const projectContextInputSchema: z.ZodDiscriminatedUnion<"kind",
4798
4798
  label: z.ZodOptional<z.ZodString>;
4799
4799
  userIntent: z.ZodOptional<z.ZodString>;
4800
4800
  }, "strip", z.ZodTypeAny, {
4801
- id: string;
4802
4801
  path: string;
4802
+ id: string;
4803
4803
  transport: "directory";
4804
4804
  label?: string | undefined;
4805
4805
  userIntent?: string | undefined;
4806
4806
  }, {
4807
- id: string;
4808
4807
  path: string;
4808
+ id: string;
4809
4809
  transport: "directory";
4810
4810
  label?: string | undefined;
4811
4811
  userIntent?: string | undefined;
@@ -4816,14 +4816,14 @@ export declare const projectContextInputSchema: z.ZodDiscriminatedUnion<"kind",
4816
4816
  label: z.ZodOptional<z.ZodString>;
4817
4817
  userIntent: z.ZodOptional<z.ZodString>;
4818
4818
  }, "strip", z.ZodTypeAny, {
4819
- id: string;
4820
4819
  path: string;
4820
+ id: string;
4821
4821
  transport: "text";
4822
4822
  label?: string | undefined;
4823
4823
  userIntent?: string | undefined;
4824
4824
  }, {
4825
- id: string;
4826
4825
  path: string;
4826
+ id: string;
4827
4827
  transport: "text";
4828
4828
  label?: string | undefined;
4829
4829
  userIntent?: string | undefined;
@@ -5047,12 +5047,12 @@ export declare const projectContextInputSchema: z.ZodDiscriminatedUnion<"kind",
5047
5047
  destination: z.ZodString;
5048
5048
  referenceAs: z.ZodString;
5049
5049
  }, "strip", z.ZodTypeAny, {
5050
- source: string;
5051
5050
  destination: string;
5051
+ source: string;
5052
5052
  referenceAs: string;
5053
5053
  }, {
5054
- source: string;
5055
5054
  destination: string;
5055
+ source: string;
5056
5056
  referenceAs: string;
5057
5057
  }>, "many">>;
5058
5058
  runtimeRequirements: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
@@ -5062,8 +5062,8 @@ export declare const projectContextInputSchema: z.ZodDiscriminatedUnion<"kind",
5062
5062
  reason: string;
5063
5063
  confidence: "low" | "medium" | "high";
5064
5064
  assetPlan?: {
5065
- source: string;
5066
5065
  destination: string;
5066
+ source: string;
5067
5067
  referenceAs: string;
5068
5068
  }[] | undefined;
5069
5069
  runtimeRequirements?: string[] | undefined;
@@ -5073,8 +5073,8 @@ export declare const projectContextInputSchema: z.ZodDiscriminatedUnion<"kind",
5073
5073
  reason: string;
5074
5074
  confidence: "low" | "medium" | "high";
5075
5075
  assetPlan?: {
5076
- source: string;
5077
5076
  destination: string;
5077
+ source: string;
5078
5078
  referenceAs: string;
5079
5079
  }[] | undefined;
5080
5080
  runtimeRequirements?: string[] | undefined;
@@ -5085,32 +5085,32 @@ export declare const projectContextInputSchema: z.ZodDiscriminatedUnion<"kind",
5085
5085
  version: 1;
5086
5086
  contextBundlePath: string;
5087
5087
  userContext: ({
5088
- id: string;
5089
5088
  path: string;
5089
+ id: string;
5090
5090
  transport: "prompt";
5091
5091
  } | {
5092
- id: string;
5093
5092
  url: string;
5093
+ id: string;
5094
5094
  transport: "url";
5095
5095
  label?: string | undefined;
5096
5096
  userIntent?: string | undefined;
5097
5097
  } | {
5098
- id: string;
5099
5098
  path: string;
5099
+ id: string;
5100
5100
  transport: "file";
5101
5101
  label?: string | undefined;
5102
5102
  userIntent?: string | undefined;
5103
5103
  mimeType?: string | undefined;
5104
5104
  originalFilename?: string | undefined;
5105
5105
  } | {
5106
- id: string;
5107
5106
  path: string;
5107
+ id: string;
5108
5108
  transport: "directory";
5109
5109
  label?: string | undefined;
5110
5110
  userIntent?: string | undefined;
5111
5111
  } | {
5112
- id: string;
5113
5112
  path: string;
5113
+ id: string;
5114
5114
  transport: "text";
5115
5115
  label?: string | undefined;
5116
5116
  userIntent?: string | undefined;
@@ -5175,8 +5175,8 @@ export declare const projectContextInputSchema: z.ZodDiscriminatedUnion<"kind",
5175
5175
  reason: string;
5176
5176
  confidence: "low" | "medium" | "high";
5177
5177
  assetPlan?: {
5178
- source: string;
5179
5178
  destination: string;
5179
+ source: string;
5180
5180
  referenceAs: string;
5181
5181
  }[] | undefined;
5182
5182
  runtimeRequirements?: string[] | undefined;
@@ -5187,32 +5187,32 @@ export declare const projectContextInputSchema: z.ZodDiscriminatedUnion<"kind",
5187
5187
  version: 1;
5188
5188
  contextBundlePath: string;
5189
5189
  userContext: ({
5190
- id: string;
5191
5190
  path: string;
5191
+ id: string;
5192
5192
  transport: "prompt";
5193
5193
  } | {
5194
- id: string;
5195
5194
  url: string;
5195
+ id: string;
5196
5196
  transport: "url";
5197
5197
  label?: string | undefined;
5198
5198
  userIntent?: string | undefined;
5199
5199
  } | {
5200
- id: string;
5201
5200
  path: string;
5201
+ id: string;
5202
5202
  transport: "file";
5203
5203
  label?: string | undefined;
5204
5204
  userIntent?: string | undefined;
5205
5205
  mimeType?: string | undefined;
5206
5206
  originalFilename?: string | undefined;
5207
5207
  } | {
5208
- id: string;
5209
5208
  path: string;
5209
+ id: string;
5210
5210
  transport: "directory";
5211
5211
  label?: string | undefined;
5212
5212
  userIntent?: string | undefined;
5213
5213
  } | {
5214
- id: string;
5215
5214
  path: string;
5215
+ id: string;
5216
5216
  transport: "text";
5217
5217
  label?: string | undefined;
5218
5218
  userIntent?: string | undefined;
@@ -5277,8 +5277,8 @@ export declare const projectContextInputSchema: z.ZodDiscriminatedUnion<"kind",
5277
5277
  reason: string;
5278
5278
  confidence: "low" | "medium" | "high";
5279
5279
  assetPlan?: {
5280
- source: string;
5281
5280
  destination: string;
5281
+ source: string;
5282
5282
  referenceAs: string;
5283
5283
  }[] | undefined;
5284
5284
  runtimeRequirements?: string[] | undefined;
@@ -5356,12 +5356,12 @@ export declare const projectContextInputSchema: z.ZodDiscriminatedUnion<"kind",
5356
5356
  transport: z.ZodLiteral<"prompt">;
5357
5357
  path: z.ZodString;
5358
5358
  }, "strip", z.ZodTypeAny, {
5359
- id: string;
5360
5359
  path: string;
5360
+ id: string;
5361
5361
  transport: "prompt";
5362
5362
  }, {
5363
- id: string;
5364
5363
  path: string;
5364
+ id: string;
5365
5365
  transport: "prompt";
5366
5366
  }>, z.ZodObject<{
5367
5367
  id: z.ZodString;
@@ -5370,14 +5370,14 @@ export declare const projectContextInputSchema: z.ZodDiscriminatedUnion<"kind",
5370
5370
  label: z.ZodOptional<z.ZodString>;
5371
5371
  userIntent: z.ZodOptional<z.ZodString>;
5372
5372
  }, "strip", z.ZodTypeAny, {
5373
- id: string;
5374
5373
  url: string;
5374
+ id: string;
5375
5375
  transport: "url";
5376
5376
  label?: string | undefined;
5377
5377
  userIntent?: string | undefined;
5378
5378
  }, {
5379
- id: string;
5380
5379
  url: string;
5380
+ id: string;
5381
5381
  transport: "url";
5382
5382
  label?: string | undefined;
5383
5383
  userIntent?: string | undefined;
@@ -5390,16 +5390,16 @@ export declare const projectContextInputSchema: z.ZodDiscriminatedUnion<"kind",
5390
5390
  label: z.ZodOptional<z.ZodString>;
5391
5391
  userIntent: z.ZodOptional<z.ZodString>;
5392
5392
  }, "strip", z.ZodTypeAny, {
5393
- id: string;
5394
5393
  path: string;
5394
+ id: string;
5395
5395
  transport: "file";
5396
5396
  label?: string | undefined;
5397
5397
  userIntent?: string | undefined;
5398
5398
  mimeType?: string | undefined;
5399
5399
  originalFilename?: string | undefined;
5400
5400
  }, {
5401
- id: string;
5402
5401
  path: string;
5402
+ id: string;
5403
5403
  transport: "file";
5404
5404
  label?: string | undefined;
5405
5405
  userIntent?: string | undefined;
@@ -5412,14 +5412,14 @@ export declare const projectContextInputSchema: z.ZodDiscriminatedUnion<"kind",
5412
5412
  label: z.ZodOptional<z.ZodString>;
5413
5413
  userIntent: z.ZodOptional<z.ZodString>;
5414
5414
  }, "strip", z.ZodTypeAny, {
5415
- id: string;
5416
5415
  path: string;
5416
+ id: string;
5417
5417
  transport: "directory";
5418
5418
  label?: string | undefined;
5419
5419
  userIntent?: string | undefined;
5420
5420
  }, {
5421
- id: string;
5422
5421
  path: string;
5422
+ id: string;
5423
5423
  transport: "directory";
5424
5424
  label?: string | undefined;
5425
5425
  userIntent?: string | undefined;
@@ -5430,14 +5430,14 @@ export declare const projectContextInputSchema: z.ZodDiscriminatedUnion<"kind",
5430
5430
  label: z.ZodOptional<z.ZodString>;
5431
5431
  userIntent: z.ZodOptional<z.ZodString>;
5432
5432
  }, "strip", z.ZodTypeAny, {
5433
- id: string;
5434
5433
  path: string;
5434
+ id: string;
5435
5435
  transport: "text";
5436
5436
  label?: string | undefined;
5437
5437
  userIntent?: string | undefined;
5438
5438
  }, {
5439
- id: string;
5440
5439
  path: string;
5440
+ id: string;
5441
5441
  transport: "text";
5442
5442
  label?: string | undefined;
5443
5443
  userIntent?: string | undefined;
@@ -5661,12 +5661,12 @@ export declare const projectContextInputSchema: z.ZodDiscriminatedUnion<"kind",
5661
5661
  destination: z.ZodString;
5662
5662
  referenceAs: z.ZodString;
5663
5663
  }, "strip", z.ZodTypeAny, {
5664
- source: string;
5665
5664
  destination: string;
5665
+ source: string;
5666
5666
  referenceAs: string;
5667
5667
  }, {
5668
- source: string;
5669
5668
  destination: string;
5669
+ source: string;
5670
5670
  referenceAs: string;
5671
5671
  }>, "many">>;
5672
5672
  runtimeRequirements: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
@@ -5676,8 +5676,8 @@ export declare const projectContextInputSchema: z.ZodDiscriminatedUnion<"kind",
5676
5676
  reason: string;
5677
5677
  confidence: "low" | "medium" | "high";
5678
5678
  assetPlan?: {
5679
- source: string;
5680
5679
  destination: string;
5680
+ source: string;
5681
5681
  referenceAs: string;
5682
5682
  }[] | undefined;
5683
5683
  runtimeRequirements?: string[] | undefined;
@@ -5687,8 +5687,8 @@ export declare const projectContextInputSchema: z.ZodDiscriminatedUnion<"kind",
5687
5687
  reason: string;
5688
5688
  confidence: "low" | "medium" | "high";
5689
5689
  assetPlan?: {
5690
- source: string;
5691
5690
  destination: string;
5691
+ source: string;
5692
5692
  referenceAs: string;
5693
5693
  }[] | undefined;
5694
5694
  runtimeRequirements?: string[] | undefined;
@@ -5699,32 +5699,32 @@ export declare const projectContextInputSchema: z.ZodDiscriminatedUnion<"kind",
5699
5699
  version: 1;
5700
5700
  contextBundlePath: string;
5701
5701
  userContext: ({
5702
- id: string;
5703
5702
  path: string;
5703
+ id: string;
5704
5704
  transport: "prompt";
5705
5705
  } | {
5706
- id: string;
5707
5706
  url: string;
5707
+ id: string;
5708
5708
  transport: "url";
5709
5709
  label?: string | undefined;
5710
5710
  userIntent?: string | undefined;
5711
5711
  } | {
5712
- id: string;
5713
5712
  path: string;
5713
+ id: string;
5714
5714
  transport: "file";
5715
5715
  label?: string | undefined;
5716
5716
  userIntent?: string | undefined;
5717
5717
  mimeType?: string | undefined;
5718
5718
  originalFilename?: string | undefined;
5719
5719
  } | {
5720
- id: string;
5721
5720
  path: string;
5721
+ id: string;
5722
5722
  transport: "directory";
5723
5723
  label?: string | undefined;
5724
5724
  userIntent?: string | undefined;
5725
5725
  } | {
5726
- id: string;
5727
5726
  path: string;
5727
+ id: string;
5728
5728
  transport: "text";
5729
5729
  label?: string | undefined;
5730
5730
  userIntent?: string | undefined;
@@ -5789,8 +5789,8 @@ export declare const projectContextInputSchema: z.ZodDiscriminatedUnion<"kind",
5789
5789
  reason: string;
5790
5790
  confidence: "low" | "medium" | "high";
5791
5791
  assetPlan?: {
5792
- source: string;
5793
5792
  destination: string;
5793
+ source: string;
5794
5794
  referenceAs: string;
5795
5795
  }[] | undefined;
5796
5796
  runtimeRequirements?: string[] | undefined;
@@ -5801,32 +5801,32 @@ export declare const projectContextInputSchema: z.ZodDiscriminatedUnion<"kind",
5801
5801
  version: 1;
5802
5802
  contextBundlePath: string;
5803
5803
  userContext: ({
5804
- id: string;
5805
5804
  path: string;
5805
+ id: string;
5806
5806
  transport: "prompt";
5807
5807
  } | {
5808
- id: string;
5809
5808
  url: string;
5809
+ id: string;
5810
5810
  transport: "url";
5811
5811
  label?: string | undefined;
5812
5812
  userIntent?: string | undefined;
5813
5813
  } | {
5814
- id: string;
5815
5814
  path: string;
5815
+ id: string;
5816
5816
  transport: "file";
5817
5817
  label?: string | undefined;
5818
5818
  userIntent?: string | undefined;
5819
5819
  mimeType?: string | undefined;
5820
5820
  originalFilename?: string | undefined;
5821
5821
  } | {
5822
- id: string;
5823
5822
  path: string;
5823
+ id: string;
5824
5824
  transport: "directory";
5825
5825
  label?: string | undefined;
5826
5826
  userIntent?: string | undefined;
5827
5827
  } | {
5828
- id: string;
5829
5828
  path: string;
5829
+ id: string;
5830
5830
  transport: "text";
5831
5831
  label?: string | undefined;
5832
5832
  userIntent?: string | undefined;
@@ -5891,8 +5891,8 @@ export declare const projectContextInputSchema: z.ZodDiscriminatedUnion<"kind",
5891
5891
  reason: string;
5892
5892
  confidence: "low" | "medium" | "high";
5893
5893
  assetPlan?: {
5894
- source: string;
5895
5894
  destination: string;
5895
+ source: string;
5896
5896
  referenceAs: string;
5897
5897
  }[] | undefined;
5898
5898
  runtimeRequirements?: string[] | undefined;
@@ -5912,12 +5912,12 @@ export declare const projectContextInputSchema: z.ZodDiscriminatedUnion<"kind",
5912
5912
  destination: z.ZodString;
5913
5913
  referenceAs: z.ZodString;
5914
5914
  }, "strip", z.ZodTypeAny, {
5915
- source: string;
5916
5915
  destination: string;
5916
+ source: string;
5917
5917
  referenceAs: string;
5918
5918
  }, {
5919
- source: string;
5920
5919
  destination: string;
5920
+ source: string;
5921
5921
  referenceAs: string;
5922
5922
  }>, "many">>;
5923
5923
  runtimeRequirements: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
@@ -5927,8 +5927,8 @@ export declare const projectContextInputSchema: z.ZodDiscriminatedUnion<"kind",
5927
5927
  reason: string;
5928
5928
  confidence: "low" | "medium" | "high";
5929
5929
  assetPlan?: {
5930
- source: string;
5931
5930
  destination: string;
5931
+ source: string;
5932
5932
  referenceAs: string;
5933
5933
  }[] | undefined;
5934
5934
  runtimeRequirements?: string[] | undefined;
@@ -5938,8 +5938,8 @@ export declare const projectContextInputSchema: z.ZodDiscriminatedUnion<"kind",
5938
5938
  reason: string;
5939
5939
  confidence: "low" | "medium" | "high";
5940
5940
  assetPlan?: {
5941
- source: string;
5942
5941
  destination: string;
5942
+ source: string;
5943
5943
  referenceAs: string;
5944
5944
  }[] | undefined;
5945
5945
  runtimeRequirements?: string[] | undefined;
@@ -5955,8 +5955,8 @@ export declare const projectContextInputSchema: z.ZodDiscriminatedUnion<"kind",
5955
5955
  reason: string;
5956
5956
  confidence: "low" | "medium" | "high";
5957
5957
  assetPlan?: {
5958
- source: string;
5959
5958
  destination: string;
5959
+ source: string;
5960
5960
  referenceAs: string;
5961
5961
  }[] | undefined;
5962
5962
  runtimeRequirements?: string[] | undefined;
@@ -5981,8 +5981,8 @@ export declare const projectContextInputSchema: z.ZodDiscriminatedUnion<"kind",
5981
5981
  reason: string;
5982
5982
  confidence: "low" | "medium" | "high";
5983
5983
  assetPlan?: {
5984
- source: string;
5985
5984
  destination: string;
5985
+ source: string;
5986
5986
  referenceAs: string;
5987
5987
  }[] | undefined;
5988
5988
  runtimeRequirements?: string[] | undefined;
@@ -6234,12 +6234,12 @@ export declare const variantWorkItemContextSchema: z.ZodObject<{
6234
6234
  transport: z.ZodLiteral<"prompt">;
6235
6235
  path: z.ZodString;
6236
6236
  }, "strip", z.ZodTypeAny, {
6237
- id: string;
6238
6237
  path: string;
6238
+ id: string;
6239
6239
  transport: "prompt";
6240
6240
  }, {
6241
- id: string;
6242
6241
  path: string;
6242
+ id: string;
6243
6243
  transport: "prompt";
6244
6244
  }>, z.ZodObject<{
6245
6245
  id: z.ZodString;
@@ -6248,14 +6248,14 @@ export declare const variantWorkItemContextSchema: z.ZodObject<{
6248
6248
  label: z.ZodOptional<z.ZodString>;
6249
6249
  userIntent: z.ZodOptional<z.ZodString>;
6250
6250
  }, "strip", z.ZodTypeAny, {
6251
- id: string;
6252
6251
  url: string;
6252
+ id: string;
6253
6253
  transport: "url";
6254
6254
  label?: string | undefined;
6255
6255
  userIntent?: string | undefined;
6256
6256
  }, {
6257
- id: string;
6258
6257
  url: string;
6258
+ id: string;
6259
6259
  transport: "url";
6260
6260
  label?: string | undefined;
6261
6261
  userIntent?: string | undefined;
@@ -6268,16 +6268,16 @@ export declare const variantWorkItemContextSchema: z.ZodObject<{
6268
6268
  label: z.ZodOptional<z.ZodString>;
6269
6269
  userIntent: z.ZodOptional<z.ZodString>;
6270
6270
  }, "strip", z.ZodTypeAny, {
6271
- id: string;
6272
6271
  path: string;
6272
+ id: string;
6273
6273
  transport: "file";
6274
6274
  label?: string | undefined;
6275
6275
  userIntent?: string | undefined;
6276
6276
  mimeType?: string | undefined;
6277
6277
  originalFilename?: string | undefined;
6278
6278
  }, {
6279
- id: string;
6280
6279
  path: string;
6280
+ id: string;
6281
6281
  transport: "file";
6282
6282
  label?: string | undefined;
6283
6283
  userIntent?: string | undefined;
@@ -6290,14 +6290,14 @@ export declare const variantWorkItemContextSchema: z.ZodObject<{
6290
6290
  label: z.ZodOptional<z.ZodString>;
6291
6291
  userIntent: z.ZodOptional<z.ZodString>;
6292
6292
  }, "strip", z.ZodTypeAny, {
6293
- id: string;
6294
6293
  path: string;
6294
+ id: string;
6295
6295
  transport: "directory";
6296
6296
  label?: string | undefined;
6297
6297
  userIntent?: string | undefined;
6298
6298
  }, {
6299
- id: string;
6300
6299
  path: string;
6300
+ id: string;
6301
6301
  transport: "directory";
6302
6302
  label?: string | undefined;
6303
6303
  userIntent?: string | undefined;
@@ -6308,14 +6308,14 @@ export declare const variantWorkItemContextSchema: z.ZodObject<{
6308
6308
  label: z.ZodOptional<z.ZodString>;
6309
6309
  userIntent: z.ZodOptional<z.ZodString>;
6310
6310
  }, "strip", z.ZodTypeAny, {
6311
- id: string;
6312
6311
  path: string;
6312
+ id: string;
6313
6313
  transport: "text";
6314
6314
  label?: string | undefined;
6315
6315
  userIntent?: string | undefined;
6316
6316
  }, {
6317
- id: string;
6318
6317
  path: string;
6318
+ id: string;
6319
6319
  transport: "text";
6320
6320
  label?: string | undefined;
6321
6321
  userIntent?: string | undefined;
@@ -6507,32 +6507,32 @@ export declare const variantWorkItemContextSchema: z.ZodObject<{
6507
6507
  };
6508
6508
  contextBundlePath: string;
6509
6509
  userContext: ({
6510
- id: string;
6511
6510
  path: string;
6511
+ id: string;
6512
6512
  transport: "prompt";
6513
6513
  } | {
6514
- id: string;
6515
6514
  url: string;
6515
+ id: string;
6516
6516
  transport: "url";
6517
6517
  label?: string | undefined;
6518
6518
  userIntent?: string | undefined;
6519
6519
  } | {
6520
- id: string;
6521
6520
  path: string;
6521
+ id: string;
6522
6522
  transport: "file";
6523
6523
  label?: string | undefined;
6524
6524
  userIntent?: string | undefined;
6525
6525
  mimeType?: string | undefined;
6526
6526
  originalFilename?: string | undefined;
6527
6527
  } | {
6528
- id: string;
6529
6528
  path: string;
6529
+ id: string;
6530
6530
  transport: "directory";
6531
6531
  label?: string | undefined;
6532
6532
  userIntent?: string | undefined;
6533
6533
  } | {
6534
- id: string;
6535
6534
  path: string;
6535
+ id: string;
6536
6536
  transport: "text";
6537
6537
  label?: string | undefined;
6538
6538
  userIntent?: string | undefined;
@@ -6583,32 +6583,32 @@ export declare const variantWorkItemContextSchema: z.ZodObject<{
6583
6583
  };
6584
6584
  contextBundlePath: string;
6585
6585
  userContext: ({
6586
- id: string;
6587
6586
  path: string;
6587
+ id: string;
6588
6588
  transport: "prompt";
6589
6589
  } | {
6590
- id: string;
6591
6590
  url: string;
6591
+ id: string;
6592
6592
  transport: "url";
6593
6593
  label?: string | undefined;
6594
6594
  userIntent?: string | undefined;
6595
6595
  } | {
6596
- id: string;
6597
6596
  path: string;
6597
+ id: string;
6598
6598
  transport: "file";
6599
6599
  label?: string | undefined;
6600
6600
  userIntent?: string | undefined;
6601
6601
  mimeType?: string | undefined;
6602
6602
  originalFilename?: string | undefined;
6603
6603
  } | {
6604
- id: string;
6605
6604
  path: string;
6605
+ id: string;
6606
6606
  transport: "directory";
6607
6607
  label?: string | undefined;
6608
6608
  userIntent?: string | undefined;
6609
6609
  } | {
6610
- id: string;
6611
6610
  path: string;
6611
+ id: string;
6612
6612
  transport: "text";
6613
6613
  label?: string | undefined;
6614
6614
  userIntent?: string | undefined;
@@ -6717,12 +6717,12 @@ export declare const proposeVariantsInput: {
6717
6717
  transport: z.ZodLiteral<"prompt">;
6718
6718
  path: z.ZodString;
6719
6719
  }, "strip", z.ZodTypeAny, {
6720
- id: string;
6721
6720
  path: string;
6721
+ id: string;
6722
6722
  transport: "prompt";
6723
6723
  }, {
6724
- id: string;
6725
6724
  path: string;
6725
+ id: string;
6726
6726
  transport: "prompt";
6727
6727
  }>, z.ZodObject<{
6728
6728
  id: z.ZodString;
@@ -6731,14 +6731,14 @@ export declare const proposeVariantsInput: {
6731
6731
  label: z.ZodOptional<z.ZodString>;
6732
6732
  userIntent: z.ZodOptional<z.ZodString>;
6733
6733
  }, "strip", z.ZodTypeAny, {
6734
- id: string;
6735
6734
  url: string;
6735
+ id: string;
6736
6736
  transport: "url";
6737
6737
  label?: string | undefined;
6738
6738
  userIntent?: string | undefined;
6739
6739
  }, {
6740
- id: string;
6741
6740
  url: string;
6741
+ id: string;
6742
6742
  transport: "url";
6743
6743
  label?: string | undefined;
6744
6744
  userIntent?: string | undefined;
@@ -6751,16 +6751,16 @@ export declare const proposeVariantsInput: {
6751
6751
  label: z.ZodOptional<z.ZodString>;
6752
6752
  userIntent: z.ZodOptional<z.ZodString>;
6753
6753
  }, "strip", z.ZodTypeAny, {
6754
- id: string;
6755
6754
  path: string;
6755
+ id: string;
6756
6756
  transport: "file";
6757
6757
  label?: string | undefined;
6758
6758
  userIntent?: string | undefined;
6759
6759
  mimeType?: string | undefined;
6760
6760
  originalFilename?: string | undefined;
6761
6761
  }, {
6762
- id: string;
6763
6762
  path: string;
6763
+ id: string;
6764
6764
  transport: "file";
6765
6765
  label?: string | undefined;
6766
6766
  userIntent?: string | undefined;
@@ -6773,14 +6773,14 @@ export declare const proposeVariantsInput: {
6773
6773
  label: z.ZodOptional<z.ZodString>;
6774
6774
  userIntent: z.ZodOptional<z.ZodString>;
6775
6775
  }, "strip", z.ZodTypeAny, {
6776
- id: string;
6777
6776
  path: string;
6777
+ id: string;
6778
6778
  transport: "directory";
6779
6779
  label?: string | undefined;
6780
6780
  userIntent?: string | undefined;
6781
6781
  }, {
6782
- id: string;
6783
6782
  path: string;
6783
+ id: string;
6784
6784
  transport: "directory";
6785
6785
  label?: string | undefined;
6786
6786
  userIntent?: string | undefined;
@@ -6791,14 +6791,14 @@ export declare const proposeVariantsInput: {
6791
6791
  label: z.ZodOptional<z.ZodString>;
6792
6792
  userIntent: z.ZodOptional<z.ZodString>;
6793
6793
  }, "strip", z.ZodTypeAny, {
6794
- id: string;
6795
6794
  path: string;
6795
+ id: string;
6796
6796
  transport: "text";
6797
6797
  label?: string | undefined;
6798
6798
  userIntent?: string | undefined;
6799
6799
  }, {
6800
- id: string;
6801
6800
  path: string;
6801
+ id: string;
6802
6802
  transport: "text";
6803
6803
  label?: string | undefined;
6804
6804
  userIntent?: string | undefined;
@@ -7022,12 +7022,12 @@ export declare const proposeVariantsInput: {
7022
7022
  destination: z.ZodString;
7023
7023
  referenceAs: z.ZodString;
7024
7024
  }, "strip", z.ZodTypeAny, {
7025
- source: string;
7026
7025
  destination: string;
7026
+ source: string;
7027
7027
  referenceAs: string;
7028
7028
  }, {
7029
- source: string;
7030
7029
  destination: string;
7030
+ source: string;
7031
7031
  referenceAs: string;
7032
7032
  }>, "many">>;
7033
7033
  runtimeRequirements: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
@@ -7037,8 +7037,8 @@ export declare const proposeVariantsInput: {
7037
7037
  reason: string;
7038
7038
  confidence: "low" | "medium" | "high";
7039
7039
  assetPlan?: {
7040
- source: string;
7041
7040
  destination: string;
7041
+ source: string;
7042
7042
  referenceAs: string;
7043
7043
  }[] | undefined;
7044
7044
  runtimeRequirements?: string[] | undefined;
@@ -7048,8 +7048,8 @@ export declare const proposeVariantsInput: {
7048
7048
  reason: string;
7049
7049
  confidence: "low" | "medium" | "high";
7050
7050
  assetPlan?: {
7051
- source: string;
7052
7051
  destination: string;
7052
+ source: string;
7053
7053
  referenceAs: string;
7054
7054
  }[] | undefined;
7055
7055
  runtimeRequirements?: string[] | undefined;
@@ -7060,32 +7060,32 @@ export declare const proposeVariantsInput: {
7060
7060
  version: 1;
7061
7061
  contextBundlePath: string;
7062
7062
  userContext: ({
7063
- id: string;
7064
7063
  path: string;
7064
+ id: string;
7065
7065
  transport: "prompt";
7066
7066
  } | {
7067
- id: string;
7068
7067
  url: string;
7068
+ id: string;
7069
7069
  transport: "url";
7070
7070
  label?: string | undefined;
7071
7071
  userIntent?: string | undefined;
7072
7072
  } | {
7073
- id: string;
7074
7073
  path: string;
7074
+ id: string;
7075
7075
  transport: "file";
7076
7076
  label?: string | undefined;
7077
7077
  userIntent?: string | undefined;
7078
7078
  mimeType?: string | undefined;
7079
7079
  originalFilename?: string | undefined;
7080
7080
  } | {
7081
- id: string;
7082
7081
  path: string;
7082
+ id: string;
7083
7083
  transport: "directory";
7084
7084
  label?: string | undefined;
7085
7085
  userIntent?: string | undefined;
7086
7086
  } | {
7087
- id: string;
7088
7087
  path: string;
7088
+ id: string;
7089
7089
  transport: "text";
7090
7090
  label?: string | undefined;
7091
7091
  userIntent?: string | undefined;
@@ -7150,8 +7150,8 @@ export declare const proposeVariantsInput: {
7150
7150
  reason: string;
7151
7151
  confidence: "low" | "medium" | "high";
7152
7152
  assetPlan?: {
7153
- source: string;
7154
7153
  destination: string;
7154
+ source: string;
7155
7155
  referenceAs: string;
7156
7156
  }[] | undefined;
7157
7157
  runtimeRequirements?: string[] | undefined;
@@ -7162,32 +7162,32 @@ export declare const proposeVariantsInput: {
7162
7162
  version: 1;
7163
7163
  contextBundlePath: string;
7164
7164
  userContext: ({
7165
- id: string;
7166
7165
  path: string;
7166
+ id: string;
7167
7167
  transport: "prompt";
7168
7168
  } | {
7169
- id: string;
7170
7169
  url: string;
7170
+ id: string;
7171
7171
  transport: "url";
7172
7172
  label?: string | undefined;
7173
7173
  userIntent?: string | undefined;
7174
7174
  } | {
7175
- id: string;
7176
7175
  path: string;
7176
+ id: string;
7177
7177
  transport: "file";
7178
7178
  label?: string | undefined;
7179
7179
  userIntent?: string | undefined;
7180
7180
  mimeType?: string | undefined;
7181
7181
  originalFilename?: string | undefined;
7182
7182
  } | {
7183
- id: string;
7184
7183
  path: string;
7184
+ id: string;
7185
7185
  transport: "directory";
7186
7186
  label?: string | undefined;
7187
7187
  userIntent?: string | undefined;
7188
7188
  } | {
7189
- id: string;
7190
7189
  path: string;
7190
+ id: string;
7191
7191
  transport: "text";
7192
7192
  label?: string | undefined;
7193
7193
  userIntent?: string | undefined;
@@ -7252,8 +7252,8 @@ export declare const proposeVariantsInput: {
7252
7252
  reason: string;
7253
7253
  confidence: "low" | "medium" | "high";
7254
7254
  assetPlan?: {
7255
- source: string;
7256
7255
  destination: string;
7256
+ source: string;
7257
7257
  referenceAs: string;
7258
7258
  }[] | undefined;
7259
7259
  runtimeRequirements?: string[] | undefined;
@@ -7331,12 +7331,12 @@ export declare const proposeVariantsInput: {
7331
7331
  transport: z.ZodLiteral<"prompt">;
7332
7332
  path: z.ZodString;
7333
7333
  }, "strip", z.ZodTypeAny, {
7334
- id: string;
7335
7334
  path: string;
7335
+ id: string;
7336
7336
  transport: "prompt";
7337
7337
  }, {
7338
- id: string;
7339
7338
  path: string;
7339
+ id: string;
7340
7340
  transport: "prompt";
7341
7341
  }>, z.ZodObject<{
7342
7342
  id: z.ZodString;
@@ -7345,14 +7345,14 @@ export declare const proposeVariantsInput: {
7345
7345
  label: z.ZodOptional<z.ZodString>;
7346
7346
  userIntent: z.ZodOptional<z.ZodString>;
7347
7347
  }, "strip", z.ZodTypeAny, {
7348
- id: string;
7349
7348
  url: string;
7349
+ id: string;
7350
7350
  transport: "url";
7351
7351
  label?: string | undefined;
7352
7352
  userIntent?: string | undefined;
7353
7353
  }, {
7354
- id: string;
7355
7354
  url: string;
7355
+ id: string;
7356
7356
  transport: "url";
7357
7357
  label?: string | undefined;
7358
7358
  userIntent?: string | undefined;
@@ -7365,16 +7365,16 @@ export declare const proposeVariantsInput: {
7365
7365
  label: z.ZodOptional<z.ZodString>;
7366
7366
  userIntent: z.ZodOptional<z.ZodString>;
7367
7367
  }, "strip", z.ZodTypeAny, {
7368
- id: string;
7369
7368
  path: string;
7369
+ id: string;
7370
7370
  transport: "file";
7371
7371
  label?: string | undefined;
7372
7372
  userIntent?: string | undefined;
7373
7373
  mimeType?: string | undefined;
7374
7374
  originalFilename?: string | undefined;
7375
7375
  }, {
7376
- id: string;
7377
7376
  path: string;
7377
+ id: string;
7378
7378
  transport: "file";
7379
7379
  label?: string | undefined;
7380
7380
  userIntent?: string | undefined;
@@ -7387,14 +7387,14 @@ export declare const proposeVariantsInput: {
7387
7387
  label: z.ZodOptional<z.ZodString>;
7388
7388
  userIntent: z.ZodOptional<z.ZodString>;
7389
7389
  }, "strip", z.ZodTypeAny, {
7390
- id: string;
7391
7390
  path: string;
7391
+ id: string;
7392
7392
  transport: "directory";
7393
7393
  label?: string | undefined;
7394
7394
  userIntent?: string | undefined;
7395
7395
  }, {
7396
- id: string;
7397
7396
  path: string;
7397
+ id: string;
7398
7398
  transport: "directory";
7399
7399
  label?: string | undefined;
7400
7400
  userIntent?: string | undefined;
@@ -7405,14 +7405,14 @@ export declare const proposeVariantsInput: {
7405
7405
  label: z.ZodOptional<z.ZodString>;
7406
7406
  userIntent: z.ZodOptional<z.ZodString>;
7407
7407
  }, "strip", z.ZodTypeAny, {
7408
- id: string;
7409
7408
  path: string;
7409
+ id: string;
7410
7410
  transport: "text";
7411
7411
  label?: string | undefined;
7412
7412
  userIntent?: string | undefined;
7413
7413
  }, {
7414
- id: string;
7415
7414
  path: string;
7415
+ id: string;
7416
7416
  transport: "text";
7417
7417
  label?: string | undefined;
7418
7418
  userIntent?: string | undefined;
@@ -7636,12 +7636,12 @@ export declare const proposeVariantsInput: {
7636
7636
  destination: z.ZodString;
7637
7637
  referenceAs: z.ZodString;
7638
7638
  }, "strip", z.ZodTypeAny, {
7639
- source: string;
7640
7639
  destination: string;
7640
+ source: string;
7641
7641
  referenceAs: string;
7642
7642
  }, {
7643
- source: string;
7644
7643
  destination: string;
7644
+ source: string;
7645
7645
  referenceAs: string;
7646
7646
  }>, "many">>;
7647
7647
  runtimeRequirements: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
@@ -7651,8 +7651,8 @@ export declare const proposeVariantsInput: {
7651
7651
  reason: string;
7652
7652
  confidence: "low" | "medium" | "high";
7653
7653
  assetPlan?: {
7654
- source: string;
7655
7654
  destination: string;
7655
+ source: string;
7656
7656
  referenceAs: string;
7657
7657
  }[] | undefined;
7658
7658
  runtimeRequirements?: string[] | undefined;
@@ -7662,8 +7662,8 @@ export declare const proposeVariantsInput: {
7662
7662
  reason: string;
7663
7663
  confidence: "low" | "medium" | "high";
7664
7664
  assetPlan?: {
7665
- source: string;
7666
7665
  destination: string;
7666
+ source: string;
7667
7667
  referenceAs: string;
7668
7668
  }[] | undefined;
7669
7669
  runtimeRequirements?: string[] | undefined;
@@ -7674,32 +7674,32 @@ export declare const proposeVariantsInput: {
7674
7674
  version: 1;
7675
7675
  contextBundlePath: string;
7676
7676
  userContext: ({
7677
- id: string;
7678
7677
  path: string;
7678
+ id: string;
7679
7679
  transport: "prompt";
7680
7680
  } | {
7681
- id: string;
7682
7681
  url: string;
7682
+ id: string;
7683
7683
  transport: "url";
7684
7684
  label?: string | undefined;
7685
7685
  userIntent?: string | undefined;
7686
7686
  } | {
7687
- id: string;
7688
7687
  path: string;
7688
+ id: string;
7689
7689
  transport: "file";
7690
7690
  label?: string | undefined;
7691
7691
  userIntent?: string | undefined;
7692
7692
  mimeType?: string | undefined;
7693
7693
  originalFilename?: string | undefined;
7694
7694
  } | {
7695
- id: string;
7696
7695
  path: string;
7696
+ id: string;
7697
7697
  transport: "directory";
7698
7698
  label?: string | undefined;
7699
7699
  userIntent?: string | undefined;
7700
7700
  } | {
7701
- id: string;
7702
7701
  path: string;
7702
+ id: string;
7703
7703
  transport: "text";
7704
7704
  label?: string | undefined;
7705
7705
  userIntent?: string | undefined;
@@ -7764,8 +7764,8 @@ export declare const proposeVariantsInput: {
7764
7764
  reason: string;
7765
7765
  confidence: "low" | "medium" | "high";
7766
7766
  assetPlan?: {
7767
- source: string;
7768
7767
  destination: string;
7768
+ source: string;
7769
7769
  referenceAs: string;
7770
7770
  }[] | undefined;
7771
7771
  runtimeRequirements?: string[] | undefined;
@@ -7776,32 +7776,32 @@ export declare const proposeVariantsInput: {
7776
7776
  version: 1;
7777
7777
  contextBundlePath: string;
7778
7778
  userContext: ({
7779
- id: string;
7780
7779
  path: string;
7780
+ id: string;
7781
7781
  transport: "prompt";
7782
7782
  } | {
7783
- id: string;
7784
7783
  url: string;
7784
+ id: string;
7785
7785
  transport: "url";
7786
7786
  label?: string | undefined;
7787
7787
  userIntent?: string | undefined;
7788
7788
  } | {
7789
- id: string;
7790
7789
  path: string;
7790
+ id: string;
7791
7791
  transport: "file";
7792
7792
  label?: string | undefined;
7793
7793
  userIntent?: string | undefined;
7794
7794
  mimeType?: string | undefined;
7795
7795
  originalFilename?: string | undefined;
7796
7796
  } | {
7797
- id: string;
7798
7797
  path: string;
7798
+ id: string;
7799
7799
  transport: "directory";
7800
7800
  label?: string | undefined;
7801
7801
  userIntent?: string | undefined;
7802
7802
  } | {
7803
- id: string;
7804
7803
  path: string;
7804
+ id: string;
7805
7805
  transport: "text";
7806
7806
  label?: string | undefined;
7807
7807
  userIntent?: string | undefined;
@@ -7866,8 +7866,8 @@ export declare const proposeVariantsInput: {
7866
7866
  reason: string;
7867
7867
  confidence: "low" | "medium" | "high";
7868
7868
  assetPlan?: {
7869
- source: string;
7870
7869
  destination: string;
7870
+ source: string;
7871
7871
  referenceAs: string;
7872
7872
  }[] | undefined;
7873
7873
  runtimeRequirements?: string[] | undefined;
@@ -7887,12 +7887,12 @@ export declare const proposeVariantsInput: {
7887
7887
  destination: z.ZodString;
7888
7888
  referenceAs: z.ZodString;
7889
7889
  }, "strip", z.ZodTypeAny, {
7890
- source: string;
7891
7890
  destination: string;
7891
+ source: string;
7892
7892
  referenceAs: string;
7893
7893
  }, {
7894
- source: string;
7895
7894
  destination: string;
7895
+ source: string;
7896
7896
  referenceAs: string;
7897
7897
  }>, "many">>;
7898
7898
  runtimeRequirements: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
@@ -7902,8 +7902,8 @@ export declare const proposeVariantsInput: {
7902
7902
  reason: string;
7903
7903
  confidence: "low" | "medium" | "high";
7904
7904
  assetPlan?: {
7905
- source: string;
7906
7905
  destination: string;
7906
+ source: string;
7907
7907
  referenceAs: string;
7908
7908
  }[] | undefined;
7909
7909
  runtimeRequirements?: string[] | undefined;
@@ -7913,8 +7913,8 @@ export declare const proposeVariantsInput: {
7913
7913
  reason: string;
7914
7914
  confidence: "low" | "medium" | "high";
7915
7915
  assetPlan?: {
7916
- source: string;
7917
7916
  destination: string;
7917
+ source: string;
7918
7918
  referenceAs: string;
7919
7919
  }[] | undefined;
7920
7920
  runtimeRequirements?: string[] | undefined;
@@ -7930,8 +7930,8 @@ export declare const proposeVariantsInput: {
7930
7930
  reason: string;
7931
7931
  confidence: "low" | "medium" | "high";
7932
7932
  assetPlan?: {
7933
- source: string;
7934
7933
  destination: string;
7934
+ source: string;
7935
7935
  referenceAs: string;
7936
7936
  }[] | undefined;
7937
7937
  runtimeRequirements?: string[] | undefined;
@@ -7956,8 +7956,8 @@ export declare const proposeVariantsInput: {
7956
7956
  reason: string;
7957
7957
  confidence: "low" | "medium" | "high";
7958
7958
  assetPlan?: {
7959
- source: string;
7960
7959
  destination: string;
7960
+ source: string;
7961
7961
  referenceAs: string;
7962
7962
  }[] | undefined;
7963
7963
  runtimeRequirements?: string[] | undefined;
@@ -8275,12 +8275,12 @@ export declare const sourcePlanArtifactSchema: z.ZodObject<{
8275
8275
  destination: z.ZodString;
8276
8276
  referenceAs: z.ZodString;
8277
8277
  }, "strip", z.ZodTypeAny, {
8278
- source: string;
8279
8278
  destination: string;
8279
+ source: string;
8280
8280
  referenceAs: string;
8281
8281
  }, {
8282
- source: string;
8283
8282
  destination: string;
8283
+ source: string;
8284
8284
  referenceAs: string;
8285
8285
  }>, "many">>;
8286
8286
  runtimeRequirements: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
@@ -8290,8 +8290,8 @@ export declare const sourcePlanArtifactSchema: z.ZodObject<{
8290
8290
  reason: string;
8291
8291
  confidence: "low" | "medium" | "high";
8292
8292
  assetPlan?: {
8293
- source: string;
8294
8293
  destination: string;
8294
+ source: string;
8295
8295
  referenceAs: string;
8296
8296
  }[] | undefined;
8297
8297
  runtimeRequirements?: string[] | undefined;
@@ -8301,8 +8301,8 @@ export declare const sourcePlanArtifactSchema: z.ZodObject<{
8301
8301
  reason: string;
8302
8302
  confidence: "low" | "medium" | "high";
8303
8303
  assetPlan?: {
8304
- source: string;
8305
8304
  destination: string;
8305
+ source: string;
8306
8306
  referenceAs: string;
8307
8307
  }[] | undefined;
8308
8308
  runtimeRequirements?: string[] | undefined;
@@ -8314,8 +8314,8 @@ export declare const sourcePlanArtifactSchema: z.ZodObject<{
8314
8314
  reason: string;
8315
8315
  confidence: "low" | "medium" | "high";
8316
8316
  assetPlan?: {
8317
- source: string;
8318
8317
  destination: string;
8318
+ source: string;
8319
8319
  referenceAs: string;
8320
8320
  }[] | undefined;
8321
8321
  runtimeRequirements?: string[] | undefined;
@@ -8382,8 +8382,8 @@ export declare const sourcePlanArtifactSchema: z.ZodObject<{
8382
8382
  reason: string;
8383
8383
  confidence: "low" | "medium" | "high";
8384
8384
  assetPlan?: {
8385
- source: string;
8386
8385
  destination: string;
8386
+ source: string;
8387
8387
  referenceAs: string;
8388
8388
  }[] | undefined;
8389
8389
  runtimeRequirements?: string[] | undefined;
@@ -8671,12 +8671,12 @@ export declare const reportSourcePlanInput: {
8671
8671
  destination: z.ZodString;
8672
8672
  referenceAs: z.ZodString;
8673
8673
  }, "strip", z.ZodTypeAny, {
8674
- source: string;
8675
8674
  destination: string;
8675
+ source: string;
8676
8676
  referenceAs: string;
8677
8677
  }, {
8678
- source: string;
8679
8678
  destination: string;
8679
+ source: string;
8680
8680
  referenceAs: string;
8681
8681
  }>, "many">>;
8682
8682
  runtimeRequirements: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
@@ -8686,8 +8686,8 @@ export declare const reportSourcePlanInput: {
8686
8686
  reason: string;
8687
8687
  confidence: "low" | "medium" | "high";
8688
8688
  assetPlan?: {
8689
- source: string;
8690
8689
  destination: string;
8690
+ source: string;
8691
8691
  referenceAs: string;
8692
8692
  }[] | undefined;
8693
8693
  runtimeRequirements?: string[] | undefined;
@@ -8697,8 +8697,8 @@ export declare const reportSourcePlanInput: {
8697
8697
  reason: string;
8698
8698
  confidence: "low" | "medium" | "high";
8699
8699
  assetPlan?: {
8700
- source: string;
8701
8700
  destination: string;
8701
+ source: string;
8702
8702
  referenceAs: string;
8703
8703
  }[] | undefined;
8704
8704
  runtimeRequirements?: string[] | undefined;
@@ -8710,8 +8710,8 @@ export declare const reportSourcePlanInput: {
8710
8710
  reason: string;
8711
8711
  confidence: "low" | "medium" | "high";
8712
8712
  assetPlan?: {
8713
- source: string;
8714
8713
  destination: string;
8714
+ source: string;
8715
8715
  referenceAs: string;
8716
8716
  }[] | undefined;
8717
8717
  runtimeRequirements?: string[] | undefined;
@@ -8778,8 +8778,8 @@ export declare const reportSourcePlanInput: {
8778
8778
  reason: string;
8779
8779
  confidence: "low" | "medium" | "high";
8780
8780
  assetPlan?: {
8781
- source: string;
8782
8781
  destination: string;
8782
+ source: string;
8783
8783
  referenceAs: string;
8784
8784
  }[] | undefined;
8785
8785
  runtimeRequirements?: string[] | undefined;
@@ -8960,11 +8960,11 @@ export declare const reportVariantCompleteInput: {
8960
8960
  code: z.ZodString;
8961
8961
  message: z.ZodString;
8962
8962
  }, "strip", z.ZodTypeAny, {
8963
- message: string;
8964
8963
  code: string;
8965
- }, {
8966
8964
  message: string;
8965
+ }, {
8967
8966
  code: string;
8967
+ message: string;
8968
8968
  }>>;
8969
8969
  terminalChunk: z.ZodOptional<z.ZodString>;
8970
8970
  tokensIn: z.ZodOptional<z.ZodNumber>;