@vcp-dev/contracts 0.3.15 → 0.4.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/colorway-distinctness.js +1 -1
- package/dist/connect-dynamic-collection.d.ts +6 -0
- package/dist/connect-form.d.ts +6 -0
- package/dist/design-tokens.d.ts +26 -0
- package/dist/design-tokens.js +1 -1
- package/dist/index.d.ts +1004 -144
- package/dist/index.js +1 -1
- package/dist/input-context-bundle.d.ts +250 -0
- package/dist/site-edit-event.d.ts +8 -0
- package/dist/site-edit-operation.d.ts +84 -2
- package/dist/site-edit-patch-plan.d.ts +2 -2
- package/dist/site-edit-render-document.d.ts +8 -0
- package/dist/site-edit-source.d.ts +170 -0
- package/dist/site-edit-version.d.ts +1 -1
- package/dist/site-locale.d.ts +2 -47
- package/package.json +2 -1
package/dist/index.d.ts
CHANGED
|
@@ -12,6 +12,7 @@ export * from "./site-edit-patch-plan.js";
|
|
|
12
12
|
export * from "./site-edit-repeat-instance-key.js";
|
|
13
13
|
export * from "./site-edit-render-document.js";
|
|
14
14
|
export * from "./site-edit-runtime-capability.js";
|
|
15
|
+
export * from "./site-edit-source.js";
|
|
15
16
|
export * from "./user-facing-copy.js";
|
|
16
17
|
export * from "./site-edit-version.js";
|
|
17
18
|
export * from "./site-locale.js";
|
|
@@ -19,6 +20,7 @@ export * from "./connect-dynamic-collection.js";
|
|
|
19
20
|
export * from "./connect-form.js";
|
|
20
21
|
export * from "./cms-collection-binding.js";
|
|
21
22
|
export * from "./cms-public-url.js";
|
|
23
|
+
export * from "./input-context-bundle.js";
|
|
22
24
|
/**
|
|
23
25
|
* Clarify 视觉调性 text-options 题的每个 option 的结构化硬绑信号。
|
|
24
26
|
* spec §1.1 + 2026-05-27 接通:用户选中的 option 的 visualHints 会被
|
|
@@ -63,6 +65,13 @@ export declare const VisualHintsSchema: z.ZodObject<{
|
|
|
63
65
|
neutral: z.ZodOptional<z.ZodString>;
|
|
64
66
|
supporting: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
65
67
|
}, z.core.$strip>>;
|
|
68
|
+
imagePalette: z.ZodOptional<z.ZodObject<{
|
|
69
|
+
background: z.ZodOptional<z.ZodString>;
|
|
70
|
+
foreground: z.ZodOptional<z.ZodString>;
|
|
71
|
+
card: z.ZodOptional<z.ZodString>;
|
|
72
|
+
muted: z.ZodOptional<z.ZodString>;
|
|
73
|
+
border: z.ZodOptional<z.ZodString>;
|
|
74
|
+
}, z.core.$strip>>;
|
|
66
75
|
}, z.core.$strip>;
|
|
67
76
|
export type VisualHints = z.infer<typeof VisualHintsSchema>;
|
|
68
77
|
/**
|
|
@@ -100,7 +109,69 @@ export declare const ConversionHintsSchema: z.ZodObject<{
|
|
|
100
109
|
requiresOwnerDetail: z.ZodOptional<z.ZodBoolean>;
|
|
101
110
|
}, z.core.$strip>;
|
|
102
111
|
export type ConversionHints = z.infer<typeof ConversionHintsSchema>;
|
|
112
|
+
/**
|
|
113
|
+
* Clarify「网站定位对齐预判卡」(`positioning` 题型) 的来源标签枚举。
|
|
114
|
+
*
|
|
115
|
+
* 每个预判项 (market / customer / purpose) 都标一个来源,让用户一眼看出这是
|
|
116
|
+
* 从真实资料提炼还是行业先验兜底:
|
|
117
|
+
* - `material`:从用户上传的资料 (facts / OCR) 提炼;
|
|
118
|
+
* - `reference`:从参考站信号 (nav / page pattern / tone) 提炼;
|
|
119
|
+
* - `brief`:brief 正文已提及;
|
|
120
|
+
* - `industry`:无资料时按行业先验推测 (兜底,不道歉,也给初判)。
|
|
121
|
+
*
|
|
122
|
+
* 前端据此渲染 pill:`material`/`reference`/`brief` = 绿;`industry` = 琥珀。
|
|
123
|
+
* 纯枚举,无 transform/catchall,不影响 JSONSchema/streamObject。
|
|
124
|
+
*/
|
|
125
|
+
export declare const PositioningSourceSchema: z.ZodEnum<{
|
|
126
|
+
reference: "reference";
|
|
127
|
+
material: "material";
|
|
128
|
+
brief: "brief";
|
|
129
|
+
industry: "industry";
|
|
130
|
+
}>;
|
|
131
|
+
export type PositioningSource = z.infer<typeof PositioningSourceSchema>;
|
|
132
|
+
/**
|
|
133
|
+
* `positioning` 题携带的 AI 预判结构(固定必问卡「先对齐一下网站定位」)。
|
|
134
|
+
* clarify agent 从 brief + facts + reference 预判 3 项,预填为**可编辑默认答案**:
|
|
135
|
+
* - `market`:市场/赛道(可编辑文本 + 来源标签)
|
|
136
|
+
* - `customer`:目标客户(可编辑文本 + 来源标签)
|
|
137
|
+
* - `purpose`:网站目的(3 选 1 chips,purpose.selected 必须在 purpose.options 内)
|
|
138
|
+
*
|
|
139
|
+
* 与 visualHints / conversionHints 同款「结构随题下发」:不写 transform、不写
|
|
140
|
+
* catchall,纯 zod object,避免破坏 `z.toJSONSchema`(OpenAPI)与 streamObject。
|
|
141
|
+
*/
|
|
142
|
+
export declare const PositioningPrefillSchema: z.ZodObject<{
|
|
143
|
+
market: z.ZodObject<{
|
|
144
|
+
value: z.ZodString;
|
|
145
|
+
source: z.ZodEnum<{
|
|
146
|
+
reference: "reference";
|
|
147
|
+
material: "material";
|
|
148
|
+
brief: "brief";
|
|
149
|
+
industry: "industry";
|
|
150
|
+
}>;
|
|
151
|
+
}, z.core.$strip>;
|
|
152
|
+
customer: z.ZodObject<{
|
|
153
|
+
value: z.ZodString;
|
|
154
|
+
source: z.ZodEnum<{
|
|
155
|
+
reference: "reference";
|
|
156
|
+
material: "material";
|
|
157
|
+
brief: "brief";
|
|
158
|
+
industry: "industry";
|
|
159
|
+
}>;
|
|
160
|
+
}, z.core.$strip>;
|
|
161
|
+
purpose: z.ZodObject<{
|
|
162
|
+
options: z.ZodArray<z.ZodString>;
|
|
163
|
+
selected: z.ZodString;
|
|
164
|
+
source: z.ZodEnum<{
|
|
165
|
+
reference: "reference";
|
|
166
|
+
material: "material";
|
|
167
|
+
brief: "brief";
|
|
168
|
+
industry: "industry";
|
|
169
|
+
}>;
|
|
170
|
+
}, z.core.$strip>;
|
|
171
|
+
}, z.core.$strip>;
|
|
172
|
+
export type PositioningPrefill = z.infer<typeof PositioningPrefillSchema>;
|
|
103
173
|
export declare const ClarifyQuestionTypeSchema: z.ZodEnum<{
|
|
174
|
+
positioning: "positioning";
|
|
104
175
|
"text-options": "text-options";
|
|
105
176
|
"motion-slider": "motion-slider";
|
|
106
177
|
}>;
|
|
@@ -144,6 +215,7 @@ export declare const ClarifyQuestionOptionSchema: z.ZodObject<{
|
|
|
144
215
|
desc: z.ZodOptional<z.ZodString>;
|
|
145
216
|
impact: z.ZodOptional<z.ZodString>;
|
|
146
217
|
isRecommended: z.ZodOptional<z.ZodBoolean>;
|
|
218
|
+
preselect: z.ZodOptional<z.ZodBoolean>;
|
|
147
219
|
visualHints: z.ZodOptional<z.ZodObject<{
|
|
148
220
|
heading: z.ZodOptional<z.ZodString>;
|
|
149
221
|
body: z.ZodOptional<z.ZodString>;
|
|
@@ -170,6 +242,13 @@ export declare const ClarifyQuestionOptionSchema: z.ZodObject<{
|
|
|
170
242
|
neutral: z.ZodOptional<z.ZodString>;
|
|
171
243
|
supporting: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
172
244
|
}, z.core.$strip>>;
|
|
245
|
+
imagePalette: z.ZodOptional<z.ZodObject<{
|
|
246
|
+
background: z.ZodOptional<z.ZodString>;
|
|
247
|
+
foreground: z.ZodOptional<z.ZodString>;
|
|
248
|
+
card: z.ZodOptional<z.ZodString>;
|
|
249
|
+
muted: z.ZodOptional<z.ZodString>;
|
|
250
|
+
border: z.ZodOptional<z.ZodString>;
|
|
251
|
+
}, z.core.$strip>>;
|
|
173
252
|
}, z.core.$strip>>;
|
|
174
253
|
conversionHints: z.ZodOptional<z.ZodObject<{
|
|
175
254
|
protocol: z.ZodEnum<{
|
|
@@ -188,6 +267,7 @@ export type ClarifyQuestionOption = z.infer<typeof ClarifyQuestionOptionSchema>;
|
|
|
188
267
|
export declare const ClarifyQuestionSchema: z.ZodObject<{
|
|
189
268
|
id: z.ZodString;
|
|
190
269
|
type: z.ZodEnum<{
|
|
270
|
+
positioning: "positioning";
|
|
191
271
|
"text-options": "text-options";
|
|
192
272
|
"motion-slider": "motion-slider";
|
|
193
273
|
}>;
|
|
@@ -200,6 +280,7 @@ export declare const ClarifyQuestionSchema: z.ZodObject<{
|
|
|
200
280
|
desc: z.ZodOptional<z.ZodString>;
|
|
201
281
|
impact: z.ZodOptional<z.ZodString>;
|
|
202
282
|
isRecommended: z.ZodOptional<z.ZodBoolean>;
|
|
283
|
+
preselect: z.ZodOptional<z.ZodBoolean>;
|
|
203
284
|
visualHints: z.ZodOptional<z.ZodObject<{
|
|
204
285
|
heading: z.ZodOptional<z.ZodString>;
|
|
205
286
|
body: z.ZodOptional<z.ZodString>;
|
|
@@ -226,6 +307,13 @@ export declare const ClarifyQuestionSchema: z.ZodObject<{
|
|
|
226
307
|
neutral: z.ZodOptional<z.ZodString>;
|
|
227
308
|
supporting: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
228
309
|
}, z.core.$strip>>;
|
|
310
|
+
imagePalette: z.ZodOptional<z.ZodObject<{
|
|
311
|
+
background: z.ZodOptional<z.ZodString>;
|
|
312
|
+
foreground: z.ZodOptional<z.ZodString>;
|
|
313
|
+
card: z.ZodOptional<z.ZodString>;
|
|
314
|
+
muted: z.ZodOptional<z.ZodString>;
|
|
315
|
+
border: z.ZodOptional<z.ZodString>;
|
|
316
|
+
}, z.core.$strip>>;
|
|
229
317
|
}, z.core.$strip>>;
|
|
230
318
|
conversionHints: z.ZodOptional<z.ZodObject<{
|
|
231
319
|
protocol: z.ZodEnum<{
|
|
@@ -245,12 +333,43 @@ export declare const ClarifyQuestionSchema: z.ZodObject<{
|
|
|
245
333
|
"always-ask": "always-ask";
|
|
246
334
|
}>;
|
|
247
335
|
sourceDetail: z.ZodString;
|
|
336
|
+
positioning: z.ZodOptional<z.ZodObject<{
|
|
337
|
+
market: z.ZodObject<{
|
|
338
|
+
value: z.ZodString;
|
|
339
|
+
source: z.ZodEnum<{
|
|
340
|
+
reference: "reference";
|
|
341
|
+
material: "material";
|
|
342
|
+
brief: "brief";
|
|
343
|
+
industry: "industry";
|
|
344
|
+
}>;
|
|
345
|
+
}, z.core.$strip>;
|
|
346
|
+
customer: z.ZodObject<{
|
|
347
|
+
value: z.ZodString;
|
|
348
|
+
source: z.ZodEnum<{
|
|
349
|
+
reference: "reference";
|
|
350
|
+
material: "material";
|
|
351
|
+
brief: "brief";
|
|
352
|
+
industry: "industry";
|
|
353
|
+
}>;
|
|
354
|
+
}, z.core.$strip>;
|
|
355
|
+
purpose: z.ZodObject<{
|
|
356
|
+
options: z.ZodArray<z.ZodString>;
|
|
357
|
+
selected: z.ZodString;
|
|
358
|
+
source: z.ZodEnum<{
|
|
359
|
+
reference: "reference";
|
|
360
|
+
material: "material";
|
|
361
|
+
brief: "brief";
|
|
362
|
+
industry: "industry";
|
|
363
|
+
}>;
|
|
364
|
+
}, z.core.$strip>;
|
|
365
|
+
}, z.core.$strip>>;
|
|
248
366
|
}, z.core.$strip>;
|
|
249
367
|
export type ClarifyQuestion = z.infer<typeof ClarifyQuestionSchema>;
|
|
250
368
|
export declare const ClarifyQuestionsSchema: z.ZodObject<{
|
|
251
369
|
questions: z.ZodArray<z.ZodObject<{
|
|
252
370
|
id: z.ZodString;
|
|
253
371
|
type: z.ZodEnum<{
|
|
372
|
+
positioning: "positioning";
|
|
254
373
|
"text-options": "text-options";
|
|
255
374
|
"motion-slider": "motion-slider";
|
|
256
375
|
}>;
|
|
@@ -263,6 +382,7 @@ export declare const ClarifyQuestionsSchema: z.ZodObject<{
|
|
|
263
382
|
desc: z.ZodOptional<z.ZodString>;
|
|
264
383
|
impact: z.ZodOptional<z.ZodString>;
|
|
265
384
|
isRecommended: z.ZodOptional<z.ZodBoolean>;
|
|
385
|
+
preselect: z.ZodOptional<z.ZodBoolean>;
|
|
266
386
|
visualHints: z.ZodOptional<z.ZodObject<{
|
|
267
387
|
heading: z.ZodOptional<z.ZodString>;
|
|
268
388
|
body: z.ZodOptional<z.ZodString>;
|
|
@@ -289,6 +409,13 @@ export declare const ClarifyQuestionsSchema: z.ZodObject<{
|
|
|
289
409
|
neutral: z.ZodOptional<z.ZodString>;
|
|
290
410
|
supporting: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
291
411
|
}, z.core.$strip>>;
|
|
412
|
+
imagePalette: z.ZodOptional<z.ZodObject<{
|
|
413
|
+
background: z.ZodOptional<z.ZodString>;
|
|
414
|
+
foreground: z.ZodOptional<z.ZodString>;
|
|
415
|
+
card: z.ZodOptional<z.ZodString>;
|
|
416
|
+
muted: z.ZodOptional<z.ZodString>;
|
|
417
|
+
border: z.ZodOptional<z.ZodString>;
|
|
418
|
+
}, z.core.$strip>>;
|
|
292
419
|
}, z.core.$strip>>;
|
|
293
420
|
conversionHints: z.ZodOptional<z.ZodObject<{
|
|
294
421
|
protocol: z.ZodEnum<{
|
|
@@ -308,6 +435,36 @@ export declare const ClarifyQuestionsSchema: z.ZodObject<{
|
|
|
308
435
|
"always-ask": "always-ask";
|
|
309
436
|
}>;
|
|
310
437
|
sourceDetail: z.ZodString;
|
|
438
|
+
positioning: z.ZodOptional<z.ZodObject<{
|
|
439
|
+
market: z.ZodObject<{
|
|
440
|
+
value: z.ZodString;
|
|
441
|
+
source: z.ZodEnum<{
|
|
442
|
+
reference: "reference";
|
|
443
|
+
material: "material";
|
|
444
|
+
brief: "brief";
|
|
445
|
+
industry: "industry";
|
|
446
|
+
}>;
|
|
447
|
+
}, z.core.$strip>;
|
|
448
|
+
customer: z.ZodObject<{
|
|
449
|
+
value: z.ZodString;
|
|
450
|
+
source: z.ZodEnum<{
|
|
451
|
+
reference: "reference";
|
|
452
|
+
material: "material";
|
|
453
|
+
brief: "brief";
|
|
454
|
+
industry: "industry";
|
|
455
|
+
}>;
|
|
456
|
+
}, z.core.$strip>;
|
|
457
|
+
purpose: z.ZodObject<{
|
|
458
|
+
options: z.ZodArray<z.ZodString>;
|
|
459
|
+
selected: z.ZodString;
|
|
460
|
+
source: z.ZodEnum<{
|
|
461
|
+
reference: "reference";
|
|
462
|
+
material: "material";
|
|
463
|
+
brief: "brief";
|
|
464
|
+
industry: "industry";
|
|
465
|
+
}>;
|
|
466
|
+
}, z.core.$strip>;
|
|
467
|
+
}, z.core.$strip>>;
|
|
311
468
|
}, z.core.$strip>>;
|
|
312
469
|
}, z.core.$strip>;
|
|
313
470
|
export type ClarifyQuestions = z.infer<typeof ClarifyQuestionsSchema>;
|
|
@@ -317,6 +474,7 @@ export declare const ClarifyRunInputSchema: z.ZodObject<{
|
|
|
317
474
|
brief_id: z.ZodString;
|
|
318
475
|
brief: z.ZodString;
|
|
319
476
|
site_default_locale: z.ZodOptional<z.ZodEnum<{
|
|
477
|
+
id: "id";
|
|
320
478
|
"zh-CN": "zh-CN";
|
|
321
479
|
en: "en";
|
|
322
480
|
ja: "ja";
|
|
@@ -331,7 +489,6 @@ export declare const ClarifyRunInputSchema: z.ZodObject<{
|
|
|
331
489
|
ru: "ru";
|
|
332
490
|
ar: "ar";
|
|
333
491
|
hi: "hi";
|
|
334
|
-
id: "id";
|
|
335
492
|
vi: "vi";
|
|
336
493
|
th: "th";
|
|
337
494
|
tr: "tr";
|
|
@@ -363,6 +520,56 @@ export declare const ClarifyRunInputSchema: z.ZodObject<{
|
|
|
363
520
|
sr: "sr";
|
|
364
521
|
is: "is";
|
|
365
522
|
}>>;
|
|
523
|
+
input_context: z.ZodOptional<z.ZodObject<{
|
|
524
|
+
facts: z.ZodArray<z.ZodObject<{
|
|
525
|
+
fact: z.ZodString;
|
|
526
|
+
kind: z.ZodEnum<{
|
|
527
|
+
product: "product";
|
|
528
|
+
price: "price";
|
|
529
|
+
contact: "contact";
|
|
530
|
+
copy: "copy";
|
|
531
|
+
audience: "audience";
|
|
532
|
+
other: "other";
|
|
533
|
+
}>;
|
|
534
|
+
source_id: z.ZodString;
|
|
535
|
+
quote: z.ZodString;
|
|
536
|
+
trust: z.ZodDefault<z.ZodEnum<{
|
|
537
|
+
verbatim: "verbatim";
|
|
538
|
+
ocr: "ocr";
|
|
539
|
+
}>>;
|
|
540
|
+
}, z.core.$strip>>;
|
|
541
|
+
conflicts: z.ZodArray<z.ZodObject<{
|
|
542
|
+
topic: z.ZodString;
|
|
543
|
+
variants: z.ZodArray<z.ZodObject<{
|
|
544
|
+
value: z.ZodString;
|
|
545
|
+
source_id: z.ZodString;
|
|
546
|
+
}, z.core.$strip>>;
|
|
547
|
+
}, z.core.$strip>>;
|
|
548
|
+
reference: z.ZodOptional<z.ZodObject<{
|
|
549
|
+
source_id: z.ZodString;
|
|
550
|
+
nav_structure: z.ZodArray<z.ZodString>;
|
|
551
|
+
page_patterns: z.ZodArray<z.ZodObject<{
|
|
552
|
+
page_type: z.ZodString;
|
|
553
|
+
sections: z.ZodArray<z.ZodString>;
|
|
554
|
+
}, z.core.$strip>>;
|
|
555
|
+
tone: z.ZodArray<z.ZodString>;
|
|
556
|
+
screenshot_ref: z.ZodOptional<z.ZodString>;
|
|
557
|
+
}, z.core.$strip>>;
|
|
558
|
+
sources: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
559
|
+
type: z.ZodEnum<{
|
|
560
|
+
text: "text";
|
|
561
|
+
url: "url";
|
|
562
|
+
document: "document";
|
|
563
|
+
image: "image";
|
|
564
|
+
}>;
|
|
565
|
+
title: z.ZodOptional<z.ZodString>;
|
|
566
|
+
status: z.ZodEnum<{
|
|
567
|
+
ready: "ready";
|
|
568
|
+
failed: "failed";
|
|
569
|
+
pending: "pending";
|
|
570
|
+
}>;
|
|
571
|
+
}, z.core.$strip>>>;
|
|
572
|
+
}, z.core.$strip>>;
|
|
366
573
|
}, z.core.$strip>;
|
|
367
574
|
export type ClarifyRunInput = z.infer<typeof ClarifyRunInputSchema>;
|
|
368
575
|
/**
|
|
@@ -511,6 +718,7 @@ export type CreateSiteDraftRequest = z.infer<typeof CreateSiteDraftRequestSchema
|
|
|
511
718
|
export declare const UpdateSiteRequestSchema: z.ZodObject<{
|
|
512
719
|
name: z.ZodString;
|
|
513
720
|
default_locale: z.ZodOptional<z.ZodEnum<{
|
|
721
|
+
id: "id";
|
|
514
722
|
"zh-CN": "zh-CN";
|
|
515
723
|
en: "en";
|
|
516
724
|
ja: "ja";
|
|
@@ -525,7 +733,6 @@ export declare const UpdateSiteRequestSchema: z.ZodObject<{
|
|
|
525
733
|
ru: "ru";
|
|
526
734
|
ar: "ar";
|
|
527
735
|
hi: "hi";
|
|
528
|
-
id: "id";
|
|
529
736
|
vi: "vi";
|
|
530
737
|
th: "th";
|
|
531
738
|
tr: "tr";
|
|
@@ -608,6 +815,7 @@ export declare const SiteRecordSchema: z.ZodObject<{
|
|
|
608
815
|
current_snapshot_id: z.ZodNullable<z.ZodString>;
|
|
609
816
|
deployed_url: z.ZodNullable<z.ZodString>;
|
|
610
817
|
default_locale: z.ZodEnum<{
|
|
818
|
+
id: "id";
|
|
611
819
|
"zh-CN": "zh-CN";
|
|
612
820
|
en: "en";
|
|
613
821
|
ja: "ja";
|
|
@@ -622,7 +830,6 @@ export declare const SiteRecordSchema: z.ZodObject<{
|
|
|
622
830
|
ru: "ru";
|
|
623
831
|
ar: "ar";
|
|
624
832
|
hi: "hi";
|
|
625
|
-
id: "id";
|
|
626
833
|
vi: "vi";
|
|
627
834
|
th: "th";
|
|
628
835
|
tr: "tr";
|
|
@@ -702,6 +909,7 @@ export declare const CreateSiteBriefResponseSchema: z.ZodObject<{
|
|
|
702
909
|
current_snapshot_id: z.ZodNullable<z.ZodString>;
|
|
703
910
|
deployed_url: z.ZodNullable<z.ZodString>;
|
|
704
911
|
default_locale: z.ZodEnum<{
|
|
912
|
+
id: "id";
|
|
705
913
|
"zh-CN": "zh-CN";
|
|
706
914
|
en: "en";
|
|
707
915
|
ja: "ja";
|
|
@@ -716,7 +924,6 @@ export declare const CreateSiteBriefResponseSchema: z.ZodObject<{
|
|
|
716
924
|
ru: "ru";
|
|
717
925
|
ar: "ar";
|
|
718
926
|
hi: "hi";
|
|
719
|
-
id: "id";
|
|
720
927
|
vi: "vi";
|
|
721
928
|
th: "th";
|
|
722
929
|
tr: "tr";
|
|
@@ -797,6 +1004,7 @@ export declare const UpdateBriefResponseSchema: z.ZodObject<{
|
|
|
797
1004
|
current_snapshot_id: z.ZodNullable<z.ZodString>;
|
|
798
1005
|
deployed_url: z.ZodNullable<z.ZodString>;
|
|
799
1006
|
default_locale: z.ZodEnum<{
|
|
1007
|
+
id: "id";
|
|
800
1008
|
"zh-CN": "zh-CN";
|
|
801
1009
|
en: "en";
|
|
802
1010
|
ja: "ja";
|
|
@@ -811,7 +1019,6 @@ export declare const UpdateBriefResponseSchema: z.ZodObject<{
|
|
|
811
1019
|
ru: "ru";
|
|
812
1020
|
ar: "ar";
|
|
813
1021
|
hi: "hi";
|
|
814
|
-
id: "id";
|
|
815
1022
|
vi: "vi";
|
|
816
1023
|
th: "th";
|
|
817
1024
|
tr: "tr";
|
|
@@ -1062,6 +1269,7 @@ export declare const PersistSiteSnapshotResponseSchema: z.ZodObject<{
|
|
|
1062
1269
|
current_snapshot_id: z.ZodNullable<z.ZodString>;
|
|
1063
1270
|
deployed_url: z.ZodNullable<z.ZodString>;
|
|
1064
1271
|
default_locale: z.ZodEnum<{
|
|
1272
|
+
id: "id";
|
|
1065
1273
|
"zh-CN": "zh-CN";
|
|
1066
1274
|
en: "en";
|
|
1067
1275
|
ja: "ja";
|
|
@@ -1076,7 +1284,6 @@ export declare const PersistSiteSnapshotResponseSchema: z.ZodObject<{
|
|
|
1076
1284
|
ru: "ru";
|
|
1077
1285
|
ar: "ar";
|
|
1078
1286
|
hi: "hi";
|
|
1079
|
-
id: "id";
|
|
1080
1287
|
vi: "vi";
|
|
1081
1288
|
th: "th";
|
|
1082
1289
|
tr: "tr";
|
|
@@ -1166,6 +1373,7 @@ export declare const PromoteSiteSnapshotResponseSchema: z.ZodObject<{
|
|
|
1166
1373
|
current_snapshot_id: z.ZodNullable<z.ZodString>;
|
|
1167
1374
|
deployed_url: z.ZodNullable<z.ZodString>;
|
|
1168
1375
|
default_locale: z.ZodEnum<{
|
|
1376
|
+
id: "id";
|
|
1169
1377
|
"zh-CN": "zh-CN";
|
|
1170
1378
|
en: "en";
|
|
1171
1379
|
ja: "ja";
|
|
@@ -1180,7 +1388,6 @@ export declare const PromoteSiteSnapshotResponseSchema: z.ZodObject<{
|
|
|
1180
1388
|
ru: "ru";
|
|
1181
1389
|
ar: "ar";
|
|
1182
1390
|
hi: "hi";
|
|
1183
|
-
id: "id";
|
|
1184
1391
|
vi: "vi";
|
|
1185
1392
|
th: "th";
|
|
1186
1393
|
tr: "tr";
|
|
@@ -1371,6 +1578,7 @@ export declare const RestoreSiteSnapshotResponseSchema: z.ZodObject<{
|
|
|
1371
1578
|
current_snapshot_id: z.ZodNullable<z.ZodString>;
|
|
1372
1579
|
deployed_url: z.ZodNullable<z.ZodString>;
|
|
1373
1580
|
default_locale: z.ZodEnum<{
|
|
1581
|
+
id: "id";
|
|
1374
1582
|
"zh-CN": "zh-CN";
|
|
1375
1583
|
en: "en";
|
|
1376
1584
|
ja: "ja";
|
|
@@ -1385,7 +1593,6 @@ export declare const RestoreSiteSnapshotResponseSchema: z.ZodObject<{
|
|
|
1385
1593
|
ru: "ru";
|
|
1386
1594
|
ar: "ar";
|
|
1387
1595
|
hi: "hi";
|
|
1388
|
-
id: "id";
|
|
1389
1596
|
vi: "vi";
|
|
1390
1597
|
th: "th";
|
|
1391
1598
|
tr: "tr";
|
|
@@ -2028,6 +2235,13 @@ export declare const VisualThemeSchema: z.ZodObject<{
|
|
|
2028
2235
|
neutral: z.ZodOptional<z.ZodString>;
|
|
2029
2236
|
supporting: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2030
2237
|
}, z.core.$strip>>;
|
|
2238
|
+
imagePalette: z.ZodOptional<z.ZodObject<{
|
|
2239
|
+
background: z.ZodOptional<z.ZodString>;
|
|
2240
|
+
foreground: z.ZodOptional<z.ZodString>;
|
|
2241
|
+
card: z.ZodOptional<z.ZodString>;
|
|
2242
|
+
muted: z.ZodOptional<z.ZodString>;
|
|
2243
|
+
border: z.ZodOptional<z.ZodString>;
|
|
2244
|
+
}, z.core.$strip>>;
|
|
2031
2245
|
}, z.core.$strip>>;
|
|
2032
2246
|
}, z.core.$strip>;
|
|
2033
2247
|
export type VisualTheme = z.infer<typeof VisualThemeSchema>;
|
|
@@ -2055,9 +2269,9 @@ export declare const BlockMediaIntentSchema: z.ZodObject<{
|
|
|
2055
2269
|
square: "square";
|
|
2056
2270
|
}>>;
|
|
2057
2271
|
role: z.ZodEnum<{
|
|
2272
|
+
card: "card";
|
|
2058
2273
|
section: "section";
|
|
2059
2274
|
hero: "hero";
|
|
2060
|
-
card: "card";
|
|
2061
2275
|
gallery: "gallery";
|
|
2062
2276
|
testimonial: "testimonial";
|
|
2063
2277
|
decorative: "decorative";
|
|
@@ -2192,6 +2406,13 @@ export declare const SiteDesignContextSchema: z.ZodObject<{
|
|
|
2192
2406
|
xl: "xl";
|
|
2193
2407
|
none: "none";
|
|
2194
2408
|
}>>;
|
|
2409
|
+
imagePalette: z.ZodOptional<z.ZodObject<{
|
|
2410
|
+
background: z.ZodOptional<z.ZodString>;
|
|
2411
|
+
foreground: z.ZodOptional<z.ZodString>;
|
|
2412
|
+
card: z.ZodOptional<z.ZodString>;
|
|
2413
|
+
muted: z.ZodOptional<z.ZodString>;
|
|
2414
|
+
border: z.ZodOptional<z.ZodString>;
|
|
2415
|
+
}, z.core.$strip>>;
|
|
2195
2416
|
}, z.core.$strip>;
|
|
2196
2417
|
export type SiteDesignContext = z.infer<typeof SiteDesignContextSchema>;
|
|
2197
2418
|
export declare const RouteGenerationCardSchema: z.ZodObject<{
|
|
@@ -2247,6 +2468,7 @@ export declare const BrandingSchema: z.ZodObject<{
|
|
|
2247
2468
|
target: z.ZodString;
|
|
2248
2469
|
}, z.core.$strip>>;
|
|
2249
2470
|
trustSignals: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2471
|
+
industry: z.ZodOptional<z.ZodString>;
|
|
2250
2472
|
}, z.core.$strip>;
|
|
2251
2473
|
export type Branding = z.infer<typeof BrandingSchema>;
|
|
2252
2474
|
/**
|
|
@@ -2274,8 +2496,8 @@ export declare const HeaderShellVariantSchema: z.ZodEnum<{
|
|
|
2274
2496
|
export type HeaderShellVariant = z.infer<typeof HeaderShellVariantSchema>;
|
|
2275
2497
|
export declare const HeaderShellSurfaceSchema: z.ZodEnum<{
|
|
2276
2498
|
primary: "primary";
|
|
2277
|
-
card: "card";
|
|
2278
2499
|
background: "background";
|
|
2500
|
+
card: "card";
|
|
2279
2501
|
frosted: "frosted";
|
|
2280
2502
|
}>;
|
|
2281
2503
|
export type HeaderShellSurface = z.infer<typeof HeaderShellSurfaceSchema>;
|
|
@@ -2297,8 +2519,8 @@ export declare const ChromeHeaderShellSchema: z.ZodObject<{
|
|
|
2297
2519
|
}>;
|
|
2298
2520
|
surface: z.ZodOptional<z.ZodEnum<{
|
|
2299
2521
|
primary: "primary";
|
|
2300
|
-
card: "card";
|
|
2301
2522
|
background: "background";
|
|
2523
|
+
card: "card";
|
|
2302
2524
|
frosted: "frosted";
|
|
2303
2525
|
}>>;
|
|
2304
2526
|
behavior: z.ZodOptional<z.ZodEnum<{
|
|
@@ -2323,8 +2545,8 @@ export declare const ChromeHeaderDesignSchema: z.ZodObject<{
|
|
|
2323
2545
|
}>;
|
|
2324
2546
|
surface: z.ZodOptional<z.ZodEnum<{
|
|
2325
2547
|
primary: "primary";
|
|
2326
|
-
card: "card";
|
|
2327
2548
|
background: "background";
|
|
2549
|
+
card: "card";
|
|
2328
2550
|
frosted: "frosted";
|
|
2329
2551
|
}>>;
|
|
2330
2552
|
behavior: z.ZodOptional<z.ZodEnum<{
|
|
@@ -2348,16 +2570,16 @@ export type ChromeHeaderDesign = z.infer<typeof ChromeHeaderDesignSchema>;
|
|
|
2348
2570
|
*/
|
|
2349
2571
|
export declare const FooterShellSurfaceSchema: z.ZodEnum<{
|
|
2350
2572
|
primary: "primary";
|
|
2351
|
-
card: "card";
|
|
2352
2573
|
background: "background";
|
|
2574
|
+
card: "card";
|
|
2353
2575
|
inverse: "inverse";
|
|
2354
2576
|
}>;
|
|
2355
2577
|
export type FooterShellSurface = z.infer<typeof FooterShellSurfaceSchema>;
|
|
2356
2578
|
export declare const ChromeFooterShellSchema: z.ZodObject<{
|
|
2357
2579
|
surface: z.ZodEnum<{
|
|
2358
2580
|
primary: "primary";
|
|
2359
|
-
card: "card";
|
|
2360
2581
|
background: "background";
|
|
2582
|
+
card: "card";
|
|
2361
2583
|
inverse: "inverse";
|
|
2362
2584
|
}>;
|
|
2363
2585
|
}, z.core.$strip>;
|
|
@@ -2368,8 +2590,8 @@ export declare const ChromeFooterDesignSchema: z.ZodObject<{
|
|
|
2368
2590
|
shell: z.ZodOptional<z.ZodObject<{
|
|
2369
2591
|
surface: z.ZodEnum<{
|
|
2370
2592
|
primary: "primary";
|
|
2371
|
-
card: "card";
|
|
2372
2593
|
background: "background";
|
|
2594
|
+
card: "card";
|
|
2373
2595
|
inverse: "inverse";
|
|
2374
2596
|
}>;
|
|
2375
2597
|
}, z.core.$strip>>;
|
|
@@ -2393,8 +2615,8 @@ export declare const ChromeDesignSchema: z.ZodObject<{
|
|
|
2393
2615
|
}>;
|
|
2394
2616
|
surface: z.ZodOptional<z.ZodEnum<{
|
|
2395
2617
|
primary: "primary";
|
|
2396
|
-
card: "card";
|
|
2397
2618
|
background: "background";
|
|
2619
|
+
card: "card";
|
|
2398
2620
|
frosted: "frosted";
|
|
2399
2621
|
}>>;
|
|
2400
2622
|
behavior: z.ZodOptional<z.ZodEnum<{
|
|
@@ -2415,8 +2637,8 @@ export declare const ChromeDesignSchema: z.ZodObject<{
|
|
|
2415
2637
|
shell: z.ZodOptional<z.ZodObject<{
|
|
2416
2638
|
surface: z.ZodEnum<{
|
|
2417
2639
|
primary: "primary";
|
|
2418
|
-
card: "card";
|
|
2419
2640
|
background: "background";
|
|
2641
|
+
card: "card";
|
|
2420
2642
|
inverse: "inverse";
|
|
2421
2643
|
}>;
|
|
2422
2644
|
}, z.core.$strip>>;
|
|
@@ -2470,6 +2692,13 @@ export declare const DesignPlanSchema: z.ZodObject<{
|
|
|
2470
2692
|
xl: "xl";
|
|
2471
2693
|
none: "none";
|
|
2472
2694
|
}>>;
|
|
2695
|
+
imagePalette: z.ZodOptional<z.ZodObject<{
|
|
2696
|
+
background: z.ZodOptional<z.ZodString>;
|
|
2697
|
+
foreground: z.ZodOptional<z.ZodString>;
|
|
2698
|
+
card: z.ZodOptional<z.ZodString>;
|
|
2699
|
+
muted: z.ZodOptional<z.ZodString>;
|
|
2700
|
+
border: z.ZodOptional<z.ZodString>;
|
|
2701
|
+
}, z.core.$strip>>;
|
|
2473
2702
|
}, z.core.$strip>;
|
|
2474
2703
|
routeCards: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
2475
2704
|
routeGoal: z.ZodString;
|
|
@@ -2520,6 +2749,7 @@ export declare const DesignPlanSchema: z.ZodObject<{
|
|
|
2520
2749
|
target: z.ZodString;
|
|
2521
2750
|
}, z.core.$strip>>;
|
|
2522
2751
|
trustSignals: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2752
|
+
industry: z.ZodOptional<z.ZodString>;
|
|
2523
2753
|
}, z.core.$strip>>;
|
|
2524
2754
|
chromeDesign: z.ZodOptional<z.ZodObject<{
|
|
2525
2755
|
header: z.ZodObject<{
|
|
@@ -2533,8 +2763,8 @@ export declare const DesignPlanSchema: z.ZodObject<{
|
|
|
2533
2763
|
}>;
|
|
2534
2764
|
surface: z.ZodOptional<z.ZodEnum<{
|
|
2535
2765
|
primary: "primary";
|
|
2536
|
-
card: "card";
|
|
2537
2766
|
background: "background";
|
|
2767
|
+
card: "card";
|
|
2538
2768
|
frosted: "frosted";
|
|
2539
2769
|
}>>;
|
|
2540
2770
|
behavior: z.ZodOptional<z.ZodEnum<{
|
|
@@ -2555,8 +2785,8 @@ export declare const DesignPlanSchema: z.ZodObject<{
|
|
|
2555
2785
|
shell: z.ZodOptional<z.ZodObject<{
|
|
2556
2786
|
surface: z.ZodEnum<{
|
|
2557
2787
|
primary: "primary";
|
|
2558
|
-
card: "card";
|
|
2559
2788
|
background: "background";
|
|
2789
|
+
card: "card";
|
|
2560
2790
|
inverse: "inverse";
|
|
2561
2791
|
}>;
|
|
2562
2792
|
}, z.core.$strip>>;
|
|
@@ -2571,34 +2801,17 @@ export declare const DesignPlanSchema: z.ZodObject<{
|
|
|
2571
2801
|
export type DesignPlan = z.infer<typeof DesignPlanSchema>;
|
|
2572
2802
|
export declare const DesignPlanPatchSchema: z.ZodObject<{
|
|
2573
2803
|
siteDesignContext: z.ZodOptional<z.ZodObject<{
|
|
2574
|
-
visualDirection: z.ZodString;
|
|
2575
|
-
brandFeeling: z.ZodString;
|
|
2576
|
-
paletteIntent: z.ZodString;
|
|
2577
|
-
typographyIntent: z.ZodString;
|
|
2578
|
-
density: z.ZodEnum<{
|
|
2579
|
-
compact: "compact";
|
|
2580
|
-
comfortable: "comfortable";
|
|
2581
|
-
editorial: "editorial";
|
|
2582
|
-
}>;
|
|
2583
|
-
motionLevel: z.ZodEnum<{
|
|
2584
|
-
none: "none";
|
|
2585
|
-
subtle: "subtle";
|
|
2586
|
-
moderate: "moderate";
|
|
2587
|
-
expressive: "expressive";
|
|
2588
|
-
}>;
|
|
2589
|
-
mediaStrategy: z.ZodString;
|
|
2590
|
-
compositionRules: z.ZodArray<z.ZodString>;
|
|
2591
|
-
avoidPatterns: z.ZodArray<z.ZodString>;
|
|
2592
|
-
fonts: z.ZodOptional<z.ZodObject<{
|
|
2593
|
-
heading: z.ZodString;
|
|
2594
|
-
body: z.ZodString;
|
|
2595
|
-
}, z.core.$strip>>;
|
|
2596
2804
|
colorSeeds: z.ZodOptional<z.ZodObject<{
|
|
2597
2805
|
primary: z.ZodString;
|
|
2598
2806
|
accent: z.ZodString;
|
|
2599
2807
|
neutral: z.ZodOptional<z.ZodString>;
|
|
2600
2808
|
supporting: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2601
2809
|
}, z.core.$strip>>;
|
|
2810
|
+
fonts: z.ZodOptional<z.ZodObject<{
|
|
2811
|
+
heading: z.ZodString;
|
|
2812
|
+
body: z.ZodString;
|
|
2813
|
+
}, z.core.$strip>>;
|
|
2814
|
+
paletteIntent: z.ZodString;
|
|
2602
2815
|
surfaceMode: z.ZodOptional<z.ZodEnum<{
|
|
2603
2816
|
light: "light";
|
|
2604
2817
|
dark: "dark";
|
|
@@ -2610,6 +2823,23 @@ export declare const DesignPlanPatchSchema: z.ZodObject<{
|
|
|
2610
2823
|
xl: "xl";
|
|
2611
2824
|
none: "none";
|
|
2612
2825
|
}>>;
|
|
2826
|
+
density: z.ZodEnum<{
|
|
2827
|
+
compact: "compact";
|
|
2828
|
+
comfortable: "comfortable";
|
|
2829
|
+
editorial: "editorial";
|
|
2830
|
+
}>;
|
|
2831
|
+
motionLevel: z.ZodEnum<{
|
|
2832
|
+
none: "none";
|
|
2833
|
+
subtle: "subtle";
|
|
2834
|
+
moderate: "moderate";
|
|
2835
|
+
expressive: "expressive";
|
|
2836
|
+
}>;
|
|
2837
|
+
visualDirection: z.ZodString;
|
|
2838
|
+
brandFeeling: z.ZodString;
|
|
2839
|
+
typographyIntent: z.ZodString;
|
|
2840
|
+
mediaStrategy: z.ZodString;
|
|
2841
|
+
compositionRules: z.ZodArray<z.ZodString>;
|
|
2842
|
+
avoidPatterns: z.ZodArray<z.ZodString>;
|
|
2613
2843
|
}, z.core.$strip>>;
|
|
2614
2844
|
routeCards: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
2615
2845
|
routeGoal: z.ZodString;
|
|
@@ -2647,6 +2877,7 @@ export declare const DesignPlanPatchSchema: z.ZodObject<{
|
|
|
2647
2877
|
target: z.ZodString;
|
|
2648
2878
|
}, z.core.$strip>>;
|
|
2649
2879
|
trustSignals: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2880
|
+
industry: z.ZodOptional<z.ZodString>;
|
|
2650
2881
|
}, z.core.$strip>>;
|
|
2651
2882
|
chromeDesign: z.ZodOptional<z.ZodObject<{
|
|
2652
2883
|
header: z.ZodObject<{
|
|
@@ -2660,8 +2891,8 @@ export declare const DesignPlanPatchSchema: z.ZodObject<{
|
|
|
2660
2891
|
}>;
|
|
2661
2892
|
surface: z.ZodOptional<z.ZodEnum<{
|
|
2662
2893
|
primary: "primary";
|
|
2663
|
-
card: "card";
|
|
2664
2894
|
background: "background";
|
|
2895
|
+
card: "card";
|
|
2665
2896
|
frosted: "frosted";
|
|
2666
2897
|
}>>;
|
|
2667
2898
|
behavior: z.ZodOptional<z.ZodEnum<{
|
|
@@ -2682,8 +2913,8 @@ export declare const DesignPlanPatchSchema: z.ZodObject<{
|
|
|
2682
2913
|
shell: z.ZodOptional<z.ZodObject<{
|
|
2683
2914
|
surface: z.ZodEnum<{
|
|
2684
2915
|
primary: "primary";
|
|
2685
|
-
card: "card";
|
|
2686
2916
|
background: "background";
|
|
2917
|
+
card: "card";
|
|
2687
2918
|
inverse: "inverse";
|
|
2688
2919
|
}>;
|
|
2689
2920
|
}, z.core.$strip>>;
|
|
@@ -2853,6 +3084,13 @@ export declare const SitemapSchema: z.ZodObject<{
|
|
|
2853
3084
|
neutral: z.ZodOptional<z.ZodString>;
|
|
2854
3085
|
supporting: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2855
3086
|
}, z.core.$strip>>;
|
|
3087
|
+
imagePalette: z.ZodOptional<z.ZodObject<{
|
|
3088
|
+
background: z.ZodOptional<z.ZodString>;
|
|
3089
|
+
foreground: z.ZodOptional<z.ZodString>;
|
|
3090
|
+
card: z.ZodOptional<z.ZodString>;
|
|
3091
|
+
muted: z.ZodOptional<z.ZodString>;
|
|
3092
|
+
border: z.ZodOptional<z.ZodString>;
|
|
3093
|
+
}, z.core.$strip>>;
|
|
2856
3094
|
}, z.core.$strip>>;
|
|
2857
3095
|
}, z.core.$strip>>;
|
|
2858
3096
|
userChoices: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -2888,7 +3126,6 @@ export declare const SitemapModelOutputSchema: z.ZodObject<{
|
|
|
2888
3126
|
source_brief_id: z.ZodOptional<z.ZodString>;
|
|
2889
3127
|
source_answer_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2890
3128
|
}, z.core.$strip>;
|
|
2891
|
-
site_name: z.ZodOptional<z.ZodString>;
|
|
2892
3129
|
navigation: z.ZodObject<{
|
|
2893
3130
|
primaryLinks: z.ZodArray<z.ZodObject<{
|
|
2894
3131
|
label: z.ZodString;
|
|
@@ -2936,6 +3173,7 @@ export declare const SitemapModelOutputSchema: z.ZodObject<{
|
|
|
2936
3173
|
cms: z.ZodOptional<z.ZodUnknown>;
|
|
2937
3174
|
analytics: z.ZodOptional<z.ZodUnknown>;
|
|
2938
3175
|
}, z.core.$strip>>;
|
|
3176
|
+
site_name: z.ZodString;
|
|
2939
3177
|
}, z.core.$strict>;
|
|
2940
3178
|
export type SitemapModelOutput = z.infer<typeof SitemapModelOutputSchema>;
|
|
2941
3179
|
export type Page = z.infer<typeof PageSchema>;
|
|
@@ -3171,6 +3409,13 @@ export declare const SitemapAnswerSchema: z.ZodObject<{
|
|
|
3171
3409
|
neutral: z.ZodOptional<z.ZodString>;
|
|
3172
3410
|
supporting: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3173
3411
|
}, z.core.$strip>>;
|
|
3412
|
+
imagePalette: z.ZodOptional<z.ZodObject<{
|
|
3413
|
+
background: z.ZodOptional<z.ZodString>;
|
|
3414
|
+
foreground: z.ZodOptional<z.ZodString>;
|
|
3415
|
+
card: z.ZodOptional<z.ZodString>;
|
|
3416
|
+
muted: z.ZodOptional<z.ZodString>;
|
|
3417
|
+
border: z.ZodOptional<z.ZodString>;
|
|
3418
|
+
}, z.core.$strip>>;
|
|
3174
3419
|
}, z.core.$strip>>;
|
|
3175
3420
|
conversion: z.ZodOptional<z.ZodObject<{
|
|
3176
3421
|
protocol: z.ZodEnum<{
|
|
@@ -3184,6 +3429,11 @@ export declare const SitemapAnswerSchema: z.ZodObject<{
|
|
|
3184
3429
|
ctaTarget: z.ZodOptional<z.ZodString>;
|
|
3185
3430
|
requiresOwnerDetail: z.ZodOptional<z.ZodBoolean>;
|
|
3186
3431
|
}, z.core.$strip>>;
|
|
3432
|
+
positioning: z.ZodOptional<z.ZodObject<{
|
|
3433
|
+
market: z.ZodString;
|
|
3434
|
+
customer: z.ZodString;
|
|
3435
|
+
purpose: z.ZodString;
|
|
3436
|
+
}, z.core.$strip>>;
|
|
3187
3437
|
}, z.core.$strip>;
|
|
3188
3438
|
export type SitemapAnswer = z.infer<typeof SitemapAnswerSchema>;
|
|
3189
3439
|
export declare const SitemapRunInputSchema: z.ZodObject<{
|
|
@@ -3229,6 +3479,13 @@ export declare const SitemapRunInputSchema: z.ZodObject<{
|
|
|
3229
3479
|
neutral: z.ZodOptional<z.ZodString>;
|
|
3230
3480
|
supporting: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3231
3481
|
}, z.core.$strip>>;
|
|
3482
|
+
imagePalette: z.ZodOptional<z.ZodObject<{
|
|
3483
|
+
background: z.ZodOptional<z.ZodString>;
|
|
3484
|
+
foreground: z.ZodOptional<z.ZodString>;
|
|
3485
|
+
card: z.ZodOptional<z.ZodString>;
|
|
3486
|
+
muted: z.ZodOptional<z.ZodString>;
|
|
3487
|
+
border: z.ZodOptional<z.ZodString>;
|
|
3488
|
+
}, z.core.$strip>>;
|
|
3232
3489
|
}, z.core.$strip>>;
|
|
3233
3490
|
conversion: z.ZodOptional<z.ZodObject<{
|
|
3234
3491
|
protocol: z.ZodEnum<{
|
|
@@ -3242,6 +3499,11 @@ export declare const SitemapRunInputSchema: z.ZodObject<{
|
|
|
3242
3499
|
ctaTarget: z.ZodOptional<z.ZodString>;
|
|
3243
3500
|
requiresOwnerDetail: z.ZodOptional<z.ZodBoolean>;
|
|
3244
3501
|
}, z.core.$strip>>;
|
|
3502
|
+
positioning: z.ZodOptional<z.ZodObject<{
|
|
3503
|
+
market: z.ZodString;
|
|
3504
|
+
customer: z.ZodString;
|
|
3505
|
+
purpose: z.ZodString;
|
|
3506
|
+
}, z.core.$strip>>;
|
|
3245
3507
|
}, z.core.$strip>>;
|
|
3246
3508
|
skillSelection: z.ZodObject<{
|
|
3247
3509
|
id: z.ZodString;
|
|
@@ -3257,6 +3519,7 @@ export declare const SitemapRunInputSchema: z.ZodObject<{
|
|
|
3257
3519
|
}>>;
|
|
3258
3520
|
}, z.core.$strip>;
|
|
3259
3521
|
site_default_locale: z.ZodOptional<z.ZodEnum<{
|
|
3522
|
+
id: "id";
|
|
3260
3523
|
"zh-CN": "zh-CN";
|
|
3261
3524
|
en: "en";
|
|
3262
3525
|
ja: "ja";
|
|
@@ -3271,7 +3534,6 @@ export declare const SitemapRunInputSchema: z.ZodObject<{
|
|
|
3271
3534
|
ru: "ru";
|
|
3272
3535
|
ar: "ar";
|
|
3273
3536
|
hi: "hi";
|
|
3274
|
-
id: "id";
|
|
3275
3537
|
vi: "vi";
|
|
3276
3538
|
th: "th";
|
|
3277
3539
|
tr: "tr";
|
|
@@ -3303,6 +3565,42 @@ export declare const SitemapRunInputSchema: z.ZodObject<{
|
|
|
3303
3565
|
sr: "sr";
|
|
3304
3566
|
is: "is";
|
|
3305
3567
|
}>>;
|
|
3568
|
+
reference: z.ZodOptional<z.ZodObject<{
|
|
3569
|
+
source_id: z.ZodString;
|
|
3570
|
+
nav_structure: z.ZodArray<z.ZodString>;
|
|
3571
|
+
page_patterns: z.ZodArray<z.ZodObject<{
|
|
3572
|
+
page_type: z.ZodString;
|
|
3573
|
+
sections: z.ZodArray<z.ZodString>;
|
|
3574
|
+
}, z.core.$strip>>;
|
|
3575
|
+
tone: z.ZodArray<z.ZodString>;
|
|
3576
|
+
screenshot_ref: z.ZodOptional<z.ZodString>;
|
|
3577
|
+
}, z.core.$strip>>;
|
|
3578
|
+
input_context: z.ZodOptional<z.ZodObject<{
|
|
3579
|
+
facts: z.ZodArray<z.ZodObject<{
|
|
3580
|
+
fact: z.ZodString;
|
|
3581
|
+
kind: z.ZodEnum<{
|
|
3582
|
+
product: "product";
|
|
3583
|
+
price: "price";
|
|
3584
|
+
contact: "contact";
|
|
3585
|
+
copy: "copy";
|
|
3586
|
+
audience: "audience";
|
|
3587
|
+
other: "other";
|
|
3588
|
+
}>;
|
|
3589
|
+
source_id: z.ZodString;
|
|
3590
|
+
quote: z.ZodString;
|
|
3591
|
+
trust: z.ZodDefault<z.ZodEnum<{
|
|
3592
|
+
verbatim: "verbatim";
|
|
3593
|
+
ocr: "ocr";
|
|
3594
|
+
}>>;
|
|
3595
|
+
}, z.core.$strip>>;
|
|
3596
|
+
conflicts: z.ZodArray<z.ZodObject<{
|
|
3597
|
+
topic: z.ZodString;
|
|
3598
|
+
variants: z.ZodArray<z.ZodObject<{
|
|
3599
|
+
value: z.ZodString;
|
|
3600
|
+
source_id: z.ZodString;
|
|
3601
|
+
}, z.core.$strip>>;
|
|
3602
|
+
}, z.core.$strip>>;
|
|
3603
|
+
}, z.core.$strip>>;
|
|
3306
3604
|
}, z.core.$strip>;
|
|
3307
3605
|
export type SitemapRunInput = z.infer<typeof SitemapRunInputSchema>;
|
|
3308
3606
|
export declare const SitemapGenerationStageSchema: z.ZodEnum<{
|
|
@@ -3439,6 +3737,13 @@ export declare const SitemapStreamEventSchema: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
3439
3737
|
neutral: z.ZodOptional<z.ZodString>;
|
|
3440
3738
|
supporting: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3441
3739
|
}, z.core.$strip>>;
|
|
3740
|
+
imagePalette: z.ZodOptional<z.ZodObject<{
|
|
3741
|
+
background: z.ZodOptional<z.ZodString>;
|
|
3742
|
+
foreground: z.ZodOptional<z.ZodString>;
|
|
3743
|
+
card: z.ZodOptional<z.ZodString>;
|
|
3744
|
+
muted: z.ZodOptional<z.ZodString>;
|
|
3745
|
+
border: z.ZodOptional<z.ZodString>;
|
|
3746
|
+
}, z.core.$strip>>;
|
|
3442
3747
|
}, z.core.$strip>>;
|
|
3443
3748
|
}, z.core.$strip>>;
|
|
3444
3749
|
userChoices: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -3614,6 +3919,13 @@ export declare const SitemapRecordSchema: z.ZodObject<{
|
|
|
3614
3919
|
neutral: z.ZodOptional<z.ZodString>;
|
|
3615
3920
|
supporting: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3616
3921
|
}, z.core.$strip>>;
|
|
3922
|
+
imagePalette: z.ZodOptional<z.ZodObject<{
|
|
3923
|
+
background: z.ZodOptional<z.ZodString>;
|
|
3924
|
+
foreground: z.ZodOptional<z.ZodString>;
|
|
3925
|
+
card: z.ZodOptional<z.ZodString>;
|
|
3926
|
+
muted: z.ZodOptional<z.ZodString>;
|
|
3927
|
+
border: z.ZodOptional<z.ZodString>;
|
|
3928
|
+
}, z.core.$strip>>;
|
|
3617
3929
|
}, z.core.$strip>>;
|
|
3618
3930
|
}, z.core.$strip>>;
|
|
3619
3931
|
userChoices: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -3748,6 +4060,13 @@ export declare const PersistSiteSitemapRequestSchema: z.ZodObject<{
|
|
|
3748
4060
|
neutral: z.ZodOptional<z.ZodString>;
|
|
3749
4061
|
supporting: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3750
4062
|
}, z.core.$strip>>;
|
|
4063
|
+
imagePalette: z.ZodOptional<z.ZodObject<{
|
|
4064
|
+
background: z.ZodOptional<z.ZodString>;
|
|
4065
|
+
foreground: z.ZodOptional<z.ZodString>;
|
|
4066
|
+
card: z.ZodOptional<z.ZodString>;
|
|
4067
|
+
muted: z.ZodOptional<z.ZodString>;
|
|
4068
|
+
border: z.ZodOptional<z.ZodString>;
|
|
4069
|
+
}, z.core.$strip>>;
|
|
3751
4070
|
}, z.core.$strip>>;
|
|
3752
4071
|
}, z.core.$strip>>;
|
|
3753
4072
|
userChoices: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -3799,6 +4118,7 @@ export declare const PersistSiteSitemapResponseSchema: z.ZodObject<{
|
|
|
3799
4118
|
current_snapshot_id: z.ZodNullable<z.ZodString>;
|
|
3800
4119
|
deployed_url: z.ZodNullable<z.ZodString>;
|
|
3801
4120
|
default_locale: z.ZodEnum<{
|
|
4121
|
+
id: "id";
|
|
3802
4122
|
"zh-CN": "zh-CN";
|
|
3803
4123
|
en: "en";
|
|
3804
4124
|
ja: "ja";
|
|
@@ -3813,7 +4133,6 @@ export declare const PersistSiteSitemapResponseSchema: z.ZodObject<{
|
|
|
3813
4133
|
ru: "ru";
|
|
3814
4134
|
ar: "ar";
|
|
3815
4135
|
hi: "hi";
|
|
3816
|
-
id: "id";
|
|
3817
4136
|
vi: "vi";
|
|
3818
4137
|
th: "th";
|
|
3819
4138
|
tr: "tr";
|
|
@@ -3962,6 +4281,13 @@ export declare const PersistSiteSitemapResponseSchema: z.ZodObject<{
|
|
|
3962
4281
|
neutral: z.ZodOptional<z.ZodString>;
|
|
3963
4282
|
supporting: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3964
4283
|
}, z.core.$strip>>;
|
|
4284
|
+
imagePalette: z.ZodOptional<z.ZodObject<{
|
|
4285
|
+
background: z.ZodOptional<z.ZodString>;
|
|
4286
|
+
foreground: z.ZodOptional<z.ZodString>;
|
|
4287
|
+
card: z.ZodOptional<z.ZodString>;
|
|
4288
|
+
muted: z.ZodOptional<z.ZodString>;
|
|
4289
|
+
border: z.ZodOptional<z.ZodString>;
|
|
4290
|
+
}, z.core.$strip>>;
|
|
3965
4291
|
}, z.core.$strip>>;
|
|
3966
4292
|
}, z.core.$strip>>;
|
|
3967
4293
|
userChoices: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -4000,6 +4326,7 @@ export declare const ClarifySessionRecordSchema: z.ZodObject<{
|
|
|
4000
4326
|
questions: z.ZodArray<z.ZodObject<{
|
|
4001
4327
|
id: z.ZodString;
|
|
4002
4328
|
type: z.ZodEnum<{
|
|
4329
|
+
positioning: "positioning";
|
|
4003
4330
|
"text-options": "text-options";
|
|
4004
4331
|
"motion-slider": "motion-slider";
|
|
4005
4332
|
}>;
|
|
@@ -4012,6 +4339,7 @@ export declare const ClarifySessionRecordSchema: z.ZodObject<{
|
|
|
4012
4339
|
desc: z.ZodOptional<z.ZodString>;
|
|
4013
4340
|
impact: z.ZodOptional<z.ZodString>;
|
|
4014
4341
|
isRecommended: z.ZodOptional<z.ZodBoolean>;
|
|
4342
|
+
preselect: z.ZodOptional<z.ZodBoolean>;
|
|
4015
4343
|
visualHints: z.ZodOptional<z.ZodObject<{
|
|
4016
4344
|
heading: z.ZodOptional<z.ZodString>;
|
|
4017
4345
|
body: z.ZodOptional<z.ZodString>;
|
|
@@ -4038,6 +4366,13 @@ export declare const ClarifySessionRecordSchema: z.ZodObject<{
|
|
|
4038
4366
|
neutral: z.ZodOptional<z.ZodString>;
|
|
4039
4367
|
supporting: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4040
4368
|
}, z.core.$strip>>;
|
|
4369
|
+
imagePalette: z.ZodOptional<z.ZodObject<{
|
|
4370
|
+
background: z.ZodOptional<z.ZodString>;
|
|
4371
|
+
foreground: z.ZodOptional<z.ZodString>;
|
|
4372
|
+
card: z.ZodOptional<z.ZodString>;
|
|
4373
|
+
muted: z.ZodOptional<z.ZodString>;
|
|
4374
|
+
border: z.ZodOptional<z.ZodString>;
|
|
4375
|
+
}, z.core.$strip>>;
|
|
4041
4376
|
}, z.core.$strip>>;
|
|
4042
4377
|
conversionHints: z.ZodOptional<z.ZodObject<{
|
|
4043
4378
|
protocol: z.ZodEnum<{
|
|
@@ -4057,6 +4392,36 @@ export declare const ClarifySessionRecordSchema: z.ZodObject<{
|
|
|
4057
4392
|
"always-ask": "always-ask";
|
|
4058
4393
|
}>;
|
|
4059
4394
|
sourceDetail: z.ZodString;
|
|
4395
|
+
positioning: z.ZodOptional<z.ZodObject<{
|
|
4396
|
+
market: z.ZodObject<{
|
|
4397
|
+
value: z.ZodString;
|
|
4398
|
+
source: z.ZodEnum<{
|
|
4399
|
+
reference: "reference";
|
|
4400
|
+
material: "material";
|
|
4401
|
+
brief: "brief";
|
|
4402
|
+
industry: "industry";
|
|
4403
|
+
}>;
|
|
4404
|
+
}, z.core.$strip>;
|
|
4405
|
+
customer: z.ZodObject<{
|
|
4406
|
+
value: z.ZodString;
|
|
4407
|
+
source: z.ZodEnum<{
|
|
4408
|
+
reference: "reference";
|
|
4409
|
+
material: "material";
|
|
4410
|
+
brief: "brief";
|
|
4411
|
+
industry: "industry";
|
|
4412
|
+
}>;
|
|
4413
|
+
}, z.core.$strip>;
|
|
4414
|
+
purpose: z.ZodObject<{
|
|
4415
|
+
options: z.ZodArray<z.ZodString>;
|
|
4416
|
+
selected: z.ZodString;
|
|
4417
|
+
source: z.ZodEnum<{
|
|
4418
|
+
reference: "reference";
|
|
4419
|
+
material: "material";
|
|
4420
|
+
brief: "brief";
|
|
4421
|
+
industry: "industry";
|
|
4422
|
+
}>;
|
|
4423
|
+
}, z.core.$strip>;
|
|
4424
|
+
}, z.core.$strip>>;
|
|
4060
4425
|
}, z.core.$strip>>;
|
|
4061
4426
|
}, z.core.$strip>;
|
|
4062
4427
|
answers: z.ZodArray<z.ZodObject<{
|
|
@@ -4097,6 +4462,13 @@ export declare const ClarifySessionRecordSchema: z.ZodObject<{
|
|
|
4097
4462
|
neutral: z.ZodOptional<z.ZodString>;
|
|
4098
4463
|
supporting: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4099
4464
|
}, z.core.$strip>>;
|
|
4465
|
+
imagePalette: z.ZodOptional<z.ZodObject<{
|
|
4466
|
+
background: z.ZodOptional<z.ZodString>;
|
|
4467
|
+
foreground: z.ZodOptional<z.ZodString>;
|
|
4468
|
+
card: z.ZodOptional<z.ZodString>;
|
|
4469
|
+
muted: z.ZodOptional<z.ZodString>;
|
|
4470
|
+
border: z.ZodOptional<z.ZodString>;
|
|
4471
|
+
}, z.core.$strip>>;
|
|
4100
4472
|
}, z.core.$strip>>;
|
|
4101
4473
|
conversion: z.ZodOptional<z.ZodObject<{
|
|
4102
4474
|
protocol: z.ZodEnum<{
|
|
@@ -4110,6 +4482,11 @@ export declare const ClarifySessionRecordSchema: z.ZodObject<{
|
|
|
4110
4482
|
ctaTarget: z.ZodOptional<z.ZodString>;
|
|
4111
4483
|
requiresOwnerDetail: z.ZodOptional<z.ZodBoolean>;
|
|
4112
4484
|
}, z.core.$strip>>;
|
|
4485
|
+
positioning: z.ZodOptional<z.ZodObject<{
|
|
4486
|
+
market: z.ZodString;
|
|
4487
|
+
customer: z.ZodString;
|
|
4488
|
+
purpose: z.ZodString;
|
|
4489
|
+
}, z.core.$strip>>;
|
|
4113
4490
|
}, z.core.$strip>>;
|
|
4114
4491
|
selected_archetype: z.ZodOptional<z.ZodObject<{
|
|
4115
4492
|
id: z.ZodString;
|
|
@@ -4168,6 +4545,13 @@ export declare const PersistClarifyAnswersRequestSchema: z.ZodObject<{
|
|
|
4168
4545
|
neutral: z.ZodOptional<z.ZodString>;
|
|
4169
4546
|
supporting: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4170
4547
|
}, z.core.$strip>>;
|
|
4548
|
+
imagePalette: z.ZodOptional<z.ZodObject<{
|
|
4549
|
+
background: z.ZodOptional<z.ZodString>;
|
|
4550
|
+
foreground: z.ZodOptional<z.ZodString>;
|
|
4551
|
+
card: z.ZodOptional<z.ZodString>;
|
|
4552
|
+
muted: z.ZodOptional<z.ZodString>;
|
|
4553
|
+
border: z.ZodOptional<z.ZodString>;
|
|
4554
|
+
}, z.core.$strip>>;
|
|
4171
4555
|
}, z.core.$strip>>;
|
|
4172
4556
|
conversion: z.ZodOptional<z.ZodObject<{
|
|
4173
4557
|
protocol: z.ZodEnum<{
|
|
@@ -4181,11 +4565,17 @@ export declare const PersistClarifyAnswersRequestSchema: z.ZodObject<{
|
|
|
4181
4565
|
ctaTarget: z.ZodOptional<z.ZodString>;
|
|
4182
4566
|
requiresOwnerDetail: z.ZodOptional<z.ZodBoolean>;
|
|
4183
4567
|
}, z.core.$strip>>;
|
|
4568
|
+
positioning: z.ZodOptional<z.ZodObject<{
|
|
4569
|
+
market: z.ZodString;
|
|
4570
|
+
customer: z.ZodString;
|
|
4571
|
+
purpose: z.ZodString;
|
|
4572
|
+
}, z.core.$strip>>;
|
|
4184
4573
|
}, z.core.$strip>>;
|
|
4185
4574
|
questions: z.ZodObject<{
|
|
4186
4575
|
questions: z.ZodArray<z.ZodObject<{
|
|
4187
4576
|
id: z.ZodString;
|
|
4188
4577
|
type: z.ZodEnum<{
|
|
4578
|
+
positioning: "positioning";
|
|
4189
4579
|
"text-options": "text-options";
|
|
4190
4580
|
"motion-slider": "motion-slider";
|
|
4191
4581
|
}>;
|
|
@@ -4198,6 +4588,7 @@ export declare const PersistClarifyAnswersRequestSchema: z.ZodObject<{
|
|
|
4198
4588
|
desc: z.ZodOptional<z.ZodString>;
|
|
4199
4589
|
impact: z.ZodOptional<z.ZodString>;
|
|
4200
4590
|
isRecommended: z.ZodOptional<z.ZodBoolean>;
|
|
4591
|
+
preselect: z.ZodOptional<z.ZodBoolean>;
|
|
4201
4592
|
visualHints: z.ZodOptional<z.ZodObject<{
|
|
4202
4593
|
heading: z.ZodOptional<z.ZodString>;
|
|
4203
4594
|
body: z.ZodOptional<z.ZodString>;
|
|
@@ -4224,6 +4615,13 @@ export declare const PersistClarifyAnswersRequestSchema: z.ZodObject<{
|
|
|
4224
4615
|
neutral: z.ZodOptional<z.ZodString>;
|
|
4225
4616
|
supporting: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4226
4617
|
}, z.core.$strip>>;
|
|
4618
|
+
imagePalette: z.ZodOptional<z.ZodObject<{
|
|
4619
|
+
background: z.ZodOptional<z.ZodString>;
|
|
4620
|
+
foreground: z.ZodOptional<z.ZodString>;
|
|
4621
|
+
card: z.ZodOptional<z.ZodString>;
|
|
4622
|
+
muted: z.ZodOptional<z.ZodString>;
|
|
4623
|
+
border: z.ZodOptional<z.ZodString>;
|
|
4624
|
+
}, z.core.$strip>>;
|
|
4227
4625
|
}, z.core.$strip>>;
|
|
4228
4626
|
conversionHints: z.ZodOptional<z.ZodObject<{
|
|
4229
4627
|
protocol: z.ZodEnum<{
|
|
@@ -4243,6 +4641,36 @@ export declare const PersistClarifyAnswersRequestSchema: z.ZodObject<{
|
|
|
4243
4641
|
"always-ask": "always-ask";
|
|
4244
4642
|
}>;
|
|
4245
4643
|
sourceDetail: z.ZodString;
|
|
4644
|
+
positioning: z.ZodOptional<z.ZodObject<{
|
|
4645
|
+
market: z.ZodObject<{
|
|
4646
|
+
value: z.ZodString;
|
|
4647
|
+
source: z.ZodEnum<{
|
|
4648
|
+
reference: "reference";
|
|
4649
|
+
material: "material";
|
|
4650
|
+
brief: "brief";
|
|
4651
|
+
industry: "industry";
|
|
4652
|
+
}>;
|
|
4653
|
+
}, z.core.$strip>;
|
|
4654
|
+
customer: z.ZodObject<{
|
|
4655
|
+
value: z.ZodString;
|
|
4656
|
+
source: z.ZodEnum<{
|
|
4657
|
+
reference: "reference";
|
|
4658
|
+
material: "material";
|
|
4659
|
+
brief: "brief";
|
|
4660
|
+
industry: "industry";
|
|
4661
|
+
}>;
|
|
4662
|
+
}, z.core.$strip>;
|
|
4663
|
+
purpose: z.ZodObject<{
|
|
4664
|
+
options: z.ZodArray<z.ZodString>;
|
|
4665
|
+
selected: z.ZodString;
|
|
4666
|
+
source: z.ZodEnum<{
|
|
4667
|
+
reference: "reference";
|
|
4668
|
+
material: "material";
|
|
4669
|
+
brief: "brief";
|
|
4670
|
+
industry: "industry";
|
|
4671
|
+
}>;
|
|
4672
|
+
}, z.core.$strip>;
|
|
4673
|
+
}, z.core.$strip>>;
|
|
4246
4674
|
}, z.core.$strip>>;
|
|
4247
4675
|
}, z.core.$strip>;
|
|
4248
4676
|
selected_archetype: z.ZodOptional<z.ZodObject<{
|
|
@@ -4270,6 +4698,7 @@ export declare const PersistClarifyAnswersResponseSchema: z.ZodObject<{
|
|
|
4270
4698
|
questions: z.ZodArray<z.ZodObject<{
|
|
4271
4699
|
id: z.ZodString;
|
|
4272
4700
|
type: z.ZodEnum<{
|
|
4701
|
+
positioning: "positioning";
|
|
4273
4702
|
"text-options": "text-options";
|
|
4274
4703
|
"motion-slider": "motion-slider";
|
|
4275
4704
|
}>;
|
|
@@ -4282,6 +4711,7 @@ export declare const PersistClarifyAnswersResponseSchema: z.ZodObject<{
|
|
|
4282
4711
|
desc: z.ZodOptional<z.ZodString>;
|
|
4283
4712
|
impact: z.ZodOptional<z.ZodString>;
|
|
4284
4713
|
isRecommended: z.ZodOptional<z.ZodBoolean>;
|
|
4714
|
+
preselect: z.ZodOptional<z.ZodBoolean>;
|
|
4285
4715
|
visualHints: z.ZodOptional<z.ZodObject<{
|
|
4286
4716
|
heading: z.ZodOptional<z.ZodString>;
|
|
4287
4717
|
body: z.ZodOptional<z.ZodString>;
|
|
@@ -4308,6 +4738,13 @@ export declare const PersistClarifyAnswersResponseSchema: z.ZodObject<{
|
|
|
4308
4738
|
neutral: z.ZodOptional<z.ZodString>;
|
|
4309
4739
|
supporting: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4310
4740
|
}, z.core.$strip>>;
|
|
4741
|
+
imagePalette: z.ZodOptional<z.ZodObject<{
|
|
4742
|
+
background: z.ZodOptional<z.ZodString>;
|
|
4743
|
+
foreground: z.ZodOptional<z.ZodString>;
|
|
4744
|
+
card: z.ZodOptional<z.ZodString>;
|
|
4745
|
+
muted: z.ZodOptional<z.ZodString>;
|
|
4746
|
+
border: z.ZodOptional<z.ZodString>;
|
|
4747
|
+
}, z.core.$strip>>;
|
|
4311
4748
|
}, z.core.$strip>>;
|
|
4312
4749
|
conversionHints: z.ZodOptional<z.ZodObject<{
|
|
4313
4750
|
protocol: z.ZodEnum<{
|
|
@@ -4327,6 +4764,36 @@ export declare const PersistClarifyAnswersResponseSchema: z.ZodObject<{
|
|
|
4327
4764
|
"always-ask": "always-ask";
|
|
4328
4765
|
}>;
|
|
4329
4766
|
sourceDetail: z.ZodString;
|
|
4767
|
+
positioning: z.ZodOptional<z.ZodObject<{
|
|
4768
|
+
market: z.ZodObject<{
|
|
4769
|
+
value: z.ZodString;
|
|
4770
|
+
source: z.ZodEnum<{
|
|
4771
|
+
reference: "reference";
|
|
4772
|
+
material: "material";
|
|
4773
|
+
brief: "brief";
|
|
4774
|
+
industry: "industry";
|
|
4775
|
+
}>;
|
|
4776
|
+
}, z.core.$strip>;
|
|
4777
|
+
customer: z.ZodObject<{
|
|
4778
|
+
value: z.ZodString;
|
|
4779
|
+
source: z.ZodEnum<{
|
|
4780
|
+
reference: "reference";
|
|
4781
|
+
material: "material";
|
|
4782
|
+
brief: "brief";
|
|
4783
|
+
industry: "industry";
|
|
4784
|
+
}>;
|
|
4785
|
+
}, z.core.$strip>;
|
|
4786
|
+
purpose: z.ZodObject<{
|
|
4787
|
+
options: z.ZodArray<z.ZodString>;
|
|
4788
|
+
selected: z.ZodString;
|
|
4789
|
+
source: z.ZodEnum<{
|
|
4790
|
+
reference: "reference";
|
|
4791
|
+
material: "material";
|
|
4792
|
+
brief: "brief";
|
|
4793
|
+
industry: "industry";
|
|
4794
|
+
}>;
|
|
4795
|
+
}, z.core.$strip>;
|
|
4796
|
+
}, z.core.$strip>>;
|
|
4330
4797
|
}, z.core.$strip>>;
|
|
4331
4798
|
}, z.core.$strip>;
|
|
4332
4799
|
answers: z.ZodArray<z.ZodObject<{
|
|
@@ -4367,6 +4834,13 @@ export declare const PersistClarifyAnswersResponseSchema: z.ZodObject<{
|
|
|
4367
4834
|
neutral: z.ZodOptional<z.ZodString>;
|
|
4368
4835
|
supporting: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4369
4836
|
}, z.core.$strip>>;
|
|
4837
|
+
imagePalette: z.ZodOptional<z.ZodObject<{
|
|
4838
|
+
background: z.ZodOptional<z.ZodString>;
|
|
4839
|
+
foreground: z.ZodOptional<z.ZodString>;
|
|
4840
|
+
card: z.ZodOptional<z.ZodString>;
|
|
4841
|
+
muted: z.ZodOptional<z.ZodString>;
|
|
4842
|
+
border: z.ZodOptional<z.ZodString>;
|
|
4843
|
+
}, z.core.$strip>>;
|
|
4370
4844
|
}, z.core.$strip>>;
|
|
4371
4845
|
conversion: z.ZodOptional<z.ZodObject<{
|
|
4372
4846
|
protocol: z.ZodEnum<{
|
|
@@ -4380,6 +4854,11 @@ export declare const PersistClarifyAnswersResponseSchema: z.ZodObject<{
|
|
|
4380
4854
|
ctaTarget: z.ZodOptional<z.ZodString>;
|
|
4381
4855
|
requiresOwnerDetail: z.ZodOptional<z.ZodBoolean>;
|
|
4382
4856
|
}, z.core.$strip>>;
|
|
4857
|
+
positioning: z.ZodOptional<z.ZodObject<{
|
|
4858
|
+
market: z.ZodString;
|
|
4859
|
+
customer: z.ZodString;
|
|
4860
|
+
purpose: z.ZodString;
|
|
4861
|
+
}, z.core.$strip>>;
|
|
4383
4862
|
}, z.core.$strip>>;
|
|
4384
4863
|
selected_archetype: z.ZodOptional<z.ZodObject<{
|
|
4385
4864
|
id: z.ZodString;
|
|
@@ -4411,6 +4890,7 @@ export declare const UpdateClarifyArchetypeRequestSchema: z.ZodObject<{
|
|
|
4411
4890
|
questions: z.ZodArray<z.ZodObject<{
|
|
4412
4891
|
id: z.ZodString;
|
|
4413
4892
|
type: z.ZodEnum<{
|
|
4893
|
+
positioning: "positioning";
|
|
4414
4894
|
"text-options": "text-options";
|
|
4415
4895
|
"motion-slider": "motion-slider";
|
|
4416
4896
|
}>;
|
|
@@ -4423,6 +4903,7 @@ export declare const UpdateClarifyArchetypeRequestSchema: z.ZodObject<{
|
|
|
4423
4903
|
desc: z.ZodOptional<z.ZodString>;
|
|
4424
4904
|
impact: z.ZodOptional<z.ZodString>;
|
|
4425
4905
|
isRecommended: z.ZodOptional<z.ZodBoolean>;
|
|
4906
|
+
preselect: z.ZodOptional<z.ZodBoolean>;
|
|
4426
4907
|
visualHints: z.ZodOptional<z.ZodObject<{
|
|
4427
4908
|
heading: z.ZodOptional<z.ZodString>;
|
|
4428
4909
|
body: z.ZodOptional<z.ZodString>;
|
|
@@ -4449,6 +4930,13 @@ export declare const UpdateClarifyArchetypeRequestSchema: z.ZodObject<{
|
|
|
4449
4930
|
neutral: z.ZodOptional<z.ZodString>;
|
|
4450
4931
|
supporting: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4451
4932
|
}, z.core.$strip>>;
|
|
4933
|
+
imagePalette: z.ZodOptional<z.ZodObject<{
|
|
4934
|
+
background: z.ZodOptional<z.ZodString>;
|
|
4935
|
+
foreground: z.ZodOptional<z.ZodString>;
|
|
4936
|
+
card: z.ZodOptional<z.ZodString>;
|
|
4937
|
+
muted: z.ZodOptional<z.ZodString>;
|
|
4938
|
+
border: z.ZodOptional<z.ZodString>;
|
|
4939
|
+
}, z.core.$strip>>;
|
|
4452
4940
|
}, z.core.$strip>>;
|
|
4453
4941
|
conversionHints: z.ZodOptional<z.ZodObject<{
|
|
4454
4942
|
protocol: z.ZodEnum<{
|
|
@@ -4468,6 +4956,36 @@ export declare const UpdateClarifyArchetypeRequestSchema: z.ZodObject<{
|
|
|
4468
4956
|
"always-ask": "always-ask";
|
|
4469
4957
|
}>;
|
|
4470
4958
|
sourceDetail: z.ZodString;
|
|
4959
|
+
positioning: z.ZodOptional<z.ZodObject<{
|
|
4960
|
+
market: z.ZodObject<{
|
|
4961
|
+
value: z.ZodString;
|
|
4962
|
+
source: z.ZodEnum<{
|
|
4963
|
+
reference: "reference";
|
|
4964
|
+
material: "material";
|
|
4965
|
+
brief: "brief";
|
|
4966
|
+
industry: "industry";
|
|
4967
|
+
}>;
|
|
4968
|
+
}, z.core.$strip>;
|
|
4969
|
+
customer: z.ZodObject<{
|
|
4970
|
+
value: z.ZodString;
|
|
4971
|
+
source: z.ZodEnum<{
|
|
4972
|
+
reference: "reference";
|
|
4973
|
+
material: "material";
|
|
4974
|
+
brief: "brief";
|
|
4975
|
+
industry: "industry";
|
|
4976
|
+
}>;
|
|
4977
|
+
}, z.core.$strip>;
|
|
4978
|
+
purpose: z.ZodObject<{
|
|
4979
|
+
options: z.ZodArray<z.ZodString>;
|
|
4980
|
+
selected: z.ZodString;
|
|
4981
|
+
source: z.ZodEnum<{
|
|
4982
|
+
reference: "reference";
|
|
4983
|
+
material: "material";
|
|
4984
|
+
brief: "brief";
|
|
4985
|
+
industry: "industry";
|
|
4986
|
+
}>;
|
|
4987
|
+
}, z.core.$strip>;
|
|
4988
|
+
}, z.core.$strip>>;
|
|
4471
4989
|
}, z.core.$strip>>;
|
|
4472
4990
|
}, z.core.$strip>;
|
|
4473
4991
|
selected_archetype: z.ZodObject<{
|
|
@@ -4532,6 +5050,13 @@ export declare const DesignPlanRecordSchema: z.ZodObject<{
|
|
|
4532
5050
|
xl: "xl";
|
|
4533
5051
|
none: "none";
|
|
4534
5052
|
}>>;
|
|
5053
|
+
imagePalette: z.ZodOptional<z.ZodObject<{
|
|
5054
|
+
background: z.ZodOptional<z.ZodString>;
|
|
5055
|
+
foreground: z.ZodOptional<z.ZodString>;
|
|
5056
|
+
card: z.ZodOptional<z.ZodString>;
|
|
5057
|
+
muted: z.ZodOptional<z.ZodString>;
|
|
5058
|
+
border: z.ZodOptional<z.ZodString>;
|
|
5059
|
+
}, z.core.$strip>>;
|
|
4535
5060
|
}, z.core.$strip>;
|
|
4536
5061
|
routeCards: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
4537
5062
|
routeGoal: z.ZodString;
|
|
@@ -4582,6 +5107,7 @@ export declare const DesignPlanRecordSchema: z.ZodObject<{
|
|
|
4582
5107
|
target: z.ZodString;
|
|
4583
5108
|
}, z.core.$strip>>;
|
|
4584
5109
|
trustSignals: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
5110
|
+
industry: z.ZodOptional<z.ZodString>;
|
|
4585
5111
|
}, z.core.$strip>>;
|
|
4586
5112
|
chromeDesign: z.ZodOptional<z.ZodObject<{
|
|
4587
5113
|
header: z.ZodObject<{
|
|
@@ -4595,8 +5121,8 @@ export declare const DesignPlanRecordSchema: z.ZodObject<{
|
|
|
4595
5121
|
}>;
|
|
4596
5122
|
surface: z.ZodOptional<z.ZodEnum<{
|
|
4597
5123
|
primary: "primary";
|
|
4598
|
-
card: "card";
|
|
4599
5124
|
background: "background";
|
|
5125
|
+
card: "card";
|
|
4600
5126
|
frosted: "frosted";
|
|
4601
5127
|
}>>;
|
|
4602
5128
|
behavior: z.ZodOptional<z.ZodEnum<{
|
|
@@ -4617,8 +5143,8 @@ export declare const DesignPlanRecordSchema: z.ZodObject<{
|
|
|
4617
5143
|
shell: z.ZodOptional<z.ZodObject<{
|
|
4618
5144
|
surface: z.ZodEnum<{
|
|
4619
5145
|
primary: "primary";
|
|
4620
|
-
card: "card";
|
|
4621
5146
|
background: "background";
|
|
5147
|
+
card: "card";
|
|
4622
5148
|
inverse: "inverse";
|
|
4623
5149
|
}>;
|
|
4624
5150
|
}, z.core.$strip>>;
|
|
@@ -4679,6 +5205,13 @@ export declare const PersistSiteDesignPlanRequestSchema: z.ZodObject<{
|
|
|
4679
5205
|
xl: "xl";
|
|
4680
5206
|
none: "none";
|
|
4681
5207
|
}>>;
|
|
5208
|
+
imagePalette: z.ZodOptional<z.ZodObject<{
|
|
5209
|
+
background: z.ZodOptional<z.ZodString>;
|
|
5210
|
+
foreground: z.ZodOptional<z.ZodString>;
|
|
5211
|
+
card: z.ZodOptional<z.ZodString>;
|
|
5212
|
+
muted: z.ZodOptional<z.ZodString>;
|
|
5213
|
+
border: z.ZodOptional<z.ZodString>;
|
|
5214
|
+
}, z.core.$strip>>;
|
|
4682
5215
|
}, z.core.$strip>;
|
|
4683
5216
|
routeCards: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
4684
5217
|
routeGoal: z.ZodString;
|
|
@@ -4729,6 +5262,7 @@ export declare const PersistSiteDesignPlanRequestSchema: z.ZodObject<{
|
|
|
4729
5262
|
target: z.ZodString;
|
|
4730
5263
|
}, z.core.$strip>>;
|
|
4731
5264
|
trustSignals: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
5265
|
+
industry: z.ZodOptional<z.ZodString>;
|
|
4732
5266
|
}, z.core.$strip>>;
|
|
4733
5267
|
chromeDesign: z.ZodOptional<z.ZodObject<{
|
|
4734
5268
|
header: z.ZodObject<{
|
|
@@ -4742,8 +5276,8 @@ export declare const PersistSiteDesignPlanRequestSchema: z.ZodObject<{
|
|
|
4742
5276
|
}>;
|
|
4743
5277
|
surface: z.ZodOptional<z.ZodEnum<{
|
|
4744
5278
|
primary: "primary";
|
|
4745
|
-
card: "card";
|
|
4746
5279
|
background: "background";
|
|
5280
|
+
card: "card";
|
|
4747
5281
|
frosted: "frosted";
|
|
4748
5282
|
}>>;
|
|
4749
5283
|
behavior: z.ZodOptional<z.ZodEnum<{
|
|
@@ -4764,8 +5298,8 @@ export declare const PersistSiteDesignPlanRequestSchema: z.ZodObject<{
|
|
|
4764
5298
|
shell: z.ZodOptional<z.ZodObject<{
|
|
4765
5299
|
surface: z.ZodEnum<{
|
|
4766
5300
|
primary: "primary";
|
|
4767
|
-
card: "card";
|
|
4768
5301
|
background: "background";
|
|
5302
|
+
card: "card";
|
|
4769
5303
|
inverse: "inverse";
|
|
4770
5304
|
}>;
|
|
4771
5305
|
}, z.core.$strip>>;
|
|
@@ -4828,6 +5362,13 @@ export declare const PersistSiteDesignPlanResponseSchema: z.ZodObject<{
|
|
|
4828
5362
|
xl: "xl";
|
|
4829
5363
|
none: "none";
|
|
4830
5364
|
}>>;
|
|
5365
|
+
imagePalette: z.ZodOptional<z.ZodObject<{
|
|
5366
|
+
background: z.ZodOptional<z.ZodString>;
|
|
5367
|
+
foreground: z.ZodOptional<z.ZodString>;
|
|
5368
|
+
card: z.ZodOptional<z.ZodString>;
|
|
5369
|
+
muted: z.ZodOptional<z.ZodString>;
|
|
5370
|
+
border: z.ZodOptional<z.ZodString>;
|
|
5371
|
+
}, z.core.$strip>>;
|
|
4831
5372
|
}, z.core.$strip>;
|
|
4832
5373
|
routeCards: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
4833
5374
|
routeGoal: z.ZodString;
|
|
@@ -4878,6 +5419,7 @@ export declare const PersistSiteDesignPlanResponseSchema: z.ZodObject<{
|
|
|
4878
5419
|
target: z.ZodString;
|
|
4879
5420
|
}, z.core.$strip>>;
|
|
4880
5421
|
trustSignals: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
5422
|
+
industry: z.ZodOptional<z.ZodString>;
|
|
4881
5423
|
}, z.core.$strip>>;
|
|
4882
5424
|
chromeDesign: z.ZodOptional<z.ZodObject<{
|
|
4883
5425
|
header: z.ZodObject<{
|
|
@@ -4891,8 +5433,8 @@ export declare const PersistSiteDesignPlanResponseSchema: z.ZodObject<{
|
|
|
4891
5433
|
}>;
|
|
4892
5434
|
surface: z.ZodOptional<z.ZodEnum<{
|
|
4893
5435
|
primary: "primary";
|
|
4894
|
-
card: "card";
|
|
4895
5436
|
background: "background";
|
|
5437
|
+
card: "card";
|
|
4896
5438
|
frosted: "frosted";
|
|
4897
5439
|
}>>;
|
|
4898
5440
|
behavior: z.ZodOptional<z.ZodEnum<{
|
|
@@ -4913,8 +5455,8 @@ export declare const PersistSiteDesignPlanResponseSchema: z.ZodObject<{
|
|
|
4913
5455
|
shell: z.ZodOptional<z.ZodObject<{
|
|
4914
5456
|
surface: z.ZodEnum<{
|
|
4915
5457
|
primary: "primary";
|
|
4916
|
-
card: "card";
|
|
4917
5458
|
background: "background";
|
|
5459
|
+
card: "card";
|
|
4918
5460
|
inverse: "inverse";
|
|
4919
5461
|
}>;
|
|
4920
5462
|
}, z.core.$strip>>;
|
|
@@ -4937,6 +5479,31 @@ export declare const WorkspaceRunKindSchema: z.ZodEnum<{
|
|
|
4937
5479
|
iteration: "iteration";
|
|
4938
5480
|
}>;
|
|
4939
5481
|
export type WorkspaceRunKind = z.infer<typeof WorkspaceRunKindSchema>;
|
|
5482
|
+
/**
|
|
5483
|
+
* Workspace 下一步建议 chips 的结构化合同。
|
|
5484
|
+
* label 负责 UI 展示,prompt 会被用户点击后原样送回既有消息发送链路。
|
|
5485
|
+
*/
|
|
5486
|
+
export declare const WorkspaceSuggestionSchema: z.ZodObject<{
|
|
5487
|
+
label: z.ZodString;
|
|
5488
|
+
prompt: z.ZodString;
|
|
5489
|
+
}, z.core.$strict>;
|
|
5490
|
+
export type WorkspaceSuggestion = z.infer<typeof WorkspaceSuggestionSchema>;
|
|
5491
|
+
export declare const WorkspaceSuggestionsSourceSchema: z.ZodEnum<{
|
|
5492
|
+
model: "model";
|
|
5493
|
+
derived: "derived";
|
|
5494
|
+
}>;
|
|
5495
|
+
export type WorkspaceSuggestionsSource = z.infer<typeof WorkspaceSuggestionsSourceSchema>;
|
|
5496
|
+
export declare const WorkspaceSuggestionsSchema: z.ZodObject<{
|
|
5497
|
+
suggestions: z.ZodArray<z.ZodObject<{
|
|
5498
|
+
label: z.ZodString;
|
|
5499
|
+
prompt: z.ZodString;
|
|
5500
|
+
}, z.core.$strict>>;
|
|
5501
|
+
source: z.ZodEnum<{
|
|
5502
|
+
model: "model";
|
|
5503
|
+
derived: "derived";
|
|
5504
|
+
}>;
|
|
5505
|
+
}, z.core.$strict>;
|
|
5506
|
+
export type WorkspaceSuggestions = z.infer<typeof WorkspaceSuggestionsSchema>;
|
|
4940
5507
|
export declare const AgentEventTypeSchema: z.ZodEnum<{
|
|
4941
5508
|
"run.started": "run.started";
|
|
4942
5509
|
"skill.selecting": "skill.selecting";
|
|
@@ -4966,6 +5533,7 @@ export declare const AgentEventTypeSchema: z.ZodEnum<{
|
|
|
4966
5533
|
"workspace.worker.updated": "workspace.worker.updated";
|
|
4967
5534
|
"workspace.task.updated": "workspace.task.updated";
|
|
4968
5535
|
"workspace.degraded": "workspace.degraded";
|
|
5536
|
+
"workspace.suggestions": "workspace.suggestions";
|
|
4969
5537
|
"file.changed": "file.changed";
|
|
4970
5538
|
"preview.preparing": "preview.preparing";
|
|
4971
5539
|
"preview.ready": "preview.ready";
|
|
@@ -4983,29 +5551,29 @@ export declare const AgentPlanStepSchema: z.ZodObject<{
|
|
|
4983
5551
|
title: z.ZodString;
|
|
4984
5552
|
status: z.ZodEnum<{
|
|
4985
5553
|
failed: "failed";
|
|
4986
|
-
running: "running";
|
|
4987
5554
|
pending: "pending";
|
|
5555
|
+
running: "running";
|
|
4988
5556
|
completed: "completed";
|
|
4989
5557
|
}>;
|
|
4990
5558
|
}, z.core.$strip>;
|
|
4991
5559
|
export type AgentPlanStep = z.infer<typeof AgentPlanStepSchema>;
|
|
4992
5560
|
export declare const WorkspaceWorkerStatusSchema: z.ZodEnum<{
|
|
4993
5561
|
failed: "failed";
|
|
4994
|
-
running: "running";
|
|
4995
5562
|
pending: "pending";
|
|
5563
|
+
running: "running";
|
|
4996
5564
|
completed: "completed";
|
|
4997
5565
|
completed_with_skips: "completed_with_skips";
|
|
4998
5566
|
skipped: "skipped";
|
|
4999
5567
|
}>;
|
|
5000
5568
|
export type WorkspaceWorkerStatus = z.infer<typeof WorkspaceWorkerStatusSchema>;
|
|
5001
5569
|
export declare const WorkspaceWorkerPhaseSchema: z.ZodEnum<{
|
|
5570
|
+
sections: "sections";
|
|
5002
5571
|
preview: "preview";
|
|
5003
5572
|
layout: "layout";
|
|
5004
5573
|
pages: "pages";
|
|
5005
5574
|
repair: "repair";
|
|
5006
5575
|
style_media: "style_media";
|
|
5007
5576
|
chrome: "chrome";
|
|
5008
|
-
sections: "sections";
|
|
5009
5577
|
detect_typecheck: "detect_typecheck";
|
|
5010
5578
|
finalize: "finalize";
|
|
5011
5579
|
sitemap_resync: "sitemap_resync";
|
|
@@ -5016,6 +5584,7 @@ export declare const WorkspaceDiagnosticSchema: z.ZodObject<{
|
|
|
5016
5584
|
message: z.ZodString;
|
|
5017
5585
|
path: z.ZodOptional<z.ZodString>;
|
|
5018
5586
|
task_id: z.ZodOptional<z.ZodString>;
|
|
5587
|
+
details: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
5019
5588
|
}, z.core.$strip>;
|
|
5020
5589
|
export type WorkspaceDiagnostic = z.infer<typeof WorkspaceDiagnosticSchema>;
|
|
5021
5590
|
export declare const SnapshotFilePathSchema: z.ZodString;
|
|
@@ -5030,13 +5599,13 @@ export type WorkspaceExecutionDiagnostics = z.infer<typeof WorkspaceExecutionDia
|
|
|
5030
5599
|
export declare const WorkspaceWorkerGroupSchema: z.ZodObject<{
|
|
5031
5600
|
group_id: z.ZodString;
|
|
5032
5601
|
phase: z.ZodEnum<{
|
|
5602
|
+
sections: "sections";
|
|
5033
5603
|
preview: "preview";
|
|
5034
5604
|
layout: "layout";
|
|
5035
5605
|
pages: "pages";
|
|
5036
5606
|
repair: "repair";
|
|
5037
5607
|
style_media: "style_media";
|
|
5038
5608
|
chrome: "chrome";
|
|
5039
|
-
sections: "sections";
|
|
5040
5609
|
detect_typecheck: "detect_typecheck";
|
|
5041
5610
|
finalize: "finalize";
|
|
5042
5611
|
sitemap_resync: "sitemap_resync";
|
|
@@ -5044,8 +5613,8 @@ export declare const WorkspaceWorkerGroupSchema: z.ZodObject<{
|
|
|
5044
5613
|
title: z.ZodString;
|
|
5045
5614
|
status: z.ZodEnum<{
|
|
5046
5615
|
failed: "failed";
|
|
5047
|
-
running: "running";
|
|
5048
5616
|
pending: "pending";
|
|
5617
|
+
running: "running";
|
|
5049
5618
|
completed: "completed";
|
|
5050
5619
|
completed_with_skips: "completed_with_skips";
|
|
5051
5620
|
skipped: "skipped";
|
|
@@ -5088,8 +5657,8 @@ export declare const WorkspacePlanTaskSchema: z.ZodObject<{
|
|
|
5088
5657
|
description: z.ZodOptional<z.ZodString>;
|
|
5089
5658
|
status: z.ZodEnum<{
|
|
5090
5659
|
failed: "failed";
|
|
5091
|
-
running: "running";
|
|
5092
5660
|
pending: "pending";
|
|
5661
|
+
running: "running";
|
|
5093
5662
|
completed: "completed";
|
|
5094
5663
|
completed_with_skips: "completed_with_skips";
|
|
5095
5664
|
skipped: "skipped";
|
|
@@ -5101,10 +5670,10 @@ export declare const WorkspacePlanDependencySchema: z.ZodObject<{
|
|
|
5101
5670
|
from_group_id: z.ZodString;
|
|
5102
5671
|
to_group_id: z.ZodString;
|
|
5103
5672
|
reason: z.ZodEnum<{
|
|
5673
|
+
sections: "sections";
|
|
5104
5674
|
layout: "layout";
|
|
5105
5675
|
style_media: "style_media";
|
|
5106
5676
|
chrome: "chrome";
|
|
5107
|
-
sections: "sections";
|
|
5108
5677
|
page_composition: "page_composition";
|
|
5109
5678
|
quality_gate: "quality_gate";
|
|
5110
5679
|
}>;
|
|
@@ -5123,13 +5692,13 @@ export declare const WorkspaceExecutionPlanSchema: z.ZodObject<{
|
|
|
5123
5692
|
groups: z.ZodArray<z.ZodObject<{
|
|
5124
5693
|
group_id: z.ZodString;
|
|
5125
5694
|
phase: z.ZodEnum<{
|
|
5695
|
+
sections: "sections";
|
|
5126
5696
|
preview: "preview";
|
|
5127
5697
|
layout: "layout";
|
|
5128
5698
|
pages: "pages";
|
|
5129
5699
|
repair: "repair";
|
|
5130
5700
|
style_media: "style_media";
|
|
5131
5701
|
chrome: "chrome";
|
|
5132
|
-
sections: "sections";
|
|
5133
5702
|
detect_typecheck: "detect_typecheck";
|
|
5134
5703
|
finalize: "finalize";
|
|
5135
5704
|
sitemap_resync: "sitemap_resync";
|
|
@@ -5137,8 +5706,8 @@ export declare const WorkspaceExecutionPlanSchema: z.ZodObject<{
|
|
|
5137
5706
|
title: z.ZodString;
|
|
5138
5707
|
status: z.ZodEnum<{
|
|
5139
5708
|
failed: "failed";
|
|
5140
|
-
running: "running";
|
|
5141
5709
|
pending: "pending";
|
|
5710
|
+
running: "running";
|
|
5142
5711
|
completed: "completed";
|
|
5143
5712
|
completed_with_skips: "completed_with_skips";
|
|
5144
5713
|
skipped: "skipped";
|
|
@@ -5171,8 +5740,8 @@ export declare const WorkspaceExecutionPlanSchema: z.ZodObject<{
|
|
|
5171
5740
|
description: z.ZodOptional<z.ZodString>;
|
|
5172
5741
|
status: z.ZodEnum<{
|
|
5173
5742
|
failed: "failed";
|
|
5174
|
-
running: "running";
|
|
5175
5743
|
pending: "pending";
|
|
5744
|
+
running: "running";
|
|
5176
5745
|
completed: "completed";
|
|
5177
5746
|
completed_with_skips: "completed_with_skips";
|
|
5178
5747
|
skipped: "skipped";
|
|
@@ -5183,10 +5752,10 @@ export declare const WorkspaceExecutionPlanSchema: z.ZodObject<{
|
|
|
5183
5752
|
from_group_id: z.ZodString;
|
|
5184
5753
|
to_group_id: z.ZodString;
|
|
5185
5754
|
reason: z.ZodEnum<{
|
|
5755
|
+
sections: "sections";
|
|
5186
5756
|
layout: "layout";
|
|
5187
5757
|
style_media: "style_media";
|
|
5188
5758
|
chrome: "chrome";
|
|
5189
|
-
sections: "sections";
|
|
5190
5759
|
page_composition: "page_composition";
|
|
5191
5760
|
quality_gate: "quality_gate";
|
|
5192
5761
|
}>;
|
|
@@ -5211,11 +5780,12 @@ export declare const WorkspaceWorkerResultSchema: z.ZodObject<{
|
|
|
5211
5780
|
message: z.ZodString;
|
|
5212
5781
|
path: z.ZodOptional<z.ZodString>;
|
|
5213
5782
|
task_id: z.ZodOptional<z.ZodString>;
|
|
5783
|
+
details: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
5214
5784
|
}, z.core.$strip>>;
|
|
5215
5785
|
status: z.ZodEnum<{
|
|
5216
5786
|
failed: "failed";
|
|
5217
|
-
running: "running";
|
|
5218
5787
|
pending: "pending";
|
|
5788
|
+
running: "running";
|
|
5219
5789
|
completed: "completed";
|
|
5220
5790
|
completed_with_skips: "completed_with_skips";
|
|
5221
5791
|
skipped: "skipped";
|
|
@@ -5431,8 +6001,8 @@ export declare const AgentEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
5431
6001
|
title: z.ZodString;
|
|
5432
6002
|
status: z.ZodEnum<{
|
|
5433
6003
|
failed: "failed";
|
|
5434
|
-
running: "running";
|
|
5435
6004
|
pending: "pending";
|
|
6005
|
+
running: "running";
|
|
5436
6006
|
completed: "completed";
|
|
5437
6007
|
}>;
|
|
5438
6008
|
}, z.core.$strip>>;
|
|
@@ -5584,6 +6154,13 @@ export declare const AgentEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
5584
6154
|
neutral: z.ZodOptional<z.ZodString>;
|
|
5585
6155
|
supporting: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
5586
6156
|
}, z.core.$strip>>;
|
|
6157
|
+
imagePalette: z.ZodOptional<z.ZodObject<{
|
|
6158
|
+
background: z.ZodOptional<z.ZodString>;
|
|
6159
|
+
foreground: z.ZodOptional<z.ZodString>;
|
|
6160
|
+
card: z.ZodOptional<z.ZodString>;
|
|
6161
|
+
muted: z.ZodOptional<z.ZodString>;
|
|
6162
|
+
border: z.ZodOptional<z.ZodString>;
|
|
6163
|
+
}, z.core.$strip>>;
|
|
5587
6164
|
}, z.core.$strip>>;
|
|
5588
6165
|
}, z.core.$strip>>;
|
|
5589
6166
|
userChoices: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -5641,8 +6218,8 @@ export declare const AgentEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
5641
6218
|
block_id: z.ZodString;
|
|
5642
6219
|
change_type: z.ZodEnum<{
|
|
5643
6220
|
move: "move";
|
|
5644
|
-
update: "update";
|
|
5645
6221
|
delete: "delete";
|
|
6222
|
+
update: "update";
|
|
5646
6223
|
add: "add";
|
|
5647
6224
|
}>;
|
|
5648
6225
|
at: z.ZodString;
|
|
@@ -5668,13 +6245,13 @@ export declare const AgentEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
5668
6245
|
groups: z.ZodArray<z.ZodObject<{
|
|
5669
6246
|
group_id: z.ZodString;
|
|
5670
6247
|
phase: z.ZodEnum<{
|
|
6248
|
+
sections: "sections";
|
|
5671
6249
|
preview: "preview";
|
|
5672
6250
|
layout: "layout";
|
|
5673
6251
|
pages: "pages";
|
|
5674
6252
|
repair: "repair";
|
|
5675
6253
|
style_media: "style_media";
|
|
5676
6254
|
chrome: "chrome";
|
|
5677
|
-
sections: "sections";
|
|
5678
6255
|
detect_typecheck: "detect_typecheck";
|
|
5679
6256
|
finalize: "finalize";
|
|
5680
6257
|
sitemap_resync: "sitemap_resync";
|
|
@@ -5682,8 +6259,8 @@ export declare const AgentEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
5682
6259
|
title: z.ZodString;
|
|
5683
6260
|
status: z.ZodEnum<{
|
|
5684
6261
|
failed: "failed";
|
|
5685
|
-
running: "running";
|
|
5686
6262
|
pending: "pending";
|
|
6263
|
+
running: "running";
|
|
5687
6264
|
completed: "completed";
|
|
5688
6265
|
completed_with_skips: "completed_with_skips";
|
|
5689
6266
|
skipped: "skipped";
|
|
@@ -5716,8 +6293,8 @@ export declare const AgentEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
5716
6293
|
description: z.ZodOptional<z.ZodString>;
|
|
5717
6294
|
status: z.ZodEnum<{
|
|
5718
6295
|
failed: "failed";
|
|
5719
|
-
running: "running";
|
|
5720
6296
|
pending: "pending";
|
|
6297
|
+
running: "running";
|
|
5721
6298
|
completed: "completed";
|
|
5722
6299
|
completed_with_skips: "completed_with_skips";
|
|
5723
6300
|
skipped: "skipped";
|
|
@@ -5728,10 +6305,10 @@ export declare const AgentEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
5728
6305
|
from_group_id: z.ZodString;
|
|
5729
6306
|
to_group_id: z.ZodString;
|
|
5730
6307
|
reason: z.ZodEnum<{
|
|
6308
|
+
sections: "sections";
|
|
5731
6309
|
layout: "layout";
|
|
5732
6310
|
style_media: "style_media";
|
|
5733
6311
|
chrome: "chrome";
|
|
5734
|
-
sections: "sections";
|
|
5735
6312
|
page_composition: "page_composition";
|
|
5736
6313
|
quality_gate: "quality_gate";
|
|
5737
6314
|
}>;
|
|
@@ -5754,21 +6331,21 @@ export declare const AgentEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
5754
6331
|
type: z.ZodLiteral<"workspace.worker.updated">;
|
|
5755
6332
|
group_id: z.ZodString;
|
|
5756
6333
|
phase: z.ZodEnum<{
|
|
6334
|
+
sections: "sections";
|
|
5757
6335
|
preview: "preview";
|
|
5758
6336
|
layout: "layout";
|
|
5759
6337
|
pages: "pages";
|
|
5760
6338
|
repair: "repair";
|
|
5761
6339
|
style_media: "style_media";
|
|
5762
6340
|
chrome: "chrome";
|
|
5763
|
-
sections: "sections";
|
|
5764
6341
|
detect_typecheck: "detect_typecheck";
|
|
5765
6342
|
finalize: "finalize";
|
|
5766
6343
|
sitemap_resync: "sitemap_resync";
|
|
5767
6344
|
}>;
|
|
5768
6345
|
status: z.ZodEnum<{
|
|
5769
6346
|
failed: "failed";
|
|
5770
|
-
running: "running";
|
|
5771
6347
|
pending: "pending";
|
|
6348
|
+
running: "running";
|
|
5772
6349
|
completed: "completed";
|
|
5773
6350
|
completed_with_skips: "completed_with_skips";
|
|
5774
6351
|
skipped: "skipped";
|
|
@@ -5790,8 +6367,8 @@ export declare const AgentEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
5790
6367
|
group_id: z.ZodString;
|
|
5791
6368
|
status: z.ZodEnum<{
|
|
5792
6369
|
failed: "failed";
|
|
5793
|
-
running: "running";
|
|
5794
6370
|
pending: "pending";
|
|
6371
|
+
running: "running";
|
|
5795
6372
|
completed: "completed";
|
|
5796
6373
|
completed_with_skips: "completed_with_skips";
|
|
5797
6374
|
skipped: "skipped";
|
|
@@ -5799,11 +6376,19 @@ export declare const AgentEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
5799
6376
|
target_path: z.ZodString;
|
|
5800
6377
|
read_files_count: z.ZodNumber;
|
|
5801
6378
|
diagnostics: z.ZodArray<z.ZodString>;
|
|
6379
|
+
diagnostic_details: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
6380
|
+
code: z.ZodString;
|
|
6381
|
+
message: z.ZodString;
|
|
6382
|
+
path: z.ZodOptional<z.ZodString>;
|
|
6383
|
+
task_id: z.ZodOptional<z.ZodString>;
|
|
6384
|
+
details: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
6385
|
+
}, z.core.$strip>>>;
|
|
5802
6386
|
at: z.ZodString;
|
|
5803
6387
|
}, z.core.$strict>, z.ZodObject<{
|
|
5804
6388
|
type: z.ZodLiteral<"workspace.degraded">;
|
|
5805
6389
|
reason: z.ZodEnum<{
|
|
5806
6390
|
block_placeholder: "block_placeholder";
|
|
6391
|
+
form_placeholder: "form_placeholder";
|
|
5807
6392
|
patch_protected_dropped: "patch_protected_dropped";
|
|
5808
6393
|
preview_health_degraded: "preview_health_degraded";
|
|
5809
6394
|
design_plan_fallback: "design_plan_fallback";
|
|
@@ -5816,13 +6401,24 @@ export declare const AgentEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
5816
6401
|
diagnostics: z.ZodOptional<z.ZodString>;
|
|
5817
6402
|
retryable: z.ZodOptional<z.ZodBoolean>;
|
|
5818
6403
|
at: z.ZodString;
|
|
6404
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
6405
|
+
suggestions: z.ZodArray<z.ZodObject<{
|
|
6406
|
+
label: z.ZodString;
|
|
6407
|
+
prompt: z.ZodString;
|
|
6408
|
+
}, z.core.$strict>>;
|
|
6409
|
+
source: z.ZodEnum<{
|
|
6410
|
+
model: "model";
|
|
6411
|
+
derived: "derived";
|
|
6412
|
+
}>;
|
|
6413
|
+
type: z.ZodLiteral<"workspace.suggestions">;
|
|
6414
|
+
at: z.ZodString;
|
|
5819
6415
|
}, z.core.$strict>, z.ZodObject<{
|
|
5820
6416
|
type: z.ZodLiteral<"file.changed">;
|
|
5821
6417
|
path: z.ZodString;
|
|
5822
6418
|
change_type: z.ZodEnum<{
|
|
6419
|
+
delete: "delete";
|
|
5823
6420
|
create: "create";
|
|
5824
6421
|
update: "update";
|
|
5825
|
-
delete: "delete";
|
|
5826
6422
|
}>;
|
|
5827
6423
|
diff: z.ZodOptional<z.ZodString>;
|
|
5828
6424
|
at: z.ZodString;
|
|
@@ -5994,6 +6590,7 @@ export declare const AgentEventRecordSchema: z.ZodObject<{
|
|
|
5994
6590
|
"workspace.worker.updated": "workspace.worker.updated";
|
|
5995
6591
|
"workspace.task.updated": "workspace.task.updated";
|
|
5996
6592
|
"workspace.degraded": "workspace.degraded";
|
|
6593
|
+
"workspace.suggestions": "workspace.suggestions";
|
|
5997
6594
|
"file.changed": "file.changed";
|
|
5998
6595
|
"preview.preparing": "preview.preparing";
|
|
5999
6596
|
"preview.ready": "preview.ready";
|
|
@@ -6081,8 +6678,8 @@ export declare const AgentEventRecordSchema: z.ZodObject<{
|
|
|
6081
6678
|
title: z.ZodString;
|
|
6082
6679
|
status: z.ZodEnum<{
|
|
6083
6680
|
failed: "failed";
|
|
6084
|
-
running: "running";
|
|
6085
6681
|
pending: "pending";
|
|
6682
|
+
running: "running";
|
|
6086
6683
|
completed: "completed";
|
|
6087
6684
|
}>;
|
|
6088
6685
|
}, z.core.$strip>>;
|
|
@@ -6234,6 +6831,13 @@ export declare const AgentEventRecordSchema: z.ZodObject<{
|
|
|
6234
6831
|
neutral: z.ZodOptional<z.ZodString>;
|
|
6235
6832
|
supporting: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
6236
6833
|
}, z.core.$strip>>;
|
|
6834
|
+
imagePalette: z.ZodOptional<z.ZodObject<{
|
|
6835
|
+
background: z.ZodOptional<z.ZodString>;
|
|
6836
|
+
foreground: z.ZodOptional<z.ZodString>;
|
|
6837
|
+
card: z.ZodOptional<z.ZodString>;
|
|
6838
|
+
muted: z.ZodOptional<z.ZodString>;
|
|
6839
|
+
border: z.ZodOptional<z.ZodString>;
|
|
6840
|
+
}, z.core.$strip>>;
|
|
6237
6841
|
}, z.core.$strip>>;
|
|
6238
6842
|
}, z.core.$strip>>;
|
|
6239
6843
|
userChoices: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -6291,8 +6895,8 @@ export declare const AgentEventRecordSchema: z.ZodObject<{
|
|
|
6291
6895
|
block_id: z.ZodString;
|
|
6292
6896
|
change_type: z.ZodEnum<{
|
|
6293
6897
|
move: "move";
|
|
6294
|
-
update: "update";
|
|
6295
6898
|
delete: "delete";
|
|
6899
|
+
update: "update";
|
|
6296
6900
|
add: "add";
|
|
6297
6901
|
}>;
|
|
6298
6902
|
at: z.ZodString;
|
|
@@ -6318,13 +6922,13 @@ export declare const AgentEventRecordSchema: z.ZodObject<{
|
|
|
6318
6922
|
groups: z.ZodArray<z.ZodObject<{
|
|
6319
6923
|
group_id: z.ZodString;
|
|
6320
6924
|
phase: z.ZodEnum<{
|
|
6925
|
+
sections: "sections";
|
|
6321
6926
|
preview: "preview";
|
|
6322
6927
|
layout: "layout";
|
|
6323
6928
|
pages: "pages";
|
|
6324
6929
|
repair: "repair";
|
|
6325
6930
|
style_media: "style_media";
|
|
6326
6931
|
chrome: "chrome";
|
|
6327
|
-
sections: "sections";
|
|
6328
6932
|
detect_typecheck: "detect_typecheck";
|
|
6329
6933
|
finalize: "finalize";
|
|
6330
6934
|
sitemap_resync: "sitemap_resync";
|
|
@@ -6332,8 +6936,8 @@ export declare const AgentEventRecordSchema: z.ZodObject<{
|
|
|
6332
6936
|
title: z.ZodString;
|
|
6333
6937
|
status: z.ZodEnum<{
|
|
6334
6938
|
failed: "failed";
|
|
6335
|
-
running: "running";
|
|
6336
6939
|
pending: "pending";
|
|
6940
|
+
running: "running";
|
|
6337
6941
|
completed: "completed";
|
|
6338
6942
|
completed_with_skips: "completed_with_skips";
|
|
6339
6943
|
skipped: "skipped";
|
|
@@ -6366,8 +6970,8 @@ export declare const AgentEventRecordSchema: z.ZodObject<{
|
|
|
6366
6970
|
description: z.ZodOptional<z.ZodString>;
|
|
6367
6971
|
status: z.ZodEnum<{
|
|
6368
6972
|
failed: "failed";
|
|
6369
|
-
running: "running";
|
|
6370
6973
|
pending: "pending";
|
|
6974
|
+
running: "running";
|
|
6371
6975
|
completed: "completed";
|
|
6372
6976
|
completed_with_skips: "completed_with_skips";
|
|
6373
6977
|
skipped: "skipped";
|
|
@@ -6378,10 +6982,10 @@ export declare const AgentEventRecordSchema: z.ZodObject<{
|
|
|
6378
6982
|
from_group_id: z.ZodString;
|
|
6379
6983
|
to_group_id: z.ZodString;
|
|
6380
6984
|
reason: z.ZodEnum<{
|
|
6985
|
+
sections: "sections";
|
|
6381
6986
|
layout: "layout";
|
|
6382
6987
|
style_media: "style_media";
|
|
6383
6988
|
chrome: "chrome";
|
|
6384
|
-
sections: "sections";
|
|
6385
6989
|
page_composition: "page_composition";
|
|
6386
6990
|
quality_gate: "quality_gate";
|
|
6387
6991
|
}>;
|
|
@@ -6404,21 +7008,21 @@ export declare const AgentEventRecordSchema: z.ZodObject<{
|
|
|
6404
7008
|
type: z.ZodLiteral<"workspace.worker.updated">;
|
|
6405
7009
|
group_id: z.ZodString;
|
|
6406
7010
|
phase: z.ZodEnum<{
|
|
7011
|
+
sections: "sections";
|
|
6407
7012
|
preview: "preview";
|
|
6408
7013
|
layout: "layout";
|
|
6409
7014
|
pages: "pages";
|
|
6410
7015
|
repair: "repair";
|
|
6411
7016
|
style_media: "style_media";
|
|
6412
7017
|
chrome: "chrome";
|
|
6413
|
-
sections: "sections";
|
|
6414
7018
|
detect_typecheck: "detect_typecheck";
|
|
6415
7019
|
finalize: "finalize";
|
|
6416
7020
|
sitemap_resync: "sitemap_resync";
|
|
6417
7021
|
}>;
|
|
6418
7022
|
status: z.ZodEnum<{
|
|
6419
7023
|
failed: "failed";
|
|
6420
|
-
running: "running";
|
|
6421
7024
|
pending: "pending";
|
|
7025
|
+
running: "running";
|
|
6422
7026
|
completed: "completed";
|
|
6423
7027
|
completed_with_skips: "completed_with_skips";
|
|
6424
7028
|
skipped: "skipped";
|
|
@@ -6440,8 +7044,8 @@ export declare const AgentEventRecordSchema: z.ZodObject<{
|
|
|
6440
7044
|
group_id: z.ZodString;
|
|
6441
7045
|
status: z.ZodEnum<{
|
|
6442
7046
|
failed: "failed";
|
|
6443
|
-
running: "running";
|
|
6444
7047
|
pending: "pending";
|
|
7048
|
+
running: "running";
|
|
6445
7049
|
completed: "completed";
|
|
6446
7050
|
completed_with_skips: "completed_with_skips";
|
|
6447
7051
|
skipped: "skipped";
|
|
@@ -6449,11 +7053,19 @@ export declare const AgentEventRecordSchema: z.ZodObject<{
|
|
|
6449
7053
|
target_path: z.ZodString;
|
|
6450
7054
|
read_files_count: z.ZodNumber;
|
|
6451
7055
|
diagnostics: z.ZodArray<z.ZodString>;
|
|
7056
|
+
diagnostic_details: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
7057
|
+
code: z.ZodString;
|
|
7058
|
+
message: z.ZodString;
|
|
7059
|
+
path: z.ZodOptional<z.ZodString>;
|
|
7060
|
+
task_id: z.ZodOptional<z.ZodString>;
|
|
7061
|
+
details: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
7062
|
+
}, z.core.$strip>>>;
|
|
6452
7063
|
at: z.ZodString;
|
|
6453
7064
|
}, z.core.$strict>, z.ZodObject<{
|
|
6454
7065
|
type: z.ZodLiteral<"workspace.degraded">;
|
|
6455
7066
|
reason: z.ZodEnum<{
|
|
6456
7067
|
block_placeholder: "block_placeholder";
|
|
7068
|
+
form_placeholder: "form_placeholder";
|
|
6457
7069
|
patch_protected_dropped: "patch_protected_dropped";
|
|
6458
7070
|
preview_health_degraded: "preview_health_degraded";
|
|
6459
7071
|
design_plan_fallback: "design_plan_fallback";
|
|
@@ -6466,13 +7078,24 @@ export declare const AgentEventRecordSchema: z.ZodObject<{
|
|
|
6466
7078
|
diagnostics: z.ZodOptional<z.ZodString>;
|
|
6467
7079
|
retryable: z.ZodOptional<z.ZodBoolean>;
|
|
6468
7080
|
at: z.ZodString;
|
|
7081
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
7082
|
+
suggestions: z.ZodArray<z.ZodObject<{
|
|
7083
|
+
label: z.ZodString;
|
|
7084
|
+
prompt: z.ZodString;
|
|
7085
|
+
}, z.core.$strict>>;
|
|
7086
|
+
source: z.ZodEnum<{
|
|
7087
|
+
model: "model";
|
|
7088
|
+
derived: "derived";
|
|
7089
|
+
}>;
|
|
7090
|
+
type: z.ZodLiteral<"workspace.suggestions">;
|
|
7091
|
+
at: z.ZodString;
|
|
6469
7092
|
}, z.core.$strict>, z.ZodObject<{
|
|
6470
7093
|
type: z.ZodLiteral<"file.changed">;
|
|
6471
7094
|
path: z.ZodString;
|
|
6472
7095
|
change_type: z.ZodEnum<{
|
|
7096
|
+
delete: "delete";
|
|
6473
7097
|
create: "create";
|
|
6474
7098
|
update: "update";
|
|
6475
|
-
delete: "delete";
|
|
6476
7099
|
}>;
|
|
6477
7100
|
diff: z.ZodOptional<z.ZodString>;
|
|
6478
7101
|
at: z.ZodString;
|
|
@@ -6641,6 +7264,7 @@ export declare const AppendAgentEventRequestSchema: z.ZodObject<{
|
|
|
6641
7264
|
"workspace.worker.updated": "workspace.worker.updated";
|
|
6642
7265
|
"workspace.task.updated": "workspace.task.updated";
|
|
6643
7266
|
"workspace.degraded": "workspace.degraded";
|
|
7267
|
+
"workspace.suggestions": "workspace.suggestions";
|
|
6644
7268
|
"file.changed": "file.changed";
|
|
6645
7269
|
"preview.preparing": "preview.preparing";
|
|
6646
7270
|
"preview.ready": "preview.ready";
|
|
@@ -6728,8 +7352,8 @@ export declare const AppendAgentEventRequestSchema: z.ZodObject<{
|
|
|
6728
7352
|
title: z.ZodString;
|
|
6729
7353
|
status: z.ZodEnum<{
|
|
6730
7354
|
failed: "failed";
|
|
6731
|
-
running: "running";
|
|
6732
7355
|
pending: "pending";
|
|
7356
|
+
running: "running";
|
|
6733
7357
|
completed: "completed";
|
|
6734
7358
|
}>;
|
|
6735
7359
|
}, z.core.$strip>>;
|
|
@@ -6881,6 +7505,13 @@ export declare const AppendAgentEventRequestSchema: z.ZodObject<{
|
|
|
6881
7505
|
neutral: z.ZodOptional<z.ZodString>;
|
|
6882
7506
|
supporting: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
6883
7507
|
}, z.core.$strip>>;
|
|
7508
|
+
imagePalette: z.ZodOptional<z.ZodObject<{
|
|
7509
|
+
background: z.ZodOptional<z.ZodString>;
|
|
7510
|
+
foreground: z.ZodOptional<z.ZodString>;
|
|
7511
|
+
card: z.ZodOptional<z.ZodString>;
|
|
7512
|
+
muted: z.ZodOptional<z.ZodString>;
|
|
7513
|
+
border: z.ZodOptional<z.ZodString>;
|
|
7514
|
+
}, z.core.$strip>>;
|
|
6884
7515
|
}, z.core.$strip>>;
|
|
6885
7516
|
}, z.core.$strip>>;
|
|
6886
7517
|
userChoices: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -6938,8 +7569,8 @@ export declare const AppendAgentEventRequestSchema: z.ZodObject<{
|
|
|
6938
7569
|
block_id: z.ZodString;
|
|
6939
7570
|
change_type: z.ZodEnum<{
|
|
6940
7571
|
move: "move";
|
|
6941
|
-
update: "update";
|
|
6942
7572
|
delete: "delete";
|
|
7573
|
+
update: "update";
|
|
6943
7574
|
add: "add";
|
|
6944
7575
|
}>;
|
|
6945
7576
|
at: z.ZodString;
|
|
@@ -6965,13 +7596,13 @@ export declare const AppendAgentEventRequestSchema: z.ZodObject<{
|
|
|
6965
7596
|
groups: z.ZodArray<z.ZodObject<{
|
|
6966
7597
|
group_id: z.ZodString;
|
|
6967
7598
|
phase: z.ZodEnum<{
|
|
7599
|
+
sections: "sections";
|
|
6968
7600
|
preview: "preview";
|
|
6969
7601
|
layout: "layout";
|
|
6970
7602
|
pages: "pages";
|
|
6971
7603
|
repair: "repair";
|
|
6972
7604
|
style_media: "style_media";
|
|
6973
7605
|
chrome: "chrome";
|
|
6974
|
-
sections: "sections";
|
|
6975
7606
|
detect_typecheck: "detect_typecheck";
|
|
6976
7607
|
finalize: "finalize";
|
|
6977
7608
|
sitemap_resync: "sitemap_resync";
|
|
@@ -6979,8 +7610,8 @@ export declare const AppendAgentEventRequestSchema: z.ZodObject<{
|
|
|
6979
7610
|
title: z.ZodString;
|
|
6980
7611
|
status: z.ZodEnum<{
|
|
6981
7612
|
failed: "failed";
|
|
6982
|
-
running: "running";
|
|
6983
7613
|
pending: "pending";
|
|
7614
|
+
running: "running";
|
|
6984
7615
|
completed: "completed";
|
|
6985
7616
|
completed_with_skips: "completed_with_skips";
|
|
6986
7617
|
skipped: "skipped";
|
|
@@ -7013,8 +7644,8 @@ export declare const AppendAgentEventRequestSchema: z.ZodObject<{
|
|
|
7013
7644
|
description: z.ZodOptional<z.ZodString>;
|
|
7014
7645
|
status: z.ZodEnum<{
|
|
7015
7646
|
failed: "failed";
|
|
7016
|
-
running: "running";
|
|
7017
7647
|
pending: "pending";
|
|
7648
|
+
running: "running";
|
|
7018
7649
|
completed: "completed";
|
|
7019
7650
|
completed_with_skips: "completed_with_skips";
|
|
7020
7651
|
skipped: "skipped";
|
|
@@ -7025,10 +7656,10 @@ export declare const AppendAgentEventRequestSchema: z.ZodObject<{
|
|
|
7025
7656
|
from_group_id: z.ZodString;
|
|
7026
7657
|
to_group_id: z.ZodString;
|
|
7027
7658
|
reason: z.ZodEnum<{
|
|
7659
|
+
sections: "sections";
|
|
7028
7660
|
layout: "layout";
|
|
7029
7661
|
style_media: "style_media";
|
|
7030
7662
|
chrome: "chrome";
|
|
7031
|
-
sections: "sections";
|
|
7032
7663
|
page_composition: "page_composition";
|
|
7033
7664
|
quality_gate: "quality_gate";
|
|
7034
7665
|
}>;
|
|
@@ -7051,21 +7682,21 @@ export declare const AppendAgentEventRequestSchema: z.ZodObject<{
|
|
|
7051
7682
|
type: z.ZodLiteral<"workspace.worker.updated">;
|
|
7052
7683
|
group_id: z.ZodString;
|
|
7053
7684
|
phase: z.ZodEnum<{
|
|
7685
|
+
sections: "sections";
|
|
7054
7686
|
preview: "preview";
|
|
7055
7687
|
layout: "layout";
|
|
7056
7688
|
pages: "pages";
|
|
7057
7689
|
repair: "repair";
|
|
7058
7690
|
style_media: "style_media";
|
|
7059
7691
|
chrome: "chrome";
|
|
7060
|
-
sections: "sections";
|
|
7061
7692
|
detect_typecheck: "detect_typecheck";
|
|
7062
7693
|
finalize: "finalize";
|
|
7063
7694
|
sitemap_resync: "sitemap_resync";
|
|
7064
7695
|
}>;
|
|
7065
7696
|
status: z.ZodEnum<{
|
|
7066
7697
|
failed: "failed";
|
|
7067
|
-
running: "running";
|
|
7068
7698
|
pending: "pending";
|
|
7699
|
+
running: "running";
|
|
7069
7700
|
completed: "completed";
|
|
7070
7701
|
completed_with_skips: "completed_with_skips";
|
|
7071
7702
|
skipped: "skipped";
|
|
@@ -7087,8 +7718,8 @@ export declare const AppendAgentEventRequestSchema: z.ZodObject<{
|
|
|
7087
7718
|
group_id: z.ZodString;
|
|
7088
7719
|
status: z.ZodEnum<{
|
|
7089
7720
|
failed: "failed";
|
|
7090
|
-
running: "running";
|
|
7091
7721
|
pending: "pending";
|
|
7722
|
+
running: "running";
|
|
7092
7723
|
completed: "completed";
|
|
7093
7724
|
completed_with_skips: "completed_with_skips";
|
|
7094
7725
|
skipped: "skipped";
|
|
@@ -7096,11 +7727,19 @@ export declare const AppendAgentEventRequestSchema: z.ZodObject<{
|
|
|
7096
7727
|
target_path: z.ZodString;
|
|
7097
7728
|
read_files_count: z.ZodNumber;
|
|
7098
7729
|
diagnostics: z.ZodArray<z.ZodString>;
|
|
7730
|
+
diagnostic_details: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
7731
|
+
code: z.ZodString;
|
|
7732
|
+
message: z.ZodString;
|
|
7733
|
+
path: z.ZodOptional<z.ZodString>;
|
|
7734
|
+
task_id: z.ZodOptional<z.ZodString>;
|
|
7735
|
+
details: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
7736
|
+
}, z.core.$strip>>>;
|
|
7099
7737
|
at: z.ZodString;
|
|
7100
7738
|
}, z.core.$strict>, z.ZodObject<{
|
|
7101
7739
|
type: z.ZodLiteral<"workspace.degraded">;
|
|
7102
7740
|
reason: z.ZodEnum<{
|
|
7103
7741
|
block_placeholder: "block_placeholder";
|
|
7742
|
+
form_placeholder: "form_placeholder";
|
|
7104
7743
|
patch_protected_dropped: "patch_protected_dropped";
|
|
7105
7744
|
preview_health_degraded: "preview_health_degraded";
|
|
7106
7745
|
design_plan_fallback: "design_plan_fallback";
|
|
@@ -7113,13 +7752,24 @@ export declare const AppendAgentEventRequestSchema: z.ZodObject<{
|
|
|
7113
7752
|
diagnostics: z.ZodOptional<z.ZodString>;
|
|
7114
7753
|
retryable: z.ZodOptional<z.ZodBoolean>;
|
|
7115
7754
|
at: z.ZodString;
|
|
7755
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
7756
|
+
suggestions: z.ZodArray<z.ZodObject<{
|
|
7757
|
+
label: z.ZodString;
|
|
7758
|
+
prompt: z.ZodString;
|
|
7759
|
+
}, z.core.$strict>>;
|
|
7760
|
+
source: z.ZodEnum<{
|
|
7761
|
+
model: "model";
|
|
7762
|
+
derived: "derived";
|
|
7763
|
+
}>;
|
|
7764
|
+
type: z.ZodLiteral<"workspace.suggestions">;
|
|
7765
|
+
at: z.ZodString;
|
|
7116
7766
|
}, z.core.$strict>, z.ZodObject<{
|
|
7117
7767
|
type: z.ZodLiteral<"file.changed">;
|
|
7118
7768
|
path: z.ZodString;
|
|
7119
7769
|
change_type: z.ZodEnum<{
|
|
7770
|
+
delete: "delete";
|
|
7120
7771
|
create: "create";
|
|
7121
7772
|
update: "update";
|
|
7122
|
-
delete: "delete";
|
|
7123
7773
|
}>;
|
|
7124
7774
|
diff: z.ZodOptional<z.ZodString>;
|
|
7125
7775
|
at: z.ZodString;
|
|
@@ -7327,6 +7977,7 @@ export declare const AppendAgentEventResponseSchema: z.ZodDiscriminatedUnion<[z.
|
|
|
7327
7977
|
"workspace.worker.updated": "workspace.worker.updated";
|
|
7328
7978
|
"workspace.task.updated": "workspace.task.updated";
|
|
7329
7979
|
"workspace.degraded": "workspace.degraded";
|
|
7980
|
+
"workspace.suggestions": "workspace.suggestions";
|
|
7330
7981
|
"file.changed": "file.changed";
|
|
7331
7982
|
"preview.preparing": "preview.preparing";
|
|
7332
7983
|
"preview.ready": "preview.ready";
|
|
@@ -7414,8 +8065,8 @@ export declare const AppendAgentEventResponseSchema: z.ZodDiscriminatedUnion<[z.
|
|
|
7414
8065
|
title: z.ZodString;
|
|
7415
8066
|
status: z.ZodEnum<{
|
|
7416
8067
|
failed: "failed";
|
|
7417
|
-
running: "running";
|
|
7418
8068
|
pending: "pending";
|
|
8069
|
+
running: "running";
|
|
7419
8070
|
completed: "completed";
|
|
7420
8071
|
}>;
|
|
7421
8072
|
}, z.core.$strip>>;
|
|
@@ -7567,6 +8218,13 @@ export declare const AppendAgentEventResponseSchema: z.ZodDiscriminatedUnion<[z.
|
|
|
7567
8218
|
neutral: z.ZodOptional<z.ZodString>;
|
|
7568
8219
|
supporting: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
7569
8220
|
}, z.core.$strip>>;
|
|
8221
|
+
imagePalette: z.ZodOptional<z.ZodObject<{
|
|
8222
|
+
background: z.ZodOptional<z.ZodString>;
|
|
8223
|
+
foreground: z.ZodOptional<z.ZodString>;
|
|
8224
|
+
card: z.ZodOptional<z.ZodString>;
|
|
8225
|
+
muted: z.ZodOptional<z.ZodString>;
|
|
8226
|
+
border: z.ZodOptional<z.ZodString>;
|
|
8227
|
+
}, z.core.$strip>>;
|
|
7570
8228
|
}, z.core.$strip>>;
|
|
7571
8229
|
}, z.core.$strip>>;
|
|
7572
8230
|
userChoices: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -7624,8 +8282,8 @@ export declare const AppendAgentEventResponseSchema: z.ZodDiscriminatedUnion<[z.
|
|
|
7624
8282
|
block_id: z.ZodString;
|
|
7625
8283
|
change_type: z.ZodEnum<{
|
|
7626
8284
|
move: "move";
|
|
7627
|
-
update: "update";
|
|
7628
8285
|
delete: "delete";
|
|
8286
|
+
update: "update";
|
|
7629
8287
|
add: "add";
|
|
7630
8288
|
}>;
|
|
7631
8289
|
at: z.ZodString;
|
|
@@ -7651,13 +8309,13 @@ export declare const AppendAgentEventResponseSchema: z.ZodDiscriminatedUnion<[z.
|
|
|
7651
8309
|
groups: z.ZodArray<z.ZodObject<{
|
|
7652
8310
|
group_id: z.ZodString;
|
|
7653
8311
|
phase: z.ZodEnum<{
|
|
8312
|
+
sections: "sections";
|
|
7654
8313
|
preview: "preview";
|
|
7655
8314
|
layout: "layout";
|
|
7656
8315
|
pages: "pages";
|
|
7657
8316
|
repair: "repair";
|
|
7658
8317
|
style_media: "style_media";
|
|
7659
8318
|
chrome: "chrome";
|
|
7660
|
-
sections: "sections";
|
|
7661
8319
|
detect_typecheck: "detect_typecheck";
|
|
7662
8320
|
finalize: "finalize";
|
|
7663
8321
|
sitemap_resync: "sitemap_resync";
|
|
@@ -7665,8 +8323,8 @@ export declare const AppendAgentEventResponseSchema: z.ZodDiscriminatedUnion<[z.
|
|
|
7665
8323
|
title: z.ZodString;
|
|
7666
8324
|
status: z.ZodEnum<{
|
|
7667
8325
|
failed: "failed";
|
|
7668
|
-
running: "running";
|
|
7669
8326
|
pending: "pending";
|
|
8327
|
+
running: "running";
|
|
7670
8328
|
completed: "completed";
|
|
7671
8329
|
completed_with_skips: "completed_with_skips";
|
|
7672
8330
|
skipped: "skipped";
|
|
@@ -7699,8 +8357,8 @@ export declare const AppendAgentEventResponseSchema: z.ZodDiscriminatedUnion<[z.
|
|
|
7699
8357
|
description: z.ZodOptional<z.ZodString>;
|
|
7700
8358
|
status: z.ZodEnum<{
|
|
7701
8359
|
failed: "failed";
|
|
7702
|
-
running: "running";
|
|
7703
8360
|
pending: "pending";
|
|
8361
|
+
running: "running";
|
|
7704
8362
|
completed: "completed";
|
|
7705
8363
|
completed_with_skips: "completed_with_skips";
|
|
7706
8364
|
skipped: "skipped";
|
|
@@ -7711,10 +8369,10 @@ export declare const AppendAgentEventResponseSchema: z.ZodDiscriminatedUnion<[z.
|
|
|
7711
8369
|
from_group_id: z.ZodString;
|
|
7712
8370
|
to_group_id: z.ZodString;
|
|
7713
8371
|
reason: z.ZodEnum<{
|
|
8372
|
+
sections: "sections";
|
|
7714
8373
|
layout: "layout";
|
|
7715
8374
|
style_media: "style_media";
|
|
7716
8375
|
chrome: "chrome";
|
|
7717
|
-
sections: "sections";
|
|
7718
8376
|
page_composition: "page_composition";
|
|
7719
8377
|
quality_gate: "quality_gate";
|
|
7720
8378
|
}>;
|
|
@@ -7737,21 +8395,21 @@ export declare const AppendAgentEventResponseSchema: z.ZodDiscriminatedUnion<[z.
|
|
|
7737
8395
|
type: z.ZodLiteral<"workspace.worker.updated">;
|
|
7738
8396
|
group_id: z.ZodString;
|
|
7739
8397
|
phase: z.ZodEnum<{
|
|
8398
|
+
sections: "sections";
|
|
7740
8399
|
preview: "preview";
|
|
7741
8400
|
layout: "layout";
|
|
7742
8401
|
pages: "pages";
|
|
7743
8402
|
repair: "repair";
|
|
7744
8403
|
style_media: "style_media";
|
|
7745
8404
|
chrome: "chrome";
|
|
7746
|
-
sections: "sections";
|
|
7747
8405
|
detect_typecheck: "detect_typecheck";
|
|
7748
8406
|
finalize: "finalize";
|
|
7749
8407
|
sitemap_resync: "sitemap_resync";
|
|
7750
8408
|
}>;
|
|
7751
8409
|
status: z.ZodEnum<{
|
|
7752
8410
|
failed: "failed";
|
|
7753
|
-
running: "running";
|
|
7754
8411
|
pending: "pending";
|
|
8412
|
+
running: "running";
|
|
7755
8413
|
completed: "completed";
|
|
7756
8414
|
completed_with_skips: "completed_with_skips";
|
|
7757
8415
|
skipped: "skipped";
|
|
@@ -7773,8 +8431,8 @@ export declare const AppendAgentEventResponseSchema: z.ZodDiscriminatedUnion<[z.
|
|
|
7773
8431
|
group_id: z.ZodString;
|
|
7774
8432
|
status: z.ZodEnum<{
|
|
7775
8433
|
failed: "failed";
|
|
7776
|
-
running: "running";
|
|
7777
8434
|
pending: "pending";
|
|
8435
|
+
running: "running";
|
|
7778
8436
|
completed: "completed";
|
|
7779
8437
|
completed_with_skips: "completed_with_skips";
|
|
7780
8438
|
skipped: "skipped";
|
|
@@ -7782,11 +8440,19 @@ export declare const AppendAgentEventResponseSchema: z.ZodDiscriminatedUnion<[z.
|
|
|
7782
8440
|
target_path: z.ZodString;
|
|
7783
8441
|
read_files_count: z.ZodNumber;
|
|
7784
8442
|
diagnostics: z.ZodArray<z.ZodString>;
|
|
8443
|
+
diagnostic_details: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
8444
|
+
code: z.ZodString;
|
|
8445
|
+
message: z.ZodString;
|
|
8446
|
+
path: z.ZodOptional<z.ZodString>;
|
|
8447
|
+
task_id: z.ZodOptional<z.ZodString>;
|
|
8448
|
+
details: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
8449
|
+
}, z.core.$strip>>>;
|
|
7785
8450
|
at: z.ZodString;
|
|
7786
8451
|
}, z.core.$strict>, z.ZodObject<{
|
|
7787
8452
|
type: z.ZodLiteral<"workspace.degraded">;
|
|
7788
8453
|
reason: z.ZodEnum<{
|
|
7789
8454
|
block_placeholder: "block_placeholder";
|
|
8455
|
+
form_placeholder: "form_placeholder";
|
|
7790
8456
|
patch_protected_dropped: "patch_protected_dropped";
|
|
7791
8457
|
preview_health_degraded: "preview_health_degraded";
|
|
7792
8458
|
design_plan_fallback: "design_plan_fallback";
|
|
@@ -7799,13 +8465,24 @@ export declare const AppendAgentEventResponseSchema: z.ZodDiscriminatedUnion<[z.
|
|
|
7799
8465
|
diagnostics: z.ZodOptional<z.ZodString>;
|
|
7800
8466
|
retryable: z.ZodOptional<z.ZodBoolean>;
|
|
7801
8467
|
at: z.ZodString;
|
|
8468
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
8469
|
+
suggestions: z.ZodArray<z.ZodObject<{
|
|
8470
|
+
label: z.ZodString;
|
|
8471
|
+
prompt: z.ZodString;
|
|
8472
|
+
}, z.core.$strict>>;
|
|
8473
|
+
source: z.ZodEnum<{
|
|
8474
|
+
model: "model";
|
|
8475
|
+
derived: "derived";
|
|
8476
|
+
}>;
|
|
8477
|
+
type: z.ZodLiteral<"workspace.suggestions">;
|
|
8478
|
+
at: z.ZodString;
|
|
7802
8479
|
}, z.core.$strict>, z.ZodObject<{
|
|
7803
8480
|
type: z.ZodLiteral<"file.changed">;
|
|
7804
8481
|
path: z.ZodString;
|
|
7805
8482
|
change_type: z.ZodEnum<{
|
|
8483
|
+
delete: "delete";
|
|
7806
8484
|
create: "create";
|
|
7807
8485
|
update: "update";
|
|
7808
|
-
delete: "delete";
|
|
7809
8486
|
}>;
|
|
7810
8487
|
diff: z.ZodOptional<z.ZodString>;
|
|
7811
8488
|
at: z.ZodString;
|
|
@@ -8014,6 +8691,7 @@ export declare const AppendAgentEventResponseSchema: z.ZodDiscriminatedUnion<[z.
|
|
|
8014
8691
|
"workspace.worker.updated": "workspace.worker.updated";
|
|
8015
8692
|
"workspace.task.updated": "workspace.task.updated";
|
|
8016
8693
|
"workspace.degraded": "workspace.degraded";
|
|
8694
|
+
"workspace.suggestions": "workspace.suggestions";
|
|
8017
8695
|
"file.changed": "file.changed";
|
|
8018
8696
|
"preview.preparing": "preview.preparing";
|
|
8019
8697
|
"preview.ready": "preview.ready";
|
|
@@ -8101,8 +8779,8 @@ export declare const AppendAgentEventResponseSchema: z.ZodDiscriminatedUnion<[z.
|
|
|
8101
8779
|
title: z.ZodString;
|
|
8102
8780
|
status: z.ZodEnum<{
|
|
8103
8781
|
failed: "failed";
|
|
8104
|
-
running: "running";
|
|
8105
8782
|
pending: "pending";
|
|
8783
|
+
running: "running";
|
|
8106
8784
|
completed: "completed";
|
|
8107
8785
|
}>;
|
|
8108
8786
|
}, z.core.$strip>>;
|
|
@@ -8254,6 +8932,13 @@ export declare const AppendAgentEventResponseSchema: z.ZodDiscriminatedUnion<[z.
|
|
|
8254
8932
|
neutral: z.ZodOptional<z.ZodString>;
|
|
8255
8933
|
supporting: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
8256
8934
|
}, z.core.$strip>>;
|
|
8935
|
+
imagePalette: z.ZodOptional<z.ZodObject<{
|
|
8936
|
+
background: z.ZodOptional<z.ZodString>;
|
|
8937
|
+
foreground: z.ZodOptional<z.ZodString>;
|
|
8938
|
+
card: z.ZodOptional<z.ZodString>;
|
|
8939
|
+
muted: z.ZodOptional<z.ZodString>;
|
|
8940
|
+
border: z.ZodOptional<z.ZodString>;
|
|
8941
|
+
}, z.core.$strip>>;
|
|
8257
8942
|
}, z.core.$strip>>;
|
|
8258
8943
|
}, z.core.$strip>>;
|
|
8259
8944
|
userChoices: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -8311,8 +8996,8 @@ export declare const AppendAgentEventResponseSchema: z.ZodDiscriminatedUnion<[z.
|
|
|
8311
8996
|
block_id: z.ZodString;
|
|
8312
8997
|
change_type: z.ZodEnum<{
|
|
8313
8998
|
move: "move";
|
|
8314
|
-
update: "update";
|
|
8315
8999
|
delete: "delete";
|
|
9000
|
+
update: "update";
|
|
8316
9001
|
add: "add";
|
|
8317
9002
|
}>;
|
|
8318
9003
|
at: z.ZodString;
|
|
@@ -8338,13 +9023,13 @@ export declare const AppendAgentEventResponseSchema: z.ZodDiscriminatedUnion<[z.
|
|
|
8338
9023
|
groups: z.ZodArray<z.ZodObject<{
|
|
8339
9024
|
group_id: z.ZodString;
|
|
8340
9025
|
phase: z.ZodEnum<{
|
|
9026
|
+
sections: "sections";
|
|
8341
9027
|
preview: "preview";
|
|
8342
9028
|
layout: "layout";
|
|
8343
9029
|
pages: "pages";
|
|
8344
9030
|
repair: "repair";
|
|
8345
9031
|
style_media: "style_media";
|
|
8346
9032
|
chrome: "chrome";
|
|
8347
|
-
sections: "sections";
|
|
8348
9033
|
detect_typecheck: "detect_typecheck";
|
|
8349
9034
|
finalize: "finalize";
|
|
8350
9035
|
sitemap_resync: "sitemap_resync";
|
|
@@ -8352,8 +9037,8 @@ export declare const AppendAgentEventResponseSchema: z.ZodDiscriminatedUnion<[z.
|
|
|
8352
9037
|
title: z.ZodString;
|
|
8353
9038
|
status: z.ZodEnum<{
|
|
8354
9039
|
failed: "failed";
|
|
8355
|
-
running: "running";
|
|
8356
9040
|
pending: "pending";
|
|
9041
|
+
running: "running";
|
|
8357
9042
|
completed: "completed";
|
|
8358
9043
|
completed_with_skips: "completed_with_skips";
|
|
8359
9044
|
skipped: "skipped";
|
|
@@ -8386,8 +9071,8 @@ export declare const AppendAgentEventResponseSchema: z.ZodDiscriminatedUnion<[z.
|
|
|
8386
9071
|
description: z.ZodOptional<z.ZodString>;
|
|
8387
9072
|
status: z.ZodEnum<{
|
|
8388
9073
|
failed: "failed";
|
|
8389
|
-
running: "running";
|
|
8390
9074
|
pending: "pending";
|
|
9075
|
+
running: "running";
|
|
8391
9076
|
completed: "completed";
|
|
8392
9077
|
completed_with_skips: "completed_with_skips";
|
|
8393
9078
|
skipped: "skipped";
|
|
@@ -8398,10 +9083,10 @@ export declare const AppendAgentEventResponseSchema: z.ZodDiscriminatedUnion<[z.
|
|
|
8398
9083
|
from_group_id: z.ZodString;
|
|
8399
9084
|
to_group_id: z.ZodString;
|
|
8400
9085
|
reason: z.ZodEnum<{
|
|
9086
|
+
sections: "sections";
|
|
8401
9087
|
layout: "layout";
|
|
8402
9088
|
style_media: "style_media";
|
|
8403
9089
|
chrome: "chrome";
|
|
8404
|
-
sections: "sections";
|
|
8405
9090
|
page_composition: "page_composition";
|
|
8406
9091
|
quality_gate: "quality_gate";
|
|
8407
9092
|
}>;
|
|
@@ -8424,21 +9109,21 @@ export declare const AppendAgentEventResponseSchema: z.ZodDiscriminatedUnion<[z.
|
|
|
8424
9109
|
type: z.ZodLiteral<"workspace.worker.updated">;
|
|
8425
9110
|
group_id: z.ZodString;
|
|
8426
9111
|
phase: z.ZodEnum<{
|
|
9112
|
+
sections: "sections";
|
|
8427
9113
|
preview: "preview";
|
|
8428
9114
|
layout: "layout";
|
|
8429
9115
|
pages: "pages";
|
|
8430
9116
|
repair: "repair";
|
|
8431
9117
|
style_media: "style_media";
|
|
8432
9118
|
chrome: "chrome";
|
|
8433
|
-
sections: "sections";
|
|
8434
9119
|
detect_typecheck: "detect_typecheck";
|
|
8435
9120
|
finalize: "finalize";
|
|
8436
9121
|
sitemap_resync: "sitemap_resync";
|
|
8437
9122
|
}>;
|
|
8438
9123
|
status: z.ZodEnum<{
|
|
8439
9124
|
failed: "failed";
|
|
8440
|
-
running: "running";
|
|
8441
9125
|
pending: "pending";
|
|
9126
|
+
running: "running";
|
|
8442
9127
|
completed: "completed";
|
|
8443
9128
|
completed_with_skips: "completed_with_skips";
|
|
8444
9129
|
skipped: "skipped";
|
|
@@ -8460,8 +9145,8 @@ export declare const AppendAgentEventResponseSchema: z.ZodDiscriminatedUnion<[z.
|
|
|
8460
9145
|
group_id: z.ZodString;
|
|
8461
9146
|
status: z.ZodEnum<{
|
|
8462
9147
|
failed: "failed";
|
|
8463
|
-
running: "running";
|
|
8464
9148
|
pending: "pending";
|
|
9149
|
+
running: "running";
|
|
8465
9150
|
completed: "completed";
|
|
8466
9151
|
completed_with_skips: "completed_with_skips";
|
|
8467
9152
|
skipped: "skipped";
|
|
@@ -8469,11 +9154,19 @@ export declare const AppendAgentEventResponseSchema: z.ZodDiscriminatedUnion<[z.
|
|
|
8469
9154
|
target_path: z.ZodString;
|
|
8470
9155
|
read_files_count: z.ZodNumber;
|
|
8471
9156
|
diagnostics: z.ZodArray<z.ZodString>;
|
|
9157
|
+
diagnostic_details: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
9158
|
+
code: z.ZodString;
|
|
9159
|
+
message: z.ZodString;
|
|
9160
|
+
path: z.ZodOptional<z.ZodString>;
|
|
9161
|
+
task_id: z.ZodOptional<z.ZodString>;
|
|
9162
|
+
details: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
9163
|
+
}, z.core.$strip>>>;
|
|
8472
9164
|
at: z.ZodString;
|
|
8473
9165
|
}, z.core.$strict>, z.ZodObject<{
|
|
8474
9166
|
type: z.ZodLiteral<"workspace.degraded">;
|
|
8475
9167
|
reason: z.ZodEnum<{
|
|
8476
9168
|
block_placeholder: "block_placeholder";
|
|
9169
|
+
form_placeholder: "form_placeholder";
|
|
8477
9170
|
patch_protected_dropped: "patch_protected_dropped";
|
|
8478
9171
|
preview_health_degraded: "preview_health_degraded";
|
|
8479
9172
|
design_plan_fallback: "design_plan_fallback";
|
|
@@ -8486,13 +9179,24 @@ export declare const AppendAgentEventResponseSchema: z.ZodDiscriminatedUnion<[z.
|
|
|
8486
9179
|
diagnostics: z.ZodOptional<z.ZodString>;
|
|
8487
9180
|
retryable: z.ZodOptional<z.ZodBoolean>;
|
|
8488
9181
|
at: z.ZodString;
|
|
9182
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
9183
|
+
suggestions: z.ZodArray<z.ZodObject<{
|
|
9184
|
+
label: z.ZodString;
|
|
9185
|
+
prompt: z.ZodString;
|
|
9186
|
+
}, z.core.$strict>>;
|
|
9187
|
+
source: z.ZodEnum<{
|
|
9188
|
+
model: "model";
|
|
9189
|
+
derived: "derived";
|
|
9190
|
+
}>;
|
|
9191
|
+
type: z.ZodLiteral<"workspace.suggestions">;
|
|
9192
|
+
at: z.ZodString;
|
|
8489
9193
|
}, z.core.$strict>, z.ZodObject<{
|
|
8490
9194
|
type: z.ZodLiteral<"file.changed">;
|
|
8491
9195
|
path: z.ZodString;
|
|
8492
9196
|
change_type: z.ZodEnum<{
|
|
9197
|
+
delete: "delete";
|
|
8493
9198
|
create: "create";
|
|
8494
9199
|
update: "update";
|
|
8495
|
-
delete: "delete";
|
|
8496
9200
|
}>;
|
|
8497
9201
|
diff: z.ZodOptional<z.ZodString>;
|
|
8498
9202
|
at: z.ZodString;
|
|
@@ -8669,6 +9373,7 @@ export declare const ListAgentEventsResponseSchema: z.ZodObject<{
|
|
|
8669
9373
|
"workspace.worker.updated": "workspace.worker.updated";
|
|
8670
9374
|
"workspace.task.updated": "workspace.task.updated";
|
|
8671
9375
|
"workspace.degraded": "workspace.degraded";
|
|
9376
|
+
"workspace.suggestions": "workspace.suggestions";
|
|
8672
9377
|
"file.changed": "file.changed";
|
|
8673
9378
|
"preview.preparing": "preview.preparing";
|
|
8674
9379
|
"preview.ready": "preview.ready";
|
|
@@ -8756,8 +9461,8 @@ export declare const ListAgentEventsResponseSchema: z.ZodObject<{
|
|
|
8756
9461
|
title: z.ZodString;
|
|
8757
9462
|
status: z.ZodEnum<{
|
|
8758
9463
|
failed: "failed";
|
|
8759
|
-
running: "running";
|
|
8760
9464
|
pending: "pending";
|
|
9465
|
+
running: "running";
|
|
8761
9466
|
completed: "completed";
|
|
8762
9467
|
}>;
|
|
8763
9468
|
}, z.core.$strip>>;
|
|
@@ -8909,6 +9614,13 @@ export declare const ListAgentEventsResponseSchema: z.ZodObject<{
|
|
|
8909
9614
|
neutral: z.ZodOptional<z.ZodString>;
|
|
8910
9615
|
supporting: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
8911
9616
|
}, z.core.$strip>>;
|
|
9617
|
+
imagePalette: z.ZodOptional<z.ZodObject<{
|
|
9618
|
+
background: z.ZodOptional<z.ZodString>;
|
|
9619
|
+
foreground: z.ZodOptional<z.ZodString>;
|
|
9620
|
+
card: z.ZodOptional<z.ZodString>;
|
|
9621
|
+
muted: z.ZodOptional<z.ZodString>;
|
|
9622
|
+
border: z.ZodOptional<z.ZodString>;
|
|
9623
|
+
}, z.core.$strip>>;
|
|
8912
9624
|
}, z.core.$strip>>;
|
|
8913
9625
|
}, z.core.$strip>>;
|
|
8914
9626
|
userChoices: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -8966,8 +9678,8 @@ export declare const ListAgentEventsResponseSchema: z.ZodObject<{
|
|
|
8966
9678
|
block_id: z.ZodString;
|
|
8967
9679
|
change_type: z.ZodEnum<{
|
|
8968
9680
|
move: "move";
|
|
8969
|
-
update: "update";
|
|
8970
9681
|
delete: "delete";
|
|
9682
|
+
update: "update";
|
|
8971
9683
|
add: "add";
|
|
8972
9684
|
}>;
|
|
8973
9685
|
at: z.ZodString;
|
|
@@ -8993,13 +9705,13 @@ export declare const ListAgentEventsResponseSchema: z.ZodObject<{
|
|
|
8993
9705
|
groups: z.ZodArray<z.ZodObject<{
|
|
8994
9706
|
group_id: z.ZodString;
|
|
8995
9707
|
phase: z.ZodEnum<{
|
|
9708
|
+
sections: "sections";
|
|
8996
9709
|
preview: "preview";
|
|
8997
9710
|
layout: "layout";
|
|
8998
9711
|
pages: "pages";
|
|
8999
9712
|
repair: "repair";
|
|
9000
9713
|
style_media: "style_media";
|
|
9001
9714
|
chrome: "chrome";
|
|
9002
|
-
sections: "sections";
|
|
9003
9715
|
detect_typecheck: "detect_typecheck";
|
|
9004
9716
|
finalize: "finalize";
|
|
9005
9717
|
sitemap_resync: "sitemap_resync";
|
|
@@ -9007,8 +9719,8 @@ export declare const ListAgentEventsResponseSchema: z.ZodObject<{
|
|
|
9007
9719
|
title: z.ZodString;
|
|
9008
9720
|
status: z.ZodEnum<{
|
|
9009
9721
|
failed: "failed";
|
|
9010
|
-
running: "running";
|
|
9011
9722
|
pending: "pending";
|
|
9723
|
+
running: "running";
|
|
9012
9724
|
completed: "completed";
|
|
9013
9725
|
completed_with_skips: "completed_with_skips";
|
|
9014
9726
|
skipped: "skipped";
|
|
@@ -9041,8 +9753,8 @@ export declare const ListAgentEventsResponseSchema: z.ZodObject<{
|
|
|
9041
9753
|
description: z.ZodOptional<z.ZodString>;
|
|
9042
9754
|
status: z.ZodEnum<{
|
|
9043
9755
|
failed: "failed";
|
|
9044
|
-
running: "running";
|
|
9045
9756
|
pending: "pending";
|
|
9757
|
+
running: "running";
|
|
9046
9758
|
completed: "completed";
|
|
9047
9759
|
completed_with_skips: "completed_with_skips";
|
|
9048
9760
|
skipped: "skipped";
|
|
@@ -9053,10 +9765,10 @@ export declare const ListAgentEventsResponseSchema: z.ZodObject<{
|
|
|
9053
9765
|
from_group_id: z.ZodString;
|
|
9054
9766
|
to_group_id: z.ZodString;
|
|
9055
9767
|
reason: z.ZodEnum<{
|
|
9768
|
+
sections: "sections";
|
|
9056
9769
|
layout: "layout";
|
|
9057
9770
|
style_media: "style_media";
|
|
9058
9771
|
chrome: "chrome";
|
|
9059
|
-
sections: "sections";
|
|
9060
9772
|
page_composition: "page_composition";
|
|
9061
9773
|
quality_gate: "quality_gate";
|
|
9062
9774
|
}>;
|
|
@@ -9079,21 +9791,21 @@ export declare const ListAgentEventsResponseSchema: z.ZodObject<{
|
|
|
9079
9791
|
type: z.ZodLiteral<"workspace.worker.updated">;
|
|
9080
9792
|
group_id: z.ZodString;
|
|
9081
9793
|
phase: z.ZodEnum<{
|
|
9794
|
+
sections: "sections";
|
|
9082
9795
|
preview: "preview";
|
|
9083
9796
|
layout: "layout";
|
|
9084
9797
|
pages: "pages";
|
|
9085
9798
|
repair: "repair";
|
|
9086
9799
|
style_media: "style_media";
|
|
9087
9800
|
chrome: "chrome";
|
|
9088
|
-
sections: "sections";
|
|
9089
9801
|
detect_typecheck: "detect_typecheck";
|
|
9090
9802
|
finalize: "finalize";
|
|
9091
9803
|
sitemap_resync: "sitemap_resync";
|
|
9092
9804
|
}>;
|
|
9093
9805
|
status: z.ZodEnum<{
|
|
9094
9806
|
failed: "failed";
|
|
9095
|
-
running: "running";
|
|
9096
9807
|
pending: "pending";
|
|
9808
|
+
running: "running";
|
|
9097
9809
|
completed: "completed";
|
|
9098
9810
|
completed_with_skips: "completed_with_skips";
|
|
9099
9811
|
skipped: "skipped";
|
|
@@ -9115,8 +9827,8 @@ export declare const ListAgentEventsResponseSchema: z.ZodObject<{
|
|
|
9115
9827
|
group_id: z.ZodString;
|
|
9116
9828
|
status: z.ZodEnum<{
|
|
9117
9829
|
failed: "failed";
|
|
9118
|
-
running: "running";
|
|
9119
9830
|
pending: "pending";
|
|
9831
|
+
running: "running";
|
|
9120
9832
|
completed: "completed";
|
|
9121
9833
|
completed_with_skips: "completed_with_skips";
|
|
9122
9834
|
skipped: "skipped";
|
|
@@ -9124,11 +9836,19 @@ export declare const ListAgentEventsResponseSchema: z.ZodObject<{
|
|
|
9124
9836
|
target_path: z.ZodString;
|
|
9125
9837
|
read_files_count: z.ZodNumber;
|
|
9126
9838
|
diagnostics: z.ZodArray<z.ZodString>;
|
|
9839
|
+
diagnostic_details: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
9840
|
+
code: z.ZodString;
|
|
9841
|
+
message: z.ZodString;
|
|
9842
|
+
path: z.ZodOptional<z.ZodString>;
|
|
9843
|
+
task_id: z.ZodOptional<z.ZodString>;
|
|
9844
|
+
details: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
9845
|
+
}, z.core.$strip>>>;
|
|
9127
9846
|
at: z.ZodString;
|
|
9128
9847
|
}, z.core.$strict>, z.ZodObject<{
|
|
9129
9848
|
type: z.ZodLiteral<"workspace.degraded">;
|
|
9130
9849
|
reason: z.ZodEnum<{
|
|
9131
9850
|
block_placeholder: "block_placeholder";
|
|
9851
|
+
form_placeholder: "form_placeholder";
|
|
9132
9852
|
patch_protected_dropped: "patch_protected_dropped";
|
|
9133
9853
|
preview_health_degraded: "preview_health_degraded";
|
|
9134
9854
|
design_plan_fallback: "design_plan_fallback";
|
|
@@ -9141,13 +9861,24 @@ export declare const ListAgentEventsResponseSchema: z.ZodObject<{
|
|
|
9141
9861
|
diagnostics: z.ZodOptional<z.ZodString>;
|
|
9142
9862
|
retryable: z.ZodOptional<z.ZodBoolean>;
|
|
9143
9863
|
at: z.ZodString;
|
|
9864
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
9865
|
+
suggestions: z.ZodArray<z.ZodObject<{
|
|
9866
|
+
label: z.ZodString;
|
|
9867
|
+
prompt: z.ZodString;
|
|
9868
|
+
}, z.core.$strict>>;
|
|
9869
|
+
source: z.ZodEnum<{
|
|
9870
|
+
model: "model";
|
|
9871
|
+
derived: "derived";
|
|
9872
|
+
}>;
|
|
9873
|
+
type: z.ZodLiteral<"workspace.suggestions">;
|
|
9874
|
+
at: z.ZodString;
|
|
9144
9875
|
}, z.core.$strict>, z.ZodObject<{
|
|
9145
9876
|
type: z.ZodLiteral<"file.changed">;
|
|
9146
9877
|
path: z.ZodString;
|
|
9147
9878
|
change_type: z.ZodEnum<{
|
|
9879
|
+
delete: "delete";
|
|
9148
9880
|
create: "create";
|
|
9149
9881
|
update: "update";
|
|
9150
|
-
delete: "delete";
|
|
9151
9882
|
}>;
|
|
9152
9883
|
diff: z.ZodOptional<z.ZodString>;
|
|
9153
9884
|
at: z.ZodString;
|
|
@@ -9744,7 +10475,7 @@ export declare const SSE_STREAMS: readonly [{
|
|
|
9744
10475
|
readonly tag: "sitemap";
|
|
9745
10476
|
readonly summary: "Stream Step 3 sitemap generation as SSE; event_order includes sitemap.partial and run.failed on errors.";
|
|
9746
10477
|
readonly status: "implemented";
|
|
9747
|
-
readonly request_body_schema: "SitemapRunInputSchema without
|
|
10478
|
+
readonly request_body_schema: "SitemapRunInputSchema public body without server-injected fields";
|
|
9748
10479
|
readonly event_schema: "SitemapStreamEventSchema";
|
|
9749
10480
|
readonly event_order: readonly ["run.started", "sitemap.generating", "sitemap.partial", "sitemap.generated", "sitemap.clamped", "run.failed"];
|
|
9750
10481
|
}];
|
|
@@ -10105,6 +10836,7 @@ export declare const WorkspaceWebSocketMessageTypeSchema: z.ZodEnum<{
|
|
|
10105
10836
|
"server.assistant.delta": "server.assistant.delta";
|
|
10106
10837
|
"server.tool.started": "server.tool.started";
|
|
10107
10838
|
"server.tool.completed": "server.tool.completed";
|
|
10839
|
+
"server.workspace.suggestions": "server.workspace.suggestions";
|
|
10108
10840
|
"server.patch.applied": "server.patch.applied";
|
|
10109
10841
|
"server.sitemap.updated": "server.sitemap.updated";
|
|
10110
10842
|
"server.snapshot.created": "server.snapshot.created";
|
|
@@ -10432,6 +11164,26 @@ export declare const WorkspaceServerMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
10432
11164
|
name: z.ZodString;
|
|
10433
11165
|
result_summary: z.ZodString;
|
|
10434
11166
|
}, z.core.$strip>;
|
|
11167
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
11168
|
+
id: z.ZodString;
|
|
11169
|
+
tenant_id: z.ZodString;
|
|
11170
|
+
site_id: z.ZodString;
|
|
11171
|
+
run_id: z.ZodOptional<z.ZodString>;
|
|
11172
|
+
correlation_id: z.ZodOptional<z.ZodString>;
|
|
11173
|
+
seq: z.ZodOptional<z.ZodNumber>;
|
|
11174
|
+
sent_at: z.ZodString;
|
|
11175
|
+
type: z.ZodLiteral<"server.workspace.suggestions">;
|
|
11176
|
+
payload: z.ZodObject<{
|
|
11177
|
+
suggestions: z.ZodArray<z.ZodObject<{
|
|
11178
|
+
label: z.ZodString;
|
|
11179
|
+
prompt: z.ZodString;
|
|
11180
|
+
}, z.core.$strict>>;
|
|
11181
|
+
source: z.ZodEnum<{
|
|
11182
|
+
model: "model";
|
|
11183
|
+
derived: "derived";
|
|
11184
|
+
}>;
|
|
11185
|
+
run_id: z.ZodString;
|
|
11186
|
+
}, z.core.$strict>;
|
|
10435
11187
|
}, z.core.$strip>, z.ZodObject<{
|
|
10436
11188
|
id: z.ZodString;
|
|
10437
11189
|
tenant_id: z.ZodString;
|
|
@@ -10450,13 +11202,13 @@ export declare const WorkspaceServerMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
10450
11202
|
groups: z.ZodArray<z.ZodObject<{
|
|
10451
11203
|
group_id: z.ZodString;
|
|
10452
11204
|
phase: z.ZodEnum<{
|
|
11205
|
+
sections: "sections";
|
|
10453
11206
|
preview: "preview";
|
|
10454
11207
|
layout: "layout";
|
|
10455
11208
|
pages: "pages";
|
|
10456
11209
|
repair: "repair";
|
|
10457
11210
|
style_media: "style_media";
|
|
10458
11211
|
chrome: "chrome";
|
|
10459
|
-
sections: "sections";
|
|
10460
11212
|
detect_typecheck: "detect_typecheck";
|
|
10461
11213
|
finalize: "finalize";
|
|
10462
11214
|
sitemap_resync: "sitemap_resync";
|
|
@@ -10464,8 +11216,8 @@ export declare const WorkspaceServerMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
10464
11216
|
title: z.ZodString;
|
|
10465
11217
|
status: z.ZodEnum<{
|
|
10466
11218
|
failed: "failed";
|
|
10467
|
-
running: "running";
|
|
10468
11219
|
pending: "pending";
|
|
11220
|
+
running: "running";
|
|
10469
11221
|
completed: "completed";
|
|
10470
11222
|
completed_with_skips: "completed_with_skips";
|
|
10471
11223
|
skipped: "skipped";
|
|
@@ -10498,8 +11250,8 @@ export declare const WorkspaceServerMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
10498
11250
|
description: z.ZodOptional<z.ZodString>;
|
|
10499
11251
|
status: z.ZodEnum<{
|
|
10500
11252
|
failed: "failed";
|
|
10501
|
-
running: "running";
|
|
10502
11253
|
pending: "pending";
|
|
11254
|
+
running: "running";
|
|
10503
11255
|
completed: "completed";
|
|
10504
11256
|
completed_with_skips: "completed_with_skips";
|
|
10505
11257
|
skipped: "skipped";
|
|
@@ -10510,10 +11262,10 @@ export declare const WorkspaceServerMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
10510
11262
|
from_group_id: z.ZodString;
|
|
10511
11263
|
to_group_id: z.ZodString;
|
|
10512
11264
|
reason: z.ZodEnum<{
|
|
11265
|
+
sections: "sections";
|
|
10513
11266
|
layout: "layout";
|
|
10514
11267
|
style_media: "style_media";
|
|
10515
11268
|
chrome: "chrome";
|
|
10516
|
-
sections: "sections";
|
|
10517
11269
|
page_composition: "page_composition";
|
|
10518
11270
|
quality_gate: "quality_gate";
|
|
10519
11271
|
}>;
|
|
@@ -10544,21 +11296,21 @@ export declare const WorkspaceServerMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
10544
11296
|
payload: z.ZodObject<{
|
|
10545
11297
|
group_id: z.ZodString;
|
|
10546
11298
|
phase: z.ZodEnum<{
|
|
11299
|
+
sections: "sections";
|
|
10547
11300
|
preview: "preview";
|
|
10548
11301
|
layout: "layout";
|
|
10549
11302
|
pages: "pages";
|
|
10550
11303
|
repair: "repair";
|
|
10551
11304
|
style_media: "style_media";
|
|
10552
11305
|
chrome: "chrome";
|
|
10553
|
-
sections: "sections";
|
|
10554
11306
|
detect_typecheck: "detect_typecheck";
|
|
10555
11307
|
finalize: "finalize";
|
|
10556
11308
|
sitemap_resync: "sitemap_resync";
|
|
10557
11309
|
}>;
|
|
10558
11310
|
status: z.ZodEnum<{
|
|
10559
11311
|
failed: "failed";
|
|
10560
|
-
running: "running";
|
|
10561
11312
|
pending: "pending";
|
|
11313
|
+
running: "running";
|
|
10562
11314
|
completed: "completed";
|
|
10563
11315
|
completed_with_skips: "completed_with_skips";
|
|
10564
11316
|
skipped: "skipped";
|
|
@@ -10588,8 +11340,8 @@ export declare const WorkspaceServerMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
10588
11340
|
group_id: z.ZodString;
|
|
10589
11341
|
status: z.ZodEnum<{
|
|
10590
11342
|
failed: "failed";
|
|
10591
|
-
running: "running";
|
|
10592
11343
|
pending: "pending";
|
|
11344
|
+
running: "running";
|
|
10593
11345
|
completed: "completed";
|
|
10594
11346
|
completed_with_skips: "completed_with_skips";
|
|
10595
11347
|
skipped: "skipped";
|
|
@@ -10597,6 +11349,13 @@ export declare const WorkspaceServerMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
10597
11349
|
target_path: z.ZodString;
|
|
10598
11350
|
read_files_count: z.ZodNumber;
|
|
10599
11351
|
diagnostics: z.ZodArray<z.ZodString>;
|
|
11352
|
+
diagnostic_details: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
11353
|
+
code: z.ZodString;
|
|
11354
|
+
message: z.ZodString;
|
|
11355
|
+
path: z.ZodOptional<z.ZodString>;
|
|
11356
|
+
task_id: z.ZodOptional<z.ZodString>;
|
|
11357
|
+
details: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
11358
|
+
}, z.core.$strip>>>;
|
|
10600
11359
|
}, z.core.$strip>;
|
|
10601
11360
|
}, z.core.$strip>, z.ZodObject<{
|
|
10602
11361
|
id: z.ZodString;
|
|
@@ -11120,6 +11879,26 @@ export declare const WorkspaceWebSocketMessageSchema: z.ZodUnion<readonly [z.Zod
|
|
|
11120
11879
|
name: z.ZodString;
|
|
11121
11880
|
result_summary: z.ZodString;
|
|
11122
11881
|
}, z.core.$strip>;
|
|
11882
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
11883
|
+
id: z.ZodString;
|
|
11884
|
+
tenant_id: z.ZodString;
|
|
11885
|
+
site_id: z.ZodString;
|
|
11886
|
+
run_id: z.ZodOptional<z.ZodString>;
|
|
11887
|
+
correlation_id: z.ZodOptional<z.ZodString>;
|
|
11888
|
+
seq: z.ZodOptional<z.ZodNumber>;
|
|
11889
|
+
sent_at: z.ZodString;
|
|
11890
|
+
type: z.ZodLiteral<"server.workspace.suggestions">;
|
|
11891
|
+
payload: z.ZodObject<{
|
|
11892
|
+
suggestions: z.ZodArray<z.ZodObject<{
|
|
11893
|
+
label: z.ZodString;
|
|
11894
|
+
prompt: z.ZodString;
|
|
11895
|
+
}, z.core.$strict>>;
|
|
11896
|
+
source: z.ZodEnum<{
|
|
11897
|
+
model: "model";
|
|
11898
|
+
derived: "derived";
|
|
11899
|
+
}>;
|
|
11900
|
+
run_id: z.ZodString;
|
|
11901
|
+
}, z.core.$strict>;
|
|
11123
11902
|
}, z.core.$strip>, z.ZodObject<{
|
|
11124
11903
|
id: z.ZodString;
|
|
11125
11904
|
tenant_id: z.ZodString;
|
|
@@ -11138,13 +11917,13 @@ export declare const WorkspaceWebSocketMessageSchema: z.ZodUnion<readonly [z.Zod
|
|
|
11138
11917
|
groups: z.ZodArray<z.ZodObject<{
|
|
11139
11918
|
group_id: z.ZodString;
|
|
11140
11919
|
phase: z.ZodEnum<{
|
|
11920
|
+
sections: "sections";
|
|
11141
11921
|
preview: "preview";
|
|
11142
11922
|
layout: "layout";
|
|
11143
11923
|
pages: "pages";
|
|
11144
11924
|
repair: "repair";
|
|
11145
11925
|
style_media: "style_media";
|
|
11146
11926
|
chrome: "chrome";
|
|
11147
|
-
sections: "sections";
|
|
11148
11927
|
detect_typecheck: "detect_typecheck";
|
|
11149
11928
|
finalize: "finalize";
|
|
11150
11929
|
sitemap_resync: "sitemap_resync";
|
|
@@ -11152,8 +11931,8 @@ export declare const WorkspaceWebSocketMessageSchema: z.ZodUnion<readonly [z.Zod
|
|
|
11152
11931
|
title: z.ZodString;
|
|
11153
11932
|
status: z.ZodEnum<{
|
|
11154
11933
|
failed: "failed";
|
|
11155
|
-
running: "running";
|
|
11156
11934
|
pending: "pending";
|
|
11935
|
+
running: "running";
|
|
11157
11936
|
completed: "completed";
|
|
11158
11937
|
completed_with_skips: "completed_with_skips";
|
|
11159
11938
|
skipped: "skipped";
|
|
@@ -11186,8 +11965,8 @@ export declare const WorkspaceWebSocketMessageSchema: z.ZodUnion<readonly [z.Zod
|
|
|
11186
11965
|
description: z.ZodOptional<z.ZodString>;
|
|
11187
11966
|
status: z.ZodEnum<{
|
|
11188
11967
|
failed: "failed";
|
|
11189
|
-
running: "running";
|
|
11190
11968
|
pending: "pending";
|
|
11969
|
+
running: "running";
|
|
11191
11970
|
completed: "completed";
|
|
11192
11971
|
completed_with_skips: "completed_with_skips";
|
|
11193
11972
|
skipped: "skipped";
|
|
@@ -11198,10 +11977,10 @@ export declare const WorkspaceWebSocketMessageSchema: z.ZodUnion<readonly [z.Zod
|
|
|
11198
11977
|
from_group_id: z.ZodString;
|
|
11199
11978
|
to_group_id: z.ZodString;
|
|
11200
11979
|
reason: z.ZodEnum<{
|
|
11980
|
+
sections: "sections";
|
|
11201
11981
|
layout: "layout";
|
|
11202
11982
|
style_media: "style_media";
|
|
11203
11983
|
chrome: "chrome";
|
|
11204
|
-
sections: "sections";
|
|
11205
11984
|
page_composition: "page_composition";
|
|
11206
11985
|
quality_gate: "quality_gate";
|
|
11207
11986
|
}>;
|
|
@@ -11232,21 +12011,21 @@ export declare const WorkspaceWebSocketMessageSchema: z.ZodUnion<readonly [z.Zod
|
|
|
11232
12011
|
payload: z.ZodObject<{
|
|
11233
12012
|
group_id: z.ZodString;
|
|
11234
12013
|
phase: z.ZodEnum<{
|
|
12014
|
+
sections: "sections";
|
|
11235
12015
|
preview: "preview";
|
|
11236
12016
|
layout: "layout";
|
|
11237
12017
|
pages: "pages";
|
|
11238
12018
|
repair: "repair";
|
|
11239
12019
|
style_media: "style_media";
|
|
11240
12020
|
chrome: "chrome";
|
|
11241
|
-
sections: "sections";
|
|
11242
12021
|
detect_typecheck: "detect_typecheck";
|
|
11243
12022
|
finalize: "finalize";
|
|
11244
12023
|
sitemap_resync: "sitemap_resync";
|
|
11245
12024
|
}>;
|
|
11246
12025
|
status: z.ZodEnum<{
|
|
11247
12026
|
failed: "failed";
|
|
11248
|
-
running: "running";
|
|
11249
12027
|
pending: "pending";
|
|
12028
|
+
running: "running";
|
|
11250
12029
|
completed: "completed";
|
|
11251
12030
|
completed_with_skips: "completed_with_skips";
|
|
11252
12031
|
skipped: "skipped";
|
|
@@ -11276,8 +12055,8 @@ export declare const WorkspaceWebSocketMessageSchema: z.ZodUnion<readonly [z.Zod
|
|
|
11276
12055
|
group_id: z.ZodString;
|
|
11277
12056
|
status: z.ZodEnum<{
|
|
11278
12057
|
failed: "failed";
|
|
11279
|
-
running: "running";
|
|
11280
12058
|
pending: "pending";
|
|
12059
|
+
running: "running";
|
|
11281
12060
|
completed: "completed";
|
|
11282
12061
|
completed_with_skips: "completed_with_skips";
|
|
11283
12062
|
skipped: "skipped";
|
|
@@ -11285,6 +12064,13 @@ export declare const WorkspaceWebSocketMessageSchema: z.ZodUnion<readonly [z.Zod
|
|
|
11285
12064
|
target_path: z.ZodString;
|
|
11286
12065
|
read_files_count: z.ZodNumber;
|
|
11287
12066
|
diagnostics: z.ZodArray<z.ZodString>;
|
|
12067
|
+
diagnostic_details: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
12068
|
+
code: z.ZodString;
|
|
12069
|
+
message: z.ZodString;
|
|
12070
|
+
path: z.ZodOptional<z.ZodString>;
|
|
12071
|
+
task_id: z.ZodOptional<z.ZodString>;
|
|
12072
|
+
details: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
12073
|
+
}, z.core.$strip>>>;
|
|
11288
12074
|
}, z.core.$strip>;
|
|
11289
12075
|
}, z.core.$strip>, z.ZodObject<{
|
|
11290
12076
|
id: z.ZodString;
|
|
@@ -11536,9 +12322,9 @@ export declare const WORKSPACE_WEBSOCKET_CONTRACT: {
|
|
|
11536
12322
|
};
|
|
11537
12323
|
export declare const SnapshotContentHashSchema: z.ZodString;
|
|
11538
12324
|
export declare const ApplyPatchOperationSchema: z.ZodEnum<{
|
|
12325
|
+
delete: "delete";
|
|
11539
12326
|
create: "create";
|
|
11540
12327
|
update: "update";
|
|
11541
|
-
delete: "delete";
|
|
11542
12328
|
str_replace: "str_replace";
|
|
11543
12329
|
}>;
|
|
11544
12330
|
export declare const ApplyPatchBatchPostActionSchema: z.ZodEnum<{
|
|
@@ -11555,9 +12341,9 @@ export type ApplyPatchEdit = z.infer<typeof ApplyPatchEditSchema>;
|
|
|
11555
12341
|
export declare const ApplyPatchBatchPatchSchema: z.ZodObject<{
|
|
11556
12342
|
path: z.ZodString;
|
|
11557
12343
|
operation: z.ZodEnum<{
|
|
12344
|
+
delete: "delete";
|
|
11558
12345
|
create: "create";
|
|
11559
12346
|
update: "update";
|
|
11560
|
-
delete: "delete";
|
|
11561
12347
|
str_replace: "str_replace";
|
|
11562
12348
|
}>;
|
|
11563
12349
|
expected_hash: z.ZodOptional<z.ZodString>;
|
|
@@ -11592,9 +12378,9 @@ export declare const WorkspaceMediaRequestSchema: z.ZodObject<{
|
|
|
11592
12378
|
count: z.ZodNumber;
|
|
11593
12379
|
query: z.ZodString;
|
|
11594
12380
|
role: z.ZodEnum<{
|
|
12381
|
+
card: "card";
|
|
11595
12382
|
section: "section";
|
|
11596
12383
|
hero: "hero";
|
|
11597
|
-
card: "card";
|
|
11598
12384
|
gallery: "gallery";
|
|
11599
12385
|
testimonial: "testimonial";
|
|
11600
12386
|
decorative: "decorative";
|
|
@@ -11617,9 +12403,9 @@ export declare const ApplyPatchBatchInputSchema: z.ZodObject<{
|
|
|
11617
12403
|
patches: z.ZodArray<z.ZodObject<{
|
|
11618
12404
|
path: z.ZodString;
|
|
11619
12405
|
operation: z.ZodEnum<{
|
|
12406
|
+
delete: "delete";
|
|
11620
12407
|
create: "create";
|
|
11621
12408
|
update: "update";
|
|
11622
|
-
delete: "delete";
|
|
11623
12409
|
str_replace: "str_replace";
|
|
11624
12410
|
}>;
|
|
11625
12411
|
expected_hash: z.ZodOptional<z.ZodString>;
|
|
@@ -11644,9 +12430,9 @@ export declare const ApplyPatchBatchInputSchema: z.ZodObject<{
|
|
|
11644
12430
|
count: z.ZodNumber;
|
|
11645
12431
|
query: z.ZodString;
|
|
11646
12432
|
role: z.ZodEnum<{
|
|
12433
|
+
card: "card";
|
|
11647
12434
|
section: "section";
|
|
11648
12435
|
hero: "hero";
|
|
11649
|
-
card: "card";
|
|
11650
12436
|
gallery: "gallery";
|
|
11651
12437
|
testimonial: "testimonial";
|
|
11652
12438
|
decorative: "decorative";
|
|
@@ -11668,13 +12454,87 @@ export declare const ApplyPatchBatchInputSchema: z.ZodObject<{
|
|
|
11668
12454
|
}>>>;
|
|
11669
12455
|
}, z.core.$strip>;
|
|
11670
12456
|
export type ApplyPatchBatchInput = z.infer<typeof ApplyPatchBatchInputSchema>;
|
|
12457
|
+
/**
|
|
12458
|
+
* Model-facing apply_patch_batch tool input.
|
|
12459
|
+
*
|
|
12460
|
+
* `base_snapshot_id` is injected by the server-side workspace runtime, so the
|
|
12461
|
+
* model should not be asked to provide it. `site_id` stays optional because the
|
|
12462
|
+
* runtime overwrites it with the authoritative value from the active context.
|
|
12463
|
+
*/
|
|
12464
|
+
export declare const ApplyPatchBatchToolInputSchema: z.ZodObject<{
|
|
12465
|
+
reason: z.ZodString;
|
|
12466
|
+
patches: z.ZodArray<z.ZodObject<{
|
|
12467
|
+
path: z.ZodString;
|
|
12468
|
+
operation: z.ZodEnum<{
|
|
12469
|
+
delete: "delete";
|
|
12470
|
+
create: "create";
|
|
12471
|
+
update: "update";
|
|
12472
|
+
str_replace: "str_replace";
|
|
12473
|
+
}>;
|
|
12474
|
+
expected_hash: z.ZodOptional<z.ZodString>;
|
|
12475
|
+
full_content: z.ZodOptional<z.ZodString>;
|
|
12476
|
+
edits: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
12477
|
+
old_string: z.ZodString;
|
|
12478
|
+
new_string: z.ZodString;
|
|
12479
|
+
replace_all: z.ZodOptional<z.ZodBoolean>;
|
|
12480
|
+
}, z.core.$strict>>>;
|
|
12481
|
+
}, z.core.$strict>>;
|
|
12482
|
+
media_requests: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
12483
|
+
base_key: z.ZodString;
|
|
12484
|
+
owner: z.ZodObject<{
|
|
12485
|
+
kind: z.ZodEnum<{
|
|
12486
|
+
page: "page";
|
|
12487
|
+
site: "site";
|
|
12488
|
+
block: "block";
|
|
12489
|
+
chrome: "chrome";
|
|
12490
|
+
}>;
|
|
12491
|
+
id: z.ZodString;
|
|
12492
|
+
}, z.core.$strip>;
|
|
12493
|
+
count: z.ZodNumber;
|
|
12494
|
+
query: z.ZodString;
|
|
12495
|
+
role: z.ZodEnum<{
|
|
12496
|
+
card: "card";
|
|
12497
|
+
section: "section";
|
|
12498
|
+
hero: "hero";
|
|
12499
|
+
gallery: "gallery";
|
|
12500
|
+
testimonial: "testimonial";
|
|
12501
|
+
decorative: "decorative";
|
|
12502
|
+
site_background: "site_background";
|
|
12503
|
+
nav_background: "nav_background";
|
|
12504
|
+
footer_background: "footer_background";
|
|
12505
|
+
}>;
|
|
12506
|
+
orientation: z.ZodOptional<z.ZodEnum<{
|
|
12507
|
+
landscape: "landscape";
|
|
12508
|
+
portrait: "portrait";
|
|
12509
|
+
square: "square";
|
|
12510
|
+
}>>;
|
|
12511
|
+
altHint: z.ZodString;
|
|
12512
|
+
}, z.core.$strip>>>;
|
|
12513
|
+
post_actions: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
12514
|
+
sitemap_resync: "sitemap_resync";
|
|
12515
|
+
smoke_test: "smoke_test";
|
|
12516
|
+
prepare_preview: "prepare_preview";
|
|
12517
|
+
}>>>;
|
|
12518
|
+
site_id: z.ZodOptional<z.ZodString>;
|
|
12519
|
+
}, z.core.$strip>;
|
|
12520
|
+
export type ApplyPatchBatchToolInput = z.infer<typeof ApplyPatchBatchToolInputSchema>;
|
|
12521
|
+
export declare const WorkspaceDirectEditPathSchema: z.ZodString;
|
|
12522
|
+
export type WorkspaceDirectEditPath = z.infer<typeof WorkspaceDirectEditPathSchema>;
|
|
11671
12523
|
export declare const WorkspaceDirectEditFileSchema: z.ZodObject<{
|
|
11672
12524
|
path: z.ZodString;
|
|
12525
|
+
operation: z.ZodOptional<z.ZodEnum<{
|
|
12526
|
+
upsert: "upsert";
|
|
12527
|
+
delete: "delete";
|
|
12528
|
+
}>>;
|
|
11673
12529
|
}, z.core.$strip>;
|
|
11674
12530
|
export type WorkspaceDirectEditFile = z.infer<typeof WorkspaceDirectEditFileSchema>;
|
|
11675
12531
|
export declare const WorkspaceDirectEditRequestSchema: z.ZodObject<{
|
|
11676
12532
|
files: z.ZodArray<z.ZodObject<{
|
|
11677
12533
|
path: z.ZodString;
|
|
12534
|
+
operation: z.ZodOptional<z.ZodEnum<{
|
|
12535
|
+
upsert: "upsert";
|
|
12536
|
+
delete: "delete";
|
|
12537
|
+
}>>;
|
|
11678
12538
|
}, z.core.$strip>>;
|
|
11679
12539
|
}, z.core.$strict>;
|
|
11680
12540
|
export type WorkspaceDirectEditRequest = z.infer<typeof WorkspaceDirectEditRequestSchema>;
|