rivet-design 0.26.1 → 0.26.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 (93) hide show
  1. package/bin/rivet.js +13 -0
  2. package/dist/agent-variants/WorkerExecutorService.d.ts +0 -2
  3. package/dist/agent-variants/WorkerExecutorService.js +0 -18
  4. package/dist/agent-variants/WorktreeOrchestrator.testHelpers.js +0 -8
  5. package/dist/agent-variants/contracts.d.ts +897 -4764
  6. package/dist/agent-variants/contracts.js +1 -121
  7. package/dist/agent-variants/index.d.ts +1 -1
  8. package/dist/agent-variants/variantsTelemetry.d.ts +0 -8
  9. package/dist/agent-variants/workItemInput.d.ts +278 -278
  10. package/dist/cli/commands/contextRequest.js +1 -1
  11. package/dist/cli/commands/guidanceReferences.d.ts +2 -2
  12. package/dist/cli/commands/guidanceVerifierPackage.d.ts +2 -2
  13. package/dist/cli/editorSession.d.ts +1 -13
  14. package/dist/cli/runtimeInterruption.d.ts +2 -16
  15. package/dist/config/pluginMetrics.js +0 -1
  16. package/dist/hosts/workerDefaults.d.ts +0 -11
  17. package/dist/hosts/workerDefaults.js +1 -30
  18. package/dist/index-core.d.ts +0 -1
  19. package/dist/index.js +1 -1
  20. package/dist/install/automaticCliUpdate.d.ts +1 -0
  21. package/dist/install/automaticCliUpdate.js +32 -22
  22. package/dist/install/channelCli.d.ts +1 -1
  23. package/dist/install/channelCli.js +11 -6
  24. package/dist/install/channelManager.d.ts +5 -2
  25. package/dist/install/globalBootstrap.d.ts +5 -3
  26. package/dist/install/globalBootstrap.js +21 -9
  27. package/dist/install/npmCommand.d.ts +15 -0
  28. package/dist/install/npmCommand.js +59 -0
  29. package/dist/routes/agentVariants.js +3 -14
  30. package/dist/routes/library/browserAccess.js +6 -2
  31. package/dist/routes/library/guidance.js +3 -1
  32. package/dist/routes/library/middleware.js +4 -4
  33. package/dist/routes/library/navigation.js +3 -1
  34. package/dist/routes/library/profiles.js +5 -5
  35. package/dist/routes/library/projects.js +17 -7
  36. package/dist/routes/library/referenceOnboarding.js +4 -2
  37. package/dist/routes/library/schemas.d.ts +2 -15
  38. package/dist/routes/telemetry.js +1 -1
  39. package/dist/routes/variantRequestSchema.d.ts +4 -4
  40. package/dist/routes/variantRequestSchema.js +7 -2
  41. package/dist/services/AuthService.d.ts +3 -56
  42. package/dist/services/AuthService.js +0 -28
  43. package/dist/services/ConfigManager.d.ts +0 -2
  44. package/dist/services/ConfigManager.js +0 -14
  45. package/dist/services/HubDiscovery.d.ts +1 -9
  46. package/dist/services/IntegrationsClient.d.ts +16 -16
  47. package/dist/services/MCPOnboardingTelemetry.d.ts +0 -14
  48. package/dist/services/MCPOnboardingTelemetry.js +0 -62
  49. package/dist/services/ProjectRegistry.d.ts +5 -24
  50. package/dist/services/TelemetryService.d.ts +1 -62
  51. package/dist/services/TelemetryService.js +0 -113
  52. package/dist/services/TreeStore.d.ts +0 -2
  53. package/dist/services/TreeStore.js +0 -24
  54. package/dist/services/profiles/DesignProfiles.d.ts +180 -125
  55. package/dist/services/profiles/ProfilePlanning.d.ts +38 -38
  56. package/dist/services/profiles/ReferenceReader.d.ts +14 -14
  57. package/dist/services/profiles/modelContract.js +4 -4
  58. package/dist/storage/library/ProjectPreviewCache.d.ts +1 -13
  59. package/dist/storage/profiles/ProfilePlans.d.ts +137 -137
  60. package/dist/storage/profiles/ProfileRecords.d.ts +62 -37
  61. package/dist/storage/profiles/planSchema.d.ts +40 -40
  62. package/dist/storage/profiles/schema.d.ts +16 -16
  63. package/dist/types/api-responses.d.ts +174 -0
  64. package/dist/types/api-responses.js +108 -0
  65. package/dist/types/cosmos-profile.d.ts +17 -105
  66. package/dist/types/cosmos.d.ts +48 -266
  67. package/dist/types/design-library.d.ts +230 -61
  68. package/dist/types/design-library.js +38 -1
  69. package/dist/types/design-profile.d.ts +220 -529
  70. package/dist/types/design-profile.js +5 -1
  71. package/dist/types/guidance-references.d.ts +68 -316
  72. package/dist/types/guidance-verifier.d.ts +65 -558
  73. package/dist/types/guidance-verifier.js +1 -1
  74. package/dist/types/guidance.d.ts +182 -1643
  75. package/dist/types/guidance.js +4 -1
  76. package/dist/types/project-library.d.ts +60 -30
  77. package/dist/types/project-library.js +32 -1
  78. package/dist/types/reference-connectors.d.ts +38 -162
  79. package/dist/types/reference-onboarding.d.ts +144 -878
  80. package/dist/types/reference-pages.d.ts +27 -139
  81. package/dist/types/x-bookmarks.d.ts +40 -296
  82. package/dist/utils/displayLocale.d.ts +0 -1
  83. package/dist/utils/displayLocale.js +1 -3
  84. package/package.json +4 -4
  85. package/src/ui/dist/assets/LibraryEntry-92R_T-Xa.js +37 -0
  86. package/src/ui/dist/assets/main-D0UmAaUe.css +1 -0
  87. package/src/ui/dist/assets/main-DgEfJvYu.js +497 -0
  88. package/src/ui/dist/index.html +2 -2
  89. package/dist/types/change-types.d.ts +0 -66
  90. package/dist/types/change-types.js +0 -3
  91. package/src/ui/dist/assets/LibraryEntry-Cr4GFYXW.js +0 -37
  92. package/src/ui/dist/assets/main-W3oTuTTl.css +0 -1
  93. package/src/ui/dist/assets/main-tPO1OCpZ.js +0 -439
