@vcp-dev/contracts 0.6.5 → 0.6.6
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/README.md +1 -0
- package/dist/component-i18n-resources.d.ts +29 -0
- package/dist/connect-dynamic-collection.d.ts +3 -3
- package/dist/connect-form.d.ts +3 -3
- package/dist/designer-component-library.d.ts +45 -0
- package/dist/designer-page-library.d.ts +349 -0
- package/dist/form-design.d.ts +2854 -0
- package/dist/index.d.ts +900 -164
- package/dist/index.js +1 -1
- package/dist/input-context-bundle.d.ts +5 -5
- package/dist/site-edit-event.d.ts +14 -1
- package/dist/site-edit-operation.d.ts +247 -7
- package/dist/site-edit-page-composition.d.ts +5 -5
- package/dist/site-edit-render-document.d.ts +12 -8
- package/dist/site-edit-version.d.ts +1 -1
- package/dist/template-upgrade-observability.d.ts +137 -0
- package/dist/template-upgrade-state.d.ts +193 -0
- package/dist/template-version.d.ts +5 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
|
+
import { type TemplateVersion } from "./template-version.js";
|
|
2
3
|
export * from "./deployment-runtime.js";
|
|
3
4
|
export * from "./designer-component-library.js";
|
|
5
|
+
export * from "./designer-page-library.js";
|
|
6
|
+
export * from "./component-i18n-resources.js";
|
|
4
7
|
export { PAGE_SLUG_PATTERN, PAGE_SLUG_SEGMENT_PATTERN_SOURCE, canonicalizePageSlug, isCanonicalPageSlug, pageSlugToRouteFilePath, tryCanonicalizeAsciiPageSlug, } from "./page-slug.js";
|
|
5
8
|
export * from "./site-edit-capability.js";
|
|
6
9
|
export * from "./site-edit-class-name-source.js";
|
|
@@ -23,8 +26,12 @@ export * from "./site-edit-source.js";
|
|
|
23
26
|
export * from "./user-facing-copy.js";
|
|
24
27
|
export * from "./site-edit-version.js";
|
|
25
28
|
export * from "./site-locale.js";
|
|
29
|
+
export * from "./template-version.js";
|
|
30
|
+
export * from "./template-upgrade-state.js";
|
|
31
|
+
export * from "./template-upgrade-observability.js";
|
|
26
32
|
export * from "./connect-dynamic-collection.js";
|
|
27
33
|
export * from "./connect-form.js";
|
|
34
|
+
export * from "./form-design.js";
|
|
28
35
|
export * from "./cms-collection-binding.js";
|
|
29
36
|
export * from "./cms-public-url.js";
|
|
30
37
|
export * from "./input-context-bundle.js";
|
|
@@ -108,8 +115,8 @@ export type VisualHints = z.infer<typeof VisualHintsSchema>;
|
|
|
108
115
|
*/
|
|
109
116
|
export declare const ConversionHintsSchema: z.ZodObject<{
|
|
110
117
|
protocol: z.ZodEnum<{
|
|
111
|
-
phone: "phone";
|
|
112
118
|
external: "external";
|
|
119
|
+
phone: "phone";
|
|
113
120
|
route: "route";
|
|
114
121
|
form: "form";
|
|
115
122
|
download: "download";
|
|
@@ -262,8 +269,8 @@ export declare const ClarifyQuestionOptionSchema: z.ZodObject<{
|
|
|
262
269
|
}, z.core.$strip>>;
|
|
263
270
|
conversionHints: z.ZodOptional<z.ZodObject<{
|
|
264
271
|
protocol: z.ZodEnum<{
|
|
265
|
-
phone: "phone";
|
|
266
272
|
external: "external";
|
|
273
|
+
phone: "phone";
|
|
267
274
|
route: "route";
|
|
268
275
|
form: "form";
|
|
269
276
|
download: "download";
|
|
@@ -327,8 +334,8 @@ export declare const ClarifyQuestionSchema: z.ZodObject<{
|
|
|
327
334
|
}, z.core.$strip>>;
|
|
328
335
|
conversionHints: z.ZodOptional<z.ZodObject<{
|
|
329
336
|
protocol: z.ZodEnum<{
|
|
330
|
-
phone: "phone";
|
|
331
337
|
external: "external";
|
|
338
|
+
phone: "phone";
|
|
332
339
|
route: "route";
|
|
333
340
|
form: "form";
|
|
334
341
|
download: "download";
|
|
@@ -429,8 +436,8 @@ export declare const ClarifyQuestionsSchema: z.ZodObject<{
|
|
|
429
436
|
}, z.core.$strip>>;
|
|
430
437
|
conversionHints: z.ZodOptional<z.ZodObject<{
|
|
431
438
|
protocol: z.ZodEnum<{
|
|
432
|
-
phone: "phone";
|
|
433
439
|
external: "external";
|
|
440
|
+
phone: "phone";
|
|
434
441
|
route: "route";
|
|
435
442
|
form: "form";
|
|
436
443
|
download: "download";
|
|
@@ -671,10 +678,10 @@ export declare const ClarifyRunInputSchema: z.ZodObject<{
|
|
|
671
678
|
facts: z.ZodArray<z.ZodObject<{
|
|
672
679
|
fact: z.ZodString;
|
|
673
680
|
kind: z.ZodEnum<{
|
|
681
|
+
copy: "copy";
|
|
674
682
|
product: "product";
|
|
675
683
|
price: "price";
|
|
676
684
|
contact: "contact";
|
|
677
|
-
copy: "copy";
|
|
678
685
|
audience: "audience";
|
|
679
686
|
other: "other";
|
|
680
687
|
}>;
|
|
@@ -727,10 +734,10 @@ export type ClarifyRunInput = z.infer<typeof ClarifyRunInputSchema>;
|
|
|
727
734
|
*/
|
|
728
735
|
export declare const AgentErrorCategorySchema: z.ZodEnum<{
|
|
729
736
|
unknown: "unknown";
|
|
737
|
+
aborted: "aborted";
|
|
730
738
|
model_schema_invalid: "model_schema_invalid";
|
|
731
739
|
provider_rate_limited: "provider_rate_limited";
|
|
732
740
|
provider_unavailable: "provider_unavailable";
|
|
733
|
-
aborted: "aborted";
|
|
734
741
|
}>;
|
|
735
742
|
export type AgentErrorCategory = z.infer<typeof AgentErrorCategorySchema>;
|
|
736
743
|
export declare const ClarifyStreamEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -784,10 +791,10 @@ export declare const ClarifyStreamEventSchema: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
784
791
|
message: z.ZodString;
|
|
785
792
|
error_category: z.ZodOptional<z.ZodEnum<{
|
|
786
793
|
unknown: "unknown";
|
|
794
|
+
aborted: "aborted";
|
|
787
795
|
model_schema_invalid: "model_schema_invalid";
|
|
788
796
|
provider_rate_limited: "provider_rate_limited";
|
|
789
797
|
provider_unavailable: "provider_unavailable";
|
|
790
|
-
aborted: "aborted";
|
|
791
798
|
}>>;
|
|
792
799
|
retryable: z.ZodOptional<z.ZodBoolean>;
|
|
793
800
|
attempts: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1004,6 +1011,165 @@ export declare const ListDesignerComponentsResponseSchema: z.ZodObject<{
|
|
|
1004
1011
|
message: z.ZodString;
|
|
1005
1012
|
}, z.core.$strip>;
|
|
1006
1013
|
export type ListDesignerComponentsResponse = z.infer<typeof ListDesignerComponentsResponseSchema>;
|
|
1014
|
+
export declare const InstallDesignerComponentResponseSchema: z.ZodObject<{
|
|
1015
|
+
code: z.ZodNumber;
|
|
1016
|
+
data: z.ZodObject<{
|
|
1017
|
+
resource_id: z.ZodString;
|
|
1018
|
+
resolved_version: z.ZodString;
|
|
1019
|
+
revision_id: z.ZodString;
|
|
1020
|
+
digest_sha256: z.ZodString;
|
|
1021
|
+
materialization: z.ZodObject<{
|
|
1022
|
+
instanceBaseName: z.ZodString;
|
|
1023
|
+
files: z.ZodArray<z.ZodObject<{
|
|
1024
|
+
pathTemplate: z.ZodString;
|
|
1025
|
+
content: z.ZodString;
|
|
1026
|
+
role: z.ZodOptional<z.ZodString>;
|
|
1027
|
+
}, z.core.$strict>>;
|
|
1028
|
+
entry: z.ZodObject<{
|
|
1029
|
+
pathTemplate: z.ZodString;
|
|
1030
|
+
export: z.ZodUnion<readonly [z.ZodObject<{
|
|
1031
|
+
kind: z.ZodLiteral<"default">;
|
|
1032
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1033
|
+
kind: z.ZodLiteral<"named">;
|
|
1034
|
+
name: z.ZodString;
|
|
1035
|
+
}, z.core.$strict>]>;
|
|
1036
|
+
}, z.core.$strict>;
|
|
1037
|
+
dataRequirements: z.ZodOptional<z.ZodArray<z.ZodNever>>;
|
|
1038
|
+
}, z.core.$strict>;
|
|
1039
|
+
}, z.core.$strict>;
|
|
1040
|
+
message: z.ZodString;
|
|
1041
|
+
}, z.core.$strip>;
|
|
1042
|
+
export type InstallDesignerComponentResponse = z.infer<typeof InstallDesignerComponentResponseSchema>;
|
|
1043
|
+
export declare const ListDesignerPageCategoriesResponseSchema: z.ZodObject<{
|
|
1044
|
+
code: z.ZodNumber;
|
|
1045
|
+
data: z.ZodObject<{
|
|
1046
|
+
category_group_key: z.ZodLiteral<"insertNewPage">;
|
|
1047
|
+
categories: z.ZodArray<z.ZodType<import("./designer-page-library.js").DesignerPageCategoryNode, unknown, z.core.$ZodTypeInternals<import("./designer-page-library.js").DesignerPageCategoryNode, unknown>>>;
|
|
1048
|
+
}, z.core.$strict>;
|
|
1049
|
+
message: z.ZodString;
|
|
1050
|
+
}, z.core.$strip>;
|
|
1051
|
+
export type ListDesignerPageCategoriesResponse = z.infer<typeof ListDesignerPageCategoriesResponseSchema>;
|
|
1052
|
+
export declare const ListDesignerPagesResponseSchema: z.ZodObject<{
|
|
1053
|
+
code: z.ZodNumber;
|
|
1054
|
+
data: z.ZodObject<{
|
|
1055
|
+
category_group_key: z.ZodLiteral<"insertNewPage">;
|
|
1056
|
+
items: z.ZodArray<z.ZodObject<{
|
|
1057
|
+
resource_id: z.ZodString;
|
|
1058
|
+
resource_type: z.ZodEnum<{
|
|
1059
|
+
page: "page";
|
|
1060
|
+
pages: "pages";
|
|
1061
|
+
}>;
|
|
1062
|
+
name: z.ZodString;
|
|
1063
|
+
description: z.ZodNullable<z.ZodString>;
|
|
1064
|
+
thumbnail_url: z.ZodNullable<z.ZodString>;
|
|
1065
|
+
resolved_version: z.ZodString;
|
|
1066
|
+
category_id: z.ZodNullable<z.ZodString>;
|
|
1067
|
+
}, z.core.$strict>>;
|
|
1068
|
+
next_cursor: z.ZodNullable<z.ZodString>;
|
|
1069
|
+
}, z.core.$strict>;
|
|
1070
|
+
message: z.ZodString;
|
|
1071
|
+
}, z.core.$strip>;
|
|
1072
|
+
export type ListDesignerPagesResponse = z.infer<typeof ListDesignerPagesResponseSchema>;
|
|
1073
|
+
export declare const InstallDesignerPageResponseSchema: z.ZodObject<{
|
|
1074
|
+
code: z.ZodNumber;
|
|
1075
|
+
data: z.ZodObject<{
|
|
1076
|
+
resource_id: z.ZodString;
|
|
1077
|
+
resource_type: z.ZodEnum<{
|
|
1078
|
+
page: "page";
|
|
1079
|
+
pages: "pages";
|
|
1080
|
+
}>;
|
|
1081
|
+
resolved_version: z.ZodString;
|
|
1082
|
+
revision_id: z.ZodString;
|
|
1083
|
+
digest_sha256: z.ZodString;
|
|
1084
|
+
components: z.ZodArray<z.ZodObject<{
|
|
1085
|
+
component_id: z.ZodString;
|
|
1086
|
+
materialization: z.ZodObject<{
|
|
1087
|
+
instanceBaseName: z.ZodString;
|
|
1088
|
+
files: z.ZodArray<z.ZodObject<{
|
|
1089
|
+
pathTemplate: z.ZodString;
|
|
1090
|
+
content: z.ZodString;
|
|
1091
|
+
role: z.ZodOptional<z.ZodString>;
|
|
1092
|
+
}, z.core.$strict>>;
|
|
1093
|
+
entry: z.ZodObject<{
|
|
1094
|
+
pathTemplate: z.ZodString;
|
|
1095
|
+
export: z.ZodUnion<readonly [z.ZodObject<{
|
|
1096
|
+
kind: z.ZodLiteral<"default">;
|
|
1097
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1098
|
+
kind: z.ZodLiteral<"named">;
|
|
1099
|
+
name: z.ZodString;
|
|
1100
|
+
}, z.core.$strict>]>;
|
|
1101
|
+
}, z.core.$strict>;
|
|
1102
|
+
dataRequirements: z.ZodOptional<z.ZodArray<z.ZodNever>>;
|
|
1103
|
+
}, z.core.$strict>;
|
|
1104
|
+
}, z.core.$strict>>;
|
|
1105
|
+
pages: z.ZodArray<z.ZodObject<{
|
|
1106
|
+
template_page_id: z.ZodString;
|
|
1107
|
+
title: z.ZodString;
|
|
1108
|
+
final_route: z.ZodString;
|
|
1109
|
+
materialization: z.ZodObject<{
|
|
1110
|
+
instanceBaseName: z.ZodString;
|
|
1111
|
+
files: z.ZodArray<z.ZodObject<{
|
|
1112
|
+
pathTemplate: z.ZodString;
|
|
1113
|
+
content: z.ZodString;
|
|
1114
|
+
role: z.ZodOptional<z.ZodString>;
|
|
1115
|
+
}, z.core.$strict>>;
|
|
1116
|
+
entry: z.ZodObject<{
|
|
1117
|
+
pathTemplate: z.ZodString;
|
|
1118
|
+
export: z.ZodUnion<readonly [z.ZodObject<{
|
|
1119
|
+
kind: z.ZodLiteral<"default">;
|
|
1120
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1121
|
+
kind: z.ZodLiteral<"named">;
|
|
1122
|
+
name: z.ZodString;
|
|
1123
|
+
}, z.core.$strict>]>;
|
|
1124
|
+
}, z.core.$strict>;
|
|
1125
|
+
dataRequirements: z.ZodOptional<z.ZodArray<z.ZodNever>>;
|
|
1126
|
+
}, z.core.$strict>;
|
|
1127
|
+
components: z.ZodArray<z.ZodObject<{
|
|
1128
|
+
instance_id: z.ZodString;
|
|
1129
|
+
component_id: z.ZodString;
|
|
1130
|
+
}, z.core.$strict>>;
|
|
1131
|
+
}, z.core.$strict>>;
|
|
1132
|
+
project_dependencies: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNever>>;
|
|
1133
|
+
}, z.core.$strict>;
|
|
1134
|
+
message: z.ZodString;
|
|
1135
|
+
}, z.core.$strip>;
|
|
1136
|
+
export type InstallDesignerPageResponse = z.infer<typeof InstallDesignerPageResponseSchema>;
|
|
1137
|
+
export declare const PrepareDesignerPageResponseSchema: z.ZodObject<{
|
|
1138
|
+
code: z.ZodNumber;
|
|
1139
|
+
data: z.ZodObject<{
|
|
1140
|
+
resource_id: z.ZodString;
|
|
1141
|
+
resource_type: z.ZodEnum<{
|
|
1142
|
+
page: "page";
|
|
1143
|
+
pages: "pages";
|
|
1144
|
+
}>;
|
|
1145
|
+
resolved_version: z.ZodString;
|
|
1146
|
+
pages: z.ZodArray<z.ZodObject<{
|
|
1147
|
+
template_page_id: z.ZodString;
|
|
1148
|
+
title: z.ZodString;
|
|
1149
|
+
}, z.core.$strict>>;
|
|
1150
|
+
}, z.core.$strict>;
|
|
1151
|
+
message: z.ZodString;
|
|
1152
|
+
}, z.core.$strip>;
|
|
1153
|
+
export type PrepareDesignerPageResponse = z.infer<typeof PrepareDesignerPageResponseSchema>;
|
|
1154
|
+
export declare const ListDesignerSitePagesResponseSchema: z.ZodObject<{
|
|
1155
|
+
code: z.ZodNumber;
|
|
1156
|
+
data: z.ZodObject<{
|
|
1157
|
+
items: z.ZodArray<z.ZodObject<{
|
|
1158
|
+
title: z.ZodString;
|
|
1159
|
+
route_id: z.ZodString;
|
|
1160
|
+
}, z.core.$strict>>;
|
|
1161
|
+
}, z.core.$strict>;
|
|
1162
|
+
message: z.ZodString;
|
|
1163
|
+
}, z.core.$strip>;
|
|
1164
|
+
export type ListDesignerSitePagesResponse = z.infer<typeof ListDesignerSitePagesResponseSchema>;
|
|
1165
|
+
export declare const EnhanceDesignerPageResourceResponseSchema: z.ZodObject<{
|
|
1166
|
+
code: z.ZodNumber;
|
|
1167
|
+
data: z.ZodObject<{
|
|
1168
|
+
candidate: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
1169
|
+
}, z.core.$strict>;
|
|
1170
|
+
message: z.ZodString;
|
|
1171
|
+
}, z.core.$strip>;
|
|
1172
|
+
export type EnhanceDesignerPageResourceResponse = z.infer<typeof EnhanceDesignerPageResourceResponseSchema>;
|
|
1007
1173
|
export declare const ExternalSyncSiteResponseSchema: z.ZodObject<{
|
|
1008
1174
|
code: z.ZodNumber;
|
|
1009
1175
|
data: z.ZodObject<{
|
|
@@ -2075,9 +2241,10 @@ export declare const CreateAgentRunResponseSchema: z.ZodObject<{
|
|
|
2075
2241
|
export type CreateAgentRunResponse = z.infer<typeof CreateAgentRunResponseSchema>;
|
|
2076
2242
|
export declare const SnapshotStatusSchema: z.ZodEnum<{
|
|
2077
2243
|
failed: "failed";
|
|
2244
|
+
candidate: "candidate";
|
|
2078
2245
|
current: "current";
|
|
2246
|
+
deleting: "deleting";
|
|
2079
2247
|
draft: "draft";
|
|
2080
|
-
candidate: "candidate";
|
|
2081
2248
|
}>;
|
|
2082
2249
|
export type SnapshotStatus = z.infer<typeof SnapshotStatusSchema>;
|
|
2083
2250
|
export declare const SnapshotRecordSchema: z.ZodObject<{
|
|
@@ -2087,18 +2254,21 @@ export declare const SnapshotRecordSchema: z.ZodObject<{
|
|
|
2087
2254
|
version: z.ZodNumber;
|
|
2088
2255
|
manifest_hash: z.ZodString;
|
|
2089
2256
|
object_key: z.ZodString;
|
|
2257
|
+
template_version: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2090
2258
|
reason: z.ZodEnum<{
|
|
2091
2259
|
initial_generation: "initial_generation";
|
|
2092
2260
|
workspace_edit: "workspace_edit";
|
|
2093
2261
|
pre_deploy: "pre_deploy";
|
|
2094
2262
|
manual_save: "manual_save";
|
|
2095
2263
|
rollback: "rollback";
|
|
2264
|
+
template_upgrade: "template_upgrade";
|
|
2096
2265
|
}>;
|
|
2097
2266
|
status: z.ZodEnum<{
|
|
2098
2267
|
failed: "failed";
|
|
2268
|
+
candidate: "candidate";
|
|
2099
2269
|
current: "current";
|
|
2270
|
+
deleting: "deleting";
|
|
2100
2271
|
draft: "draft";
|
|
2101
|
-
candidate: "candidate";
|
|
2102
2272
|
}>;
|
|
2103
2273
|
created_at: z.ZodString;
|
|
2104
2274
|
}, z.core.$strip>;
|
|
@@ -2107,19 +2277,22 @@ export declare const PersistSiteSnapshotRequestSchema: z.ZodObject<{
|
|
|
2107
2277
|
snapshot_id: z.ZodOptional<z.ZodString>;
|
|
2108
2278
|
manifest_hash: z.ZodString;
|
|
2109
2279
|
object_key: z.ZodString;
|
|
2280
|
+
template_version: z.ZodOptional<z.ZodString>;
|
|
2110
2281
|
reason: z.ZodEnum<{
|
|
2111
2282
|
initial_generation: "initial_generation";
|
|
2112
2283
|
workspace_edit: "workspace_edit";
|
|
2113
2284
|
pre_deploy: "pre_deploy";
|
|
2114
2285
|
manual_save: "manual_save";
|
|
2115
2286
|
rollback: "rollback";
|
|
2287
|
+
template_upgrade: "template_upgrade";
|
|
2116
2288
|
}>;
|
|
2117
2289
|
status: z.ZodDefault<z.ZodEnum<{
|
|
2118
2290
|
failed: "failed";
|
|
2291
|
+
candidate: "candidate";
|
|
2119
2292
|
current: "current";
|
|
2120
2293
|
draft: "draft";
|
|
2121
|
-
candidate: "candidate";
|
|
2122
2294
|
}>>;
|
|
2295
|
+
source_run_id: z.ZodOptional<z.ZodString>;
|
|
2123
2296
|
}, z.core.$strip>;
|
|
2124
2297
|
export type PersistSiteSnapshotRequest = z.input<typeof PersistSiteSnapshotRequestSchema>;
|
|
2125
2298
|
export declare const PersistSiteSnapshotResponseSchema: z.ZodObject<{
|
|
@@ -2345,24 +2518,40 @@ export declare const PersistSiteSnapshotResponseSchema: z.ZodObject<{
|
|
|
2345
2518
|
version: z.ZodNumber;
|
|
2346
2519
|
manifest_hash: z.ZodString;
|
|
2347
2520
|
object_key: z.ZodString;
|
|
2521
|
+
template_version: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2348
2522
|
reason: z.ZodEnum<{
|
|
2349
2523
|
initial_generation: "initial_generation";
|
|
2350
2524
|
workspace_edit: "workspace_edit";
|
|
2351
2525
|
pre_deploy: "pre_deploy";
|
|
2352
2526
|
manual_save: "manual_save";
|
|
2353
2527
|
rollback: "rollback";
|
|
2528
|
+
template_upgrade: "template_upgrade";
|
|
2354
2529
|
}>;
|
|
2355
2530
|
status: z.ZodEnum<{
|
|
2356
2531
|
failed: "failed";
|
|
2532
|
+
candidate: "candidate";
|
|
2357
2533
|
current: "current";
|
|
2534
|
+
deleting: "deleting";
|
|
2358
2535
|
draft: "draft";
|
|
2359
|
-
candidate: "candidate";
|
|
2360
2536
|
}>;
|
|
2361
2537
|
created_at: z.ZodString;
|
|
2362
2538
|
}, z.core.$strip>;
|
|
2363
2539
|
next_step: z.ZodLiteral<"workspace">;
|
|
2364
2540
|
}, z.core.$strip>;
|
|
2365
2541
|
export type PersistSiteSnapshotResponse = z.infer<typeof PersistSiteSnapshotResponseSchema>;
|
|
2542
|
+
export declare const UpdateCurrentSnapshotManifestRequestSchema: z.ZodObject<{
|
|
2543
|
+
expected_manifest_hash: z.ZodString;
|
|
2544
|
+
manifest_hash: z.ZodString;
|
|
2545
|
+
object_key: z.ZodString;
|
|
2546
|
+
}, z.core.$strict>;
|
|
2547
|
+
export type UpdateCurrentSnapshotManifestRequest = z.infer<typeof UpdateCurrentSnapshotManifestRequestSchema>;
|
|
2548
|
+
export declare const PromoteSiteSnapshotRequestSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
2549
|
+
base_snapshot_id: z.ZodNullable<z.ZodString>;
|
|
2550
|
+
source_run_id: z.ZodOptional<z.ZodString>;
|
|
2551
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2552
|
+
skip_base_check: z.ZodLiteral<true>;
|
|
2553
|
+
}, z.core.$strict>]>;
|
|
2554
|
+
export type PromoteSiteSnapshotRequest = z.infer<typeof PromoteSiteSnapshotRequestSchema>;
|
|
2366
2555
|
export declare const PromoteSiteSnapshotResponseSchema: z.ZodObject<{
|
|
2367
2556
|
site: z.ZodObject<{
|
|
2368
2557
|
id: z.ZodString;
|
|
@@ -2586,34 +2775,72 @@ export declare const PromoteSiteSnapshotResponseSchema: z.ZodObject<{
|
|
|
2586
2775
|
version: z.ZodNumber;
|
|
2587
2776
|
manifest_hash: z.ZodString;
|
|
2588
2777
|
object_key: z.ZodString;
|
|
2778
|
+
template_version: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2589
2779
|
reason: z.ZodEnum<{
|
|
2590
2780
|
initial_generation: "initial_generation";
|
|
2591
2781
|
workspace_edit: "workspace_edit";
|
|
2592
2782
|
pre_deploy: "pre_deploy";
|
|
2593
2783
|
manual_save: "manual_save";
|
|
2594
2784
|
rollback: "rollback";
|
|
2785
|
+
template_upgrade: "template_upgrade";
|
|
2595
2786
|
}>;
|
|
2596
2787
|
status: z.ZodEnum<{
|
|
2597
2788
|
failed: "failed";
|
|
2789
|
+
candidate: "candidate";
|
|
2598
2790
|
current: "current";
|
|
2791
|
+
deleting: "deleting";
|
|
2599
2792
|
draft: "draft";
|
|
2600
|
-
candidate: "candidate";
|
|
2601
2793
|
}>;
|
|
2602
2794
|
created_at: z.ZodString;
|
|
2603
2795
|
}, z.core.$strip>;
|
|
2604
2796
|
next_step: z.ZodLiteral<"workspace">;
|
|
2605
2797
|
}, z.core.$strip>;
|
|
2606
2798
|
export type PromoteSiteSnapshotResponse = z.infer<typeof PromoteSiteSnapshotResponseSchema>;
|
|
2799
|
+
export declare const AbandonSiteSnapshotResponseSchema: z.ZodObject<{
|
|
2800
|
+
snapshot: z.ZodObject<{
|
|
2801
|
+
id: z.ZodString;
|
|
2802
|
+
tenant_id: z.ZodString;
|
|
2803
|
+
site_id: z.ZodString;
|
|
2804
|
+
version: z.ZodNumber;
|
|
2805
|
+
manifest_hash: z.ZodString;
|
|
2806
|
+
object_key: z.ZodString;
|
|
2807
|
+
template_version: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2808
|
+
reason: z.ZodEnum<{
|
|
2809
|
+
initial_generation: "initial_generation";
|
|
2810
|
+
workspace_edit: "workspace_edit";
|
|
2811
|
+
pre_deploy: "pre_deploy";
|
|
2812
|
+
manual_save: "manual_save";
|
|
2813
|
+
rollback: "rollback";
|
|
2814
|
+
template_upgrade: "template_upgrade";
|
|
2815
|
+
}>;
|
|
2816
|
+
status: z.ZodEnum<{
|
|
2817
|
+
failed: "failed";
|
|
2818
|
+
candidate: "candidate";
|
|
2819
|
+
current: "current";
|
|
2820
|
+
deleting: "deleting";
|
|
2821
|
+
draft: "draft";
|
|
2822
|
+
}>;
|
|
2823
|
+
created_at: z.ZodString;
|
|
2824
|
+
}, z.core.$strip>;
|
|
2825
|
+
}, z.core.$strip>;
|
|
2826
|
+
export type AbandonSiteSnapshotResponse = z.infer<typeof AbandonSiteSnapshotResponseSchema>;
|
|
2607
2827
|
/**
|
|
2608
|
-
*
|
|
2609
|
-
*
|
|
2610
|
-
*
|
|
2828
|
+
* 开始 candidate snapshot 的两阶段删除。API 先原子地把可删除 candidate
|
|
2829
|
+
* 转为 deleting,并返回 object_key;调用方删除对象后必须调用 completion
|
|
2830
|
+
* endpoint,API 才会删除 DB tombstone。current、被引用或非 candidate 快照
|
|
2831
|
+
* 一律拒绝(硬安全网)。
|
|
2611
2832
|
*/
|
|
2612
2833
|
export declare const DeleteSiteSnapshotResponseSchema: z.ZodObject<{
|
|
2613
|
-
status: z.ZodLiteral<"
|
|
2834
|
+
status: z.ZodLiteral<"deleting">;
|
|
2614
2835
|
snapshot_id: z.ZodString;
|
|
2836
|
+
object_key: z.ZodString;
|
|
2615
2837
|
}, z.core.$strip>;
|
|
2616
2838
|
export type DeleteSiteSnapshotResponse = z.infer<typeof DeleteSiteSnapshotResponseSchema>;
|
|
2839
|
+
export declare const CompleteSiteSnapshotDeletionResponseSchema: z.ZodObject<{
|
|
2840
|
+
status: z.ZodLiteral<"deleted">;
|
|
2841
|
+
snapshot_id: z.ZodString;
|
|
2842
|
+
}, z.core.$strip>;
|
|
2843
|
+
export type CompleteSiteSnapshotDeletionResponse = z.infer<typeof CompleteSiteSnapshotDeletionResponseSchema>;
|
|
2617
2844
|
/**
|
|
2618
2845
|
* 站点版本历史记录(决策 #8/#9):DB 是事实源,sandbox git 是事务层。
|
|
2619
2846
|
* 每条记录把一个 promote 过的 snapshot 版本 ↔ sandbox accepted git commit ↔
|
|
@@ -2651,12 +2878,14 @@ export declare const SiteVersionListItemSchema: z.ZodObject<{
|
|
|
2651
2878
|
pre_deploy: "pre_deploy";
|
|
2652
2879
|
manual_save: "manual_save";
|
|
2653
2880
|
rollback: "rollback";
|
|
2881
|
+
template_upgrade: "template_upgrade";
|
|
2654
2882
|
}>;
|
|
2655
2883
|
status: z.ZodEnum<{
|
|
2656
2884
|
failed: "failed";
|
|
2885
|
+
candidate: "candidate";
|
|
2657
2886
|
current: "current";
|
|
2887
|
+
deleting: "deleting";
|
|
2658
2888
|
draft: "draft";
|
|
2659
|
-
candidate: "candidate";
|
|
2660
2889
|
}>;
|
|
2661
2890
|
}, z.core.$strip>;
|
|
2662
2891
|
export type SiteVersionListItem = z.infer<typeof SiteVersionListItemSchema>;
|
|
@@ -2679,6 +2908,275 @@ export declare const RecordSnapshotVersionResponseSchema: z.ZodObject<{
|
|
|
2679
2908
|
next_step: z.ZodLiteral<"workspace">;
|
|
2680
2909
|
}, z.core.$strip>;
|
|
2681
2910
|
export type RecordSnapshotVersionResponse = z.infer<typeof RecordSnapshotVersionResponseSchema>;
|
|
2911
|
+
export declare const TryAcquireTemplateUpgradeLockRequestSchema: z.ZodObject<{
|
|
2912
|
+
owner_id: z.ZodString;
|
|
2913
|
+
}, z.core.$strict>;
|
|
2914
|
+
export type TryAcquireTemplateUpgradeLockRequest = z.infer<typeof TryAcquireTemplateUpgradeLockRequestSchema>;
|
|
2915
|
+
export declare const TryAcquireTemplateUpgradeLockResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2916
|
+
acquired: z.ZodLiteral<true>;
|
|
2917
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2918
|
+
acquired: z.ZodLiteral<false>;
|
|
2919
|
+
}, z.core.$strict>], "acquired">;
|
|
2920
|
+
export type TryAcquireTemplateUpgradeLockResponse = z.infer<typeof TryAcquireTemplateUpgradeLockResponseSchema>;
|
|
2921
|
+
export declare const ReleaseTemplateUpgradeLockRequestSchema: z.ZodObject<{
|
|
2922
|
+
owner_id: z.ZodString;
|
|
2923
|
+
}, z.core.$strict>;
|
|
2924
|
+
export type ReleaseTemplateUpgradeLockRequest = z.infer<typeof ReleaseTemplateUpgradeLockRequestSchema>;
|
|
2925
|
+
export declare const ReleaseTemplateUpgradeLockResponseSchema: z.ZodObject<{
|
|
2926
|
+
released: z.ZodLiteral<true>;
|
|
2927
|
+
}, z.core.$strict>;
|
|
2928
|
+
export type ReleaseTemplateUpgradeLockResponse = z.infer<typeof ReleaseTemplateUpgradeLockResponseSchema>;
|
|
2929
|
+
export declare const TEMPLATE_UPGRADE_LOCK_LOST_ERROR_CODE: "TEMPLATE_UPGRADE_LOCK_LOST";
|
|
2930
|
+
export declare const PromoteTemplateUpgradeSnapshotRequestSchema: z.ZodObject<{
|
|
2931
|
+
base_snapshot_id: z.ZodString;
|
|
2932
|
+
accepted_commit: z.ZodString;
|
|
2933
|
+
owner_id: z.ZodString;
|
|
2934
|
+
}, z.core.$strict>;
|
|
2935
|
+
export type PromoteTemplateUpgradeSnapshotRequest = z.infer<typeof PromoteTemplateUpgradeSnapshotRequestSchema>;
|
|
2936
|
+
export declare const PromoteTemplateUpgradeSnapshotResponseSchema: z.ZodObject<{
|
|
2937
|
+
site: z.ZodObject<{
|
|
2938
|
+
id: z.ZodString;
|
|
2939
|
+
tenant_id: z.ZodString;
|
|
2940
|
+
owner_user_id: z.ZodNullable<z.ZodString>;
|
|
2941
|
+
name: z.ZodString;
|
|
2942
|
+
slug: z.ZodString;
|
|
2943
|
+
status: z.ZodEnum<{
|
|
2944
|
+
error: "error";
|
|
2945
|
+
draft: "draft";
|
|
2946
|
+
brief_submitted: "brief_submitted";
|
|
2947
|
+
clarifying: "clarifying";
|
|
2948
|
+
sitemap_ready: "sitemap_ready";
|
|
2949
|
+
workspace_ready: "workspace_ready";
|
|
2950
|
+
deployed: "deployed";
|
|
2951
|
+
archived: "archived";
|
|
2952
|
+
}>;
|
|
2953
|
+
generation_state: z.ZodEnum<{
|
|
2954
|
+
planning: "planning";
|
|
2955
|
+
initial_generation_running: "initial_generation_running";
|
|
2956
|
+
generated: "generated";
|
|
2957
|
+
}>;
|
|
2958
|
+
planning_locked_at: z.ZodNullable<z.ZodString>;
|
|
2959
|
+
current_sitemap_id: z.ZodNullable<z.ZodString>;
|
|
2960
|
+
current_snapshot_id: z.ZodNullable<z.ZodString>;
|
|
2961
|
+
deployed_url: z.ZodNullable<z.ZodString>;
|
|
2962
|
+
default_locale: z.ZodEnum<{
|
|
2963
|
+
id: "id";
|
|
2964
|
+
"zh-CN": "zh-CN";
|
|
2965
|
+
"zh-HK": "zh-HK";
|
|
2966
|
+
"zh-TW": "zh-TW";
|
|
2967
|
+
"en-US": "en-US";
|
|
2968
|
+
"en-GB": "en-GB";
|
|
2969
|
+
"ja-JP": "ja-JP";
|
|
2970
|
+
"ko-KR": "ko-KR";
|
|
2971
|
+
"es-ES": "es-ES";
|
|
2972
|
+
"fr-FR": "fr-FR";
|
|
2973
|
+
"de-DE": "de-DE";
|
|
2974
|
+
"pt-PT": "pt-PT";
|
|
2975
|
+
"ru-RU": "ru-RU";
|
|
2976
|
+
"ar-SA": "ar-SA";
|
|
2977
|
+
"id-ID": "id-ID";
|
|
2978
|
+
"vi-VN": "vi-VN";
|
|
2979
|
+
"th-TH": "th-TH";
|
|
2980
|
+
"it-IT": "it-IT";
|
|
2981
|
+
"nl-NL": "nl-NL";
|
|
2982
|
+
"tr-TR": "tr-TR";
|
|
2983
|
+
"pl-PL": "pl-PL";
|
|
2984
|
+
"uk-UA": "uk-UA";
|
|
2985
|
+
"cs-CZ": "cs-CZ";
|
|
2986
|
+
"sk-SK": "sk-SK";
|
|
2987
|
+
"hu-HU": "hu-HU";
|
|
2988
|
+
"ro-RO": "ro-RO";
|
|
2989
|
+
"el-GR": "el-GR";
|
|
2990
|
+
"sv-SE": "sv-SE";
|
|
2991
|
+
"da-DK": "da-DK";
|
|
2992
|
+
"fi-FI": "fi-FI";
|
|
2993
|
+
"hr-HR": "hr-HR";
|
|
2994
|
+
"lt-LT": "lt-LT";
|
|
2995
|
+
"lv-LV": "lv-LV";
|
|
2996
|
+
"et-EE": "et-EE";
|
|
2997
|
+
"ga-IE": "ga-IE";
|
|
2998
|
+
"mt-MT": "mt-MT";
|
|
2999
|
+
"ka-GE": "ka-GE";
|
|
3000
|
+
"fa-IR": "fa-IR";
|
|
3001
|
+
"bn-BD": "bn-BD";
|
|
3002
|
+
"ta-IN": "ta-IN";
|
|
3003
|
+
"si-LK": "si-LK";
|
|
3004
|
+
"ms-MY": "ms-MY";
|
|
3005
|
+
"fil-PH": "fil-PH";
|
|
3006
|
+
"my-MM": "my-MM";
|
|
3007
|
+
"km-KH": "km-KH";
|
|
3008
|
+
"lo-LA": "lo-LA";
|
|
3009
|
+
"mn-MN": "mn-MN";
|
|
3010
|
+
"kk-KZ": "kk-KZ";
|
|
3011
|
+
en: "en";
|
|
3012
|
+
ja: "ja";
|
|
3013
|
+
es: "es";
|
|
3014
|
+
fr: "fr";
|
|
3015
|
+
de: "de";
|
|
3016
|
+
ko: "ko";
|
|
3017
|
+
pt: "pt";
|
|
3018
|
+
"pt-BR": "pt-BR";
|
|
3019
|
+
it: "it";
|
|
3020
|
+
ru: "ru";
|
|
3021
|
+
ar: "ar";
|
|
3022
|
+
hi: "hi";
|
|
3023
|
+
vi: "vi";
|
|
3024
|
+
th: "th";
|
|
3025
|
+
tr: "tr";
|
|
3026
|
+
nl: "nl";
|
|
3027
|
+
pl: "pl";
|
|
3028
|
+
uk: "uk";
|
|
3029
|
+
sv: "sv";
|
|
3030
|
+
da: "da";
|
|
3031
|
+
fi: "fi";
|
|
3032
|
+
no: "no";
|
|
3033
|
+
cs: "cs";
|
|
3034
|
+
el: "el";
|
|
3035
|
+
hu: "hu";
|
|
3036
|
+
ro: "ro";
|
|
3037
|
+
he: "he";
|
|
3038
|
+
ms: "ms";
|
|
3039
|
+
fil: "fil";
|
|
3040
|
+
bn: "bn";
|
|
3041
|
+
ta: "ta";
|
|
3042
|
+
ca: "ca";
|
|
3043
|
+
sk: "sk";
|
|
3044
|
+
hr: "hr";
|
|
3045
|
+
bg: "bg";
|
|
3046
|
+
lt: "lt";
|
|
3047
|
+
lv: "lv";
|
|
3048
|
+
et: "et";
|
|
3049
|
+
fa: "fa";
|
|
3050
|
+
sw: "sw";
|
|
3051
|
+
sr: "sr";
|
|
3052
|
+
is: "is";
|
|
3053
|
+
}>;
|
|
3054
|
+
owner_locale: z.ZodOptional<z.ZodEnum<{
|
|
3055
|
+
id: "id";
|
|
3056
|
+
"zh-CN": "zh-CN";
|
|
3057
|
+
"zh-HK": "zh-HK";
|
|
3058
|
+
"zh-TW": "zh-TW";
|
|
3059
|
+
"en-US": "en-US";
|
|
3060
|
+
"en-GB": "en-GB";
|
|
3061
|
+
"ja-JP": "ja-JP";
|
|
3062
|
+
"ko-KR": "ko-KR";
|
|
3063
|
+
"es-ES": "es-ES";
|
|
3064
|
+
"fr-FR": "fr-FR";
|
|
3065
|
+
"de-DE": "de-DE";
|
|
3066
|
+
"pt-PT": "pt-PT";
|
|
3067
|
+
"ru-RU": "ru-RU";
|
|
3068
|
+
"ar-SA": "ar-SA";
|
|
3069
|
+
"id-ID": "id-ID";
|
|
3070
|
+
"vi-VN": "vi-VN";
|
|
3071
|
+
"th-TH": "th-TH";
|
|
3072
|
+
"it-IT": "it-IT";
|
|
3073
|
+
"nl-NL": "nl-NL";
|
|
3074
|
+
"tr-TR": "tr-TR";
|
|
3075
|
+
"pl-PL": "pl-PL";
|
|
3076
|
+
"uk-UA": "uk-UA";
|
|
3077
|
+
"cs-CZ": "cs-CZ";
|
|
3078
|
+
"sk-SK": "sk-SK";
|
|
3079
|
+
"hu-HU": "hu-HU";
|
|
3080
|
+
"ro-RO": "ro-RO";
|
|
3081
|
+
"el-GR": "el-GR";
|
|
3082
|
+
"sv-SE": "sv-SE";
|
|
3083
|
+
"da-DK": "da-DK";
|
|
3084
|
+
"fi-FI": "fi-FI";
|
|
3085
|
+
"hr-HR": "hr-HR";
|
|
3086
|
+
"lt-LT": "lt-LT";
|
|
3087
|
+
"lv-LV": "lv-LV";
|
|
3088
|
+
"et-EE": "et-EE";
|
|
3089
|
+
"ga-IE": "ga-IE";
|
|
3090
|
+
"mt-MT": "mt-MT";
|
|
3091
|
+
"ka-GE": "ka-GE";
|
|
3092
|
+
"fa-IR": "fa-IR";
|
|
3093
|
+
"bn-BD": "bn-BD";
|
|
3094
|
+
"ta-IN": "ta-IN";
|
|
3095
|
+
"si-LK": "si-LK";
|
|
3096
|
+
"ms-MY": "ms-MY";
|
|
3097
|
+
"fil-PH": "fil-PH";
|
|
3098
|
+
"my-MM": "my-MM";
|
|
3099
|
+
"km-KH": "km-KH";
|
|
3100
|
+
"lo-LA": "lo-LA";
|
|
3101
|
+
"mn-MN": "mn-MN";
|
|
3102
|
+
"kk-KZ": "kk-KZ";
|
|
3103
|
+
en: "en";
|
|
3104
|
+
ja: "ja";
|
|
3105
|
+
es: "es";
|
|
3106
|
+
fr: "fr";
|
|
3107
|
+
de: "de";
|
|
3108
|
+
ko: "ko";
|
|
3109
|
+
pt: "pt";
|
|
3110
|
+
"pt-BR": "pt-BR";
|
|
3111
|
+
it: "it";
|
|
3112
|
+
ru: "ru";
|
|
3113
|
+
ar: "ar";
|
|
3114
|
+
hi: "hi";
|
|
3115
|
+
vi: "vi";
|
|
3116
|
+
th: "th";
|
|
3117
|
+
tr: "tr";
|
|
3118
|
+
nl: "nl";
|
|
3119
|
+
pl: "pl";
|
|
3120
|
+
uk: "uk";
|
|
3121
|
+
sv: "sv";
|
|
3122
|
+
da: "da";
|
|
3123
|
+
fi: "fi";
|
|
3124
|
+
no: "no";
|
|
3125
|
+
cs: "cs";
|
|
3126
|
+
el: "el";
|
|
3127
|
+
hu: "hu";
|
|
3128
|
+
ro: "ro";
|
|
3129
|
+
he: "he";
|
|
3130
|
+
ms: "ms";
|
|
3131
|
+
fil: "fil";
|
|
3132
|
+
bn: "bn";
|
|
3133
|
+
ta: "ta";
|
|
3134
|
+
ca: "ca";
|
|
3135
|
+
sk: "sk";
|
|
3136
|
+
hr: "hr";
|
|
3137
|
+
bg: "bg";
|
|
3138
|
+
lt: "lt";
|
|
3139
|
+
lv: "lv";
|
|
3140
|
+
et: "et";
|
|
3141
|
+
fa: "fa";
|
|
3142
|
+
sw: "sw";
|
|
3143
|
+
sr: "sr";
|
|
3144
|
+
is: "is";
|
|
3145
|
+
}>>;
|
|
3146
|
+
cms_site_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3147
|
+
cms_site_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3148
|
+
schema_version: z.ZodLiteral<1>;
|
|
3149
|
+
created_at: z.ZodString;
|
|
3150
|
+
updated_at: z.ZodString;
|
|
3151
|
+
}, z.core.$strip>;
|
|
3152
|
+
snapshot: z.ZodObject<{
|
|
3153
|
+
id: z.ZodString;
|
|
3154
|
+
tenant_id: z.ZodString;
|
|
3155
|
+
site_id: z.ZodString;
|
|
3156
|
+
version: z.ZodNumber;
|
|
3157
|
+
manifest_hash: z.ZodString;
|
|
3158
|
+
object_key: z.ZodString;
|
|
3159
|
+
template_version: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3160
|
+
reason: z.ZodEnum<{
|
|
3161
|
+
initial_generation: "initial_generation";
|
|
3162
|
+
workspace_edit: "workspace_edit";
|
|
3163
|
+
pre_deploy: "pre_deploy";
|
|
3164
|
+
manual_save: "manual_save";
|
|
3165
|
+
rollback: "rollback";
|
|
3166
|
+
template_upgrade: "template_upgrade";
|
|
3167
|
+
}>;
|
|
3168
|
+
status: z.ZodEnum<{
|
|
3169
|
+
failed: "failed";
|
|
3170
|
+
candidate: "candidate";
|
|
3171
|
+
current: "current";
|
|
3172
|
+
deleting: "deleting";
|
|
3173
|
+
draft: "draft";
|
|
3174
|
+
}>;
|
|
3175
|
+
created_at: z.ZodString;
|
|
3176
|
+
}, z.core.$strip>;
|
|
3177
|
+
next_step: z.ZodLiteral<"workspace">;
|
|
3178
|
+
}, z.core.$strict>;
|
|
3179
|
+
export type PromoteTemplateUpgradeSnapshotResponse = z.infer<typeof PromoteTemplateUpgradeSnapshotResponseSchema>;
|
|
2682
3180
|
export declare const ListSiteVersionsResponseSchema: z.ZodObject<{
|
|
2683
3181
|
site_versions: z.ZodArray<z.ZodObject<{
|
|
2684
3182
|
id: z.ZodString;
|
|
@@ -2695,12 +3193,14 @@ export declare const ListSiteVersionsResponseSchema: z.ZodObject<{
|
|
|
2695
3193
|
pre_deploy: "pre_deploy";
|
|
2696
3194
|
manual_save: "manual_save";
|
|
2697
3195
|
rollback: "rollback";
|
|
3196
|
+
template_upgrade: "template_upgrade";
|
|
2698
3197
|
}>;
|
|
2699
3198
|
status: z.ZodEnum<{
|
|
2700
3199
|
failed: "failed";
|
|
3200
|
+
candidate: "candidate";
|
|
2701
3201
|
current: "current";
|
|
3202
|
+
deleting: "deleting";
|
|
2702
3203
|
draft: "draft";
|
|
2703
|
-
candidate: "candidate";
|
|
2704
3204
|
}>;
|
|
2705
3205
|
}, z.core.$strip>>;
|
|
2706
3206
|
}, z.core.$strip>;
|
|
@@ -2928,18 +3428,21 @@ export declare const RestoreSiteSnapshotResponseSchema: z.ZodObject<{
|
|
|
2928
3428
|
version: z.ZodNumber;
|
|
2929
3429
|
manifest_hash: z.ZodString;
|
|
2930
3430
|
object_key: z.ZodString;
|
|
3431
|
+
template_version: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2931
3432
|
reason: z.ZodEnum<{
|
|
2932
3433
|
initial_generation: "initial_generation";
|
|
2933
3434
|
workspace_edit: "workspace_edit";
|
|
2934
3435
|
pre_deploy: "pre_deploy";
|
|
2935
3436
|
manual_save: "manual_save";
|
|
2936
3437
|
rollback: "rollback";
|
|
3438
|
+
template_upgrade: "template_upgrade";
|
|
2937
3439
|
}>;
|
|
2938
3440
|
status: z.ZodEnum<{
|
|
2939
3441
|
failed: "failed";
|
|
3442
|
+
candidate: "candidate";
|
|
2940
3443
|
current: "current";
|
|
3444
|
+
deleting: "deleting";
|
|
2941
3445
|
draft: "draft";
|
|
2942
|
-
candidate: "candidate";
|
|
2943
3446
|
}>;
|
|
2944
3447
|
created_at: z.ZodString;
|
|
2945
3448
|
}, z.core.$strip>;
|
|
@@ -2966,16 +3469,16 @@ export declare const PrepareVersionPreviewRequestSchema: z.ZodObject<{
|
|
|
2966
3469
|
force_rehydrate: z.ZodOptional<z.ZodBoolean>;
|
|
2967
3470
|
}, z.core.$strip>;
|
|
2968
3471
|
export type PrepareVersionPreviewRequest = z.infer<typeof PrepareVersionPreviewRequestSchema>;
|
|
2969
|
-
export declare const PrepareVersionPreviewResponseSchema: z.ZodObject<{
|
|
2970
|
-
status: z.
|
|
2971
|
-
|
|
2972
|
-
|
|
2973
|
-
|
|
2974
|
-
|
|
2975
|
-
code: z.
|
|
2976
|
-
message: z.
|
|
2977
|
-
retryable: z.
|
|
2978
|
-
}, z.core.$strip>;
|
|
3472
|
+
export declare const PrepareVersionPreviewResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3473
|
+
status: z.ZodLiteral<"ready">;
|
|
3474
|
+
snapshot_id: z.ZodString;
|
|
3475
|
+
preview_url: z.ZodString;
|
|
3476
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3477
|
+
status: z.ZodLiteral<"failed">;
|
|
3478
|
+
code: z.ZodString;
|
|
3479
|
+
message: z.ZodString;
|
|
3480
|
+
retryable: z.ZodBoolean;
|
|
3481
|
+
}, z.core.$strip>], "status">;
|
|
2979
3482
|
export type PrepareVersionPreviewResponse = z.infer<typeof PrepareVersionPreviewResponseSchema>;
|
|
2980
3483
|
export declare const DEPLOYMENT_ENTITLEMENT_REQUIRED_ERROR_CODE: "DEPLOYMENT_ENTITLEMENT_REQUIRED";
|
|
2981
3484
|
export declare const DeploymentStatusSchema: z.ZodEnum<{
|
|
@@ -3722,8 +4225,8 @@ export declare const RouteGenerationCardSchema: z.ZodObject<{
|
|
|
3722
4225
|
export type RouteGenerationCard = z.infer<typeof RouteGenerationCardSchema>;
|
|
3723
4226
|
export declare const ActivityKindSchema: z.ZodEnum<{
|
|
3724
4227
|
preview: "preview";
|
|
3725
|
-
model_call: "model_call";
|
|
3726
4228
|
validation: "validation";
|
|
4229
|
+
model_call: "model_call";
|
|
3727
4230
|
repair: "repair";
|
|
3728
4231
|
worker_group: "worker_group";
|
|
3729
4232
|
}>;
|
|
@@ -4428,8 +4931,8 @@ export declare const SitemapSchema: z.ZodObject<{
|
|
|
4428
4931
|
confirmedChoices: z.ZodOptional<z.ZodObject<{
|
|
4429
4932
|
conversion: z.ZodOptional<z.ZodObject<{
|
|
4430
4933
|
protocol: z.ZodEnum<{
|
|
4431
|
-
phone: "phone";
|
|
4432
4934
|
external: "external";
|
|
4935
|
+
phone: "phone";
|
|
4433
4936
|
route: "route";
|
|
4434
4937
|
form: "form";
|
|
4435
4938
|
download: "download";
|
|
@@ -4747,8 +5250,8 @@ export declare const SitemapAnswerSchema: z.ZodObject<{
|
|
|
4747
5250
|
}, z.core.$strip>>;
|
|
4748
5251
|
conversion: z.ZodOptional<z.ZodObject<{
|
|
4749
5252
|
protocol: z.ZodEnum<{
|
|
4750
|
-
phone: "phone";
|
|
4751
5253
|
external: "external";
|
|
5254
|
+
phone: "phone";
|
|
4752
5255
|
route: "route";
|
|
4753
5256
|
form: "form";
|
|
4754
5257
|
download: "download";
|
|
@@ -4817,8 +5320,8 @@ export declare const SitemapRunInputSchema: z.ZodObject<{
|
|
|
4817
5320
|
}, z.core.$strip>>;
|
|
4818
5321
|
conversion: z.ZodOptional<z.ZodObject<{
|
|
4819
5322
|
protocol: z.ZodEnum<{
|
|
4820
|
-
phone: "phone";
|
|
4821
5323
|
external: "external";
|
|
5324
|
+
phone: "phone";
|
|
4822
5325
|
route: "route";
|
|
4823
5326
|
form: "form";
|
|
4824
5327
|
download: "download";
|
|
@@ -5044,10 +5547,10 @@ export declare const SitemapRunInputSchema: z.ZodObject<{
|
|
|
5044
5547
|
facts: z.ZodArray<z.ZodObject<{
|
|
5045
5548
|
fact: z.ZodString;
|
|
5046
5549
|
kind: z.ZodEnum<{
|
|
5550
|
+
copy: "copy";
|
|
5047
5551
|
product: "product";
|
|
5048
5552
|
price: "price";
|
|
5049
5553
|
contact: "contact";
|
|
5050
|
-
copy: "copy";
|
|
5051
5554
|
audience: "audience";
|
|
5052
5555
|
other: "other";
|
|
5053
5556
|
}>;
|
|
@@ -5238,8 +5741,8 @@ export declare const SitemapStreamEventSchema: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
5238
5741
|
confirmedChoices: z.ZodOptional<z.ZodObject<{
|
|
5239
5742
|
conversion: z.ZodOptional<z.ZodObject<{
|
|
5240
5743
|
protocol: z.ZodEnum<{
|
|
5241
|
-
phone: "phone";
|
|
5242
5744
|
external: "external";
|
|
5745
|
+
phone: "phone";
|
|
5243
5746
|
route: "route";
|
|
5244
5747
|
form: "form";
|
|
5245
5748
|
download: "download";
|
|
@@ -5419,8 +5922,8 @@ export declare const SitemapRecordSchema: z.ZodObject<{
|
|
|
5419
5922
|
confirmedChoices: z.ZodOptional<z.ZodObject<{
|
|
5420
5923
|
conversion: z.ZodOptional<z.ZodObject<{
|
|
5421
5924
|
protocol: z.ZodEnum<{
|
|
5422
|
-
phone: "phone";
|
|
5423
5925
|
external: "external";
|
|
5926
|
+
phone: "phone";
|
|
5424
5927
|
route: "route";
|
|
5425
5928
|
form: "form";
|
|
5426
5929
|
download: "download";
|
|
@@ -5560,8 +6063,8 @@ export declare const PersistSiteSitemapRequestSchema: z.ZodObject<{
|
|
|
5560
6063
|
confirmedChoices: z.ZodOptional<z.ZodObject<{
|
|
5561
6064
|
conversion: z.ZodOptional<z.ZodObject<{
|
|
5562
6065
|
protocol: z.ZodEnum<{
|
|
5563
|
-
phone: "phone";
|
|
5564
6066
|
external: "external";
|
|
6067
|
+
phone: "phone";
|
|
5565
6068
|
route: "route";
|
|
5566
6069
|
form: "form";
|
|
5567
6070
|
download: "download";
|
|
@@ -5918,8 +6421,8 @@ export declare const PersistSiteSitemapResponseSchema: z.ZodObject<{
|
|
|
5918
6421
|
confirmedChoices: z.ZodOptional<z.ZodObject<{
|
|
5919
6422
|
conversion: z.ZodOptional<z.ZodObject<{
|
|
5920
6423
|
protocol: z.ZodEnum<{
|
|
5921
|
-
phone: "phone";
|
|
5922
6424
|
external: "external";
|
|
6425
|
+
phone: "phone";
|
|
5923
6426
|
route: "route";
|
|
5924
6427
|
form: "form";
|
|
5925
6428
|
download: "download";
|
|
@@ -5997,8 +6500,8 @@ export declare const ClarifySessionRecordSchema: z.ZodObject<{
|
|
|
5997
6500
|
}, z.core.$strip>>;
|
|
5998
6501
|
conversionHints: z.ZodOptional<z.ZodObject<{
|
|
5999
6502
|
protocol: z.ZodEnum<{
|
|
6000
|
-
phone: "phone";
|
|
6001
6503
|
external: "external";
|
|
6504
|
+
phone: "phone";
|
|
6002
6505
|
route: "route";
|
|
6003
6506
|
form: "form";
|
|
6004
6507
|
download: "download";
|
|
@@ -6093,8 +6596,8 @@ export declare const ClarifySessionRecordSchema: z.ZodObject<{
|
|
|
6093
6596
|
}, z.core.$strip>>;
|
|
6094
6597
|
conversion: z.ZodOptional<z.ZodObject<{
|
|
6095
6598
|
protocol: z.ZodEnum<{
|
|
6096
|
-
phone: "phone";
|
|
6097
6599
|
external: "external";
|
|
6600
|
+
phone: "phone";
|
|
6098
6601
|
route: "route";
|
|
6099
6602
|
form: "form";
|
|
6100
6603
|
download: "download";
|
|
@@ -6176,8 +6679,8 @@ export declare const PersistClarifyAnswersRequestSchema: z.ZodObject<{
|
|
|
6176
6679
|
}, z.core.$strip>>;
|
|
6177
6680
|
conversion: z.ZodOptional<z.ZodObject<{
|
|
6178
6681
|
protocol: z.ZodEnum<{
|
|
6179
|
-
phone: "phone";
|
|
6180
6682
|
external: "external";
|
|
6683
|
+
phone: "phone";
|
|
6181
6684
|
route: "route";
|
|
6182
6685
|
form: "form";
|
|
6183
6686
|
download: "download";
|
|
@@ -6246,8 +6749,8 @@ export declare const PersistClarifyAnswersRequestSchema: z.ZodObject<{
|
|
|
6246
6749
|
}, z.core.$strip>>;
|
|
6247
6750
|
conversionHints: z.ZodOptional<z.ZodObject<{
|
|
6248
6751
|
protocol: z.ZodEnum<{
|
|
6249
|
-
phone: "phone";
|
|
6250
6752
|
external: "external";
|
|
6753
|
+
phone: "phone";
|
|
6251
6754
|
route: "route";
|
|
6252
6755
|
form: "form";
|
|
6253
6756
|
download: "download";
|
|
@@ -6369,8 +6872,8 @@ export declare const PersistClarifyAnswersResponseSchema: z.ZodObject<{
|
|
|
6369
6872
|
}, z.core.$strip>>;
|
|
6370
6873
|
conversionHints: z.ZodOptional<z.ZodObject<{
|
|
6371
6874
|
protocol: z.ZodEnum<{
|
|
6372
|
-
phone: "phone";
|
|
6373
6875
|
external: "external";
|
|
6876
|
+
phone: "phone";
|
|
6374
6877
|
route: "route";
|
|
6375
6878
|
form: "form";
|
|
6376
6879
|
download: "download";
|
|
@@ -6465,8 +6968,8 @@ export declare const PersistClarifyAnswersResponseSchema: z.ZodObject<{
|
|
|
6465
6968
|
}, z.core.$strip>>;
|
|
6466
6969
|
conversion: z.ZodOptional<z.ZodObject<{
|
|
6467
6970
|
protocol: z.ZodEnum<{
|
|
6468
|
-
phone: "phone";
|
|
6469
6971
|
external: "external";
|
|
6972
|
+
phone: "phone";
|
|
6470
6973
|
route: "route";
|
|
6471
6974
|
form: "form";
|
|
6472
6975
|
download: "download";
|
|
@@ -6561,8 +7064,8 @@ export declare const UpdateClarifyArchetypeRequestSchema: z.ZodObject<{
|
|
|
6561
7064
|
}, z.core.$strip>>;
|
|
6562
7065
|
conversionHints: z.ZodOptional<z.ZodObject<{
|
|
6563
7066
|
protocol: z.ZodEnum<{
|
|
6564
|
-
phone: "phone";
|
|
6565
7067
|
external: "external";
|
|
7068
|
+
phone: "phone";
|
|
6566
7069
|
route: "route";
|
|
6567
7070
|
form: "form";
|
|
6568
7071
|
download: "download";
|
|
@@ -7207,16 +7710,16 @@ export declare const WorkspaceWorkerStatusSchema: z.ZodEnum<{
|
|
|
7207
7710
|
failed: "failed";
|
|
7208
7711
|
pending: "pending";
|
|
7209
7712
|
running: "running";
|
|
7713
|
+
skipped: "skipped";
|
|
7210
7714
|
completed: "completed";
|
|
7211
7715
|
completed_with_skips: "completed_with_skips";
|
|
7212
|
-
skipped: "skipped";
|
|
7213
7716
|
}>;
|
|
7214
7717
|
export type WorkspaceWorkerStatus = z.infer<typeof WorkspaceWorkerStatusSchema>;
|
|
7215
7718
|
export declare const WorkspaceWorkerPhaseSchema: z.ZodEnum<{
|
|
7719
|
+
pages: "pages";
|
|
7720
|
+
layout: "layout";
|
|
7216
7721
|
sections: "sections";
|
|
7217
7722
|
preview: "preview";
|
|
7218
|
-
layout: "layout";
|
|
7219
|
-
pages: "pages";
|
|
7220
7723
|
repair: "repair";
|
|
7221
7724
|
style_media: "style_media";
|
|
7222
7725
|
chrome: "chrome";
|
|
@@ -7245,10 +7748,10 @@ export type WorkspaceExecutionDiagnostics = z.infer<typeof WorkspaceExecutionDia
|
|
|
7245
7748
|
export declare const WorkspaceWorkerGroupSchema: z.ZodObject<{
|
|
7246
7749
|
group_id: z.ZodString;
|
|
7247
7750
|
phase: z.ZodEnum<{
|
|
7751
|
+
pages: "pages";
|
|
7752
|
+
layout: "layout";
|
|
7248
7753
|
sections: "sections";
|
|
7249
7754
|
preview: "preview";
|
|
7250
|
-
layout: "layout";
|
|
7251
|
-
pages: "pages";
|
|
7252
7755
|
repair: "repair";
|
|
7253
7756
|
style_media: "style_media";
|
|
7254
7757
|
chrome: "chrome";
|
|
@@ -7261,9 +7764,9 @@ export declare const WorkspaceWorkerGroupSchema: z.ZodObject<{
|
|
|
7261
7764
|
failed: "failed";
|
|
7262
7765
|
pending: "pending";
|
|
7263
7766
|
running: "running";
|
|
7767
|
+
skipped: "skipped";
|
|
7264
7768
|
completed: "completed";
|
|
7265
7769
|
completed_with_skips: "completed_with_skips";
|
|
7266
|
-
skipped: "skipped";
|
|
7267
7770
|
}>;
|
|
7268
7771
|
task_ids: z.ZodArray<z.ZodString>;
|
|
7269
7772
|
depends_on_groups: z.ZodArray<z.ZodString>;
|
|
@@ -7272,8 +7775,8 @@ export declare const WorkspaceWorkerGroupSchema: z.ZodObject<{
|
|
|
7272
7775
|
export type WorkspaceWorkerGroup = z.infer<typeof WorkspaceWorkerGroupSchema>;
|
|
7273
7776
|
export declare const WorkspacePlanTaskKindSchema: z.ZodEnum<{
|
|
7274
7777
|
page: "page";
|
|
7275
|
-
section: "section";
|
|
7276
7778
|
layout: "layout";
|
|
7779
|
+
section: "section";
|
|
7277
7780
|
chrome: "chrome";
|
|
7278
7781
|
style: "style";
|
|
7279
7782
|
media: "media";
|
|
@@ -7284,8 +7787,8 @@ export declare const WorkspacePlanTaskSchema: z.ZodObject<{
|
|
|
7284
7787
|
group_id: z.ZodString;
|
|
7285
7788
|
kind: z.ZodEnum<{
|
|
7286
7789
|
page: "page";
|
|
7287
|
-
section: "section";
|
|
7288
7790
|
layout: "layout";
|
|
7791
|
+
section: "section";
|
|
7289
7792
|
chrome: "chrome";
|
|
7290
7793
|
style: "style";
|
|
7291
7794
|
media: "media";
|
|
@@ -7305,9 +7808,9 @@ export declare const WorkspacePlanTaskSchema: z.ZodObject<{
|
|
|
7305
7808
|
failed: "failed";
|
|
7306
7809
|
pending: "pending";
|
|
7307
7810
|
running: "running";
|
|
7811
|
+
skipped: "skipped";
|
|
7308
7812
|
completed: "completed";
|
|
7309
7813
|
completed_with_skips: "completed_with_skips";
|
|
7310
|
-
skipped: "skipped";
|
|
7311
7814
|
}>;
|
|
7312
7815
|
required_reads: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
7313
7816
|
}, z.core.$strip>;
|
|
@@ -7316,8 +7819,8 @@ export declare const WorkspacePlanDependencySchema: z.ZodObject<{
|
|
|
7316
7819
|
from_group_id: z.ZodString;
|
|
7317
7820
|
to_group_id: z.ZodString;
|
|
7318
7821
|
reason: z.ZodEnum<{
|
|
7319
|
-
sections: "sections";
|
|
7320
7822
|
layout: "layout";
|
|
7823
|
+
sections: "sections";
|
|
7321
7824
|
style_media: "style_media";
|
|
7322
7825
|
chrome: "chrome";
|
|
7323
7826
|
page_composition: "page_composition";
|
|
@@ -7338,10 +7841,10 @@ export declare const WorkspaceExecutionPlanSchema: z.ZodObject<{
|
|
|
7338
7841
|
groups: z.ZodArray<z.ZodObject<{
|
|
7339
7842
|
group_id: z.ZodString;
|
|
7340
7843
|
phase: z.ZodEnum<{
|
|
7844
|
+
pages: "pages";
|
|
7845
|
+
layout: "layout";
|
|
7341
7846
|
sections: "sections";
|
|
7342
7847
|
preview: "preview";
|
|
7343
|
-
layout: "layout";
|
|
7344
|
-
pages: "pages";
|
|
7345
7848
|
repair: "repair";
|
|
7346
7849
|
style_media: "style_media";
|
|
7347
7850
|
chrome: "chrome";
|
|
@@ -7354,9 +7857,9 @@ export declare const WorkspaceExecutionPlanSchema: z.ZodObject<{
|
|
|
7354
7857
|
failed: "failed";
|
|
7355
7858
|
pending: "pending";
|
|
7356
7859
|
running: "running";
|
|
7860
|
+
skipped: "skipped";
|
|
7357
7861
|
completed: "completed";
|
|
7358
7862
|
completed_with_skips: "completed_with_skips";
|
|
7359
|
-
skipped: "skipped";
|
|
7360
7863
|
}>;
|
|
7361
7864
|
task_ids: z.ZodArray<z.ZodString>;
|
|
7362
7865
|
depends_on_groups: z.ZodArray<z.ZodString>;
|
|
@@ -7367,8 +7870,8 @@ export declare const WorkspaceExecutionPlanSchema: z.ZodObject<{
|
|
|
7367
7870
|
group_id: z.ZodString;
|
|
7368
7871
|
kind: z.ZodEnum<{
|
|
7369
7872
|
page: "page";
|
|
7370
|
-
section: "section";
|
|
7371
7873
|
layout: "layout";
|
|
7874
|
+
section: "section";
|
|
7372
7875
|
chrome: "chrome";
|
|
7373
7876
|
style: "style";
|
|
7374
7877
|
media: "media";
|
|
@@ -7388,9 +7891,9 @@ export declare const WorkspaceExecutionPlanSchema: z.ZodObject<{
|
|
|
7388
7891
|
failed: "failed";
|
|
7389
7892
|
pending: "pending";
|
|
7390
7893
|
running: "running";
|
|
7894
|
+
skipped: "skipped";
|
|
7391
7895
|
completed: "completed";
|
|
7392
7896
|
completed_with_skips: "completed_with_skips";
|
|
7393
|
-
skipped: "skipped";
|
|
7394
7897
|
}>;
|
|
7395
7898
|
required_reads: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
7396
7899
|
}, z.core.$strip>>;
|
|
@@ -7398,8 +7901,8 @@ export declare const WorkspaceExecutionPlanSchema: z.ZodObject<{
|
|
|
7398
7901
|
from_group_id: z.ZodString;
|
|
7399
7902
|
to_group_id: z.ZodString;
|
|
7400
7903
|
reason: z.ZodEnum<{
|
|
7401
|
-
sections: "sections";
|
|
7402
7904
|
layout: "layout";
|
|
7905
|
+
sections: "sections";
|
|
7403
7906
|
style_media: "style_media";
|
|
7404
7907
|
chrome: "chrome";
|
|
7405
7908
|
page_composition: "page_composition";
|
|
@@ -7432,9 +7935,9 @@ export declare const WorkspaceWorkerResultSchema: z.ZodObject<{
|
|
|
7432
7935
|
failed: "failed";
|
|
7433
7936
|
pending: "pending";
|
|
7434
7937
|
running: "running";
|
|
7938
|
+
skipped: "skipped";
|
|
7435
7939
|
completed: "completed";
|
|
7436
7940
|
completed_with_skips: "completed_with_skips";
|
|
7437
|
-
skipped: "skipped";
|
|
7438
7941
|
}>;
|
|
7439
7942
|
}, z.core.$strip>;
|
|
7440
7943
|
export type WorkspaceWorkerResult = z.infer<typeof WorkspaceWorkerResultSchema>;
|
|
@@ -7826,8 +8329,8 @@ export declare const AgentEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
7826
8329
|
confirmedChoices: z.ZodOptional<z.ZodObject<{
|
|
7827
8330
|
conversion: z.ZodOptional<z.ZodObject<{
|
|
7828
8331
|
protocol: z.ZodEnum<{
|
|
7829
|
-
phone: "phone";
|
|
7830
8332
|
external: "external";
|
|
8333
|
+
phone: "phone";
|
|
7831
8334
|
route: "route";
|
|
7832
8335
|
form: "form";
|
|
7833
8336
|
download: "download";
|
|
@@ -7900,10 +8403,10 @@ export declare const AgentEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
7900
8403
|
groups: z.ZodArray<z.ZodObject<{
|
|
7901
8404
|
group_id: z.ZodString;
|
|
7902
8405
|
phase: z.ZodEnum<{
|
|
8406
|
+
pages: "pages";
|
|
8407
|
+
layout: "layout";
|
|
7903
8408
|
sections: "sections";
|
|
7904
8409
|
preview: "preview";
|
|
7905
|
-
layout: "layout";
|
|
7906
|
-
pages: "pages";
|
|
7907
8410
|
repair: "repair";
|
|
7908
8411
|
style_media: "style_media";
|
|
7909
8412
|
chrome: "chrome";
|
|
@@ -7916,9 +8419,9 @@ export declare const AgentEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
7916
8419
|
failed: "failed";
|
|
7917
8420
|
pending: "pending";
|
|
7918
8421
|
running: "running";
|
|
8422
|
+
skipped: "skipped";
|
|
7919
8423
|
completed: "completed";
|
|
7920
8424
|
completed_with_skips: "completed_with_skips";
|
|
7921
|
-
skipped: "skipped";
|
|
7922
8425
|
}>;
|
|
7923
8426
|
task_ids: z.ZodArray<z.ZodString>;
|
|
7924
8427
|
depends_on_groups: z.ZodArray<z.ZodString>;
|
|
@@ -7929,8 +8432,8 @@ export declare const AgentEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
7929
8432
|
group_id: z.ZodString;
|
|
7930
8433
|
kind: z.ZodEnum<{
|
|
7931
8434
|
page: "page";
|
|
7932
|
-
section: "section";
|
|
7933
8435
|
layout: "layout";
|
|
8436
|
+
section: "section";
|
|
7934
8437
|
chrome: "chrome";
|
|
7935
8438
|
style: "style";
|
|
7936
8439
|
media: "media";
|
|
@@ -7950,9 +8453,9 @@ export declare const AgentEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
7950
8453
|
failed: "failed";
|
|
7951
8454
|
pending: "pending";
|
|
7952
8455
|
running: "running";
|
|
8456
|
+
skipped: "skipped";
|
|
7953
8457
|
completed: "completed";
|
|
7954
8458
|
completed_with_skips: "completed_with_skips";
|
|
7955
|
-
skipped: "skipped";
|
|
7956
8459
|
}>;
|
|
7957
8460
|
required_reads: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
7958
8461
|
}, z.core.$strip>>;
|
|
@@ -7960,8 +8463,8 @@ export declare const AgentEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
7960
8463
|
from_group_id: z.ZodString;
|
|
7961
8464
|
to_group_id: z.ZodString;
|
|
7962
8465
|
reason: z.ZodEnum<{
|
|
7963
|
-
sections: "sections";
|
|
7964
8466
|
layout: "layout";
|
|
8467
|
+
sections: "sections";
|
|
7965
8468
|
style_media: "style_media";
|
|
7966
8469
|
chrome: "chrome";
|
|
7967
8470
|
page_composition: "page_composition";
|
|
@@ -7986,10 +8489,10 @@ export declare const AgentEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
7986
8489
|
type: z.ZodLiteral<"workspace.worker.updated">;
|
|
7987
8490
|
group_id: z.ZodString;
|
|
7988
8491
|
phase: z.ZodEnum<{
|
|
8492
|
+
pages: "pages";
|
|
8493
|
+
layout: "layout";
|
|
7989
8494
|
sections: "sections";
|
|
7990
8495
|
preview: "preview";
|
|
7991
|
-
layout: "layout";
|
|
7992
|
-
pages: "pages";
|
|
7993
8496
|
repair: "repair";
|
|
7994
8497
|
style_media: "style_media";
|
|
7995
8498
|
chrome: "chrome";
|
|
@@ -8001,9 +8504,9 @@ export declare const AgentEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
8001
8504
|
failed: "failed";
|
|
8002
8505
|
pending: "pending";
|
|
8003
8506
|
running: "running";
|
|
8507
|
+
skipped: "skipped";
|
|
8004
8508
|
completed: "completed";
|
|
8005
8509
|
completed_with_skips: "completed_with_skips";
|
|
8006
|
-
skipped: "skipped";
|
|
8007
8510
|
}>;
|
|
8008
8511
|
task_counts: z.ZodObject<{
|
|
8009
8512
|
pending: z.ZodNumber;
|
|
@@ -8024,9 +8527,9 @@ export declare const AgentEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
8024
8527
|
failed: "failed";
|
|
8025
8528
|
pending: "pending";
|
|
8026
8529
|
running: "running";
|
|
8530
|
+
skipped: "skipped";
|
|
8027
8531
|
completed: "completed";
|
|
8028
8532
|
completed_with_skips: "completed_with_skips";
|
|
8029
|
-
skipped: "skipped";
|
|
8030
8533
|
}>;
|
|
8031
8534
|
target_path: z.ZodString;
|
|
8032
8535
|
read_files_count: z.ZodNumber;
|
|
@@ -8139,10 +8642,10 @@ export declare const AgentEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
8139
8642
|
message: z.ZodString;
|
|
8140
8643
|
error_category: z.ZodOptional<z.ZodEnum<{
|
|
8141
8644
|
unknown: "unknown";
|
|
8645
|
+
aborted: "aborted";
|
|
8142
8646
|
model_schema_invalid: "model_schema_invalid";
|
|
8143
8647
|
provider_rate_limited: "provider_rate_limited";
|
|
8144
8648
|
provider_unavailable: "provider_unavailable";
|
|
8145
|
-
aborted: "aborted";
|
|
8146
8649
|
}>>;
|
|
8147
8650
|
retryable: z.ZodOptional<z.ZodBoolean>;
|
|
8148
8651
|
attempts: z.ZodOptional<z.ZodNumber>;
|
|
@@ -8190,8 +8693,8 @@ export declare const AgentEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
8190
8693
|
parent_activity_id: z.ZodOptional<z.ZodString>;
|
|
8191
8694
|
kind: z.ZodEnum<{
|
|
8192
8695
|
preview: "preview";
|
|
8193
|
-
model_call: "model_call";
|
|
8194
8696
|
validation: "validation";
|
|
8697
|
+
model_call: "model_call";
|
|
8195
8698
|
repair: "repair";
|
|
8196
8699
|
worker_group: "worker_group";
|
|
8197
8700
|
}>;
|
|
@@ -8544,8 +9047,8 @@ export declare const AgentEventRecordSchema: z.ZodObject<{
|
|
|
8544
9047
|
confirmedChoices: z.ZodOptional<z.ZodObject<{
|
|
8545
9048
|
conversion: z.ZodOptional<z.ZodObject<{
|
|
8546
9049
|
protocol: z.ZodEnum<{
|
|
8547
|
-
phone: "phone";
|
|
8548
9050
|
external: "external";
|
|
9051
|
+
phone: "phone";
|
|
8549
9052
|
route: "route";
|
|
8550
9053
|
form: "form";
|
|
8551
9054
|
download: "download";
|
|
@@ -8618,10 +9121,10 @@ export declare const AgentEventRecordSchema: z.ZodObject<{
|
|
|
8618
9121
|
groups: z.ZodArray<z.ZodObject<{
|
|
8619
9122
|
group_id: z.ZodString;
|
|
8620
9123
|
phase: z.ZodEnum<{
|
|
9124
|
+
pages: "pages";
|
|
9125
|
+
layout: "layout";
|
|
8621
9126
|
sections: "sections";
|
|
8622
9127
|
preview: "preview";
|
|
8623
|
-
layout: "layout";
|
|
8624
|
-
pages: "pages";
|
|
8625
9128
|
repair: "repair";
|
|
8626
9129
|
style_media: "style_media";
|
|
8627
9130
|
chrome: "chrome";
|
|
@@ -8634,9 +9137,9 @@ export declare const AgentEventRecordSchema: z.ZodObject<{
|
|
|
8634
9137
|
failed: "failed";
|
|
8635
9138
|
pending: "pending";
|
|
8636
9139
|
running: "running";
|
|
9140
|
+
skipped: "skipped";
|
|
8637
9141
|
completed: "completed";
|
|
8638
9142
|
completed_with_skips: "completed_with_skips";
|
|
8639
|
-
skipped: "skipped";
|
|
8640
9143
|
}>;
|
|
8641
9144
|
task_ids: z.ZodArray<z.ZodString>;
|
|
8642
9145
|
depends_on_groups: z.ZodArray<z.ZodString>;
|
|
@@ -8647,8 +9150,8 @@ export declare const AgentEventRecordSchema: z.ZodObject<{
|
|
|
8647
9150
|
group_id: z.ZodString;
|
|
8648
9151
|
kind: z.ZodEnum<{
|
|
8649
9152
|
page: "page";
|
|
8650
|
-
section: "section";
|
|
8651
9153
|
layout: "layout";
|
|
9154
|
+
section: "section";
|
|
8652
9155
|
chrome: "chrome";
|
|
8653
9156
|
style: "style";
|
|
8654
9157
|
media: "media";
|
|
@@ -8668,9 +9171,9 @@ export declare const AgentEventRecordSchema: z.ZodObject<{
|
|
|
8668
9171
|
failed: "failed";
|
|
8669
9172
|
pending: "pending";
|
|
8670
9173
|
running: "running";
|
|
9174
|
+
skipped: "skipped";
|
|
8671
9175
|
completed: "completed";
|
|
8672
9176
|
completed_with_skips: "completed_with_skips";
|
|
8673
|
-
skipped: "skipped";
|
|
8674
9177
|
}>;
|
|
8675
9178
|
required_reads: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
8676
9179
|
}, z.core.$strip>>;
|
|
@@ -8678,8 +9181,8 @@ export declare const AgentEventRecordSchema: z.ZodObject<{
|
|
|
8678
9181
|
from_group_id: z.ZodString;
|
|
8679
9182
|
to_group_id: z.ZodString;
|
|
8680
9183
|
reason: z.ZodEnum<{
|
|
8681
|
-
sections: "sections";
|
|
8682
9184
|
layout: "layout";
|
|
9185
|
+
sections: "sections";
|
|
8683
9186
|
style_media: "style_media";
|
|
8684
9187
|
chrome: "chrome";
|
|
8685
9188
|
page_composition: "page_composition";
|
|
@@ -8704,10 +9207,10 @@ export declare const AgentEventRecordSchema: z.ZodObject<{
|
|
|
8704
9207
|
type: z.ZodLiteral<"workspace.worker.updated">;
|
|
8705
9208
|
group_id: z.ZodString;
|
|
8706
9209
|
phase: z.ZodEnum<{
|
|
9210
|
+
pages: "pages";
|
|
9211
|
+
layout: "layout";
|
|
8707
9212
|
sections: "sections";
|
|
8708
9213
|
preview: "preview";
|
|
8709
|
-
layout: "layout";
|
|
8710
|
-
pages: "pages";
|
|
8711
9214
|
repair: "repair";
|
|
8712
9215
|
style_media: "style_media";
|
|
8713
9216
|
chrome: "chrome";
|
|
@@ -8719,9 +9222,9 @@ export declare const AgentEventRecordSchema: z.ZodObject<{
|
|
|
8719
9222
|
failed: "failed";
|
|
8720
9223
|
pending: "pending";
|
|
8721
9224
|
running: "running";
|
|
9225
|
+
skipped: "skipped";
|
|
8722
9226
|
completed: "completed";
|
|
8723
9227
|
completed_with_skips: "completed_with_skips";
|
|
8724
|
-
skipped: "skipped";
|
|
8725
9228
|
}>;
|
|
8726
9229
|
task_counts: z.ZodObject<{
|
|
8727
9230
|
pending: z.ZodNumber;
|
|
@@ -8742,9 +9245,9 @@ export declare const AgentEventRecordSchema: z.ZodObject<{
|
|
|
8742
9245
|
failed: "failed";
|
|
8743
9246
|
pending: "pending";
|
|
8744
9247
|
running: "running";
|
|
9248
|
+
skipped: "skipped";
|
|
8745
9249
|
completed: "completed";
|
|
8746
9250
|
completed_with_skips: "completed_with_skips";
|
|
8747
|
-
skipped: "skipped";
|
|
8748
9251
|
}>;
|
|
8749
9252
|
target_path: z.ZodString;
|
|
8750
9253
|
read_files_count: z.ZodNumber;
|
|
@@ -8857,10 +9360,10 @@ export declare const AgentEventRecordSchema: z.ZodObject<{
|
|
|
8857
9360
|
message: z.ZodString;
|
|
8858
9361
|
error_category: z.ZodOptional<z.ZodEnum<{
|
|
8859
9362
|
unknown: "unknown";
|
|
9363
|
+
aborted: "aborted";
|
|
8860
9364
|
model_schema_invalid: "model_schema_invalid";
|
|
8861
9365
|
provider_rate_limited: "provider_rate_limited";
|
|
8862
9366
|
provider_unavailable: "provider_unavailable";
|
|
8863
|
-
aborted: "aborted";
|
|
8864
9367
|
}>>;
|
|
8865
9368
|
retryable: z.ZodOptional<z.ZodBoolean>;
|
|
8866
9369
|
attempts: z.ZodOptional<z.ZodNumber>;
|
|
@@ -8908,8 +9411,8 @@ export declare const AgentEventRecordSchema: z.ZodObject<{
|
|
|
8908
9411
|
parent_activity_id: z.ZodOptional<z.ZodString>;
|
|
8909
9412
|
kind: z.ZodEnum<{
|
|
8910
9413
|
preview: "preview";
|
|
8911
|
-
model_call: "model_call";
|
|
8912
9414
|
validation: "validation";
|
|
9415
|
+
model_call: "model_call";
|
|
8913
9416
|
repair: "repair";
|
|
8914
9417
|
worker_group: "worker_group";
|
|
8915
9418
|
}>;
|
|
@@ -9259,8 +9762,8 @@ export declare const AppendAgentEventRequestSchema: z.ZodObject<{
|
|
|
9259
9762
|
confirmedChoices: z.ZodOptional<z.ZodObject<{
|
|
9260
9763
|
conversion: z.ZodOptional<z.ZodObject<{
|
|
9261
9764
|
protocol: z.ZodEnum<{
|
|
9262
|
-
phone: "phone";
|
|
9263
9765
|
external: "external";
|
|
9766
|
+
phone: "phone";
|
|
9264
9767
|
route: "route";
|
|
9265
9768
|
form: "form";
|
|
9266
9769
|
download: "download";
|
|
@@ -9333,10 +9836,10 @@ export declare const AppendAgentEventRequestSchema: z.ZodObject<{
|
|
|
9333
9836
|
groups: z.ZodArray<z.ZodObject<{
|
|
9334
9837
|
group_id: z.ZodString;
|
|
9335
9838
|
phase: z.ZodEnum<{
|
|
9839
|
+
pages: "pages";
|
|
9840
|
+
layout: "layout";
|
|
9336
9841
|
sections: "sections";
|
|
9337
9842
|
preview: "preview";
|
|
9338
|
-
layout: "layout";
|
|
9339
|
-
pages: "pages";
|
|
9340
9843
|
repair: "repair";
|
|
9341
9844
|
style_media: "style_media";
|
|
9342
9845
|
chrome: "chrome";
|
|
@@ -9349,9 +9852,9 @@ export declare const AppendAgentEventRequestSchema: z.ZodObject<{
|
|
|
9349
9852
|
failed: "failed";
|
|
9350
9853
|
pending: "pending";
|
|
9351
9854
|
running: "running";
|
|
9855
|
+
skipped: "skipped";
|
|
9352
9856
|
completed: "completed";
|
|
9353
9857
|
completed_with_skips: "completed_with_skips";
|
|
9354
|
-
skipped: "skipped";
|
|
9355
9858
|
}>;
|
|
9356
9859
|
task_ids: z.ZodArray<z.ZodString>;
|
|
9357
9860
|
depends_on_groups: z.ZodArray<z.ZodString>;
|
|
@@ -9362,8 +9865,8 @@ export declare const AppendAgentEventRequestSchema: z.ZodObject<{
|
|
|
9362
9865
|
group_id: z.ZodString;
|
|
9363
9866
|
kind: z.ZodEnum<{
|
|
9364
9867
|
page: "page";
|
|
9365
|
-
section: "section";
|
|
9366
9868
|
layout: "layout";
|
|
9869
|
+
section: "section";
|
|
9367
9870
|
chrome: "chrome";
|
|
9368
9871
|
style: "style";
|
|
9369
9872
|
media: "media";
|
|
@@ -9383,9 +9886,9 @@ export declare const AppendAgentEventRequestSchema: z.ZodObject<{
|
|
|
9383
9886
|
failed: "failed";
|
|
9384
9887
|
pending: "pending";
|
|
9385
9888
|
running: "running";
|
|
9889
|
+
skipped: "skipped";
|
|
9386
9890
|
completed: "completed";
|
|
9387
9891
|
completed_with_skips: "completed_with_skips";
|
|
9388
|
-
skipped: "skipped";
|
|
9389
9892
|
}>;
|
|
9390
9893
|
required_reads: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
9391
9894
|
}, z.core.$strip>>;
|
|
@@ -9393,8 +9896,8 @@ export declare const AppendAgentEventRequestSchema: z.ZodObject<{
|
|
|
9393
9896
|
from_group_id: z.ZodString;
|
|
9394
9897
|
to_group_id: z.ZodString;
|
|
9395
9898
|
reason: z.ZodEnum<{
|
|
9396
|
-
sections: "sections";
|
|
9397
9899
|
layout: "layout";
|
|
9900
|
+
sections: "sections";
|
|
9398
9901
|
style_media: "style_media";
|
|
9399
9902
|
chrome: "chrome";
|
|
9400
9903
|
page_composition: "page_composition";
|
|
@@ -9419,10 +9922,10 @@ export declare const AppendAgentEventRequestSchema: z.ZodObject<{
|
|
|
9419
9922
|
type: z.ZodLiteral<"workspace.worker.updated">;
|
|
9420
9923
|
group_id: z.ZodString;
|
|
9421
9924
|
phase: z.ZodEnum<{
|
|
9925
|
+
pages: "pages";
|
|
9926
|
+
layout: "layout";
|
|
9422
9927
|
sections: "sections";
|
|
9423
9928
|
preview: "preview";
|
|
9424
|
-
layout: "layout";
|
|
9425
|
-
pages: "pages";
|
|
9426
9929
|
repair: "repair";
|
|
9427
9930
|
style_media: "style_media";
|
|
9428
9931
|
chrome: "chrome";
|
|
@@ -9434,9 +9937,9 @@ export declare const AppendAgentEventRequestSchema: z.ZodObject<{
|
|
|
9434
9937
|
failed: "failed";
|
|
9435
9938
|
pending: "pending";
|
|
9436
9939
|
running: "running";
|
|
9940
|
+
skipped: "skipped";
|
|
9437
9941
|
completed: "completed";
|
|
9438
9942
|
completed_with_skips: "completed_with_skips";
|
|
9439
|
-
skipped: "skipped";
|
|
9440
9943
|
}>;
|
|
9441
9944
|
task_counts: z.ZodObject<{
|
|
9442
9945
|
pending: z.ZodNumber;
|
|
@@ -9457,9 +9960,9 @@ export declare const AppendAgentEventRequestSchema: z.ZodObject<{
|
|
|
9457
9960
|
failed: "failed";
|
|
9458
9961
|
pending: "pending";
|
|
9459
9962
|
running: "running";
|
|
9963
|
+
skipped: "skipped";
|
|
9460
9964
|
completed: "completed";
|
|
9461
9965
|
completed_with_skips: "completed_with_skips";
|
|
9462
|
-
skipped: "skipped";
|
|
9463
9966
|
}>;
|
|
9464
9967
|
target_path: z.ZodString;
|
|
9465
9968
|
read_files_count: z.ZodNumber;
|
|
@@ -9572,10 +10075,10 @@ export declare const AppendAgentEventRequestSchema: z.ZodObject<{
|
|
|
9572
10075
|
message: z.ZodString;
|
|
9573
10076
|
error_category: z.ZodOptional<z.ZodEnum<{
|
|
9574
10077
|
unknown: "unknown";
|
|
10078
|
+
aborted: "aborted";
|
|
9575
10079
|
model_schema_invalid: "model_schema_invalid";
|
|
9576
10080
|
provider_rate_limited: "provider_rate_limited";
|
|
9577
10081
|
provider_unavailable: "provider_unavailable";
|
|
9578
|
-
aborted: "aborted";
|
|
9579
10082
|
}>>;
|
|
9580
10083
|
retryable: z.ZodOptional<z.ZodBoolean>;
|
|
9581
10084
|
attempts: z.ZodOptional<z.ZodNumber>;
|
|
@@ -9623,8 +10126,8 @@ export declare const AppendAgentEventRequestSchema: z.ZodObject<{
|
|
|
9623
10126
|
parent_activity_id: z.ZodOptional<z.ZodString>;
|
|
9624
10127
|
kind: z.ZodEnum<{
|
|
9625
10128
|
preview: "preview";
|
|
9626
|
-
model_call: "model_call";
|
|
9627
10129
|
validation: "validation";
|
|
10130
|
+
model_call: "model_call";
|
|
9628
10131
|
repair: "repair";
|
|
9629
10132
|
worker_group: "worker_group";
|
|
9630
10133
|
}>;
|
|
@@ -10013,8 +10516,8 @@ export declare const AppendAgentEventResponseSchema: z.ZodDiscriminatedUnion<[z.
|
|
|
10013
10516
|
confirmedChoices: z.ZodOptional<z.ZodObject<{
|
|
10014
10517
|
conversion: z.ZodOptional<z.ZodObject<{
|
|
10015
10518
|
protocol: z.ZodEnum<{
|
|
10016
|
-
phone: "phone";
|
|
10017
10519
|
external: "external";
|
|
10520
|
+
phone: "phone";
|
|
10018
10521
|
route: "route";
|
|
10019
10522
|
form: "form";
|
|
10020
10523
|
download: "download";
|
|
@@ -10087,10 +10590,10 @@ export declare const AppendAgentEventResponseSchema: z.ZodDiscriminatedUnion<[z.
|
|
|
10087
10590
|
groups: z.ZodArray<z.ZodObject<{
|
|
10088
10591
|
group_id: z.ZodString;
|
|
10089
10592
|
phase: z.ZodEnum<{
|
|
10593
|
+
pages: "pages";
|
|
10594
|
+
layout: "layout";
|
|
10090
10595
|
sections: "sections";
|
|
10091
10596
|
preview: "preview";
|
|
10092
|
-
layout: "layout";
|
|
10093
|
-
pages: "pages";
|
|
10094
10597
|
repair: "repair";
|
|
10095
10598
|
style_media: "style_media";
|
|
10096
10599
|
chrome: "chrome";
|
|
@@ -10103,9 +10606,9 @@ export declare const AppendAgentEventResponseSchema: z.ZodDiscriminatedUnion<[z.
|
|
|
10103
10606
|
failed: "failed";
|
|
10104
10607
|
pending: "pending";
|
|
10105
10608
|
running: "running";
|
|
10609
|
+
skipped: "skipped";
|
|
10106
10610
|
completed: "completed";
|
|
10107
10611
|
completed_with_skips: "completed_with_skips";
|
|
10108
|
-
skipped: "skipped";
|
|
10109
10612
|
}>;
|
|
10110
10613
|
task_ids: z.ZodArray<z.ZodString>;
|
|
10111
10614
|
depends_on_groups: z.ZodArray<z.ZodString>;
|
|
@@ -10116,8 +10619,8 @@ export declare const AppendAgentEventResponseSchema: z.ZodDiscriminatedUnion<[z.
|
|
|
10116
10619
|
group_id: z.ZodString;
|
|
10117
10620
|
kind: z.ZodEnum<{
|
|
10118
10621
|
page: "page";
|
|
10119
|
-
section: "section";
|
|
10120
10622
|
layout: "layout";
|
|
10623
|
+
section: "section";
|
|
10121
10624
|
chrome: "chrome";
|
|
10122
10625
|
style: "style";
|
|
10123
10626
|
media: "media";
|
|
@@ -10137,9 +10640,9 @@ export declare const AppendAgentEventResponseSchema: z.ZodDiscriminatedUnion<[z.
|
|
|
10137
10640
|
failed: "failed";
|
|
10138
10641
|
pending: "pending";
|
|
10139
10642
|
running: "running";
|
|
10643
|
+
skipped: "skipped";
|
|
10140
10644
|
completed: "completed";
|
|
10141
10645
|
completed_with_skips: "completed_with_skips";
|
|
10142
|
-
skipped: "skipped";
|
|
10143
10646
|
}>;
|
|
10144
10647
|
required_reads: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
10145
10648
|
}, z.core.$strip>>;
|
|
@@ -10147,8 +10650,8 @@ export declare const AppendAgentEventResponseSchema: z.ZodDiscriminatedUnion<[z.
|
|
|
10147
10650
|
from_group_id: z.ZodString;
|
|
10148
10651
|
to_group_id: z.ZodString;
|
|
10149
10652
|
reason: z.ZodEnum<{
|
|
10150
|
-
sections: "sections";
|
|
10151
10653
|
layout: "layout";
|
|
10654
|
+
sections: "sections";
|
|
10152
10655
|
style_media: "style_media";
|
|
10153
10656
|
chrome: "chrome";
|
|
10154
10657
|
page_composition: "page_composition";
|
|
@@ -10173,10 +10676,10 @@ export declare const AppendAgentEventResponseSchema: z.ZodDiscriminatedUnion<[z.
|
|
|
10173
10676
|
type: z.ZodLiteral<"workspace.worker.updated">;
|
|
10174
10677
|
group_id: z.ZodString;
|
|
10175
10678
|
phase: z.ZodEnum<{
|
|
10679
|
+
pages: "pages";
|
|
10680
|
+
layout: "layout";
|
|
10176
10681
|
sections: "sections";
|
|
10177
10682
|
preview: "preview";
|
|
10178
|
-
layout: "layout";
|
|
10179
|
-
pages: "pages";
|
|
10180
10683
|
repair: "repair";
|
|
10181
10684
|
style_media: "style_media";
|
|
10182
10685
|
chrome: "chrome";
|
|
@@ -10188,9 +10691,9 @@ export declare const AppendAgentEventResponseSchema: z.ZodDiscriminatedUnion<[z.
|
|
|
10188
10691
|
failed: "failed";
|
|
10189
10692
|
pending: "pending";
|
|
10190
10693
|
running: "running";
|
|
10694
|
+
skipped: "skipped";
|
|
10191
10695
|
completed: "completed";
|
|
10192
10696
|
completed_with_skips: "completed_with_skips";
|
|
10193
|
-
skipped: "skipped";
|
|
10194
10697
|
}>;
|
|
10195
10698
|
task_counts: z.ZodObject<{
|
|
10196
10699
|
pending: z.ZodNumber;
|
|
@@ -10211,9 +10714,9 @@ export declare const AppendAgentEventResponseSchema: z.ZodDiscriminatedUnion<[z.
|
|
|
10211
10714
|
failed: "failed";
|
|
10212
10715
|
pending: "pending";
|
|
10213
10716
|
running: "running";
|
|
10717
|
+
skipped: "skipped";
|
|
10214
10718
|
completed: "completed";
|
|
10215
10719
|
completed_with_skips: "completed_with_skips";
|
|
10216
|
-
skipped: "skipped";
|
|
10217
10720
|
}>;
|
|
10218
10721
|
target_path: z.ZodString;
|
|
10219
10722
|
read_files_count: z.ZodNumber;
|
|
@@ -10326,10 +10829,10 @@ export declare const AppendAgentEventResponseSchema: z.ZodDiscriminatedUnion<[z.
|
|
|
10326
10829
|
message: z.ZodString;
|
|
10327
10830
|
error_category: z.ZodOptional<z.ZodEnum<{
|
|
10328
10831
|
unknown: "unknown";
|
|
10832
|
+
aborted: "aborted";
|
|
10329
10833
|
model_schema_invalid: "model_schema_invalid";
|
|
10330
10834
|
provider_rate_limited: "provider_rate_limited";
|
|
10331
10835
|
provider_unavailable: "provider_unavailable";
|
|
10332
|
-
aborted: "aborted";
|
|
10333
10836
|
}>>;
|
|
10334
10837
|
retryable: z.ZodOptional<z.ZodBoolean>;
|
|
10335
10838
|
attempts: z.ZodOptional<z.ZodNumber>;
|
|
@@ -10377,8 +10880,8 @@ export declare const AppendAgentEventResponseSchema: z.ZodDiscriminatedUnion<[z.
|
|
|
10377
10880
|
parent_activity_id: z.ZodOptional<z.ZodString>;
|
|
10378
10881
|
kind: z.ZodEnum<{
|
|
10379
10882
|
preview: "preview";
|
|
10380
|
-
model_call: "model_call";
|
|
10381
10883
|
validation: "validation";
|
|
10884
|
+
model_call: "model_call";
|
|
10382
10885
|
repair: "repair";
|
|
10383
10886
|
worker_group: "worker_group";
|
|
10384
10887
|
}>;
|
|
@@ -10768,8 +11271,8 @@ export declare const AppendAgentEventResponseSchema: z.ZodDiscriminatedUnion<[z.
|
|
|
10768
11271
|
confirmedChoices: z.ZodOptional<z.ZodObject<{
|
|
10769
11272
|
conversion: z.ZodOptional<z.ZodObject<{
|
|
10770
11273
|
protocol: z.ZodEnum<{
|
|
10771
|
-
phone: "phone";
|
|
10772
11274
|
external: "external";
|
|
11275
|
+
phone: "phone";
|
|
10773
11276
|
route: "route";
|
|
10774
11277
|
form: "form";
|
|
10775
11278
|
download: "download";
|
|
@@ -10842,10 +11345,10 @@ export declare const AppendAgentEventResponseSchema: z.ZodDiscriminatedUnion<[z.
|
|
|
10842
11345
|
groups: z.ZodArray<z.ZodObject<{
|
|
10843
11346
|
group_id: z.ZodString;
|
|
10844
11347
|
phase: z.ZodEnum<{
|
|
11348
|
+
pages: "pages";
|
|
11349
|
+
layout: "layout";
|
|
10845
11350
|
sections: "sections";
|
|
10846
11351
|
preview: "preview";
|
|
10847
|
-
layout: "layout";
|
|
10848
|
-
pages: "pages";
|
|
10849
11352
|
repair: "repair";
|
|
10850
11353
|
style_media: "style_media";
|
|
10851
11354
|
chrome: "chrome";
|
|
@@ -10858,9 +11361,9 @@ export declare const AppendAgentEventResponseSchema: z.ZodDiscriminatedUnion<[z.
|
|
|
10858
11361
|
failed: "failed";
|
|
10859
11362
|
pending: "pending";
|
|
10860
11363
|
running: "running";
|
|
11364
|
+
skipped: "skipped";
|
|
10861
11365
|
completed: "completed";
|
|
10862
11366
|
completed_with_skips: "completed_with_skips";
|
|
10863
|
-
skipped: "skipped";
|
|
10864
11367
|
}>;
|
|
10865
11368
|
task_ids: z.ZodArray<z.ZodString>;
|
|
10866
11369
|
depends_on_groups: z.ZodArray<z.ZodString>;
|
|
@@ -10871,8 +11374,8 @@ export declare const AppendAgentEventResponseSchema: z.ZodDiscriminatedUnion<[z.
|
|
|
10871
11374
|
group_id: z.ZodString;
|
|
10872
11375
|
kind: z.ZodEnum<{
|
|
10873
11376
|
page: "page";
|
|
10874
|
-
section: "section";
|
|
10875
11377
|
layout: "layout";
|
|
11378
|
+
section: "section";
|
|
10876
11379
|
chrome: "chrome";
|
|
10877
11380
|
style: "style";
|
|
10878
11381
|
media: "media";
|
|
@@ -10892,9 +11395,9 @@ export declare const AppendAgentEventResponseSchema: z.ZodDiscriminatedUnion<[z.
|
|
|
10892
11395
|
failed: "failed";
|
|
10893
11396
|
pending: "pending";
|
|
10894
11397
|
running: "running";
|
|
11398
|
+
skipped: "skipped";
|
|
10895
11399
|
completed: "completed";
|
|
10896
11400
|
completed_with_skips: "completed_with_skips";
|
|
10897
|
-
skipped: "skipped";
|
|
10898
11401
|
}>;
|
|
10899
11402
|
required_reads: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
10900
11403
|
}, z.core.$strip>>;
|
|
@@ -10902,8 +11405,8 @@ export declare const AppendAgentEventResponseSchema: z.ZodDiscriminatedUnion<[z.
|
|
|
10902
11405
|
from_group_id: z.ZodString;
|
|
10903
11406
|
to_group_id: z.ZodString;
|
|
10904
11407
|
reason: z.ZodEnum<{
|
|
10905
|
-
sections: "sections";
|
|
10906
11408
|
layout: "layout";
|
|
11409
|
+
sections: "sections";
|
|
10907
11410
|
style_media: "style_media";
|
|
10908
11411
|
chrome: "chrome";
|
|
10909
11412
|
page_composition: "page_composition";
|
|
@@ -10928,10 +11431,10 @@ export declare const AppendAgentEventResponseSchema: z.ZodDiscriminatedUnion<[z.
|
|
|
10928
11431
|
type: z.ZodLiteral<"workspace.worker.updated">;
|
|
10929
11432
|
group_id: z.ZodString;
|
|
10930
11433
|
phase: z.ZodEnum<{
|
|
11434
|
+
pages: "pages";
|
|
11435
|
+
layout: "layout";
|
|
10931
11436
|
sections: "sections";
|
|
10932
11437
|
preview: "preview";
|
|
10933
|
-
layout: "layout";
|
|
10934
|
-
pages: "pages";
|
|
10935
11438
|
repair: "repair";
|
|
10936
11439
|
style_media: "style_media";
|
|
10937
11440
|
chrome: "chrome";
|
|
@@ -10943,9 +11446,9 @@ export declare const AppendAgentEventResponseSchema: z.ZodDiscriminatedUnion<[z.
|
|
|
10943
11446
|
failed: "failed";
|
|
10944
11447
|
pending: "pending";
|
|
10945
11448
|
running: "running";
|
|
11449
|
+
skipped: "skipped";
|
|
10946
11450
|
completed: "completed";
|
|
10947
11451
|
completed_with_skips: "completed_with_skips";
|
|
10948
|
-
skipped: "skipped";
|
|
10949
11452
|
}>;
|
|
10950
11453
|
task_counts: z.ZodObject<{
|
|
10951
11454
|
pending: z.ZodNumber;
|
|
@@ -10966,9 +11469,9 @@ export declare const AppendAgentEventResponseSchema: z.ZodDiscriminatedUnion<[z.
|
|
|
10966
11469
|
failed: "failed";
|
|
10967
11470
|
pending: "pending";
|
|
10968
11471
|
running: "running";
|
|
11472
|
+
skipped: "skipped";
|
|
10969
11473
|
completed: "completed";
|
|
10970
11474
|
completed_with_skips: "completed_with_skips";
|
|
10971
|
-
skipped: "skipped";
|
|
10972
11475
|
}>;
|
|
10973
11476
|
target_path: z.ZodString;
|
|
10974
11477
|
read_files_count: z.ZodNumber;
|
|
@@ -11081,10 +11584,10 @@ export declare const AppendAgentEventResponseSchema: z.ZodDiscriminatedUnion<[z.
|
|
|
11081
11584
|
message: z.ZodString;
|
|
11082
11585
|
error_category: z.ZodOptional<z.ZodEnum<{
|
|
11083
11586
|
unknown: "unknown";
|
|
11587
|
+
aborted: "aborted";
|
|
11084
11588
|
model_schema_invalid: "model_schema_invalid";
|
|
11085
11589
|
provider_rate_limited: "provider_rate_limited";
|
|
11086
11590
|
provider_unavailable: "provider_unavailable";
|
|
11087
|
-
aborted: "aborted";
|
|
11088
11591
|
}>>;
|
|
11089
11592
|
retryable: z.ZodOptional<z.ZodBoolean>;
|
|
11090
11593
|
attempts: z.ZodOptional<z.ZodNumber>;
|
|
@@ -11132,8 +11635,8 @@ export declare const AppendAgentEventResponseSchema: z.ZodDiscriminatedUnion<[z.
|
|
|
11132
11635
|
parent_activity_id: z.ZodOptional<z.ZodString>;
|
|
11133
11636
|
kind: z.ZodEnum<{
|
|
11134
11637
|
preview: "preview";
|
|
11135
|
-
model_call: "model_call";
|
|
11136
11638
|
validation: "validation";
|
|
11639
|
+
model_call: "model_call";
|
|
11137
11640
|
repair: "repair";
|
|
11138
11641
|
worker_group: "worker_group";
|
|
11139
11642
|
}>;
|
|
@@ -11491,8 +11994,8 @@ export declare const ListAgentEventsResponseSchema: z.ZodObject<{
|
|
|
11491
11994
|
confirmedChoices: z.ZodOptional<z.ZodObject<{
|
|
11492
11995
|
conversion: z.ZodOptional<z.ZodObject<{
|
|
11493
11996
|
protocol: z.ZodEnum<{
|
|
11494
|
-
phone: "phone";
|
|
11495
11997
|
external: "external";
|
|
11998
|
+
phone: "phone";
|
|
11496
11999
|
route: "route";
|
|
11497
12000
|
form: "form";
|
|
11498
12001
|
download: "download";
|
|
@@ -11565,10 +12068,10 @@ export declare const ListAgentEventsResponseSchema: z.ZodObject<{
|
|
|
11565
12068
|
groups: z.ZodArray<z.ZodObject<{
|
|
11566
12069
|
group_id: z.ZodString;
|
|
11567
12070
|
phase: z.ZodEnum<{
|
|
12071
|
+
pages: "pages";
|
|
12072
|
+
layout: "layout";
|
|
11568
12073
|
sections: "sections";
|
|
11569
12074
|
preview: "preview";
|
|
11570
|
-
layout: "layout";
|
|
11571
|
-
pages: "pages";
|
|
11572
12075
|
repair: "repair";
|
|
11573
12076
|
style_media: "style_media";
|
|
11574
12077
|
chrome: "chrome";
|
|
@@ -11581,9 +12084,9 @@ export declare const ListAgentEventsResponseSchema: z.ZodObject<{
|
|
|
11581
12084
|
failed: "failed";
|
|
11582
12085
|
pending: "pending";
|
|
11583
12086
|
running: "running";
|
|
12087
|
+
skipped: "skipped";
|
|
11584
12088
|
completed: "completed";
|
|
11585
12089
|
completed_with_skips: "completed_with_skips";
|
|
11586
|
-
skipped: "skipped";
|
|
11587
12090
|
}>;
|
|
11588
12091
|
task_ids: z.ZodArray<z.ZodString>;
|
|
11589
12092
|
depends_on_groups: z.ZodArray<z.ZodString>;
|
|
@@ -11594,8 +12097,8 @@ export declare const ListAgentEventsResponseSchema: z.ZodObject<{
|
|
|
11594
12097
|
group_id: z.ZodString;
|
|
11595
12098
|
kind: z.ZodEnum<{
|
|
11596
12099
|
page: "page";
|
|
11597
|
-
section: "section";
|
|
11598
12100
|
layout: "layout";
|
|
12101
|
+
section: "section";
|
|
11599
12102
|
chrome: "chrome";
|
|
11600
12103
|
style: "style";
|
|
11601
12104
|
media: "media";
|
|
@@ -11615,9 +12118,9 @@ export declare const ListAgentEventsResponseSchema: z.ZodObject<{
|
|
|
11615
12118
|
failed: "failed";
|
|
11616
12119
|
pending: "pending";
|
|
11617
12120
|
running: "running";
|
|
12121
|
+
skipped: "skipped";
|
|
11618
12122
|
completed: "completed";
|
|
11619
12123
|
completed_with_skips: "completed_with_skips";
|
|
11620
|
-
skipped: "skipped";
|
|
11621
12124
|
}>;
|
|
11622
12125
|
required_reads: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
11623
12126
|
}, z.core.$strip>>;
|
|
@@ -11625,8 +12128,8 @@ export declare const ListAgentEventsResponseSchema: z.ZodObject<{
|
|
|
11625
12128
|
from_group_id: z.ZodString;
|
|
11626
12129
|
to_group_id: z.ZodString;
|
|
11627
12130
|
reason: z.ZodEnum<{
|
|
11628
|
-
sections: "sections";
|
|
11629
12131
|
layout: "layout";
|
|
12132
|
+
sections: "sections";
|
|
11630
12133
|
style_media: "style_media";
|
|
11631
12134
|
chrome: "chrome";
|
|
11632
12135
|
page_composition: "page_composition";
|
|
@@ -11651,10 +12154,10 @@ export declare const ListAgentEventsResponseSchema: z.ZodObject<{
|
|
|
11651
12154
|
type: z.ZodLiteral<"workspace.worker.updated">;
|
|
11652
12155
|
group_id: z.ZodString;
|
|
11653
12156
|
phase: z.ZodEnum<{
|
|
12157
|
+
pages: "pages";
|
|
12158
|
+
layout: "layout";
|
|
11654
12159
|
sections: "sections";
|
|
11655
12160
|
preview: "preview";
|
|
11656
|
-
layout: "layout";
|
|
11657
|
-
pages: "pages";
|
|
11658
12161
|
repair: "repair";
|
|
11659
12162
|
style_media: "style_media";
|
|
11660
12163
|
chrome: "chrome";
|
|
@@ -11666,9 +12169,9 @@ export declare const ListAgentEventsResponseSchema: z.ZodObject<{
|
|
|
11666
12169
|
failed: "failed";
|
|
11667
12170
|
pending: "pending";
|
|
11668
12171
|
running: "running";
|
|
12172
|
+
skipped: "skipped";
|
|
11669
12173
|
completed: "completed";
|
|
11670
12174
|
completed_with_skips: "completed_with_skips";
|
|
11671
|
-
skipped: "skipped";
|
|
11672
12175
|
}>;
|
|
11673
12176
|
task_counts: z.ZodObject<{
|
|
11674
12177
|
pending: z.ZodNumber;
|
|
@@ -11689,9 +12192,9 @@ export declare const ListAgentEventsResponseSchema: z.ZodObject<{
|
|
|
11689
12192
|
failed: "failed";
|
|
11690
12193
|
pending: "pending";
|
|
11691
12194
|
running: "running";
|
|
12195
|
+
skipped: "skipped";
|
|
11692
12196
|
completed: "completed";
|
|
11693
12197
|
completed_with_skips: "completed_with_skips";
|
|
11694
|
-
skipped: "skipped";
|
|
11695
12198
|
}>;
|
|
11696
12199
|
target_path: z.ZodString;
|
|
11697
12200
|
read_files_count: z.ZodNumber;
|
|
@@ -11804,10 +12307,10 @@ export declare const ListAgentEventsResponseSchema: z.ZodObject<{
|
|
|
11804
12307
|
message: z.ZodString;
|
|
11805
12308
|
error_category: z.ZodOptional<z.ZodEnum<{
|
|
11806
12309
|
unknown: "unknown";
|
|
12310
|
+
aborted: "aborted";
|
|
11807
12311
|
model_schema_invalid: "model_schema_invalid";
|
|
11808
12312
|
provider_rate_limited: "provider_rate_limited";
|
|
11809
12313
|
provider_unavailable: "provider_unavailable";
|
|
11810
|
-
aborted: "aborted";
|
|
11811
12314
|
}>>;
|
|
11812
12315
|
retryable: z.ZodOptional<z.ZodBoolean>;
|
|
11813
12316
|
attempts: z.ZodOptional<z.ZodNumber>;
|
|
@@ -11855,8 +12358,8 @@ export declare const ListAgentEventsResponseSchema: z.ZodObject<{
|
|
|
11855
12358
|
parent_activity_id: z.ZodOptional<z.ZodString>;
|
|
11856
12359
|
kind: z.ZodEnum<{
|
|
11857
12360
|
preview: "preview";
|
|
11858
|
-
model_call: "model_call";
|
|
11859
12361
|
validation: "validation";
|
|
12362
|
+
model_call: "model_call";
|
|
11860
12363
|
repair: "repair";
|
|
11861
12364
|
worker_group: "worker_group";
|
|
11862
12365
|
}>;
|
|
@@ -11939,6 +12442,15 @@ export interface RestApiEndpointContract {
|
|
|
11939
12442
|
readonly notes?: readonly string[];
|
|
11940
12443
|
}
|
|
11941
12444
|
export declare const REST_API_ENDPOINTS: readonly [{
|
|
12445
|
+
readonly method: "PATCH";
|
|
12446
|
+
readonly path: "/internal/sites/:site_id/snapshots/:snapshot_id/manifest";
|
|
12447
|
+
readonly tag: "snapshots";
|
|
12448
|
+
readonly summary: "Compare-and-set the manifest hash for the active current snapshot after an in-place object replacement.";
|
|
12449
|
+
readonly status: "implemented";
|
|
12450
|
+
readonly request_body_schema: "UpdateCurrentSnapshotManifestRequestSchema";
|
|
12451
|
+
readonly response_schema: "SnapshotRecordSchema";
|
|
12452
|
+
readonly notes: readonly ["Internal Agent authentication is required. The update succeeds only when site current_snapshot_id, snapshot status, object key, and expected manifest hash still match."];
|
|
12453
|
+
}, {
|
|
11942
12454
|
readonly method: "GET";
|
|
11943
12455
|
readonly path: "/health";
|
|
11944
12456
|
readonly tag: "system";
|
|
@@ -12000,6 +12512,72 @@ export declare const REST_API_ENDPOINTS: readonly [{
|
|
|
12000
12512
|
readonly query_schema: "ListDesignerComponentsQuerySchema";
|
|
12001
12513
|
readonly response_schema: "ListDesignerComponentsResponseSchema";
|
|
12002
12514
|
readonly notes: readonly ["The server fixes resource type to component and does not expose resource-platform secrets, internal hosts, or product-line selection."];
|
|
12515
|
+
}, {
|
|
12516
|
+
readonly method: "POST";
|
|
12517
|
+
readonly path: "/sites/:site_id/designer/component-library/resources/:resource_id/install";
|
|
12518
|
+
readonly tag: "designer-component-library";
|
|
12519
|
+
readonly summary: "Install one exact component version and return a strict SiteEditEngine materialization.";
|
|
12520
|
+
readonly status: "implemented";
|
|
12521
|
+
readonly request_body_schema: "InstallDesignerComponentBodySchema";
|
|
12522
|
+
readonly response_schema: "InstallDesignerComponentResponseSchema";
|
|
12523
|
+
readonly notes: readonly ["The server downloads the resource ZIP with the configured secret, validates main.json identity and compatibility, and returns only the strict materialization plus immutable revision metadata."];
|
|
12524
|
+
}, {
|
|
12525
|
+
readonly method: "GET";
|
|
12526
|
+
readonly path: "/sites/:site_id/designer/page-library/categories";
|
|
12527
|
+
readonly tag: "designer-page-library";
|
|
12528
|
+
readonly summary: "List the fixed insert-new-page category tree for a site.";
|
|
12529
|
+
readonly status: "implemented";
|
|
12530
|
+
readonly response_schema: "ListDesignerPageCategoriesResponseSchema";
|
|
12531
|
+
readonly notes: readonly ["The server validates site ownership and fixes category_group_key to insertNewPage."];
|
|
12532
|
+
}, {
|
|
12533
|
+
readonly method: "GET";
|
|
12534
|
+
readonly path: "/sites/:site_id/designer/page-library/resources";
|
|
12535
|
+
readonly tag: "designer-page-library";
|
|
12536
|
+
readonly summary: "List page and pages resources from the fixed designer catalog.";
|
|
12537
|
+
readonly status: "implemented";
|
|
12538
|
+
readonly query_schema: "ListDesignerPagesQuerySchema";
|
|
12539
|
+
readonly response_schema: "ListDesignerPagesResponseSchema";
|
|
12540
|
+
readonly notes: readonly ["The server fixes resource types to page and pages and does not expose resource-platform credentials or internal routing."];
|
|
12541
|
+
}, {
|
|
12542
|
+
readonly method: "POST";
|
|
12543
|
+
readonly path: "/sites/:site_id/designer/page-library/resources/:resource_id/prepare";
|
|
12544
|
+
readonly tag: "designer-page-library";
|
|
12545
|
+
readonly summary: "Resolve one exact page resource version for designer-side draft configuration.";
|
|
12546
|
+
readonly status: "implemented";
|
|
12547
|
+
readonly request_body_schema: "PrepareDesignerPageBodySchema";
|
|
12548
|
+
readonly response_schema: "PrepareDesignerPageResponseSchema";
|
|
12549
|
+
}, {
|
|
12550
|
+
readonly method: "POST";
|
|
12551
|
+
readonly path: "/sites/:site_id/designer/page-library/resources/:resource_id/install";
|
|
12552
|
+
readonly tag: "designer-page-library";
|
|
12553
|
+
readonly summary: "Install one exact page resource version and return a strict PageResourceArtifact.";
|
|
12554
|
+
readonly status: "implemented";
|
|
12555
|
+
readonly request_body_schema: "InstallDesignerPageBodySchema";
|
|
12556
|
+
readonly response_schema: "InstallDesignerPageResponseSchema";
|
|
12557
|
+
readonly notes: readonly ["The server validates the explicit resource type, immutable package identity, page selections, materializations, and package-local references."];
|
|
12558
|
+
}, {
|
|
12559
|
+
readonly method: "GET";
|
|
12560
|
+
readonly path: "/sites/:site_id/designer/pages";
|
|
12561
|
+
readonly tag: "designer-page-library";
|
|
12562
|
+
readonly summary: "List designer pages from the stable first-phase fixture source.";
|
|
12563
|
+
readonly status: "implemented";
|
|
12564
|
+
readonly response_schema: "ListDesignerSitePagesResponseSchema";
|
|
12565
|
+
}, {
|
|
12566
|
+
readonly method: "POST";
|
|
12567
|
+
readonly path: "/sites/:site_id/designer/page-resources/enhance";
|
|
12568
|
+
readonly tag: "designer-page-library";
|
|
12569
|
+
readonly summary: "Echo a designer page-resource candidate without model execution or normalization.";
|
|
12570
|
+
readonly status: "implemented";
|
|
12571
|
+
readonly request_body_schema: "EnhanceDesignerPageResourceBodySchema";
|
|
12572
|
+
readonly response_schema: "EnhanceDesignerPageResourceResponseSchema";
|
|
12573
|
+
}, {
|
|
12574
|
+
readonly method: "POST";
|
|
12575
|
+
readonly path: "/sites/:site_id/designer/page-resources/blank";
|
|
12576
|
+
readonly tag: "designer-page-library";
|
|
12577
|
+
readonly summary: "Create the deterministic built-in blank page artifact for one configured route.";
|
|
12578
|
+
readonly status: "implemented";
|
|
12579
|
+
readonly request_body_schema: "InstallDesignerPageBodySchema";
|
|
12580
|
+
readonly response_schema: "InstallDesignerPageResponseSchema";
|
|
12003
12581
|
}, {
|
|
12004
12582
|
readonly method: "PATCH";
|
|
12005
12583
|
readonly path: "/sites/:site_id";
|
|
@@ -12142,7 +12720,105 @@ export declare const REST_API_ENDPOINTS: readonly [{
|
|
|
12142
12720
|
readonly tag: "snapshots";
|
|
12143
12721
|
readonly summary: "Promote a site snapshot as the current workspace version.";
|
|
12144
12722
|
readonly status: "implemented";
|
|
12723
|
+
readonly request_body_schema: "PromoteSiteSnapshotRequestSchema";
|
|
12145
12724
|
readonly response_schema: "PromoteSiteSnapshotResponseSchema";
|
|
12725
|
+
}, {
|
|
12726
|
+
readonly method: "POST";
|
|
12727
|
+
readonly path: "/internal/sites/:site_id/template-upgrade/lock/try-acquire";
|
|
12728
|
+
readonly tag: "snapshots";
|
|
12729
|
+
readonly summary: "Try to acquire the short-lived template-upgrade site lock.";
|
|
12730
|
+
readonly status: "implemented";
|
|
12731
|
+
readonly request_body_schema: "TryAcquireTemplateUpgradeLockRequestSchema";
|
|
12732
|
+
readonly response_schema: "TryAcquireTemplateUpgradeLockResponseSchema";
|
|
12733
|
+
readonly notes: readonly ["Internal agent-only endpoint; lock contention returns acquired=false instead of a user-facing conflict."];
|
|
12734
|
+
}, {
|
|
12735
|
+
readonly method: "POST";
|
|
12736
|
+
readonly path: "/internal/sites/:site_id/template-upgrade/lock/release";
|
|
12737
|
+
readonly tag: "snapshots";
|
|
12738
|
+
readonly summary: "Release the calling template-upgrade attempt's site lock.";
|
|
12739
|
+
readonly status: "implemented";
|
|
12740
|
+
readonly request_body_schema: "ReleaseTemplateUpgradeLockRequestSchema";
|
|
12741
|
+
readonly response_schema: "ReleaseTemplateUpgradeLockResponseSchema";
|
|
12742
|
+
readonly notes: readonly ["Internal agent-only endpoint; release is scoped by tenant, site, operation type, and owner."];
|
|
12743
|
+
}, {
|
|
12744
|
+
readonly method: "POST";
|
|
12745
|
+
readonly path: "/internal/sites/:site_id/template-upgrade/snapshots/:snapshot_id/promote";
|
|
12746
|
+
readonly tag: "snapshots";
|
|
12747
|
+
readonly summary: "CAS-promote a validated template-upgrade candidate and bind its accepted commit atomically.";
|
|
12748
|
+
readonly status: "implemented";
|
|
12749
|
+
readonly request_body_schema: "PromoteTemplateUpgradeSnapshotRequestSchema";
|
|
12750
|
+
readonly response_schema: "PromoteTemplateUpgradeSnapshotResponseSchema";
|
|
12751
|
+
readonly notes: readonly ["Internal agent-only endpoint; accepted_commit is never part of the public promote request or response."];
|
|
12752
|
+
}, {
|
|
12753
|
+
readonly method: "GET";
|
|
12754
|
+
readonly path: "/internal/sites/:site_id/template-upgrade/state";
|
|
12755
|
+
readonly tag: "snapshots";
|
|
12756
|
+
readonly summary: "Inspect the projected tenant-scoped template-upgrade state without mutation.";
|
|
12757
|
+
readonly status: "implemented";
|
|
12758
|
+
readonly query_schema: "InspectTemplateUpgradeStateRequestSchema";
|
|
12759
|
+
readonly response_schema: "InspectTemplateUpgradeStateResponseSchema";
|
|
12760
|
+
readonly notes: readonly ["Internal agent-only endpoint; tenant identity is derived from trusted request context and the repository path is read-only."];
|
|
12761
|
+
}, {
|
|
12762
|
+
readonly method: "POST";
|
|
12763
|
+
readonly path: "/internal/sites/:site_id/template-upgrade/state/prepare";
|
|
12764
|
+
readonly tag: "snapshots";
|
|
12765
|
+
readonly summary: "Prepare the tenant-scoped template-upgrade retry state for a target version.";
|
|
12766
|
+
readonly status: "implemented";
|
|
12767
|
+
readonly request_body_schema: "PrepareTemplateUpgradeStateRequestSchema";
|
|
12768
|
+
readonly response_schema: "PrepareTemplateUpgradeStateResponseSchema";
|
|
12769
|
+
readonly notes: readonly ["Internal agent-only endpoint; tenant identity is derived from trusted request context and is never accepted in the request body."];
|
|
12770
|
+
}, {
|
|
12771
|
+
readonly method: "POST";
|
|
12772
|
+
readonly path: "/internal/sites/:site_id/template-upgrade/state/failure";
|
|
12773
|
+
readonly tag: "snapshots";
|
|
12774
|
+
readonly summary: "Record a finite validation failure for the prepared template-upgrade target.";
|
|
12775
|
+
readonly status: "implemented";
|
|
12776
|
+
readonly request_body_schema: "RecordTemplateUpgradeFailureRequestSchema";
|
|
12777
|
+
readonly response_schema: "RecordTemplateUpgradeFailureResponseSchema";
|
|
12778
|
+
readonly notes: readonly ["Internal agent-only endpoint; accepts a finite error code and never raw validation output."];
|
|
12779
|
+
}, {
|
|
12780
|
+
readonly method: "POST";
|
|
12781
|
+
readonly path: "/internal/sites/:site_id/template-upgrade/state/success";
|
|
12782
|
+
readonly tag: "snapshots";
|
|
12783
|
+
readonly summary: "Reset retry state after the prepared template-upgrade target succeeds.";
|
|
12784
|
+
readonly status: "implemented";
|
|
12785
|
+
readonly request_body_schema: "RecordTemplateUpgradeSuccessRequestSchema";
|
|
12786
|
+
readonly response_schema: "RecordTemplateUpgradeSuccessResponseSchema";
|
|
12787
|
+
readonly notes: readonly ["Internal agent-only endpoint; tenant identity is derived from trusted request context and is never accepted in the request body."];
|
|
12788
|
+
}, {
|
|
12789
|
+
readonly method: "POST";
|
|
12790
|
+
readonly path: "/internal/sites/:site_id/template-upgrade/events";
|
|
12791
|
+
readonly tag: "snapshots";
|
|
12792
|
+
readonly summary: "Record one bounded template-upgrade observability event.";
|
|
12793
|
+
readonly status: "implemented";
|
|
12794
|
+
readonly request_body_schema: "RecordTemplateUpgradeEventRequestSchema";
|
|
12795
|
+
readonly response_schema: "RecordTemplateUpgradeEventResponseSchema";
|
|
12796
|
+
readonly notes: readonly ["Internal agent-only endpoint; tenant identity is derived from trusted request context and the strict request excludes raw errors, source content, and file paths."];
|
|
12797
|
+
}, {
|
|
12798
|
+
readonly method: "GET";
|
|
12799
|
+
readonly path: "/internal/template-upgrades/report";
|
|
12800
|
+
readonly tag: "snapshots";
|
|
12801
|
+
readonly summary: "Read tenant-scoped template-upgrade outcome, state, and duration aggregates.";
|
|
12802
|
+
readonly status: "implemented";
|
|
12803
|
+
readonly query_schema: "GetTemplateUpgradeReportQuerySchema";
|
|
12804
|
+
readonly response_schema: "GetTemplateUpgradeReportResponseSchema";
|
|
12805
|
+
readonly notes: readonly ["Internal endpoint; tenant identity is derived from trusted request context and all aggregates are tenant-scoped."];
|
|
12806
|
+
}, {
|
|
12807
|
+
readonly method: "GET";
|
|
12808
|
+
readonly path: "/internal/template-upgrades/snapshot-deletions/pending";
|
|
12809
|
+
readonly tag: "snapshots";
|
|
12810
|
+
readonly summary: "List tenant-scoped stale template-upgrade snapshot deletions for dry-run or reconciliation.";
|
|
12811
|
+
readonly status: "implemented";
|
|
12812
|
+
readonly query_schema: "ListTemplateUpgradeSnapshotDeletionCandidatesQuerySchema";
|
|
12813
|
+
readonly response_schema: "ListTemplateUpgradeSnapshotDeletionCandidatesResponseSchema";
|
|
12814
|
+
readonly notes: readonly ["Defaults to retrying deleting tombstones. Including candidate snapshots is an explicit maintenance action and should use a conservative age threshold."];
|
|
12815
|
+
}, {
|
|
12816
|
+
readonly method: "POST";
|
|
12817
|
+
readonly path: "/sites/:site_id/snapshots/:snapshot_id/abandon";
|
|
12818
|
+
readonly tag: "snapshots";
|
|
12819
|
+
readonly summary: "Mark an unpromoted candidate snapshot as failed.";
|
|
12820
|
+
readonly status: "implemented";
|
|
12821
|
+
readonly response_schema: "AbandonSiteSnapshotResponseSchema";
|
|
12146
12822
|
}, {
|
|
12147
12823
|
readonly method: "GET";
|
|
12148
12824
|
readonly path: "/sites/:site_id/snapshots/:snapshot_id";
|
|
@@ -12154,9 +12830,18 @@ export declare const REST_API_ENDPOINTS: readonly [{
|
|
|
12154
12830
|
readonly method: "DELETE";
|
|
12155
12831
|
readonly path: "/sites/:site_id/snapshots/:snapshot_id";
|
|
12156
12832
|
readonly tag: "snapshots";
|
|
12157
|
-
readonly summary: "
|
|
12833
|
+
readonly summary: "Prepare two-phase deletion of a candidate snapshot and return its object key; refuses non-candidate/current/referenced snapshots.";
|
|
12158
12834
|
readonly status: "implemented";
|
|
12159
12835
|
readonly response_schema: "DeleteSiteSnapshotResponseSchema";
|
|
12836
|
+
readonly notes: readonly ["Internal Agent authentication is required. This endpoint only creates a deleting tombstone; object removal and completion are separate steps."];
|
|
12837
|
+
}, {
|
|
12838
|
+
readonly method: "POST";
|
|
12839
|
+
readonly path: "/sites/:site_id/snapshots/:snapshot_id/deletion/complete";
|
|
12840
|
+
readonly tag: "snapshots";
|
|
12841
|
+
readonly summary: "Complete deletion after the snapshot object has been removed; only accepts deleting snapshots.";
|
|
12842
|
+
readonly status: "implemented";
|
|
12843
|
+
readonly response_schema: "CompleteSiteSnapshotDeletionResponseSchema";
|
|
12844
|
+
readonly notes: readonly ["Internal Agent authentication is required; callers must remove the object before completing the DB deletion."];
|
|
12160
12845
|
}, {
|
|
12161
12846
|
readonly method: "POST";
|
|
12162
12847
|
readonly path: "/agent-runs";
|
|
@@ -12246,6 +12931,29 @@ export declare const REST_API_ENDPOINTS: readonly [{
|
|
|
12246
12931
|
readonly request_body_schema: "StartWorkspaceRunRequestSchema";
|
|
12247
12932
|
readonly response_schema: "StartWorkspaceRunResponseSchema";
|
|
12248
12933
|
readonly notes: readonly ["Long-running work must be event-driven and must not block API transactions."];
|
|
12934
|
+
}, {
|
|
12935
|
+
readonly method: "POST";
|
|
12936
|
+
readonly path: "/v1/agent/workspace/:site_id/form-design-operations";
|
|
12937
|
+
readonly tag: "agent/workspace";
|
|
12938
|
+
readonly summary: "Create or replay a deterministic FORM_SPEC save operation.";
|
|
12939
|
+
readonly status: "implemented";
|
|
12940
|
+
readonly request_body_schema: "FormDesignSaveRequestSchema";
|
|
12941
|
+
readonly response_schema: "FormDesignOperationResponseSchema";
|
|
12942
|
+
}, {
|
|
12943
|
+
readonly method: "GET";
|
|
12944
|
+
readonly path: "/v1/agent/workspace/:site_id/form-design-operations/:operation_id";
|
|
12945
|
+
readonly tag: "agent/workspace";
|
|
12946
|
+
readonly summary: "Read a persisted FORM_SPEC save operation.";
|
|
12947
|
+
readonly status: "implemented";
|
|
12948
|
+
readonly response_schema: "FormDesignOperationResponseSchema";
|
|
12949
|
+
}, {
|
|
12950
|
+
readonly method: "POST";
|
|
12951
|
+
readonly path: "/v1/agent/workspace/:site_id/form-design-operations/:operation_id/resume";
|
|
12952
|
+
readonly tag: "agent/workspace";
|
|
12953
|
+
readonly summary: "Resume a recoverable FORM_SPEC save with its original fingerprint.";
|
|
12954
|
+
readonly status: "implemented";
|
|
12955
|
+
readonly request_body_schema: "FormDesignResumeRequestSchema";
|
|
12956
|
+
readonly response_schema: "FormDesignOperationResponseSchema";
|
|
12249
12957
|
}, {
|
|
12250
12958
|
readonly method: "GET";
|
|
12251
12959
|
readonly path: "/sites/:site_id/workspace/runs/latest";
|
|
@@ -12257,7 +12965,7 @@ export declare const REST_API_ENDPOINTS: readonly [{
|
|
|
12257
12965
|
readonly method: "POST";
|
|
12258
12966
|
readonly path: "/sites/:site_id/preview-sessions";
|
|
12259
12967
|
readonly tag: "sandbox-sessions";
|
|
12260
|
-
readonly summary: "Persist or update an on-demand preview session
|
|
12968
|
+
readonly summary: "Persist or update an on-demand preview session; optional expected_current_snapshot_id enables current-snapshot CAS.";
|
|
12261
12969
|
readonly status: "implemented";
|
|
12262
12970
|
readonly request_body_schema: "PersistPreviewSessionRequestSchema";
|
|
12263
12971
|
readonly response_schema: "PersistPreviewSessionResponseSchema";
|
|
@@ -13155,10 +13863,10 @@ export declare const WorkspaceServerMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
13155
13863
|
groups: z.ZodArray<z.ZodObject<{
|
|
13156
13864
|
group_id: z.ZodString;
|
|
13157
13865
|
phase: z.ZodEnum<{
|
|
13866
|
+
pages: "pages";
|
|
13867
|
+
layout: "layout";
|
|
13158
13868
|
sections: "sections";
|
|
13159
13869
|
preview: "preview";
|
|
13160
|
-
layout: "layout";
|
|
13161
|
-
pages: "pages";
|
|
13162
13870
|
repair: "repair";
|
|
13163
13871
|
style_media: "style_media";
|
|
13164
13872
|
chrome: "chrome";
|
|
@@ -13171,9 +13879,9 @@ export declare const WorkspaceServerMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
13171
13879
|
failed: "failed";
|
|
13172
13880
|
pending: "pending";
|
|
13173
13881
|
running: "running";
|
|
13882
|
+
skipped: "skipped";
|
|
13174
13883
|
completed: "completed";
|
|
13175
13884
|
completed_with_skips: "completed_with_skips";
|
|
13176
|
-
skipped: "skipped";
|
|
13177
13885
|
}>;
|
|
13178
13886
|
task_ids: z.ZodArray<z.ZodString>;
|
|
13179
13887
|
depends_on_groups: z.ZodArray<z.ZodString>;
|
|
@@ -13184,8 +13892,8 @@ export declare const WorkspaceServerMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
13184
13892
|
group_id: z.ZodString;
|
|
13185
13893
|
kind: z.ZodEnum<{
|
|
13186
13894
|
page: "page";
|
|
13187
|
-
section: "section";
|
|
13188
13895
|
layout: "layout";
|
|
13896
|
+
section: "section";
|
|
13189
13897
|
chrome: "chrome";
|
|
13190
13898
|
style: "style";
|
|
13191
13899
|
media: "media";
|
|
@@ -13205,9 +13913,9 @@ export declare const WorkspaceServerMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
13205
13913
|
failed: "failed";
|
|
13206
13914
|
pending: "pending";
|
|
13207
13915
|
running: "running";
|
|
13916
|
+
skipped: "skipped";
|
|
13208
13917
|
completed: "completed";
|
|
13209
13918
|
completed_with_skips: "completed_with_skips";
|
|
13210
|
-
skipped: "skipped";
|
|
13211
13919
|
}>;
|
|
13212
13920
|
required_reads: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
13213
13921
|
}, z.core.$strip>>;
|
|
@@ -13215,8 +13923,8 @@ export declare const WorkspaceServerMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
13215
13923
|
from_group_id: z.ZodString;
|
|
13216
13924
|
to_group_id: z.ZodString;
|
|
13217
13925
|
reason: z.ZodEnum<{
|
|
13218
|
-
sections: "sections";
|
|
13219
13926
|
layout: "layout";
|
|
13927
|
+
sections: "sections";
|
|
13220
13928
|
style_media: "style_media";
|
|
13221
13929
|
chrome: "chrome";
|
|
13222
13930
|
page_composition: "page_composition";
|
|
@@ -13249,10 +13957,10 @@ export declare const WorkspaceServerMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
13249
13957
|
payload: z.ZodObject<{
|
|
13250
13958
|
group_id: z.ZodString;
|
|
13251
13959
|
phase: z.ZodEnum<{
|
|
13960
|
+
pages: "pages";
|
|
13961
|
+
layout: "layout";
|
|
13252
13962
|
sections: "sections";
|
|
13253
13963
|
preview: "preview";
|
|
13254
|
-
layout: "layout";
|
|
13255
|
-
pages: "pages";
|
|
13256
13964
|
repair: "repair";
|
|
13257
13965
|
style_media: "style_media";
|
|
13258
13966
|
chrome: "chrome";
|
|
@@ -13264,9 +13972,9 @@ export declare const WorkspaceServerMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
13264
13972
|
failed: "failed";
|
|
13265
13973
|
pending: "pending";
|
|
13266
13974
|
running: "running";
|
|
13975
|
+
skipped: "skipped";
|
|
13267
13976
|
completed: "completed";
|
|
13268
13977
|
completed_with_skips: "completed_with_skips";
|
|
13269
|
-
skipped: "skipped";
|
|
13270
13978
|
}>;
|
|
13271
13979
|
task_counts: z.ZodObject<{
|
|
13272
13980
|
pending: z.ZodNumber;
|
|
@@ -13295,9 +14003,9 @@ export declare const WorkspaceServerMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
13295
14003
|
failed: "failed";
|
|
13296
14004
|
pending: "pending";
|
|
13297
14005
|
running: "running";
|
|
14006
|
+
skipped: "skipped";
|
|
13298
14007
|
completed: "completed";
|
|
13299
14008
|
completed_with_skips: "completed_with_skips";
|
|
13300
|
-
skipped: "skipped";
|
|
13301
14009
|
}>;
|
|
13302
14010
|
target_path: z.ZodString;
|
|
13303
14011
|
read_files_count: z.ZodNumber;
|
|
@@ -13472,8 +14180,8 @@ export declare const WorkspaceServerMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
13472
14180
|
parent_activity_id: z.ZodOptional<z.ZodString>;
|
|
13473
14181
|
kind: z.ZodEnum<{
|
|
13474
14182
|
preview: "preview";
|
|
13475
|
-
model_call: "model_call";
|
|
13476
14183
|
validation: "validation";
|
|
14184
|
+
model_call: "model_call";
|
|
13477
14185
|
repair: "repair";
|
|
13478
14186
|
worker_group: "worker_group";
|
|
13479
14187
|
}>;
|
|
@@ -13885,10 +14593,10 @@ export declare const WorkspaceWebSocketMessageSchema: z.ZodUnion<readonly [z.Zod
|
|
|
13885
14593
|
groups: z.ZodArray<z.ZodObject<{
|
|
13886
14594
|
group_id: z.ZodString;
|
|
13887
14595
|
phase: z.ZodEnum<{
|
|
14596
|
+
pages: "pages";
|
|
14597
|
+
layout: "layout";
|
|
13888
14598
|
sections: "sections";
|
|
13889
14599
|
preview: "preview";
|
|
13890
|
-
layout: "layout";
|
|
13891
|
-
pages: "pages";
|
|
13892
14600
|
repair: "repair";
|
|
13893
14601
|
style_media: "style_media";
|
|
13894
14602
|
chrome: "chrome";
|
|
@@ -13901,9 +14609,9 @@ export declare const WorkspaceWebSocketMessageSchema: z.ZodUnion<readonly [z.Zod
|
|
|
13901
14609
|
failed: "failed";
|
|
13902
14610
|
pending: "pending";
|
|
13903
14611
|
running: "running";
|
|
14612
|
+
skipped: "skipped";
|
|
13904
14613
|
completed: "completed";
|
|
13905
14614
|
completed_with_skips: "completed_with_skips";
|
|
13906
|
-
skipped: "skipped";
|
|
13907
14615
|
}>;
|
|
13908
14616
|
task_ids: z.ZodArray<z.ZodString>;
|
|
13909
14617
|
depends_on_groups: z.ZodArray<z.ZodString>;
|
|
@@ -13914,8 +14622,8 @@ export declare const WorkspaceWebSocketMessageSchema: z.ZodUnion<readonly [z.Zod
|
|
|
13914
14622
|
group_id: z.ZodString;
|
|
13915
14623
|
kind: z.ZodEnum<{
|
|
13916
14624
|
page: "page";
|
|
13917
|
-
section: "section";
|
|
13918
14625
|
layout: "layout";
|
|
14626
|
+
section: "section";
|
|
13919
14627
|
chrome: "chrome";
|
|
13920
14628
|
style: "style";
|
|
13921
14629
|
media: "media";
|
|
@@ -13935,9 +14643,9 @@ export declare const WorkspaceWebSocketMessageSchema: z.ZodUnion<readonly [z.Zod
|
|
|
13935
14643
|
failed: "failed";
|
|
13936
14644
|
pending: "pending";
|
|
13937
14645
|
running: "running";
|
|
14646
|
+
skipped: "skipped";
|
|
13938
14647
|
completed: "completed";
|
|
13939
14648
|
completed_with_skips: "completed_with_skips";
|
|
13940
|
-
skipped: "skipped";
|
|
13941
14649
|
}>;
|
|
13942
14650
|
required_reads: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
13943
14651
|
}, z.core.$strip>>;
|
|
@@ -13945,8 +14653,8 @@ export declare const WorkspaceWebSocketMessageSchema: z.ZodUnion<readonly [z.Zod
|
|
|
13945
14653
|
from_group_id: z.ZodString;
|
|
13946
14654
|
to_group_id: z.ZodString;
|
|
13947
14655
|
reason: z.ZodEnum<{
|
|
13948
|
-
sections: "sections";
|
|
13949
14656
|
layout: "layout";
|
|
14657
|
+
sections: "sections";
|
|
13950
14658
|
style_media: "style_media";
|
|
13951
14659
|
chrome: "chrome";
|
|
13952
14660
|
page_composition: "page_composition";
|
|
@@ -13979,10 +14687,10 @@ export declare const WorkspaceWebSocketMessageSchema: z.ZodUnion<readonly [z.Zod
|
|
|
13979
14687
|
payload: z.ZodObject<{
|
|
13980
14688
|
group_id: z.ZodString;
|
|
13981
14689
|
phase: z.ZodEnum<{
|
|
14690
|
+
pages: "pages";
|
|
14691
|
+
layout: "layout";
|
|
13982
14692
|
sections: "sections";
|
|
13983
14693
|
preview: "preview";
|
|
13984
|
-
layout: "layout";
|
|
13985
|
-
pages: "pages";
|
|
13986
14694
|
repair: "repair";
|
|
13987
14695
|
style_media: "style_media";
|
|
13988
14696
|
chrome: "chrome";
|
|
@@ -13994,9 +14702,9 @@ export declare const WorkspaceWebSocketMessageSchema: z.ZodUnion<readonly [z.Zod
|
|
|
13994
14702
|
failed: "failed";
|
|
13995
14703
|
pending: "pending";
|
|
13996
14704
|
running: "running";
|
|
14705
|
+
skipped: "skipped";
|
|
13997
14706
|
completed: "completed";
|
|
13998
14707
|
completed_with_skips: "completed_with_skips";
|
|
13999
|
-
skipped: "skipped";
|
|
14000
14708
|
}>;
|
|
14001
14709
|
task_counts: z.ZodObject<{
|
|
14002
14710
|
pending: z.ZodNumber;
|
|
@@ -14025,9 +14733,9 @@ export declare const WorkspaceWebSocketMessageSchema: z.ZodUnion<readonly [z.Zod
|
|
|
14025
14733
|
failed: "failed";
|
|
14026
14734
|
pending: "pending";
|
|
14027
14735
|
running: "running";
|
|
14736
|
+
skipped: "skipped";
|
|
14028
14737
|
completed: "completed";
|
|
14029
14738
|
completed_with_skips: "completed_with_skips";
|
|
14030
|
-
skipped: "skipped";
|
|
14031
14739
|
}>;
|
|
14032
14740
|
target_path: z.ZodString;
|
|
14033
14741
|
read_files_count: z.ZodNumber;
|
|
@@ -14202,8 +14910,8 @@ export declare const WorkspaceWebSocketMessageSchema: z.ZodUnion<readonly [z.Zod
|
|
|
14202
14910
|
parent_activity_id: z.ZodOptional<z.ZodString>;
|
|
14203
14911
|
kind: z.ZodEnum<{
|
|
14204
14912
|
preview: "preview";
|
|
14205
|
-
model_call: "model_call";
|
|
14206
14913
|
validation: "validation";
|
|
14914
|
+
model_call: "model_call";
|
|
14207
14915
|
repair: "repair";
|
|
14208
14916
|
worker_group: "worker_group";
|
|
14209
14917
|
}>;
|
|
@@ -14509,6 +15217,11 @@ export declare const WorkspaceDirectEditFileSchema: z.ZodObject<{
|
|
|
14509
15217
|
}>>;
|
|
14510
15218
|
}, z.core.$strip>;
|
|
14511
15219
|
export type WorkspaceDirectEditFile = z.infer<typeof WorkspaceDirectEditFileSchema>;
|
|
15220
|
+
export declare const WorkspaceDirectEditPostActionSchema: z.ZodEnum<{
|
|
15221
|
+
sync_cms_pages: "sync_cms_pages";
|
|
15222
|
+
sync_cms_navigation: "sync_cms_navigation";
|
|
15223
|
+
}>;
|
|
15224
|
+
export type WorkspaceDirectEditPostAction = z.infer<typeof WorkspaceDirectEditPostActionSchema>;
|
|
14512
15225
|
export declare const WorkspaceDirectEditRequestSchema: z.ZodObject<{
|
|
14513
15226
|
files: z.ZodArray<z.ZodObject<{
|
|
14514
15227
|
path: z.ZodString;
|
|
@@ -14517,6 +15230,10 @@ export declare const WorkspaceDirectEditRequestSchema: z.ZodObject<{
|
|
|
14517
15230
|
delete: "delete";
|
|
14518
15231
|
}>>;
|
|
14519
15232
|
}, z.core.$strip>>;
|
|
15233
|
+
post_actions: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
15234
|
+
sync_cms_pages: "sync_cms_pages";
|
|
15235
|
+
sync_cms_navigation: "sync_cms_navigation";
|
|
15236
|
+
}>>>;
|
|
14520
15237
|
}, z.core.$strict>;
|
|
14521
15238
|
export type WorkspaceDirectEditRequest = z.infer<typeof WorkspaceDirectEditRequestSchema>;
|
|
14522
15239
|
export declare const ApplyPatchBatchErrorCodeSchema: z.ZodEnum<{
|
|
@@ -14617,6 +15334,16 @@ export declare const ApplyPatchBatchResultSchema: z.ZodDiscriminatedUnion<[z.Zod
|
|
|
14617
15334
|
export type ApplyPatchBatchResult = z.infer<typeof ApplyPatchBatchResultSchema>;
|
|
14618
15335
|
export declare const WorkspaceDirectEditResponseSchema: z.ZodObject<{
|
|
14619
15336
|
ok: z.ZodLiteral<true>;
|
|
15337
|
+
post_actions: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
15338
|
+
action: z.ZodEnum<{
|
|
15339
|
+
sync_cms_pages: "sync_cms_pages";
|
|
15340
|
+
sync_cms_navigation: "sync_cms_navigation";
|
|
15341
|
+
}>;
|
|
15342
|
+
status: z.ZodEnum<{
|
|
15343
|
+
failed: "failed";
|
|
15344
|
+
succeeded: "succeeded";
|
|
15345
|
+
}>;
|
|
15346
|
+
}, z.core.$strict>>>;
|
|
14620
15347
|
}, z.core.$strip>;
|
|
14621
15348
|
export type WorkspaceDirectEditResponse = z.infer<typeof WorkspaceDirectEditResponseSchema>;
|
|
14622
15349
|
export declare const WorkspaceSourcePathSchema: z.ZodString;
|
|
@@ -14678,12 +15405,19 @@ export type SnapshotManifestFile = {
|
|
|
14678
15405
|
hash: string;
|
|
14679
15406
|
size_bytes: number;
|
|
14680
15407
|
};
|
|
15408
|
+
export type SnapshotTemplateUpgradeReport = {
|
|
15409
|
+
replaced: string[];
|
|
15410
|
+
skipped: string[];
|
|
15411
|
+
skipped_groups: string[];
|
|
15412
|
+
};
|
|
14681
15413
|
export type SnapshotManifest = {
|
|
14682
15414
|
version: 1;
|
|
14683
15415
|
site_id: string;
|
|
14684
15416
|
snapshot_id: string;
|
|
14685
15417
|
files: SnapshotManifestFile[];
|
|
14686
15418
|
created_at: string;
|
|
15419
|
+
template_version?: TemplateVersion;
|
|
15420
|
+
template_upgrade?: SnapshotTemplateUpgradeReport;
|
|
14687
15421
|
};
|
|
14688
15422
|
export declare const SandboxSessionStatusSchema: z.ZodEnum<{
|
|
14689
15423
|
ready: "ready";
|
|
@@ -14728,6 +15462,8 @@ export declare const PersistPreviewSessionRequestSchema: z.ZodObject<{
|
|
|
14728
15462
|
sandbox_id: z.ZodOptional<z.ZodString>;
|
|
14729
15463
|
source_snapshot_id: z.ZodOptional<z.ZodString>;
|
|
14730
15464
|
last_snapshot_id: z.ZodString;
|
|
15465
|
+
expected_current_snapshot_id: z.ZodOptional<z.ZodString>;
|
|
15466
|
+
expected_ready_session_id: z.ZodOptional<z.ZodString>;
|
|
14731
15467
|
status: z.ZodEnum<{
|
|
14732
15468
|
ready: "ready";
|
|
14733
15469
|
failed: "failed";
|