@trojanbox-vcp-test/contracts 0.1.0 → 0.2.0
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/index.d.ts +1493 -132
- package/dist/index.js +62 -2349
- package/dist/site-edit-class-name-source.d.ts +62 -77
- package/dist/site-edit-command-result.d.ts +50 -0
- package/dist/site-edit-event.d.ts +1 -22
- package/dist/site-edit-operation.d.ts +56 -24
- package/dist/site-edit-render-document.d.ts +0 -304
- package/package.json +1 -1
- package/dist/site-edit-capability.js +0 -49
- package/dist/site-edit-class-name-source.js +0 -118
- package/dist/site-edit-event.js +0 -41
- package/dist/site-edit-identity.js +0 -33
- package/dist/site-edit-operation.js +0 -379
- package/dist/site-edit-patch-plan.js +0 -62
- package/dist/site-edit-render-document.js +0 -236
- package/dist/user-facing-copy.js +0 -56
package/dist/index.d.ts
CHANGED
|
@@ -1,12 +1,94 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
export * from "./site-edit-capability.js";
|
|
3
3
|
export * from "./site-edit-class-name-source.js";
|
|
4
|
+
export * from "./site-edit-command-result.js";
|
|
4
5
|
export * from "./site-edit-event.js";
|
|
5
6
|
export * from "./site-edit-identity.js";
|
|
6
7
|
export * from "./site-edit-operation.js";
|
|
7
8
|
export * from "./site-edit-patch-plan.js";
|
|
8
9
|
export * from "./site-edit-render-document.js";
|
|
9
10
|
export * from "./user-facing-copy.js";
|
|
11
|
+
/**
|
|
12
|
+
* Clarify 视觉调性 text-options 题的每个 option 的结构化硬绑信号。
|
|
13
|
+
* spec §1.1 + 2026-05-27 接通:用户选中的 option 的 visualHints 会被
|
|
14
|
+
* 服务端镜像到 SitemapAnswer.visual_tonality → sitemap.visualTheme.
|
|
15
|
+
* userVisualHints → DesignPlan.selectedVisualHints → DesignPlan 输出后
|
|
16
|
+
* server-side overwrite siteDesignContext.fonts / surfaceMode,并把
|
|
17
|
+
* paletteIntent 文本注入 DesignPlan staticPrefix 作为颜色派生的软引导。
|
|
18
|
+
*
|
|
19
|
+
* 字段语义:
|
|
20
|
+
* - heading / body:next/font Google Fonts display name;LLM 必须从
|
|
21
|
+
* `apps/agent/src/agents/workspace/font-registry.ts:NEXT_FONT_DISPLAY_NAMES`
|
|
22
|
+
* 选;server-side overwrite 时通过 resolveFont 兜底为 Inter,所以
|
|
23
|
+
* schema 不锁 enum(保留 LLM 输出宽容性)。
|
|
24
|
+
* - paletteIntent:≤60 字符短描述(如 "商务白金 · 米白 + 深炭灰 + 暖金"),
|
|
25
|
+
* 作为 DesignPlan colorSeeds 派生的软引导,不硬覆写 colorSeeds(颜色
|
|
26
|
+
* 名解析难度大,留 LLM 派生 hex/CSS 名)。
|
|
27
|
+
* - surfaceMode:light / dark,直接硬覆写 siteDesignContext.surfaceMode。
|
|
28
|
+
*/
|
|
29
|
+
export declare const VisualHintsSchema: z.ZodObject<{
|
|
30
|
+
heading: z.ZodOptional<z.ZodString>;
|
|
31
|
+
body: z.ZodOptional<z.ZodString>;
|
|
32
|
+
paletteIntent: z.ZodOptional<z.ZodString>;
|
|
33
|
+
surfaceMode: z.ZodOptional<z.ZodEnum<{
|
|
34
|
+
light: "light";
|
|
35
|
+
dark: "dark";
|
|
36
|
+
}>>;
|
|
37
|
+
radius: z.ZodOptional<z.ZodEnum<{
|
|
38
|
+
sm: "sm";
|
|
39
|
+
md: "md";
|
|
40
|
+
lg: "lg";
|
|
41
|
+
xl: "xl";
|
|
42
|
+
none: "none";
|
|
43
|
+
}>>;
|
|
44
|
+
density: z.ZodOptional<z.ZodEnum<{
|
|
45
|
+
compact: "compact";
|
|
46
|
+
comfortable: "comfortable";
|
|
47
|
+
editorial: "editorial";
|
|
48
|
+
}>>;
|
|
49
|
+
colorSeeds: z.ZodOptional<z.ZodObject<{
|
|
50
|
+
primary: z.ZodString;
|
|
51
|
+
accent: z.ZodString;
|
|
52
|
+
neutral: z.ZodString;
|
|
53
|
+
supporting: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
54
|
+
}, z.core.$strip>>;
|
|
55
|
+
}, z.core.$strip>;
|
|
56
|
+
export type VisualHints = z.infer<typeof VisualHintsSchema>;
|
|
57
|
+
/**
|
|
58
|
+
* Clarify Step 2 conversion-goal text-options question structured hints that
|
|
59
|
+
* ride along with each option. Mirrors the {@link VisualHintsSchema} pattern:
|
|
60
|
+
* the LLM decides which option carries the hints, the server mirrors the
|
|
61
|
+
* selected option's hints into {@link SitemapAnswerSchema.conversion}, and
|
|
62
|
+
* sitemap.service lifts that into sitemap-level
|
|
63
|
+
* {@link SitemapSchema.confirmedChoices.conversion} so downstream
|
|
64
|
+
* inspect-sitemap / DesignPlan / workspace worker prompts can read the user's
|
|
65
|
+
* confirmed conversion goal without depending on block-level props.
|
|
66
|
+
*
|
|
67
|
+
* Field semantics:
|
|
68
|
+
* - protocol: how the visitor takes the action — phone (tel: link), form
|
|
69
|
+
* (lead capture form), download (file), route (internal page link), or
|
|
70
|
+
* external (third-party URL).
|
|
71
|
+
* - ctaLabel: concrete CTA label in the brief's language (<=40 chars), e.g.
|
|
72
|
+
* "立即致电咨询" or "Book a consultation".
|
|
73
|
+
* - ctaTarget: optional concrete target — phone number / route / URL /
|
|
74
|
+
* anchor; when absent the owner must fill it in later.
|
|
75
|
+
* - requiresOwnerDetail: true when the protocol needs an owner-provided
|
|
76
|
+
* detail that is not in the brief (for example, phone selected but no
|
|
77
|
+
* number provided).
|
|
78
|
+
*/
|
|
79
|
+
export declare const ConversionHintsSchema: z.ZodObject<{
|
|
80
|
+
protocol: z.ZodEnum<{
|
|
81
|
+
external: "external";
|
|
82
|
+
route: "route";
|
|
83
|
+
phone: "phone";
|
|
84
|
+
form: "form";
|
|
85
|
+
download: "download";
|
|
86
|
+
}>;
|
|
87
|
+
ctaLabel: z.ZodString;
|
|
88
|
+
ctaTarget: z.ZodOptional<z.ZodString>;
|
|
89
|
+
requiresOwnerDetail: z.ZodOptional<z.ZodBoolean>;
|
|
90
|
+
}, z.core.$strip>;
|
|
91
|
+
export type ConversionHints = z.infer<typeof ConversionHintsSchema>;
|
|
10
92
|
export declare const ClarifyQuestionTypeSchema: z.ZodEnum<{
|
|
11
93
|
"text-options": "text-options";
|
|
12
94
|
"motion-slider": "motion-slider";
|
|
@@ -44,6 +126,45 @@ export declare const ClarifyModelOutputSchema: z.ZodObject<{
|
|
|
44
126
|
desc: z.ZodOptional<z.ZodString>;
|
|
45
127
|
impact: z.ZodOptional<z.ZodString>;
|
|
46
128
|
isRecommended: z.ZodOptional<z.ZodBoolean>;
|
|
129
|
+
visualHints: z.ZodOptional<z.ZodObject<{
|
|
130
|
+
heading: z.ZodOptional<z.ZodString>;
|
|
131
|
+
body: z.ZodOptional<z.ZodString>;
|
|
132
|
+
paletteIntent: z.ZodOptional<z.ZodString>;
|
|
133
|
+
surfaceMode: z.ZodOptional<z.ZodEnum<{
|
|
134
|
+
light: "light";
|
|
135
|
+
dark: "dark";
|
|
136
|
+
}>>;
|
|
137
|
+
radius: z.ZodOptional<z.ZodEnum<{
|
|
138
|
+
sm: "sm";
|
|
139
|
+
md: "md";
|
|
140
|
+
lg: "lg";
|
|
141
|
+
xl: "xl";
|
|
142
|
+
none: "none";
|
|
143
|
+
}>>;
|
|
144
|
+
density: z.ZodOptional<z.ZodEnum<{
|
|
145
|
+
compact: "compact";
|
|
146
|
+
comfortable: "comfortable";
|
|
147
|
+
editorial: "editorial";
|
|
148
|
+
}>>;
|
|
149
|
+
colorSeeds: z.ZodOptional<z.ZodObject<{
|
|
150
|
+
primary: z.ZodString;
|
|
151
|
+
accent: z.ZodString;
|
|
152
|
+
neutral: z.ZodString;
|
|
153
|
+
supporting: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
154
|
+
}, z.core.$strip>>;
|
|
155
|
+
}, z.core.$strip>>;
|
|
156
|
+
conversionHints: z.ZodOptional<z.ZodObject<{
|
|
157
|
+
protocol: z.ZodEnum<{
|
|
158
|
+
external: "external";
|
|
159
|
+
route: "route";
|
|
160
|
+
phone: "phone";
|
|
161
|
+
form: "form";
|
|
162
|
+
download: "download";
|
|
163
|
+
}>;
|
|
164
|
+
ctaLabel: z.ZodString;
|
|
165
|
+
ctaTarget: z.ZodOptional<z.ZodString>;
|
|
166
|
+
requiresOwnerDetail: z.ZodOptional<z.ZodBoolean>;
|
|
167
|
+
}, z.core.$strip>>;
|
|
47
168
|
}, z.core.$strip>>;
|
|
48
169
|
source: z.ZodEnum<{
|
|
49
170
|
"ai-detected": "ai-detected";
|
|
@@ -78,6 +199,45 @@ export declare const ClarifyQuestionsSchema: z.ZodObject<{
|
|
|
78
199
|
desc: z.ZodOptional<z.ZodString>;
|
|
79
200
|
impact: z.ZodOptional<z.ZodString>;
|
|
80
201
|
isRecommended: z.ZodOptional<z.ZodBoolean>;
|
|
202
|
+
visualHints: z.ZodOptional<z.ZodObject<{
|
|
203
|
+
heading: z.ZodOptional<z.ZodString>;
|
|
204
|
+
body: z.ZodOptional<z.ZodString>;
|
|
205
|
+
paletteIntent: z.ZodOptional<z.ZodString>;
|
|
206
|
+
surfaceMode: z.ZodOptional<z.ZodEnum<{
|
|
207
|
+
light: "light";
|
|
208
|
+
dark: "dark";
|
|
209
|
+
}>>;
|
|
210
|
+
radius: z.ZodOptional<z.ZodEnum<{
|
|
211
|
+
sm: "sm";
|
|
212
|
+
md: "md";
|
|
213
|
+
lg: "lg";
|
|
214
|
+
xl: "xl";
|
|
215
|
+
none: "none";
|
|
216
|
+
}>>;
|
|
217
|
+
density: z.ZodOptional<z.ZodEnum<{
|
|
218
|
+
compact: "compact";
|
|
219
|
+
comfortable: "comfortable";
|
|
220
|
+
editorial: "editorial";
|
|
221
|
+
}>>;
|
|
222
|
+
colorSeeds: z.ZodOptional<z.ZodObject<{
|
|
223
|
+
primary: z.ZodString;
|
|
224
|
+
accent: z.ZodString;
|
|
225
|
+
neutral: z.ZodString;
|
|
226
|
+
supporting: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
227
|
+
}, z.core.$strip>>;
|
|
228
|
+
}, z.core.$strip>>;
|
|
229
|
+
conversionHints: z.ZodOptional<z.ZodObject<{
|
|
230
|
+
protocol: z.ZodEnum<{
|
|
231
|
+
external: "external";
|
|
232
|
+
route: "route";
|
|
233
|
+
phone: "phone";
|
|
234
|
+
form: "form";
|
|
235
|
+
download: "download";
|
|
236
|
+
}>;
|
|
237
|
+
ctaLabel: z.ZodString;
|
|
238
|
+
ctaTarget: z.ZodOptional<z.ZodString>;
|
|
239
|
+
requiresOwnerDetail: z.ZodOptional<z.ZodBoolean>;
|
|
240
|
+
}, z.core.$strip>>;
|
|
81
241
|
}, z.core.$strip>>;
|
|
82
242
|
source: z.ZodEnum<{
|
|
83
243
|
"ai-detected": "ai-detected";
|
|
@@ -808,8 +968,50 @@ export declare const VisualThemeSchema: z.ZodObject<{
|
|
|
808
968
|
moderate: "moderate";
|
|
809
969
|
expressive: "expressive";
|
|
810
970
|
}>>;
|
|
971
|
+
userVisualHints: z.ZodOptional<z.ZodObject<{
|
|
972
|
+
heading: z.ZodOptional<z.ZodString>;
|
|
973
|
+
body: z.ZodOptional<z.ZodString>;
|
|
974
|
+
paletteIntent: z.ZodOptional<z.ZodString>;
|
|
975
|
+
surfaceMode: z.ZodOptional<z.ZodEnum<{
|
|
976
|
+
light: "light";
|
|
977
|
+
dark: "dark";
|
|
978
|
+
}>>;
|
|
979
|
+
radius: z.ZodOptional<z.ZodEnum<{
|
|
980
|
+
sm: "sm";
|
|
981
|
+
md: "md";
|
|
982
|
+
lg: "lg";
|
|
983
|
+
xl: "xl";
|
|
984
|
+
none: "none";
|
|
985
|
+
}>>;
|
|
986
|
+
density: z.ZodOptional<z.ZodEnum<{
|
|
987
|
+
compact: "compact";
|
|
988
|
+
comfortable: "comfortable";
|
|
989
|
+
editorial: "editorial";
|
|
990
|
+
}>>;
|
|
991
|
+
colorSeeds: z.ZodOptional<z.ZodObject<{
|
|
992
|
+
primary: z.ZodString;
|
|
993
|
+
accent: z.ZodString;
|
|
994
|
+
neutral: z.ZodString;
|
|
995
|
+
supporting: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
996
|
+
}, z.core.$strip>>;
|
|
997
|
+
}, z.core.$strip>>;
|
|
811
998
|
}, z.core.$strip>;
|
|
812
999
|
export type VisualTheme = z.infer<typeof VisualThemeSchema>;
|
|
1000
|
+
/**
|
|
1001
|
+
* Tier 2 普适桥接:把 Clarify 阶段所有用户问答(包括 LLM 动态生成的
|
|
1002
|
+
* 自由问题、用户自定义答案)原文透传到下游 DesignPlan / section worker
|
|
1003
|
+
* prompt 的最小载体。结构化层(motionLevel / userVisualHints /
|
|
1004
|
+
* conversion)继续走 visualTheme 通道,这里只承载"全量 Q&A"维度。
|
|
1005
|
+
*
|
|
1006
|
+
* - `question`:澄清问题原文(去除首尾空白),供 LLM 还原"在问什么"。
|
|
1007
|
+
* - `answer`:人类可读答案,按 `option_label → label → value` 三段
|
|
1008
|
+
* fallback 取,自定义答案自动落到 value(用户原文)。
|
|
1009
|
+
*/
|
|
1010
|
+
export declare const SitemapUserChoiceSchema: z.ZodObject<{
|
|
1011
|
+
question: z.ZodString;
|
|
1012
|
+
answer: z.ZodString;
|
|
1013
|
+
}, z.core.$strip>;
|
|
1014
|
+
export type SitemapUserChoice = z.infer<typeof SitemapUserChoiceSchema>;
|
|
813
1015
|
export declare const BlockMediaIntentSchema: z.ZodObject<{
|
|
814
1016
|
query: z.ZodString;
|
|
815
1017
|
keywords: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
@@ -1084,9 +1286,10 @@ export declare const BlockSchema: z.ZodObject<{
|
|
|
1084
1286
|
userEdited: z.ZodBoolean;
|
|
1085
1287
|
lastEditedAt: z.ZodString;
|
|
1086
1288
|
lastEditedBy: z.ZodEnum<{
|
|
1087
|
-
user: "user";
|
|
1088
1289
|
ai: "ai";
|
|
1290
|
+
user: "user";
|
|
1089
1291
|
}>;
|
|
1292
|
+
userInstruction: z.ZodOptional<z.ZodString>;
|
|
1090
1293
|
}, z.core.$strip>>;
|
|
1091
1294
|
}, z.core.$strict>;
|
|
1092
1295
|
export declare const PageSchema: z.ZodObject<{
|
|
@@ -1105,9 +1308,10 @@ export declare const PageSchema: z.ZodObject<{
|
|
|
1105
1308
|
userEdited: z.ZodBoolean;
|
|
1106
1309
|
lastEditedAt: z.ZodString;
|
|
1107
1310
|
lastEditedBy: z.ZodEnum<{
|
|
1108
|
-
user: "user";
|
|
1109
1311
|
ai: "ai";
|
|
1312
|
+
user: "user";
|
|
1110
1313
|
}>;
|
|
1314
|
+
userInstruction: z.ZodOptional<z.ZodString>;
|
|
1111
1315
|
}, z.core.$strip>>;
|
|
1112
1316
|
}, z.core.$strict>>;
|
|
1113
1317
|
layout: z.ZodOptional<z.ZodEnum<{
|
|
@@ -1139,9 +1343,10 @@ export declare const SitemapSchema: z.ZodObject<{
|
|
|
1139
1343
|
userEdited: z.ZodBoolean;
|
|
1140
1344
|
lastEditedAt: z.ZodString;
|
|
1141
1345
|
lastEditedBy: z.ZodEnum<{
|
|
1142
|
-
user: "user";
|
|
1143
1346
|
ai: "ai";
|
|
1347
|
+
user: "user";
|
|
1144
1348
|
}>;
|
|
1349
|
+
userInstruction: z.ZodOptional<z.ZodString>;
|
|
1145
1350
|
}, z.core.$strip>>;
|
|
1146
1351
|
}, z.core.$strict>>;
|
|
1147
1352
|
layout: z.ZodOptional<z.ZodEnum<{
|
|
@@ -1199,12 +1404,58 @@ export declare const SitemapSchema: z.ZodObject<{
|
|
|
1199
1404
|
moderate: "moderate";
|
|
1200
1405
|
expressive: "expressive";
|
|
1201
1406
|
}>>;
|
|
1407
|
+
userVisualHints: z.ZodOptional<z.ZodObject<{
|
|
1408
|
+
heading: z.ZodOptional<z.ZodString>;
|
|
1409
|
+
body: z.ZodOptional<z.ZodString>;
|
|
1410
|
+
paletteIntent: z.ZodOptional<z.ZodString>;
|
|
1411
|
+
surfaceMode: z.ZodOptional<z.ZodEnum<{
|
|
1412
|
+
light: "light";
|
|
1413
|
+
dark: "dark";
|
|
1414
|
+
}>>;
|
|
1415
|
+
radius: z.ZodOptional<z.ZodEnum<{
|
|
1416
|
+
sm: "sm";
|
|
1417
|
+
md: "md";
|
|
1418
|
+
lg: "lg";
|
|
1419
|
+
xl: "xl";
|
|
1420
|
+
none: "none";
|
|
1421
|
+
}>>;
|
|
1422
|
+
density: z.ZodOptional<z.ZodEnum<{
|
|
1423
|
+
compact: "compact";
|
|
1424
|
+
comfortable: "comfortable";
|
|
1425
|
+
editorial: "editorial";
|
|
1426
|
+
}>>;
|
|
1427
|
+
colorSeeds: z.ZodOptional<z.ZodObject<{
|
|
1428
|
+
primary: z.ZodString;
|
|
1429
|
+
accent: z.ZodString;
|
|
1430
|
+
neutral: z.ZodString;
|
|
1431
|
+
supporting: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1432
|
+
}, z.core.$strip>>;
|
|
1433
|
+
}, z.core.$strip>>;
|
|
1434
|
+
}, z.core.$strip>>;
|
|
1435
|
+
userChoices: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1436
|
+
question: z.ZodString;
|
|
1437
|
+
answer: z.ZodString;
|
|
1438
|
+
}, z.core.$strip>>>;
|
|
1439
|
+
confirmedChoices: z.ZodOptional<z.ZodObject<{
|
|
1440
|
+
conversion: z.ZodOptional<z.ZodObject<{
|
|
1441
|
+
protocol: z.ZodEnum<{
|
|
1442
|
+
external: "external";
|
|
1443
|
+
route: "route";
|
|
1444
|
+
phone: "phone";
|
|
1445
|
+
form: "form";
|
|
1446
|
+
download: "download";
|
|
1447
|
+
}>;
|
|
1448
|
+
ctaLabel: z.ZodString;
|
|
1449
|
+
ctaTarget: z.ZodOptional<z.ZodString>;
|
|
1450
|
+
requiresOwnerDetail: z.ZodOptional<z.ZodBoolean>;
|
|
1451
|
+
}, z.core.$strip>>;
|
|
1202
1452
|
}, z.core.$strip>>;
|
|
1203
1453
|
}, z.core.$strict>;
|
|
1204
1454
|
export type Sitemap = z.infer<typeof SitemapSchema>;
|
|
1205
1455
|
/**
|
|
1206
1456
|
* 提供给 streamObject 用于 LLM 输出的 sitemap schema 子集。
|
|
1207
|
-
* skillSelection / visualTheme
|
|
1457
|
+
* skillSelection / visualTheme / userChoices / confirmedChoices
|
|
1458
|
+
* 是服务端注入字段,LLM 不输出。
|
|
1208
1459
|
*/
|
|
1209
1460
|
export declare const SitemapModelOutputSchema: z.ZodObject<{
|
|
1210
1461
|
version: z.ZodNumber;
|
|
@@ -1240,9 +1491,10 @@ export declare const SitemapModelOutputSchema: z.ZodObject<{
|
|
|
1240
1491
|
userEdited: z.ZodBoolean;
|
|
1241
1492
|
lastEditedAt: z.ZodString;
|
|
1242
1493
|
lastEditedBy: z.ZodEnum<{
|
|
1243
|
-
user: "user";
|
|
1244
1494
|
ai: "ai";
|
|
1495
|
+
user: "user";
|
|
1245
1496
|
}>;
|
|
1497
|
+
userInstruction: z.ZodOptional<z.ZodString>;
|
|
1246
1498
|
}, z.core.$strip>>;
|
|
1247
1499
|
}, z.core.$strict>>;
|
|
1248
1500
|
layout: z.ZodOptional<z.ZodEnum<{
|
|
@@ -1265,16 +1517,16 @@ export type SitemapModelOutput = z.infer<typeof SitemapModelOutputSchema>;
|
|
|
1265
1517
|
export type Page = z.infer<typeof PageSchema>;
|
|
1266
1518
|
export type Block = z.infer<typeof BlockSchema>;
|
|
1267
1519
|
export declare const SitemapEditActorSchema: z.ZodEnum<{
|
|
1268
|
-
user: "user";
|
|
1269
1520
|
ai: "ai";
|
|
1521
|
+
user: "user";
|
|
1270
1522
|
}>;
|
|
1271
1523
|
export type SitemapEditActor = z.infer<typeof SitemapEditActorSchema>;
|
|
1272
1524
|
export declare const SitemapMoveBlockInputSchema: z.ZodObject<{
|
|
1273
1525
|
site_id: z.ZodString;
|
|
1274
1526
|
page_id: z.ZodString;
|
|
1275
1527
|
edited_by: z.ZodDefault<z.ZodEnum<{
|
|
1276
|
-
user: "user";
|
|
1277
1528
|
ai: "ai";
|
|
1529
|
+
user: "user";
|
|
1278
1530
|
}>>;
|
|
1279
1531
|
source_agent_run_id: z.ZodOptional<z.ZodString>;
|
|
1280
1532
|
block_id: z.ZodString;
|
|
@@ -1285,19 +1537,31 @@ export declare const SitemapDeleteBlockInputSchema: z.ZodObject<{
|
|
|
1285
1537
|
site_id: z.ZodString;
|
|
1286
1538
|
page_id: z.ZodString;
|
|
1287
1539
|
edited_by: z.ZodDefault<z.ZodEnum<{
|
|
1288
|
-
user: "user";
|
|
1289
1540
|
ai: "ai";
|
|
1541
|
+
user: "user";
|
|
1290
1542
|
}>>;
|
|
1291
1543
|
source_agent_run_id: z.ZodOptional<z.ZodString>;
|
|
1292
1544
|
block_id: z.ZodString;
|
|
1293
1545
|
}, z.core.$strip>;
|
|
1294
1546
|
export type SitemapDeleteBlockInput = z.infer<typeof SitemapDeleteBlockInputSchema>;
|
|
1295
|
-
export declare const
|
|
1547
|
+
export declare const SitemapUpdateBlockInstructionInputSchema: z.ZodObject<{
|
|
1296
1548
|
site_id: z.ZodString;
|
|
1297
1549
|
page_id: z.ZodString;
|
|
1298
1550
|
edited_by: z.ZodDefault<z.ZodEnum<{
|
|
1551
|
+
ai: "ai";
|
|
1299
1552
|
user: "user";
|
|
1553
|
+
}>>;
|
|
1554
|
+
source_agent_run_id: z.ZodOptional<z.ZodString>;
|
|
1555
|
+
block_id: z.ZodString;
|
|
1556
|
+
instruction: z.ZodString;
|
|
1557
|
+
}, z.core.$strip>;
|
|
1558
|
+
export type SitemapUpdateBlockInstructionInput = z.infer<typeof SitemapUpdateBlockInstructionInputSchema>;
|
|
1559
|
+
export declare const SitemapChangeBlockVariantInputSchema: z.ZodObject<{
|
|
1560
|
+
site_id: z.ZodString;
|
|
1561
|
+
page_id: z.ZodString;
|
|
1562
|
+
edited_by: z.ZodDefault<z.ZodEnum<{
|
|
1300
1563
|
ai: "ai";
|
|
1564
|
+
user: "user";
|
|
1301
1565
|
}>>;
|
|
1302
1566
|
source_agent_run_id: z.ZodOptional<z.ZodString>;
|
|
1303
1567
|
block_id: z.ZodString;
|
|
@@ -1308,8 +1572,8 @@ export declare const SitemapUpdateBlockPropsInputSchema: z.ZodObject<{
|
|
|
1308
1572
|
site_id: z.ZodString;
|
|
1309
1573
|
page_id: z.ZodString;
|
|
1310
1574
|
edited_by: z.ZodDefault<z.ZodEnum<{
|
|
1311
|
-
user: "user";
|
|
1312
1575
|
ai: "ai";
|
|
1576
|
+
user: "user";
|
|
1313
1577
|
}>>;
|
|
1314
1578
|
source_agent_run_id: z.ZodOptional<z.ZodString>;
|
|
1315
1579
|
block_id: z.ZodString;
|
|
@@ -1324,8 +1588,8 @@ export declare const SitemapAddBlockInputSchema: z.ZodObject<{
|
|
|
1324
1588
|
site_id: z.ZodString;
|
|
1325
1589
|
page_id: z.ZodString;
|
|
1326
1590
|
edited_by: z.ZodDefault<z.ZodEnum<{
|
|
1327
|
-
user: "user";
|
|
1328
1591
|
ai: "ai";
|
|
1592
|
+
user: "user";
|
|
1329
1593
|
}>>;
|
|
1330
1594
|
source_agent_run_id: z.ZodOptional<z.ZodString>;
|
|
1331
1595
|
block: z.ZodObject<{
|
|
@@ -1340,11 +1604,39 @@ export type SitemapAddBlockInput = z.infer<typeof SitemapAddBlockInputSchema>;
|
|
|
1340
1604
|
export declare const SitemapEditOperationSchema: z.ZodEnum<{
|
|
1341
1605
|
move_block: "move_block";
|
|
1342
1606
|
delete_block: "delete_block";
|
|
1607
|
+
update_block_instruction: "update_block_instruction";
|
|
1343
1608
|
change_block_variant: "change_block_variant";
|
|
1344
1609
|
update_block_props: "update_block_props";
|
|
1345
1610
|
add_block: "add_block";
|
|
1346
1611
|
}>;
|
|
1347
1612
|
export type SitemapEditOperation = z.infer<typeof SitemapEditOperationSchema>;
|
|
1613
|
+
export declare const WorkspaceSitemapEditRequestSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1614
|
+
operation: z.ZodLiteral<"delete_block">;
|
|
1615
|
+
input: z.ZodObject<{
|
|
1616
|
+
site_id: z.ZodString;
|
|
1617
|
+
page_id: z.ZodString;
|
|
1618
|
+
edited_by: z.ZodDefault<z.ZodEnum<{
|
|
1619
|
+
ai: "ai";
|
|
1620
|
+
user: "user";
|
|
1621
|
+
}>>;
|
|
1622
|
+
source_agent_run_id: z.ZodOptional<z.ZodString>;
|
|
1623
|
+
block_id: z.ZodString;
|
|
1624
|
+
}, z.core.$strip>;
|
|
1625
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1626
|
+
operation: z.ZodLiteral<"update_block_instruction">;
|
|
1627
|
+
input: z.ZodObject<{
|
|
1628
|
+
site_id: z.ZodString;
|
|
1629
|
+
page_id: z.ZodString;
|
|
1630
|
+
edited_by: z.ZodDefault<z.ZodEnum<{
|
|
1631
|
+
ai: "ai";
|
|
1632
|
+
user: "user";
|
|
1633
|
+
}>>;
|
|
1634
|
+
source_agent_run_id: z.ZodOptional<z.ZodString>;
|
|
1635
|
+
block_id: z.ZodString;
|
|
1636
|
+
instruction: z.ZodString;
|
|
1637
|
+
}, z.core.$strip>;
|
|
1638
|
+
}, z.core.$strict>], "operation">;
|
|
1639
|
+
export type WorkspaceSitemapEditRequest = z.infer<typeof WorkspaceSitemapEditRequestSchema>;
|
|
1348
1640
|
export declare const SitemapEditErrorCodeSchema: z.ZodEnum<{
|
|
1349
1641
|
SITEMAP_EDIT_INVALID: "SITEMAP_EDIT_INVALID";
|
|
1350
1642
|
SITEMAP_API_NOT_CONFIGURED: "SITEMAP_API_NOT_CONFIGURED";
|
|
@@ -1360,6 +1652,7 @@ export declare const SitemapEditSuccessSchema: z.ZodObject<{
|
|
|
1360
1652
|
operation: z.ZodEnum<{
|
|
1361
1653
|
move_block: "move_block";
|
|
1362
1654
|
delete_block: "delete_block";
|
|
1655
|
+
update_block_instruction: "update_block_instruction";
|
|
1363
1656
|
change_block_variant: "change_block_variant";
|
|
1364
1657
|
update_block_props: "update_block_props";
|
|
1365
1658
|
add_block: "add_block";
|
|
@@ -1390,6 +1683,7 @@ export declare const SitemapEditResultSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
1390
1683
|
operation: z.ZodEnum<{
|
|
1391
1684
|
move_block: "move_block";
|
|
1392
1685
|
delete_block: "delete_block";
|
|
1686
|
+
update_block_instruction: "update_block_instruction";
|
|
1393
1687
|
change_block_variant: "change_block_variant";
|
|
1394
1688
|
update_block_props: "update_block_props";
|
|
1395
1689
|
add_block: "add_block";
|
|
@@ -1427,6 +1721,45 @@ export declare const SitemapAnswerSchema: z.ZodObject<{
|
|
|
1427
1721
|
moderate: "moderate";
|
|
1428
1722
|
expressive: "expressive";
|
|
1429
1723
|
}>>;
|
|
1724
|
+
visual_tonality: z.ZodOptional<z.ZodObject<{
|
|
1725
|
+
heading: z.ZodOptional<z.ZodString>;
|
|
1726
|
+
body: z.ZodOptional<z.ZodString>;
|
|
1727
|
+
paletteIntent: z.ZodOptional<z.ZodString>;
|
|
1728
|
+
surfaceMode: z.ZodOptional<z.ZodEnum<{
|
|
1729
|
+
light: "light";
|
|
1730
|
+
dark: "dark";
|
|
1731
|
+
}>>;
|
|
1732
|
+
radius: z.ZodOptional<z.ZodEnum<{
|
|
1733
|
+
sm: "sm";
|
|
1734
|
+
md: "md";
|
|
1735
|
+
lg: "lg";
|
|
1736
|
+
xl: "xl";
|
|
1737
|
+
none: "none";
|
|
1738
|
+
}>>;
|
|
1739
|
+
density: z.ZodOptional<z.ZodEnum<{
|
|
1740
|
+
compact: "compact";
|
|
1741
|
+
comfortable: "comfortable";
|
|
1742
|
+
editorial: "editorial";
|
|
1743
|
+
}>>;
|
|
1744
|
+
colorSeeds: z.ZodOptional<z.ZodObject<{
|
|
1745
|
+
primary: z.ZodString;
|
|
1746
|
+
accent: z.ZodString;
|
|
1747
|
+
neutral: z.ZodString;
|
|
1748
|
+
supporting: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1749
|
+
}, z.core.$strip>>;
|
|
1750
|
+
}, z.core.$strip>>;
|
|
1751
|
+
conversion: z.ZodOptional<z.ZodObject<{
|
|
1752
|
+
protocol: z.ZodEnum<{
|
|
1753
|
+
external: "external";
|
|
1754
|
+
route: "route";
|
|
1755
|
+
phone: "phone";
|
|
1756
|
+
form: "form";
|
|
1757
|
+
download: "download";
|
|
1758
|
+
}>;
|
|
1759
|
+
ctaLabel: z.ZodString;
|
|
1760
|
+
ctaTarget: z.ZodOptional<z.ZodString>;
|
|
1761
|
+
requiresOwnerDetail: z.ZodOptional<z.ZodBoolean>;
|
|
1762
|
+
}, z.core.$strip>>;
|
|
1430
1763
|
}, z.core.$strip>;
|
|
1431
1764
|
export type SitemapAnswer = z.infer<typeof SitemapAnswerSchema>;
|
|
1432
1765
|
export declare const SitemapRunInputSchema: z.ZodObject<{
|
|
@@ -1446,6 +1779,45 @@ export declare const SitemapRunInputSchema: z.ZodObject<{
|
|
|
1446
1779
|
moderate: "moderate";
|
|
1447
1780
|
expressive: "expressive";
|
|
1448
1781
|
}>>;
|
|
1782
|
+
visual_tonality: z.ZodOptional<z.ZodObject<{
|
|
1783
|
+
heading: z.ZodOptional<z.ZodString>;
|
|
1784
|
+
body: z.ZodOptional<z.ZodString>;
|
|
1785
|
+
paletteIntent: z.ZodOptional<z.ZodString>;
|
|
1786
|
+
surfaceMode: z.ZodOptional<z.ZodEnum<{
|
|
1787
|
+
light: "light";
|
|
1788
|
+
dark: "dark";
|
|
1789
|
+
}>>;
|
|
1790
|
+
radius: z.ZodOptional<z.ZodEnum<{
|
|
1791
|
+
sm: "sm";
|
|
1792
|
+
md: "md";
|
|
1793
|
+
lg: "lg";
|
|
1794
|
+
xl: "xl";
|
|
1795
|
+
none: "none";
|
|
1796
|
+
}>>;
|
|
1797
|
+
density: z.ZodOptional<z.ZodEnum<{
|
|
1798
|
+
compact: "compact";
|
|
1799
|
+
comfortable: "comfortable";
|
|
1800
|
+
editorial: "editorial";
|
|
1801
|
+
}>>;
|
|
1802
|
+
colorSeeds: z.ZodOptional<z.ZodObject<{
|
|
1803
|
+
primary: z.ZodString;
|
|
1804
|
+
accent: z.ZodString;
|
|
1805
|
+
neutral: z.ZodString;
|
|
1806
|
+
supporting: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1807
|
+
}, z.core.$strip>>;
|
|
1808
|
+
}, z.core.$strip>>;
|
|
1809
|
+
conversion: z.ZodOptional<z.ZodObject<{
|
|
1810
|
+
protocol: z.ZodEnum<{
|
|
1811
|
+
external: "external";
|
|
1812
|
+
route: "route";
|
|
1813
|
+
phone: "phone";
|
|
1814
|
+
form: "form";
|
|
1815
|
+
download: "download";
|
|
1816
|
+
}>;
|
|
1817
|
+
ctaLabel: z.ZodString;
|
|
1818
|
+
ctaTarget: z.ZodOptional<z.ZodString>;
|
|
1819
|
+
requiresOwnerDetail: z.ZodOptional<z.ZodBoolean>;
|
|
1820
|
+
}, z.core.$strip>>;
|
|
1449
1821
|
}, z.core.$strip>>;
|
|
1450
1822
|
skillSelection: z.ZodObject<{
|
|
1451
1823
|
id: z.ZodString;
|
|
@@ -1508,9 +1880,10 @@ export declare const SitemapStreamEventSchema: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
1508
1880
|
userEdited: z.ZodBoolean;
|
|
1509
1881
|
lastEditedAt: z.ZodString;
|
|
1510
1882
|
lastEditedBy: z.ZodEnum<{
|
|
1511
|
-
user: "user";
|
|
1512
1883
|
ai: "ai";
|
|
1884
|
+
user: "user";
|
|
1513
1885
|
}>;
|
|
1886
|
+
userInstruction: z.ZodOptional<z.ZodString>;
|
|
1514
1887
|
}, z.core.$strip>>;
|
|
1515
1888
|
}, z.core.$strict>>;
|
|
1516
1889
|
layout: z.ZodOptional<z.ZodEnum<{
|
|
@@ -1568,6 +1941,51 @@ export declare const SitemapStreamEventSchema: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
1568
1941
|
moderate: "moderate";
|
|
1569
1942
|
expressive: "expressive";
|
|
1570
1943
|
}>>;
|
|
1944
|
+
userVisualHints: z.ZodOptional<z.ZodObject<{
|
|
1945
|
+
heading: z.ZodOptional<z.ZodString>;
|
|
1946
|
+
body: z.ZodOptional<z.ZodString>;
|
|
1947
|
+
paletteIntent: z.ZodOptional<z.ZodString>;
|
|
1948
|
+
surfaceMode: z.ZodOptional<z.ZodEnum<{
|
|
1949
|
+
light: "light";
|
|
1950
|
+
dark: "dark";
|
|
1951
|
+
}>>;
|
|
1952
|
+
radius: z.ZodOptional<z.ZodEnum<{
|
|
1953
|
+
sm: "sm";
|
|
1954
|
+
md: "md";
|
|
1955
|
+
lg: "lg";
|
|
1956
|
+
xl: "xl";
|
|
1957
|
+
none: "none";
|
|
1958
|
+
}>>;
|
|
1959
|
+
density: z.ZodOptional<z.ZodEnum<{
|
|
1960
|
+
compact: "compact";
|
|
1961
|
+
comfortable: "comfortable";
|
|
1962
|
+
editorial: "editorial";
|
|
1963
|
+
}>>;
|
|
1964
|
+
colorSeeds: z.ZodOptional<z.ZodObject<{
|
|
1965
|
+
primary: z.ZodString;
|
|
1966
|
+
accent: z.ZodString;
|
|
1967
|
+
neutral: z.ZodString;
|
|
1968
|
+
supporting: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1969
|
+
}, z.core.$strip>>;
|
|
1970
|
+
}, z.core.$strip>>;
|
|
1971
|
+
}, z.core.$strip>>;
|
|
1972
|
+
userChoices: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1973
|
+
question: z.ZodString;
|
|
1974
|
+
answer: z.ZodString;
|
|
1975
|
+
}, z.core.$strip>>>;
|
|
1976
|
+
confirmedChoices: z.ZodOptional<z.ZodObject<{
|
|
1977
|
+
conversion: z.ZodOptional<z.ZodObject<{
|
|
1978
|
+
protocol: z.ZodEnum<{
|
|
1979
|
+
external: "external";
|
|
1980
|
+
route: "route";
|
|
1981
|
+
phone: "phone";
|
|
1982
|
+
form: "form";
|
|
1983
|
+
download: "download";
|
|
1984
|
+
}>;
|
|
1985
|
+
ctaLabel: z.ZodString;
|
|
1986
|
+
ctaTarget: z.ZodOptional<z.ZodString>;
|
|
1987
|
+
requiresOwnerDetail: z.ZodOptional<z.ZodBoolean>;
|
|
1988
|
+
}, z.core.$strip>>;
|
|
1571
1989
|
}, z.core.$strip>>;
|
|
1572
1990
|
}, z.core.$strict>;
|
|
1573
1991
|
at: z.ZodString;
|
|
@@ -1601,9 +2019,10 @@ export declare const SitemapRecordSchema: z.ZodObject<{
|
|
|
1601
2019
|
userEdited: z.ZodBoolean;
|
|
1602
2020
|
lastEditedAt: z.ZodString;
|
|
1603
2021
|
lastEditedBy: z.ZodEnum<{
|
|
1604
|
-
user: "user";
|
|
1605
2022
|
ai: "ai";
|
|
2023
|
+
user: "user";
|
|
1606
2024
|
}>;
|
|
2025
|
+
userInstruction: z.ZodOptional<z.ZodString>;
|
|
1607
2026
|
}, z.core.$strip>>;
|
|
1608
2027
|
}, z.core.$strict>>;
|
|
1609
2028
|
layout: z.ZodOptional<z.ZodEnum<{
|
|
@@ -1661,6 +2080,51 @@ export declare const SitemapRecordSchema: z.ZodObject<{
|
|
|
1661
2080
|
moderate: "moderate";
|
|
1662
2081
|
expressive: "expressive";
|
|
1663
2082
|
}>>;
|
|
2083
|
+
userVisualHints: z.ZodOptional<z.ZodObject<{
|
|
2084
|
+
heading: z.ZodOptional<z.ZodString>;
|
|
2085
|
+
body: z.ZodOptional<z.ZodString>;
|
|
2086
|
+
paletteIntent: z.ZodOptional<z.ZodString>;
|
|
2087
|
+
surfaceMode: z.ZodOptional<z.ZodEnum<{
|
|
2088
|
+
light: "light";
|
|
2089
|
+
dark: "dark";
|
|
2090
|
+
}>>;
|
|
2091
|
+
radius: z.ZodOptional<z.ZodEnum<{
|
|
2092
|
+
sm: "sm";
|
|
2093
|
+
md: "md";
|
|
2094
|
+
lg: "lg";
|
|
2095
|
+
xl: "xl";
|
|
2096
|
+
none: "none";
|
|
2097
|
+
}>>;
|
|
2098
|
+
density: z.ZodOptional<z.ZodEnum<{
|
|
2099
|
+
compact: "compact";
|
|
2100
|
+
comfortable: "comfortable";
|
|
2101
|
+
editorial: "editorial";
|
|
2102
|
+
}>>;
|
|
2103
|
+
colorSeeds: z.ZodOptional<z.ZodObject<{
|
|
2104
|
+
primary: z.ZodString;
|
|
2105
|
+
accent: z.ZodString;
|
|
2106
|
+
neutral: z.ZodString;
|
|
2107
|
+
supporting: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2108
|
+
}, z.core.$strip>>;
|
|
2109
|
+
}, z.core.$strip>>;
|
|
2110
|
+
}, z.core.$strip>>;
|
|
2111
|
+
userChoices: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2112
|
+
question: z.ZodString;
|
|
2113
|
+
answer: z.ZodString;
|
|
2114
|
+
}, z.core.$strip>>>;
|
|
2115
|
+
confirmedChoices: z.ZodOptional<z.ZodObject<{
|
|
2116
|
+
conversion: z.ZodOptional<z.ZodObject<{
|
|
2117
|
+
protocol: z.ZodEnum<{
|
|
2118
|
+
external: "external";
|
|
2119
|
+
route: "route";
|
|
2120
|
+
phone: "phone";
|
|
2121
|
+
form: "form";
|
|
2122
|
+
download: "download";
|
|
2123
|
+
}>;
|
|
2124
|
+
ctaLabel: z.ZodString;
|
|
2125
|
+
ctaTarget: z.ZodOptional<z.ZodString>;
|
|
2126
|
+
requiresOwnerDetail: z.ZodOptional<z.ZodBoolean>;
|
|
2127
|
+
}, z.core.$strip>>;
|
|
1664
2128
|
}, z.core.$strip>>;
|
|
1665
2129
|
}, z.core.$strict>;
|
|
1666
2130
|
source_agent_run_id: z.ZodNullable<z.ZodString>;
|
|
@@ -1688,9 +2152,10 @@ export declare const PersistSiteSitemapRequestSchema: z.ZodObject<{
|
|
|
1688
2152
|
userEdited: z.ZodBoolean;
|
|
1689
2153
|
lastEditedAt: z.ZodString;
|
|
1690
2154
|
lastEditedBy: z.ZodEnum<{
|
|
1691
|
-
user: "user";
|
|
1692
2155
|
ai: "ai";
|
|
2156
|
+
user: "user";
|
|
1693
2157
|
}>;
|
|
2158
|
+
userInstruction: z.ZodOptional<z.ZodString>;
|
|
1694
2159
|
}, z.core.$strip>>;
|
|
1695
2160
|
}, z.core.$strict>>;
|
|
1696
2161
|
layout: z.ZodOptional<z.ZodEnum<{
|
|
@@ -1748,8 +2213,53 @@ export declare const PersistSiteSitemapRequestSchema: z.ZodObject<{
|
|
|
1748
2213
|
moderate: "moderate";
|
|
1749
2214
|
expressive: "expressive";
|
|
1750
2215
|
}>>;
|
|
1751
|
-
|
|
1752
|
-
|
|
2216
|
+
userVisualHints: z.ZodOptional<z.ZodObject<{
|
|
2217
|
+
heading: z.ZodOptional<z.ZodString>;
|
|
2218
|
+
body: z.ZodOptional<z.ZodString>;
|
|
2219
|
+
paletteIntent: z.ZodOptional<z.ZodString>;
|
|
2220
|
+
surfaceMode: z.ZodOptional<z.ZodEnum<{
|
|
2221
|
+
light: "light";
|
|
2222
|
+
dark: "dark";
|
|
2223
|
+
}>>;
|
|
2224
|
+
radius: z.ZodOptional<z.ZodEnum<{
|
|
2225
|
+
sm: "sm";
|
|
2226
|
+
md: "md";
|
|
2227
|
+
lg: "lg";
|
|
2228
|
+
xl: "xl";
|
|
2229
|
+
none: "none";
|
|
2230
|
+
}>>;
|
|
2231
|
+
density: z.ZodOptional<z.ZodEnum<{
|
|
2232
|
+
compact: "compact";
|
|
2233
|
+
comfortable: "comfortable";
|
|
2234
|
+
editorial: "editorial";
|
|
2235
|
+
}>>;
|
|
2236
|
+
colorSeeds: z.ZodOptional<z.ZodObject<{
|
|
2237
|
+
primary: z.ZodString;
|
|
2238
|
+
accent: z.ZodString;
|
|
2239
|
+
neutral: z.ZodString;
|
|
2240
|
+
supporting: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2241
|
+
}, z.core.$strip>>;
|
|
2242
|
+
}, z.core.$strip>>;
|
|
2243
|
+
}, z.core.$strip>>;
|
|
2244
|
+
userChoices: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2245
|
+
question: z.ZodString;
|
|
2246
|
+
answer: z.ZodString;
|
|
2247
|
+
}, z.core.$strip>>>;
|
|
2248
|
+
confirmedChoices: z.ZodOptional<z.ZodObject<{
|
|
2249
|
+
conversion: z.ZodOptional<z.ZodObject<{
|
|
2250
|
+
protocol: z.ZodEnum<{
|
|
2251
|
+
external: "external";
|
|
2252
|
+
route: "route";
|
|
2253
|
+
phone: "phone";
|
|
2254
|
+
form: "form";
|
|
2255
|
+
download: "download";
|
|
2256
|
+
}>;
|
|
2257
|
+
ctaLabel: z.ZodString;
|
|
2258
|
+
ctaTarget: z.ZodOptional<z.ZodString>;
|
|
2259
|
+
requiresOwnerDetail: z.ZodOptional<z.ZodBoolean>;
|
|
2260
|
+
}, z.core.$strip>>;
|
|
2261
|
+
}, z.core.$strip>>;
|
|
2262
|
+
}, z.core.$strict>;
|
|
1753
2263
|
source_agent_run_id: z.ZodOptional<z.ZodString>;
|
|
1754
2264
|
}, z.core.$strip>;
|
|
1755
2265
|
export type PersistSiteSitemapRequest = z.infer<typeof PersistSiteSitemapRequestSchema>;
|
|
@@ -1806,9 +2316,10 @@ export declare const PersistSiteSitemapResponseSchema: z.ZodObject<{
|
|
|
1806
2316
|
userEdited: z.ZodBoolean;
|
|
1807
2317
|
lastEditedAt: z.ZodString;
|
|
1808
2318
|
lastEditedBy: z.ZodEnum<{
|
|
1809
|
-
user: "user";
|
|
1810
2319
|
ai: "ai";
|
|
2320
|
+
user: "user";
|
|
1811
2321
|
}>;
|
|
2322
|
+
userInstruction: z.ZodOptional<z.ZodString>;
|
|
1812
2323
|
}, z.core.$strip>>;
|
|
1813
2324
|
}, z.core.$strict>>;
|
|
1814
2325
|
layout: z.ZodOptional<z.ZodEnum<{
|
|
@@ -1866,6 +2377,51 @@ export declare const PersistSiteSitemapResponseSchema: z.ZodObject<{
|
|
|
1866
2377
|
moderate: "moderate";
|
|
1867
2378
|
expressive: "expressive";
|
|
1868
2379
|
}>>;
|
|
2380
|
+
userVisualHints: z.ZodOptional<z.ZodObject<{
|
|
2381
|
+
heading: z.ZodOptional<z.ZodString>;
|
|
2382
|
+
body: z.ZodOptional<z.ZodString>;
|
|
2383
|
+
paletteIntent: z.ZodOptional<z.ZodString>;
|
|
2384
|
+
surfaceMode: z.ZodOptional<z.ZodEnum<{
|
|
2385
|
+
light: "light";
|
|
2386
|
+
dark: "dark";
|
|
2387
|
+
}>>;
|
|
2388
|
+
radius: z.ZodOptional<z.ZodEnum<{
|
|
2389
|
+
sm: "sm";
|
|
2390
|
+
md: "md";
|
|
2391
|
+
lg: "lg";
|
|
2392
|
+
xl: "xl";
|
|
2393
|
+
none: "none";
|
|
2394
|
+
}>>;
|
|
2395
|
+
density: z.ZodOptional<z.ZodEnum<{
|
|
2396
|
+
compact: "compact";
|
|
2397
|
+
comfortable: "comfortable";
|
|
2398
|
+
editorial: "editorial";
|
|
2399
|
+
}>>;
|
|
2400
|
+
colorSeeds: z.ZodOptional<z.ZodObject<{
|
|
2401
|
+
primary: z.ZodString;
|
|
2402
|
+
accent: z.ZodString;
|
|
2403
|
+
neutral: z.ZodString;
|
|
2404
|
+
supporting: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2405
|
+
}, z.core.$strip>>;
|
|
2406
|
+
}, z.core.$strip>>;
|
|
2407
|
+
}, z.core.$strip>>;
|
|
2408
|
+
userChoices: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2409
|
+
question: z.ZodString;
|
|
2410
|
+
answer: z.ZodString;
|
|
2411
|
+
}, z.core.$strip>>>;
|
|
2412
|
+
confirmedChoices: z.ZodOptional<z.ZodObject<{
|
|
2413
|
+
conversion: z.ZodOptional<z.ZodObject<{
|
|
2414
|
+
protocol: z.ZodEnum<{
|
|
2415
|
+
external: "external";
|
|
2416
|
+
route: "route";
|
|
2417
|
+
phone: "phone";
|
|
2418
|
+
form: "form";
|
|
2419
|
+
download: "download";
|
|
2420
|
+
}>;
|
|
2421
|
+
ctaLabel: z.ZodString;
|
|
2422
|
+
ctaTarget: z.ZodOptional<z.ZodString>;
|
|
2423
|
+
requiresOwnerDetail: z.ZodOptional<z.ZodBoolean>;
|
|
2424
|
+
}, z.core.$strip>>;
|
|
1869
2425
|
}, z.core.$strip>>;
|
|
1870
2426
|
}, z.core.$strict>;
|
|
1871
2427
|
source_agent_run_id: z.ZodNullable<z.ZodString>;
|
|
@@ -1897,6 +2453,45 @@ export declare const ClarifySessionRecordSchema: z.ZodObject<{
|
|
|
1897
2453
|
desc: z.ZodOptional<z.ZodString>;
|
|
1898
2454
|
impact: z.ZodOptional<z.ZodString>;
|
|
1899
2455
|
isRecommended: z.ZodOptional<z.ZodBoolean>;
|
|
2456
|
+
visualHints: z.ZodOptional<z.ZodObject<{
|
|
2457
|
+
heading: z.ZodOptional<z.ZodString>;
|
|
2458
|
+
body: z.ZodOptional<z.ZodString>;
|
|
2459
|
+
paletteIntent: z.ZodOptional<z.ZodString>;
|
|
2460
|
+
surfaceMode: z.ZodOptional<z.ZodEnum<{
|
|
2461
|
+
light: "light";
|
|
2462
|
+
dark: "dark";
|
|
2463
|
+
}>>;
|
|
2464
|
+
radius: z.ZodOptional<z.ZodEnum<{
|
|
2465
|
+
sm: "sm";
|
|
2466
|
+
md: "md";
|
|
2467
|
+
lg: "lg";
|
|
2468
|
+
xl: "xl";
|
|
2469
|
+
none: "none";
|
|
2470
|
+
}>>;
|
|
2471
|
+
density: z.ZodOptional<z.ZodEnum<{
|
|
2472
|
+
compact: "compact";
|
|
2473
|
+
comfortable: "comfortable";
|
|
2474
|
+
editorial: "editorial";
|
|
2475
|
+
}>>;
|
|
2476
|
+
colorSeeds: z.ZodOptional<z.ZodObject<{
|
|
2477
|
+
primary: z.ZodString;
|
|
2478
|
+
accent: z.ZodString;
|
|
2479
|
+
neutral: z.ZodString;
|
|
2480
|
+
supporting: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2481
|
+
}, z.core.$strip>>;
|
|
2482
|
+
}, z.core.$strip>>;
|
|
2483
|
+
conversionHints: z.ZodOptional<z.ZodObject<{
|
|
2484
|
+
protocol: z.ZodEnum<{
|
|
2485
|
+
external: "external";
|
|
2486
|
+
route: "route";
|
|
2487
|
+
phone: "phone";
|
|
2488
|
+
form: "form";
|
|
2489
|
+
download: "download";
|
|
2490
|
+
}>;
|
|
2491
|
+
ctaLabel: z.ZodString;
|
|
2492
|
+
ctaTarget: z.ZodOptional<z.ZodString>;
|
|
2493
|
+
requiresOwnerDetail: z.ZodOptional<z.ZodBoolean>;
|
|
2494
|
+
}, z.core.$strip>>;
|
|
1900
2495
|
}, z.core.$strip>>;
|
|
1901
2496
|
source: z.ZodEnum<{
|
|
1902
2497
|
"ai-detected": "ai-detected";
|
|
@@ -1917,6 +2512,45 @@ export declare const ClarifySessionRecordSchema: z.ZodObject<{
|
|
|
1917
2512
|
moderate: "moderate";
|
|
1918
2513
|
expressive: "expressive";
|
|
1919
2514
|
}>>;
|
|
2515
|
+
visual_tonality: z.ZodOptional<z.ZodObject<{
|
|
2516
|
+
heading: z.ZodOptional<z.ZodString>;
|
|
2517
|
+
body: z.ZodOptional<z.ZodString>;
|
|
2518
|
+
paletteIntent: z.ZodOptional<z.ZodString>;
|
|
2519
|
+
surfaceMode: z.ZodOptional<z.ZodEnum<{
|
|
2520
|
+
light: "light";
|
|
2521
|
+
dark: "dark";
|
|
2522
|
+
}>>;
|
|
2523
|
+
radius: z.ZodOptional<z.ZodEnum<{
|
|
2524
|
+
sm: "sm";
|
|
2525
|
+
md: "md";
|
|
2526
|
+
lg: "lg";
|
|
2527
|
+
xl: "xl";
|
|
2528
|
+
none: "none";
|
|
2529
|
+
}>>;
|
|
2530
|
+
density: z.ZodOptional<z.ZodEnum<{
|
|
2531
|
+
compact: "compact";
|
|
2532
|
+
comfortable: "comfortable";
|
|
2533
|
+
editorial: "editorial";
|
|
2534
|
+
}>>;
|
|
2535
|
+
colorSeeds: z.ZodOptional<z.ZodObject<{
|
|
2536
|
+
primary: z.ZodString;
|
|
2537
|
+
accent: z.ZodString;
|
|
2538
|
+
neutral: z.ZodString;
|
|
2539
|
+
supporting: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2540
|
+
}, z.core.$strip>>;
|
|
2541
|
+
}, z.core.$strip>>;
|
|
2542
|
+
conversion: z.ZodOptional<z.ZodObject<{
|
|
2543
|
+
protocol: z.ZodEnum<{
|
|
2544
|
+
external: "external";
|
|
2545
|
+
route: "route";
|
|
2546
|
+
phone: "phone";
|
|
2547
|
+
form: "form";
|
|
2548
|
+
download: "download";
|
|
2549
|
+
}>;
|
|
2550
|
+
ctaLabel: z.ZodString;
|
|
2551
|
+
ctaTarget: z.ZodOptional<z.ZodString>;
|
|
2552
|
+
requiresOwnerDetail: z.ZodOptional<z.ZodBoolean>;
|
|
2553
|
+
}, z.core.$strip>>;
|
|
1920
2554
|
}, z.core.$strip>>;
|
|
1921
2555
|
selected_archetype: z.ZodOptional<z.ZodObject<{
|
|
1922
2556
|
id: z.ZodString;
|
|
@@ -1949,6 +2583,45 @@ export declare const PersistClarifyAnswersRequestSchema: z.ZodObject<{
|
|
|
1949
2583
|
moderate: "moderate";
|
|
1950
2584
|
expressive: "expressive";
|
|
1951
2585
|
}>>;
|
|
2586
|
+
visual_tonality: z.ZodOptional<z.ZodObject<{
|
|
2587
|
+
heading: z.ZodOptional<z.ZodString>;
|
|
2588
|
+
body: z.ZodOptional<z.ZodString>;
|
|
2589
|
+
paletteIntent: z.ZodOptional<z.ZodString>;
|
|
2590
|
+
surfaceMode: z.ZodOptional<z.ZodEnum<{
|
|
2591
|
+
light: "light";
|
|
2592
|
+
dark: "dark";
|
|
2593
|
+
}>>;
|
|
2594
|
+
radius: z.ZodOptional<z.ZodEnum<{
|
|
2595
|
+
sm: "sm";
|
|
2596
|
+
md: "md";
|
|
2597
|
+
lg: "lg";
|
|
2598
|
+
xl: "xl";
|
|
2599
|
+
none: "none";
|
|
2600
|
+
}>>;
|
|
2601
|
+
density: z.ZodOptional<z.ZodEnum<{
|
|
2602
|
+
compact: "compact";
|
|
2603
|
+
comfortable: "comfortable";
|
|
2604
|
+
editorial: "editorial";
|
|
2605
|
+
}>>;
|
|
2606
|
+
colorSeeds: z.ZodOptional<z.ZodObject<{
|
|
2607
|
+
primary: z.ZodString;
|
|
2608
|
+
accent: z.ZodString;
|
|
2609
|
+
neutral: z.ZodString;
|
|
2610
|
+
supporting: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2611
|
+
}, z.core.$strip>>;
|
|
2612
|
+
}, z.core.$strip>>;
|
|
2613
|
+
conversion: z.ZodOptional<z.ZodObject<{
|
|
2614
|
+
protocol: z.ZodEnum<{
|
|
2615
|
+
external: "external";
|
|
2616
|
+
route: "route";
|
|
2617
|
+
phone: "phone";
|
|
2618
|
+
form: "form";
|
|
2619
|
+
download: "download";
|
|
2620
|
+
}>;
|
|
2621
|
+
ctaLabel: z.ZodString;
|
|
2622
|
+
ctaTarget: z.ZodOptional<z.ZodString>;
|
|
2623
|
+
requiresOwnerDetail: z.ZodOptional<z.ZodBoolean>;
|
|
2624
|
+
}, z.core.$strip>>;
|
|
1952
2625
|
}, z.core.$strip>>;
|
|
1953
2626
|
questions: z.ZodObject<{
|
|
1954
2627
|
questions: z.ZodArray<z.ZodObject<{
|
|
@@ -1966,6 +2639,45 @@ export declare const PersistClarifyAnswersRequestSchema: z.ZodObject<{
|
|
|
1966
2639
|
desc: z.ZodOptional<z.ZodString>;
|
|
1967
2640
|
impact: z.ZodOptional<z.ZodString>;
|
|
1968
2641
|
isRecommended: z.ZodOptional<z.ZodBoolean>;
|
|
2642
|
+
visualHints: z.ZodOptional<z.ZodObject<{
|
|
2643
|
+
heading: z.ZodOptional<z.ZodString>;
|
|
2644
|
+
body: z.ZodOptional<z.ZodString>;
|
|
2645
|
+
paletteIntent: z.ZodOptional<z.ZodString>;
|
|
2646
|
+
surfaceMode: z.ZodOptional<z.ZodEnum<{
|
|
2647
|
+
light: "light";
|
|
2648
|
+
dark: "dark";
|
|
2649
|
+
}>>;
|
|
2650
|
+
radius: z.ZodOptional<z.ZodEnum<{
|
|
2651
|
+
sm: "sm";
|
|
2652
|
+
md: "md";
|
|
2653
|
+
lg: "lg";
|
|
2654
|
+
xl: "xl";
|
|
2655
|
+
none: "none";
|
|
2656
|
+
}>>;
|
|
2657
|
+
density: z.ZodOptional<z.ZodEnum<{
|
|
2658
|
+
compact: "compact";
|
|
2659
|
+
comfortable: "comfortable";
|
|
2660
|
+
editorial: "editorial";
|
|
2661
|
+
}>>;
|
|
2662
|
+
colorSeeds: z.ZodOptional<z.ZodObject<{
|
|
2663
|
+
primary: z.ZodString;
|
|
2664
|
+
accent: z.ZodString;
|
|
2665
|
+
neutral: z.ZodString;
|
|
2666
|
+
supporting: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2667
|
+
}, z.core.$strip>>;
|
|
2668
|
+
}, z.core.$strip>>;
|
|
2669
|
+
conversionHints: z.ZodOptional<z.ZodObject<{
|
|
2670
|
+
protocol: z.ZodEnum<{
|
|
2671
|
+
external: "external";
|
|
2672
|
+
route: "route";
|
|
2673
|
+
phone: "phone";
|
|
2674
|
+
form: "form";
|
|
2675
|
+
download: "download";
|
|
2676
|
+
}>;
|
|
2677
|
+
ctaLabel: z.ZodString;
|
|
2678
|
+
ctaTarget: z.ZodOptional<z.ZodString>;
|
|
2679
|
+
requiresOwnerDetail: z.ZodOptional<z.ZodBoolean>;
|
|
2680
|
+
}, z.core.$strip>>;
|
|
1969
2681
|
}, z.core.$strip>>;
|
|
1970
2682
|
source: z.ZodEnum<{
|
|
1971
2683
|
"ai-detected": "ai-detected";
|
|
@@ -2011,6 +2723,45 @@ export declare const PersistClarifyAnswersResponseSchema: z.ZodObject<{
|
|
|
2011
2723
|
desc: z.ZodOptional<z.ZodString>;
|
|
2012
2724
|
impact: z.ZodOptional<z.ZodString>;
|
|
2013
2725
|
isRecommended: z.ZodOptional<z.ZodBoolean>;
|
|
2726
|
+
visualHints: z.ZodOptional<z.ZodObject<{
|
|
2727
|
+
heading: z.ZodOptional<z.ZodString>;
|
|
2728
|
+
body: z.ZodOptional<z.ZodString>;
|
|
2729
|
+
paletteIntent: z.ZodOptional<z.ZodString>;
|
|
2730
|
+
surfaceMode: z.ZodOptional<z.ZodEnum<{
|
|
2731
|
+
light: "light";
|
|
2732
|
+
dark: "dark";
|
|
2733
|
+
}>>;
|
|
2734
|
+
radius: z.ZodOptional<z.ZodEnum<{
|
|
2735
|
+
sm: "sm";
|
|
2736
|
+
md: "md";
|
|
2737
|
+
lg: "lg";
|
|
2738
|
+
xl: "xl";
|
|
2739
|
+
none: "none";
|
|
2740
|
+
}>>;
|
|
2741
|
+
density: z.ZodOptional<z.ZodEnum<{
|
|
2742
|
+
compact: "compact";
|
|
2743
|
+
comfortable: "comfortable";
|
|
2744
|
+
editorial: "editorial";
|
|
2745
|
+
}>>;
|
|
2746
|
+
colorSeeds: z.ZodOptional<z.ZodObject<{
|
|
2747
|
+
primary: z.ZodString;
|
|
2748
|
+
accent: z.ZodString;
|
|
2749
|
+
neutral: z.ZodString;
|
|
2750
|
+
supporting: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2751
|
+
}, z.core.$strip>>;
|
|
2752
|
+
}, z.core.$strip>>;
|
|
2753
|
+
conversionHints: z.ZodOptional<z.ZodObject<{
|
|
2754
|
+
protocol: z.ZodEnum<{
|
|
2755
|
+
external: "external";
|
|
2756
|
+
route: "route";
|
|
2757
|
+
phone: "phone";
|
|
2758
|
+
form: "form";
|
|
2759
|
+
download: "download";
|
|
2760
|
+
}>;
|
|
2761
|
+
ctaLabel: z.ZodString;
|
|
2762
|
+
ctaTarget: z.ZodOptional<z.ZodString>;
|
|
2763
|
+
requiresOwnerDetail: z.ZodOptional<z.ZodBoolean>;
|
|
2764
|
+
}, z.core.$strip>>;
|
|
2014
2765
|
}, z.core.$strip>>;
|
|
2015
2766
|
source: z.ZodEnum<{
|
|
2016
2767
|
"ai-detected": "ai-detected";
|
|
@@ -2031,6 +2782,45 @@ export declare const PersistClarifyAnswersResponseSchema: z.ZodObject<{
|
|
|
2031
2782
|
moderate: "moderate";
|
|
2032
2783
|
expressive: "expressive";
|
|
2033
2784
|
}>>;
|
|
2785
|
+
visual_tonality: z.ZodOptional<z.ZodObject<{
|
|
2786
|
+
heading: z.ZodOptional<z.ZodString>;
|
|
2787
|
+
body: z.ZodOptional<z.ZodString>;
|
|
2788
|
+
paletteIntent: z.ZodOptional<z.ZodString>;
|
|
2789
|
+
surfaceMode: z.ZodOptional<z.ZodEnum<{
|
|
2790
|
+
light: "light";
|
|
2791
|
+
dark: "dark";
|
|
2792
|
+
}>>;
|
|
2793
|
+
radius: z.ZodOptional<z.ZodEnum<{
|
|
2794
|
+
sm: "sm";
|
|
2795
|
+
md: "md";
|
|
2796
|
+
lg: "lg";
|
|
2797
|
+
xl: "xl";
|
|
2798
|
+
none: "none";
|
|
2799
|
+
}>>;
|
|
2800
|
+
density: z.ZodOptional<z.ZodEnum<{
|
|
2801
|
+
compact: "compact";
|
|
2802
|
+
comfortable: "comfortable";
|
|
2803
|
+
editorial: "editorial";
|
|
2804
|
+
}>>;
|
|
2805
|
+
colorSeeds: z.ZodOptional<z.ZodObject<{
|
|
2806
|
+
primary: z.ZodString;
|
|
2807
|
+
accent: z.ZodString;
|
|
2808
|
+
neutral: z.ZodString;
|
|
2809
|
+
supporting: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2810
|
+
}, z.core.$strip>>;
|
|
2811
|
+
}, z.core.$strip>>;
|
|
2812
|
+
conversion: z.ZodOptional<z.ZodObject<{
|
|
2813
|
+
protocol: z.ZodEnum<{
|
|
2814
|
+
external: "external";
|
|
2815
|
+
route: "route";
|
|
2816
|
+
phone: "phone";
|
|
2817
|
+
form: "form";
|
|
2818
|
+
download: "download";
|
|
2819
|
+
}>;
|
|
2820
|
+
ctaLabel: z.ZodString;
|
|
2821
|
+
ctaTarget: z.ZodOptional<z.ZodString>;
|
|
2822
|
+
requiresOwnerDetail: z.ZodOptional<z.ZodBoolean>;
|
|
2823
|
+
}, z.core.$strip>>;
|
|
2034
2824
|
}, z.core.$strip>>;
|
|
2035
2825
|
selected_archetype: z.ZodOptional<z.ZodObject<{
|
|
2036
2826
|
id: z.ZodString;
|
|
@@ -2401,10 +3191,10 @@ export declare const WorkspaceWorkerStatusSchema: z.ZodEnum<{
|
|
|
2401
3191
|
}>;
|
|
2402
3192
|
export type WorkspaceWorkerStatus = z.infer<typeof WorkspaceWorkerStatusSchema>;
|
|
2403
3193
|
export declare const WorkspaceWorkerPhaseSchema: z.ZodEnum<{
|
|
2404
|
-
repair: "repair";
|
|
2405
|
-
preview: "preview";
|
|
2406
3194
|
layout: "layout";
|
|
2407
3195
|
pages: "pages";
|
|
3196
|
+
repair: "repair";
|
|
3197
|
+
preview: "preview";
|
|
2408
3198
|
style_media: "style_media";
|
|
2409
3199
|
chrome: "chrome";
|
|
2410
3200
|
sections: "sections";
|
|
@@ -2432,10 +3222,10 @@ export type WorkspaceExecutionDiagnostics = z.infer<typeof WorkspaceExecutionDia
|
|
|
2432
3222
|
export declare const WorkspaceWorkerGroupSchema: z.ZodObject<{
|
|
2433
3223
|
group_id: z.ZodString;
|
|
2434
3224
|
phase: z.ZodEnum<{
|
|
2435
|
-
repair: "repair";
|
|
2436
|
-
preview: "preview";
|
|
2437
3225
|
layout: "layout";
|
|
2438
3226
|
pages: "pages";
|
|
3227
|
+
repair: "repair";
|
|
3228
|
+
preview: "preview";
|
|
2439
3229
|
style_media: "style_media";
|
|
2440
3230
|
chrome: "chrome";
|
|
2441
3231
|
sections: "sections";
|
|
@@ -2458,8 +3248,8 @@ export declare const WorkspaceWorkerGroupSchema: z.ZodObject<{
|
|
|
2458
3248
|
}, z.core.$strip>;
|
|
2459
3249
|
export type WorkspaceWorkerGroup = z.infer<typeof WorkspaceWorkerGroupSchema>;
|
|
2460
3250
|
export declare const WorkspacePlanTaskKindSchema: z.ZodEnum<{
|
|
2461
|
-
section: "section";
|
|
2462
3251
|
layout: "layout";
|
|
3252
|
+
section: "section";
|
|
2463
3253
|
chrome: "chrome";
|
|
2464
3254
|
style: "style";
|
|
2465
3255
|
media: "media";
|
|
@@ -2470,8 +3260,8 @@ export declare const WorkspacePlanTaskSchema: z.ZodObject<{
|
|
|
2470
3260
|
task_id: z.ZodString;
|
|
2471
3261
|
group_id: z.ZodString;
|
|
2472
3262
|
kind: z.ZodEnum<{
|
|
2473
|
-
section: "section";
|
|
2474
3263
|
layout: "layout";
|
|
3264
|
+
section: "section";
|
|
2475
3265
|
chrome: "chrome";
|
|
2476
3266
|
style: "style";
|
|
2477
3267
|
media: "media";
|
|
@@ -2482,6 +3272,7 @@ export declare const WorkspacePlanTaskSchema: z.ZodObject<{
|
|
|
2482
3272
|
block_type: z.ZodOptional<z.ZodString>;
|
|
2483
3273
|
block_variant: z.ZodOptional<z.ZodString>;
|
|
2484
3274
|
block_order: z.ZodOptional<z.ZodNumber>;
|
|
3275
|
+
user_instruction: z.ZodOptional<z.ZodString>;
|
|
2485
3276
|
page_id: z.ZodOptional<z.ZodString>;
|
|
2486
3277
|
page_slug: z.ZodOptional<z.ZodString>;
|
|
2487
3278
|
page_title: z.ZodOptional<z.ZodString>;
|
|
@@ -2524,10 +3315,10 @@ export declare const WorkspaceExecutionPlanSchema: z.ZodObject<{
|
|
|
2524
3315
|
groups: z.ZodArray<z.ZodObject<{
|
|
2525
3316
|
group_id: z.ZodString;
|
|
2526
3317
|
phase: z.ZodEnum<{
|
|
2527
|
-
repair: "repair";
|
|
2528
|
-
preview: "preview";
|
|
2529
3318
|
layout: "layout";
|
|
2530
3319
|
pages: "pages";
|
|
3320
|
+
repair: "repair";
|
|
3321
|
+
preview: "preview";
|
|
2531
3322
|
style_media: "style_media";
|
|
2532
3323
|
chrome: "chrome";
|
|
2533
3324
|
sections: "sections";
|
|
@@ -2552,8 +3343,8 @@ export declare const WorkspaceExecutionPlanSchema: z.ZodObject<{
|
|
|
2552
3343
|
task_id: z.ZodString;
|
|
2553
3344
|
group_id: z.ZodString;
|
|
2554
3345
|
kind: z.ZodEnum<{
|
|
2555
|
-
section: "section";
|
|
2556
3346
|
layout: "layout";
|
|
3347
|
+
section: "section";
|
|
2557
3348
|
chrome: "chrome";
|
|
2558
3349
|
style: "style";
|
|
2559
3350
|
media: "media";
|
|
@@ -2564,6 +3355,7 @@ export declare const WorkspaceExecutionPlanSchema: z.ZodObject<{
|
|
|
2564
3355
|
block_type: z.ZodOptional<z.ZodString>;
|
|
2565
3356
|
block_variant: z.ZodOptional<z.ZodString>;
|
|
2566
3357
|
block_order: z.ZodOptional<z.ZodNumber>;
|
|
3358
|
+
user_instruction: z.ZodOptional<z.ZodString>;
|
|
2567
3359
|
page_id: z.ZodOptional<z.ZodString>;
|
|
2568
3360
|
page_slug: z.ZodOptional<z.ZodString>;
|
|
2569
3361
|
page_title: z.ZodOptional<z.ZodString>;
|
|
@@ -2892,9 +3684,10 @@ export declare const AgentEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
2892
3684
|
userEdited: z.ZodBoolean;
|
|
2893
3685
|
lastEditedAt: z.ZodString;
|
|
2894
3686
|
lastEditedBy: z.ZodEnum<{
|
|
2895
|
-
user: "user";
|
|
2896
3687
|
ai: "ai";
|
|
3688
|
+
user: "user";
|
|
2897
3689
|
}>;
|
|
3690
|
+
userInstruction: z.ZodOptional<z.ZodString>;
|
|
2898
3691
|
}, z.core.$strip>>;
|
|
2899
3692
|
}, z.core.$strict>>;
|
|
2900
3693
|
layout: z.ZodOptional<z.ZodEnum<{
|
|
@@ -2952,6 +3745,51 @@ export declare const AgentEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
2952
3745
|
moderate: "moderate";
|
|
2953
3746
|
expressive: "expressive";
|
|
2954
3747
|
}>>;
|
|
3748
|
+
userVisualHints: z.ZodOptional<z.ZodObject<{
|
|
3749
|
+
heading: z.ZodOptional<z.ZodString>;
|
|
3750
|
+
body: z.ZodOptional<z.ZodString>;
|
|
3751
|
+
paletteIntent: z.ZodOptional<z.ZodString>;
|
|
3752
|
+
surfaceMode: z.ZodOptional<z.ZodEnum<{
|
|
3753
|
+
light: "light";
|
|
3754
|
+
dark: "dark";
|
|
3755
|
+
}>>;
|
|
3756
|
+
radius: z.ZodOptional<z.ZodEnum<{
|
|
3757
|
+
sm: "sm";
|
|
3758
|
+
md: "md";
|
|
3759
|
+
lg: "lg";
|
|
3760
|
+
xl: "xl";
|
|
3761
|
+
none: "none";
|
|
3762
|
+
}>>;
|
|
3763
|
+
density: z.ZodOptional<z.ZodEnum<{
|
|
3764
|
+
compact: "compact";
|
|
3765
|
+
comfortable: "comfortable";
|
|
3766
|
+
editorial: "editorial";
|
|
3767
|
+
}>>;
|
|
3768
|
+
colorSeeds: z.ZodOptional<z.ZodObject<{
|
|
3769
|
+
primary: z.ZodString;
|
|
3770
|
+
accent: z.ZodString;
|
|
3771
|
+
neutral: z.ZodString;
|
|
3772
|
+
supporting: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3773
|
+
}, z.core.$strip>>;
|
|
3774
|
+
}, z.core.$strip>>;
|
|
3775
|
+
}, z.core.$strip>>;
|
|
3776
|
+
userChoices: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3777
|
+
question: z.ZodString;
|
|
3778
|
+
answer: z.ZodString;
|
|
3779
|
+
}, z.core.$strip>>>;
|
|
3780
|
+
confirmedChoices: z.ZodOptional<z.ZodObject<{
|
|
3781
|
+
conversion: z.ZodOptional<z.ZodObject<{
|
|
3782
|
+
protocol: z.ZodEnum<{
|
|
3783
|
+
external: "external";
|
|
3784
|
+
route: "route";
|
|
3785
|
+
phone: "phone";
|
|
3786
|
+
form: "form";
|
|
3787
|
+
download: "download";
|
|
3788
|
+
}>;
|
|
3789
|
+
ctaLabel: z.ZodString;
|
|
3790
|
+
ctaTarget: z.ZodOptional<z.ZodString>;
|
|
3791
|
+
requiresOwnerDetail: z.ZodOptional<z.ZodBoolean>;
|
|
3792
|
+
}, z.core.$strip>>;
|
|
2955
3793
|
}, z.core.$strip>>;
|
|
2956
3794
|
}, z.core.$strict>;
|
|
2957
3795
|
at: z.ZodString;
|
|
@@ -3000,10 +3838,10 @@ export declare const AgentEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
3000
3838
|
groups: z.ZodArray<z.ZodObject<{
|
|
3001
3839
|
group_id: z.ZodString;
|
|
3002
3840
|
phase: z.ZodEnum<{
|
|
3003
|
-
repair: "repair";
|
|
3004
|
-
preview: "preview";
|
|
3005
3841
|
layout: "layout";
|
|
3006
3842
|
pages: "pages";
|
|
3843
|
+
repair: "repair";
|
|
3844
|
+
preview: "preview";
|
|
3007
3845
|
style_media: "style_media";
|
|
3008
3846
|
chrome: "chrome";
|
|
3009
3847
|
sections: "sections";
|
|
@@ -3028,8 +3866,8 @@ export declare const AgentEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
3028
3866
|
task_id: z.ZodString;
|
|
3029
3867
|
group_id: z.ZodString;
|
|
3030
3868
|
kind: z.ZodEnum<{
|
|
3031
|
-
section: "section";
|
|
3032
3869
|
layout: "layout";
|
|
3870
|
+
section: "section";
|
|
3033
3871
|
chrome: "chrome";
|
|
3034
3872
|
style: "style";
|
|
3035
3873
|
media: "media";
|
|
@@ -3040,6 +3878,7 @@ export declare const AgentEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
3040
3878
|
block_type: z.ZodOptional<z.ZodString>;
|
|
3041
3879
|
block_variant: z.ZodOptional<z.ZodString>;
|
|
3042
3880
|
block_order: z.ZodOptional<z.ZodNumber>;
|
|
3881
|
+
user_instruction: z.ZodOptional<z.ZodString>;
|
|
3043
3882
|
page_id: z.ZodOptional<z.ZodString>;
|
|
3044
3883
|
page_slug: z.ZodOptional<z.ZodString>;
|
|
3045
3884
|
page_title: z.ZodOptional<z.ZodString>;
|
|
@@ -3085,10 +3924,10 @@ export declare const AgentEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
3085
3924
|
type: z.ZodLiteral<"workspace.worker.updated">;
|
|
3086
3925
|
group_id: z.ZodString;
|
|
3087
3926
|
phase: z.ZodEnum<{
|
|
3088
|
-
repair: "repair";
|
|
3089
|
-
preview: "preview";
|
|
3090
3927
|
layout: "layout";
|
|
3091
3928
|
pages: "pages";
|
|
3929
|
+
repair: "repair";
|
|
3930
|
+
preview: "preview";
|
|
3092
3931
|
style_media: "style_media";
|
|
3093
3932
|
chrome: "chrome";
|
|
3094
3933
|
sections: "sections";
|
|
@@ -3421,9 +4260,10 @@ export declare const AgentEventRecordSchema: z.ZodObject<{
|
|
|
3421
4260
|
userEdited: z.ZodBoolean;
|
|
3422
4261
|
lastEditedAt: z.ZodString;
|
|
3423
4262
|
lastEditedBy: z.ZodEnum<{
|
|
3424
|
-
user: "user";
|
|
3425
4263
|
ai: "ai";
|
|
4264
|
+
user: "user";
|
|
3426
4265
|
}>;
|
|
4266
|
+
userInstruction: z.ZodOptional<z.ZodString>;
|
|
3427
4267
|
}, z.core.$strip>>;
|
|
3428
4268
|
}, z.core.$strict>>;
|
|
3429
4269
|
layout: z.ZodOptional<z.ZodEnum<{
|
|
@@ -3481,6 +4321,51 @@ export declare const AgentEventRecordSchema: z.ZodObject<{
|
|
|
3481
4321
|
moderate: "moderate";
|
|
3482
4322
|
expressive: "expressive";
|
|
3483
4323
|
}>>;
|
|
4324
|
+
userVisualHints: z.ZodOptional<z.ZodObject<{
|
|
4325
|
+
heading: z.ZodOptional<z.ZodString>;
|
|
4326
|
+
body: z.ZodOptional<z.ZodString>;
|
|
4327
|
+
paletteIntent: z.ZodOptional<z.ZodString>;
|
|
4328
|
+
surfaceMode: z.ZodOptional<z.ZodEnum<{
|
|
4329
|
+
light: "light";
|
|
4330
|
+
dark: "dark";
|
|
4331
|
+
}>>;
|
|
4332
|
+
radius: z.ZodOptional<z.ZodEnum<{
|
|
4333
|
+
sm: "sm";
|
|
4334
|
+
md: "md";
|
|
4335
|
+
lg: "lg";
|
|
4336
|
+
xl: "xl";
|
|
4337
|
+
none: "none";
|
|
4338
|
+
}>>;
|
|
4339
|
+
density: z.ZodOptional<z.ZodEnum<{
|
|
4340
|
+
compact: "compact";
|
|
4341
|
+
comfortable: "comfortable";
|
|
4342
|
+
editorial: "editorial";
|
|
4343
|
+
}>>;
|
|
4344
|
+
colorSeeds: z.ZodOptional<z.ZodObject<{
|
|
4345
|
+
primary: z.ZodString;
|
|
4346
|
+
accent: z.ZodString;
|
|
4347
|
+
neutral: z.ZodString;
|
|
4348
|
+
supporting: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4349
|
+
}, z.core.$strip>>;
|
|
4350
|
+
}, z.core.$strip>>;
|
|
4351
|
+
}, z.core.$strip>>;
|
|
4352
|
+
userChoices: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4353
|
+
question: z.ZodString;
|
|
4354
|
+
answer: z.ZodString;
|
|
4355
|
+
}, z.core.$strip>>>;
|
|
4356
|
+
confirmedChoices: z.ZodOptional<z.ZodObject<{
|
|
4357
|
+
conversion: z.ZodOptional<z.ZodObject<{
|
|
4358
|
+
protocol: z.ZodEnum<{
|
|
4359
|
+
external: "external";
|
|
4360
|
+
route: "route";
|
|
4361
|
+
phone: "phone";
|
|
4362
|
+
form: "form";
|
|
4363
|
+
download: "download";
|
|
4364
|
+
}>;
|
|
4365
|
+
ctaLabel: z.ZodString;
|
|
4366
|
+
ctaTarget: z.ZodOptional<z.ZodString>;
|
|
4367
|
+
requiresOwnerDetail: z.ZodOptional<z.ZodBoolean>;
|
|
4368
|
+
}, z.core.$strip>>;
|
|
3484
4369
|
}, z.core.$strip>>;
|
|
3485
4370
|
}, z.core.$strict>;
|
|
3486
4371
|
at: z.ZodString;
|
|
@@ -3529,10 +4414,10 @@ export declare const AgentEventRecordSchema: z.ZodObject<{
|
|
|
3529
4414
|
groups: z.ZodArray<z.ZodObject<{
|
|
3530
4415
|
group_id: z.ZodString;
|
|
3531
4416
|
phase: z.ZodEnum<{
|
|
3532
|
-
repair: "repair";
|
|
3533
|
-
preview: "preview";
|
|
3534
4417
|
layout: "layout";
|
|
3535
4418
|
pages: "pages";
|
|
4419
|
+
repair: "repair";
|
|
4420
|
+
preview: "preview";
|
|
3536
4421
|
style_media: "style_media";
|
|
3537
4422
|
chrome: "chrome";
|
|
3538
4423
|
sections: "sections";
|
|
@@ -3557,8 +4442,8 @@ export declare const AgentEventRecordSchema: z.ZodObject<{
|
|
|
3557
4442
|
task_id: z.ZodString;
|
|
3558
4443
|
group_id: z.ZodString;
|
|
3559
4444
|
kind: z.ZodEnum<{
|
|
3560
|
-
section: "section";
|
|
3561
4445
|
layout: "layout";
|
|
4446
|
+
section: "section";
|
|
3562
4447
|
chrome: "chrome";
|
|
3563
4448
|
style: "style";
|
|
3564
4449
|
media: "media";
|
|
@@ -3569,6 +4454,7 @@ export declare const AgentEventRecordSchema: z.ZodObject<{
|
|
|
3569
4454
|
block_type: z.ZodOptional<z.ZodString>;
|
|
3570
4455
|
block_variant: z.ZodOptional<z.ZodString>;
|
|
3571
4456
|
block_order: z.ZodOptional<z.ZodNumber>;
|
|
4457
|
+
user_instruction: z.ZodOptional<z.ZodString>;
|
|
3572
4458
|
page_id: z.ZodOptional<z.ZodString>;
|
|
3573
4459
|
page_slug: z.ZodOptional<z.ZodString>;
|
|
3574
4460
|
page_title: z.ZodOptional<z.ZodString>;
|
|
@@ -3614,10 +4500,10 @@ export declare const AgentEventRecordSchema: z.ZodObject<{
|
|
|
3614
4500
|
type: z.ZodLiteral<"workspace.worker.updated">;
|
|
3615
4501
|
group_id: z.ZodString;
|
|
3616
4502
|
phase: z.ZodEnum<{
|
|
3617
|
-
repair: "repair";
|
|
3618
|
-
preview: "preview";
|
|
3619
4503
|
layout: "layout";
|
|
3620
4504
|
pages: "pages";
|
|
4505
|
+
repair: "repair";
|
|
4506
|
+
preview: "preview";
|
|
3621
4507
|
style_media: "style_media";
|
|
3622
4508
|
chrome: "chrome";
|
|
3623
4509
|
sections: "sections";
|
|
@@ -3947,9 +4833,10 @@ export declare const AppendAgentEventRequestSchema: z.ZodObject<{
|
|
|
3947
4833
|
userEdited: z.ZodBoolean;
|
|
3948
4834
|
lastEditedAt: z.ZodString;
|
|
3949
4835
|
lastEditedBy: z.ZodEnum<{
|
|
3950
|
-
user: "user";
|
|
3951
4836
|
ai: "ai";
|
|
4837
|
+
user: "user";
|
|
3952
4838
|
}>;
|
|
4839
|
+
userInstruction: z.ZodOptional<z.ZodString>;
|
|
3953
4840
|
}, z.core.$strip>>;
|
|
3954
4841
|
}, z.core.$strict>>;
|
|
3955
4842
|
layout: z.ZodOptional<z.ZodEnum<{
|
|
@@ -4007,6 +4894,51 @@ export declare const AppendAgentEventRequestSchema: z.ZodObject<{
|
|
|
4007
4894
|
moderate: "moderate";
|
|
4008
4895
|
expressive: "expressive";
|
|
4009
4896
|
}>>;
|
|
4897
|
+
userVisualHints: z.ZodOptional<z.ZodObject<{
|
|
4898
|
+
heading: z.ZodOptional<z.ZodString>;
|
|
4899
|
+
body: z.ZodOptional<z.ZodString>;
|
|
4900
|
+
paletteIntent: z.ZodOptional<z.ZodString>;
|
|
4901
|
+
surfaceMode: z.ZodOptional<z.ZodEnum<{
|
|
4902
|
+
light: "light";
|
|
4903
|
+
dark: "dark";
|
|
4904
|
+
}>>;
|
|
4905
|
+
radius: z.ZodOptional<z.ZodEnum<{
|
|
4906
|
+
sm: "sm";
|
|
4907
|
+
md: "md";
|
|
4908
|
+
lg: "lg";
|
|
4909
|
+
xl: "xl";
|
|
4910
|
+
none: "none";
|
|
4911
|
+
}>>;
|
|
4912
|
+
density: z.ZodOptional<z.ZodEnum<{
|
|
4913
|
+
compact: "compact";
|
|
4914
|
+
comfortable: "comfortable";
|
|
4915
|
+
editorial: "editorial";
|
|
4916
|
+
}>>;
|
|
4917
|
+
colorSeeds: z.ZodOptional<z.ZodObject<{
|
|
4918
|
+
primary: z.ZodString;
|
|
4919
|
+
accent: z.ZodString;
|
|
4920
|
+
neutral: z.ZodString;
|
|
4921
|
+
supporting: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4922
|
+
}, z.core.$strip>>;
|
|
4923
|
+
}, z.core.$strip>>;
|
|
4924
|
+
}, z.core.$strip>>;
|
|
4925
|
+
userChoices: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4926
|
+
question: z.ZodString;
|
|
4927
|
+
answer: z.ZodString;
|
|
4928
|
+
}, z.core.$strip>>>;
|
|
4929
|
+
confirmedChoices: z.ZodOptional<z.ZodObject<{
|
|
4930
|
+
conversion: z.ZodOptional<z.ZodObject<{
|
|
4931
|
+
protocol: z.ZodEnum<{
|
|
4932
|
+
external: "external";
|
|
4933
|
+
route: "route";
|
|
4934
|
+
phone: "phone";
|
|
4935
|
+
form: "form";
|
|
4936
|
+
download: "download";
|
|
4937
|
+
}>;
|
|
4938
|
+
ctaLabel: z.ZodString;
|
|
4939
|
+
ctaTarget: z.ZodOptional<z.ZodString>;
|
|
4940
|
+
requiresOwnerDetail: z.ZodOptional<z.ZodBoolean>;
|
|
4941
|
+
}, z.core.$strip>>;
|
|
4010
4942
|
}, z.core.$strip>>;
|
|
4011
4943
|
}, z.core.$strict>;
|
|
4012
4944
|
at: z.ZodString;
|
|
@@ -4055,10 +4987,10 @@ export declare const AppendAgentEventRequestSchema: z.ZodObject<{
|
|
|
4055
4987
|
groups: z.ZodArray<z.ZodObject<{
|
|
4056
4988
|
group_id: z.ZodString;
|
|
4057
4989
|
phase: z.ZodEnum<{
|
|
4058
|
-
repair: "repair";
|
|
4059
|
-
preview: "preview";
|
|
4060
4990
|
layout: "layout";
|
|
4061
4991
|
pages: "pages";
|
|
4992
|
+
repair: "repair";
|
|
4993
|
+
preview: "preview";
|
|
4062
4994
|
style_media: "style_media";
|
|
4063
4995
|
chrome: "chrome";
|
|
4064
4996
|
sections: "sections";
|
|
@@ -4083,8 +5015,8 @@ export declare const AppendAgentEventRequestSchema: z.ZodObject<{
|
|
|
4083
5015
|
task_id: z.ZodString;
|
|
4084
5016
|
group_id: z.ZodString;
|
|
4085
5017
|
kind: z.ZodEnum<{
|
|
4086
|
-
section: "section";
|
|
4087
5018
|
layout: "layout";
|
|
5019
|
+
section: "section";
|
|
4088
5020
|
chrome: "chrome";
|
|
4089
5021
|
style: "style";
|
|
4090
5022
|
media: "media";
|
|
@@ -4095,6 +5027,7 @@ export declare const AppendAgentEventRequestSchema: z.ZodObject<{
|
|
|
4095
5027
|
block_type: z.ZodOptional<z.ZodString>;
|
|
4096
5028
|
block_variant: z.ZodOptional<z.ZodString>;
|
|
4097
5029
|
block_order: z.ZodOptional<z.ZodNumber>;
|
|
5030
|
+
user_instruction: z.ZodOptional<z.ZodString>;
|
|
4098
5031
|
page_id: z.ZodOptional<z.ZodString>;
|
|
4099
5032
|
page_slug: z.ZodOptional<z.ZodString>;
|
|
4100
5033
|
page_title: z.ZodOptional<z.ZodString>;
|
|
@@ -4140,10 +5073,10 @@ export declare const AppendAgentEventRequestSchema: z.ZodObject<{
|
|
|
4140
5073
|
type: z.ZodLiteral<"workspace.worker.updated">;
|
|
4141
5074
|
group_id: z.ZodString;
|
|
4142
5075
|
phase: z.ZodEnum<{
|
|
4143
|
-
repair: "repair";
|
|
4144
|
-
preview: "preview";
|
|
4145
5076
|
layout: "layout";
|
|
4146
5077
|
pages: "pages";
|
|
5078
|
+
repair: "repair";
|
|
5079
|
+
preview: "preview";
|
|
4147
5080
|
style_media: "style_media";
|
|
4148
5081
|
chrome: "chrome";
|
|
4149
5082
|
sections: "sections";
|
|
@@ -4512,9 +5445,10 @@ export declare const AppendAgentEventResponseSchema: z.ZodDiscriminatedUnion<[z.
|
|
|
4512
5445
|
userEdited: z.ZodBoolean;
|
|
4513
5446
|
lastEditedAt: z.ZodString;
|
|
4514
5447
|
lastEditedBy: z.ZodEnum<{
|
|
4515
|
-
user: "user";
|
|
4516
5448
|
ai: "ai";
|
|
5449
|
+
user: "user";
|
|
4517
5450
|
}>;
|
|
5451
|
+
userInstruction: z.ZodOptional<z.ZodString>;
|
|
4518
5452
|
}, z.core.$strip>>;
|
|
4519
5453
|
}, z.core.$strict>>;
|
|
4520
5454
|
layout: z.ZodOptional<z.ZodEnum<{
|
|
@@ -4572,6 +5506,51 @@ export declare const AppendAgentEventResponseSchema: z.ZodDiscriminatedUnion<[z.
|
|
|
4572
5506
|
moderate: "moderate";
|
|
4573
5507
|
expressive: "expressive";
|
|
4574
5508
|
}>>;
|
|
5509
|
+
userVisualHints: z.ZodOptional<z.ZodObject<{
|
|
5510
|
+
heading: z.ZodOptional<z.ZodString>;
|
|
5511
|
+
body: z.ZodOptional<z.ZodString>;
|
|
5512
|
+
paletteIntent: z.ZodOptional<z.ZodString>;
|
|
5513
|
+
surfaceMode: z.ZodOptional<z.ZodEnum<{
|
|
5514
|
+
light: "light";
|
|
5515
|
+
dark: "dark";
|
|
5516
|
+
}>>;
|
|
5517
|
+
radius: z.ZodOptional<z.ZodEnum<{
|
|
5518
|
+
sm: "sm";
|
|
5519
|
+
md: "md";
|
|
5520
|
+
lg: "lg";
|
|
5521
|
+
xl: "xl";
|
|
5522
|
+
none: "none";
|
|
5523
|
+
}>>;
|
|
5524
|
+
density: z.ZodOptional<z.ZodEnum<{
|
|
5525
|
+
compact: "compact";
|
|
5526
|
+
comfortable: "comfortable";
|
|
5527
|
+
editorial: "editorial";
|
|
5528
|
+
}>>;
|
|
5529
|
+
colorSeeds: z.ZodOptional<z.ZodObject<{
|
|
5530
|
+
primary: z.ZodString;
|
|
5531
|
+
accent: z.ZodString;
|
|
5532
|
+
neutral: z.ZodString;
|
|
5533
|
+
supporting: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
5534
|
+
}, z.core.$strip>>;
|
|
5535
|
+
}, z.core.$strip>>;
|
|
5536
|
+
}, z.core.$strip>>;
|
|
5537
|
+
userChoices: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5538
|
+
question: z.ZodString;
|
|
5539
|
+
answer: z.ZodString;
|
|
5540
|
+
}, z.core.$strip>>>;
|
|
5541
|
+
confirmedChoices: z.ZodOptional<z.ZodObject<{
|
|
5542
|
+
conversion: z.ZodOptional<z.ZodObject<{
|
|
5543
|
+
protocol: z.ZodEnum<{
|
|
5544
|
+
external: "external";
|
|
5545
|
+
route: "route";
|
|
5546
|
+
phone: "phone";
|
|
5547
|
+
form: "form";
|
|
5548
|
+
download: "download";
|
|
5549
|
+
}>;
|
|
5550
|
+
ctaLabel: z.ZodString;
|
|
5551
|
+
ctaTarget: z.ZodOptional<z.ZodString>;
|
|
5552
|
+
requiresOwnerDetail: z.ZodOptional<z.ZodBoolean>;
|
|
5553
|
+
}, z.core.$strip>>;
|
|
4575
5554
|
}, z.core.$strip>>;
|
|
4576
5555
|
}, z.core.$strict>;
|
|
4577
5556
|
at: z.ZodString;
|
|
@@ -4620,10 +5599,10 @@ export declare const AppendAgentEventResponseSchema: z.ZodDiscriminatedUnion<[z.
|
|
|
4620
5599
|
groups: z.ZodArray<z.ZodObject<{
|
|
4621
5600
|
group_id: z.ZodString;
|
|
4622
5601
|
phase: z.ZodEnum<{
|
|
4623
|
-
repair: "repair";
|
|
4624
|
-
preview: "preview";
|
|
4625
5602
|
layout: "layout";
|
|
4626
5603
|
pages: "pages";
|
|
5604
|
+
repair: "repair";
|
|
5605
|
+
preview: "preview";
|
|
4627
5606
|
style_media: "style_media";
|
|
4628
5607
|
chrome: "chrome";
|
|
4629
5608
|
sections: "sections";
|
|
@@ -4648,8 +5627,8 @@ export declare const AppendAgentEventResponseSchema: z.ZodDiscriminatedUnion<[z.
|
|
|
4648
5627
|
task_id: z.ZodString;
|
|
4649
5628
|
group_id: z.ZodString;
|
|
4650
5629
|
kind: z.ZodEnum<{
|
|
4651
|
-
section: "section";
|
|
4652
5630
|
layout: "layout";
|
|
5631
|
+
section: "section";
|
|
4653
5632
|
chrome: "chrome";
|
|
4654
5633
|
style: "style";
|
|
4655
5634
|
media: "media";
|
|
@@ -4660,6 +5639,7 @@ export declare const AppendAgentEventResponseSchema: z.ZodDiscriminatedUnion<[z.
|
|
|
4660
5639
|
block_type: z.ZodOptional<z.ZodString>;
|
|
4661
5640
|
block_variant: z.ZodOptional<z.ZodString>;
|
|
4662
5641
|
block_order: z.ZodOptional<z.ZodNumber>;
|
|
5642
|
+
user_instruction: z.ZodOptional<z.ZodString>;
|
|
4663
5643
|
page_id: z.ZodOptional<z.ZodString>;
|
|
4664
5644
|
page_slug: z.ZodOptional<z.ZodString>;
|
|
4665
5645
|
page_title: z.ZodOptional<z.ZodString>;
|
|
@@ -4705,10 +5685,10 @@ export declare const AppendAgentEventResponseSchema: z.ZodDiscriminatedUnion<[z.
|
|
|
4705
5685
|
type: z.ZodLiteral<"workspace.worker.updated">;
|
|
4706
5686
|
group_id: z.ZodString;
|
|
4707
5687
|
phase: z.ZodEnum<{
|
|
4708
|
-
repair: "repair";
|
|
4709
|
-
preview: "preview";
|
|
4710
5688
|
layout: "layout";
|
|
4711
5689
|
pages: "pages";
|
|
5690
|
+
repair: "repair";
|
|
5691
|
+
preview: "preview";
|
|
4712
5692
|
style_media: "style_media";
|
|
4713
5693
|
chrome: "chrome";
|
|
4714
5694
|
sections: "sections";
|
|
@@ -5078,9 +6058,10 @@ export declare const AppendAgentEventResponseSchema: z.ZodDiscriminatedUnion<[z.
|
|
|
5078
6058
|
userEdited: z.ZodBoolean;
|
|
5079
6059
|
lastEditedAt: z.ZodString;
|
|
5080
6060
|
lastEditedBy: z.ZodEnum<{
|
|
5081
|
-
user: "user";
|
|
5082
6061
|
ai: "ai";
|
|
6062
|
+
user: "user";
|
|
5083
6063
|
}>;
|
|
6064
|
+
userInstruction: z.ZodOptional<z.ZodString>;
|
|
5084
6065
|
}, z.core.$strip>>;
|
|
5085
6066
|
}, z.core.$strict>>;
|
|
5086
6067
|
layout: z.ZodOptional<z.ZodEnum<{
|
|
@@ -5138,6 +6119,51 @@ export declare const AppendAgentEventResponseSchema: z.ZodDiscriminatedUnion<[z.
|
|
|
5138
6119
|
moderate: "moderate";
|
|
5139
6120
|
expressive: "expressive";
|
|
5140
6121
|
}>>;
|
|
6122
|
+
userVisualHints: z.ZodOptional<z.ZodObject<{
|
|
6123
|
+
heading: z.ZodOptional<z.ZodString>;
|
|
6124
|
+
body: z.ZodOptional<z.ZodString>;
|
|
6125
|
+
paletteIntent: z.ZodOptional<z.ZodString>;
|
|
6126
|
+
surfaceMode: z.ZodOptional<z.ZodEnum<{
|
|
6127
|
+
light: "light";
|
|
6128
|
+
dark: "dark";
|
|
6129
|
+
}>>;
|
|
6130
|
+
radius: z.ZodOptional<z.ZodEnum<{
|
|
6131
|
+
sm: "sm";
|
|
6132
|
+
md: "md";
|
|
6133
|
+
lg: "lg";
|
|
6134
|
+
xl: "xl";
|
|
6135
|
+
none: "none";
|
|
6136
|
+
}>>;
|
|
6137
|
+
density: z.ZodOptional<z.ZodEnum<{
|
|
6138
|
+
compact: "compact";
|
|
6139
|
+
comfortable: "comfortable";
|
|
6140
|
+
editorial: "editorial";
|
|
6141
|
+
}>>;
|
|
6142
|
+
colorSeeds: z.ZodOptional<z.ZodObject<{
|
|
6143
|
+
primary: z.ZodString;
|
|
6144
|
+
accent: z.ZodString;
|
|
6145
|
+
neutral: z.ZodString;
|
|
6146
|
+
supporting: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
6147
|
+
}, z.core.$strip>>;
|
|
6148
|
+
}, z.core.$strip>>;
|
|
6149
|
+
}, z.core.$strip>>;
|
|
6150
|
+
userChoices: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
6151
|
+
question: z.ZodString;
|
|
6152
|
+
answer: z.ZodString;
|
|
6153
|
+
}, z.core.$strip>>>;
|
|
6154
|
+
confirmedChoices: z.ZodOptional<z.ZodObject<{
|
|
6155
|
+
conversion: z.ZodOptional<z.ZodObject<{
|
|
6156
|
+
protocol: z.ZodEnum<{
|
|
6157
|
+
external: "external";
|
|
6158
|
+
route: "route";
|
|
6159
|
+
phone: "phone";
|
|
6160
|
+
form: "form";
|
|
6161
|
+
download: "download";
|
|
6162
|
+
}>;
|
|
6163
|
+
ctaLabel: z.ZodString;
|
|
6164
|
+
ctaTarget: z.ZodOptional<z.ZodString>;
|
|
6165
|
+
requiresOwnerDetail: z.ZodOptional<z.ZodBoolean>;
|
|
6166
|
+
}, z.core.$strip>>;
|
|
5141
6167
|
}, z.core.$strip>>;
|
|
5142
6168
|
}, z.core.$strict>;
|
|
5143
6169
|
at: z.ZodString;
|
|
@@ -5186,10 +6212,10 @@ export declare const AppendAgentEventResponseSchema: z.ZodDiscriminatedUnion<[z.
|
|
|
5186
6212
|
groups: z.ZodArray<z.ZodObject<{
|
|
5187
6213
|
group_id: z.ZodString;
|
|
5188
6214
|
phase: z.ZodEnum<{
|
|
5189
|
-
repair: "repair";
|
|
5190
|
-
preview: "preview";
|
|
5191
6215
|
layout: "layout";
|
|
5192
6216
|
pages: "pages";
|
|
6217
|
+
repair: "repair";
|
|
6218
|
+
preview: "preview";
|
|
5193
6219
|
style_media: "style_media";
|
|
5194
6220
|
chrome: "chrome";
|
|
5195
6221
|
sections: "sections";
|
|
@@ -5214,8 +6240,8 @@ export declare const AppendAgentEventResponseSchema: z.ZodDiscriminatedUnion<[z.
|
|
|
5214
6240
|
task_id: z.ZodString;
|
|
5215
6241
|
group_id: z.ZodString;
|
|
5216
6242
|
kind: z.ZodEnum<{
|
|
5217
|
-
section: "section";
|
|
5218
6243
|
layout: "layout";
|
|
6244
|
+
section: "section";
|
|
5219
6245
|
chrome: "chrome";
|
|
5220
6246
|
style: "style";
|
|
5221
6247
|
media: "media";
|
|
@@ -5226,6 +6252,7 @@ export declare const AppendAgentEventResponseSchema: z.ZodDiscriminatedUnion<[z.
|
|
|
5226
6252
|
block_type: z.ZodOptional<z.ZodString>;
|
|
5227
6253
|
block_variant: z.ZodOptional<z.ZodString>;
|
|
5228
6254
|
block_order: z.ZodOptional<z.ZodNumber>;
|
|
6255
|
+
user_instruction: z.ZodOptional<z.ZodString>;
|
|
5229
6256
|
page_id: z.ZodOptional<z.ZodString>;
|
|
5230
6257
|
page_slug: z.ZodOptional<z.ZodString>;
|
|
5231
6258
|
page_title: z.ZodOptional<z.ZodString>;
|
|
@@ -5271,10 +6298,10 @@ export declare const AppendAgentEventResponseSchema: z.ZodDiscriminatedUnion<[z.
|
|
|
5271
6298
|
type: z.ZodLiteral<"workspace.worker.updated">;
|
|
5272
6299
|
group_id: z.ZodString;
|
|
5273
6300
|
phase: z.ZodEnum<{
|
|
5274
|
-
repair: "repair";
|
|
5275
|
-
preview: "preview";
|
|
5276
6301
|
layout: "layout";
|
|
5277
6302
|
pages: "pages";
|
|
6303
|
+
repair: "repair";
|
|
6304
|
+
preview: "preview";
|
|
5278
6305
|
style_media: "style_media";
|
|
5279
6306
|
chrome: "chrome";
|
|
5280
6307
|
sections: "sections";
|
|
@@ -5612,9 +6639,10 @@ export declare const ListAgentEventsResponseSchema: z.ZodObject<{
|
|
|
5612
6639
|
userEdited: z.ZodBoolean;
|
|
5613
6640
|
lastEditedAt: z.ZodString;
|
|
5614
6641
|
lastEditedBy: z.ZodEnum<{
|
|
5615
|
-
user: "user";
|
|
5616
6642
|
ai: "ai";
|
|
6643
|
+
user: "user";
|
|
5617
6644
|
}>;
|
|
6645
|
+
userInstruction: z.ZodOptional<z.ZodString>;
|
|
5618
6646
|
}, z.core.$strip>>;
|
|
5619
6647
|
}, z.core.$strict>>;
|
|
5620
6648
|
layout: z.ZodOptional<z.ZodEnum<{
|
|
@@ -5672,6 +6700,51 @@ export declare const ListAgentEventsResponseSchema: z.ZodObject<{
|
|
|
5672
6700
|
moderate: "moderate";
|
|
5673
6701
|
expressive: "expressive";
|
|
5674
6702
|
}>>;
|
|
6703
|
+
userVisualHints: z.ZodOptional<z.ZodObject<{
|
|
6704
|
+
heading: z.ZodOptional<z.ZodString>;
|
|
6705
|
+
body: z.ZodOptional<z.ZodString>;
|
|
6706
|
+
paletteIntent: z.ZodOptional<z.ZodString>;
|
|
6707
|
+
surfaceMode: z.ZodOptional<z.ZodEnum<{
|
|
6708
|
+
light: "light";
|
|
6709
|
+
dark: "dark";
|
|
6710
|
+
}>>;
|
|
6711
|
+
radius: z.ZodOptional<z.ZodEnum<{
|
|
6712
|
+
sm: "sm";
|
|
6713
|
+
md: "md";
|
|
6714
|
+
lg: "lg";
|
|
6715
|
+
xl: "xl";
|
|
6716
|
+
none: "none";
|
|
6717
|
+
}>>;
|
|
6718
|
+
density: z.ZodOptional<z.ZodEnum<{
|
|
6719
|
+
compact: "compact";
|
|
6720
|
+
comfortable: "comfortable";
|
|
6721
|
+
editorial: "editorial";
|
|
6722
|
+
}>>;
|
|
6723
|
+
colorSeeds: z.ZodOptional<z.ZodObject<{
|
|
6724
|
+
primary: z.ZodString;
|
|
6725
|
+
accent: z.ZodString;
|
|
6726
|
+
neutral: z.ZodString;
|
|
6727
|
+
supporting: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
6728
|
+
}, z.core.$strip>>;
|
|
6729
|
+
}, z.core.$strip>>;
|
|
6730
|
+
}, z.core.$strip>>;
|
|
6731
|
+
userChoices: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
6732
|
+
question: z.ZodString;
|
|
6733
|
+
answer: z.ZodString;
|
|
6734
|
+
}, z.core.$strip>>>;
|
|
6735
|
+
confirmedChoices: z.ZodOptional<z.ZodObject<{
|
|
6736
|
+
conversion: z.ZodOptional<z.ZodObject<{
|
|
6737
|
+
protocol: z.ZodEnum<{
|
|
6738
|
+
external: "external";
|
|
6739
|
+
route: "route";
|
|
6740
|
+
phone: "phone";
|
|
6741
|
+
form: "form";
|
|
6742
|
+
download: "download";
|
|
6743
|
+
}>;
|
|
6744
|
+
ctaLabel: z.ZodString;
|
|
6745
|
+
ctaTarget: z.ZodOptional<z.ZodString>;
|
|
6746
|
+
requiresOwnerDetail: z.ZodOptional<z.ZodBoolean>;
|
|
6747
|
+
}, z.core.$strip>>;
|
|
5675
6748
|
}, z.core.$strip>>;
|
|
5676
6749
|
}, z.core.$strict>;
|
|
5677
6750
|
at: z.ZodString;
|
|
@@ -5720,10 +6793,10 @@ export declare const ListAgentEventsResponseSchema: z.ZodObject<{
|
|
|
5720
6793
|
groups: z.ZodArray<z.ZodObject<{
|
|
5721
6794
|
group_id: z.ZodString;
|
|
5722
6795
|
phase: z.ZodEnum<{
|
|
5723
|
-
repair: "repair";
|
|
5724
|
-
preview: "preview";
|
|
5725
6796
|
layout: "layout";
|
|
5726
6797
|
pages: "pages";
|
|
6798
|
+
repair: "repair";
|
|
6799
|
+
preview: "preview";
|
|
5727
6800
|
style_media: "style_media";
|
|
5728
6801
|
chrome: "chrome";
|
|
5729
6802
|
sections: "sections";
|
|
@@ -5748,8 +6821,8 @@ export declare const ListAgentEventsResponseSchema: z.ZodObject<{
|
|
|
5748
6821
|
task_id: z.ZodString;
|
|
5749
6822
|
group_id: z.ZodString;
|
|
5750
6823
|
kind: z.ZodEnum<{
|
|
5751
|
-
section: "section";
|
|
5752
6824
|
layout: "layout";
|
|
6825
|
+
section: "section";
|
|
5753
6826
|
chrome: "chrome";
|
|
5754
6827
|
style: "style";
|
|
5755
6828
|
media: "media";
|
|
@@ -5760,6 +6833,7 @@ export declare const ListAgentEventsResponseSchema: z.ZodObject<{
|
|
|
5760
6833
|
block_type: z.ZodOptional<z.ZodString>;
|
|
5761
6834
|
block_variant: z.ZodOptional<z.ZodString>;
|
|
5762
6835
|
block_order: z.ZodOptional<z.ZodNumber>;
|
|
6836
|
+
user_instruction: z.ZodOptional<z.ZodString>;
|
|
5763
6837
|
page_id: z.ZodOptional<z.ZodString>;
|
|
5764
6838
|
page_slug: z.ZodOptional<z.ZodString>;
|
|
5765
6839
|
page_title: z.ZodOptional<z.ZodString>;
|
|
@@ -5805,10 +6879,10 @@ export declare const ListAgentEventsResponseSchema: z.ZodObject<{
|
|
|
5805
6879
|
type: z.ZodLiteral<"workspace.worker.updated">;
|
|
5806
6880
|
group_id: z.ZodString;
|
|
5807
6881
|
phase: z.ZodEnum<{
|
|
5808
|
-
repair: "repair";
|
|
5809
|
-
preview: "preview";
|
|
5810
6882
|
layout: "layout";
|
|
5811
6883
|
pages: "pages";
|
|
6884
|
+
repair: "repair";
|
|
6885
|
+
preview: "preview";
|
|
5812
6886
|
style_media: "style_media";
|
|
5813
6887
|
chrome: "chrome";
|
|
5814
6888
|
sections: "sections";
|
|
@@ -5989,6 +7063,7 @@ export interface RestApiEndpointContract {
|
|
|
5989
7063
|
readonly summary: string;
|
|
5990
7064
|
readonly status: ApiContractStatus;
|
|
5991
7065
|
readonly request_body_schema?: string;
|
|
7066
|
+
readonly query_schema?: string;
|
|
5992
7067
|
readonly response_schema?: string;
|
|
5993
7068
|
readonly notes?: readonly string[];
|
|
5994
7069
|
}
|
|
@@ -6021,6 +7096,21 @@ export declare const REST_API_ENDPOINTS: readonly [{
|
|
|
6021
7096
|
readonly summary: "Get one tenant-scoped site.";
|
|
6022
7097
|
readonly status: "implemented";
|
|
6023
7098
|
readonly response_schema: "SiteRecordSchema";
|
|
7099
|
+
}, {
|
|
7100
|
+
readonly method: "GET";
|
|
7101
|
+
readonly path: "/sites/:site_id/workspace/source-files";
|
|
7102
|
+
readonly tag: "sites";
|
|
7103
|
+
readonly summary: "List source files available in the ready preview sandbox.";
|
|
7104
|
+
readonly status: "implemented";
|
|
7105
|
+
readonly response_schema: "WorkspaceSourceFileListItemSchema[]";
|
|
7106
|
+
}, {
|
|
7107
|
+
readonly method: "GET";
|
|
7108
|
+
readonly path: "/sites/:site_id/workspace/source-file";
|
|
7109
|
+
readonly tag: "sites";
|
|
7110
|
+
readonly summary: "Read a source file from the ready preview sandbox.";
|
|
7111
|
+
readonly status: "implemented";
|
|
7112
|
+
readonly query_schema: "WorkspaceSourceFilePathQuerySchema";
|
|
7113
|
+
readonly response_schema: "WorkspaceSourceFileResponseSchema";
|
|
6024
7114
|
}, {
|
|
6025
7115
|
readonly method: "POST";
|
|
6026
7116
|
readonly path: "/sites/:site_id/sitemap";
|
|
@@ -6313,20 +7403,20 @@ export declare const SSE_STREAMS: readonly [{
|
|
|
6313
7403
|
readonly method: "POST";
|
|
6314
7404
|
readonly path: "/v1/agent/clarify/:site_id";
|
|
6315
7405
|
readonly tag: "clarify";
|
|
6316
|
-
readonly summary: "Stream Step 2 clarify questions as SSE.";
|
|
7406
|
+
readonly summary: "Stream Step 2 clarify questions as SSE; event_order includes optional skill.selecting, skill.selected, clarify.archetype_proposals, and run.failed on errors.";
|
|
6317
7407
|
readonly status: "implemented";
|
|
6318
7408
|
readonly request_body_schema: "ClarifyRunInputSchema without tenant_id/site_id";
|
|
6319
7409
|
readonly event_schema: "ClarifyStreamEventSchema";
|
|
6320
|
-
readonly event_order: readonly ["run.started", "clarify.partial", "clarify.finished"];
|
|
7410
|
+
readonly event_order: readonly ["run.started", "skill.selecting", "skill.selected", "clarify.partial", "clarify.archetype_proposals", "clarify.finished", "run.failed"];
|
|
6321
7411
|
}, {
|
|
6322
7412
|
readonly method: "POST";
|
|
6323
7413
|
readonly path: "/v1/agent/sitemap/:site_id";
|
|
6324
7414
|
readonly tag: "sitemap";
|
|
6325
|
-
readonly summary: "Stream Step 3 sitemap generation as SSE.";
|
|
7415
|
+
readonly summary: "Stream Step 3 sitemap generation as SSE; event_order includes sitemap.partial and run.failed on errors.";
|
|
6326
7416
|
readonly status: "implemented";
|
|
6327
7417
|
readonly request_body_schema: "SitemapRunInputSchema without tenant_id/site_id";
|
|
6328
7418
|
readonly event_schema: "SitemapStreamEventSchema";
|
|
6329
|
-
readonly event_order: readonly ["run.started", "sitemap.generating", "sitemap.generated"];
|
|
7419
|
+
readonly event_order: readonly ["run.started", "sitemap.generating", "sitemap.partial", "sitemap.generated", "run.failed"];
|
|
6330
7420
|
}];
|
|
6331
7421
|
export declare const AiSdkUiMessageSchema: z.ZodObject<{
|
|
6332
7422
|
id: z.ZodString;
|
|
@@ -6827,10 +7917,10 @@ export declare const WorkspaceServerMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
6827
7917
|
groups: z.ZodArray<z.ZodObject<{
|
|
6828
7918
|
group_id: z.ZodString;
|
|
6829
7919
|
phase: z.ZodEnum<{
|
|
6830
|
-
repair: "repair";
|
|
6831
|
-
preview: "preview";
|
|
6832
7920
|
layout: "layout";
|
|
6833
7921
|
pages: "pages";
|
|
7922
|
+
repair: "repair";
|
|
7923
|
+
preview: "preview";
|
|
6834
7924
|
style_media: "style_media";
|
|
6835
7925
|
chrome: "chrome";
|
|
6836
7926
|
sections: "sections";
|
|
@@ -6855,8 +7945,8 @@ export declare const WorkspaceServerMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
6855
7945
|
task_id: z.ZodString;
|
|
6856
7946
|
group_id: z.ZodString;
|
|
6857
7947
|
kind: z.ZodEnum<{
|
|
6858
|
-
section: "section";
|
|
6859
7948
|
layout: "layout";
|
|
7949
|
+
section: "section";
|
|
6860
7950
|
chrome: "chrome";
|
|
6861
7951
|
style: "style";
|
|
6862
7952
|
media: "media";
|
|
@@ -6867,6 +7957,7 @@ export declare const WorkspaceServerMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
6867
7957
|
block_type: z.ZodOptional<z.ZodString>;
|
|
6868
7958
|
block_variant: z.ZodOptional<z.ZodString>;
|
|
6869
7959
|
block_order: z.ZodOptional<z.ZodNumber>;
|
|
7960
|
+
user_instruction: z.ZodOptional<z.ZodString>;
|
|
6870
7961
|
page_id: z.ZodOptional<z.ZodString>;
|
|
6871
7962
|
page_slug: z.ZodOptional<z.ZodString>;
|
|
6872
7963
|
page_title: z.ZodOptional<z.ZodString>;
|
|
@@ -6920,10 +8011,10 @@ export declare const WorkspaceServerMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
6920
8011
|
payload: z.ZodObject<{
|
|
6921
8012
|
group_id: z.ZodString;
|
|
6922
8013
|
phase: z.ZodEnum<{
|
|
6923
|
-
repair: "repair";
|
|
6924
|
-
preview: "preview";
|
|
6925
8014
|
layout: "layout";
|
|
6926
8015
|
pages: "pages";
|
|
8016
|
+
repair: "repair";
|
|
8017
|
+
preview: "preview";
|
|
6927
8018
|
style_media: "style_media";
|
|
6928
8019
|
chrome: "chrome";
|
|
6929
8020
|
sections: "sections";
|
|
@@ -7411,10 +8502,10 @@ export declare const WorkspaceWebSocketMessageSchema: z.ZodUnion<readonly [z.Zod
|
|
|
7411
8502
|
groups: z.ZodArray<z.ZodObject<{
|
|
7412
8503
|
group_id: z.ZodString;
|
|
7413
8504
|
phase: z.ZodEnum<{
|
|
7414
|
-
repair: "repair";
|
|
7415
|
-
preview: "preview";
|
|
7416
8505
|
layout: "layout";
|
|
7417
8506
|
pages: "pages";
|
|
8507
|
+
repair: "repair";
|
|
8508
|
+
preview: "preview";
|
|
7418
8509
|
style_media: "style_media";
|
|
7419
8510
|
chrome: "chrome";
|
|
7420
8511
|
sections: "sections";
|
|
@@ -7439,8 +8530,8 @@ export declare const WorkspaceWebSocketMessageSchema: z.ZodUnion<readonly [z.Zod
|
|
|
7439
8530
|
task_id: z.ZodString;
|
|
7440
8531
|
group_id: z.ZodString;
|
|
7441
8532
|
kind: z.ZodEnum<{
|
|
7442
|
-
section: "section";
|
|
7443
8533
|
layout: "layout";
|
|
8534
|
+
section: "section";
|
|
7444
8535
|
chrome: "chrome";
|
|
7445
8536
|
style: "style";
|
|
7446
8537
|
media: "media";
|
|
@@ -7451,6 +8542,7 @@ export declare const WorkspaceWebSocketMessageSchema: z.ZodUnion<readonly [z.Zod
|
|
|
7451
8542
|
block_type: z.ZodOptional<z.ZodString>;
|
|
7452
8543
|
block_variant: z.ZodOptional<z.ZodString>;
|
|
7453
8544
|
block_order: z.ZodOptional<z.ZodNumber>;
|
|
8545
|
+
user_instruction: z.ZodOptional<z.ZodString>;
|
|
7454
8546
|
page_id: z.ZodOptional<z.ZodString>;
|
|
7455
8547
|
page_slug: z.ZodOptional<z.ZodString>;
|
|
7456
8548
|
page_title: z.ZodOptional<z.ZodString>;
|
|
@@ -7504,10 +8596,10 @@ export declare const WorkspaceWebSocketMessageSchema: z.ZodUnion<readonly [z.Zod
|
|
|
7504
8596
|
payload: z.ZodObject<{
|
|
7505
8597
|
group_id: z.ZodString;
|
|
7506
8598
|
phase: z.ZodEnum<{
|
|
7507
|
-
repair: "repair";
|
|
7508
|
-
preview: "preview";
|
|
7509
8599
|
layout: "layout";
|
|
7510
8600
|
pages: "pages";
|
|
8601
|
+
repair: "repair";
|
|
8602
|
+
preview: "preview";
|
|
7511
8603
|
style_media: "style_media";
|
|
7512
8604
|
chrome: "chrome";
|
|
7513
8605
|
sections: "sections";
|
|
@@ -7763,6 +8855,22 @@ export declare const WORKSPACE_WEBSOCKET_CONTRACT: {
|
|
|
7763
8855
|
readonly status: "implemented";
|
|
7764
8856
|
readonly inbound_message_schema: "WorkspaceClientMessageSchema";
|
|
7765
8857
|
readonly outbound_message_schema: "WorkspaceServerMessageSchema";
|
|
8858
|
+
readonly query_parameters: readonly [{
|
|
8859
|
+
readonly name: "run_id";
|
|
8860
|
+
readonly required: false;
|
|
8861
|
+
readonly schema: "string";
|
|
8862
|
+
readonly summary: "Workspace run id returned by the API run-start response.";
|
|
8863
|
+
}, {
|
|
8864
|
+
readonly name: "run_kind";
|
|
8865
|
+
readonly required: false;
|
|
8866
|
+
readonly schema: "WorkspaceRunKindSchema";
|
|
8867
|
+
readonly summary: "Workspace run mode; initial_generation can auto-start when base_snapshot_id is present.";
|
|
8868
|
+
}, {
|
|
8869
|
+
readonly name: "base_snapshot_id";
|
|
8870
|
+
readonly required: false;
|
|
8871
|
+
readonly schema: "string";
|
|
8872
|
+
readonly summary: "Authoritative base snapshot id for this workspace run.";
|
|
8873
|
+
}];
|
|
7766
8874
|
readonly ai_sdk_ui_compatible: true;
|
|
7767
8875
|
readonly notes: readonly ["Assistant UI output is carried as AI SDK UIMessage parts, including text, data-*, and tool-* parts.", "Operational AgentEvents remain persisted separately for replay and audit."];
|
|
7768
8876
|
};
|
|
@@ -7881,25 +8989,22 @@ export declare const ApplyPatchBatchInputSchema: z.ZodObject<{
|
|
|
7881
8989
|
}>>>;
|
|
7882
8990
|
}, z.core.$strip>;
|
|
7883
8991
|
export type ApplyPatchBatchInput = z.infer<typeof ApplyPatchBatchInputSchema>;
|
|
7884
|
-
export declare const
|
|
7885
|
-
|
|
7886
|
-
entryFile: z.ZodString;
|
|
8992
|
+
export declare const WorkspaceDirectEditFileSchema: z.ZodObject<{
|
|
8993
|
+
path: z.ZodString;
|
|
7887
8994
|
}, z.core.$strip>;
|
|
7888
|
-
export type
|
|
7889
|
-
export declare const
|
|
7890
|
-
|
|
7891
|
-
|
|
7892
|
-
|
|
8995
|
+
export type WorkspaceDirectEditFile = z.infer<typeof WorkspaceDirectEditFileSchema>;
|
|
8996
|
+
export declare const WorkspaceDirectEditRouteSchema: z.ZodObject<{
|
|
8997
|
+
route_id: z.ZodString;
|
|
8998
|
+
entry_file: z.ZodString;
|
|
8999
|
+
}, z.core.$strict>;
|
|
9000
|
+
export type WorkspaceDirectEditRoute = z.infer<typeof WorkspaceDirectEditRouteSchema>;
|
|
9001
|
+
export declare const WorkspaceDirectEditFilesRequestSchema: z.ZodObject<{
|
|
9002
|
+
files: z.ZodArray<z.ZodObject<{
|
|
7893
9003
|
path: z.ZodString;
|
|
7894
|
-
|
|
7895
|
-
|
|
7896
|
-
|
|
7897
|
-
|
|
7898
|
-
}>;
|
|
7899
|
-
expected_hash: z.ZodOptional<z.ZodString>;
|
|
7900
|
-
full_content: z.ZodOptional<z.ZodString>;
|
|
7901
|
-
}, z.core.$strict>>>;
|
|
7902
|
-
siteEditOperation: z.ZodOptional<z.ZodObject<{
|
|
9004
|
+
}, z.core.$strip>>;
|
|
9005
|
+
}, z.core.$strict>;
|
|
9006
|
+
export declare const WorkspaceDirectEditOperationRequestSchema: z.ZodObject<{
|
|
9007
|
+
site_edit_operation: z.ZodObject<{
|
|
7903
9008
|
id: z.ZodString;
|
|
7904
9009
|
siteId: z.ZodString;
|
|
7905
9010
|
baseSnapshotId: z.ZodString;
|
|
@@ -8118,17 +9223,252 @@ export declare const WorkspaceDirectEditRequestSchema: z.ZodObject<{
|
|
|
8118
9223
|
field: z.ZodString;
|
|
8119
9224
|
value: z.ZodNullable<z.ZodType<import("./site-edit-operation.js").SiteEditOperationValue, unknown, z.core.$ZodTypeInternals<import("./site-edit-operation.js").SiteEditOperationValue, unknown>>>;
|
|
8120
9225
|
}, z.core.$strip>], "kind">;
|
|
9226
|
+
}, z.core.$strip>;
|
|
9227
|
+
site_edit_routes: z.ZodArray<z.ZodObject<{
|
|
9228
|
+
route_id: z.ZodString;
|
|
9229
|
+
entry_file: z.ZodString;
|
|
9230
|
+
}, z.core.$strict>>;
|
|
9231
|
+
post_actions: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
9232
|
+
sitemap_resync: "sitemap_resync";
|
|
9233
|
+
smoke_test: "smoke_test";
|
|
9234
|
+
prepare_preview: "prepare_preview";
|
|
9235
|
+
}>>>;
|
|
9236
|
+
}, z.core.$strict>;
|
|
9237
|
+
export declare const WorkspaceDirectEditRequestSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
9238
|
+
files: z.ZodArray<z.ZodObject<{
|
|
9239
|
+
path: z.ZodString;
|
|
8121
9240
|
}, z.core.$strip>>;
|
|
8122
|
-
|
|
8123
|
-
|
|
8124
|
-
|
|
8125
|
-
|
|
8126
|
-
|
|
9241
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
9242
|
+
site_edit_operation: z.ZodObject<{
|
|
9243
|
+
id: z.ZodString;
|
|
9244
|
+
siteId: z.ZodString;
|
|
9245
|
+
baseSnapshotId: z.ZodString;
|
|
9246
|
+
routeId: z.ZodOptional<z.ZodString>;
|
|
9247
|
+
kind: z.ZodEnum<{
|
|
9248
|
+
"update-text": "update-text";
|
|
9249
|
+
"remove-node": "remove-node";
|
|
9250
|
+
"insert-child": "insert-child";
|
|
9251
|
+
"move-node": "move-node";
|
|
9252
|
+
"replace-rich-text-content": "replace-rich-text-content";
|
|
9253
|
+
"insert-rich-text-block": "insert-rich-text-block";
|
|
9254
|
+
"remove-rich-text-block": "remove-rich-text-block";
|
|
9255
|
+
"set-media-field": "set-media-field";
|
|
9256
|
+
"set-component-slot-content": "set-component-slot-content";
|
|
9257
|
+
"set-object-field": "set-object-field";
|
|
9258
|
+
"insert-object-field": "insert-object-field";
|
|
9259
|
+
"remove-object-field": "remove-object-field";
|
|
9260
|
+
"update-array-item": "update-array-item";
|
|
9261
|
+
"insert-array-item": "insert-array-item";
|
|
9262
|
+
"remove-array-item": "remove-array-item";
|
|
9263
|
+
"move-array-item": "move-array-item";
|
|
9264
|
+
"replace-conditional-expression": "replace-conditional-expression";
|
|
9265
|
+
"set-conditional-branch-content": "set-conditional-branch-content";
|
|
9266
|
+
"set-jsx-prop": "set-jsx-prop";
|
|
9267
|
+
"remove-jsx-prop": "remove-jsx-prop";
|
|
9268
|
+
"set-class-name": "set-class-name";
|
|
9269
|
+
"add-class-token": "add-class-token";
|
|
9270
|
+
"remove-class-token": "remove-class-token";
|
|
9271
|
+
"set-style-property": "set-style-property";
|
|
9272
|
+
"set-style-properties": "set-style-properties";
|
|
9273
|
+
"set-css-module-class": "set-css-module-class";
|
|
9274
|
+
"set-directive": "set-directive";
|
|
9275
|
+
"remove-directive": "remove-directive";
|
|
9276
|
+
"set-route-export": "set-route-export";
|
|
9277
|
+
"set-metadata-field": "set-metadata-field";
|
|
9278
|
+
"set-generate-metadata": "set-generate-metadata";
|
|
9279
|
+
}>;
|
|
9280
|
+
target: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
9281
|
+
kind: z.ZodLiteral<"node">;
|
|
9282
|
+
key: z.ZodString;
|
|
9283
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
9284
|
+
kind: z.ZodLiteral<"route">;
|
|
9285
|
+
routeId: z.ZodString;
|
|
9286
|
+
}, z.core.$strip>], "kind">;
|
|
9287
|
+
documentVersion: z.ZodNumber;
|
|
9288
|
+
params: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
9289
|
+
kind: z.ZodLiteral<"update-text">;
|
|
9290
|
+
segmentIndex: z.ZodNumber;
|
|
9291
|
+
value: z.ZodString;
|
|
9292
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
9293
|
+
kind: z.ZodLiteral<"remove-node">;
|
|
9294
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
9295
|
+
kind: z.ZodLiteral<"insert-child">;
|
|
9296
|
+
node: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
9297
|
+
kind: z.ZodLiteral<"native-tag">;
|
|
9298
|
+
tag: z.ZodString;
|
|
9299
|
+
text: z.ZodOptional<z.ZodString>;
|
|
9300
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
9301
|
+
kind: z.ZodLiteral<"component-call">;
|
|
9302
|
+
component: z.ZodObject<{
|
|
9303
|
+
source: z.ZodString;
|
|
9304
|
+
exportName: z.ZodString;
|
|
9305
|
+
}, z.core.$strip>;
|
|
9306
|
+
props: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
9307
|
+
}, z.core.$strip>], "kind">;
|
|
9308
|
+
position: z.ZodUnion<readonly [z.ZodObject<{
|
|
9309
|
+
relation: z.ZodEnum<{
|
|
9310
|
+
before: "before";
|
|
9311
|
+
after: "after";
|
|
9312
|
+
}>;
|
|
9313
|
+
anchorKey: z.ZodString;
|
|
9314
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
9315
|
+
relation: z.ZodEnum<{
|
|
9316
|
+
prepend: "prepend";
|
|
9317
|
+
append: "append";
|
|
9318
|
+
}>;
|
|
9319
|
+
parentKey: z.ZodString;
|
|
9320
|
+
}, z.core.$strip>]>;
|
|
9321
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
9322
|
+
kind: z.ZodLiteral<"move-node">;
|
|
9323
|
+
target: z.ZodUnion<readonly [z.ZodObject<{
|
|
9324
|
+
relation: z.ZodEnum<{
|
|
9325
|
+
before: "before";
|
|
9326
|
+
after: "after";
|
|
9327
|
+
}>;
|
|
9328
|
+
anchorKey: z.ZodString;
|
|
9329
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
9330
|
+
relation: z.ZodEnum<{
|
|
9331
|
+
prepend: "prepend";
|
|
9332
|
+
append: "append";
|
|
9333
|
+
}>;
|
|
9334
|
+
parentKey: z.ZodString;
|
|
9335
|
+
}, z.core.$strip>]>;
|
|
9336
|
+
preserveBindings: z.ZodOptional<z.ZodBoolean>;
|
|
9337
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
9338
|
+
kind: z.ZodLiteral<"replace-rich-text-content">;
|
|
9339
|
+
field: z.ZodString;
|
|
9340
|
+
value: z.ZodType<import("./site-edit-operation.js").SiteEditOperationValue, unknown, z.core.$ZodTypeInternals<import("./site-edit-operation.js").SiteEditOperationValue, unknown>>;
|
|
9341
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
9342
|
+
kind: z.ZodLiteral<"insert-rich-text-block">;
|
|
9343
|
+
field: z.ZodString;
|
|
9344
|
+
index: z.ZodNumber;
|
|
9345
|
+
block: z.ZodType<import("./site-edit-operation.js").SiteEditOperationValue, unknown, z.core.$ZodTypeInternals<import("./site-edit-operation.js").SiteEditOperationValue, unknown>>;
|
|
9346
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
9347
|
+
kind: z.ZodLiteral<"remove-rich-text-block">;
|
|
9348
|
+
field: z.ZodString;
|
|
9349
|
+
index: z.ZodNumber;
|
|
9350
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
9351
|
+
kind: z.ZodLiteral<"set-media-field">;
|
|
9352
|
+
field: z.ZodEnum<{
|
|
9353
|
+
width: "width";
|
|
9354
|
+
height: "height";
|
|
9355
|
+
src: "src";
|
|
9356
|
+
alt: "alt";
|
|
9357
|
+
poster: "poster";
|
|
9358
|
+
caption: "caption";
|
|
9359
|
+
}>;
|
|
9360
|
+
value: z.ZodType<import("./site-edit-operation.js").SiteEditOperationValue, unknown, z.core.$ZodTypeInternals<import("./site-edit-operation.js").SiteEditOperationValue, unknown>>;
|
|
9361
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
9362
|
+
kind: z.ZodLiteral<"set-component-slot-content">;
|
|
9363
|
+
slotName: z.ZodString;
|
|
9364
|
+
value: z.ZodType<import("./site-edit-operation.js").SiteEditOperationValue, unknown, z.core.$ZodTypeInternals<import("./site-edit-operation.js").SiteEditOperationValue, unknown>>;
|
|
9365
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
9366
|
+
kind: z.ZodLiteral<"set-object-field">;
|
|
9367
|
+
segmentIndex: z.ZodNumber;
|
|
9368
|
+
value: z.ZodType<import("./site-edit-operation.js").SiteEditOperationValue, unknown, z.core.$ZodTypeInternals<import("./site-edit-operation.js").SiteEditOperationValue, unknown>>;
|
|
9369
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
9370
|
+
kind: z.ZodLiteral<"insert-object-field">;
|
|
9371
|
+
segmentIndex: z.ZodNumber;
|
|
9372
|
+
field: z.ZodString;
|
|
9373
|
+
value: z.ZodType<import("./site-edit-operation.js").SiteEditOperationValue, unknown, z.core.$ZodTypeInternals<import("./site-edit-operation.js").SiteEditOperationValue, unknown>>;
|
|
9374
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
9375
|
+
kind: z.ZodLiteral<"remove-object-field">;
|
|
9376
|
+
segmentIndex: z.ZodNumber;
|
|
9377
|
+
field: z.ZodOptional<z.ZodString>;
|
|
9378
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
9379
|
+
kind: z.ZodLiteral<"update-array-item">;
|
|
9380
|
+
segmentIndex: z.ZodNumber;
|
|
9381
|
+
value: z.ZodType<import("./site-edit-operation.js").SiteEditOperationValue, unknown, z.core.$ZodTypeInternals<import("./site-edit-operation.js").SiteEditOperationValue, unknown>>;
|
|
9382
|
+
index: z.ZodOptional<z.ZodNumber>;
|
|
9383
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
9384
|
+
kind: z.ZodLiteral<"insert-array-item">;
|
|
9385
|
+
segmentIndex: z.ZodNumber;
|
|
9386
|
+
index: z.ZodNumber;
|
|
9387
|
+
value: z.ZodType<import("./site-edit-operation.js").SiteEditOperationValue, unknown, z.core.$ZodTypeInternals<import("./site-edit-operation.js").SiteEditOperationValue, unknown>>;
|
|
9388
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
9389
|
+
kind: z.ZodLiteral<"remove-array-item">;
|
|
9390
|
+
segmentIndex: z.ZodNumber;
|
|
9391
|
+
index: z.ZodOptional<z.ZodNumber>;
|
|
9392
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
9393
|
+
kind: z.ZodLiteral<"move-array-item">;
|
|
9394
|
+
segmentIndex: z.ZodNumber;
|
|
9395
|
+
toIndex: z.ZodNumber;
|
|
9396
|
+
fromIndex: z.ZodOptional<z.ZodNumber>;
|
|
9397
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
9398
|
+
kind: z.ZodLiteral<"replace-conditional-expression">;
|
|
9399
|
+
nextExpression: z.ZodString;
|
|
9400
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
9401
|
+
kind: z.ZodLiteral<"set-conditional-branch-content">;
|
|
9402
|
+
branch: z.ZodEnum<{
|
|
9403
|
+
then: "then";
|
|
9404
|
+
else: "else";
|
|
9405
|
+
}>;
|
|
9406
|
+
content: z.ZodObject<{
|
|
9407
|
+
jsx: z.ZodString;
|
|
9408
|
+
}, z.core.$strip>;
|
|
9409
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
9410
|
+
kind: z.ZodLiteral<"set-jsx-prop">;
|
|
9411
|
+
name: z.ZodString;
|
|
9412
|
+
value: z.ZodNullable<z.ZodType<import("./site-edit-operation.js").SiteEditOperationValue, unknown, z.core.$ZodTypeInternals<import("./site-edit-operation.js").SiteEditOperationValue, unknown>>>;
|
|
9413
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
9414
|
+
kind: z.ZodLiteral<"remove-jsx-prop">;
|
|
9415
|
+
name: z.ZodString;
|
|
9416
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
9417
|
+
kind: z.ZodLiteral<"set-class-name">;
|
|
9418
|
+
value: z.ZodString;
|
|
9419
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
9420
|
+
kind: z.ZodLiteral<"add-class-token">;
|
|
9421
|
+
token: z.ZodString;
|
|
9422
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
9423
|
+
kind: z.ZodLiteral<"remove-class-token">;
|
|
9424
|
+
token: z.ZodString;
|
|
9425
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
9426
|
+
kind: z.ZodLiteral<"set-style-property">;
|
|
9427
|
+
property: z.ZodString;
|
|
9428
|
+
value: z.ZodNullable<z.ZodType<import("./site-edit-operation.js").SiteEditOperationValue, unknown, z.core.$ZodTypeInternals<import("./site-edit-operation.js").SiteEditOperationValue, unknown>>>;
|
|
9429
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
9430
|
+
kind: z.ZodLiteral<"set-style-properties">;
|
|
9431
|
+
properties: z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodType<import("./site-edit-operation.js").SiteEditOperationValue, unknown, z.core.$ZodTypeInternals<import("./site-edit-operation.js").SiteEditOperationValue, unknown>>>>;
|
|
9432
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
9433
|
+
kind: z.ZodLiteral<"set-css-module-class">;
|
|
9434
|
+
from: z.ZodString;
|
|
9435
|
+
to: z.ZodString;
|
|
9436
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
9437
|
+
kind: z.ZodLiteral<"set-directive">;
|
|
9438
|
+
value: z.ZodEnum<{
|
|
9439
|
+
"use client": "use client";
|
|
9440
|
+
"use server": "use server";
|
|
9441
|
+
}>;
|
|
9442
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
9443
|
+
kind: z.ZodLiteral<"remove-directive">;
|
|
9444
|
+
value: z.ZodEnum<{
|
|
9445
|
+
"use client": "use client";
|
|
9446
|
+
"use server": "use server";
|
|
9447
|
+
}>;
|
|
9448
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
9449
|
+
kind: z.ZodLiteral<"set-route-export">;
|
|
9450
|
+
name: z.ZodString;
|
|
9451
|
+
value: z.ZodType<import("./site-edit-operation.js").SiteEditOperationValue, unknown, z.core.$ZodTypeInternals<import("./site-edit-operation.js").SiteEditOperationValue, unknown>>;
|
|
9452
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
9453
|
+
kind: z.ZodLiteral<"set-metadata-field">;
|
|
9454
|
+
field: z.ZodString;
|
|
9455
|
+
value: z.ZodNullable<z.ZodType<import("./site-edit-operation.js").SiteEditOperationValue, unknown, z.core.$ZodTypeInternals<import("./site-edit-operation.js").SiteEditOperationValue, unknown>>>;
|
|
9456
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
9457
|
+
kind: z.ZodLiteral<"set-generate-metadata">;
|
|
9458
|
+
field: z.ZodString;
|
|
9459
|
+
value: z.ZodNullable<z.ZodType<import("./site-edit-operation.js").SiteEditOperationValue, unknown, z.core.$ZodTypeInternals<import("./site-edit-operation.js").SiteEditOperationValue, unknown>>>;
|
|
9460
|
+
}, z.core.$strip>], "kind">;
|
|
9461
|
+
}, z.core.$strip>;
|
|
9462
|
+
site_edit_routes: z.ZodArray<z.ZodObject<{
|
|
9463
|
+
route_id: z.ZodString;
|
|
9464
|
+
entry_file: z.ZodString;
|
|
9465
|
+
}, z.core.$strict>>;
|
|
9466
|
+
post_actions: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
8127
9467
|
sitemap_resync: "sitemap_resync";
|
|
8128
9468
|
smoke_test: "smoke_test";
|
|
8129
9469
|
prepare_preview: "prepare_preview";
|
|
8130
9470
|
}>>>;
|
|
8131
|
-
}, z.core.$
|
|
9471
|
+
}, z.core.$strict>]>;
|
|
8132
9472
|
export type WorkspaceDirectEditRequest = z.infer<typeof WorkspaceDirectEditRequestSchema>;
|
|
8133
9473
|
export declare const ApplyPatchBatchErrorCodeSchema: z.ZodEnum<{
|
|
8134
9474
|
BASE_SNAPSHOT_NOT_FOUND: "BASE_SNAPSHOT_NOT_FOUND";
|
|
@@ -8210,41 +9550,62 @@ export declare const ApplyPatchBatchResultSchema: z.ZodDiscriminatedUnion<[z.Zod
|
|
|
8210
9550
|
}, z.core.$strip>], "status">;
|
|
8211
9551
|
export type ApplyPatchBatchResult = z.infer<typeof ApplyPatchBatchResultSchema>;
|
|
8212
9552
|
export declare const WorkspaceDirectEditResponseSchema: z.ZodObject<{
|
|
8213
|
-
|
|
8214
|
-
status: z.ZodLiteral<"applied">;
|
|
8215
|
-
patch_batch_id: z.ZodString;
|
|
8216
|
-
site_id: z.ZodString;
|
|
8217
|
-
base_snapshot_id: z.ZodString;
|
|
8218
|
-
snapshot_id: z.ZodString;
|
|
8219
|
-
manifest_hash: z.ZodString;
|
|
8220
|
-
object_key: z.ZodString;
|
|
8221
|
-
changed_files: z.ZodArray<z.ZodString>;
|
|
8222
|
-
post_actions_queued: z.ZodArray<z.ZodEnum<{
|
|
8223
|
-
sitemap_resync: "sitemap_resync";
|
|
8224
|
-
smoke_test: "smoke_test";
|
|
8225
|
-
prepare_preview: "prepare_preview";
|
|
8226
|
-
}>>;
|
|
8227
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
8228
|
-
status: z.ZodLiteral<"failed">;
|
|
8229
|
-
code: z.ZodEnum<{
|
|
8230
|
-
BASE_SNAPSHOT_NOT_FOUND: "BASE_SNAPSHOT_NOT_FOUND";
|
|
8231
|
-
PATCH_TARGET_NOT_FOUND: "PATCH_TARGET_NOT_FOUND";
|
|
8232
|
-
PATCH_TARGET_ALREADY_EXISTS: "PATCH_TARGET_ALREADY_EXISTS";
|
|
8233
|
-
PATCH_EXPECTED_HASH_MISMATCH: "PATCH_EXPECTED_HASH_MISMATCH";
|
|
8234
|
-
PATCH_DIFF_UNSUPPORTED: "PATCH_DIFF_UNSUPPORTED";
|
|
8235
|
-
PATCH_PROTECTED_FILE: "PATCH_PROTECTED_FILE";
|
|
8236
|
-
PATCH_VALIDATION_FAILED: "PATCH_VALIDATION_FAILED";
|
|
8237
|
-
PATCH_MEDIA_REFERENCE_NOT_DECLARED: "PATCH_MEDIA_REFERENCE_NOT_DECLARED";
|
|
8238
|
-
PATCH_BATCH_INVALID: "PATCH_BATCH_INVALID";
|
|
8239
|
-
PATCH_BATCH_FAILED: "PATCH_BATCH_FAILED";
|
|
8240
|
-
}>;
|
|
8241
|
-
message: z.ZodString;
|
|
8242
|
-
retryable: z.ZodDefault<z.ZodBoolean>;
|
|
8243
|
-
details: z.ZodOptional<z.ZodUnknown>;
|
|
8244
|
-
}, z.core.$strip>], "status">;
|
|
8245
|
-
post_action_results: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
9553
|
+
ok: z.ZodLiteral<true>;
|
|
8246
9554
|
}, z.core.$strip>;
|
|
8247
9555
|
export type WorkspaceDirectEditResponse = z.infer<typeof WorkspaceDirectEditResponseSchema>;
|
|
9556
|
+
export declare const WorkspaceSourcePathSchema: z.ZodString;
|
|
9557
|
+
export type WorkspaceSourcePath = z.infer<typeof WorkspaceSourcePathSchema>;
|
|
9558
|
+
export declare const WorkspaceSourceFileKindSchema: z.ZodEnum<{
|
|
9559
|
+
text: "text";
|
|
9560
|
+
binary: "binary";
|
|
9561
|
+
}>;
|
|
9562
|
+
export type WorkspaceSourceFileKind = z.infer<typeof WorkspaceSourceFileKindSchema>;
|
|
9563
|
+
export declare const WorkspaceSourceFileListItemSchema: z.ZodObject<{
|
|
9564
|
+
path: z.ZodString;
|
|
9565
|
+
kind: z.ZodEnum<{
|
|
9566
|
+
text: "text";
|
|
9567
|
+
binary: "binary";
|
|
9568
|
+
}>;
|
|
9569
|
+
language: z.ZodNullable<z.ZodString>;
|
|
9570
|
+
size_bytes: z.ZodNumber;
|
|
9571
|
+
}, z.core.$strip>;
|
|
9572
|
+
export type WorkspaceSourceFileListItem = z.infer<typeof WorkspaceSourceFileListItemSchema>;
|
|
9573
|
+
export declare const WorkspaceSourceFilePathQuerySchema: z.ZodObject<{
|
|
9574
|
+
path: z.ZodString;
|
|
9575
|
+
}, z.core.$strip>;
|
|
9576
|
+
export type WorkspaceSourceFilePathQuery = z.infer<typeof WorkspaceSourceFilePathQuerySchema>;
|
|
9577
|
+
export declare const WorkspaceSourceFileTextResponseSchema: z.ZodObject<{
|
|
9578
|
+
path: z.ZodString;
|
|
9579
|
+
size_bytes: z.ZodNumber;
|
|
9580
|
+
kind: z.ZodLiteral<"text">;
|
|
9581
|
+
language: z.ZodString;
|
|
9582
|
+
content: z.ZodString;
|
|
9583
|
+
}, z.core.$strip>;
|
|
9584
|
+
export type WorkspaceSourceFileTextResponse = z.infer<typeof WorkspaceSourceFileTextResponseSchema>;
|
|
9585
|
+
export declare const WorkspaceSourceFileBinaryResponseSchema: z.ZodObject<{
|
|
9586
|
+
path: z.ZodString;
|
|
9587
|
+
size_bytes: z.ZodNumber;
|
|
9588
|
+
kind: z.ZodLiteral<"binary">;
|
|
9589
|
+
language: z.ZodNull;
|
|
9590
|
+
mime_type: z.ZodString;
|
|
9591
|
+
content_base64: z.ZodString;
|
|
9592
|
+
}, z.core.$strip>;
|
|
9593
|
+
export type WorkspaceSourceFileBinaryResponse = z.infer<typeof WorkspaceSourceFileBinaryResponseSchema>;
|
|
9594
|
+
export declare const WorkspaceSourceFileResponseSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
9595
|
+
path: z.ZodString;
|
|
9596
|
+
size_bytes: z.ZodNumber;
|
|
9597
|
+
kind: z.ZodLiteral<"text">;
|
|
9598
|
+
language: z.ZodString;
|
|
9599
|
+
content: z.ZodString;
|
|
9600
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
9601
|
+
path: z.ZodString;
|
|
9602
|
+
size_bytes: z.ZodNumber;
|
|
9603
|
+
kind: z.ZodLiteral<"binary">;
|
|
9604
|
+
language: z.ZodNull;
|
|
9605
|
+
mime_type: z.ZodString;
|
|
9606
|
+
content_base64: z.ZodString;
|
|
9607
|
+
}, z.core.$strip>]>;
|
|
9608
|
+
export type WorkspaceSourceFileResponse = z.infer<typeof WorkspaceSourceFileResponseSchema>;
|
|
8248
9609
|
export declare function containsSensitiveData(value: unknown): boolean;
|
|
8249
9610
|
export type SnapshotManifestFile = {
|
|
8250
9611
|
path: string;
|