rivet-design 0.18.1 → 0.18.3

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 (239) hide show
  1. package/README.md +1 -1
  2. package/README.npm.md +1 -1
  3. package/dist/agent-variants/SessionStore.d.ts.map +1 -1
  4. package/dist/agent-variants/SessionStore.js +9 -2
  5. package/dist/agent-variants/SessionStore.js.map +1 -1
  6. package/dist/agent-variants/WorktreeOrchestrator.d.ts +5 -1
  7. package/dist/agent-variants/WorktreeOrchestrator.d.ts.map +1 -1
  8. package/dist/agent-variants/WorktreeOrchestrator.js +193 -39
  9. package/dist/agent-variants/WorktreeOrchestrator.js.map +1 -1
  10. package/dist/agent-variants/contracts.d.ts +669 -234
  11. package/dist/agent-variants/contracts.d.ts.map +1 -1
  12. package/dist/cli/client.d.ts.map +1 -1
  13. package/dist/cli/client.js +11 -3
  14. package/dist/cli/client.js.map +1 -1
  15. package/dist/cli/commands/generationPreflight.d.ts +12 -0
  16. package/dist/cli/commands/generationPreflight.d.ts.map +1 -0
  17. package/dist/cli/commands/generationPreflight.js +40 -0
  18. package/dist/cli/commands/generationPreflight.js.map +1 -0
  19. package/dist/cli/commands/mcpServe.d.ts.map +1 -1
  20. package/dist/cli/commands/mcpServe.js +54 -12
  21. package/dist/cli/commands/mcpServe.js.map +1 -1
  22. package/dist/cli/commands/open.d.ts.map +1 -1
  23. package/dist/cli/commands/open.js +110 -76
  24. package/dist/cli/commands/open.js.map +1 -1
  25. package/dist/cli/commands/profile.d.ts.map +1 -1
  26. package/dist/cli/commands/profile.js +75 -2
  27. package/dist/cli/commands/profile.js.map +1 -1
  28. package/dist/cli/commands/serve.d.ts.map +1 -1
  29. package/dist/cli/commands/serve.js +20 -0
  30. package/dist/cli/commands/serve.js.map +1 -1
  31. package/dist/cli/commands/shared.d.ts.map +1 -1
  32. package/dist/cli/commands/shared.js +2 -2
  33. package/dist/cli/commands/shared.js.map +1 -1
  34. package/dist/cli/commands/stop.d.ts.map +1 -1
  35. package/dist/cli/commands/stop.js +29 -5
  36. package/dist/cli/commands/stop.js.map +1 -1
  37. package/dist/cli/commands/variants.d.ts +8 -1
  38. package/dist/cli/commands/variants.d.ts.map +1 -1
  39. package/dist/cli/commands/variants.js +13 -4
  40. package/dist/cli/commands/variants.js.map +1 -1
  41. package/dist/cli/referenceOnboarding.d.ts +3 -0
  42. package/dist/cli/referenceOnboarding.d.ts.map +1 -0
  43. package/dist/cli/referenceOnboarding.js +82 -0
  44. package/dist/cli/referenceOnboarding.js.map +1 -0
  45. package/dist/cli/router.d.ts.map +1 -1
  46. package/dist/cli/router.js +7 -7
  47. package/dist/cli/router.js.map +1 -1
  48. package/dist/cli/serverHandshake.d.ts +5 -4
  49. package/dist/cli/serverHandshake.d.ts.map +1 -1
  50. package/dist/cli/serverHandshake.js +66 -57
  51. package/dist/cli/serverHandshake.js.map +1 -1
  52. package/dist/cli/serverShutdown.d.ts +4 -0
  53. package/dist/cli/serverShutdown.d.ts.map +1 -0
  54. package/dist/cli/serverShutdown.js +20 -0
  55. package/dist/cli/serverShutdown.js.map +1 -0
  56. package/dist/cli/serverUnavailable.d.ts +1 -1
  57. package/dist/cli/serverUnavailable.d.ts.map +1 -1
  58. package/dist/cli/serverUnavailable.js +4 -0
  59. package/dist/cli/serverUnavailable.js.map +1 -1
  60. package/dist/cli/serverVersion.d.ts +1 -1
  61. package/dist/cli/serverVersion.d.ts.map +1 -1
  62. package/dist/cli/serverVersion.js +5 -23
  63. package/dist/cli/serverVersion.js.map +1 -1
  64. package/dist/install/codexSkill.d.ts +13 -0
  65. package/dist/install/codexSkill.d.ts.map +1 -0
  66. package/dist/install/codexSkill.js +64 -0
  67. package/dist/install/codexSkill.js.map +1 -0
  68. package/dist/install/harnesses.d.ts.map +1 -1
  69. package/dist/install/harnesses.js +25 -4
  70. package/dist/install/harnesses.js.map +1 -1
  71. package/dist/routes/agentVariants.d.ts +2 -1
  72. package/dist/routes/agentVariants.d.ts.map +1 -1
  73. package/dist/routes/agentVariants.js +26 -28
  74. package/dist/routes/agentVariants.js.map +1 -1
  75. package/dist/routes/cli.d.ts +3 -0
  76. package/dist/routes/cli.d.ts.map +1 -1
  77. package/dist/routes/cli.js +66 -9
  78. package/dist/routes/cli.js.map +1 -1
  79. package/dist/routes/library/index.d.ts.map +1 -1
  80. package/dist/routes/library/index.js +2 -0
  81. package/dist/routes/library/index.js.map +1 -1
  82. package/dist/routes/library/profiles.d.ts.map +1 -1
  83. package/dist/routes/library/profiles.js +5 -4
  84. package/dist/routes/library/profiles.js.map +1 -1
  85. package/dist/routes/library/referenceOnboarding.d.ts +4 -0
  86. package/dist/routes/library/referenceOnboarding.d.ts.map +1 -0
  87. package/dist/routes/library/referenceOnboarding.js +94 -0
  88. package/dist/routes/library/referenceOnboarding.js.map +1 -0
  89. package/dist/routes/runtimeAdmission.d.ts +13 -0
  90. package/dist/routes/runtimeAdmission.d.ts.map +1 -0
  91. package/dist/routes/runtimeAdmission.js +42 -0
  92. package/dist/routes/runtimeAdmission.js.map +1 -0
  93. package/dist/server.d.ts +1 -0
  94. package/dist/server.d.ts.map +1 -1
  95. package/dist/server.js +7 -4
  96. package/dist/server.js.map +1 -1
  97. package/dist/services/IntegrationsClient.d.ts +77 -0
  98. package/dist/services/IntegrationsClient.d.ts.map +1 -1
  99. package/dist/services/IntegrationsClient.js +123 -6
  100. package/dist/services/IntegrationsClient.js.map +1 -1
  101. package/dist/services/ProjectImport.d.ts.map +1 -1
  102. package/dist/services/ProjectImport.js +5 -12
  103. package/dist/services/ProjectImport.js.map +1 -1
  104. package/dist/services/RuntimeAdmission.d.ts +31 -0
  105. package/dist/services/RuntimeAdmission.d.ts.map +1 -0
  106. package/dist/services/RuntimeAdmission.js +77 -0
  107. package/dist/services/RuntimeAdmission.js.map +1 -0
  108. package/dist/services/TelemetryService.d.ts +1 -1
  109. package/dist/services/TelemetryService.d.ts.map +1 -1
  110. package/dist/services/TelemetryService.js.map +1 -1
  111. package/dist/services/TreeStore.d.ts +7 -0
  112. package/dist/services/TreeStore.d.ts.map +1 -1
  113. package/dist/services/TreeStore.js +18 -0
  114. package/dist/services/TreeStore.js.map +1 -1
  115. package/dist/services/VariantHistoryService.js +1 -1
  116. package/dist/services/VariantHistoryService.js.map +1 -1
  117. package/dist/services/VariantRunService.d.ts.map +1 -1
  118. package/dist/services/VariantRunService.js +38 -29
  119. package/dist/services/VariantRunService.js.map +1 -1
  120. package/dist/services/profiles/DesignProfiles.d.ts +244 -17
  121. package/dist/services/profiles/DesignProfiles.d.ts.map +1 -1
  122. package/dist/services/profiles/DesignProfiles.js +257 -6
  123. package/dist/services/profiles/DesignProfiles.js.map +1 -1
  124. package/dist/services/profiles/ProfileImports.d.ts +3 -3
  125. package/dist/services/profiles/ProfileImports.d.ts.map +1 -1
  126. package/dist/services/profiles/ProfileImports.js +25 -1
  127. package/dist/services/profiles/ProfileImports.js.map +1 -1
  128. package/dist/services/profiles/ProfilePlanning.d.ts +96 -0
  129. package/dist/services/profiles/ProfilePlanning.d.ts.map +1 -0
  130. package/dist/services/profiles/ProfilePlanning.js +187 -0
  131. package/dist/services/profiles/ProfilePlanning.js.map +1 -0
  132. package/dist/services/profiles/ProfilePreparation.d.ts +6 -1
  133. package/dist/services/profiles/ProfilePreparation.d.ts.map +1 -1
  134. package/dist/services/profiles/ProfilePreparation.js +8 -4
  135. package/dist/services/profiles/ProfilePreparation.js.map +1 -1
  136. package/dist/services/profiles/ReferenceReader.d.ts +75 -0
  137. package/dist/services/profiles/ReferenceReader.d.ts.map +1 -0
  138. package/dist/services/profiles/ReferenceReader.js +97 -0
  139. package/dist/services/profiles/ReferenceReader.js.map +1 -0
  140. package/dist/services/profiles/analysisBatch.js +1 -1
  141. package/dist/services/profiles/analysisBatch.js.map +1 -1
  142. package/dist/services/profiles/boardPage.d.ts +2 -1
  143. package/dist/services/profiles/boardPage.d.ts.map +1 -1
  144. package/dist/services/profiles/boardPage.js.map +1 -1
  145. package/dist/services/profiles/cosmosPage.d.ts +10 -0
  146. package/dist/services/profiles/cosmosPage.d.ts.map +1 -0
  147. package/dist/services/profiles/cosmosPage.js +104 -0
  148. package/dist/services/profiles/cosmosPage.js.map +1 -0
  149. package/dist/services/profiles/profileAccount.d.ts.map +1 -1
  150. package/dist/services/profiles/profileAccount.js +3 -1
  151. package/dist/services/profiles/profileAccount.js.map +1 -1
  152. package/dist/services/profiles/profileContext.d.ts +1 -1
  153. package/dist/services/profiles/profileContext.d.ts.map +1 -1
  154. package/dist/services/profiles/profileContext.js +28 -5
  155. package/dist/services/profiles/profileContext.js.map +1 -1
  156. package/dist/services/runtimeActivity.d.ts +3 -0
  157. package/dist/services/runtimeActivity.d.ts.map +1 -0
  158. package/dist/services/runtimeActivity.js +70 -0
  159. package/dist/services/runtimeActivity.js.map +1 -0
  160. package/dist/services/runtimeVersion.d.ts +4 -0
  161. package/dist/services/runtimeVersion.d.ts.map +1 -0
  162. package/dist/services/runtimeVersion.js +30 -0
  163. package/dist/services/runtimeVersion.js.map +1 -0
  164. package/dist/storage/library/ProjectRuntimeRecords.d.ts +15 -0
  165. package/dist/storage/library/ProjectRuntimeRecords.d.ts.map +1 -0
  166. package/dist/storage/library/ProjectRuntimeRecords.js +66 -0
  167. package/dist/storage/library/ProjectRuntimeRecords.js.map +1 -0
  168. package/dist/storage/library/migrations.d.ts +1 -0
  169. package/dist/storage/library/migrations.d.ts.map +1 -1
  170. package/dist/storage/library/migrations.js +9 -1
  171. package/dist/storage/library/migrations.js.map +1 -1
  172. package/dist/storage/library/schema/projectRuntime.d.ts +72 -0
  173. package/dist/storage/library/schema/projectRuntime.d.ts.map +1 -0
  174. package/dist/storage/library/schema/projectRuntime.js +16 -0
  175. package/dist/storage/library/schema/projectRuntime.js.map +1 -0
  176. package/dist/storage/profiles/ProfilePlans.d.ts +320 -0
  177. package/dist/storage/profiles/ProfilePlans.d.ts.map +1 -0
  178. package/dist/storage/profiles/ProfilePlans.js +256 -0
  179. package/dist/storage/profiles/ProfilePlans.js.map +1 -0
  180. package/dist/storage/profiles/ProfileRecords.d.ts +71 -10
  181. package/dist/storage/profiles/ProfileRecords.d.ts.map +1 -1
  182. package/dist/storage/profiles/ProfileRecords.js +152 -62
  183. package/dist/storage/profiles/ProfileRecords.js.map +1 -1
  184. package/dist/storage/profiles/migrations.d.ts +2 -2
  185. package/dist/storage/profiles/migrations.d.ts.map +1 -1
  186. package/dist/storage/profiles/migrations.js +14 -0
  187. package/dist/storage/profiles/migrations.js.map +1 -1
  188. package/dist/storage/profiles/planSchema.d.ts +347 -0
  189. package/dist/storage/profiles/planSchema.d.ts.map +1 -0
  190. package/dist/storage/profiles/planSchema.js +34 -0
  191. package/dist/storage/profiles/planSchema.js.map +1 -0
  192. package/dist/storage/profiles/schema.d.ts +59 -4
  193. package/dist/storage/profiles/schema.d.ts.map +1 -1
  194. package/dist/storage/profiles/schema.js +14 -1
  195. package/dist/storage/profiles/schema.js.map +1 -1
  196. package/dist/types/cosmos-profile.d.ts +130 -0
  197. package/dist/types/cosmos-profile.d.ts.map +1 -0
  198. package/dist/types/cosmos-profile.js +27 -0
  199. package/dist/types/cosmos-profile.js.map +1 -0
  200. package/dist/types/cosmos.d.ts +330 -0
  201. package/dist/types/cosmos.d.ts.map +1 -0
  202. package/dist/types/cosmos.js +157 -0
  203. package/dist/types/cosmos.js.map +1 -0
  204. package/dist/types/design-profile.d.ts +129 -16
  205. package/dist/types/design-profile.d.ts.map +1 -1
  206. package/dist/types/design-profile.js +50 -2
  207. package/dist/types/design-profile.js.map +1 -1
  208. package/dist/types/reference-connectors.d.ts +226 -0
  209. package/dist/types/reference-connectors.d.ts.map +1 -0
  210. package/dist/types/reference-connectors.js +92 -0
  211. package/dist/types/reference-connectors.js.map +1 -0
  212. package/dist/types/reference-onboarding.d.ts +1065 -0
  213. package/dist/types/reference-onboarding.d.ts.map +1 -0
  214. package/dist/types/reference-onboarding.js +108 -0
  215. package/dist/types/reference-onboarding.js.map +1 -0
  216. package/dist/types/reference-pages.d.ts +168 -0
  217. package/dist/types/reference-pages.d.ts.map +1 -0
  218. package/dist/types/reference-pages.js +26 -0
  219. package/dist/types/reference-pages.js.map +1 -0
  220. package/dist/types/variant-reference.d.ts +19 -4
  221. package/dist/types/variant-reference.d.ts.map +1 -1
  222. package/dist/types/variant-reference.js +20 -8
  223. package/dist/types/variant-reference.js.map +1 -1
  224. package/dist/types/x-bookmarks.d.ts +8 -8
  225. package/dist/utils/skills/cli-guidance.d.ts +1 -1
  226. package/dist/utils/skills/cli-guidance.d.ts.map +1 -1
  227. package/dist/utils/skills/cli-guidance.js +6 -2
  228. package/dist/utils/skills/cli-guidance.js.map +1 -1
  229. package/dist/utils/skills/codex-skill.d.ts +3 -0
  230. package/dist/utils/skills/codex-skill.d.ts.map +1 -0
  231. package/dist/utils/skills/codex-skill.js +30 -0
  232. package/dist/utils/skills/codex-skill.js.map +1 -0
  233. package/package.json +2 -1
  234. package/src/ui/dist/assets/{LibraryApp-BzcRWsfQ.js → LibraryApp-DFhxcf--.js} +5 -5
  235. package/src/ui/dist/assets/main-Ayzl0f1H.css +1 -0
  236. package/src/ui/dist/assets/main-D5n04THm.js +438 -0
  237. package/src/ui/dist/index.html +2 -2
  238. package/src/ui/dist/assets/main-CHCea2Fu.css +0 -1
  239. package/src/ui/dist/assets/main-DXqdB6Oi.js +0 -438
