rivet-design 0.23.0 → 0.23.1
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 +330 -330
- package/dist/agent-variants/workItemInput.d.ts +192 -192
- package/dist/config/proxy.d.ts +0 -2
- package/dist/config/proxy.d.ts.map +1 -1
- package/dist/config/proxy.js +1 -10
- package/dist/config/proxy.js.map +1 -1
- package/dist/routes/git.d.ts +0 -1
- package/dist/routes/git.d.ts.map +1 -1
- package/dist/routes/git.js +2 -7
- package/dist/routes/git.js.map +1 -1
- package/dist/server.d.ts.map +1 -1
- package/dist/server.js +1 -5
- package/dist/server.js.map +1 -1
- package/dist/services/AuthService.d.ts +2 -2
- package/dist/services/CommitMessageGenerator.d.ts +1 -5
- package/dist/services/CommitMessageGenerator.d.ts.map +1 -1
- package/dist/services/CommitMessageGenerator.js +9 -38
- package/dist/services/CommitMessageGenerator.js.map +1 -1
- package/dist/services/IntegrationsClient.d.ts +3 -3
- package/dist/services/LocalGitService.d.ts +0 -3
- package/dist/services/LocalGitService.d.ts.map +1 -1
- package/dist/services/LocalGitService.js +0 -41
- package/dist/services/LocalGitService.js.map +1 -1
- package/dist/services/PRTitleGenerator.d.ts +2 -8
- package/dist/services/PRTitleGenerator.d.ts.map +1 -1
- package/dist/services/PRTitleGenerator.js +12 -74
- package/dist/services/PRTitleGenerator.js.map +1 -1
- package/dist/services/SessionService.d.ts +1 -4
- package/dist/services/SessionService.d.ts.map +1 -1
- package/dist/services/SessionService.js +5 -16
- package/dist/services/SessionService.js.map +1 -1
- package/dist/services/profiles/DesignProfiles.d.ts +30 -30
- package/dist/services/profiles/ProfileImports.d.ts +1 -1
- 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/profiles/ProfilePlans.d.ts +15 -15
- package/dist/storage/profiles/ProfileRecords.d.ts +11 -11
- package/dist/storage/profiles/planSchema.d.ts +4 -4
- package/dist/storage/profiles/schema.d.ts +7 -7
- package/dist/types/cosmos-profile.d.ts +6 -6
- package/dist/types/cosmos.d.ts +10 -10
- package/dist/types/design-profile.d.ts +17 -17
- package/dist/types/guidance-references.d.ts +6 -6
- package/dist/types/guidance.d.ts +80 -80
- package/dist/types/reference-connectors.d.ts +10 -10
- package/dist/types/reference-onboarding.d.ts +63 -63
- package/dist/types/reference-pages.d.ts +10 -10
- package/dist/types/variant-reference.d.ts +4 -4
- package/package.json +2 -1
- package/src/ui/dist/assets/{LibraryEntry-B9ZkJUtN.js → LibraryEntry-BUwOgHmJ.js} +1 -1
- package/src/ui/dist/assets/main-DQKavyjz.js +435 -0
- package/src/ui/dist/index.html +1 -1
- package/dist/prompts/gitPrompts.d.ts +0 -4
- package/dist/prompts/gitPrompts.d.ts.map +0 -1
- package/dist/prompts/gitPrompts.js +0 -61
- package/dist/prompts/gitPrompts.js.map +0 -1
- package/dist/services/GatewayClient.d.ts +0 -44
- package/dist/services/GatewayClient.d.ts.map +0 -1
- package/dist/services/GatewayClient.js +0 -204
- package/dist/services/GatewayClient.js.map +0 -1
- package/src/ui/dist/assets/main-Dls3YqrM.js +0 -435
package/dist/types/guidance.d.ts
CHANGED
|
@@ -13,24 +13,24 @@ export declare const GuidanceAttachmentSchema: z.ZodObject<{
|
|
|
13
13
|
path: z.ZodString;
|
|
14
14
|
}, "strip", z.ZodTypeAny, {
|
|
15
15
|
path: string;
|
|
16
|
-
source: string;
|
|
17
16
|
hash: string;
|
|
18
17
|
mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif";
|
|
19
18
|
bytes: number;
|
|
20
|
-
representation: "
|
|
19
|
+
representation: "variant" | "image" | "video-cover" | "page";
|
|
20
|
+
source: string;
|
|
21
21
|
alt: string;
|
|
22
22
|
title?: string | undefined;
|
|
23
23
|
page?: number | undefined;
|
|
24
24
|
}, {
|
|
25
25
|
path: string;
|
|
26
|
-
source: string;
|
|
27
26
|
hash: string;
|
|
28
27
|
mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif";
|
|
29
28
|
bytes: number;
|
|
29
|
+
source: string;
|
|
30
30
|
alt: string;
|
|
31
31
|
title?: string | undefined;
|
|
32
32
|
page?: number | undefined;
|
|
33
|
-
representation?: "
|
|
33
|
+
representation?: "variant" | "image" | "video-cover" | "page" | undefined;
|
|
34
34
|
}>;
|
|
35
35
|
export type GuidanceAttachment = z.infer<typeof GuidanceAttachmentSchema>;
|
|
36
36
|
export declare const guidanceByteLength: (markdown: string) => number;
|
|
@@ -51,24 +51,24 @@ export declare const GuidanceDocumentSchema: z.ZodObject<{
|
|
|
51
51
|
path: z.ZodString;
|
|
52
52
|
}, "strip", z.ZodTypeAny, {
|
|
53
53
|
path: string;
|
|
54
|
-
source: string;
|
|
55
54
|
hash: string;
|
|
56
55
|
mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif";
|
|
57
56
|
bytes: number;
|
|
58
|
-
representation: "
|
|
57
|
+
representation: "variant" | "image" | "video-cover" | "page";
|
|
58
|
+
source: string;
|
|
59
59
|
alt: string;
|
|
60
60
|
title?: string | undefined;
|
|
61
61
|
page?: number | undefined;
|
|
62
62
|
}, {
|
|
63
63
|
path: string;
|
|
64
|
-
source: string;
|
|
65
64
|
hash: string;
|
|
66
65
|
mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif";
|
|
67
66
|
bytes: number;
|
|
67
|
+
source: string;
|
|
68
68
|
alt: string;
|
|
69
69
|
title?: string | undefined;
|
|
70
70
|
page?: number | undefined;
|
|
71
|
-
representation?: "
|
|
71
|
+
representation?: "variant" | "image" | "video-cover" | "page" | undefined;
|
|
72
72
|
}>, "many">>;
|
|
73
73
|
references: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
|
|
74
74
|
kind: z.ZodEnum<["url", "repository"]>;
|
|
@@ -98,25 +98,25 @@ export declare const GuidanceDocumentSchema: z.ZodObject<{
|
|
|
98
98
|
url: string;
|
|
99
99
|
kind: "url" | "repository";
|
|
100
100
|
intent: string;
|
|
101
|
-
digest?: string | undefined;
|
|
102
101
|
files?: {
|
|
103
102
|
name: string;
|
|
104
103
|
content: string;
|
|
105
104
|
path?: string | undefined;
|
|
106
105
|
sha256?: string | undefined;
|
|
107
106
|
}[] | undefined;
|
|
107
|
+
digest?: string | undefined;
|
|
108
108
|
revision?: string | undefined;
|
|
109
109
|
}, {
|
|
110
110
|
url: string;
|
|
111
111
|
kind: "url" | "repository";
|
|
112
112
|
intent: string;
|
|
113
|
-
digest?: string | undefined;
|
|
114
113
|
files?: {
|
|
115
114
|
name: string;
|
|
116
115
|
content: string;
|
|
117
116
|
path?: string | undefined;
|
|
118
117
|
sha256?: string | undefined;
|
|
119
118
|
}[] | undefined;
|
|
119
|
+
digest?: string | undefined;
|
|
120
120
|
revision?: string | undefined;
|
|
121
121
|
}>, z.ZodObject<{
|
|
122
122
|
kind: z.ZodLiteral<"directory">;
|
|
@@ -138,13 +138,13 @@ export declare const GuidanceDocumentSchema: z.ZodObject<{
|
|
|
138
138
|
url: string;
|
|
139
139
|
kind: "url" | "repository";
|
|
140
140
|
intent: string;
|
|
141
|
-
digest?: string | undefined;
|
|
142
141
|
files?: {
|
|
143
142
|
name: string;
|
|
144
143
|
content: string;
|
|
145
144
|
path?: string | undefined;
|
|
146
145
|
sha256?: string | undefined;
|
|
147
146
|
}[] | undefined;
|
|
147
|
+
digest?: string | undefined;
|
|
148
148
|
revision?: string | undefined;
|
|
149
149
|
})[], ({
|
|
150
150
|
path: string;
|
|
@@ -154,13 +154,13 @@ export declare const GuidanceDocumentSchema: z.ZodObject<{
|
|
|
154
154
|
url: string;
|
|
155
155
|
kind: "url" | "repository";
|
|
156
156
|
intent: string;
|
|
157
|
-
digest?: string | undefined;
|
|
158
157
|
files?: {
|
|
159
158
|
name: string;
|
|
160
159
|
content: string;
|
|
161
160
|
path?: string | undefined;
|
|
162
161
|
sha256?: string | undefined;
|
|
163
162
|
}[] | undefined;
|
|
163
|
+
digest?: string | undefined;
|
|
164
164
|
revision?: string | undefined;
|
|
165
165
|
})[]>>;
|
|
166
166
|
}, "strict", z.ZodTypeAny, {
|
|
@@ -169,11 +169,11 @@ export declare const GuidanceDocumentSchema: z.ZodObject<{
|
|
|
169
169
|
markdown: string;
|
|
170
170
|
attachments?: {
|
|
171
171
|
path: string;
|
|
172
|
-
source: string;
|
|
173
172
|
hash: string;
|
|
174
173
|
mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif";
|
|
175
174
|
bytes: number;
|
|
176
|
-
representation: "
|
|
175
|
+
representation: "variant" | "image" | "video-cover" | "page";
|
|
176
|
+
source: string;
|
|
177
177
|
alt: string;
|
|
178
178
|
title?: string | undefined;
|
|
179
179
|
page?: number | undefined;
|
|
@@ -186,13 +186,13 @@ export declare const GuidanceDocumentSchema: z.ZodObject<{
|
|
|
186
186
|
url: string;
|
|
187
187
|
kind: "url" | "repository";
|
|
188
188
|
intent: string;
|
|
189
|
-
digest?: string | undefined;
|
|
190
189
|
files?: {
|
|
191
190
|
name: string;
|
|
192
191
|
content: string;
|
|
193
192
|
path?: string | undefined;
|
|
194
193
|
sha256?: string | undefined;
|
|
195
194
|
}[] | undefined;
|
|
195
|
+
digest?: string | undefined;
|
|
196
196
|
revision?: string | undefined;
|
|
197
197
|
})[] | undefined;
|
|
198
198
|
}, {
|
|
@@ -201,14 +201,14 @@ export declare const GuidanceDocumentSchema: z.ZodObject<{
|
|
|
201
201
|
markdown: string;
|
|
202
202
|
attachments?: {
|
|
203
203
|
path: string;
|
|
204
|
-
source: string;
|
|
205
204
|
hash: string;
|
|
206
205
|
mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif";
|
|
207
206
|
bytes: number;
|
|
207
|
+
source: string;
|
|
208
208
|
alt: string;
|
|
209
209
|
title?: string | undefined;
|
|
210
210
|
page?: number | undefined;
|
|
211
|
-
representation?: "
|
|
211
|
+
representation?: "variant" | "image" | "video-cover" | "page" | undefined;
|
|
212
212
|
}[] | undefined;
|
|
213
213
|
references?: ({
|
|
214
214
|
path: string;
|
|
@@ -218,13 +218,13 @@ export declare const GuidanceDocumentSchema: z.ZodObject<{
|
|
|
218
218
|
url: string;
|
|
219
219
|
kind: "url" | "repository";
|
|
220
220
|
intent: string;
|
|
221
|
-
digest?: string | undefined;
|
|
222
221
|
files?: {
|
|
223
222
|
name: string;
|
|
224
223
|
content: string;
|
|
225
224
|
path?: string | undefined;
|
|
226
225
|
sha256?: string | undefined;
|
|
227
226
|
}[] | undefined;
|
|
227
|
+
digest?: string | undefined;
|
|
228
228
|
revision?: string | undefined;
|
|
229
229
|
})[] | undefined;
|
|
230
230
|
}>;
|
|
@@ -245,24 +245,24 @@ export declare const SavedGuidanceSchema: z.ZodObject<{
|
|
|
245
245
|
path: z.ZodString;
|
|
246
246
|
}, "strip", z.ZodTypeAny, {
|
|
247
247
|
path: string;
|
|
248
|
-
source: string;
|
|
249
248
|
hash: string;
|
|
250
249
|
mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif";
|
|
251
250
|
bytes: number;
|
|
252
|
-
representation: "
|
|
251
|
+
representation: "variant" | "image" | "video-cover" | "page";
|
|
252
|
+
source: string;
|
|
253
253
|
alt: string;
|
|
254
254
|
title?: string | undefined;
|
|
255
255
|
page?: number | undefined;
|
|
256
256
|
}, {
|
|
257
257
|
path: string;
|
|
258
|
-
source: string;
|
|
259
258
|
hash: string;
|
|
260
259
|
mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif";
|
|
261
260
|
bytes: number;
|
|
261
|
+
source: string;
|
|
262
262
|
alt: string;
|
|
263
263
|
title?: string | undefined;
|
|
264
264
|
page?: number | undefined;
|
|
265
|
-
representation?: "
|
|
265
|
+
representation?: "variant" | "image" | "video-cover" | "page" | undefined;
|
|
266
266
|
}>, "many">>;
|
|
267
267
|
references: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
|
|
268
268
|
kind: z.ZodEnum<["url", "repository"]>;
|
|
@@ -292,25 +292,25 @@ export declare const SavedGuidanceSchema: z.ZodObject<{
|
|
|
292
292
|
url: string;
|
|
293
293
|
kind: "url" | "repository";
|
|
294
294
|
intent: string;
|
|
295
|
-
digest?: string | undefined;
|
|
296
295
|
files?: {
|
|
297
296
|
name: string;
|
|
298
297
|
content: string;
|
|
299
298
|
path?: string | undefined;
|
|
300
299
|
sha256?: string | undefined;
|
|
301
300
|
}[] | undefined;
|
|
301
|
+
digest?: string | undefined;
|
|
302
302
|
revision?: string | undefined;
|
|
303
303
|
}, {
|
|
304
304
|
url: string;
|
|
305
305
|
kind: "url" | "repository";
|
|
306
306
|
intent: string;
|
|
307
|
-
digest?: string | undefined;
|
|
308
307
|
files?: {
|
|
309
308
|
name: string;
|
|
310
309
|
content: string;
|
|
311
310
|
path?: string | undefined;
|
|
312
311
|
sha256?: string | undefined;
|
|
313
312
|
}[] | undefined;
|
|
313
|
+
digest?: string | undefined;
|
|
314
314
|
revision?: string | undefined;
|
|
315
315
|
}>, z.ZodObject<{
|
|
316
316
|
kind: z.ZodLiteral<"directory">;
|
|
@@ -332,13 +332,13 @@ export declare const SavedGuidanceSchema: z.ZodObject<{
|
|
|
332
332
|
url: string;
|
|
333
333
|
kind: "url" | "repository";
|
|
334
334
|
intent: string;
|
|
335
|
-
digest?: string | undefined;
|
|
336
335
|
files?: {
|
|
337
336
|
name: string;
|
|
338
337
|
content: string;
|
|
339
338
|
path?: string | undefined;
|
|
340
339
|
sha256?: string | undefined;
|
|
341
340
|
}[] | undefined;
|
|
341
|
+
digest?: string | undefined;
|
|
342
342
|
revision?: string | undefined;
|
|
343
343
|
})[], ({
|
|
344
344
|
path: string;
|
|
@@ -348,13 +348,13 @@ export declare const SavedGuidanceSchema: z.ZodObject<{
|
|
|
348
348
|
url: string;
|
|
349
349
|
kind: "url" | "repository";
|
|
350
350
|
intent: string;
|
|
351
|
-
digest?: string | undefined;
|
|
352
351
|
files?: {
|
|
353
352
|
name: string;
|
|
354
353
|
content: string;
|
|
355
354
|
path?: string | undefined;
|
|
356
355
|
sha256?: string | undefined;
|
|
357
356
|
}[] | undefined;
|
|
357
|
+
digest?: string | undefined;
|
|
358
358
|
revision?: string | undefined;
|
|
359
359
|
})[]>>;
|
|
360
360
|
} & {
|
|
@@ -373,11 +373,11 @@ export declare const SavedGuidanceSchema: z.ZodObject<{
|
|
|
373
373
|
isEnabled: boolean;
|
|
374
374
|
attachments?: {
|
|
375
375
|
path: string;
|
|
376
|
-
source: string;
|
|
377
376
|
hash: string;
|
|
378
377
|
mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif";
|
|
379
378
|
bytes: number;
|
|
380
|
-
representation: "
|
|
379
|
+
representation: "variant" | "image" | "video-cover" | "page";
|
|
380
|
+
source: string;
|
|
381
381
|
alt: string;
|
|
382
382
|
title?: string | undefined;
|
|
383
383
|
page?: number | undefined;
|
|
@@ -390,13 +390,13 @@ export declare const SavedGuidanceSchema: z.ZodObject<{
|
|
|
390
390
|
url: string;
|
|
391
391
|
kind: "url" | "repository";
|
|
392
392
|
intent: string;
|
|
393
|
-
digest?: string | undefined;
|
|
394
393
|
files?: {
|
|
395
394
|
name: string;
|
|
396
395
|
content: string;
|
|
397
396
|
path?: string | undefined;
|
|
398
397
|
sha256?: string | undefined;
|
|
399
398
|
}[] | undefined;
|
|
399
|
+
digest?: string | undefined;
|
|
400
400
|
revision?: string | undefined;
|
|
401
401
|
})[] | undefined;
|
|
402
402
|
verifier?: {
|
|
@@ -409,14 +409,14 @@ export declare const SavedGuidanceSchema: z.ZodObject<{
|
|
|
409
409
|
isEnabled: boolean;
|
|
410
410
|
attachments?: {
|
|
411
411
|
path: string;
|
|
412
|
-
source: string;
|
|
413
412
|
hash: string;
|
|
414
413
|
mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif";
|
|
415
414
|
bytes: number;
|
|
415
|
+
source: string;
|
|
416
416
|
alt: string;
|
|
417
417
|
title?: string | undefined;
|
|
418
418
|
page?: number | undefined;
|
|
419
|
-
representation?: "
|
|
419
|
+
representation?: "variant" | "image" | "video-cover" | "page" | undefined;
|
|
420
420
|
}[] | undefined;
|
|
421
421
|
references?: ({
|
|
422
422
|
path: string;
|
|
@@ -426,13 +426,13 @@ export declare const SavedGuidanceSchema: z.ZodObject<{
|
|
|
426
426
|
url: string;
|
|
427
427
|
kind: "url" | "repository";
|
|
428
428
|
intent: string;
|
|
429
|
-
digest?: string | undefined;
|
|
430
429
|
files?: {
|
|
431
430
|
name: string;
|
|
432
431
|
content: string;
|
|
433
432
|
path?: string | undefined;
|
|
434
433
|
sha256?: string | undefined;
|
|
435
434
|
}[] | undefined;
|
|
435
|
+
digest?: string | undefined;
|
|
436
436
|
revision?: string | undefined;
|
|
437
437
|
})[] | undefined;
|
|
438
438
|
verifier?: {
|
|
@@ -455,24 +455,24 @@ export declare const GuidanceInputSchema: z.ZodObject<{
|
|
|
455
455
|
path: z.ZodString;
|
|
456
456
|
}, "strip", z.ZodTypeAny, {
|
|
457
457
|
path: string;
|
|
458
|
-
source: string;
|
|
459
458
|
hash: string;
|
|
460
459
|
mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif";
|
|
461
460
|
bytes: number;
|
|
462
|
-
representation: "
|
|
461
|
+
representation: "variant" | "image" | "video-cover" | "page";
|
|
462
|
+
source: string;
|
|
463
463
|
alt: string;
|
|
464
464
|
title?: string | undefined;
|
|
465
465
|
page?: number | undefined;
|
|
466
466
|
}, {
|
|
467
467
|
path: string;
|
|
468
|
-
source: string;
|
|
469
468
|
hash: string;
|
|
470
469
|
mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif";
|
|
471
470
|
bytes: number;
|
|
471
|
+
source: string;
|
|
472
472
|
alt: string;
|
|
473
473
|
title?: string | undefined;
|
|
474
474
|
page?: number | undefined;
|
|
475
|
-
representation?: "
|
|
475
|
+
representation?: "variant" | "image" | "video-cover" | "page" | undefined;
|
|
476
476
|
}>, "many">>;
|
|
477
477
|
references: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
|
|
478
478
|
kind: z.ZodEnum<["url", "repository"]>;
|
|
@@ -502,25 +502,25 @@ export declare const GuidanceInputSchema: z.ZodObject<{
|
|
|
502
502
|
url: string;
|
|
503
503
|
kind: "url" | "repository";
|
|
504
504
|
intent: string;
|
|
505
|
-
digest?: string | undefined;
|
|
506
505
|
files?: {
|
|
507
506
|
name: string;
|
|
508
507
|
content: string;
|
|
509
508
|
path?: string | undefined;
|
|
510
509
|
sha256?: string | undefined;
|
|
511
510
|
}[] | undefined;
|
|
511
|
+
digest?: string | undefined;
|
|
512
512
|
revision?: string | undefined;
|
|
513
513
|
}, {
|
|
514
514
|
url: string;
|
|
515
515
|
kind: "url" | "repository";
|
|
516
516
|
intent: string;
|
|
517
|
-
digest?: string | undefined;
|
|
518
517
|
files?: {
|
|
519
518
|
name: string;
|
|
520
519
|
content: string;
|
|
521
520
|
path?: string | undefined;
|
|
522
521
|
sha256?: string | undefined;
|
|
523
522
|
}[] | undefined;
|
|
523
|
+
digest?: string | undefined;
|
|
524
524
|
revision?: string | undefined;
|
|
525
525
|
}>, z.ZodObject<{
|
|
526
526
|
kind: z.ZodLiteral<"directory">;
|
|
@@ -542,13 +542,13 @@ export declare const GuidanceInputSchema: z.ZodObject<{
|
|
|
542
542
|
url: string;
|
|
543
543
|
kind: "url" | "repository";
|
|
544
544
|
intent: string;
|
|
545
|
-
digest?: string | undefined;
|
|
546
545
|
files?: {
|
|
547
546
|
name: string;
|
|
548
547
|
content: string;
|
|
549
548
|
path?: string | undefined;
|
|
550
549
|
sha256?: string | undefined;
|
|
551
550
|
}[] | undefined;
|
|
551
|
+
digest?: string | undefined;
|
|
552
552
|
revision?: string | undefined;
|
|
553
553
|
})[], ({
|
|
554
554
|
path: string;
|
|
@@ -558,13 +558,13 @@ export declare const GuidanceInputSchema: z.ZodObject<{
|
|
|
558
558
|
url: string;
|
|
559
559
|
kind: "url" | "repository";
|
|
560
560
|
intent: string;
|
|
561
|
-
digest?: string | undefined;
|
|
562
561
|
files?: {
|
|
563
562
|
name: string;
|
|
564
563
|
content: string;
|
|
565
564
|
path?: string | undefined;
|
|
566
565
|
sha256?: string | undefined;
|
|
567
566
|
}[] | undefined;
|
|
567
|
+
digest?: string | undefined;
|
|
568
568
|
revision?: string | undefined;
|
|
569
569
|
})[]>>;
|
|
570
570
|
} & {
|
|
@@ -575,11 +575,11 @@ export declare const GuidanceInputSchema: z.ZodObject<{
|
|
|
575
575
|
isEnabled: boolean;
|
|
576
576
|
attachments?: {
|
|
577
577
|
path: string;
|
|
578
|
-
source: string;
|
|
579
578
|
hash: string;
|
|
580
579
|
mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif";
|
|
581
580
|
bytes: number;
|
|
582
|
-
representation: "
|
|
581
|
+
representation: "variant" | "image" | "video-cover" | "page";
|
|
582
|
+
source: string;
|
|
583
583
|
alt: string;
|
|
584
584
|
title?: string | undefined;
|
|
585
585
|
page?: number | undefined;
|
|
@@ -592,13 +592,13 @@ export declare const GuidanceInputSchema: z.ZodObject<{
|
|
|
592
592
|
url: string;
|
|
593
593
|
kind: "url" | "repository";
|
|
594
594
|
intent: string;
|
|
595
|
-
digest?: string | undefined;
|
|
596
595
|
files?: {
|
|
597
596
|
name: string;
|
|
598
597
|
content: string;
|
|
599
598
|
path?: string | undefined;
|
|
600
599
|
sha256?: string | undefined;
|
|
601
600
|
}[] | undefined;
|
|
601
|
+
digest?: string | undefined;
|
|
602
602
|
revision?: string | undefined;
|
|
603
603
|
})[] | undefined;
|
|
604
604
|
}, {
|
|
@@ -606,14 +606,14 @@ export declare const GuidanceInputSchema: z.ZodObject<{
|
|
|
606
606
|
markdown: string;
|
|
607
607
|
attachments?: {
|
|
608
608
|
path: string;
|
|
609
|
-
source: string;
|
|
610
609
|
hash: string;
|
|
611
610
|
mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif";
|
|
612
611
|
bytes: number;
|
|
612
|
+
source: string;
|
|
613
613
|
alt: string;
|
|
614
614
|
title?: string | undefined;
|
|
615
615
|
page?: number | undefined;
|
|
616
|
-
representation?: "
|
|
616
|
+
representation?: "variant" | "image" | "video-cover" | "page" | undefined;
|
|
617
617
|
}[] | undefined;
|
|
618
618
|
references?: ({
|
|
619
619
|
path: string;
|
|
@@ -623,13 +623,13 @@ export declare const GuidanceInputSchema: z.ZodObject<{
|
|
|
623
623
|
url: string;
|
|
624
624
|
kind: "url" | "repository";
|
|
625
625
|
intent: string;
|
|
626
|
-
digest?: string | undefined;
|
|
627
626
|
files?: {
|
|
628
627
|
name: string;
|
|
629
628
|
content: string;
|
|
630
629
|
path?: string | undefined;
|
|
631
630
|
sha256?: string | undefined;
|
|
632
631
|
}[] | undefined;
|
|
632
|
+
digest?: string | undefined;
|
|
633
633
|
revision?: string | undefined;
|
|
634
634
|
})[] | undefined;
|
|
635
635
|
isEnabled?: boolean | undefined;
|
|
@@ -650,24 +650,24 @@ export declare const GuidanceUpdateSchema: z.ZodEffects<z.ZodEffects<z.ZodObject
|
|
|
650
650
|
path: z.ZodString;
|
|
651
651
|
}, "strip", z.ZodTypeAny, {
|
|
652
652
|
path: string;
|
|
653
|
-
source: string;
|
|
654
653
|
hash: string;
|
|
655
654
|
mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif";
|
|
656
655
|
bytes: number;
|
|
657
|
-
representation: "
|
|
656
|
+
representation: "variant" | "image" | "video-cover" | "page";
|
|
657
|
+
source: string;
|
|
658
658
|
alt: string;
|
|
659
659
|
title?: string | undefined;
|
|
660
660
|
page?: number | undefined;
|
|
661
661
|
}, {
|
|
662
662
|
path: string;
|
|
663
|
-
source: string;
|
|
664
663
|
hash: string;
|
|
665
664
|
mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif";
|
|
666
665
|
bytes: number;
|
|
666
|
+
source: string;
|
|
667
667
|
alt: string;
|
|
668
668
|
title?: string | undefined;
|
|
669
669
|
page?: number | undefined;
|
|
670
|
-
representation?: "
|
|
670
|
+
representation?: "variant" | "image" | "video-cover" | "page" | undefined;
|
|
671
671
|
}>, "many">>>;
|
|
672
672
|
references: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
|
|
673
673
|
kind: z.ZodEnum<["url", "repository"]>;
|
|
@@ -697,25 +697,25 @@ export declare const GuidanceUpdateSchema: z.ZodEffects<z.ZodEffects<z.ZodObject
|
|
|
697
697
|
url: string;
|
|
698
698
|
kind: "url" | "repository";
|
|
699
699
|
intent: string;
|
|
700
|
-
digest?: string | undefined;
|
|
701
700
|
files?: {
|
|
702
701
|
name: string;
|
|
703
702
|
content: string;
|
|
704
703
|
path?: string | undefined;
|
|
705
704
|
sha256?: string | undefined;
|
|
706
705
|
}[] | undefined;
|
|
706
|
+
digest?: string | undefined;
|
|
707
707
|
revision?: string | undefined;
|
|
708
708
|
}, {
|
|
709
709
|
url: string;
|
|
710
710
|
kind: "url" | "repository";
|
|
711
711
|
intent: string;
|
|
712
|
-
digest?: string | undefined;
|
|
713
712
|
files?: {
|
|
714
713
|
name: string;
|
|
715
714
|
content: string;
|
|
716
715
|
path?: string | undefined;
|
|
717
716
|
sha256?: string | undefined;
|
|
718
717
|
}[] | undefined;
|
|
718
|
+
digest?: string | undefined;
|
|
719
719
|
revision?: string | undefined;
|
|
720
720
|
}>, z.ZodObject<{
|
|
721
721
|
kind: z.ZodLiteral<"directory">;
|
|
@@ -737,13 +737,13 @@ export declare const GuidanceUpdateSchema: z.ZodEffects<z.ZodEffects<z.ZodObject
|
|
|
737
737
|
url: string;
|
|
738
738
|
kind: "url" | "repository";
|
|
739
739
|
intent: string;
|
|
740
|
-
digest?: string | undefined;
|
|
741
740
|
files?: {
|
|
742
741
|
name: string;
|
|
743
742
|
content: string;
|
|
744
743
|
path?: string | undefined;
|
|
745
744
|
sha256?: string | undefined;
|
|
746
745
|
}[] | undefined;
|
|
746
|
+
digest?: string | undefined;
|
|
747
747
|
revision?: string | undefined;
|
|
748
748
|
})[], ({
|
|
749
749
|
path: string;
|
|
@@ -753,13 +753,13 @@ export declare const GuidanceUpdateSchema: z.ZodEffects<z.ZodEffects<z.ZodObject
|
|
|
753
753
|
url: string;
|
|
754
754
|
kind: "url" | "repository";
|
|
755
755
|
intent: string;
|
|
756
|
-
digest?: string | undefined;
|
|
757
756
|
files?: {
|
|
758
757
|
name: string;
|
|
759
758
|
content: string;
|
|
760
759
|
path?: string | undefined;
|
|
761
760
|
sha256?: string | undefined;
|
|
762
761
|
}[] | undefined;
|
|
762
|
+
digest?: string | undefined;
|
|
763
763
|
revision?: string | undefined;
|
|
764
764
|
})[]>>>;
|
|
765
765
|
isEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -843,11 +843,11 @@ export declare const GuidanceUpdateSchema: z.ZodEffects<z.ZodEffects<z.ZodObject
|
|
|
843
843
|
markdown?: string | undefined;
|
|
844
844
|
attachments?: {
|
|
845
845
|
path: string;
|
|
846
|
-
source: string;
|
|
847
846
|
hash: string;
|
|
848
847
|
mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif";
|
|
849
848
|
bytes: number;
|
|
850
|
-
representation: "
|
|
849
|
+
representation: "variant" | "image" | "video-cover" | "page";
|
|
850
|
+
source: string;
|
|
851
851
|
alt: string;
|
|
852
852
|
title?: string | undefined;
|
|
853
853
|
page?: number | undefined;
|
|
@@ -860,13 +860,13 @@ export declare const GuidanceUpdateSchema: z.ZodEffects<z.ZodEffects<z.ZodObject
|
|
|
860
860
|
url: string;
|
|
861
861
|
kind: "url" | "repository";
|
|
862
862
|
intent: string;
|
|
863
|
-
digest?: string | undefined;
|
|
864
863
|
files?: {
|
|
865
864
|
name: string;
|
|
866
865
|
content: string;
|
|
867
866
|
path?: string | undefined;
|
|
868
867
|
sha256?: string | undefined;
|
|
869
868
|
}[] | undefined;
|
|
869
|
+
digest?: string | undefined;
|
|
870
870
|
revision?: string | undefined;
|
|
871
871
|
})[] | undefined;
|
|
872
872
|
isEnabled?: boolean | undefined;
|
|
@@ -887,14 +887,14 @@ export declare const GuidanceUpdateSchema: z.ZodEffects<z.ZodEffects<z.ZodObject
|
|
|
887
887
|
markdown?: string | undefined;
|
|
888
888
|
attachments?: {
|
|
889
889
|
path: string;
|
|
890
|
-
source: string;
|
|
891
890
|
hash: string;
|
|
892
891
|
mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif";
|
|
893
892
|
bytes: number;
|
|
893
|
+
source: string;
|
|
894
894
|
alt: string;
|
|
895
895
|
title?: string | undefined;
|
|
896
896
|
page?: number | undefined;
|
|
897
|
-
representation?: "
|
|
897
|
+
representation?: "variant" | "image" | "video-cover" | "page" | undefined;
|
|
898
898
|
}[] | undefined;
|
|
899
899
|
references?: ({
|
|
900
900
|
path: string;
|
|
@@ -904,13 +904,13 @@ export declare const GuidanceUpdateSchema: z.ZodEffects<z.ZodEffects<z.ZodObject
|
|
|
904
904
|
url: string;
|
|
905
905
|
kind: "url" | "repository";
|
|
906
906
|
intent: string;
|
|
907
|
-
digest?: string | undefined;
|
|
908
907
|
files?: {
|
|
909
908
|
name: string;
|
|
910
909
|
content: string;
|
|
911
910
|
path?: string | undefined;
|
|
912
911
|
sha256?: string | undefined;
|
|
913
912
|
}[] | undefined;
|
|
913
|
+
digest?: string | undefined;
|
|
914
914
|
revision?: string | undefined;
|
|
915
915
|
})[] | undefined;
|
|
916
916
|
isEnabled?: boolean | undefined;
|
|
@@ -931,11 +931,11 @@ export declare const GuidanceUpdateSchema: z.ZodEffects<z.ZodEffects<z.ZodObject
|
|
|
931
931
|
markdown?: string | undefined;
|
|
932
932
|
attachments?: {
|
|
933
933
|
path: string;
|
|
934
|
-
source: string;
|
|
935
934
|
hash: string;
|
|
936
935
|
mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif";
|
|
937
936
|
bytes: number;
|
|
938
|
-
representation: "
|
|
937
|
+
representation: "variant" | "image" | "video-cover" | "page";
|
|
938
|
+
source: string;
|
|
939
939
|
alt: string;
|
|
940
940
|
title?: string | undefined;
|
|
941
941
|
page?: number | undefined;
|
|
@@ -948,13 +948,13 @@ export declare const GuidanceUpdateSchema: z.ZodEffects<z.ZodEffects<z.ZodObject
|
|
|
948
948
|
url: string;
|
|
949
949
|
kind: "url" | "repository";
|
|
950
950
|
intent: string;
|
|
951
|
-
digest?: string | undefined;
|
|
952
951
|
files?: {
|
|
953
952
|
name: string;
|
|
954
953
|
content: string;
|
|
955
954
|
path?: string | undefined;
|
|
956
955
|
sha256?: string | undefined;
|
|
957
956
|
}[] | undefined;
|
|
957
|
+
digest?: string | undefined;
|
|
958
958
|
revision?: string | undefined;
|
|
959
959
|
})[] | undefined;
|
|
960
960
|
isEnabled?: boolean | undefined;
|
|
@@ -975,14 +975,14 @@ export declare const GuidanceUpdateSchema: z.ZodEffects<z.ZodEffects<z.ZodObject
|
|
|
975
975
|
markdown?: string | undefined;
|
|
976
976
|
attachments?: {
|
|
977
977
|
path: string;
|
|
978
|
-
source: string;
|
|
979
978
|
hash: string;
|
|
980
979
|
mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif";
|
|
981
980
|
bytes: number;
|
|
981
|
+
source: string;
|
|
982
982
|
alt: string;
|
|
983
983
|
title?: string | undefined;
|
|
984
984
|
page?: number | undefined;
|
|
985
|
-
representation?: "
|
|
985
|
+
representation?: "variant" | "image" | "video-cover" | "page" | undefined;
|
|
986
986
|
}[] | undefined;
|
|
987
987
|
references?: ({
|
|
988
988
|
path: string;
|
|
@@ -992,13 +992,13 @@ export declare const GuidanceUpdateSchema: z.ZodEffects<z.ZodEffects<z.ZodObject
|
|
|
992
992
|
url: string;
|
|
993
993
|
kind: "url" | "repository";
|
|
994
994
|
intent: string;
|
|
995
|
-
digest?: string | undefined;
|
|
996
995
|
files?: {
|
|
997
996
|
name: string;
|
|
998
997
|
content: string;
|
|
999
998
|
path?: string | undefined;
|
|
1000
999
|
sha256?: string | undefined;
|
|
1001
1000
|
}[] | undefined;
|
|
1001
|
+
digest?: string | undefined;
|
|
1002
1002
|
revision?: string | undefined;
|
|
1003
1003
|
})[] | undefined;
|
|
1004
1004
|
isEnabled?: boolean | undefined;
|
|
@@ -1019,11 +1019,11 @@ export declare const GuidanceUpdateSchema: z.ZodEffects<z.ZodEffects<z.ZodObject
|
|
|
1019
1019
|
markdown?: string | undefined;
|
|
1020
1020
|
attachments?: {
|
|
1021
1021
|
path: string;
|
|
1022
|
-
source: string;
|
|
1023
1022
|
hash: string;
|
|
1024
1023
|
mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif";
|
|
1025
1024
|
bytes: number;
|
|
1026
|
-
representation: "
|
|
1025
|
+
representation: "variant" | "image" | "video-cover" | "page";
|
|
1026
|
+
source: string;
|
|
1027
1027
|
alt: string;
|
|
1028
1028
|
title?: string | undefined;
|
|
1029
1029
|
page?: number | undefined;
|
|
@@ -1036,13 +1036,13 @@ export declare const GuidanceUpdateSchema: z.ZodEffects<z.ZodEffects<z.ZodObject
|
|
|
1036
1036
|
url: string;
|
|
1037
1037
|
kind: "url" | "repository";
|
|
1038
1038
|
intent: string;
|
|
1039
|
-
digest?: string | undefined;
|
|
1040
1039
|
files?: {
|
|
1041
1040
|
name: string;
|
|
1042
1041
|
content: string;
|
|
1043
1042
|
path?: string | undefined;
|
|
1044
1043
|
sha256?: string | undefined;
|
|
1045
1044
|
}[] | undefined;
|
|
1045
|
+
digest?: string | undefined;
|
|
1046
1046
|
revision?: string | undefined;
|
|
1047
1047
|
})[] | undefined;
|
|
1048
1048
|
isEnabled?: boolean | undefined;
|
|
@@ -1063,14 +1063,14 @@ export declare const GuidanceUpdateSchema: z.ZodEffects<z.ZodEffects<z.ZodObject
|
|
|
1063
1063
|
markdown?: string | undefined;
|
|
1064
1064
|
attachments?: {
|
|
1065
1065
|
path: string;
|
|
1066
|
-
source: string;
|
|
1067
1066
|
hash: string;
|
|
1068
1067
|
mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif";
|
|
1069
1068
|
bytes: number;
|
|
1069
|
+
source: string;
|
|
1070
1070
|
alt: string;
|
|
1071
1071
|
title?: string | undefined;
|
|
1072
1072
|
page?: number | undefined;
|
|
1073
|
-
representation?: "
|
|
1073
|
+
representation?: "variant" | "image" | "video-cover" | "page" | undefined;
|
|
1074
1074
|
}[] | undefined;
|
|
1075
1075
|
references?: ({
|
|
1076
1076
|
path: string;
|
|
@@ -1080,13 +1080,13 @@ export declare const GuidanceUpdateSchema: z.ZodEffects<z.ZodEffects<z.ZodObject
|
|
|
1080
1080
|
url: string;
|
|
1081
1081
|
kind: "url" | "repository";
|
|
1082
1082
|
intent: string;
|
|
1083
|
-
digest?: string | undefined;
|
|
1084
1083
|
files?: {
|
|
1085
1084
|
name: string;
|
|
1086
1085
|
content: string;
|
|
1087
1086
|
path?: string | undefined;
|
|
1088
1087
|
sha256?: string | undefined;
|
|
1089
1088
|
}[] | undefined;
|
|
1089
|
+
digest?: string | undefined;
|
|
1090
1090
|
revision?: string | undefined;
|
|
1091
1091
|
})[] | undefined;
|
|
1092
1092
|
isEnabled?: boolean | undefined;
|
|
@@ -1119,24 +1119,24 @@ export declare const GuidanceUploadSchema: z.ZodObject<Omit<{
|
|
|
1119
1119
|
path: z.ZodString;
|
|
1120
1120
|
}, "strip", z.ZodTypeAny, {
|
|
1121
1121
|
path: string;
|
|
1122
|
-
source: string;
|
|
1123
1122
|
hash: string;
|
|
1124
1123
|
mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif";
|
|
1125
1124
|
bytes: number;
|
|
1126
|
-
representation: "
|
|
1125
|
+
representation: "variant" | "image" | "video-cover" | "page";
|
|
1126
|
+
source: string;
|
|
1127
1127
|
alt: string;
|
|
1128
1128
|
title?: string | undefined;
|
|
1129
1129
|
page?: number | undefined;
|
|
1130
1130
|
}, {
|
|
1131
1131
|
path: string;
|
|
1132
|
-
source: string;
|
|
1133
1132
|
hash: string;
|
|
1134
1133
|
mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif";
|
|
1135
1134
|
bytes: number;
|
|
1135
|
+
source: string;
|
|
1136
1136
|
alt: string;
|
|
1137
1137
|
title?: string | undefined;
|
|
1138
1138
|
page?: number | undefined;
|
|
1139
|
-
representation?: "
|
|
1139
|
+
representation?: "variant" | "image" | "video-cover" | "page" | undefined;
|
|
1140
1140
|
}>, "many">>;
|
|
1141
1141
|
references: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
|
|
1142
1142
|
kind: z.ZodEnum<["url", "repository"]>;
|
|
@@ -1166,25 +1166,25 @@ export declare const GuidanceUploadSchema: z.ZodObject<Omit<{
|
|
|
1166
1166
|
url: string;
|
|
1167
1167
|
kind: "url" | "repository";
|
|
1168
1168
|
intent: string;
|
|
1169
|
-
digest?: string | undefined;
|
|
1170
1169
|
files?: {
|
|
1171
1170
|
name: string;
|
|
1172
1171
|
content: string;
|
|
1173
1172
|
path?: string | undefined;
|
|
1174
1173
|
sha256?: string | undefined;
|
|
1175
1174
|
}[] | undefined;
|
|
1175
|
+
digest?: string | undefined;
|
|
1176
1176
|
revision?: string | undefined;
|
|
1177
1177
|
}, {
|
|
1178
1178
|
url: string;
|
|
1179
1179
|
kind: "url" | "repository";
|
|
1180
1180
|
intent: string;
|
|
1181
|
-
digest?: string | undefined;
|
|
1182
1181
|
files?: {
|
|
1183
1182
|
name: string;
|
|
1184
1183
|
content: string;
|
|
1185
1184
|
path?: string | undefined;
|
|
1186
1185
|
sha256?: string | undefined;
|
|
1187
1186
|
}[] | undefined;
|
|
1187
|
+
digest?: string | undefined;
|
|
1188
1188
|
revision?: string | undefined;
|
|
1189
1189
|
}>, z.ZodObject<{
|
|
1190
1190
|
kind: z.ZodLiteral<"directory">;
|
|
@@ -1206,13 +1206,13 @@ export declare const GuidanceUploadSchema: z.ZodObject<Omit<{
|
|
|
1206
1206
|
url: string;
|
|
1207
1207
|
kind: "url" | "repository";
|
|
1208
1208
|
intent: string;
|
|
1209
|
-
digest?: string | undefined;
|
|
1210
1209
|
files?: {
|
|
1211
1210
|
name: string;
|
|
1212
1211
|
content: string;
|
|
1213
1212
|
path?: string | undefined;
|
|
1214
1213
|
sha256?: string | undefined;
|
|
1215
1214
|
}[] | undefined;
|
|
1215
|
+
digest?: string | undefined;
|
|
1216
1216
|
revision?: string | undefined;
|
|
1217
1217
|
})[], ({
|
|
1218
1218
|
path: string;
|
|
@@ -1222,13 +1222,13 @@ export declare const GuidanceUploadSchema: z.ZodObject<Omit<{
|
|
|
1222
1222
|
url: string;
|
|
1223
1223
|
kind: "url" | "repository";
|
|
1224
1224
|
intent: string;
|
|
1225
|
-
digest?: string | undefined;
|
|
1226
1225
|
files?: {
|
|
1227
1226
|
name: string;
|
|
1228
1227
|
content: string;
|
|
1229
1228
|
path?: string | undefined;
|
|
1230
1229
|
sha256?: string | undefined;
|
|
1231
1230
|
}[] | undefined;
|
|
1231
|
+
digest?: string | undefined;
|
|
1232
1232
|
revision?: string | undefined;
|
|
1233
1233
|
})[]>>;
|
|
1234
1234
|
} & {
|