rivet-design 0.21.1 → 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.
- package/dist/agent-variants/contracts.d.ts +410 -410
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +25 -9
- package/dist/index.js.map +1 -1
- package/dist/library/BrowserSessions.d.ts +24 -8
- package/dist/library/BrowserSessions.d.ts.map +1 -1
- package/dist/library/BrowserSessions.js +67 -45
- package/dist/library/BrowserSessions.js.map +1 -1
- package/dist/library/HubServer.js +1 -1
- package/dist/library/HubServer.js.map +1 -1
- package/dist/routes/account.d.ts.map +1 -1
- package/dist/routes/account.js +7 -2
- package/dist/routes/account.js.map +1 -1
- package/dist/routes/installRef.d.ts +3 -0
- package/dist/routes/installRef.d.ts.map +1 -0
- package/dist/routes/installRef.js +18 -0
- package/dist/routes/installRef.js.map +1 -0
- package/dist/routes/library/app.d.ts.map +1 -1
- package/dist/routes/library/app.js +3 -8
- package/dist/routes/library/app.js.map +1 -1
- package/dist/routes/library/browserAccess.d.ts +0 -1
- package/dist/routes/library/browserAccess.d.ts.map +1 -1
- package/dist/routes/library/browserAccess.js +27 -20
- package/dist/routes/library/browserAccess.js.map +1 -1
- package/dist/routes/library/index.d.ts.map +1 -1
- package/dist/routes/library/index.js +2 -4
- package/dist/routes/library/index.js.map +1 -1
- package/dist/routes/library/middleware.d.ts +1 -1
- package/dist/routes/library/middleware.d.ts.map +1 -1
- package/dist/routes/library/middleware.js +15 -3
- package/dist/routes/library/middleware.js.map +1 -1
- package/dist/routes/variantRequestSchema.d.ts +7 -7
- package/dist/server.d.ts.map +1 -1
- package/dist/server.js +2 -0
- package/dist/server.js.map +1 -1
- package/dist/services/AuthService.d.ts.map +1 -1
- package/dist/services/AuthService.js +41 -15
- package/dist/services/AuthService.js.map +1 -1
- package/dist/services/BrowserAgentClient.d.ts.map +1 -1
- package/dist/services/BrowserAgentClient.js +13 -3
- package/dist/services/BrowserAgentClient.js.map +1 -1
- package/dist/services/ConfigManager.d.ts +23 -3
- package/dist/services/ConfigManager.d.ts.map +1 -1
- package/dist/services/ConfigManager.js +117 -24
- package/dist/services/ConfigManager.js.map +1 -1
- package/dist/services/GatewayClient.d.ts.map +1 -1
- package/dist/services/GatewayClient.js +3 -2
- package/dist/services/GatewayClient.js.map +1 -1
- package/dist/services/IntegrationsClient.d.ts +3 -3
- package/dist/services/IntegrationsClient.d.ts.map +1 -1
- package/dist/services/IntegrationsClient.js +5 -11
- package/dist/services/IntegrationsClient.js.map +1 -1
- package/dist/services/ProjectRegistry.d.ts +2 -2
- package/dist/services/PrototypeDeployService.d.ts.map +1 -1
- package/dist/services/PrototypeDeployService.js +3 -2
- package/dist/services/PrototypeDeployService.js.map +1 -1
- package/dist/services/authUpdate.d.ts +8 -0
- package/dist/services/authUpdate.d.ts.map +1 -0
- package/dist/services/authUpdate.js +21 -0
- package/dist/services/authUpdate.js.map +1 -0
- package/dist/services/pendingLogin.d.ts +2 -0
- package/dist/services/pendingLogin.d.ts.map +1 -1
- package/dist/services/pendingLogin.js +4 -2
- package/dist/services/pendingLogin.js.map +1 -1
- package/dist/services/profiles/DesignProfiles.d.ts +6 -6
- package/dist/services/profiles/ProfilePlanning.d.ts +4 -4
- package/dist/services/profiles/ReferenceReader.d.ts +3 -3
- package/dist/services/profiles/profileContext.d.ts +1 -1
- package/dist/storage/library/BrowserAuthorizationRecords.d.ts +54 -0
- package/dist/storage/library/BrowserAuthorizationRecords.d.ts.map +1 -0
- package/dist/storage/library/BrowserAuthorizationRecords.js +175 -0
- package/dist/storage/library/BrowserAuthorizationRecords.js.map +1 -0
- package/dist/storage/library/database.d.ts +2 -1
- package/dist/storage/library/database.d.ts.map +1 -1
- package/dist/storage/library/database.js +5 -36
- package/dist/storage/library/database.js.map +1 -1
- package/dist/storage/library/migrations.d.ts +1 -0
- package/dist/storage/library/migrations.d.ts.map +1 -1
- package/dist/storage/library/migrations.js +14 -1
- package/dist/storage/library/migrations.js.map +1 -1
- package/dist/storage/library/schema/browserAuthorization.d.ts +191 -0
- package/dist/storage/library/schema/browserAuthorization.d.ts.map +1 -0
- package/dist/storage/library/schema/browserAuthorization.js +20 -0
- package/dist/storage/library/schema/browserAuthorization.js.map +1 -0
- package/dist/storage/profiles/ProfilePlans.d.ts +15 -15
- package/dist/storage/profiles/ProfileRecords.d.ts +3 -3
- package/dist/storage/profiles/planSchema.d.ts +4 -4
- package/dist/storage/profiles/schema.d.ts +2 -2
- package/dist/types/cosmos-profile.d.ts +6 -6
- package/dist/types/cosmos.d.ts +20 -20
- package/dist/types/design-library.d.ts +2 -2
- package/dist/types/design-profile.d.ts +14 -14
- package/dist/types/guidance.d.ts +4 -4
- package/dist/types/reference-connectors.d.ts +10 -10
- package/dist/types/reference-onboarding.d.ts +43 -43
- package/dist/types/reference-pages.d.ts +6 -6
- package/dist/types/variant-reference.d.ts +4 -4
- package/dist/utils/installRef.d.ts +8 -0
- package/dist/utils/installRef.d.ts.map +1 -0
- package/dist/utils/installRef.js +34 -0
- package/dist/utils/installRef.js.map +1 -0
- package/package.json +2 -2
- package/src/ui/dist/assets/LibraryEntry-B5kPF3Ey.js +36 -0
- package/src/ui/dist/assets/{main-CEV9QrPk.js → main-Er_TRZTd.js} +85 -85
- package/src/ui/dist/index.html +1 -1
- package/src/ui/dist/assets/LibraryEntry-D962AMoc.js +0 -36
|
@@ -11,9 +11,9 @@ export declare class ProfilePlans {
|
|
|
11
11
|
total: number;
|
|
12
12
|
collections: {
|
|
13
13
|
id: string;
|
|
14
|
+
description: string | null;
|
|
14
15
|
url: string | null;
|
|
15
16
|
title: string;
|
|
16
|
-
description: string | null;
|
|
17
17
|
children: string[];
|
|
18
18
|
total: number | null;
|
|
19
19
|
parentId: string | null;
|
|
@@ -31,9 +31,9 @@ export declare class ProfilePlans {
|
|
|
31
31
|
total: number;
|
|
32
32
|
collections: {
|
|
33
33
|
id: string;
|
|
34
|
+
description: string | null;
|
|
34
35
|
url: string | null;
|
|
35
36
|
title: string;
|
|
36
|
-
description: string | null;
|
|
37
37
|
children: string[];
|
|
38
38
|
total: number | null;
|
|
39
39
|
parentId: string | null;
|
|
@@ -51,9 +51,9 @@ export declare class ProfilePlans {
|
|
|
51
51
|
total: number;
|
|
52
52
|
collections: {
|
|
53
53
|
id: string;
|
|
54
|
+
description: string | null;
|
|
54
55
|
url: string | null;
|
|
55
56
|
title: string;
|
|
56
|
-
description: string | null;
|
|
57
57
|
children: string[];
|
|
58
58
|
total: number | null;
|
|
59
59
|
parentId: string | null;
|
|
@@ -68,6 +68,7 @@ export declare class ProfilePlans {
|
|
|
68
68
|
}[];
|
|
69
69
|
savePlan(input: z.input<typeof ReferencePlanInputSchema>): {
|
|
70
70
|
id: string;
|
|
71
|
+
expiresAt: string;
|
|
71
72
|
runtime: "claude" | "codex" | "cursor";
|
|
72
73
|
revision: string;
|
|
73
74
|
profile: {
|
|
@@ -80,9 +81,9 @@ export declare class ProfilePlans {
|
|
|
80
81
|
discoveryId: string;
|
|
81
82
|
sources: {
|
|
82
83
|
references: {
|
|
84
|
+
title: string;
|
|
83
85
|
text: string;
|
|
84
86
|
provider: "arena" | "pinterest" | "x" | "cosmos";
|
|
85
|
-
title: string;
|
|
86
87
|
remoteId: string;
|
|
87
88
|
media: {
|
|
88
89
|
hash: string;
|
|
@@ -105,9 +106,9 @@ export declare class ProfilePlans {
|
|
|
105
106
|
}[];
|
|
106
107
|
collection: {
|
|
107
108
|
id: string;
|
|
109
|
+
description: string | null;
|
|
108
110
|
url: string | null;
|
|
109
111
|
title: string;
|
|
110
|
-
description: string | null;
|
|
111
112
|
children: string[];
|
|
112
113
|
total: number | null;
|
|
113
114
|
parentId: string | null;
|
|
@@ -115,12 +116,12 @@ export declare class ProfilePlans {
|
|
|
115
116
|
collectionIds: string[];
|
|
116
117
|
}[];
|
|
117
118
|
reusableCount: number;
|
|
118
|
-
expiresAt: string;
|
|
119
119
|
approvedAt: string | null;
|
|
120
120
|
jobIds: string[];
|
|
121
121
|
};
|
|
122
122
|
plan(id: string): {
|
|
123
123
|
id: string;
|
|
124
|
+
expiresAt: string;
|
|
124
125
|
runtime: "claude" | "codex" | "cursor";
|
|
125
126
|
revision: string;
|
|
126
127
|
profile: {
|
|
@@ -133,9 +134,9 @@ export declare class ProfilePlans {
|
|
|
133
134
|
discoveryId: string;
|
|
134
135
|
sources: {
|
|
135
136
|
references: {
|
|
137
|
+
title: string;
|
|
136
138
|
text: string;
|
|
137
139
|
provider: "arena" | "pinterest" | "x" | "cosmos";
|
|
138
|
-
title: string;
|
|
139
140
|
remoteId: string;
|
|
140
141
|
media: {
|
|
141
142
|
hash: string;
|
|
@@ -158,9 +159,9 @@ export declare class ProfilePlans {
|
|
|
158
159
|
}[];
|
|
159
160
|
collection: {
|
|
160
161
|
id: string;
|
|
162
|
+
description: string | null;
|
|
161
163
|
url: string | null;
|
|
162
164
|
title: string;
|
|
163
|
-
description: string | null;
|
|
164
165
|
children: string[];
|
|
165
166
|
total: number | null;
|
|
166
167
|
parentId: string | null;
|
|
@@ -168,12 +169,12 @@ export declare class ProfilePlans {
|
|
|
168
169
|
collectionIds: string[];
|
|
169
170
|
}[];
|
|
170
171
|
reusableCount: number;
|
|
171
|
-
expiresAt: string;
|
|
172
172
|
approvedAt: string | null;
|
|
173
173
|
jobIds: string[];
|
|
174
174
|
};
|
|
175
175
|
plans(): {
|
|
176
176
|
id: string;
|
|
177
|
+
expiresAt: string;
|
|
177
178
|
runtime: "claude" | "codex" | "cursor";
|
|
178
179
|
revision: string;
|
|
179
180
|
profile: {
|
|
@@ -186,9 +187,9 @@ export declare class ProfilePlans {
|
|
|
186
187
|
discoveryId: string;
|
|
187
188
|
sources: {
|
|
188
189
|
references: {
|
|
190
|
+
title: string;
|
|
189
191
|
text: string;
|
|
190
192
|
provider: "arena" | "pinterest" | "x" | "cosmos";
|
|
191
|
-
title: string;
|
|
192
193
|
remoteId: string;
|
|
193
194
|
media: {
|
|
194
195
|
hash: string;
|
|
@@ -211,9 +212,9 @@ export declare class ProfilePlans {
|
|
|
211
212
|
}[];
|
|
212
213
|
collection: {
|
|
213
214
|
id: string;
|
|
215
|
+
description: string | null;
|
|
214
216
|
url: string | null;
|
|
215
217
|
title: string;
|
|
216
|
-
description: string | null;
|
|
217
218
|
children: string[];
|
|
218
219
|
total: number | null;
|
|
219
220
|
parentId: string | null;
|
|
@@ -221,7 +222,6 @@ export declare class ProfilePlans {
|
|
|
221
222
|
collectionIds: string[];
|
|
222
223
|
}[];
|
|
223
224
|
reusableCount: number;
|
|
224
|
-
expiresAt: string;
|
|
225
225
|
approvedAt: string | null;
|
|
226
226
|
jobIds: string[];
|
|
227
227
|
}[];
|
|
@@ -236,6 +236,7 @@ export declare class ProfilePlans {
|
|
|
236
236
|
}>;
|
|
237
237
|
}): {
|
|
238
238
|
id: string;
|
|
239
|
+
expiresAt: string;
|
|
239
240
|
runtime: "claude" | "codex" | "cursor";
|
|
240
241
|
revision: string;
|
|
241
242
|
profile: {
|
|
@@ -248,9 +249,9 @@ export declare class ProfilePlans {
|
|
|
248
249
|
discoveryId: string;
|
|
249
250
|
sources: {
|
|
250
251
|
references: {
|
|
252
|
+
title: string;
|
|
251
253
|
text: string;
|
|
252
254
|
provider: "arena" | "pinterest" | "x" | "cosmos";
|
|
253
|
-
title: string;
|
|
254
255
|
remoteId: string;
|
|
255
256
|
media: {
|
|
256
257
|
hash: string;
|
|
@@ -273,9 +274,9 @@ export declare class ProfilePlans {
|
|
|
273
274
|
}[];
|
|
274
275
|
collection: {
|
|
275
276
|
id: string;
|
|
277
|
+
description: string | null;
|
|
276
278
|
url: string | null;
|
|
277
279
|
title: string;
|
|
278
|
-
description: string | null;
|
|
279
280
|
children: string[];
|
|
280
281
|
total: number | null;
|
|
281
282
|
parentId: string | null;
|
|
@@ -283,7 +284,6 @@ export declare class ProfilePlans {
|
|
|
283
284
|
collectionIds: string[];
|
|
284
285
|
}[];
|
|
285
286
|
reusableCount: number;
|
|
286
|
-
expiresAt: string;
|
|
287
287
|
approvedAt: string | null;
|
|
288
288
|
jobIds: string[];
|
|
289
289
|
};
|
|
@@ -209,6 +209,7 @@ export declare class ProfileRecords {
|
|
|
209
209
|
isApproved: boolean;
|
|
210
210
|
}): {
|
|
211
211
|
id: string;
|
|
212
|
+
expiresAt: string;
|
|
212
213
|
runtime: "claude" | "codex" | "cursor";
|
|
213
214
|
revision: string;
|
|
214
215
|
profile: {
|
|
@@ -221,9 +222,9 @@ export declare class ProfileRecords {
|
|
|
221
222
|
discoveryId: string;
|
|
222
223
|
sources: {
|
|
223
224
|
references: {
|
|
225
|
+
title: string;
|
|
224
226
|
text: string;
|
|
225
227
|
provider: "arena" | "pinterest" | "x" | "cosmos";
|
|
226
|
-
title: string;
|
|
227
228
|
remoteId: string;
|
|
228
229
|
media: {
|
|
229
230
|
hash: string;
|
|
@@ -246,9 +247,9 @@ export declare class ProfileRecords {
|
|
|
246
247
|
}[];
|
|
247
248
|
collection: {
|
|
248
249
|
id: string;
|
|
250
|
+
description: string | null;
|
|
249
251
|
url: string | null;
|
|
250
252
|
title: string;
|
|
251
|
-
description: string | null;
|
|
252
253
|
children: string[];
|
|
253
254
|
total: number | null;
|
|
254
255
|
parentId: string | null;
|
|
@@ -256,7 +257,6 @@ export declare class ProfileRecords {
|
|
|
256
257
|
collectionIds: string[];
|
|
257
258
|
}[];
|
|
258
259
|
reusableCount: number;
|
|
259
|
-
expiresAt: string;
|
|
260
260
|
approvedAt: string | null;
|
|
261
261
|
jobIds: string[];
|
|
262
262
|
};
|
|
@@ -27,9 +27,9 @@ export declare const referenceDiscoveries: import("drizzle-orm/sqlite-core").SQL
|
|
|
27
27
|
total: number;
|
|
28
28
|
collections: {
|
|
29
29
|
id: string;
|
|
30
|
+
description: string | null;
|
|
30
31
|
url: string | null;
|
|
31
32
|
title: string;
|
|
32
|
-
description: string | null;
|
|
33
33
|
children: string[];
|
|
34
34
|
total: number | null;
|
|
35
35
|
parentId: string | null;
|
|
@@ -82,6 +82,7 @@ export declare const referencePlans: import("drizzle-orm/sqlite-core").SQLiteTab
|
|
|
82
82
|
dataType: "object json";
|
|
83
83
|
data: {
|
|
84
84
|
id: string;
|
|
85
|
+
expiresAt: string;
|
|
85
86
|
runtime: "claude" | "codex" | "cursor";
|
|
86
87
|
revision: string;
|
|
87
88
|
profile: {
|
|
@@ -94,9 +95,9 @@ export declare const referencePlans: import("drizzle-orm/sqlite-core").SQLiteTab
|
|
|
94
95
|
discoveryId: string;
|
|
95
96
|
sources: {
|
|
96
97
|
references: {
|
|
98
|
+
title: string;
|
|
97
99
|
text: string;
|
|
98
100
|
provider: "arena" | "pinterest" | "x" | "cosmos";
|
|
99
|
-
title: string;
|
|
100
101
|
remoteId: string;
|
|
101
102
|
media: {
|
|
102
103
|
hash: string;
|
|
@@ -119,9 +120,9 @@ export declare const referencePlans: import("drizzle-orm/sqlite-core").SQLiteTab
|
|
|
119
120
|
}[];
|
|
120
121
|
collection: {
|
|
121
122
|
id: string;
|
|
123
|
+
description: string | null;
|
|
122
124
|
url: string | null;
|
|
123
125
|
title: string;
|
|
124
|
-
description: string | null;
|
|
125
126
|
children: string[];
|
|
126
127
|
total: number | null;
|
|
127
128
|
parentId: string | null;
|
|
@@ -129,7 +130,6 @@ export declare const referencePlans: import("drizzle-orm/sqlite-core").SQLiteTab
|
|
|
129
130
|
collectionIds: string[];
|
|
130
131
|
}[];
|
|
131
132
|
reusableCount: number;
|
|
132
|
-
expiresAt: string;
|
|
133
133
|
approvedAt: string | null;
|
|
134
134
|
jobIds: string[];
|
|
135
135
|
};
|
|
@@ -468,9 +468,9 @@ export declare const references: import("drizzle-orm/sqlite-core").SQLiteTableWi
|
|
|
468
468
|
tableName: "profile_references";
|
|
469
469
|
dataType: "object json";
|
|
470
470
|
data: {
|
|
471
|
+
title: string;
|
|
471
472
|
text: string;
|
|
472
473
|
provider: "text" | "image" | "variant" | "arena" | "pinterest" | "x" | "cosmos" | "pdf";
|
|
473
|
-
title: string;
|
|
474
474
|
remoteId: string;
|
|
475
475
|
media: {
|
|
476
476
|
hash: string;
|
|
@@ -738,7 +738,7 @@ export declare const indexWork: import("drizzle-orm/sqlite-core").SQLiteTableWit
|
|
|
738
738
|
name: string;
|
|
739
739
|
tableName: "index_work";
|
|
740
740
|
dataType: "string enum";
|
|
741
|
-
data: "
|
|
741
|
+
data: "delete" | "upsert";
|
|
742
742
|
driverParam: string;
|
|
743
743
|
notNull: true;
|
|
744
744
|
hasDefault: false;
|
|
@@ -25,17 +25,17 @@ export declare const CosmosProfileCollectionSchema: z.ZodObject<{
|
|
|
25
25
|
children: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
|
|
26
26
|
}, "strip", z.ZodTypeAny, {
|
|
27
27
|
id: string;
|
|
28
|
+
description: string | null;
|
|
28
29
|
url: string;
|
|
29
30
|
title: string;
|
|
30
|
-
description: string | null;
|
|
31
31
|
children: string[];
|
|
32
32
|
total: number;
|
|
33
33
|
parentId: string | null;
|
|
34
34
|
}, {
|
|
35
35
|
id: string;
|
|
36
|
+
description: string | null;
|
|
36
37
|
url: string;
|
|
37
38
|
title: string;
|
|
38
|
-
description: string | null;
|
|
39
39
|
children: string[];
|
|
40
40
|
total: number;
|
|
41
41
|
parentId: string | null;
|
|
@@ -67,17 +67,17 @@ export declare const CosmosProfilePageSchema: z.ZodObject<{
|
|
|
67
67
|
children: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
|
|
68
68
|
}, "strip", z.ZodTypeAny, {
|
|
69
69
|
id: string;
|
|
70
|
+
description: string | null;
|
|
70
71
|
url: string;
|
|
71
72
|
title: string;
|
|
72
|
-
description: string | null;
|
|
73
73
|
children: string[];
|
|
74
74
|
total: number;
|
|
75
75
|
parentId: string | null;
|
|
76
76
|
}, {
|
|
77
77
|
id: string;
|
|
78
|
+
description: string | null;
|
|
78
79
|
url: string;
|
|
79
80
|
title: string;
|
|
80
|
-
description: string | null;
|
|
81
81
|
children: string[];
|
|
82
82
|
total: number;
|
|
83
83
|
parentId: string | null;
|
|
@@ -89,9 +89,9 @@ export declare const CosmosProfilePageSchema: z.ZodObject<{
|
|
|
89
89
|
nextCursor: string | null;
|
|
90
90
|
collections: {
|
|
91
91
|
id: string;
|
|
92
|
+
description: string | null;
|
|
92
93
|
url: string;
|
|
93
94
|
title: string;
|
|
94
|
-
description: string | null;
|
|
95
95
|
children: string[];
|
|
96
96
|
total: number;
|
|
97
97
|
parentId: string | null;
|
|
@@ -107,9 +107,9 @@ export declare const CosmosProfilePageSchema: z.ZodObject<{
|
|
|
107
107
|
nextCursor: string | null;
|
|
108
108
|
collections: {
|
|
109
109
|
id: string;
|
|
110
|
+
description: string | null;
|
|
110
111
|
url: string;
|
|
111
112
|
title: string;
|
|
112
|
-
description: string | null;
|
|
113
113
|
children: string[];
|
|
114
114
|
total: number;
|
|
115
115
|
parentId: string | null;
|
package/dist/types/cosmos.d.ts
CHANGED
|
@@ -50,10 +50,10 @@ export declare const CosmosElementSchema: z.ZodObject<{
|
|
|
50
50
|
unsupportedReason: z.ZodOptional<z.ZodString>;
|
|
51
51
|
}, "strip", z.ZodTypeAny, {
|
|
52
52
|
id: string;
|
|
53
|
-
text: string;
|
|
54
|
-
owner: string | null;
|
|
55
53
|
url: string;
|
|
56
54
|
title: string;
|
|
55
|
+
text: string;
|
|
56
|
+
owner: string | null;
|
|
57
57
|
images: {
|
|
58
58
|
url: string;
|
|
59
59
|
representation: "image" | "video-cover";
|
|
@@ -63,10 +63,10 @@ export declare const CosmosElementSchema: z.ZodObject<{
|
|
|
63
63
|
unsupportedReason?: string | undefined;
|
|
64
64
|
}, {
|
|
65
65
|
id: string;
|
|
66
|
-
text: string;
|
|
67
|
-
owner: string | null;
|
|
68
66
|
url: string;
|
|
69
67
|
title: string;
|
|
68
|
+
text: string;
|
|
69
|
+
owner: string | null;
|
|
70
70
|
images: {
|
|
71
71
|
url: string;
|
|
72
72
|
representation: "image" | "video-cover";
|
|
@@ -113,10 +113,10 @@ export declare const CosmosPageSchema: z.ZodObject<{
|
|
|
113
113
|
unsupportedReason: z.ZodOptional<z.ZodString>;
|
|
114
114
|
}, "strip", z.ZodTypeAny, {
|
|
115
115
|
id: string;
|
|
116
|
-
text: string;
|
|
117
|
-
owner: string | null;
|
|
118
116
|
url: string;
|
|
119
117
|
title: string;
|
|
118
|
+
text: string;
|
|
119
|
+
owner: string | null;
|
|
120
120
|
images: {
|
|
121
121
|
url: string;
|
|
122
122
|
representation: "image" | "video-cover";
|
|
@@ -126,10 +126,10 @@ export declare const CosmosPageSchema: z.ZodObject<{
|
|
|
126
126
|
unsupportedReason?: string | undefined;
|
|
127
127
|
}, {
|
|
128
128
|
id: string;
|
|
129
|
-
text: string;
|
|
130
|
-
owner: string | null;
|
|
131
129
|
url: string;
|
|
132
130
|
title: string;
|
|
131
|
+
text: string;
|
|
132
|
+
owner: string | null;
|
|
133
133
|
images: {
|
|
134
134
|
url: string;
|
|
135
135
|
representation: "image" | "video-cover";
|
|
@@ -149,10 +149,10 @@ export declare const CosmosPageSchema: z.ZodObject<{
|
|
|
149
149
|
};
|
|
150
150
|
elements: {
|
|
151
151
|
id: string;
|
|
152
|
-
text: string;
|
|
153
|
-
owner: string | null;
|
|
154
152
|
url: string;
|
|
155
153
|
title: string;
|
|
154
|
+
text: string;
|
|
155
|
+
owner: string | null;
|
|
156
156
|
images: {
|
|
157
157
|
url: string;
|
|
158
158
|
representation: "image" | "video-cover";
|
|
@@ -172,10 +172,10 @@ export declare const CosmosPageSchema: z.ZodObject<{
|
|
|
172
172
|
};
|
|
173
173
|
elements: {
|
|
174
174
|
id: string;
|
|
175
|
-
text: string;
|
|
176
|
-
owner: string | null;
|
|
177
175
|
url: string;
|
|
178
176
|
title: string;
|
|
177
|
+
text: string;
|
|
178
|
+
owner: string | null;
|
|
179
179
|
images: {
|
|
180
180
|
url: string;
|
|
181
181
|
representation: "image" | "video-cover";
|
|
@@ -225,10 +225,10 @@ export declare const CosmosResultSchema: z.ZodDiscriminatedUnion<"status", [z.Zo
|
|
|
225
225
|
unsupportedReason: z.ZodOptional<z.ZodString>;
|
|
226
226
|
}, "strip", z.ZodTypeAny, {
|
|
227
227
|
id: string;
|
|
228
|
-
text: string;
|
|
229
|
-
owner: string | null;
|
|
230
228
|
url: string;
|
|
231
229
|
title: string;
|
|
230
|
+
text: string;
|
|
231
|
+
owner: string | null;
|
|
232
232
|
images: {
|
|
233
233
|
url: string;
|
|
234
234
|
representation: "image" | "video-cover";
|
|
@@ -238,10 +238,10 @@ export declare const CosmosResultSchema: z.ZodDiscriminatedUnion<"status", [z.Zo
|
|
|
238
238
|
unsupportedReason?: string | undefined;
|
|
239
239
|
}, {
|
|
240
240
|
id: string;
|
|
241
|
-
text: string;
|
|
242
|
-
owner: string | null;
|
|
243
241
|
url: string;
|
|
244
242
|
title: string;
|
|
243
|
+
text: string;
|
|
244
|
+
owner: string | null;
|
|
245
245
|
images: {
|
|
246
246
|
url: string;
|
|
247
247
|
representation: "image" | "video-cover";
|
|
@@ -264,10 +264,10 @@ export declare const CosmosResultSchema: z.ZodDiscriminatedUnion<"status", [z.Zo
|
|
|
264
264
|
};
|
|
265
265
|
elements: {
|
|
266
266
|
id: string;
|
|
267
|
-
text: string;
|
|
268
|
-
owner: string | null;
|
|
269
267
|
url: string;
|
|
270
268
|
title: string;
|
|
269
|
+
text: string;
|
|
270
|
+
owner: string | null;
|
|
271
271
|
images: {
|
|
272
272
|
url: string;
|
|
273
273
|
representation: "image" | "video-cover";
|
|
@@ -288,10 +288,10 @@ export declare const CosmosResultSchema: z.ZodDiscriminatedUnion<"status", [z.Zo
|
|
|
288
288
|
};
|
|
289
289
|
elements: {
|
|
290
290
|
id: string;
|
|
291
|
-
text: string;
|
|
292
|
-
owner: string | null;
|
|
293
291
|
url: string;
|
|
294
292
|
title: string;
|
|
293
|
+
text: string;
|
|
294
|
+
owner: string | null;
|
|
295
295
|
images: {
|
|
296
296
|
url: string;
|
|
297
297
|
representation: "image" | "video-cover";
|
|
@@ -23,15 +23,15 @@ export declare const DesignReferenceSearchRequestSchema: z.ZodObject<{
|
|
|
23
23
|
limit: z.ZodDefault<z.ZodNumber>;
|
|
24
24
|
runtime: z.ZodDefault<z.ZodEnum<["codex", "claude", "cursor"]>>;
|
|
25
25
|
}, "strip", z.ZodTypeAny, {
|
|
26
|
-
runtime: "claude" | "codex" | "cursor";
|
|
27
26
|
query: string;
|
|
28
27
|
limit: number;
|
|
28
|
+
runtime: "claude" | "codex" | "cursor";
|
|
29
29
|
sourceId?: string | undefined;
|
|
30
30
|
}, {
|
|
31
31
|
query: string;
|
|
32
|
+
limit?: number | undefined;
|
|
32
33
|
runtime?: "claude" | "codex" | "cursor" | undefined;
|
|
33
34
|
sourceId?: string | undefined;
|
|
34
|
-
limit?: number | undefined;
|
|
35
35
|
}>;
|
|
36
36
|
export type DesignReferenceSearchRequest = z.infer<typeof DesignReferenceSearchRequestSchema>;
|
|
37
37
|
export interface DesignReferenceSearchResult {
|
|
@@ -75,13 +75,13 @@ export declare const ProfileSourceInputSchema: z.ZodObject<{
|
|
|
75
75
|
title: z.ZodString;
|
|
76
76
|
url: z.ZodOptional<z.ZodString>;
|
|
77
77
|
}, "strip", z.ZodTypeAny, {
|
|
78
|
-
provider: "text" | "image" | "variant" | "arena" | "pinterest" | "x" | "cosmos" | "pdf";
|
|
79
78
|
title: string;
|
|
79
|
+
provider: "text" | "image" | "variant" | "arena" | "pinterest" | "x" | "cosmos" | "pdf";
|
|
80
80
|
remoteId: string;
|
|
81
81
|
url?: string | undefined;
|
|
82
82
|
}, {
|
|
83
|
-
provider: "text" | "image" | "variant" | "arena" | "pinterest" | "x" | "cosmos" | "pdf";
|
|
84
83
|
title: string;
|
|
84
|
+
provider: "text" | "image" | "variant" | "arena" | "pinterest" | "x" | "cosmos" | "pdf";
|
|
85
85
|
remoteId: string;
|
|
86
86
|
url?: string | undefined;
|
|
87
87
|
}>;
|
|
@@ -132,9 +132,9 @@ export declare const ProfileReferenceInputSchema: z.ZodObject<{
|
|
|
132
132
|
}>>;
|
|
133
133
|
note: z.ZodOptional<z.ZodString>;
|
|
134
134
|
}, "strip", z.ZodTypeAny, {
|
|
135
|
+
title: string;
|
|
135
136
|
text: string;
|
|
136
137
|
provider: "text" | "image" | "variant" | "arena" | "pinterest" | "x" | "cosmos" | "pdf";
|
|
137
|
-
title: string;
|
|
138
138
|
remoteId: string;
|
|
139
139
|
media: {
|
|
140
140
|
hash: string;
|
|
@@ -155,9 +155,9 @@ export declare const ProfileReferenceInputSchema: z.ZodObject<{
|
|
|
155
155
|
remoteImageRepresentations?: ("image" | "video-cover")[] | undefined;
|
|
156
156
|
unsupportedReason?: string | undefined;
|
|
157
157
|
}, {
|
|
158
|
+
title: string;
|
|
158
159
|
text: string;
|
|
159
160
|
provider: "text" | "image" | "variant" | "arena" | "pinterest" | "x" | "cosmos" | "pdf";
|
|
160
|
-
title: string;
|
|
161
161
|
remoteId: string;
|
|
162
162
|
media: {
|
|
163
163
|
hash: string;
|
|
@@ -277,7 +277,7 @@ export declare const ProfilePreparationSchema: z.ZodObject<{
|
|
|
277
277
|
excludedMediaHashes: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
278
278
|
suppliedInputHashes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
279
279
|
}, "strip", z.ZodTypeAny, {
|
|
280
|
-
mode: "
|
|
280
|
+
mode: "off" | "auto" | "uploads";
|
|
281
281
|
instruction: string;
|
|
282
282
|
runtime: "claude" | "codex" | "cursor";
|
|
283
283
|
requestId: string;
|
|
@@ -289,7 +289,7 @@ export declare const ProfilePreparationSchema: z.ZodObject<{
|
|
|
289
289
|
instruction: string;
|
|
290
290
|
runtime: "claude" | "codex" | "cursor";
|
|
291
291
|
requestId: string;
|
|
292
|
-
mode?: "
|
|
292
|
+
mode?: "off" | "auto" | "uploads" | undefined;
|
|
293
293
|
excludedSourceIds?: string[] | undefined;
|
|
294
294
|
excludedReferenceIds?: string[] | undefined;
|
|
295
295
|
excludedMediaHashes?: string[] | undefined;
|
|
@@ -308,7 +308,7 @@ export declare const ProfilePreparationRequestSchema: z.ZodEffects<z.ZodObject<{
|
|
|
308
308
|
mode: z.ZodDefault<z.ZodEnum<["auto", "off", "uploads"]>>;
|
|
309
309
|
uploads: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
310
310
|
}, "strip", z.ZodTypeAny, {
|
|
311
|
-
mode: "
|
|
311
|
+
mode: "off" | "auto" | "uploads";
|
|
312
312
|
instruction: string;
|
|
313
313
|
runtime: "claude" | "codex" | "cursor";
|
|
314
314
|
requestId: string;
|
|
@@ -321,14 +321,14 @@ export declare const ProfilePreparationRequestSchema: z.ZodEffects<z.ZodObject<{
|
|
|
321
321
|
instruction: string;
|
|
322
322
|
runtime: "claude" | "codex" | "cursor";
|
|
323
323
|
requestId: string;
|
|
324
|
-
mode?: "
|
|
324
|
+
mode?: "off" | "auto" | "uploads" | undefined;
|
|
325
325
|
uploads?: string[] | undefined;
|
|
326
326
|
excludedSourceIds?: string[] | undefined;
|
|
327
327
|
excludedReferenceIds?: string[] | undefined;
|
|
328
328
|
excludedMediaHashes?: string[] | undefined;
|
|
329
329
|
suppliedInputHashes?: string[] | undefined;
|
|
330
330
|
}>, {
|
|
331
|
-
mode: "
|
|
331
|
+
mode: "off" | "auto" | "uploads";
|
|
332
332
|
instruction: string;
|
|
333
333
|
runtime: "claude" | "codex" | "cursor";
|
|
334
334
|
requestId: string;
|
|
@@ -341,7 +341,7 @@ export declare const ProfilePreparationRequestSchema: z.ZodEffects<z.ZodObject<{
|
|
|
341
341
|
instruction: string;
|
|
342
342
|
runtime: "claude" | "codex" | "cursor";
|
|
343
343
|
requestId: string;
|
|
344
|
-
mode?: "
|
|
344
|
+
mode?: "off" | "auto" | "uploads" | undefined;
|
|
345
345
|
uploads?: string[] | undefined;
|
|
346
346
|
excludedSourceIds?: string[] | undefined;
|
|
347
347
|
excludedReferenceIds?: string[] | undefined;
|
|
@@ -353,11 +353,11 @@ export declare const ProfilePacketSchema: z.ZodObject<{
|
|
|
353
353
|
suppliedReferences: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodUnknown, {
|
|
354
354
|
id: string;
|
|
355
355
|
title: string;
|
|
356
|
+
url?: string | undefined;
|
|
356
357
|
image?: {
|
|
357
358
|
hash: string;
|
|
358
359
|
mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
|
|
359
360
|
} | undefined;
|
|
360
|
-
url?: string | undefined;
|
|
361
361
|
reason?: string | undefined;
|
|
362
362
|
}, unknown>, "many">>;
|
|
363
363
|
failedUploadCount: z.ZodOptional<z.ZodNumber>;
|
|
@@ -486,11 +486,11 @@ export declare const ProfilePacketSchema: z.ZodObject<{
|
|
|
486
486
|
suppliedReferences?: {
|
|
487
487
|
id: string;
|
|
488
488
|
title: string;
|
|
489
|
+
url?: string | undefined;
|
|
489
490
|
image?: {
|
|
490
491
|
hash: string;
|
|
491
492
|
mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
|
|
492
493
|
} | undefined;
|
|
493
|
-
url?: string | undefined;
|
|
494
494
|
reason?: string | undefined;
|
|
495
495
|
}[] | undefined;
|
|
496
496
|
failedUploadCount?: number | undefined;
|
|
@@ -536,11 +536,11 @@ export declare const ProfileContextSchema: z.ZodObject<{
|
|
|
536
536
|
suppliedReferences: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodUnknown, {
|
|
537
537
|
id: string;
|
|
538
538
|
title: string;
|
|
539
|
+
url?: string | undefined;
|
|
539
540
|
image?: {
|
|
540
541
|
hash: string;
|
|
541
542
|
mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
|
|
542
543
|
} | undefined;
|
|
543
|
-
url?: string | undefined;
|
|
544
544
|
reason?: string | undefined;
|
|
545
545
|
}, unknown>, "many">>;
|
|
546
546
|
failedUploadCount: z.ZodOptional<z.ZodNumber>;
|
|
@@ -641,11 +641,11 @@ export declare const ProfileContextSchema: z.ZodObject<{
|
|
|
641
641
|
suppliedReferences?: {
|
|
642
642
|
id: string;
|
|
643
643
|
title: string;
|
|
644
|
+
url?: string | undefined;
|
|
644
645
|
image?: {
|
|
645
646
|
hash: string;
|
|
646
647
|
mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
|
|
647
648
|
} | undefined;
|
|
648
|
-
url?: string | undefined;
|
|
649
649
|
reason?: string | undefined;
|
|
650
650
|
}[] | undefined;
|
|
651
651
|
failedUploadCount?: number | undefined;
|
package/dist/types/guidance.d.ts
CHANGED
|
@@ -455,16 +455,16 @@ export declare const GuidanceSelectionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
455
455
|
mode: z.ZodDefault<z.ZodEnum<["auto", "off"]>>;
|
|
456
456
|
excludedIds: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
457
457
|
}, "strict", z.ZodTypeAny, {
|
|
458
|
-
mode: "
|
|
458
|
+
mode: "off" | "auto";
|
|
459
459
|
excludedIds: string[];
|
|
460
460
|
}, {
|
|
461
|
-
mode?: "
|
|
461
|
+
mode?: "off" | "auto" | undefined;
|
|
462
462
|
excludedIds?: string[] | undefined;
|
|
463
463
|
}>, {
|
|
464
|
-
mode: "
|
|
464
|
+
mode: "off" | "auto";
|
|
465
465
|
excludedIds: string[];
|
|
466
466
|
}, {
|
|
467
|
-
mode?: "
|
|
467
|
+
mode?: "off" | "auto" | undefined;
|
|
468
468
|
excludedIds?: string[] | undefined;
|
|
469
469
|
}>;
|
|
470
470
|
export type GuidanceDocument = z.infer<typeof GuidanceDocumentSchema>;
|