@@ -105,10 +105,10 @@ export declare const rawUserContextInputSchema: z.ZodDiscriminatedUnion<"transpo
105
105
  userIntent?: string | undefined;
106
106
  }>, z.ZodObject<{
107
107
  transport: z.ZodLiteral<"upload">;
108
- references: z.ZodOptional<z.ZodArray<z.ZodObject<{
108
+ references: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodObject<{
109
109
  id: z.ZodString;
110
110
  title: z.ZodString;
111
- url: z.ZodEffects<z.ZodString, string, string>;
111
+ url: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
112
112
  reason: z.ZodOptional<z.ZodString>;
113
113
  image: z.ZodCatch<z.ZodOptional<z.ZodObject<{
114
114
  hash: z.ZodString;
@@ -122,18 +122,33 @@ export declare const rawUserContextInputSchema: z.ZodDiscriminatedUnion<"transpo
122
122
  }>>>;
123
123
  }, "strip", z.ZodTypeAny, {
124
124
  id: string;
125
- url: string;
126
125
  title: string;
127
126
  image?: {
128
127
  hash: string;
129
128
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
130
129
  } | undefined;
130
+ url?: string | undefined;
131
+ reason?: string | undefined;
132
+ }, {
133
+ id: string;
134
+ title: string;
135
+ image?: unknown;
136
+ url?: string | undefined;
137
+ reason?: string | undefined;
138
+ }>, {
139
+ id: string;
140
+ title: string;
141
+ image?: {
142
+ hash: string;
143
+ mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
144
+ } | undefined;
145
+ url?: string | undefined;
131
146
  reason?: string | undefined;
132
147
  }, {
133
148
  id: string;
134
- url: string;
135
149
  title: string;
136
150
  image?: unknown;
151
+ url?: string | undefined;
137
152
  reason?: string | undefined;
138
153
  }>, "many">>;
139
154
  dataUrl: z.ZodString;
@@ -147,12 +162,12 @@ export declare const rawUserContextInputSchema: z.ZodDiscriminatedUnion<"transpo
147
162
  userIntent?: string | undefined;
148
163
  references?: {
149
164
  id: string;
150
- url: string;
151
165
  title: string;
152
166
  image?: {
153
167
  hash: string;
154
168
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
155
169
  } | undefined;
170
+ url?: string | undefined;
156
171
  reason?: string | undefined;
157
172
  }[] | undefined;
158
173
  filename?: string | undefined;
@@ -163,9 +178,9 @@ export declare const rawUserContextInputSchema: z.ZodDiscriminatedUnion<"transpo
163
178
  userIntent?: string | undefined;
164
179
  references?: {
165
180
  id: string;
166
- url: string;
167
181
  title: string;
168
182
  image?: unknown;
183
+ url?: string | undefined;
169
184
  reason?: string | undefined;
170
185
  }[] | undefined;
171
186
  filename?: string | undefined;
@@ -186,10 +201,10 @@ export declare const rawUserContextInputSchema: z.ZodDiscriminatedUnion<"transpo
186
201
  userIntent?: string | undefined;
187
202
  }>, z.ZodObject<{
188
203
  transport: z.ZodLiteral<"text">;
189
- references: z.ZodOptional<z.ZodArray<z.ZodObject<{
204
+ references: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodObject<{
190
205
  id: z.ZodString;
191
206
  title: z.ZodString;
192
- url: z.ZodEffects<z.ZodString, string, string>;
207
+ url: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
193
208
  reason: z.ZodOptional<z.ZodString>;
194
209
  image: z.ZodCatch<z.ZodOptional<z.ZodObject<{
195
210
  hash: z.ZodString;
@@ -203,18 +218,33 @@ export declare const rawUserContextInputSchema: z.ZodDiscriminatedUnion<"transpo
203
218
  }>>>;
204
219
  }, "strip", z.ZodTypeAny, {
205
220
  id: string;
206
- url: string;
207
221
  title: string;
208
222
  image?: {
209
223
  hash: string;
210
224
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
211
225
  } | undefined;
226
+ url?: string | undefined;
227
+ reason?: string | undefined;
228
+ }, {
229
+ id: string;
230
+ title: string;
231
+ image?: unknown;
232
+ url?: string | undefined;
233
+ reason?: string | undefined;
234
+ }>, {
235
+ id: string;
236
+ title: string;
237
+ image?: {
238
+ hash: string;
239
+ mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
240
+ } | undefined;
241
+ url?: string | undefined;
212
242
  reason?: string | undefined;
213
243
  }, {
214
244
  id: string;
215
- url: string;
216
245
  title: string;
217
246
  image?: unknown;
247
+ url?: string | undefined;
218
248
  reason?: string | undefined;
219
249
  }>, "many">>;
220
250
  content: z.ZodString;
@@ -227,12 +257,12 @@ export declare const rawUserContextInputSchema: z.ZodDiscriminatedUnion<"transpo
227
257
  userIntent?: string | undefined;
228
258
  references?: {
229
259
  id: string;
230
- url: string;
231
260
  title: string;
232
261
  image?: {
233
262
  hash: string;
234
263
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
235
264
  } | undefined;
265
+ url?: string | undefined;
236
266
  reason?: string | undefined;
237
267
  }[] | undefined;
238
268
  }, {
@@ -242,9 +272,9 @@ export declare const rawUserContextInputSchema: z.ZodDiscriminatedUnion<"transpo
242
272
  userIntent?: string | undefined;
243
273
  references?: {
244
274
  id: string;
245
- url: string;
246
275
  title: string;
247
276
  image?: unknown;
277
+ url?: string | undefined;
248
278
  reason?: string | undefined;
249
279
  }[] | undefined;
250
280
  }>]>;
@@ -281,10 +311,10 @@ export declare const rawUserContextSourceSchema: z.ZodDiscriminatedUnion<"transp
281
311
  }>, z.ZodObject<{
282
312
  id: z.ZodString;
283
313
  transport: z.ZodLiteral<"file">;
284
- references: z.ZodOptional<z.ZodArray<z.ZodObject<{
314
+ references: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodObject<{
285
315
  id: z.ZodString;
286
316
  title: z.ZodString;
287
- url: z.ZodEffects<z.ZodString, string, string>;
317
+ url: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
288
318
  reason: z.ZodOptional<z.ZodString>;
289
319
  image: z.ZodCatch<z.ZodOptional<z.ZodObject<{
290
320
  hash: z.ZodString;
@@ -298,18 +328,33 @@ export declare const rawUserContextSourceSchema: z.ZodDiscriminatedUnion<"transp
298
328
  }>>>;
299
329
  }, "strip", z.ZodTypeAny, {
300
330
  id: string;
301
- url: string;
302
331
  title: string;
303
332
  image?: {
304
333
  hash: string;
305
334
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
306
335
  } | undefined;
336
+ url?: string | undefined;
337
+ reason?: string | undefined;
338
+ }, {
339
+ id: string;
340
+ title: string;
341
+ image?: unknown;
342
+ url?: string | undefined;
343
+ reason?: string | undefined;
344
+ }>, {
345
+ id: string;
346
+ title: string;
347
+ image?: {
348
+ hash: string;
349
+ mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
350
+ } | undefined;
351
+ url?: string | undefined;
307
352
  reason?: string | undefined;
308
353
  }, {
309
354
  id: string;
310
- url: string;
311
355
  title: string;
312
356
  image?: unknown;
357
+ url?: string | undefined;
313
358
  reason?: string | undefined;
314
359
  }>, "many">>;
315
360
  path: z.ZodString;
@@ -326,12 +371,12 @@ export declare const rawUserContextSourceSchema: z.ZodDiscriminatedUnion<"transp
326
371
  userIntent?: string | undefined;
327
372
  references?: {
328
373
  id: string;
329
- url: string;
330
374
  title: string;
331
375
  image?: {
332
376
  hash: string;
333
377
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
334
378
  } | undefined;
379
+ url?: string | undefined;
335
380
  reason?: string | undefined;
336
381
  }[] | undefined;
337
382
  originalFilename?: string | undefined;
@@ -344,9 +389,9 @@ export declare const rawUserContextSourceSchema: z.ZodDiscriminatedUnion<"transp
344
389
  userIntent?: string | undefined;
345
390
  references?: {
346
391
  id: string;
347
- url: string;
348
392
  title: string;
349
393
  image?: unknown;
394
+ url?: string | undefined;
350
395
  reason?: string | undefined;
351
396
  }[] | undefined;
352
397
  originalFilename?: string | undefined;
@@ -371,10 +416,10 @@ export declare const rawUserContextSourceSchema: z.ZodDiscriminatedUnion<"transp
371
416
  }>, z.ZodObject<{
372
417
  id: z.ZodString;
373
418
  transport: z.ZodLiteral<"text">;
374
- references: z.ZodOptional<z.ZodArray<z.ZodObject<{
419
+ references: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodObject<{
375
420
  id: z.ZodString;
376
421
  title: z.ZodString;
377
- url: z.ZodEffects<z.ZodString, string, string>;
422
+ url: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
378
423
  reason: z.ZodOptional<z.ZodString>;
379
424
  image: z.ZodCatch<z.ZodOptional<z.ZodObject<{
380
425
  hash: z.ZodString;
@@ -388,18 +433,33 @@ export declare const rawUserContextSourceSchema: z.ZodDiscriminatedUnion<"transp
388
433
  }>>>;
389
434
  }, "strip", z.ZodTypeAny, {
390
435
  id: string;
391
- url: string;
392
436
  title: string;
393
437
  image?: {
394
438
  hash: string;
395
439
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
396
440
  } | undefined;
441
+ url?: string | undefined;
397
442
  reason?: string | undefined;
398
443
  }, {
399
444
  id: string;
400
- url: string;
401
445
  title: string;
402
446
  image?: unknown;
447
+ url?: string | undefined;
448
+ reason?: string | undefined;
449
+ }>, {
450
+ id: string;
451
+ title: string;
452
+ image?: {
453
+ hash: string;
454
+ mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
455
+ } | undefined;
456
+ url?: string | undefined;
457
+ reason?: string | undefined;
458
+ }, {
459
+ id: string;
460
+ title: string;
461
+ image?: unknown;
462
+ url?: string | undefined;
403
463
  reason?: string | undefined;
404
464
  }>, "many">>;
405
465
  path: z.ZodString;
@@ -413,12 +473,12 @@ export declare const rawUserContextSourceSchema: z.ZodDiscriminatedUnion<"transp
413
473
  userIntent?: string | undefined;
414
474
  references?: {
415
475
  id: string;
416
- url: string;
417
476
  title: string;
418
477
  image?: {
419
478
  hash: string;
420
479
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
421
480
  } | undefined;
481
+ url?: string | undefined;
422
482
  reason?: string | undefined;
423
483
  }[] | undefined;
424
484
  }, {
@@ -429,9 +489,9 @@ export declare const rawUserContextSourceSchema: z.ZodDiscriminatedUnion<"transp
429
489
  userIntent?: string | undefined;
430
490
  references?: {
431
491
  id: string;
432
- url: string;
433
492
  title: string;
434
493
  image?: unknown;
494
+ url?: string | undefined;
435
495
  reason?: string | undefined;
436
496
  }[] | undefined;
437
497
  }>]>;
@@ -504,10 +564,10 @@ export declare const storedUserContextSourceRecordSchema: z.ZodObject<{
504
564
  }>, z.ZodObject<{
505
565
  id: z.ZodString;
506
566
  transport: z.ZodLiteral<"file">;
507
- references: z.ZodOptional<z.ZodArray<z.ZodObject<{
567
+ references: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodObject<{
508
568
  id: z.ZodString;
509
569
  title: z.ZodString;
510
- url: z.ZodEffects<z.ZodString, string, string>;
570
+ url: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
511
571
  reason: z.ZodOptional<z.ZodString>;
512
572
  image: z.ZodCatch<z.ZodOptional<z.ZodObject<{
513
573
  hash: z.ZodString;
@@ -521,18 +581,33 @@ export declare const storedUserContextSourceRecordSchema: z.ZodObject<{
521
581
  }>>>;
522
582
  }, "strip", z.ZodTypeAny, {
523
583
  id: string;
524
- url: string;
525
584
  title: string;
526
585
  image?: {
527
586
  hash: string;
528
587
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
529
588
  } | undefined;
589
+ url?: string | undefined;
590
+ reason?: string | undefined;
591
+ }, {
592
+ id: string;
593
+ title: string;
594
+ image?: unknown;
595
+ url?: string | undefined;
596
+ reason?: string | undefined;
597
+ }>, {
598
+ id: string;
599
+ title: string;
600
+ image?: {
601
+ hash: string;
602
+ mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
603
+ } | undefined;
604
+ url?: string | undefined;
530
605
  reason?: string | undefined;
531
606
  }, {
532
607
  id: string;
533
- url: string;
534
608
  title: string;
535
609
  image?: unknown;
610
+ url?: string | undefined;
536
611
  reason?: string | undefined;
537
612
  }>, "many">>;
538
613
  path: z.ZodString;
@@ -549,12 +624,12 @@ export declare const storedUserContextSourceRecordSchema: z.ZodObject<{
549
624
  userIntent?: string | undefined;
550
625
  references?: {
551
626
  id: string;
552
- url: string;
553
627
  title: string;
554
628
  image?: {
555
629
  hash: string;
556
630
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
557
631
  } | undefined;
632
+ url?: string | undefined;
558
633
  reason?: string | undefined;
559
634
  }[] | undefined;
560
635
  originalFilename?: string | undefined;
@@ -567,9 +642,9 @@ export declare const storedUserContextSourceRecordSchema: z.ZodObject<{
567
642
  userIntent?: string | undefined;
568
643
  references?: {
569
644
  id: string;
570
- url: string;
571
645
  title: string;
572
646
  image?: unknown;
647
+ url?: string | undefined;
573
648
  reason?: string | undefined;
574
649
  }[] | undefined;
575
650
  originalFilename?: string | undefined;
@@ -594,10 +669,10 @@ export declare const storedUserContextSourceRecordSchema: z.ZodObject<{
594
669
  }>, z.ZodObject<{
595
670
  id: z.ZodString;
596
671
  transport: z.ZodLiteral<"text">;
597
- references: z.ZodOptional<z.ZodArray<z.ZodObject<{
672
+ references: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodObject<{
598
673
  id: z.ZodString;
599
674
  title: z.ZodString;
600
- url: z.ZodEffects<z.ZodString, string, string>;
675
+ url: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
601
676
  reason: z.ZodOptional<z.ZodString>;
602
677
  image: z.ZodCatch<z.ZodOptional<z.ZodObject<{
603
678
  hash: z.ZodString;
@@ -611,18 +686,33 @@ export declare const storedUserContextSourceRecordSchema: z.ZodObject<{
611
686
  }>>>;
612
687
  }, "strip", z.ZodTypeAny, {
613
688
  id: string;
614
- url: string;
615
689
  title: string;
616
690
  image?: {
617
691
  hash: string;
618
692
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
619
693
  } | undefined;
694
+ url?: string | undefined;
695
+ reason?: string | undefined;
696
+ }, {
697
+ id: string;
698
+ title: string;
699
+ image?: unknown;
700
+ url?: string | undefined;
701
+ reason?: string | undefined;
702
+ }>, {
703
+ id: string;
704
+ title: string;
705
+ image?: {
706
+ hash: string;
707
+ mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
708
+ } | undefined;
709
+ url?: string | undefined;
620
710
  reason?: string | undefined;
621
711
  }, {
622
712
  id: string;
623
- url: string;
624
713
  title: string;
625
714
  image?: unknown;
715
+ url?: string | undefined;
626
716
  reason?: string | undefined;
627
717
  }>, "many">>;
628
718
  path: z.ZodString;
@@ -636,12 +726,12 @@ export declare const storedUserContextSourceRecordSchema: z.ZodObject<{
636
726
  userIntent?: string | undefined;
637
727
  references?: {
638
728
  id: string;
639
- url: string;
640
729
  title: string;
641
730
  image?: {
642
731
  hash: string;
643
732
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
644
733
  } | undefined;
734
+ url?: string | undefined;
645
735
  reason?: string | undefined;
646
736
  }[] | undefined;
647
737
  }, {
@@ -652,9 +742,9 @@ export declare const storedUserContextSourceRecordSchema: z.ZodObject<{
652
742
  userIntent?: string | undefined;
653
743
  references?: {
654
744
  id: string;
655
- url: string;
656
745
  title: string;
657
746
  image?: unknown;
747
+ url?: string | undefined;
658
748
  reason?: string | undefined;
659
749
  }[] | undefined;
660
750
  }>]>;
@@ -691,12 +781,12 @@ export declare const storedUserContextSourceRecordSchema: z.ZodObject<{
691
781
  userIntent?: string | undefined;
692
782
  references?: {
693
783
  id: string;
694
- url: string;
695
784
  title: string;
696
785
  image?: {
697
786
  hash: string;
698
787
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
699
788
  } | undefined;
789
+ url?: string | undefined;
700
790
  reason?: string | undefined;
701
791
  }[] | undefined;
702
792
  originalFilename?: string | undefined;
@@ -714,12 +804,12 @@ export declare const storedUserContextSourceRecordSchema: z.ZodObject<{
714
804
  userIntent?: string | undefined;
715
805
  references?: {
716
806
  id: string;
717
- url: string;
718
807
  title: string;
719
808
  image?: {
720
809
  hash: string;
721
810
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
722
811
  } | undefined;
812
+ url?: string | undefined;
723
813
  reason?: string | undefined;
724
814
  }[] | undefined;
725
815
  };
@@ -748,9 +838,9 @@ export declare const storedUserContextSourceRecordSchema: z.ZodObject<{
748
838
  userIntent?: string | undefined;
749
839
  references?: {
750
840
  id: string;
751
- url: string;
752
841
  title: string;
753
842
  image?: unknown;
843
+ url?: string | undefined;
754
844
  reason?: string | undefined;
755
845
  }[] | undefined;
756
846
  originalFilename?: string | undefined;
@@ -768,9 +858,9 @@ export declare const storedUserContextSourceRecordSchema: z.ZodObject<{
768
858
  userIntent?: string | undefined;
769
859
  references?: {
770
860
  id: string;
771
- url: string;
772
861
  title: string;
773
862
  image?: unknown;
863
+ url?: string | undefined;
774
864
  reason?: string | undefined;
775
865
  }[] | undefined;
776
866
  };
@@ -1101,10 +1191,10 @@ export declare const variantContextBundleSchema: z.ZodObject<{
1101
1191
  }>, z.ZodObject<{
1102
1192
  id: z.ZodString;
1103
1193
  transport: z.ZodLiteral<"file">;
1104
- references: z.ZodOptional<z.ZodArray<z.ZodObject<{
1194
+ references: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodObject<{
1105
1195
  id: z.ZodString;
1106
1196
  title: z.ZodString;
1107
- url: z.ZodEffects<z.ZodString, string, string>;
1197
+ url: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
1108
1198
  reason: z.ZodOptional<z.ZodString>;
1109
1199
  image: z.ZodCatch<z.ZodOptional<z.ZodObject<{
1110
1200
  hash: z.ZodString;
@@ -1118,18 +1208,33 @@ export declare const variantContextBundleSchema: z.ZodObject<{
1118
1208
  }>>>;
1119
1209
  }, "strip", z.ZodTypeAny, {
1120
1210
  id: string;
1121
- url: string;
1122
1211
  title: string;
1123
1212
  image?: {
1124
1213
  hash: string;
1125
1214
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
1126
1215
  } | undefined;
1216
+ url?: string | undefined;
1127
1217
  reason?: string | undefined;
1128
1218
  }, {
1129
1219
  id: string;
1130
- url: string;
1131
1220
  title: string;
1132
1221
  image?: unknown;
1222
+ url?: string | undefined;
1223
+ reason?: string | undefined;
1224
+ }>, {
1225
+ id: string;
1226
+ title: string;
1227
+ image?: {
1228
+ hash: string;
1229
+ mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
1230
+ } | undefined;
1231
+ url?: string | undefined;
1232
+ reason?: string | undefined;
1233
+ }, {
1234
+ id: string;
1235
+ title: string;
1236
+ image?: unknown;
1237
+ url?: string | undefined;
1133
1238
  reason?: string | undefined;
1134
1239
  }>, "many">>;
1135
1240
  path: z.ZodString;
@@ -1146,12 +1251,12 @@ export declare const variantContextBundleSchema: z.ZodObject<{
1146
1251
  userIntent?: string | undefined;
1147
1252
  references?: {
1148
1253
  id: string;
1149
- url: string;
1150
1254
  title: string;
1151
1255
  image?: {
1152
1256
  hash: string;
1153
1257
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
1154
1258
  } | undefined;
1259
+ url?: string | undefined;
1155
1260
  reason?: string | undefined;
1156
1261
  }[] | undefined;
1157
1262
  originalFilename?: string | undefined;
@@ -1164,9 +1269,9 @@ export declare const variantContextBundleSchema: z.ZodObject<{
1164
1269
  userIntent?: string | undefined;
1165
1270
  references?: {
1166
1271
  id: string;
1167
- url: string;
1168
1272
  title: string;
1169
1273
  image?: unknown;
1274
+ url?: string | undefined;
1170
1275
  reason?: string | undefined;
1171
1276
  }[] | undefined;
1172
1277
  originalFilename?: string | undefined;
@@ -1191,10 +1296,10 @@ export declare const variantContextBundleSchema: z.ZodObject<{
1191
1296
  }>, z.ZodObject<{
1192
1297
  id: z.ZodString;
1193
1298
  transport: z.ZodLiteral<"text">;
1194
- references: z.ZodOptional<z.ZodArray<z.ZodObject<{
1299
+ references: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodObject<{
1195
1300
  id: z.ZodString;
1196
1301
  title: z.ZodString;
1197
- url: z.ZodEffects<z.ZodString, string, string>;
1302
+ url: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
1198
1303
  reason: z.ZodOptional<z.ZodString>;
1199
1304
  image: z.ZodCatch<z.ZodOptional<z.ZodObject<{
1200
1305
  hash: z.ZodString;
@@ -1208,18 +1313,33 @@ export declare const variantContextBundleSchema: z.ZodObject<{
1208
1313
  }>>>;
1209
1314
  }, "strip", z.ZodTypeAny, {
1210
1315
  id: string;
1211
- url: string;
1212
1316
  title: string;
1213
1317
  image?: {
1214
1318
  hash: string;
1215
1319
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
1216
1320
  } | undefined;
1321
+ url?: string | undefined;
1322
+ reason?: string | undefined;
1323
+ }, {
1324
+ id: string;
1325
+ title: string;
1326
+ image?: unknown;
1327
+ url?: string | undefined;
1328
+ reason?: string | undefined;
1329
+ }>, {
1330
+ id: string;
1331
+ title: string;
1332
+ image?: {
1333
+ hash: string;
1334
+ mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
1335
+ } | undefined;
1336
+ url?: string | undefined;
1217
1337
  reason?: string | undefined;
1218
1338
  }, {
1219
1339
  id: string;
1220
- url: string;
1221
1340
  title: string;
1222
1341
  image?: unknown;
1342
+ url?: string | undefined;
1223
1343
  reason?: string | undefined;
1224
1344
  }>, "many">>;
1225
1345
  path: z.ZodString;
@@ -1233,12 +1353,12 @@ export declare const variantContextBundleSchema: z.ZodObject<{
1233
1353
  userIntent?: string | undefined;
1234
1354
  references?: {
1235
1355
  id: string;
1236
- url: string;
1237
1356
  title: string;
1238
1357
  image?: {
1239
1358
  hash: string;
1240
1359
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
1241
1360
  } | undefined;
1361
+ url?: string | undefined;
1242
1362
  reason?: string | undefined;
1243
1363
  }[] | undefined;
1244
1364
  }, {
@@ -1249,9 +1369,9 @@ export declare const variantContextBundleSchema: z.ZodObject<{
1249
1369
  userIntent?: string | undefined;
1250
1370
  references?: {
1251
1371
  id: string;
1252
- url: string;
1253
1372
  title: string;
1254
1373
  image?: unknown;
1374
+ url?: string | undefined;
1255
1375
  reason?: string | undefined;
1256
1376
  }[] | undefined;
1257
1377
  }>]>, "many">;
@@ -1548,12 +1668,12 @@ export declare const variantContextBundleSchema: z.ZodObject<{
1548
1668
  userIntent?: string | undefined;
1549
1669
  references?: {
1550
1670
  id: string;
1551
- url: string;
1552
1671
  title: string;
1553
1672
  image?: {
1554
1673
  hash: string;
1555
1674
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
1556
1675
  } | undefined;
1676
+ url?: string | undefined;
1557
1677
  reason?: string | undefined;
1558
1678
  }[] | undefined;
1559
1679
  originalFilename?: string | undefined;
@@ -1571,12 +1691,12 @@ export declare const variantContextBundleSchema: z.ZodObject<{
1571
1691
  userIntent?: string | undefined;
1572
1692
  references?: {
1573
1693
  id: string;
1574
- url: string;
1575
1694
  title: string;
1576
1695
  image?: {
1577
1696
  hash: string;
1578
1697
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
1579
1698
  } | undefined;
1699
+ url?: string | undefined;
1580
1700
  reason?: string | undefined;
1581
1701
  }[] | undefined;
1582
1702
  })[];
@@ -1679,9 +1799,9 @@ export declare const variantContextBundleSchema: z.ZodObject<{
1679
1799
  userIntent?: string | undefined;
1680
1800
  references?: {
1681
1801
  id: string;
1682
- url: string;
1683
1802
  title: string;
1684
1803
  image?: unknown;
1804
+ url?: string | undefined;
1685
1805
  reason?: string | undefined;
1686
1806
  }[] | undefined;
1687
1807
  originalFilename?: string | undefined;
@@ -1699,9 +1819,9 @@ export declare const variantContextBundleSchema: z.ZodObject<{
1699
1819
  userIntent?: string | undefined;
1700
1820
  references?: {
1701
1821
  id: string;
1702
- url: string;
1703
1822
  title: string;
1704
1823
  image?: unknown;
1824
+ url?: string | undefined;
1705
1825
  reason?: string | undefined;
1706
1826
  }[] | undefined;
1707
1827
  })[];
@@ -1844,10 +1964,10 @@ export declare const projectContextExisting: z.ZodObject<{
1844
1964
  }>, z.ZodObject<{
1845
1965
  id: z.ZodString;
1846
1966
  transport: z.ZodLiteral<"file">;
1847
- references: z.ZodOptional<z.ZodArray<z.ZodObject<{
1967
+ references: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodObject<{
1848
1968
  id: z.ZodString;
1849
1969
  title: z.ZodString;
1850
- url: z.ZodEffects<z.ZodString, string, string>;
1970
+ url: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
1851
1971
  reason: z.ZodOptional<z.ZodString>;
1852
1972
  image: z.ZodCatch<z.ZodOptional<z.ZodObject<{
1853
1973
  hash: z.ZodString;
@@ -1861,18 +1981,33 @@ export declare const projectContextExisting: z.ZodObject<{
1861
1981
  }>>>;
1862
1982
  }, "strip", z.ZodTypeAny, {
1863
1983
  id: string;
1864
- url: string;
1865
1984
  title: string;
1866
1985
  image?: {
1867
1986
  hash: string;
1868
1987
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
1869
1988
  } | undefined;
1989
+ url?: string | undefined;
1990
+ reason?: string | undefined;
1991
+ }, {
1992
+ id: string;
1993
+ title: string;
1994
+ image?: unknown;
1995
+ url?: string | undefined;
1996
+ reason?: string | undefined;
1997
+ }>, {
1998
+ id: string;
1999
+ title: string;
2000
+ image?: {
2001
+ hash: string;
2002
+ mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
2003
+ } | undefined;
2004
+ url?: string | undefined;
1870
2005
  reason?: string | undefined;
1871
2006
  }, {
1872
2007
  id: string;
1873
- url: string;
1874
2008
  title: string;
1875
2009
  image?: unknown;
2010
+ url?: string | undefined;
1876
2011
  reason?: string | undefined;
1877
2012
  }>, "many">>;
1878
2013
  path: z.ZodString;
@@ -1889,12 +2024,12 @@ export declare const projectContextExisting: z.ZodObject<{
1889
2024
  userIntent?: string | undefined;
1890
2025
  references?: {
1891
2026
  id: string;
1892
- url: string;
1893
2027
  title: string;
1894
2028
  image?: {
1895
2029
  hash: string;
1896
2030
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
1897
2031
  } | undefined;
2032
+ url?: string | undefined;
1898
2033
  reason?: string | undefined;
1899
2034
  }[] | undefined;
1900
2035
  originalFilename?: string | undefined;
@@ -1907,9 +2042,9 @@ export declare const projectContextExisting: z.ZodObject<{
1907
2042
  userIntent?: string | undefined;
1908
2043
  references?: {
1909
2044
  id: string;
1910
- url: string;
1911
2045
  title: string;
1912
2046
  image?: unknown;
2047
+ url?: string | undefined;
1913
2048
  reason?: string | undefined;
1914
2049
  }[] | undefined;
1915
2050
  originalFilename?: string | undefined;
@@ -1934,10 +2069,10 @@ export declare const projectContextExisting: z.ZodObject<{
1934
2069
  }>, z.ZodObject<{
1935
2070
  id: z.ZodString;
1936
2071
  transport: z.ZodLiteral<"text">;
1937
- references: z.ZodOptional<z.ZodArray<z.ZodObject<{
2072
+ references: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodObject<{
1938
2073
  id: z.ZodString;
1939
2074
  title: z.ZodString;
1940
- url: z.ZodEffects<z.ZodString, string, string>;
2075
+ url: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
1941
2076
  reason: z.ZodOptional<z.ZodString>;
1942
2077
  image: z.ZodCatch<z.ZodOptional<z.ZodObject<{
1943
2078
  hash: z.ZodString;
@@ -1951,18 +2086,33 @@ export declare const projectContextExisting: z.ZodObject<{
1951
2086
  }>>>;
1952
2087
  }, "strip", z.ZodTypeAny, {
1953
2088
  id: string;
1954
- url: string;
1955
2089
  title: string;
1956
2090
  image?: {
1957
2091
  hash: string;
1958
2092
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
1959
2093
  } | undefined;
2094
+ url?: string | undefined;
1960
2095
  reason?: string | undefined;
1961
2096
  }, {
1962
2097
  id: string;
1963
- url: string;
1964
2098
  title: string;
1965
2099
  image?: unknown;
2100
+ url?: string | undefined;
2101
+ reason?: string | undefined;
2102
+ }>, {
2103
+ id: string;
2104
+ title: string;
2105
+ image?: {
2106
+ hash: string;
2107
+ mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
2108
+ } | undefined;
2109
+ url?: string | undefined;
2110
+ reason?: string | undefined;
2111
+ }, {
2112
+ id: string;
2113
+ title: string;
2114
+ image?: unknown;
2115
+ url?: string | undefined;
1966
2116
  reason?: string | undefined;
1967
2117
  }>, "many">>;
1968
2118
  path: z.ZodString;
@@ -1976,12 +2126,12 @@ export declare const projectContextExisting: z.ZodObject<{
1976
2126
  userIntent?: string | undefined;
1977
2127
  references?: {
1978
2128
  id: string;
1979
- url: string;
1980
2129
  title: string;
1981
2130
  image?: {
1982
2131
  hash: string;
1983
2132
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
1984
2133
  } | undefined;
2134
+ url?: string | undefined;
1985
2135
  reason?: string | undefined;
1986
2136
  }[] | undefined;
1987
2137
  }, {
@@ -1992,9 +2142,9 @@ export declare const projectContextExisting: z.ZodObject<{
1992
2142
  userIntent?: string | undefined;
1993
2143
  references?: {
1994
2144
  id: string;
1995
- url: string;
1996
2145
  title: string;
1997
2146
  image?: unknown;
2147
+ url?: string | undefined;
1998
2148
  reason?: string | undefined;
1999
2149
  }[] | undefined;
2000
2150
  }>]>, "many">;
@@ -2291,12 +2441,12 @@ export declare const projectContextExisting: z.ZodObject<{
2291
2441
  userIntent?: string | undefined;
2292
2442
  references?: {
2293
2443
  id: string;
2294
- url: string;
2295
2444
  title: string;
2296
2445
  image?: {
2297
2446
  hash: string;
2298
2447
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
2299
2448
  } | undefined;
2449
+ url?: string | undefined;
2300
2450
  reason?: string | undefined;
2301
2451
  }[] | undefined;
2302
2452
  originalFilename?: string | undefined;
@@ -2314,12 +2464,12 @@ export declare const projectContextExisting: z.ZodObject<{
2314
2464
  userIntent?: string | undefined;
2315
2465
  references?: {
2316
2466
  id: string;
2317
- url: string;
2318
2467
  title: string;
2319
2468
  image?: {
2320
2469
  hash: string;
2321
2470
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
2322
2471
  } | undefined;
2472
+ url?: string | undefined;
2323
2473
  reason?: string | undefined;
2324
2474
  }[] | undefined;
2325
2475
  })[];
@@ -2422,9 +2572,9 @@ export declare const projectContextExisting: z.ZodObject<{
2422
2572
  userIntent?: string | undefined;
2423
2573
  references?: {
2424
2574
  id: string;
2425
- url: string;
2426
2575
  title: string;
2427
2576
  image?: unknown;
2577
+ url?: string | undefined;
2428
2578
  reason?: string | undefined;
2429
2579
  }[] | undefined;
2430
2580
  originalFilename?: string | undefined;
@@ -2442,9 +2592,9 @@ export declare const projectContextExisting: z.ZodObject<{
2442
2592
  userIntent?: string | undefined;
2443
2593
  references?: {
2444
2594
  id: string;
2445
- url: string;
2446
2595
  title: string;
2447
2596
  image?: unknown;
2597
+ url?: string | undefined;
2448
2598
  reason?: string | undefined;
2449
2599
  }[] | undefined;
2450
2600
  })[];
@@ -2559,12 +2709,12 @@ export declare const projectContextExisting: z.ZodObject<{
2559
2709
  userIntent?: string | undefined;
2560
2710
  references?: {
2561
2711
  id: string;
2562
- url: string;
2563
2712
  title: string;
2564
2713
  image?: {
2565
2714
  hash: string;
2566
2715
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
2567
2716
  } | undefined;
2717
+ url?: string | undefined;
2568
2718
  reason?: string | undefined;
2569
2719
  }[] | undefined;
2570
2720
  originalFilename?: string | undefined;
@@ -2582,12 +2732,12 @@ export declare const projectContextExisting: z.ZodObject<{
2582
2732
  userIntent?: string | undefined;
2583
2733
  references?: {
2584
2734
  id: string;
2585
- url: string;
2586
2735
  title: string;
2587
2736
  image?: {
2588
2737
  hash: string;
2589
2738
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
2590
2739
  } | undefined;
2740
+ url?: string | undefined;
2591
2741
  reason?: string | undefined;
2592
2742
  }[] | undefined;
2593
2743
  })[];
@@ -2702,9 +2852,9 @@ export declare const projectContextExisting: z.ZodObject<{
2702
2852
  userIntent?: string | undefined;
2703
2853
  references?: {
2704
2854
  id: string;
2705
- url: string;
2706
2855
  title: string;
2707
2856
  image?: unknown;
2857
+ url?: string | undefined;
2708
2858
  reason?: string | undefined;
2709
2859
  }[] | undefined;
2710
2860
  originalFilename?: string | undefined;
@@ -2722,9 +2872,9 @@ export declare const projectContextExisting: z.ZodObject<{
2722
2872
  userIntent?: string | undefined;
2723
2873
  references?: {
2724
2874
  id: string;
2725
- url: string;
2726
2875
  title: string;
2727
2876
  image?: unknown;
2877
+ url?: string | undefined;
2728
2878
  reason?: string | undefined;
2729
2879
  }[] | undefined;
2730
2880
  })[];
@@ -2871,10 +3021,10 @@ export declare const projectContextFresh: z.ZodObject<{
2871
3021
  }>, z.ZodObject<{
2872
3022
  id: z.ZodString;
2873
3023
  transport: z.ZodLiteral<"file">;
2874
- references: z.ZodOptional<z.ZodArray<z.ZodObject<{
3024
+ references: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodObject<{
2875
3025
  id: z.ZodString;
2876
3026
  title: z.ZodString;
2877
- url: z.ZodEffects<z.ZodString, string, string>;
3027
+ url: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
2878
3028
  reason: z.ZodOptional<z.ZodString>;
2879
3029
  image: z.ZodCatch<z.ZodOptional<z.ZodObject<{
2880
3030
  hash: z.ZodString;
@@ -2888,18 +3038,33 @@ export declare const projectContextFresh: z.ZodObject<{
2888
3038
  }>>>;
2889
3039
  }, "strip", z.ZodTypeAny, {
2890
3040
  id: string;
2891
- url: string;
2892
3041
  title: string;
2893
3042
  image?: {
2894
3043
  hash: string;
2895
3044
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
2896
3045
  } | undefined;
3046
+ url?: string | undefined;
2897
3047
  reason?: string | undefined;
2898
3048
  }, {
2899
3049
  id: string;
2900
- url: string;
2901
3050
  title: string;
2902
3051
  image?: unknown;
3052
+ url?: string | undefined;
3053
+ reason?: string | undefined;
3054
+ }>, {
3055
+ id: string;
3056
+ title: string;
3057
+ image?: {
3058
+ hash: string;
3059
+ mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
3060
+ } | undefined;
3061
+ url?: string | undefined;
3062
+ reason?: string | undefined;
3063
+ }, {
3064
+ id: string;
3065
+ title: string;
3066
+ image?: unknown;
3067
+ url?: string | undefined;
2903
3068
  reason?: string | undefined;
2904
3069
  }>, "many">>;
2905
3070
  path: z.ZodString;
@@ -2916,12 +3081,12 @@ export declare const projectContextFresh: z.ZodObject<{
2916
3081
  userIntent?: string | undefined;
2917
3082
  references?: {
2918
3083
  id: string;
2919
- url: string;
2920
3084
  title: string;
2921
3085
  image?: {
2922
3086
  hash: string;
2923
3087
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
2924
3088
  } | undefined;
3089
+ url?: string | undefined;
2925
3090
  reason?: string | undefined;
2926
3091
  }[] | undefined;
2927
3092
  originalFilename?: string | undefined;
@@ -2934,9 +3099,9 @@ export declare const projectContextFresh: z.ZodObject<{
2934
3099
  userIntent?: string | undefined;
2935
3100
  references?: {
2936
3101
  id: string;
2937
- url: string;
2938
3102
  title: string;
2939
3103
  image?: unknown;
3104
+ url?: string | undefined;
2940
3105
  reason?: string | undefined;
2941
3106
  }[] | undefined;
2942
3107
  originalFilename?: string | undefined;
@@ -2961,10 +3126,10 @@ export declare const projectContextFresh: z.ZodObject<{
2961
3126
  }>, z.ZodObject<{
2962
3127
  id: z.ZodString;
2963
3128
  transport: z.ZodLiteral<"text">;
2964
- references: z.ZodOptional<z.ZodArray<z.ZodObject<{
3129
+ references: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodObject<{
2965
3130
  id: z.ZodString;
2966
3131
  title: z.ZodString;
2967
- url: z.ZodEffects<z.ZodString, string, string>;
3132
+ url: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
2968
3133
  reason: z.ZodOptional<z.ZodString>;
2969
3134
  image: z.ZodCatch<z.ZodOptional<z.ZodObject<{
2970
3135
  hash: z.ZodString;
@@ -2978,18 +3143,33 @@ export declare const projectContextFresh: z.ZodObject<{
2978
3143
  }>>>;
2979
3144
  }, "strip", z.ZodTypeAny, {
2980
3145
  id: string;
2981
- url: string;
2982
3146
  title: string;
2983
3147
  image?: {
2984
3148
  hash: string;
2985
3149
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
2986
3150
  } | undefined;
3151
+ url?: string | undefined;
2987
3152
  reason?: string | undefined;
2988
3153
  }, {
2989
3154
  id: string;
2990
- url: string;
2991
3155
  title: string;
2992
3156
  image?: unknown;
3157
+ url?: string | undefined;
3158
+ reason?: string | undefined;
3159
+ }>, {
3160
+ id: string;
3161
+ title: string;
3162
+ image?: {
3163
+ hash: string;
3164
+ mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
3165
+ } | undefined;
3166
+ url?: string | undefined;
3167
+ reason?: string | undefined;
3168
+ }, {
3169
+ id: string;
3170
+ title: string;
3171
+ image?: unknown;
3172
+ url?: string | undefined;
2993
3173
  reason?: string | undefined;
2994
3174
  }>, "many">>;
2995
3175
  path: z.ZodString;
@@ -3003,12 +3183,12 @@ export declare const projectContextFresh: z.ZodObject<{
3003
3183
  userIntent?: string | undefined;
3004
3184
  references?: {
3005
3185
  id: string;
3006
- url: string;
3007
3186
  title: string;
3008
3187
  image?: {
3009
3188
  hash: string;
3010
3189
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
3011
3190
  } | undefined;
3191
+ url?: string | undefined;
3012
3192
  reason?: string | undefined;
3013
3193
  }[] | undefined;
3014
3194
  }, {
@@ -3019,9 +3199,9 @@ export declare const projectContextFresh: z.ZodObject<{
3019
3199
  userIntent?: string | undefined;
3020
3200
  references?: {
3021
3201
  id: string;
3022
- url: string;
3023
3202
  title: string;
3024
3203
  image?: unknown;
3204
+ url?: string | undefined;
3025
3205
  reason?: string | undefined;
3026
3206
  }[] | undefined;
3027
3207
  }>]>, "many">;
@@ -3318,12 +3498,12 @@ export declare const projectContextFresh: z.ZodObject<{
3318
3498
  userIntent?: string | undefined;
3319
3499
  references?: {
3320
3500
  id: string;
3321
- url: string;
3322
3501
  title: string;
3323
3502
  image?: {
3324
3503
  hash: string;
3325
3504
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
3326
3505
  } | undefined;
3506
+ url?: string | undefined;
3327
3507
  reason?: string | undefined;
3328
3508
  }[] | undefined;
3329
3509
  originalFilename?: string | undefined;
@@ -3341,12 +3521,12 @@ export declare const projectContextFresh: z.ZodObject<{
3341
3521
  userIntent?: string | undefined;
3342
3522
  references?: {
3343
3523
  id: string;
3344
- url: string;
3345
3524
  title: string;
3346
3525
  image?: {
3347
3526
  hash: string;
3348
3527
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
3349
3528
  } | undefined;
3529
+ url?: string | undefined;
3350
3530
  reason?: string | undefined;
3351
3531
  }[] | undefined;
3352
3532
  })[];
@@ -3449,9 +3629,9 @@ export declare const projectContextFresh: z.ZodObject<{
3449
3629
  userIntent?: string | undefined;
3450
3630
  references?: {
3451
3631
  id: string;
3452
- url: string;
3453
3632
  title: string;
3454
3633
  image?: unknown;
3634
+ url?: string | undefined;
3455
3635
  reason?: string | undefined;
3456
3636
  }[] | undefined;
3457
3637
  originalFilename?: string | undefined;
@@ -3469,9 +3649,9 @@ export declare const projectContextFresh: z.ZodObject<{
3469
3649
  userIntent?: string | undefined;
3470
3650
  references?: {
3471
3651
  id: string;
3472
- url: string;
3473
3652
  title: string;
3474
3653
  image?: unknown;
3654
+ url?: string | undefined;
3475
3655
  reason?: string | undefined;
3476
3656
  }[] | undefined;
3477
3657
  })[];
@@ -3641,12 +3821,12 @@ export declare const projectContextFresh: z.ZodObject<{
3641
3821
  userIntent?: string | undefined;
3642
3822
  references?: {
3643
3823
  id: string;
3644
- url: string;
3645
3824
  title: string;
3646
3825
  image?: {
3647
3826
  hash: string;
3648
3827
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
3649
3828
  } | undefined;
3829
+ url?: string | undefined;
3650
3830
  reason?: string | undefined;
3651
3831
  }[] | undefined;
3652
3832
  originalFilename?: string | undefined;
@@ -3664,12 +3844,12 @@ export declare const projectContextFresh: z.ZodObject<{
3664
3844
  userIntent?: string | undefined;
3665
3845
  references?: {
3666
3846
  id: string;
3667
- url: string;
3668
3847
  title: string;
3669
3848
  image?: {
3670
3849
  hash: string;
3671
3850
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
3672
3851
  } | undefined;
3852
+ url?: string | undefined;
3673
3853
  reason?: string | undefined;
3674
3854
  }[] | undefined;
3675
3855
  })[];
@@ -3799,9 +3979,9 @@ export declare const projectContextFresh: z.ZodObject<{
3799
3979
  userIntent?: string | undefined;
3800
3980
  references?: {
3801
3981
  id: string;
3802
- url: string;
3803
3982
  title: string;
3804
3983
  image?: unknown;
3984
+ url?: string | undefined;
3805
3985
  reason?: string | undefined;
3806
3986
  }[] | undefined;
3807
3987
  originalFilename?: string | undefined;
@@ -3819,9 +3999,9 @@ export declare const projectContextFresh: z.ZodObject<{
3819
3999
  userIntent?: string | undefined;
3820
4000
  references?: {
3821
4001
  id: string;
3822
- url: string;
3823
4002
  title: string;
3824
4003
  image?: unknown;
4004
+ url?: string | undefined;
3825
4005
  reason?: string | undefined;
3826
4006
  }[] | undefined;
3827
4007
  })[];
@@ -3967,10 +4147,10 @@ export declare const projectContextSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
3967
4147
  }>, z.ZodObject<{
3968
4148
  id: z.ZodString;
3969
4149
  transport: z.ZodLiteral<"file">;
3970
- references: z.ZodOptional<z.ZodArray<z.ZodObject<{
4150
+ references: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodObject<{
3971
4151
  id: z.ZodString;
3972
4152
  title: z.ZodString;
3973
- url: z.ZodEffects<z.ZodString, string, string>;
4153
+ url: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
3974
4154
  reason: z.ZodOptional<z.ZodString>;
3975
4155
  image: z.ZodCatch<z.ZodOptional<z.ZodObject<{
3976
4156
  hash: z.ZodString;
@@ -3984,18 +4164,33 @@ export declare const projectContextSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
3984
4164
  }>>>;
3985
4165
  }, "strip", z.ZodTypeAny, {
3986
4166
  id: string;
3987
- url: string;
3988
4167
  title: string;
3989
4168
  image?: {
3990
4169
  hash: string;
3991
4170
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
3992
4171
  } | undefined;
4172
+ url?: string | undefined;
4173
+ reason?: string | undefined;
4174
+ }, {
4175
+ id: string;
4176
+ title: string;
4177
+ image?: unknown;
4178
+ url?: string | undefined;
4179
+ reason?: string | undefined;
4180
+ }>, {
4181
+ id: string;
4182
+ title: string;
4183
+ image?: {
4184
+ hash: string;
4185
+ mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
4186
+ } | undefined;
4187
+ url?: string | undefined;
3993
4188
  reason?: string | undefined;
3994
4189
  }, {
3995
4190
  id: string;
3996
- url: string;
3997
4191
  title: string;
3998
4192
  image?: unknown;
4193
+ url?: string | undefined;
3999
4194
  reason?: string | undefined;
4000
4195
  }>, "many">>;
4001
4196
  path: z.ZodString;
@@ -4012,12 +4207,12 @@ export declare const projectContextSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
4012
4207
  userIntent?: string | undefined;
4013
4208
  references?: {
4014
4209
  id: string;
4015
- url: string;
4016
4210
  title: string;
4017
4211
  image?: {
4018
4212
  hash: string;
4019
4213
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
4020
4214
  } | undefined;
4215
+ url?: string | undefined;
4021
4216
  reason?: string | undefined;
4022
4217
  }[] | undefined;
4023
4218
  originalFilename?: string | undefined;
@@ -4030,9 +4225,9 @@ export declare const projectContextSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
4030
4225
  userIntent?: string | undefined;
4031
4226
  references?: {
4032
4227
  id: string;
4033
- url: string;
4034
4228
  title: string;
4035
4229
  image?: unknown;
4230
+ url?: string | undefined;
4036
4231
  reason?: string | undefined;
4037
4232
  }[] | undefined;
4038
4233
  originalFilename?: string | undefined;
@@ -4057,10 +4252,10 @@ export declare const projectContextSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
4057
4252
  }>, z.ZodObject<{
4058
4253
  id: z.ZodString;
4059
4254
  transport: z.ZodLiteral<"text">;
4060
- references: z.ZodOptional<z.ZodArray<z.ZodObject<{
4255
+ references: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodObject<{
4061
4256
  id: z.ZodString;
4062
4257
  title: z.ZodString;
4063
- url: z.ZodEffects<z.ZodString, string, string>;
4258
+ url: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
4064
4259
  reason: z.ZodOptional<z.ZodString>;
4065
4260
  image: z.ZodCatch<z.ZodOptional<z.ZodObject<{
4066
4261
  hash: z.ZodString;
@@ -4074,18 +4269,33 @@ export declare const projectContextSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
4074
4269
  }>>>;
4075
4270
  }, "strip", z.ZodTypeAny, {
4076
4271
  id: string;
4077
- url: string;
4078
4272
  title: string;
4079
4273
  image?: {
4080
4274
  hash: string;
4081
4275
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
4082
4276
  } | undefined;
4277
+ url?: string | undefined;
4083
4278
  reason?: string | undefined;
4084
4279
  }, {
4085
4280
  id: string;
4086
- url: string;
4087
4281
  title: string;
4088
4282
  image?: unknown;
4283
+ url?: string | undefined;
4284
+ reason?: string | undefined;
4285
+ }>, {
4286
+ id: string;
4287
+ title: string;
4288
+ image?: {
4289
+ hash: string;
4290
+ mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
4291
+ } | undefined;
4292
+ url?: string | undefined;
4293
+ reason?: string | undefined;
4294
+ }, {
4295
+ id: string;
4296
+ title: string;
4297
+ image?: unknown;
4298
+ url?: string | undefined;
4089
4299
  reason?: string | undefined;
4090
4300
  }>, "many">>;
4091
4301
  path: z.ZodString;
@@ -4099,12 +4309,12 @@ export declare const projectContextSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
4099
4309
  userIntent?: string | undefined;
4100
4310
  references?: {
4101
4311
  id: string;
4102
- url: string;
4103
4312
  title: string;
4104
4313
  image?: {
4105
4314
  hash: string;
4106
4315
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
4107
4316
  } | undefined;
4317
+ url?: string | undefined;
4108
4318
  reason?: string | undefined;
4109
4319
  }[] | undefined;
4110
4320
  }, {
@@ -4115,9 +4325,9 @@ export declare const projectContextSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
4115
4325
  userIntent?: string | undefined;
4116
4326
  references?: {
4117
4327
  id: string;
4118
- url: string;
4119
4328
  title: string;
4120
4329
  image?: unknown;
4330
+ url?: string | undefined;
4121
4331
  reason?: string | undefined;
4122
4332
  }[] | undefined;
4123
4333
  }>]>, "many">;
@@ -4414,12 +4624,12 @@ export declare const projectContextSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
4414
4624
  userIntent?: string | undefined;
4415
4625
  references?: {
4416
4626
  id: string;
4417
- url: string;
4418
4627
  title: string;
4419
4628
  image?: {
4420
4629
  hash: string;
4421
4630
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
4422
4631
  } | undefined;
4632
+ url?: string | undefined;
4423
4633
  reason?: string | undefined;
4424
4634
  }[] | undefined;
4425
4635
  originalFilename?: string | undefined;
@@ -4437,12 +4647,12 @@ export declare const projectContextSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
4437
4647
  userIntent?: string | undefined;
4438
4648
  references?: {
4439
4649
  id: string;
4440
- url: string;
4441
4650
  title: string;
4442
4651
  image?: {
4443
4652
  hash: string;
4444
4653
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
4445
4654
  } | undefined;
4655
+ url?: string | undefined;
4446
4656
  reason?: string | undefined;
4447
4657
  }[] | undefined;
4448
4658
  })[];
@@ -4545,9 +4755,9 @@ export declare const projectContextSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
4545
4755
  userIntent?: string | undefined;
4546
4756
  references?: {
4547
4757
  id: string;
4548
- url: string;
4549
4758
  title: string;
4550
4759
  image?: unknown;
4760
+ url?: string | undefined;
4551
4761
  reason?: string | undefined;
4552
4762
  }[] | undefined;
4553
4763
  originalFilename?: string | undefined;
@@ -4565,9 +4775,9 @@ export declare const projectContextSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
4565
4775
  userIntent?: string | undefined;
4566
4776
  references?: {
4567
4777
  id: string;
4568
- url: string;
4569
4778
  title: string;
4570
4779
  image?: unknown;
4780
+ url?: string | undefined;
4571
4781
  reason?: string | undefined;
4572
4782
  }[] | undefined;
4573
4783
  })[];
@@ -4682,12 +4892,12 @@ export declare const projectContextSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
4682
4892
  userIntent?: string | undefined;
4683
4893
  references?: {
4684
4894
  id: string;
4685
- url: string;
4686
4895
  title: string;
4687
4896
  image?: {
4688
4897
  hash: string;
4689
4898
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
4690
4899
  } | undefined;
4900
+ url?: string | undefined;
4691
4901
  reason?: string | undefined;
4692
4902
  }[] | undefined;
4693
4903
  originalFilename?: string | undefined;
@@ -4705,12 +4915,12 @@ export declare const projectContextSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
4705
4915
  userIntent?: string | undefined;
4706
4916
  references?: {
4707
4917
  id: string;
4708
- url: string;
4709
4918
  title: string;
4710
4919
  image?: {
4711
4920
  hash: string;
4712
4921
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
4713
4922
  } | undefined;
4923
+ url?: string | undefined;
4714
4924
  reason?: string | undefined;
4715
4925
  }[] | undefined;
4716
4926
  })[];
@@ -4825,9 +5035,9 @@ export declare const projectContextSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
4825
5035
  userIntent?: string | undefined;
4826
5036
  references?: {
4827
5037
  id: string;
4828
- url: string;
4829
5038
  title: string;
4830
5039
  image?: unknown;
5040
+ url?: string | undefined;
4831
5041
  reason?: string | undefined;
4832
5042
  }[] | undefined;
4833
5043
  originalFilename?: string | undefined;
@@ -4845,9 +5055,9 @@ export declare const projectContextSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
4845
5055
  userIntent?: string | undefined;
4846
5056
  references?: {
4847
5057
  id: string;
4848
- url: string;
4849
5058
  title: string;
4850
5059
  image?: unknown;
5060
+ url?: string | undefined;
4851
5061
  reason?: string | undefined;
4852
5062
  }[] | undefined;
4853
5063
  })[];
@@ -4993,10 +5203,10 @@ export declare const projectContextSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
4993
5203
  }>, z.ZodObject<{
4994
5204
  id: z.ZodString;
4995
5205
  transport: z.ZodLiteral<"file">;
4996
- references: z.ZodOptional<z.ZodArray<z.ZodObject<{
5206
+ references: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodObject<{
4997
5207
  id: z.ZodString;
4998
5208
  title: z.ZodString;
4999
- url: z.ZodEffects<z.ZodString, string, string>;
5209
+ url: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
5000
5210
  reason: z.ZodOptional<z.ZodString>;
5001
5211
  image: z.ZodCatch<z.ZodOptional<z.ZodObject<{
5002
5212
  hash: z.ZodString;
@@ -5010,18 +5220,33 @@ export declare const projectContextSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
5010
5220
  }>>>;
5011
5221
  }, "strip", z.ZodTypeAny, {
5012
5222
  id: string;
5013
- url: string;
5014
5223
  title: string;
5015
5224
  image?: {
5016
5225
  hash: string;
5017
5226
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
5018
5227
  } | undefined;
5228
+ url?: string | undefined;
5229
+ reason?: string | undefined;
5230
+ }, {
5231
+ id: string;
5232
+ title: string;
5233
+ image?: unknown;
5234
+ url?: string | undefined;
5235
+ reason?: string | undefined;
5236
+ }>, {
5237
+ id: string;
5238
+ title: string;
5239
+ image?: {
5240
+ hash: string;
5241
+ mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
5242
+ } | undefined;
5243
+ url?: string | undefined;
5019
5244
  reason?: string | undefined;
5020
5245
  }, {
5021
5246
  id: string;
5022
- url: string;
5023
5247
  title: string;
5024
5248
  image?: unknown;
5249
+ url?: string | undefined;
5025
5250
  reason?: string | undefined;
5026
5251
  }>, "many">>;
5027
5252
  path: z.ZodString;
@@ -5038,12 +5263,12 @@ export declare const projectContextSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
5038
5263
  userIntent?: string | undefined;
5039
5264
  references?: {
5040
5265
  id: string;
5041
- url: string;
5042
5266
  title: string;
5043
5267
  image?: {
5044
5268
  hash: string;
5045
5269
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
5046
5270
  } | undefined;
5271
+ url?: string | undefined;
5047
5272
  reason?: string | undefined;
5048
5273
  }[] | undefined;
5049
5274
  originalFilename?: string | undefined;
@@ -5056,9 +5281,9 @@ export declare const projectContextSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
5056
5281
  userIntent?: string | undefined;
5057
5282
  references?: {
5058
5283
  id: string;
5059
- url: string;
5060
5284
  title: string;
5061
5285
  image?: unknown;
5286
+ url?: string | undefined;
5062
5287
  reason?: string | undefined;
5063
5288
  }[] | undefined;
5064
5289
  originalFilename?: string | undefined;
@@ -5083,10 +5308,10 @@ export declare const projectContextSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
5083
5308
  }>, z.ZodObject<{
5084
5309
  id: z.ZodString;
5085
5310
  transport: z.ZodLiteral<"text">;
5086
- references: z.ZodOptional<z.ZodArray<z.ZodObject<{
5311
+ references: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodObject<{
5087
5312
  id: z.ZodString;
5088
5313
  title: z.ZodString;
5089
- url: z.ZodEffects<z.ZodString, string, string>;
5314
+ url: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
5090
5315
  reason: z.ZodOptional<z.ZodString>;
5091
5316
  image: z.ZodCatch<z.ZodOptional<z.ZodObject<{
5092
5317
  hash: z.ZodString;
@@ -5100,18 +5325,33 @@ export declare const projectContextSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
5100
5325
  }>>>;
5101
5326
  }, "strip", z.ZodTypeAny, {
5102
5327
  id: string;
5103
- url: string;
5104
5328
  title: string;
5105
5329
  image?: {
5106
5330
  hash: string;
5107
5331
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
5108
5332
  } | undefined;
5333
+ url?: string | undefined;
5109
5334
  reason?: string | undefined;
5110
5335
  }, {
5111
5336
  id: string;
5112
- url: string;
5113
5337
  title: string;
5114
5338
  image?: unknown;
5339
+ url?: string | undefined;
5340
+ reason?: string | undefined;
5341
+ }>, {
5342
+ id: string;
5343
+ title: string;
5344
+ image?: {
5345
+ hash: string;
5346
+ mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
5347
+ } | undefined;
5348
+ url?: string | undefined;
5349
+ reason?: string | undefined;
5350
+ }, {
5351
+ id: string;
5352
+ title: string;
5353
+ image?: unknown;
5354
+ url?: string | undefined;
5115
5355
  reason?: string | undefined;
5116
5356
  }>, "many">>;
5117
5357
  path: z.ZodString;
@@ -5125,12 +5365,12 @@ export declare const projectContextSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
5125
5365
  userIntent?: string | undefined;
5126
5366
  references?: {
5127
5367
  id: string;
5128
- url: string;
5129
5368
  title: string;
5130
5369
  image?: {
5131
5370
  hash: string;
5132
5371
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
5133
5372
  } | undefined;
5373
+ url?: string | undefined;
5134
5374
  reason?: string | undefined;
5135
5375
  }[] | undefined;
5136
5376
  }, {
@@ -5141,9 +5381,9 @@ export declare const projectContextSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
5141
5381
  userIntent?: string | undefined;
5142
5382
  references?: {
5143
5383
  id: string;
5144
- url: string;
5145
5384
  title: string;
5146
5385
  image?: unknown;
5386
+ url?: string | undefined;
5147
5387
  reason?: string | undefined;
5148
5388
  }[] | undefined;
5149
5389
  }>]>, "many">;
@@ -5440,12 +5680,12 @@ export declare const projectContextSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
5440
5680
  userIntent?: string | undefined;
5441
5681
  references?: {
5442
5682
  id: string;
5443
- url: string;
5444
5683
  title: string;
5445
5684
  image?: {
5446
5685
  hash: string;
5447
5686
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
5448
5687
  } | undefined;
5688
+ url?: string | undefined;
5449
5689
  reason?: string | undefined;
5450
5690
  }[] | undefined;
5451
5691
  originalFilename?: string | undefined;
@@ -5463,12 +5703,12 @@ export declare const projectContextSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
5463
5703
  userIntent?: string | undefined;
5464
5704
  references?: {
5465
5705
  id: string;
5466
- url: string;
5467
5706
  title: string;
5468
5707
  image?: {
5469
5708
  hash: string;
5470
5709
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
5471
5710
  } | undefined;
5711
+ url?: string | undefined;
5472
5712
  reason?: string | undefined;
5473
5713
  }[] | undefined;
5474
5714
  })[];
@@ -5571,9 +5811,9 @@ export declare const projectContextSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
5571
5811
  userIntent?: string | undefined;
5572
5812
  references?: {
5573
5813
  id: string;
5574
- url: string;
5575
5814
  title: string;
5576
5815
  image?: unknown;
5816
+ url?: string | undefined;
5577
5817
  reason?: string | undefined;
5578
5818
  }[] | undefined;
5579
5819
  originalFilename?: string | undefined;
@@ -5591,9 +5831,9 @@ export declare const projectContextSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
5591
5831
  userIntent?: string | undefined;
5592
5832
  references?: {
5593
5833
  id: string;
5594
- url: string;
5595
5834
  title: string;
5596
5835
  image?: unknown;
5836
+ url?: string | undefined;
5597
5837
  reason?: string | undefined;
5598
5838
  }[] | undefined;
5599
5839
  })[];
@@ -5763,12 +6003,12 @@ export declare const projectContextSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
5763
6003
  userIntent?: string | undefined;
5764
6004
  references?: {
5765
6005
  id: string;
5766
- url: string;
5767
6006
  title: string;
5768
6007
  image?: {
5769
6008
  hash: string;
5770
6009
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
5771
6010
  } | undefined;
6011
+ url?: string | undefined;
5772
6012
  reason?: string | undefined;
5773
6013
  }[] | undefined;
5774
6014
  originalFilename?: string | undefined;
@@ -5786,12 +6026,12 @@ export declare const projectContextSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
5786
6026
  userIntent?: string | undefined;
5787
6027
  references?: {
5788
6028
  id: string;
5789
- url: string;
5790
6029
  title: string;
5791
6030
  image?: {
5792
6031
  hash: string;
5793
6032
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
5794
6033
  } | undefined;
6034
+ url?: string | undefined;
5795
6035
  reason?: string | undefined;
5796
6036
  }[] | undefined;
5797
6037
  })[];
@@ -5921,9 +6161,9 @@ export declare const projectContextSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
5921
6161
  userIntent?: string | undefined;
5922
6162
  references?: {
5923
6163
  id: string;
5924
- url: string;
5925
6164
  title: string;
5926
6165
  image?: unknown;
6166
+ url?: string | undefined;
5927
6167
  reason?: string | undefined;
5928
6168
  }[] | undefined;
5929
6169
  originalFilename?: string | undefined;
@@ -5941,9 +6181,9 @@ export declare const projectContextSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
5941
6181
  userIntent?: string | undefined;
5942
6182
  references?: {
5943
6183
  id: string;
5944
- url: string;
5945
6184
  title: string;
5946
6185
  image?: unknown;
6186
+ url?: string | undefined;
5947
6187
  reason?: string | undefined;
5948
6188
  }[] | undefined;
5949
6189
  })[];
@@ -6089,10 +6329,10 @@ export declare const projectContextInputSchema: z.ZodDiscriminatedUnion<"kind",
6089
6329
  }>, z.ZodObject<{
6090
6330
  id: z.ZodString;
6091
6331
  transport: z.ZodLiteral<"file">;
6092
- references: z.ZodOptional<z.ZodArray<z.ZodObject<{
6332
+ references: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodObject<{
6093
6333
  id: z.ZodString;
6094
6334
  title: z.ZodString;
6095
- url: z.ZodEffects<z.ZodString, string, string>;
6335
+ url: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
6096
6336
  reason: z.ZodOptional<z.ZodString>;
6097
6337
  image: z.ZodCatch<z.ZodOptional<z.ZodObject<{
6098
6338
  hash: z.ZodString;
@@ -6106,18 +6346,33 @@ export declare const projectContextInputSchema: z.ZodDiscriminatedUnion<"kind",
6106
6346
  }>>>;
6107
6347
  }, "strip", z.ZodTypeAny, {
6108
6348
  id: string;
6109
- url: string;
6110
6349
  title: string;
6111
6350
  image?: {
6112
6351
  hash: string;
6113
6352
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
6114
6353
  } | undefined;
6354
+ url?: string | undefined;
6115
6355
  reason?: string | undefined;
6116
6356
  }, {
6117
6357
  id: string;
6118
- url: string;
6119
6358
  title: string;
6120
6359
  image?: unknown;
6360
+ url?: string | undefined;
6361
+ reason?: string | undefined;
6362
+ }>, {
6363
+ id: string;
6364
+ title: string;
6365
+ image?: {
6366
+ hash: string;
6367
+ mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
6368
+ } | undefined;
6369
+ url?: string | undefined;
6370
+ reason?: string | undefined;
6371
+ }, {
6372
+ id: string;
6373
+ title: string;
6374
+ image?: unknown;
6375
+ url?: string | undefined;
6121
6376
  reason?: string | undefined;
6122
6377
  }>, "many">>;
6123
6378
  path: z.ZodString;
@@ -6134,12 +6389,12 @@ export declare const projectContextInputSchema: z.ZodDiscriminatedUnion<"kind",
6134
6389
  userIntent?: string | undefined;
6135
6390
  references?: {
6136
6391
  id: string;
6137
- url: string;
6138
6392
  title: string;
6139
6393
  image?: {
6140
6394
  hash: string;
6141
6395
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
6142
6396
  } | undefined;
6397
+ url?: string | undefined;
6143
6398
  reason?: string | undefined;
6144
6399
  }[] | undefined;
6145
6400
  originalFilename?: string | undefined;
@@ -6152,9 +6407,9 @@ export declare const projectContextInputSchema: z.ZodDiscriminatedUnion<"kind",
6152
6407
  userIntent?: string | undefined;
6153
6408
  references?: {
6154
6409
  id: string;
6155
- url: string;
6156
6410
  title: string;
6157
6411
  image?: unknown;
6412
+ url?: string | undefined;
6158
6413
  reason?: string | undefined;
6159
6414
  }[] | undefined;
6160
6415
  originalFilename?: string | undefined;
@@ -6179,10 +6434,10 @@ export declare const projectContextInputSchema: z.ZodDiscriminatedUnion<"kind",
6179
6434
  }>, z.ZodObject<{
6180
6435
  id: z.ZodString;
6181
6436
  transport: z.ZodLiteral<"text">;
6182
- references: z.ZodOptional<z.ZodArray<z.ZodObject<{
6437
+ references: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodObject<{
6183
6438
  id: z.ZodString;
6184
6439
  title: z.ZodString;
6185
- url: z.ZodEffects<z.ZodString, string, string>;
6440
+ url: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
6186
6441
  reason: z.ZodOptional<z.ZodString>;
6187
6442
  image: z.ZodCatch<z.ZodOptional<z.ZodObject<{
6188
6443
  hash: z.ZodString;
@@ -6196,18 +6451,33 @@ export declare const projectContextInputSchema: z.ZodDiscriminatedUnion<"kind",
6196
6451
  }>>>;
6197
6452
  }, "strip", z.ZodTypeAny, {
6198
6453
  id: string;
6199
- url: string;
6200
6454
  title: string;
6201
6455
  image?: {
6202
6456
  hash: string;
6203
6457
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
6204
6458
  } | undefined;
6459
+ url?: string | undefined;
6460
+ reason?: string | undefined;
6461
+ }, {
6462
+ id: string;
6463
+ title: string;
6464
+ image?: unknown;
6465
+ url?: string | undefined;
6466
+ reason?: string | undefined;
6467
+ }>, {
6468
+ id: string;
6469
+ title: string;
6470
+ image?: {
6471
+ hash: string;
6472
+ mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
6473
+ } | undefined;
6474
+ url?: string | undefined;
6205
6475
  reason?: string | undefined;
6206
6476
  }, {
6207
6477
  id: string;
6208
- url: string;
6209
6478
  title: string;
6210
6479
  image?: unknown;
6480
+ url?: string | undefined;
6211
6481
  reason?: string | undefined;
6212
6482
  }>, "many">>;
6213
6483
  path: z.ZodString;
@@ -6221,12 +6491,12 @@ export declare const projectContextInputSchema: z.ZodDiscriminatedUnion<"kind",
6221
6491
  userIntent?: string | undefined;
6222
6492
  references?: {
6223
6493
  id: string;
6224
- url: string;
6225
6494
  title: string;
6226
6495
  image?: {
6227
6496
  hash: string;
6228
6497
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
6229
6498
  } | undefined;
6499
+ url?: string | undefined;
6230
6500
  reason?: string | undefined;
6231
6501
  }[] | undefined;
6232
6502
  }, {
@@ -6237,9 +6507,9 @@ export declare const projectContextInputSchema: z.ZodDiscriminatedUnion<"kind",
6237
6507
  userIntent?: string | undefined;
6238
6508
  references?: {
6239
6509
  id: string;
6240
- url: string;
6241
6510
  title: string;
6242
6511
  image?: unknown;
6512
+ url?: string | undefined;
6243
6513
  reason?: string | undefined;
6244
6514
  }[] | undefined;
6245
6515
  }>]>, "many">;
@@ -6536,12 +6806,12 @@ export declare const projectContextInputSchema: z.ZodDiscriminatedUnion<"kind",
6536
6806
  userIntent?: string | undefined;
6537
6807
  references?: {
6538
6808
  id: string;
6539
- url: string;
6540
6809
  title: string;
6541
6810
  image?: {
6542
6811
  hash: string;
6543
6812
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
6544
6813
  } | undefined;
6814
+ url?: string | undefined;
6545
6815
  reason?: string | undefined;
6546
6816
  }[] | undefined;
6547
6817
  originalFilename?: string | undefined;
@@ -6559,12 +6829,12 @@ export declare const projectContextInputSchema: z.ZodDiscriminatedUnion<"kind",
6559
6829
  userIntent?: string | undefined;
6560
6830
  references?: {
6561
6831
  id: string;
6562
- url: string;
6563
6832
  title: string;
6564
6833
  image?: {
6565
6834
  hash: string;
6566
6835
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
6567
6836
  } | undefined;
6837
+ url?: string | undefined;
6568
6838
  reason?: string | undefined;
6569
6839
  }[] | undefined;
6570
6840
  })[];
@@ -6667,9 +6937,9 @@ export declare const projectContextInputSchema: z.ZodDiscriminatedUnion<"kind",
6667
6937
  userIntent?: string | undefined;
6668
6938
  references?: {
6669
6939
  id: string;
6670
- url: string;
6671
6940
  title: string;
6672
6941
  image?: unknown;
6942
+ url?: string | undefined;
6673
6943
  reason?: string | undefined;
6674
6944
  }[] | undefined;
6675
6945
  originalFilename?: string | undefined;
@@ -6687,9 +6957,9 @@ export declare const projectContextInputSchema: z.ZodDiscriminatedUnion<"kind",
6687
6957
  userIntent?: string | undefined;
6688
6958
  references?: {
6689
6959
  id: string;
6690
- url: string;
6691
6960
  title: string;
6692
6961
  image?: unknown;
6962
+ url?: string | undefined;
6693
6963
  reason?: string | undefined;
6694
6964
  }[] | undefined;
6695
6965
  })[];
@@ -6857,10 +7127,10 @@ export declare const projectContextInputSchema: z.ZodDiscriminatedUnion<"kind",
6857
7127
  }>, z.ZodObject<{
6858
7128
  id: z.ZodString;
6859
7129
  transport: z.ZodLiteral<"file">;
6860
- references: z.ZodOptional<z.ZodArray<z.ZodObject<{
7130
+ references: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodObject<{
6861
7131
  id: z.ZodString;
6862
7132
  title: z.ZodString;
6863
- url: z.ZodEffects<z.ZodString, string, string>;
7133
+ url: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
6864
7134
  reason: z.ZodOptional<z.ZodString>;
6865
7135
  image: z.ZodCatch<z.ZodOptional<z.ZodObject<{
6866
7136
  hash: z.ZodString;
@@ -6874,18 +7144,33 @@ export declare const projectContextInputSchema: z.ZodDiscriminatedUnion<"kind",
6874
7144
  }>>>;
6875
7145
  }, "strip", z.ZodTypeAny, {
6876
7146
  id: string;
6877
- url: string;
6878
7147
  title: string;
6879
7148
  image?: {
6880
7149
  hash: string;
6881
7150
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
6882
7151
  } | undefined;
7152
+ url?: string | undefined;
7153
+ reason?: string | undefined;
7154
+ }, {
7155
+ id: string;
7156
+ title: string;
7157
+ image?: unknown;
7158
+ url?: string | undefined;
7159
+ reason?: string | undefined;
7160
+ }>, {
7161
+ id: string;
7162
+ title: string;
7163
+ image?: {
7164
+ hash: string;
7165
+ mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
7166
+ } | undefined;
7167
+ url?: string | undefined;
6883
7168
  reason?: string | undefined;
6884
7169
  }, {
6885
7170
  id: string;
6886
- url: string;
6887
7171
  title: string;
6888
7172
  image?: unknown;
7173
+ url?: string | undefined;
6889
7174
  reason?: string | undefined;
6890
7175
  }>, "many">>;
6891
7176
  path: z.ZodString;
@@ -6902,12 +7187,12 @@ export declare const projectContextInputSchema: z.ZodDiscriminatedUnion<"kind",
6902
7187
  userIntent?: string | undefined;
6903
7188
  references?: {
6904
7189
  id: string;
6905
- url: string;
6906
7190
  title: string;
6907
7191
  image?: {
6908
7192
  hash: string;
6909
7193
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
6910
7194
  } | undefined;
7195
+ url?: string | undefined;
6911
7196
  reason?: string | undefined;
6912
7197
  }[] | undefined;
6913
7198
  originalFilename?: string | undefined;
@@ -6920,9 +7205,9 @@ export declare const projectContextInputSchema: z.ZodDiscriminatedUnion<"kind",
6920
7205
  userIntent?: string | undefined;
6921
7206
  references?: {
6922
7207
  id: string;
6923
- url: string;
6924
7208
  title: string;
6925
7209
  image?: unknown;
7210
+ url?: string | undefined;
6926
7211
  reason?: string | undefined;
6927
7212
  }[] | undefined;
6928
7213
  originalFilename?: string | undefined;
@@ -6947,10 +7232,10 @@ export declare const projectContextInputSchema: z.ZodDiscriminatedUnion<"kind",
6947
7232
  }>, z.ZodObject<{
6948
7233
  id: z.ZodString;
6949
7234
  transport: z.ZodLiteral<"text">;
6950
- references: z.ZodOptional<z.ZodArray<z.ZodObject<{
7235
+ references: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodObject<{
6951
7236
  id: z.ZodString;
6952
7237
  title: z.ZodString;
6953
- url: z.ZodEffects<z.ZodString, string, string>;
7238
+ url: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
6954
7239
  reason: z.ZodOptional<z.ZodString>;
6955
7240
  image: z.ZodCatch<z.ZodOptional<z.ZodObject<{
6956
7241
  hash: z.ZodString;
@@ -6964,18 +7249,33 @@ export declare const projectContextInputSchema: z.ZodDiscriminatedUnion<"kind",
6964
7249
  }>>>;
6965
7250
  }, "strip", z.ZodTypeAny, {
6966
7251
  id: string;
6967
- url: string;
6968
7252
  title: string;
6969
7253
  image?: {
6970
7254
  hash: string;
6971
7255
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
6972
7256
  } | undefined;
7257
+ url?: string | undefined;
6973
7258
  reason?: string | undefined;
6974
7259
  }, {
6975
7260
  id: string;
6976
- url: string;
6977
7261
  title: string;
6978
7262
  image?: unknown;
7263
+ url?: string | undefined;
7264
+ reason?: string | undefined;
7265
+ }>, {
7266
+ id: string;
7267
+ title: string;
7268
+ image?: {
7269
+ hash: string;
7270
+ mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
7271
+ } | undefined;
7272
+ url?: string | undefined;
7273
+ reason?: string | undefined;
7274
+ }, {
7275
+ id: string;
7276
+ title: string;
7277
+ image?: unknown;
7278
+ url?: string | undefined;
6979
7279
  reason?: string | undefined;
6980
7280
  }>, "many">>;
6981
7281
  path: z.ZodString;
@@ -6989,12 +7289,12 @@ export declare const projectContextInputSchema: z.ZodDiscriminatedUnion<"kind",
6989
7289
  userIntent?: string | undefined;
6990
7290
  references?: {
6991
7291
  id: string;
6992
- url: string;
6993
7292
  title: string;
6994
7293
  image?: {
6995
7294
  hash: string;
6996
7295
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
6997
7296
  } | undefined;
7297
+ url?: string | undefined;
6998
7298
  reason?: string | undefined;
6999
7299
  }[] | undefined;
7000
7300
  }, {
@@ -7005,9 +7305,9 @@ export declare const projectContextInputSchema: z.ZodDiscriminatedUnion<"kind",
7005
7305
  userIntent?: string | undefined;
7006
7306
  references?: {
7007
7307
  id: string;
7008
- url: string;
7009
7308
  title: string;
7010
7309
  image?: unknown;
7310
+ url?: string | undefined;
7011
7311
  reason?: string | undefined;
7012
7312
  }[] | undefined;
7013
7313
  }>]>, "many">;
@@ -7304,12 +7604,12 @@ export declare const projectContextInputSchema: z.ZodDiscriminatedUnion<"kind",
7304
7604
  userIntent?: string | undefined;
7305
7605
  references?: {
7306
7606
  id: string;
7307
- url: string;
7308
7607
  title: string;
7309
7608
  image?: {
7310
7609
  hash: string;
7311
7610
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
7312
7611
  } | undefined;
7612
+ url?: string | undefined;
7313
7613
  reason?: string | undefined;
7314
7614
  }[] | undefined;
7315
7615
  originalFilename?: string | undefined;
@@ -7327,12 +7627,12 @@ export declare const projectContextInputSchema: z.ZodDiscriminatedUnion<"kind",
7327
7627
  userIntent?: string | undefined;
7328
7628
  references?: {
7329
7629
  id: string;
7330
- url: string;
7331
7630
  title: string;
7332
7631
  image?: {
7333
7632
  hash: string;
7334
7633
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
7335
7634
  } | undefined;
7635
+ url?: string | undefined;
7336
7636
  reason?: string | undefined;
7337
7637
  }[] | undefined;
7338
7638
  })[];
@@ -7435,9 +7735,9 @@ export declare const projectContextInputSchema: z.ZodDiscriminatedUnion<"kind",
7435
7735
  userIntent?: string | undefined;
7436
7736
  references?: {
7437
7737
  id: string;
7438
- url: string;
7439
7738
  title: string;
7440
7739
  image?: unknown;
7740
+ url?: string | undefined;
7441
7741
  reason?: string | undefined;
7442
7742
  }[] | undefined;
7443
7743
  originalFilename?: string | undefined;
@@ -7455,9 +7755,9 @@ export declare const projectContextInputSchema: z.ZodDiscriminatedUnion<"kind",
7455
7755
  userIntent?: string | undefined;
7456
7756
  references?: {
7457
7757
  id: string;
7458
- url: string;
7459
7758
  title: string;
7460
7759
  image?: unknown;
7760
+ url?: string | undefined;
7461
7761
  reason?: string | undefined;
7462
7762
  }[] | undefined;
7463
7763
  })[];
@@ -7878,10 +8178,10 @@ export declare const briefSchema: z.ZodObject<{
7878
8178
  }>;
7879
8179
  export type Brief = z.infer<typeof briefSchema>;
7880
8180
  export declare const variantWorkItemContextSchema: z.ZodObject<{
7881
- references: z.ZodOptional<z.ZodArray<z.ZodObject<{
8181
+ references: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodObject<{
7882
8182
  id: z.ZodString;
7883
8183
  title: z.ZodString;
7884
- url: z.ZodEffects<z.ZodString, string, string>;
8184
+ url: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
7885
8185
  reason: z.ZodOptional<z.ZodString>;
7886
8186
  image: z.ZodCatch<z.ZodOptional<z.ZodObject<{
7887
8187
  hash: z.ZodString;
@@ -7895,18 +8195,33 @@ export declare const variantWorkItemContextSchema: z.ZodObject<{
7895
8195
  }>>>;
7896
8196
  }, "strip", z.ZodTypeAny, {
7897
8197
  id: string;
7898
- url: string;
7899
8198
  title: string;
7900
8199
  image?: {
7901
8200
  hash: string;
7902
8201
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
7903
8202
  } | undefined;
8203
+ url?: string | undefined;
8204
+ reason?: string | undefined;
8205
+ }, {
8206
+ id: string;
8207
+ title: string;
8208
+ image?: unknown;
8209
+ url?: string | undefined;
8210
+ reason?: string | undefined;
8211
+ }>, {
8212
+ id: string;
8213
+ title: string;
8214
+ image?: {
8215
+ hash: string;
8216
+ mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
8217
+ } | undefined;
8218
+ url?: string | undefined;
7904
8219
  reason?: string | undefined;
7905
8220
  }, {
7906
8221
  id: string;
7907
- url: string;
7908
8222
  title: string;
7909
8223
  image?: unknown;
8224
+ url?: string | undefined;
7910
8225
  reason?: string | undefined;
7911
8226
  }>, "many">>;
7912
8227
  contextBundlePath: z.ZodString;
@@ -7943,10 +8258,10 @@ export declare const variantWorkItemContextSchema: z.ZodObject<{
7943
8258
  }>, z.ZodObject<{
7944
8259
  id: z.ZodString;
7945
8260
  transport: z.ZodLiteral<"file">;
7946
- references: z.ZodOptional<z.ZodArray<z.ZodObject<{
8261
+ references: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodObject<{
7947
8262
  id: z.ZodString;
7948
8263
  title: z.ZodString;
7949
- url: z.ZodEffects<z.ZodString, string, string>;
8264
+ url: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
7950
8265
  reason: z.ZodOptional<z.ZodString>;
7951
8266
  image: z.ZodCatch<z.ZodOptional<z.ZodObject<{
7952
8267
  hash: z.ZodString;
@@ -7960,18 +8275,33 @@ export declare const variantWorkItemContextSchema: z.ZodObject<{
7960
8275
  }>>>;
7961
8276
  }, "strip", z.ZodTypeAny, {
7962
8277
  id: string;
7963
- url: string;
7964
8278
  title: string;
7965
8279
  image?: {
7966
8280
  hash: string;
7967
8281
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
7968
8282
  } | undefined;
8283
+ url?: string | undefined;
8284
+ reason?: string | undefined;
8285
+ }, {
8286
+ id: string;
8287
+ title: string;
8288
+ image?: unknown;
8289
+ url?: string | undefined;
8290
+ reason?: string | undefined;
8291
+ }>, {
8292
+ id: string;
8293
+ title: string;
8294
+ image?: {
8295
+ hash: string;
8296
+ mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
8297
+ } | undefined;
8298
+ url?: string | undefined;
7969
8299
  reason?: string | undefined;
7970
8300
  }, {
7971
8301
  id: string;
7972
- url: string;
7973
8302
  title: string;
7974
8303
  image?: unknown;
8304
+ url?: string | undefined;
7975
8305
  reason?: string | undefined;
7976
8306
  }>, "many">>;
7977
8307
  path: z.ZodString;
@@ -7988,12 +8318,12 @@ export declare const variantWorkItemContextSchema: z.ZodObject<{
7988
8318
  userIntent?: string | undefined;
7989
8319
  references?: {
7990
8320
  id: string;
7991
- url: string;
7992
8321
  title: string;
7993
8322
  image?: {
7994
8323
  hash: string;
7995
8324
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
7996
8325
  } | undefined;
8326
+ url?: string | undefined;
7997
8327
  reason?: string | undefined;
7998
8328
  }[] | undefined;
7999
8329
  originalFilename?: string | undefined;
@@ -8006,9 +8336,9 @@ export declare const variantWorkItemContextSchema: z.ZodObject<{
8006
8336
  userIntent?: string | undefined;
8007
8337
  references?: {
8008
8338
  id: string;
8009
- url: string;
8010
8339
  title: string;
8011
8340
  image?: unknown;
8341
+ url?: string | undefined;
8012
8342
  reason?: string | undefined;
8013
8343
  }[] | undefined;
8014
8344
  originalFilename?: string | undefined;
@@ -8033,10 +8363,10 @@ export declare const variantWorkItemContextSchema: z.ZodObject<{
8033
8363
  }>, z.ZodObject<{
8034
8364
  id: z.ZodString;
8035
8365
  transport: z.ZodLiteral<"text">;
8036
- references: z.ZodOptional<z.ZodArray<z.ZodObject<{
8366
+ references: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodObject<{
8037
8367
  id: z.ZodString;
8038
8368
  title: z.ZodString;
8039
- url: z.ZodEffects<z.ZodString, string, string>;
8369
+ url: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
8040
8370
  reason: z.ZodOptional<z.ZodString>;
8041
8371
  image: z.ZodCatch<z.ZodOptional<z.ZodObject<{
8042
8372
  hash: z.ZodString;
@@ -8050,18 +8380,33 @@ export declare const variantWorkItemContextSchema: z.ZodObject<{
8050
8380
  }>>>;
8051
8381
  }, "strip", z.ZodTypeAny, {
8052
8382
  id: string;
8053
- url: string;
8054
8383
  title: string;
8055
8384
  image?: {
8056
8385
  hash: string;
8057
8386
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
8058
8387
  } | undefined;
8388
+ url?: string | undefined;
8059
8389
  reason?: string | undefined;
8060
8390
  }, {
8061
8391
  id: string;
8062
- url: string;
8063
8392
  title: string;
8064
8393
  image?: unknown;
8394
+ url?: string | undefined;
8395
+ reason?: string | undefined;
8396
+ }>, {
8397
+ id: string;
8398
+ title: string;
8399
+ image?: {
8400
+ hash: string;
8401
+ mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
8402
+ } | undefined;
8403
+ url?: string | undefined;
8404
+ reason?: string | undefined;
8405
+ }, {
8406
+ id: string;
8407
+ title: string;
8408
+ image?: unknown;
8409
+ url?: string | undefined;
8065
8410
  reason?: string | undefined;
8066
8411
  }>, "many">>;
8067
8412
  path: z.ZodString;
@@ -8075,12 +8420,12 @@ export declare const variantWorkItemContextSchema: z.ZodObject<{
8075
8420
  userIntent?: string | undefined;
8076
8421
  references?: {
8077
8422
  id: string;
8078
- url: string;
8079
8423
  title: string;
8080
8424
  image?: {
8081
8425
  hash: string;
8082
8426
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
8083
8427
  } | undefined;
8428
+ url?: string | undefined;
8084
8429
  reason?: string | undefined;
8085
8430
  }[] | undefined;
8086
8431
  }, {
@@ -8091,9 +8436,9 @@ export declare const variantWorkItemContextSchema: z.ZodObject<{
8091
8436
  userIntent?: string | undefined;
8092
8437
  references?: {
8093
8438
  id: string;
8094
- url: string;
8095
8439
  title: string;
8096
8440
  image?: unknown;
8441
+ url?: string | undefined;
8097
8442
  reason?: string | undefined;
8098
8443
  }[] | undefined;
8099
8444
  }>]>, "many">;
@@ -8320,12 +8665,12 @@ export declare const variantWorkItemContextSchema: z.ZodObject<{
8320
8665
  userIntent?: string | undefined;
8321
8666
  references?: {
8322
8667
  id: string;
8323
- url: string;
8324
8668
  title: string;
8325
8669
  image?: {
8326
8670
  hash: string;
8327
8671
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
8328
8672
  } | undefined;
8673
+ url?: string | undefined;
8329
8674
  reason?: string | undefined;
8330
8675
  }[] | undefined;
8331
8676
  originalFilename?: string | undefined;
@@ -8343,12 +8688,12 @@ export declare const variantWorkItemContextSchema: z.ZodObject<{
8343
8688
  userIntent?: string | undefined;
8344
8689
  references?: {
8345
8690
  id: string;
8346
- url: string;
8347
8691
  title: string;
8348
8692
  image?: {
8349
8693
  hash: string;
8350
8694
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
8351
8695
  } | undefined;
8696
+ url?: string | undefined;
8352
8697
  reason?: string | undefined;
8353
8698
  }[] | undefined;
8354
8699
  })[];
@@ -8390,12 +8735,12 @@ export declare const variantWorkItemContextSchema: z.ZodObject<{
8390
8735
  })[];
8391
8736
  references?: {
8392
8737
  id: string;
8393
- url: string;
8394
8738
  title: string;
8395
8739
  image?: {
8396
8740
  hash: string;
8397
8741
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
8398
8742
  } | undefined;
8743
+ url?: string | undefined;
8399
8744
  reason?: string | undefined;
8400
8745
  }[] | undefined;
8401
8746
  contextAssets?: {
@@ -8436,9 +8781,9 @@ export declare const variantWorkItemContextSchema: z.ZodObject<{
8436
8781
  userIntent?: string | undefined;
8437
8782
  references?: {
8438
8783
  id: string;
8439
- url: string;
8440
8784
  title: string;
8441
8785
  image?: unknown;
8786
+ url?: string | undefined;
8442
8787
  reason?: string | undefined;
8443
8788
  }[] | undefined;
8444
8789
  originalFilename?: string | undefined;
@@ -8456,9 +8801,9 @@ export declare const variantWorkItemContextSchema: z.ZodObject<{
8456
8801
  userIntent?: string | undefined;
8457
8802
  references?: {
8458
8803
  id: string;
8459
- url: string;
8460
8804
  title: string;
8461
8805
  image?: unknown;
8806
+ url?: string | undefined;
8462
8807
  reason?: string | undefined;
8463
8808
  }[] | undefined;
8464
8809
  })[];
@@ -8500,9 +8845,9 @@ export declare const variantWorkItemContextSchema: z.ZodObject<{
8500
8845
  })[];
8501
8846
  references?: {
8502
8847
  id: string;
8503
- url: string;
8504
8848
  title: string;
8505
8849
  image?: unknown;
8850
+ url?: string | undefined;
8506
8851
  reason?: string | undefined;
8507
8852
  }[] | undefined;
8508
8853
  contextAssets?: {
@@ -8598,10 +8943,10 @@ export declare const proposeVariantsInput: {
8598
8943
  }>, z.ZodObject<{
8599
8944
  id: z.ZodString;
8600
8945
  transport: z.ZodLiteral<"file">;
8601
- references: z.ZodOptional<z.ZodArray<z.ZodObject<{
8946
+ references: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodObject<{
8602
8947
  id: z.ZodString;
8603
8948
  title: z.ZodString;
8604
- url: z.ZodEffects<z.ZodString, string, string>;
8949
+ url: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
8605
8950
  reason: z.ZodOptional<z.ZodString>;
8606
8951
  image: z.ZodCatch<z.ZodOptional<z.ZodObject<{
8607
8952
  hash: z.ZodString;
@@ -8615,18 +8960,33 @@ export declare const proposeVariantsInput: {
8615
8960
  }>>>;
8616
8961
  }, "strip", z.ZodTypeAny, {
8617
8962
  id: string;
8618
- url: string;
8619
8963
  title: string;
8620
8964
  image?: {
8621
8965
  hash: string;
8622
8966
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
8623
8967
  } | undefined;
8968
+ url?: string | undefined;
8624
8969
  reason?: string | undefined;
8625
8970
  }, {
8626
8971
  id: string;
8627
- url: string;
8628
8972
  title: string;
8629
8973
  image?: unknown;
8974
+ url?: string | undefined;
8975
+ reason?: string | undefined;
8976
+ }>, {
8977
+ id: string;
8978
+ title: string;
8979
+ image?: {
8980
+ hash: string;
8981
+ mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
8982
+ } | undefined;
8983
+ url?: string | undefined;
8984
+ reason?: string | undefined;
8985
+ }, {
8986
+ id: string;
8987
+ title: string;
8988
+ image?: unknown;
8989
+ url?: string | undefined;
8630
8990
  reason?: string | undefined;
8631
8991
  }>, "many">>;
8632
8992
  path: z.ZodString;
@@ -8643,12 +9003,12 @@ export declare const proposeVariantsInput: {
8643
9003
  userIntent?: string | undefined;
8644
9004
  references?: {
8645
9005
  id: string;
8646
- url: string;
8647
9006
  title: string;
8648
9007
  image?: {
8649
9008
  hash: string;
8650
9009
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
8651
9010
  } | undefined;
9011
+ url?: string | undefined;
8652
9012
  reason?: string | undefined;
8653
9013
  }[] | undefined;
8654
9014
  originalFilename?: string | undefined;
@@ -8661,9 +9021,9 @@ export declare const proposeVariantsInput: {
8661
9021
  userIntent?: string | undefined;
8662
9022
  references?: {
8663
9023
  id: string;
8664
- url: string;
8665
9024
  title: string;
8666
9025
  image?: unknown;
9026
+ url?: string | undefined;
8667
9027
  reason?: string | undefined;
8668
9028
  }[] | undefined;
8669
9029
  originalFilename?: string | undefined;
@@ -8688,10 +9048,10 @@ export declare const proposeVariantsInput: {
8688
9048
  }>, z.ZodObject<{
8689
9049
  id: z.ZodString;
8690
9050
  transport: z.ZodLiteral<"text">;
8691
- references: z.ZodOptional<z.ZodArray<z.ZodObject<{
9051
+ references: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodObject<{
8692
9052
  id: z.ZodString;
8693
9053
  title: z.ZodString;
8694
- url: z.ZodEffects<z.ZodString, string, string>;
9054
+ url: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
8695
9055
  reason: z.ZodOptional<z.ZodString>;
8696
9056
  image: z.ZodCatch<z.ZodOptional<z.ZodObject<{
8697
9057
  hash: z.ZodString;
@@ -8705,18 +9065,33 @@ export declare const proposeVariantsInput: {
8705
9065
  }>>>;
8706
9066
  }, "strip", z.ZodTypeAny, {
8707
9067
  id: string;
8708
- url: string;
8709
9068
  title: string;
8710
9069
  image?: {
8711
9070
  hash: string;
8712
9071
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
8713
9072
  } | undefined;
9073
+ url?: string | undefined;
8714
9074
  reason?: string | undefined;
8715
9075
  }, {
8716
9076
  id: string;
8717
- url: string;
8718
9077
  title: string;
8719
9078
  image?: unknown;
9079
+ url?: string | undefined;
9080
+ reason?: string | undefined;
9081
+ }>, {
9082
+ id: string;
9083
+ title: string;
9084
+ image?: {
9085
+ hash: string;
9086
+ mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
9087
+ } | undefined;
9088
+ url?: string | undefined;
9089
+ reason?: string | undefined;
9090
+ }, {
9091
+ id: string;
9092
+ title: string;
9093
+ image?: unknown;
9094
+ url?: string | undefined;
8720
9095
  reason?: string | undefined;
8721
9096
  }>, "many">>;
8722
9097
  path: z.ZodString;
@@ -8730,12 +9105,12 @@ export declare const proposeVariantsInput: {
8730
9105
  userIntent?: string | undefined;
8731
9106
  references?: {
8732
9107
  id: string;
8733
- url: string;
8734
9108
  title: string;
8735
9109
  image?: {
8736
9110
  hash: string;
8737
9111
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
8738
9112
  } | undefined;
9113
+ url?: string | undefined;
8739
9114
  reason?: string | undefined;
8740
9115
  }[] | undefined;
8741
9116
  }, {
@@ -8746,9 +9121,9 @@ export declare const proposeVariantsInput: {
8746
9121
  userIntent?: string | undefined;
8747
9122
  references?: {
8748
9123
  id: string;
8749
- url: string;
8750
9124
  title: string;
8751
9125
  image?: unknown;
9126
+ url?: string | undefined;
8752
9127
  reason?: string | undefined;
8753
9128
  }[] | undefined;
8754
9129
  }>]>, "many">;
@@ -9045,12 +9420,12 @@ export declare const proposeVariantsInput: {
9045
9420
  userIntent?: string | undefined;
9046
9421
  references?: {
9047
9422
  id: string;
9048
- url: string;
9049
9423
  title: string;
9050
9424
  image?: {
9051
9425
  hash: string;
9052
9426
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
9053
9427
  } | undefined;
9428
+ url?: string | undefined;
9054
9429
  reason?: string | undefined;
9055
9430
  }[] | undefined;
9056
9431
  originalFilename?: string | undefined;
@@ -9068,12 +9443,12 @@ export declare const proposeVariantsInput: {
9068
9443
  userIntent?: string | undefined;
9069
9444
  references?: {
9070
9445
  id: string;
9071
- url: string;
9072
9446
  title: string;
9073
9447
  image?: {
9074
9448
  hash: string;
9075
9449
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
9076
9450
  } | undefined;
9451
+ url?: string | undefined;
9077
9452
  reason?: string | undefined;
9078
9453
  }[] | undefined;
9079
9454
  })[];
@@ -9176,9 +9551,9 @@ export declare const proposeVariantsInput: {
9176
9551
  userIntent?: string | undefined;
9177
9552
  references?: {
9178
9553
  id: string;
9179
- url: string;
9180
9554
  title: string;
9181
9555
  image?: unknown;
9556
+ url?: string | undefined;
9182
9557
  reason?: string | undefined;
9183
9558
  }[] | undefined;
9184
9559
  originalFilename?: string | undefined;
@@ -9196,9 +9571,9 @@ export declare const proposeVariantsInput: {
9196
9571
  userIntent?: string | undefined;
9197
9572
  references?: {
9198
9573
  id: string;
9199
- url: string;
9200
9574
  title: string;
9201
9575
  image?: unknown;
9576
+ url?: string | undefined;
9202
9577
  reason?: string | undefined;
9203
9578
  }[] | undefined;
9204
9579
  })[];
@@ -9366,10 +9741,10 @@ export declare const proposeVariantsInput: {
9366
9741
  }>, z.ZodObject<{
9367
9742
  id: z.ZodString;
9368
9743
  transport: z.ZodLiteral<"file">;
9369
- references: z.ZodOptional<z.ZodArray<z.ZodObject<{
9744
+ references: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodObject<{
9370
9745
  id: z.ZodString;
9371
9746
  title: z.ZodString;
9372
- url: z.ZodEffects<z.ZodString, string, string>;
9747
+ url: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
9373
9748
  reason: z.ZodOptional<z.ZodString>;
9374
9749
  image: z.ZodCatch<z.ZodOptional<z.ZodObject<{
9375
9750
  hash: z.ZodString;
@@ -9383,18 +9758,33 @@ export declare const proposeVariantsInput: {
9383
9758
  }>>>;
9384
9759
  }, "strip", z.ZodTypeAny, {
9385
9760
  id: string;
9386
- url: string;
9387
9761
  title: string;
9388
9762
  image?: {
9389
9763
  hash: string;
9390
9764
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
9391
9765
  } | undefined;
9766
+ url?: string | undefined;
9392
9767
  reason?: string | undefined;
9393
9768
  }, {
9394
9769
  id: string;
9395
- url: string;
9396
9770
  title: string;
9397
9771
  image?: unknown;
9772
+ url?: string | undefined;
9773
+ reason?: string | undefined;
9774
+ }>, {
9775
+ id: string;
9776
+ title: string;
9777
+ image?: {
9778
+ hash: string;
9779
+ mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
9780
+ } | undefined;
9781
+ url?: string | undefined;
9782
+ reason?: string | undefined;
9783
+ }, {
9784
+ id: string;
9785
+ title: string;
9786
+ image?: unknown;
9787
+ url?: string | undefined;
9398
9788
  reason?: string | undefined;
9399
9789
  }>, "many">>;
9400
9790
  path: z.ZodString;
@@ -9411,12 +9801,12 @@ export declare const proposeVariantsInput: {
9411
9801
  userIntent?: string | undefined;
9412
9802
  references?: {
9413
9803
  id: string;
9414
- url: string;
9415
9804
  title: string;
9416
9805
  image?: {
9417
9806
  hash: string;
9418
9807
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
9419
9808
  } | undefined;
9809
+ url?: string | undefined;
9420
9810
  reason?: string | undefined;
9421
9811
  }[] | undefined;
9422
9812
  originalFilename?: string | undefined;
@@ -9429,9 +9819,9 @@ export declare const proposeVariantsInput: {
9429
9819
  userIntent?: string | undefined;
9430
9820
  references?: {
9431
9821
  id: string;
9432
- url: string;
9433
9822
  title: string;
9434
9823
  image?: unknown;
9824
+ url?: string | undefined;
9435
9825
  reason?: string | undefined;
9436
9826
  }[] | undefined;
9437
9827
  originalFilename?: string | undefined;
@@ -9456,10 +9846,10 @@ export declare const proposeVariantsInput: {
9456
9846
  }>, z.ZodObject<{
9457
9847
  id: z.ZodString;
9458
9848
  transport: z.ZodLiteral<"text">;
9459
- references: z.ZodOptional<z.ZodArray<z.ZodObject<{
9849
+ references: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodObject<{
9460
9850
  id: z.ZodString;
9461
9851
  title: z.ZodString;
9462
- url: z.ZodEffects<z.ZodString, string, string>;
9852
+ url: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
9463
9853
  reason: z.ZodOptional<z.ZodString>;
9464
9854
  image: z.ZodCatch<z.ZodOptional<z.ZodObject<{
9465
9855
  hash: z.ZodString;
@@ -9473,18 +9863,33 @@ export declare const proposeVariantsInput: {
9473
9863
  }>>>;
9474
9864
  }, "strip", z.ZodTypeAny, {
9475
9865
  id: string;
9476
- url: string;
9477
9866
  title: string;
9478
9867
  image?: {
9479
9868
  hash: string;
9480
9869
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
9481
9870
  } | undefined;
9871
+ url?: string | undefined;
9482
9872
  reason?: string | undefined;
9483
9873
  }, {
9484
9874
  id: string;
9485
- url: string;
9486
9875
  title: string;
9487
9876
  image?: unknown;
9877
+ url?: string | undefined;
9878
+ reason?: string | undefined;
9879
+ }>, {
9880
+ id: string;
9881
+ title: string;
9882
+ image?: {
9883
+ hash: string;
9884
+ mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
9885
+ } | undefined;
9886
+ url?: string | undefined;
9887
+ reason?: string | undefined;
9888
+ }, {
9889
+ id: string;
9890
+ title: string;
9891
+ image?: unknown;
9892
+ url?: string | undefined;
9488
9893
  reason?: string | undefined;
9489
9894
  }>, "many">>;
9490
9895
  path: z.ZodString;
@@ -9498,12 +9903,12 @@ export declare const proposeVariantsInput: {
9498
9903
  userIntent?: string | undefined;
9499
9904
  references?: {
9500
9905
  id: string;
9501
- url: string;
9502
9906
  title: string;
9503
9907
  image?: {
9504
9908
  hash: string;
9505
9909
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
9506
9910
  } | undefined;
9911
+ url?: string | undefined;
9507
9912
  reason?: string | undefined;
9508
9913
  }[] | undefined;
9509
9914
  }, {
@@ -9514,9 +9919,9 @@ export declare const proposeVariantsInput: {
9514
9919
  userIntent?: string | undefined;
9515
9920
  references?: {
9516
9921
  id: string;
9517
- url: string;
9518
9922
  title: string;
9519
9923
  image?: unknown;
9924
+ url?: string | undefined;
9520
9925
  reason?: string | undefined;
9521
9926
  }[] | undefined;
9522
9927
  }>]>, "many">;
@@ -9813,12 +10218,12 @@ export declare const proposeVariantsInput: {
9813
10218
  userIntent?: string | undefined;
9814
10219
  references?: {
9815
10220
  id: string;
9816
- url: string;
9817
10221
  title: string;
9818
10222
  image?: {
9819
10223
  hash: string;
9820
10224
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
9821
10225
  } | undefined;
10226
+ url?: string | undefined;
9822
10227
  reason?: string | undefined;
9823
10228
  }[] | undefined;
9824
10229
  originalFilename?: string | undefined;
@@ -9836,12 +10241,12 @@ export declare const proposeVariantsInput: {
9836
10241
  userIntent?: string | undefined;
9837
10242
  references?: {
9838
10243
  id: string;
9839
- url: string;
9840
10244
  title: string;
9841
10245
  image?: {
9842
10246
  hash: string;
9843
10247
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
9844
10248
  } | undefined;
10249
+ url?: string | undefined;
9845
10250
  reason?: string | undefined;
9846
10251
  }[] | undefined;
9847
10252
  })[];
@@ -9944,9 +10349,9 @@ export declare const proposeVariantsInput: {
9944
10349
  userIntent?: string | undefined;
9945
10350
  references?: {
9946
10351
  id: string;
9947
- url: string;
9948
10352
  title: string;
9949
10353
  image?: unknown;
10354
+ url?: string | undefined;
9950
10355
  reason?: string | undefined;
9951
10356
  }[] | undefined;
9952
10357
  originalFilename?: string | undefined;
@@ -9964,9 +10369,9 @@ export declare const proposeVariantsInput: {
9964
10369
  userIntent?: string | undefined;
9965
10370
  references?: {
9966
10371
  id: string;
9967
- url: string;
9968
10372
  title: string;
9969
10373
  image?: unknown;
10374
+ url?: string | undefined;
9970
10375
  reason?: string | undefined;
9971
10376
  }[] | undefined;
9972
10377
  })[];
@@ -11709,10 +12114,10 @@ export declare const startVariantsInput: {
11709
12114
  userIntent?: string | undefined;
11710
12115
  }>, z.ZodObject<{
11711
12116
  transport: z.ZodLiteral<"upload">;
11712
- references: z.ZodOptional<z.ZodArray<z.ZodObject<{
12117
+ references: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodObject<{
11713
12118
  id: z.ZodString;
11714
12119
  title: z.ZodString;
11715
- url: z.ZodEffects<z.ZodString, string, string>;
12120
+ url: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
11716
12121
  reason: z.ZodOptional<z.ZodString>;
11717
12122
  image: z.ZodCatch<z.ZodOptional<z.ZodObject<{
11718
12123
  hash: z.ZodString;
@@ -11726,18 +12131,33 @@ export declare const startVariantsInput: {
11726
12131
  }>>>;
11727
12132
  }, "strip", z.ZodTypeAny, {
11728
12133
  id: string;
11729
- url: string;
11730
12134
  title: string;
11731
12135
  image?: {
11732
12136
  hash: string;
11733
12137
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
11734
12138
  } | undefined;
12139
+ url?: string | undefined;
12140
+ reason?: string | undefined;
12141
+ }, {
12142
+ id: string;
12143
+ title: string;
12144
+ image?: unknown;
12145
+ url?: string | undefined;
12146
+ reason?: string | undefined;
12147
+ }>, {
12148
+ id: string;
12149
+ title: string;
12150
+ image?: {
12151
+ hash: string;
12152
+ mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
12153
+ } | undefined;
12154
+ url?: string | undefined;
11735
12155
  reason?: string | undefined;
11736
12156
  }, {
11737
12157
  id: string;
11738
- url: string;
11739
12158
  title: string;
11740
12159
  image?: unknown;
12160
+ url?: string | undefined;
11741
12161
  reason?: string | undefined;
11742
12162
  }>, "many">>;
11743
12163
  dataUrl: z.ZodString;
@@ -11751,12 +12171,12 @@ export declare const startVariantsInput: {
11751
12171
  userIntent?: string | undefined;
11752
12172
  references?: {
11753
12173
  id: string;
11754
- url: string;
11755
12174
  title: string;
11756
12175
  image?: {
11757
12176
  hash: string;
11758
12177
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
11759
12178
  } | undefined;
12179
+ url?: string | undefined;
11760
12180
  reason?: string | undefined;
11761
12181
  }[] | undefined;
11762
12182
  filename?: string | undefined;
@@ -11767,9 +12187,9 @@ export declare const startVariantsInput: {
11767
12187
  userIntent?: string | undefined;
11768
12188
  references?: {
11769
12189
  id: string;
11770
- url: string;
11771
12190
  title: string;
11772
12191
  image?: unknown;
12192
+ url?: string | undefined;
11773
12193
  reason?: string | undefined;
11774
12194
  }[] | undefined;
11775
12195
  filename?: string | undefined;
@@ -11790,10 +12210,10 @@ export declare const startVariantsInput: {
11790
12210
  userIntent?: string | undefined;
11791
12211
  }>, z.ZodObject<{
11792
12212
  transport: z.ZodLiteral<"text">;
11793
- references: z.ZodOptional<z.ZodArray<z.ZodObject<{
12213
+ references: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodObject<{
11794
12214
  id: z.ZodString;
11795
12215
  title: z.ZodString;
11796
- url: z.ZodEffects<z.ZodString, string, string>;
12216
+ url: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
11797
12217
  reason: z.ZodOptional<z.ZodString>;
11798
12218
  image: z.ZodCatch<z.ZodOptional<z.ZodObject<{
11799
12219
  hash: z.ZodString;
@@ -11807,18 +12227,33 @@ export declare const startVariantsInput: {
11807
12227
  }>>>;
11808
12228
  }, "strip", z.ZodTypeAny, {
11809
12229
  id: string;
11810
- url: string;
11811
12230
  title: string;
11812
12231
  image?: {
11813
12232
  hash: string;
11814
12233
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
11815
12234
  } | undefined;
12235
+ url?: string | undefined;
11816
12236
  reason?: string | undefined;
11817
12237
  }, {
11818
12238
  id: string;
11819
- url: string;
11820
12239
  title: string;
11821
12240
  image?: unknown;
12241
+ url?: string | undefined;
12242
+ reason?: string | undefined;
12243
+ }>, {
12244
+ id: string;
12245
+ title: string;
12246
+ image?: {
12247
+ hash: string;
12248
+ mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
12249
+ } | undefined;
12250
+ url?: string | undefined;
12251
+ reason?: string | undefined;
12252
+ }, {
12253
+ id: string;
12254
+ title: string;
12255
+ image?: unknown;
12256
+ url?: string | undefined;
11822
12257
  reason?: string | undefined;
11823
12258
  }>, "many">>;
11824
12259
  content: z.ZodString;
@@ -11831,12 +12266,12 @@ export declare const startVariantsInput: {
11831
12266
  userIntent?: string | undefined;
11832
12267
  references?: {
11833
12268
  id: string;
11834
- url: string;
11835
12269
  title: string;
11836
12270
  image?: {
11837
12271
  hash: string;
11838
12272
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
11839
12273
  } | undefined;
12274
+ url?: string | undefined;
11840
12275
  reason?: string | undefined;
11841
12276
  }[] | undefined;
11842
12277
  }, {
@@ -11846,9 +12281,9 @@ export declare const startVariantsInput: {
11846
12281
  userIntent?: string | undefined;
11847
12282
  references?: {
11848
12283
  id: string;
11849
- url: string;
11850
12284
  title: string;
11851
12285
  image?: unknown;
12286
+ url?: string | undefined;
11852
12287
  reason?: string | undefined;
11853
12288
  }[] | undefined;
11854
12289
  }>]>, "many">>;