rivet-design 0.21.0 → 0.21.2

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 (187) hide show
  1. package/dist/agent-variants/WorkerExecutorService.d.ts.map +1 -1
  2. package/dist/agent-variants/WorkerExecutorService.js +7 -1
  3. package/dist/agent-variants/WorkerExecutorService.js.map +1 -1
  4. package/dist/agent-variants/WorktreeOrchestrator.d.ts +0 -1
  5. package/dist/agent-variants/WorktreeOrchestrator.d.ts.map +1 -1
  6. package/dist/agent-variants/WorktreeOrchestrator.js +2 -19
  7. package/dist/agent-variants/WorktreeOrchestrator.js.map +1 -1
  8. package/dist/agent-variants/contracts.d.ts +388 -388
  9. package/dist/agent-variants/directionAuthoring.d.ts +1 -1
  10. package/dist/agent-variants/directionAuthoring.d.ts.map +1 -1
  11. package/dist/agent-variants/directionAuthoring.js +9 -1
  12. package/dist/agent-variants/directionAuthoring.js.map +1 -1
  13. package/dist/agent-variants/guidancePrompt.d.ts.map +1 -1
  14. package/dist/agent-variants/guidancePrompt.js +24 -13
  15. package/dist/agent-variants/guidancePrompt.js.map +1 -1
  16. package/dist/agent-variants/variantContext.d.ts +1 -0
  17. package/dist/agent-variants/variantContext.d.ts.map +1 -1
  18. package/dist/agent-variants/variantContext.js +5 -4
  19. package/dist/agent-variants/variantContext.js.map +1 -1
  20. package/dist/agent-variants/workItemContextFiles.d.ts +17 -0
  21. package/dist/agent-variants/workItemContextFiles.d.ts.map +1 -0
  22. package/dist/agent-variants/workItemContextFiles.js +41 -0
  23. package/dist/agent-variants/workItemContextFiles.js.map +1 -0
  24. package/dist/cli/commands/contextRequest.d.ts.map +1 -1
  25. package/dist/cli/commands/contextRequest.js +4 -3
  26. package/dist/cli/commands/contextRequest.js.map +1 -1
  27. package/dist/cli/commands/guidanceUpload.d.ts +3 -0
  28. package/dist/cli/commands/guidanceUpload.d.ts.map +1 -0
  29. package/dist/cli/commands/guidanceUpload.js +39 -0
  30. package/dist/cli/commands/guidanceUpload.js.map +1 -0
  31. package/dist/cli/commands/mcpServe.js +1 -1
  32. package/dist/cli/commands/mcpServe.js.map +1 -1
  33. package/dist/index.d.ts +1 -0
  34. package/dist/index.d.ts.map +1 -1
  35. package/dist/index.js +25 -9
  36. package/dist/index.js.map +1 -1
  37. package/dist/library/BrowserSessions.d.ts +24 -8
  38. package/dist/library/BrowserSessions.d.ts.map +1 -1
  39. package/dist/library/BrowserSessions.js +67 -45
  40. package/dist/library/BrowserSessions.js.map +1 -1
  41. package/dist/library/HubServer.js +1 -1
  42. package/dist/library/HubServer.js.map +1 -1
  43. package/dist/routes/account.d.ts.map +1 -1
  44. package/dist/routes/account.js +7 -2
  45. package/dist/routes/account.js.map +1 -1
  46. package/dist/routes/installRef.d.ts +3 -0
  47. package/dist/routes/installRef.d.ts.map +1 -0
  48. package/dist/routes/installRef.js +18 -0
  49. package/dist/routes/installRef.js.map +1 -0
  50. package/dist/routes/library/app.d.ts.map +1 -1
  51. package/dist/routes/library/app.js +3 -8
  52. package/dist/routes/library/app.js.map +1 -1
  53. package/dist/routes/library/browserAccess.d.ts +0 -1
  54. package/dist/routes/library/browserAccess.d.ts.map +1 -1
  55. package/dist/routes/library/browserAccess.js +27 -20
  56. package/dist/routes/library/browserAccess.js.map +1 -1
  57. package/dist/routes/library/guidance.d.ts.map +1 -1
  58. package/dist/routes/library/guidance.js +3 -2
  59. package/dist/routes/library/guidance.js.map +1 -1
  60. package/dist/routes/library/index.d.ts.map +1 -1
  61. package/dist/routes/library/index.js +2 -4
  62. package/dist/routes/library/index.js.map +1 -1
  63. package/dist/routes/library/middleware.d.ts +1 -1
  64. package/dist/routes/library/middleware.d.ts.map +1 -1
  65. package/dist/routes/library/middleware.js +15 -3
  66. package/dist/routes/library/middleware.js.map +1 -1
  67. package/dist/routes/library/schemas.d.ts +2 -2
  68. package/dist/routes/variantRequestSchema.d.ts +7 -7
  69. package/dist/server.d.ts.map +1 -1
  70. package/dist/server.js +2 -0
  71. package/dist/server.js.map +1 -1
  72. package/dist/services/AuthService.d.ts.map +1 -1
  73. package/dist/services/AuthService.js +41 -15
  74. package/dist/services/AuthService.js.map +1 -1
  75. package/dist/services/BrowserAgentClient.d.ts.map +1 -1
  76. package/dist/services/BrowserAgentClient.js +13 -3
  77. package/dist/services/BrowserAgentClient.js.map +1 -1
  78. package/dist/services/ConfigManager.d.ts +23 -3
  79. package/dist/services/ConfigManager.d.ts.map +1 -1
  80. package/dist/services/ConfigManager.js +117 -24
  81. package/dist/services/ConfigManager.js.map +1 -1
  82. package/dist/services/GatewayClient.d.ts.map +1 -1
  83. package/dist/services/GatewayClient.js +3 -2
  84. package/dist/services/GatewayClient.js.map +1 -1
  85. package/dist/services/IntegrationsClient.d.ts +4 -4
  86. package/dist/services/IntegrationsClient.d.ts.map +1 -1
  87. package/dist/services/IntegrationsClient.js +5 -11
  88. package/dist/services/IntegrationsClient.js.map +1 -1
  89. package/dist/services/ProjectRegistry.d.ts +2 -2
  90. package/dist/services/PrototypeDeployService.d.ts.map +1 -1
  91. package/dist/services/PrototypeDeployService.js +3 -2
  92. package/dist/services/PrototypeDeployService.js.map +1 -1
  93. package/dist/services/VariantRunService.d.ts +1 -1
  94. package/dist/services/VariantRunService.d.ts.map +1 -1
  95. package/dist/services/VariantRunService.js +17 -2
  96. package/dist/services/VariantRunService.js.map +1 -1
  97. package/dist/services/authUpdate.d.ts +8 -0
  98. package/dist/services/authUpdate.d.ts.map +1 -0
  99. package/dist/services/authUpdate.js +21 -0
  100. package/dist/services/authUpdate.js.map +1 -0
  101. package/dist/services/guidanceDelivery.d.ts +15 -0
  102. package/dist/services/guidanceDelivery.d.ts.map +1 -0
  103. package/dist/services/guidanceDelivery.js +112 -0
  104. package/dist/services/guidanceDelivery.js.map +1 -0
  105. package/dist/services/guidanceImages.d.ts +18 -0
  106. package/dist/services/guidanceImages.d.ts.map +1 -0
  107. package/dist/services/guidanceImages.js +74 -0
  108. package/dist/services/guidanceImages.js.map +1 -0
  109. package/dist/services/pendingLogin.d.ts +2 -0
  110. package/dist/services/pendingLogin.d.ts.map +1 -1
  111. package/dist/services/pendingLogin.js +4 -2
  112. package/dist/services/pendingLogin.js.map +1 -1
  113. package/dist/services/profiles/DesignProfiles.d.ts +67 -11
  114. package/dist/services/profiles/DesignProfiles.d.ts.map +1 -1
  115. package/dist/services/profiles/DesignProfiles.js +62 -5
  116. package/dist/services/profiles/DesignProfiles.js.map +1 -1
  117. package/dist/services/profiles/ProfileMedia.d.ts +1 -0
  118. package/dist/services/profiles/ProfileMedia.d.ts.map +1 -1
  119. package/dist/services/profiles/ProfileMedia.js +13 -11
  120. package/dist/services/profiles/ProfileMedia.js.map +1 -1
  121. package/dist/services/profiles/ProfilePlanning.d.ts +5 -5
  122. package/dist/services/profiles/ProfilePreparation.d.ts.map +1 -1
  123. package/dist/services/profiles/ProfilePreparation.js +12 -8
  124. package/dist/services/profiles/ProfilePreparation.js.map +1 -1
  125. package/dist/services/profiles/ReferenceReader.d.ts +4 -4
  126. package/dist/services/profiles/profileContext.d.ts +1 -1
  127. package/dist/services/profiles/profileContext.d.ts.map +1 -1
  128. package/dist/services/profiles/profileContext.js +36 -4
  129. package/dist/services/profiles/profileContext.js.map +1 -1
  130. package/dist/storage/library/BrowserAuthorizationRecords.d.ts +54 -0
  131. package/dist/storage/library/BrowserAuthorizationRecords.d.ts.map +1 -0
  132. package/dist/storage/library/BrowserAuthorizationRecords.js +175 -0
  133. package/dist/storage/library/BrowserAuthorizationRecords.js.map +1 -0
  134. package/dist/storage/library/ProjectPreviewCache.d.ts +2 -2
  135. package/dist/storage/library/database.d.ts +2 -1
  136. package/dist/storage/library/database.d.ts.map +1 -1
  137. package/dist/storage/library/database.js +5 -36
  138. package/dist/storage/library/database.js.map +1 -1
  139. package/dist/storage/library/migrations.d.ts +1 -0
  140. package/dist/storage/library/migrations.d.ts.map +1 -1
  141. package/dist/storage/library/migrations.js +14 -1
  142. package/dist/storage/library/migrations.js.map +1 -1
  143. package/dist/storage/library/schema/browserAuthorization.d.ts +191 -0
  144. package/dist/storage/library/schema/browserAuthorization.d.ts.map +1 -0
  145. package/dist/storage/library/schema/browserAuthorization.js +20 -0
  146. package/dist/storage/library/schema/browserAuthorization.js.map +1 -0
  147. package/dist/storage/profiles/ProfilePlans.d.ts +19 -19
  148. package/dist/storage/profiles/ProfileRecords.d.ts +4 -4
  149. package/dist/storage/profiles/ProfileRecords.d.ts.map +1 -1
  150. package/dist/storage/profiles/ProfileRecords.js +12 -3
  151. package/dist/storage/profiles/ProfileRecords.js.map +1 -1
  152. package/dist/storage/profiles/migrations.d.ts +2 -2
  153. package/dist/storage/profiles/migrations.d.ts.map +1 -1
  154. package/dist/storage/profiles/migrations.js +3 -0
  155. package/dist/storage/profiles/migrations.js.map +1 -1
  156. package/dist/storage/profiles/planSchema.d.ts +5 -5
  157. package/dist/storage/profiles/schema.d.ts +29 -3
  158. package/dist/storage/profiles/schema.d.ts.map +1 -1
  159. package/dist/storage/profiles/schema.js +1 -0
  160. package/dist/storage/profiles/schema.js.map +1 -1
  161. package/dist/types/cosmos-profile.d.ts +6 -6
  162. package/dist/types/cosmos.d.ts +20 -20
  163. package/dist/types/design-library.d.ts +3 -3
  164. package/dist/types/design-profile.d.ts +40 -40
  165. package/dist/types/design-profile.d.ts.map +1 -1
  166. package/dist/types/design-profile.js +2 -1
  167. package/dist/types/design-profile.js.map +1 -1
  168. package/dist/types/guidance.d.ts +391 -5
  169. package/dist/types/guidance.d.ts.map +1 -1
  170. package/dist/types/guidance.js +27 -1
  171. package/dist/types/guidance.js.map +1 -1
  172. package/dist/types/reference-connectors.d.ts +10 -10
  173. package/dist/types/reference-onboarding.d.ts +65 -65
  174. package/dist/types/reference-pages.d.ts +12 -12
  175. package/dist/types/variant-reference.d.ts +4 -4
  176. package/dist/utils/installRef.d.ts +8 -0
  177. package/dist/utils/installRef.d.ts.map +1 -0
  178. package/dist/utils/installRef.js +34 -0
  179. package/dist/utils/installRef.js.map +1 -0
  180. package/dist/utils/skills/cli-guidance.d.ts +1 -1
  181. package/dist/utils/skills/cli-guidance.js +3 -3
  182. package/package.json +4 -2
  183. package/src/ui/dist/assets/LibraryEntry-B5kPF3Ey.js +36 -0
  184. package/src/ui/dist/assets/main-Er_TRZTd.js +435 -0
  185. package/src/ui/dist/index.html +1 -1
  186. package/src/ui/dist/assets/LibraryEntry-BmQyIG74.js +0 -36
  187. package/src/ui/dist/assets/main-C-Pki9j3.js +0 -435