@@ -45,38 +45,37 @@ export declare class ProfileRecords {
45
45
  markdown: string;
46
46
  sourceDigest: string;
47
47
  package?: {
48
+ runtime: "node";
49
+ entrypoint: string;
48
50
  files: {
49
51
  name: string;
50
52
  content: string;
51
53
  }[];
52
- runtime: "node";
53
- entrypoint: string;
54
54
  } | undefined;
55
55
  } | undefined;
56
56
  source: {
57
- title: string;
58
57
  id: string;
58
+ title: string;
59
59
  markdown: string;
60
60
  attachments?: {
61
- path: string;
62
- source: string;
63
61
  hash: string;
64
62
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif";
65
63
  bytes: number;
66
64
  representation: "variant" | "image" | "video-cover" | "page";
65
+ source: string;
67
66
  alt: string;
68
- title?: string | undefined;
67
+ path: string;
69
68
  page?: number | undefined;
69
+ title?: string | undefined;
70
70
  }[] | undefined;
71
71
  references?: ({
72
- path: string;
73
72
  kind: "directory";
73
+ path: string;
74
74
  intent: string;
75
75
  } | {
76
- url: string;
77
76
  kind: "url" | "repository";
77
+ url: string;
78
78
  intent: string;
79
- digest?: string | undefined;
80
79
  revision?: string | undefined;
81
80
  files?: {
82
81
  name: string;
@@ -84,6 +83,7 @@ export declare class ProfileRecords {
84
83
  path?: string | undefined;
85
84
  sha256?: string | undefined;
86
85
  }[] | undefined;
86
+ digest?: string | undefined;
87
87
  })[] | undefined;
88
88
  };
89
89
  sourceDigest: string;
@@ -144,7 +144,32 @@ export declare class ProfileRecords {
144
144
  isIncluded: boolean;
145
145
  removedAt: string | null;
146
146
  };
147
- references: ProfileReference[];
147
+ references: {
148
+ provider: "variant" | "text" | "pinterest" | "arena" | "cosmos" | "x" | "image" | "pdf";
149
+ remoteId: string;
150
+ title: string;
151
+ text: string;
152
+ media: {
153
+ hash: string;
154
+ mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif";
155
+ bytes: number;
156
+ representation: "variant" | "image" | "video-cover" | "page";
157
+ page?: number | undefined;
158
+ }[];
159
+ id: string;
160
+ revision: number;
161
+ url?: string | undefined;
162
+ remoteImages?: string[] | undefined;
163
+ remoteImageRepresentations?: ("image" | "video-cover")[] | undefined;
164
+ unsupportedReason?: string | undefined;
165
+ variant?: {
166
+ projectId: string;
167
+ sessionId: string;
168
+ variantId: string;
169
+ treeSha?: string | undefined;
170
+ } | undefined;
171
+ note?: string | undefined;
172
+ }[];
148
173
  };