@@ -42,17 +42,17 @@ export declare const ReferenceDiscoveryInputSchema: z.ZodObject<{
42
42
  children: z.ZodArray<z.ZodString, "many">;
43
43
  }, "strip", z.ZodTypeAny, {
44
44
  id: string;
45
+ description: string | null;
45
46
  url: string | null;
46
47
  title: string;
47
- description: string | null;
48
48
  children: string[];
49
49
  total: number | null;
50
50
  parentId: string | null;
51
51
  }, {
52
52
  id: string;
53
+ description: string | null;
53
54
  url: string | null;
54
55
  title: string;
55
- description: string | null;
56
56
  children: string[];
57
57
  total: number | null;
58
58
  parentId: string | null;
@@ -62,9 +62,9 @@ export declare const ReferenceDiscoveryInputSchema: z.ZodObject<{
62
62
  total: number;
63
63
  collections: {
64
64
  id: string;
65
+ description: string | null;
65
66
  url: string | null;
66
67
  title: string;
67
- description: string | null;
68
68
  children: string[];
69
69
  total: number | null;
70
70
  parentId: string | null;
@@ -79,9 +79,9 @@ export declare const ReferenceDiscoveryInputSchema: z.ZodObject<{
79
79
  total: number;
80
80
  collections: {
81
81
  id: string;
82
+ description: string | null;
82
83
  url: string | null;
83
84
  title: string;
84
- description: string | null;
85
85
  children: string[];
86
86
  total: number | null;
87
87
  parentId: string | null;
@@ -130,17 +130,17 @@ export declare const ReferenceDiscoverySchema: z.ZodObject<{
130
130
  children: z.ZodArray<z.ZodString, "many">;
131
131
  }, "strip", z.ZodTypeAny, {
132
132
  id: string;
133
+ description: string | null;
133
134
  url: string | null;
134
135
  title: string;
135
- description: string | null;
136
136
  children: string[];
137
137
  total: number | null;
138
138
  parentId: string | null;
139
139
  }, {
140
140
  id: string;
141
+ description: string | null;
141
142
  url: string | null;
142
143
  title: string;
143
- description: string | null;
144
144
  children: string[];
145
145
  total: number | null;
146
146
  parentId: string | null;
@@ -154,9 +154,9 @@ export declare const ReferenceDiscoverySchema: z.ZodObject<{
154
154
  total: number;
155
155
  collections: {
156
156
  id: string;
157
+ description: string | null;
157
158
  url: string | null;
158
159
  title: string;
159
- description: string | null;
160
160
  children: string[];
161
161
  total: number | null;
162
162
  parentId: string | null;
@@ -173,9 +173,9 @@ export declare const ReferenceDiscoverySchema: z.ZodObject<{
173
173
  total: number;
174
174
  collections: {
175
175
  id: string;
176
+ description: string | null;
176
177
  url: string | null;
177
178
  title: string;
178
- description: string | null;
179
179
  children: string[];
180
180
  total: number | null;
181
181
  parentId: string | null;
@@ -199,17 +199,17 @@ export declare const ReferencePlanSourceSchema: z.ZodObject<{
199
199
  children: z.ZodArray<z.ZodString, "many">;
200
200
  }, "strip", z.ZodTypeAny, {
201
201
  id: string;
202
+ description: string | null;
202
203
  url: string | null;
203
204
  title: string;
204
- description: string | null;
205
205
  children: string[];
206
206
  total: number | null;
207
207
  parentId: string | null;
208
208
  }, {
209
209
  id: string;
210
+ description: string | null;
210
211
  url: string | null;
211
212
  title: string;
212
- description: string | null;
213
213
  children: string[];
214
214
  total: number | null;
215
215
  parentId: string | null;
@@ -249,13 +249,13 @@ export declare const ReferencePlanSourceSchema: z.ZodObject<{
249
249
  } & {
250
250
  treeSha: z.ZodOptional<z.ZodString>;
251
251
  }, "strict", z.ZodTypeAny, {
252
- sessionId: string;
253
252
  projectId: string;
253
+ sessionId: string;
254
254
  variantId: string;
255
255
  treeSha?: string | undefined;
256
256
  }, {
257
- sessionId: string;
258
257
  projectId: string;
258
+ sessionId: string;
259
259
  variantId: string;
260
260
  treeSha?: string | undefined;
261
261
  }>>;
@@ -263,9 +263,9 @@ export declare const ReferencePlanSourceSchema: z.ZodObject<{
263
263
  } & {
264
264
  provider: z.ZodEnum<["cosmos", "pinterest", "arena", "x"]>;
265
265
  }, "strip", z.ZodTypeAny, {
266
+ title: string;
266
267
  text: string;
267
268
  provider: "arena" | "pinterest" | "x" | "cosmos";
268
- title: string;
269
269
  remoteId: string;
270
270
  media: {
271
271
  hash: string;
@@ -276,8 +276,8 @@ export declare const ReferencePlanSourceSchema: z.ZodObject<{
276
276
  }[];
277
277
  url?: string | undefined;
278
278
  variant?: {
279
- sessionId: string;
280
279
  projectId: string;
280
+ sessionId: string;
281
281
  variantId: string;
282
282
  treeSha?: string | undefined;
283
283
  } | undefined;
@@ -286,9 +286,9 @@ export declare const ReferencePlanSourceSchema: z.ZodObject<{
286
286
  remoteImageRepresentations?: ("image" | "video-cover")[] | undefined;
287
287
  unsupportedReason?: string | undefined;
288
288
  }, {
289
+ title: string;
289
290
  text: string;
290
291
  provider: "arena" | "pinterest" | "x" | "cosmos";
291
- title: string;
292
292
  remoteId: string;
293
293
  media: {
294
294
  hash: string;
@@ -299,8 +299,8 @@ export declare const ReferencePlanSourceSchema: z.ZodObject<{
299
299
  }[];
300
300
  url?: string | undefined;
301
301
  variant?: {
302
- sessionId: string;
303
302
  projectId: string;
303
+ sessionId: string;
304
304
  variantId: string;
305
305
  treeSha?: string | undefined;
306
306
  } | undefined;
@@ -311,9 +311,9 @@ export declare const ReferencePlanSourceSchema: z.ZodObject<{
311
311
  }>, "many">;
312
312
  }, "strip", z.ZodTypeAny, {
313
313
  references: {
314
+ title: string;
314
315
  text: string;
315
316
  provider: "arena" | "pinterest" | "x" | "cosmos";
316
- title: string;
317
317
  remoteId: string;
318
318
  media: {
319
319
  hash: string;
@@ -324,8 +324,8 @@ export declare const ReferencePlanSourceSchema: z.ZodObject<{
324
324
  }[];
325
325
  url?: string | undefined;
326
326
  variant?: {
327
- sessionId: string;
328
327
  projectId: string;
328
+ sessionId: string;
329
329
  variantId: string;
330
330
  treeSha?: string | undefined;
331
331
  } | undefined;
@@ -336,9 +336,9 @@ export declare const ReferencePlanSourceSchema: z.ZodObject<{
336
336
  }[];
337
337
  collection: {
338
338
  id: string;
339
+ description: string | null;
339
340
  url: string | null;
340
341
  title: string;
341
- description: string | null;
342
342
  children: string[];
343
343
  total: number | null;
344
344
  parentId: string | null;
@@ -346,9 +346,9 @@ export declare const ReferencePlanSourceSchema: z.ZodObject<{
346
346
  collectionIds: string[];
347
347
  }, {
348
348
  references: {
349
+ title: string;
349
350
  text: string;
350
351
  provider: "arena" | "pinterest" | "x" | "cosmos";
351
- title: string;
352
352
  remoteId: string;
353
353
  media: {
354
354
  hash: string;
@@ -359,8 +359,8 @@ export declare const ReferencePlanSourceSchema: z.ZodObject<{
359
359
  }[];
360
360
  url?: string | undefined;
361
361
  variant?: {
362
- sessionId: string;
363
362
  projectId: string;
363
+ sessionId: string;
364
364
  variantId: string;
365
365
  treeSha?: string | undefined;
366
366
  } | undefined;
@@ -371,9 +371,9 @@ export declare const ReferencePlanSourceSchema: z.ZodObject<{
371
371
  }[];
372
372
  collection: {
373
373
  id: string;
374
+ description: string | null;
374
375
  url: string | null;
375
376
  title: string;
376
- description: string | null;
377
377
  children: string[];
378
378
  total: number | null;
379
379
  parentId: string | null;
@@ -394,17 +394,17 @@ export declare const ReferencePlanInputSchema: z.ZodObject<{
394
394
  children: z.ZodArray<z.ZodString, "many">;
395
395
  }, "strip", z.ZodTypeAny, {
396
396
  id: string;
397
+ description: string | null;
397
398
  url: string | null;
398
399
  title: string;
399
- description: string | null;
400
400
  children: string[];
401
401
  total: number | null;
402
402
  parentId: string | null;
403
403
  }, {
404
404
  id: string;
405
+ description: string | null;
405
406
  url: string | null;
406
407
  title: string;
407
- description: string | null;
408
408
  children: string[];
409
409
  total: number | null;
410
410
  parentId: string | null;
@@ -444,13 +444,13 @@ export declare const ReferencePlanInputSchema: z.ZodObject<{
444
444
  } & {
445
445
  treeSha: z.ZodOptional<z.ZodString>;
446
446
  }, "strict", z.ZodTypeAny, {
447
- sessionId: string;
448
447
  projectId: string;
448
+ sessionId: string;
449
449
  variantId: string;
450
450
  treeSha?: string | undefined;
451
451
  }, {
452
- sessionId: string;
453
452
  projectId: string;
453
+ sessionId: string;
454
454
  variantId: string;
455
455
  treeSha?: string | undefined;
456
456
  }>>;
@@ -458,9 +458,9 @@ export declare const ReferencePlanInputSchema: z.ZodObject<{
458
458
  } & {
459
459
  provider: z.ZodEnum<["cosmos", "pinterest", "arena", "x"]>;
460
460
  }, "strip", z.ZodTypeAny, {
461
+ title: string;
461
462
  text: string;
462
463
  provider: "arena" | "pinterest" | "x" | "cosmos";
463
- title: string;
464
464
  remoteId: string;
465
465
  media: {
466
466
  hash: string;
@@ -471,8 +471,8 @@ export declare const ReferencePlanInputSchema: z.ZodObject<{
471
471
  }[];
472
472
  url?: string | undefined;
473
473
  variant?: {
474
- sessionId: string;
475
474
  projectId: string;
475
+ sessionId: string;
476
476
  variantId: string;
477
477
  treeSha?: string | undefined;
478
478
  } | undefined;
@@ -481,9 +481,9 @@ export declare const ReferencePlanInputSchema: z.ZodObject<{
481
481
  remoteImageRepresentations?: ("image" | "video-cover")[] | undefined;
482
482
  unsupportedReason?: string | undefined;
483
483
  }, {
484
+ title: string;
484
485
  text: string;
485
486
  provider: "arena" | "pinterest" | "x" | "cosmos";
486
- title: string;
487
487
  remoteId: string;
488
488
  media: {
489
489
  hash: string;
@@ -494,8 +494,8 @@ export declare const ReferencePlanInputSchema: z.ZodObject<{
494
494
  }[];
495
495
  url?: string | undefined;
496
496
  variant?: {
497
- sessionId: string;
498
497
  projectId: string;
498
+ sessionId: string;
499
499
  variantId: string;
500
500
  treeSha?: string | undefined;
501
501
  } | undefined;
@@ -506,9 +506,9 @@ export declare const ReferencePlanInputSchema: z.ZodObject<{
506
506
  }>, "many">;
507
507
  }, "strip", z.ZodTypeAny, {
508
508
  references: {
509
+ title: string;
509
510
  text: string;
510
511
  provider: "arena" | "pinterest" | "x" | "cosmos";
511
- title: string;
512
512
  remoteId: string;
513
513
  media: {
514
514
  hash: string;
@@ -519,8 +519,8 @@ export declare const ReferencePlanInputSchema: z.ZodObject<{
519
519
  }[];
520
520
  url?: string | undefined;
521
521
  variant?: {
522
- sessionId: string;
523
522
  projectId: string;
523
+ sessionId: string;
524
524
  variantId: string;
525
525
  treeSha?: string | undefined;
526
526
  } | undefined;
@@ -531,9 +531,9 @@ export declare const ReferencePlanInputSchema: z.ZodObject<{
531
531
  }[];
532
532
  collection: {
533
533
  id: string;
534
+ description: string | null;
534
535
  url: string | null;
535
536
  title: string;
536
- description: string | null;
537
537
  children: string[];
538
538
  total: number | null;
539
539
  parentId: string | null;
@@ -541,9 +541,9 @@ export declare const ReferencePlanInputSchema: z.ZodObject<{
541
541
  collectionIds: string[];
542
542
  }, {
543
543
  references: {
544
+ title: string;
544
545
  text: string;
545
546
  provider: "arena" | "pinterest" | "x" | "cosmos";
546
- title: string;
547
547
  remoteId: string;
548
548
  media: {
549
549
  hash: string;
@@ -554,8 +554,8 @@ export declare const ReferencePlanInputSchema: z.ZodObject<{
554
554
  }[];
555
555
  url?: string | undefined;
556
556
  variant?: {
557
- sessionId: string;
558
557
  projectId: string;
558
+ sessionId: string;
559
559
  variantId: string;
560
560
  treeSha?: string | undefined;
561
561
  } | undefined;
@@ -566,9 +566,9 @@ export declare const ReferencePlanInputSchema: z.ZodObject<{
566
566
  }[];
567
567
  collection: {
568
568
  id: string;
569
+ description: string | null;
569
570
  url: string | null;
570
571
  title: string;
571
- description: string | null;
572
572
  children: string[];
573
573
  total: number | null;
574
574
  parentId: string | null;
@@ -581,9 +581,9 @@ export declare const ReferencePlanInputSchema: z.ZodObject<{
581
581
  discoveryId: string;
582
582
  sources: {
583
583
  references: {
584
+ title: string;
584
585
  text: string;
585
586
  provider: "arena" | "pinterest" | "x" | "cosmos";
586
- title: string;
587
587
  remoteId: string;
588
588
  media: {
589
589
  hash: string;
@@ -594,8 +594,8 @@ export declare const ReferencePlanInputSchema: z.ZodObject<{
594
594
  }[];
595
595
  url?: string | undefined;
596
596
  variant?: {
597
- sessionId: string;
598
597
  projectId: string;
598
+ sessionId: string;
599
599
  variantId: string;
600
600
  treeSha?: string | undefined;
601
601
  } | undefined;
@@ -606,9 +606,9 @@ export declare const ReferencePlanInputSchema: z.ZodObject<{
606
606
  }[];
607
607
  collection: {
608
608
  id: string;
609
+ description: string | null;
609
610
  url: string | null;
610
611
  title: string;
611
- description: string | null;
612
612
  children: string[];
613
613
  total: number | null;
614
614
  parentId: string | null;
@@ -621,9 +621,9 @@ export declare const ReferencePlanInputSchema: z.ZodObject<{
621
621
  discoveryId: string;
622
622
  sources: {
623
623
  references: {
624
+ title: string;
624
625
  text: string;
625
626
  provider: "arena" | "pinterest" | "x" | "cosmos";
626
- title: string;
627
627
  remoteId: string;
628
628
  media: {
629
629
  hash: string;
@@ -634,8 +634,8 @@ export declare const ReferencePlanInputSchema: z.ZodObject<{
634
634
  }[];
635
635
  url?: string | undefined;
636
636
  variant?: {
637
- sessionId: string;
638
637
  projectId: string;
638
+ sessionId: string;
639
639
  variantId: string;
640
640
  treeSha?: string | undefined;
641
641
  } | undefined;
@@ -646,9 +646,9 @@ export declare const ReferencePlanInputSchema: z.ZodObject<{
646
646
  }[];
647
647
  collection: {
648
648
  id: string;
649
+ description: string | null;
649
650
  url: string | null;
650
651
  title: string;
651
- description: string | null;
652
652
  children: string[];
653
653
  total: number | null;
654
654
  parentId: string | null;
@@ -671,17 +671,17 @@ export declare const ReferencePlanSchema: z.ZodObject<{
671
671
  children: z.ZodArray<z.ZodString, "many">;
672
672
  }, "strip", z.ZodTypeAny, {
673
673
  id: string;
674
+ description: string | null;
674
675
  url: string | null;
675
676
  title: string;
676
- description: string | null;
677
677
  children: string[];
678
678
  total: number | null;
679
679
  parentId: string | null;
680
680
  }, {
681
681
  id: string;
682
+ description: string | null;
682
683
  url: string | null;
683
684
  title: string;
684
- description: string | null;
685
685
  children: string[];
686
686
  total: number | null;
687
687
  parentId: string | null;
@@ -721,13 +721,13 @@ export declare const ReferencePlanSchema: z.ZodObject<{
721
721
  } & {
722
722
  treeSha: z.ZodOptional<z.ZodString>;
723
723
  }, "strict", z.ZodTypeAny, {
724
- sessionId: string;
725
724
  projectId: string;
725
+ sessionId: string;
726
726
  variantId: string;
727
727
  treeSha?: string | undefined;
728
728
  }, {
729
- sessionId: string;
730
729
  projectId: string;
730
+ sessionId: string;
731
731
  variantId: string;
732
732
  treeSha?: string | undefined;
733
733
  }>>;
@@ -735,9 +735,9 @@ export declare const ReferencePlanSchema: z.ZodObject<{
735
735
  } & {
736
736
  provider: z.ZodEnum<["cosmos", "pinterest", "arena", "x"]>;
737
737
  }, "strip", z.ZodTypeAny, {
738
+ title: string;
738
739
  text: string;
739
740
  provider: "arena" | "pinterest" | "x" | "cosmos";
740
- title: string;
741
741
  remoteId: string;
742
742
  media: {
743
743
  hash: string;
@@ -748,8 +748,8 @@ export declare const ReferencePlanSchema: z.ZodObject<{
748
748
  }[];
749
749
  url?: string | undefined;
750
750
  variant?: {
751
- sessionId: string;
752
751
  projectId: string;
752
+ sessionId: string;
753
753
  variantId: string;
754
754
  treeSha?: string | undefined;
755
755
  } | undefined;
@@ -758,9 +758,9 @@ export declare const ReferencePlanSchema: z.ZodObject<{
758
758
  remoteImageRepresentations?: ("image" | "video-cover")[] | undefined;
759
759
  unsupportedReason?: string | undefined;
760
760
  }, {
761
+ title: string;
761
762
  text: string;
762
763
  provider: "arena" | "pinterest" | "x" | "cosmos";
763
- title: string;
764
764
  remoteId: string;
765
765
  media: {
766
766
  hash: string;
@@ -771,8 +771,8 @@ export declare const ReferencePlanSchema: z.ZodObject<{
771
771
  }[];
772
772
  url?: string | undefined;
773
773
  variant?: {
774
- sessionId: string;
775
774
  projectId: string;
775
+ sessionId: string;
776
776
  variantId: string;
777
777
  treeSha?: string | undefined;
778
778
  } | undefined;
@@ -783,9 +783,9 @@ export declare const ReferencePlanSchema: z.ZodObject<{
783
783
  }>, "many">;
784
784
  }, "strip", z.ZodTypeAny, {
785
785
  references: {
786
+ title: string;
786
787
  text: string;
787
788
  provider: "arena" | "pinterest" | "x" | "cosmos";
788
- title: string;
789
789
  remoteId: string;
790
790
  media: {
791
791
  hash: string;
@@ -796,8 +796,8 @@ export declare const ReferencePlanSchema: z.ZodObject<{
796
796
  }[];
797
797
  url?: string | undefined;
798
798
  variant?: {
799
- sessionId: string;
800
799
  projectId: string;
800
+ sessionId: string;
801
801
  variantId: string;
802
802
  treeSha?: string | undefined;
803
803
  } | undefined;
@@ -808,9 +808,9 @@ export declare const ReferencePlanSchema: z.ZodObject<{
808
808
  }[];
809
809
  collection: {
810
810
  id: string;
811
+ description: string | null;
811
812
  url: string | null;
812
813
  title: string;
813
- description: string | null;
814
814
  children: string[];
815
815
  total: number | null;
816
816
  parentId: string | null;
@@ -818,9 +818,9 @@ export declare const ReferencePlanSchema: z.ZodObject<{
818
818
  collectionIds: string[];
819
819
  }, {
820
820
  references: {
821
+ title: string;
821
822
  text: string;
822
823
  provider: "arena" | "pinterest" | "x" | "cosmos";
823
- title: string;
824
824
  remoteId: string;
825
825
  media: {
826
826
  hash: string;
@@ -831,8 +831,8 @@ export declare const ReferencePlanSchema: z.ZodObject<{
831
831
  }[];
832
832
  url?: string | undefined;
833
833
  variant?: {
834
- sessionId: string;
835
834
  projectId: string;
835
+ sessionId: string;
836
836
  variantId: string;
837
837
  treeSha?: string | undefined;
838
838
  } | undefined;
@@ -843,9 +843,9 @@ export declare const ReferencePlanSchema: z.ZodObject<{
843
843
  }[];
844
844
  collection: {
845
845
  id: string;
846
+ description: string | null;
846
847
  url: string | null;
847
848
  title: string;
848
- description: string | null;
849
849
  children: string[];
850
850
  total: number | null;
851
851
  parentId: string | null;
@@ -888,6 +888,7 @@ export declare const ReferencePlanSchema: z.ZodObject<{
888
888
  jobIds: z.ZodArray<z.ZodString, "many">;
889
889
  }, "strip", z.ZodTypeAny, {
890
890
  id: string;
891
+ expiresAt: string;
891
892
  runtime: "claude" | "codex" | "cursor";
892
893
  revision: string;
893
894
  profile: {
@@ -900,9 +901,9 @@ export declare const ReferencePlanSchema: z.ZodObject<{
900
901
  discoveryId: string;
901
902
  sources: {
902
903
  references: {
904
+ title: string;
903
905
  text: string;
904
906
  provider: "arena" | "pinterest" | "x" | "cosmos";
905
- title: string;
906
907
  remoteId: string;
907
908
  media: {
908
909
  hash: string;
@@ -913,8 +914,8 @@ export declare const ReferencePlanSchema: z.ZodObject<{
913
914
  }[];
914
915
  url?: string | undefined;
915
916
  variant?: {
916
- sessionId: string;
917
917
  projectId: string;
918
+ sessionId: string;
918
919
  variantId: string;
919
920
  treeSha?: string | undefined;
920
921
  } | undefined;
@@ -925,9 +926,9 @@ export declare const ReferencePlanSchema: z.ZodObject<{
925
926
  }[];
926
927
  collection: {
927
928
  id: string;
929
+ description: string | null;
928
930
  url: string | null;
929
931
  title: string;
930
- description: string | null;
931
932
  children: string[];
932
933
  total: number | null;
933
934
  parentId: string | null;
@@ -935,11 +936,11 @@ export declare const ReferencePlanSchema: z.ZodObject<{
935
936
  collectionIds: string[];
936
937
  }[];
937
938
  reusableCount: number;
938
- expiresAt: string;
939
939
  approvedAt: string | null;
940
940
  jobIds: string[];
941
941
  }, {
942
942
  id: string;
943
+ expiresAt: string;
943
944
  runtime: "claude" | "codex" | "cursor";
944
945
  revision: string;
945
946
  profile: {
@@ -952,9 +953,9 @@ export declare const ReferencePlanSchema: z.ZodObject<{
952
953
  discoveryId: string;
953
954
  sources: {
954
955
  references: {
956
+ title: string;
955
957
  text: string;
956
958
  provider: "arena" | "pinterest" | "x" | "cosmos";
957
- title: string;
958
959
  remoteId: string;
959
960
  media: {
960
961
  hash: string;
@@ -965,8 +966,8 @@ export declare const ReferencePlanSchema: z.ZodObject<{
965
966
  }[];
966
967
  url?: string | undefined;
967
968
  variant?: {
968
- sessionId: string;
969
969
  projectId: string;
970
+ sessionId: string;
970
971
  variantId: string;
971
972
  treeSha?: string | undefined;
972
973
  } | undefined;
@@ -977,9 +978,9 @@ export declare const ReferencePlanSchema: z.ZodObject<{
977
978
  }[];
978
979
  collection: {
979
980
  id: string;
981
+ description: string | null;
980
982
  url: string | null;
981
983
  title: string;
982
- description: string | null;
983
984
  children: string[];
984
985
  total: number | null;
985
986
  parentId: string | null;
@@ -987,7 +988,6 @@ export declare const ReferencePlanSchema: z.ZodObject<{
987
988
  collectionIds: string[];
988
989
  }[];
989
990
  reusableCount: number;
990
- expiresAt: string;
991
991
  approvedAt: string | null;
992
992
  jobIds: string[];
993
993
  }>;
@@ -1043,9 +1043,9 @@ export declare const referencePlanSummary: (plan: ReferenceImportPlan) => {
1043
1043
  includedCollectionIds: string[];
1044
1044
  referenceCount: number;
1045
1045
  id: string;
1046
+ description: string | null;
1046
1047
  url: string | null;
1047
1048
  title: string;
1048
- description: string | null;
1049
1049
  children: string[];
1050
1050
  total: number | null;
1051
1051
  parentId: string | null;