149
174
  saveReference({ sourceId, reference, }: {
150
175
  sourceId: string;
@@ -288,24 +313,23 @@ export declare class ProfileRecords {
288
313
  revision: string;
289
314
  isApproved: boolean;
290
315
  }): {
291
- expiresAt: string;
292
- revision: string;
293
- runtime: "claude" | "codex" | "cursor";
294
- id: string;
295
- profile: {
296
- url: string;
297
- title: string;
298
- id: string;
299
- username: string;
300
- };
301
- createdAt: string;
302
316
  discoveryId: string;
317
+ runtime: "claude" | "codex" | "cursor";
303
318
  sources: {
319
+ collection: {
320
+ id: string;
321
+ title: string;
322
+ description: string | null;
323
+ url: string | null;
324
+ total: number | null;
325
+ parentId: string | null;
326
+ children: string[];
327
+ };
328
+ collectionIds: string[];
304
329
  references: {
330
+ remoteId: string;
305
331
  title: string;
306
332
  text: string;
307
- provider: "pinterest" | "arena" | "cosmos" | "x";
308
- remoteId: string;
309
333
  media: {
310
334
  hash: string;
311
335
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif";
@@ -313,30 +337,31 @@ export declare class ProfileRecords {
313
337
  representation: "variant" | "image" | "video-cover" | "page";
314
338
  page?: number | undefined;
315
339
  }[];
340
+ provider: "pinterest" | "arena" | "cosmos" | "x";
341
+ url?: string | undefined;
342
+ remoteImages?: string[] | undefined;
343
+ remoteImageRepresentations?: ("image" | "video-cover")[] | undefined;
344
+ unsupportedReason?: string | undefined;
316
345
  variant?: {
317
346
  projectId: string;
318
347
  sessionId: string;
319
348
  variantId: string;
320
349
  treeSha?: string | undefined;
321
350
  } | undefined;
322
- url?: string | undefined;
323
351
  note?: string | undefined;
324
- remoteImages?: string[] | undefined;
325
- remoteImageRepresentations?: ("image" | "video-cover")[] | undefined;
326
- unsupportedReason?: string | undefined;
327
352
  }[];
328
- collection: {
329
- description: string | null;
330
- url: string | null;
331
- title: string;
332
- id: string;
333
- children: string[];
334
- total: number | null;
335
- parentId: string | null;
336
- };
337
- collectionIds: string[];
338
353
  }[];
339
354
  reusableCount: number;
355
+ id: string;
356
+ profile: {
357
+ id: string;
358
+ username: string;
359
+ title: string;
360
+ url: string;
361
+ };
362
+ revision: string;
363
+ createdAt: string;
364
+ expiresAt: string;
340
365
  approvedAt: string | null;
341
366
  jobIds: string[];
342
367
  };
@@ -23,23 +23,23 @@ export declare const referenceDiscoveries: import("drizzle-orm/sqlite-core").SQL
23
23
  tableName: "reference_discoveries";
24
24
  dataType: "object json";
25
25
  data: {
26
- id: string;
27
- total: number;
26
+ profile: {
27
+ id: string;
28
+ username: string;
29
+ title: string;
30
+ url: string;
31
+ };
28
32
  collections: {
33
+ id: string;
34
+ title: string;
29
35
  description: string | null;
30
36
  url: string | null;
31
- title: string;
32
- id: string;
33
- children: string[];
34
37
  total: number | null;
35
38
  parentId: string | null;
39
+ children: string[];
36
40
  }[];
37
- profile: {
38
- url: string;
39
- title: string;
40
- id: string;
41
- username: string;
42
- };
41
+ total: number;
42
+ id: string;
43
43
  createdAt: string;
44
44
  };
45
45
  driverParam: string;
@@ -81,24 +81,23 @@ export declare const referencePlans: import("drizzle-orm/sqlite-core").SQLiteTab
81
81
  tableName: "reference_plans";
82
82
  dataType: "object json";
83
83
  data: {
84
- expiresAt: string;
85
- revision: string;
86
- runtime: "claude" | "codex" | "cursor";
87
- id: string;
88
- profile: {
89
- url: string;
90
- title: string;
91
- id: string;
92
- username: string;
93
- };
94
- createdAt: string;
95
84
  discoveryId: string;
85
+ runtime: "claude" | "codex" | "cursor";
96
86
  sources: {
87
+ collection: {
88
+ id: string;
89
+ title: string;
90
+ description: string | null;
91
+ url: string | null;
92
+ total: number | null;
93
+ parentId: string | null;
94
+ children: string[];
95
+ };
96
+ collectionIds: string[];
97
97
  references: {
98
+ remoteId: string;
98
99
  title: string;
99
100
  text: string;
100
- provider: "pinterest" | "arena" | "cosmos" | "x";
101
- remoteId: string;
102
101
  media: {
103
102
  hash: string;
104
103
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif";
@@ -106,30 +105,31 @@ export declare const referencePlans: import("drizzle-orm/sqlite-core").SQLiteTab
106
105
  representation: "variant" | "image" | "video-cover" | "page";
107
106
  page?: number | undefined;
108
107
  }[];
108
+ provider: "pinterest" | "arena" | "cosmos" | "x";
109
+ url?: string | undefined;
110
+ remoteImages?: string[] | undefined;
111
+ remoteImageRepresentations?: ("image" | "video-cover")[] | undefined;
112
+ unsupportedReason?: string | undefined;
109
113
  variant?: {
110
114
  projectId: string;
111
115
  sessionId: string;
112
116
  variantId: string;
113
117
  treeSha?: string | undefined;
114
118
  } | undefined;
115
- url?: string | undefined;
116
119
  note?: string | undefined;
117
- remoteImages?: string[] | undefined;
118
- remoteImageRepresentations?: ("image" | "video-cover")[] | undefined;
119
- unsupportedReason?: string | undefined;
120
120
  }[];
121
- collection: {
122
- description: string | null;
123
- url: string | null;
124
- title: string;
125
- id: string;
126
- children: string[];
127
- total: number | null;
128
- parentId: string | null;
129
- };
130
- collectionIds: string[];
131
121
  }[];
132
122
  reusableCount: number;
123
+ id: string;
124
+ profile: {
125
+ id: string;
126
+ username: string;
127
+ title: string;
128
+ url: string;
129
+ };
130
+ revision: string;
131
+ createdAt: string;
132
+ expiresAt: string;
133
133
  approvedAt: string | null;
134
134
  jobIds: string[];
135
135
  };
@@ -226,7 +226,7 @@ export declare const referenceOnboarding: import("drizzle-orm/sqlite-core").SQLi
226
226
  name: string;
227
227
  tableName: "reference_onboarding";
228
228
  dataType: "string enum";
229
- data: "pending" | "complete" | "later" | "dismissed";
229
+ data: "pending" | "later" | "complete" | "dismissed";
230
230
  driverParam: string;
231
231
  notNull: true;
232
232
  hasDefault: false;
@@ -297,7 +297,7 @@ export declare const connectorOnboarding: import("drizzle-orm/sqlite-core").SQLi
297
297
  name: string;
298
298
  tableName: "connector_onboarding";
299
299
  dataType: "string enum";
300
- data: "pending" | "complete" | "later" | "dismissed";
300
+ data: "pending" | "later" | "complete" | "dismissed";
301
301
  driverParam: string;
302
302
  notNull: true;
303
303
  hasDefault: false;
@@ -126,15 +126,15 @@ export declare const guidance: import("drizzle-orm/sqlite-core").SQLiteTableWith
126
126
  tableName: "guidance";
127
127
  dataType: "object json";
128
128
  data: {
129
- path: string;
130
- source: string;
131
129
  hash: string;
132
130
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif";
133
131
  bytes: number;
134
132
  representation: "variant" | "image" | "video-cover" | "page";
133
+ source: string;
135
134
  alt: string;
136
- title?: string | undefined;
135
+ path: string;
137
136
  page?: number | undefined;
137
+ title?: string | undefined;
138
138
  }[];
139
139
  driverParam: string;
140
140
  notNull: false;
@@ -152,14 +152,13 @@ export declare const guidance: import("drizzle-orm/sqlite-core").SQLiteTableWith
152
152
  tableName: "guidance";
153
153
  dataType: "object json";
154
154
  data: ({
155
- path: string;
156
155
  kind: "directory";
156
+ path: string;
157
157
  intent: string;
158
158
  } | {
159
- url: string;
160
159
  kind: "url" | "repository";
160
+ url: string;
161
161
  intent: string;
162
- digest?: string | undefined;
163
162
  revision?: string | undefined;
164
163
  files?: {
165
164
  name: string;
@@ -167,6 +166,7 @@ export declare const guidance: import("drizzle-orm/sqlite-core").SQLiteTableWith
167
166
  path?: string | undefined;
168
167
  sha256?: string | undefined;
169
168
  }[] | undefined;
169
+ digest?: string | undefined;
170
170
  })[];
171
171
  driverParam: string;
172
172
  notNull: false;
@@ -187,12 +187,12 @@ export declare const guidance: import("drizzle-orm/sqlite-core").SQLiteTableWith
187
187
  markdown: string;
188
188
  sourceDigest: string;
189
189
  package?: {
190
+ runtime: "node";
191
+ entrypoint: string;
190
192
  files: {
191
193
  name: string;
192
194
  content: string;
193
195
  }[];
194
- runtime: "node";
195
- entrypoint: string;
196
196
  } | undefined;
197
197
  };
198
198
  driverParam: string;
@@ -527,10 +527,10 @@ export declare const references: import("drizzle-orm/sqlite-core").SQLiteTableWi
527
527
  tableName: "profile_references";
528
528
  dataType: "object json";
529
529
  data: {
530
- title: string;
531
- text: string;
532
530
  provider: "variant" | "text" | "pinterest" | "arena" | "cosmos" | "x" | "image" | "pdf";
533
531
  remoteId: string;
532
+ title: string;
533
+ text: string;
534
534
  media: {
535
535
  hash: string;
536
536
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif";
@@ -538,17 +538,17 @@ export declare const references: import("drizzle-orm/sqlite-core").SQLiteTableWi
538
538
  representation: "variant" | "image" | "video-cover" | "page";
539
539
  page?: number | undefined;
540
540
  }[];
541
+ url?: string | undefined;
542
+ remoteImages?: string[] | undefined;
543
+ remoteImageRepresentations?: ("image" | "video-cover")[] | undefined;
544
+ unsupportedReason?: string | undefined;
541
545
  variant?: {
542
546
  projectId: string;
543
547
  sessionId: string;
544
548
  variantId: string;
545
549
  treeSha?: string | undefined;
546
550
  } | undefined;
547
- url?: string | undefined;
548
551
  note?: string | undefined;
549
- remoteImages?: string[] | undefined;
550
- remoteImageRepresentations?: ("image" | "video-cover")[] | undefined;
551
- unsupportedReason?: string | undefined;
552
552
  };
553
553
  driverParam: string;
554
554
  notNull: true;
@@ -715,11 +715,11 @@ export declare const observations: import("drizzle-orm/sqlite-core").SQLiteTable
715
715
  tableName: "observations";
716
716
  dataType: "object json";
717
717
  data: {
718
- description: string;
718
+ referenceId: string;
719
719
  revision: number;
720
+ description: string;
720
721
  runtime: "claude" | "codex" | "cursor" | "user";
721
722
  evidence: "observation" | "preference";
722
- referenceId: string;
723
723
  usage?: {
724
724
  inputTokens?: number | undefined;
725
725
  outputTokens?: number | undefined;
@@ -0,0 +1,174 @@
1
+ import { z } from 'zod';
2
+ import type { Account } from './account';
3
+ export declare const ErrorResponseSchema: z.ZodObject<{
4
+ error: z.ZodString;
5
+ }, z.core.$strip>;
6
+ export type ErrorResponse = z.infer<typeof ErrorResponseSchema>;
7
+ export declare const VariantsErrorResponseSchema: z.ZodObject<{
8
+ errorCode: z.ZodString;
9
+ message: z.ZodString;
10
+ }, z.core.$strip>;
11
+ export type VariantsErrorResponse = z.infer<typeof VariantsErrorResponseSchema>;
12
+ export declare const SupportTicketErrorResponseSchema: z.ZodObject<{
13
+ error: z.ZodOptional<z.ZodString>;
14
+ details: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
15
+ formErrors: z.ZodOptional<z.ZodArray<z.ZodString>>;
16
+ fieldErrors: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodOptional<z.ZodArray<z.ZodString>>>>;
17
+ }, z.core.$strip>]>>;
18
+ }, z.core.$strip>;
19
+ export type SupportTicketErrorResponse = z.infer<typeof SupportTicketErrorResponseSchema>;
20
+ export declare const BrowserSessionResponseSchema: z.ZodObject<{
21
+ token: z.ZodString;
22
+ }, z.core.$strip>;
23
+ export type BrowserSessionResponse = z.infer<typeof BrowserSessionResponseSchema>;
24
+ export declare const LibraryViewLaunchResponseSchema: z.ZodObject<{
25
+ url: z.ZodString;
26
+ }, z.core.$strip>;
27
+ export type LibraryViewLaunchResponse = z.infer<typeof LibraryViewLaunchResponseSchema>;
28
+ export declare const LibraryProjectListResponseSchema: z.ZodObject<{
29
+ projects: z.ZodArray<z.ZodObject<{
30
+ id: z.ZodString;
31
+ name: z.ZodString;
32
+ pinnedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33
+ lastOpenedAt: z.ZodString;
34
+ projectPath: z.ZodString;
35
+ isAvailable: z.ZodBoolean;
36
+ storageKind: z.ZodEnum<{
37
+ project: "project";
38
+ bundle: "bundle";
39
+ }>;
40
+ issue: z.ZodOptional<z.ZodString>;
41
+ historyIssue: z.ZodOptional<z.ZodString>;
42
+ }, z.core.$strip>>;
43
+ }, z.core.$strip>;
44
+ export type LibraryProjectListResponse = z.infer<typeof LibraryProjectListResponseSchema>;
45
+ export declare const LibraryProjectResponseSchema: z.ZodObject<{
46
+ project: z.ZodObject<{
47
+ id: z.ZodString;
48
+ name: z.ZodString;
49
+ pinnedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
50
+ lastOpenedAt: z.ZodString;
51
+ projectPath: z.ZodString;
52
+ isAvailable: z.ZodBoolean;
53
+ storageKind: z.ZodEnum<{
54
+ project: "project";
55
+ bundle: "bundle";
56
+ }>;
57
+ issue: z.ZodOptional<z.ZodString>;
58
+ historyIssue: z.ZodOptional<z.ZodString>;
59
+ }, z.core.$strip>;
60
+ }, z.core.$strip>;
61
+ export type LibraryProjectResponse = z.infer<typeof LibraryProjectResponseSchema>;
62
+ export declare const LibraryProjectRemovalResponseSchema: z.ZodObject<{
63
+ projectId: z.ZodString;
64
+ }, z.core.$strip>;
65
+ export type LibraryProjectRemovalResponse = z.infer<typeof LibraryProjectRemovalResponseSchema>;
66
+ export declare const LibraryProjectPreviewResponseSchema: z.ZodObject<{
67
+ preview: z.ZodNullable<z.ZodObject<{
68
+ dataUrl: z.ZodString;
69
+ label: z.ZodString;
70
+ capturedAt: z.ZodString;
71
+ }, z.core.$strip>>;
72
+ }, z.core.$strip>;
73
+ export type LibraryProjectPreviewResponse = z.infer<typeof LibraryProjectPreviewResponseSchema>;
74
+ export declare const FolderSelectionResponseSchema: z.ZodObject<{
75
+ projectPath: z.ZodNullable<z.ZodString>;
76
+ }, z.core.$strip>;
77
+ export type FolderSelectionResponse = z.infer<typeof FolderSelectionResponseSchema>;
78
+ export declare const ProjectRuntimeResponseSchema: z.ZodObject<{
79
+ editorUrl: z.ZodString;
80
+ }, z.core.$strip>;
81
+ export type ProjectRuntimeResponse = z.infer<typeof ProjectRuntimeResponseSchema>;
82
+ export declare const DirectionPreviewResponseSchema: z.ZodObject<{
83
+ url: z.ZodString;
84
+ }, z.core.$strip>;
85
+ export type DirectionPreviewResponse = z.infer<typeof DirectionPreviewResponseSchema>;
86
+ export declare const DirectionUpdateResponseSchema: z.ZodObject<{
87
+ saved: z.ZodLiteral<true>;
88
+ }, z.core.$strip>;
89
+ export type DirectionUpdateResponse = z.infer<typeof DirectionUpdateResponseSchema>;
90
+ export declare const ViewNavigationSchema: z.ZodObject<{
91
+ requestId: z.ZodString;
92
+ sequence: z.ZodNumber;
93
+ projectId: z.ZodOptional<z.ZodString>;
94
+ sessionId: z.ZodOptional<z.ZodString>;
95
+ variantId: z.ZodOptional<z.ZodString>;
96
+ }, z.core.$strip>;
97
+ export type ViewNavigation = z.infer<typeof ViewNavigationSchema>;
98
+ export declare const ViewNavigationsResponseSchema: z.ZodObject<{
99
+ navigations: z.ZodArray<z.ZodObject<{
100
+ requestId: z.ZodString;
101
+ sequence: z.ZodNumber;
102
+ projectId: z.ZodOptional<z.ZodString>;
103
+ sessionId: z.ZodOptional<z.ZodString>;
104
+ variantId: z.ZodOptional<z.ZodString>;
105
+ }, z.core.$strip>>;
106
+ }, z.core.$strip>;
107
+ export type ViewNavigationsResponse = z.infer<typeof ViewNavigationsResponseSchema>;
108
+ export declare const NavigationAcknowledgementResponseSchema: z.ZodObject<{
109
+ acknowledged: z.ZodBoolean;
110
+ }, z.core.$strip>;
111
+ export type NavigationAcknowledgementResponse = z.infer<typeof NavigationAcknowledgementResponseSchema>;
112
+ export declare const ReferenceProfileStatusResponseSchema: z.ZodObject<{
113
+ profile: z.ZodObject<{
114
+ isEnabled: z.ZodBoolean;
115
+ }, z.core.$strip>;
116
+ sources: z.ZodArray<z.ZodObject<{
117
+ provider: z.ZodEnum<{
118
+ variant: "variant";
119
+ text: "text";
120
+ pinterest: "pinterest";
121
+ arena: "arena";
122
+ cosmos: "cosmos";
123
+ x: "x";
124
+ image: "image";
125
+ pdf: "pdf";
126
+ }>;
127
+ title: z.ZodString;
128
+ url: z.ZodNullable<z.ZodString>;
129
+ }, z.core.$strip>>;
130
+ }, z.core.$strip>;
131
+ export type ReferenceProfileStatusResponse = z.infer<typeof ReferenceProfileStatusResponseSchema>;
132
+ export declare const ReferenceImportPlanSummarySchema: z.ZodObject<{
133
+ id: z.ZodString;
134
+ revision: z.ZodString;
135
+ collectionCount: z.ZodNumber;
136
+ referenceCount: z.ZodNumber;
137
+ imageCount: z.ZodNumber;
138
+ reusableCount: z.ZodNumber;
139
+ unsupportedCount: z.ZodNumber;
140
+ scopeDisclosure: z.ZodString;
141
+ usageDisclosure: z.ZodString;
142
+ }, z.core.$strip>;
143
+ export type ReferenceImportPlanSummary = z.infer<typeof ReferenceImportPlanSummarySchema>;
144
+ export declare const AccountResponseSchema: z.ZodType<Account>;
145
+ export declare const VariantsUiStateSchema: z.ZodObject<{
146
+ pinned: z.ZodArray<z.ZodString>;
147
+ order: z.ZodObject<{
148
+ groups: z.ZodArray<z.ZodString>;
149
+ rows: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString>>;
150
+ }, z.core.$strip>;
151
+ }, z.core.$strip>;
152
+ export type VariantsUiState = z.infer<typeof VariantsUiStateSchema>;
153
+ export declare const VariantsUiStateResponseSchema: z.ZodObject<{
154
+ projectPath: z.ZodString;
155
+ uiState: z.ZodObject<{
156
+ pinned: z.ZodArray<z.ZodString>;
157
+ order: z.ZodObject<{
158
+ groups: z.ZodArray<z.ZodString>;
159
+ rows: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString>>;
160
+ }, z.core.$strip>;
161
+ }, z.core.$strip>;
162
+ }, z.core.$strip>;
163
+ export type VariantsUiStateResponse = z.infer<typeof VariantsUiStateResponseSchema>;
164
+ export declare const VariantsUiStateUpdateSchema: z.ZodObject<{
165
+ uiState: z.ZodObject<{
166
+ pinned: z.ZodArray<z.ZodString>;
167
+ order: z.ZodObject<{
168
+ groups: z.ZodArray<z.ZodString>;
169
+ rows: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString>>;
170
+ }, z.core.$strip>;
171
+ }, z.core.$strip>;
172
+ projectPath: z.ZodOptional<z.ZodString>;
173
+ }, z.core.$strip>;
174
+ //# sourceMappingURL=api-responses.d.ts.map