@vcp-dev/contracts 0.6.8 → 0.6.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cms-collection-binding.d.ts +2 -2
- package/dist/designer-page-library.d.ts +106 -0
- package/dist/form-design.d.ts +27 -27
- package/dist/index.d.ts +1182 -458
- package/dist/index.js +1 -1
- package/dist/input-context-bundle.d.ts +9 -9
- package/dist/internal-entity-id.d.ts +35 -0
- package/dist/site-edit-capability.d.ts +6 -6
- package/dist/site-edit-event.d.ts +7 -7
- package/dist/site-edit-operation.d.ts +4 -4
- package/dist/site-edit-patch-plan.d.ts +2 -2
- package/dist/site-edit-render-document.d.ts +14 -14
- package/dist/site-edit-version.d.ts +1 -1
- package/dist/template-upgrade-observability.d.ts +4 -4
- package/dist/workspace-design-apply.d.ts +1 -1
- package/dist/workspace-resource-operation.d.ts +714 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
import { type TemplateVersion } from "./template-version.js";
|
|
3
3
|
export * from "./deployment-runtime.js";
|
|
4
|
+
export * from "./internal-entity-id.js";
|
|
4
5
|
export * from "./designer-component-library.js";
|
|
5
6
|
export * from "./designer-page-library.js";
|
|
6
7
|
export * from "./component-i18n-resources.js";
|
|
@@ -36,6 +37,7 @@ export * from "./cms-collection-binding.js";
|
|
|
36
37
|
export * from "./cms-public-url.js";
|
|
37
38
|
export * from "./input-context-bundle.js";
|
|
38
39
|
export * from "./publish-plan.js";
|
|
40
|
+
export * from "./workspace-resource-operation.js";
|
|
39
41
|
export * from "./custom-domain.js";
|
|
40
42
|
/**
|
|
41
43
|
* Clarify 视觉调性 text-options 题的每个 option 的结构化硬绑信号。
|
|
@@ -487,8 +489,8 @@ export declare const ClarifyQuestionsSchema: z.ZodObject<{
|
|
|
487
489
|
export type ClarifyQuestions = z.infer<typeof ClarifyQuestionsSchema>;
|
|
488
490
|
export declare const ClarifyRunInputSchema: z.ZodObject<{
|
|
489
491
|
tenant_id: z.ZodString;
|
|
490
|
-
site_id: z.
|
|
491
|
-
brief_id: z.
|
|
492
|
+
site_id: z.ZodUUID;
|
|
493
|
+
brief_id: z.ZodUUID;
|
|
492
494
|
brief: z.ZodString;
|
|
493
495
|
site_default_locale: z.ZodOptional<z.ZodEnum<{
|
|
494
496
|
id: "id";
|
|
@@ -685,7 +687,7 @@ export declare const ClarifyRunInputSchema: z.ZodObject<{
|
|
|
685
687
|
audience: "audience";
|
|
686
688
|
other: "other";
|
|
687
689
|
}>;
|
|
688
|
-
source_id: z.
|
|
690
|
+
source_id: z.ZodUUID;
|
|
689
691
|
quote: z.ZodString;
|
|
690
692
|
trust: z.ZodDefault<z.ZodEnum<{
|
|
691
693
|
verbatim: "verbatim";
|
|
@@ -696,11 +698,11 @@ export declare const ClarifyRunInputSchema: z.ZodObject<{
|
|
|
696
698
|
topic: z.ZodString;
|
|
697
699
|
variants: z.ZodArray<z.ZodObject<{
|
|
698
700
|
value: z.ZodString;
|
|
699
|
-
source_id: z.
|
|
701
|
+
source_id: z.ZodUUID;
|
|
700
702
|
}, z.core.$strip>>;
|
|
701
703
|
}, z.core.$strip>>;
|
|
702
704
|
reference: z.ZodOptional<z.ZodObject<{
|
|
703
|
-
source_id: z.
|
|
705
|
+
source_id: z.ZodUUID;
|
|
704
706
|
nav_structure: z.ZodArray<z.ZodString>;
|
|
705
707
|
page_patterns: z.ZodArray<z.ZodObject<{
|
|
706
708
|
page_type: z.ZodString;
|
|
@@ -742,7 +744,7 @@ export declare const AgentErrorCategorySchema: z.ZodEnum<{
|
|
|
742
744
|
export type AgentErrorCategory = z.infer<typeof AgentErrorCategorySchema>;
|
|
743
745
|
export declare const ClarifyStreamEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
744
746
|
type: z.ZodLiteral<"run.started">;
|
|
745
|
-
runId: z.
|
|
747
|
+
runId: z.ZodUUID;
|
|
746
748
|
at: z.ZodString;
|
|
747
749
|
}, z.core.$strip>, z.ZodObject<{
|
|
748
750
|
type: z.ZodLiteral<"skill.selecting">;
|
|
@@ -856,7 +858,7 @@ export declare const SITE_PLANNING_FROZEN_ERROR_CODE: "SITE_PLANNING_INPUT_FROZE
|
|
|
856
858
|
export declare const SITE_PLANNING_LOCKED_ERROR_CODE: "SITE_PLANNING_LOCKED";
|
|
857
859
|
export declare const CreateSiteInputSchema: z.ZodObject<{
|
|
858
860
|
tenant_id: z.ZodString;
|
|
859
|
-
owner_user_id: z.
|
|
861
|
+
owner_user_id: z.ZodUUID;
|
|
860
862
|
name: z.ZodString;
|
|
861
863
|
brief: z.ZodString;
|
|
862
864
|
}, z.core.$strip>;
|
|
@@ -1146,6 +1148,12 @@ export declare const PrepareDesignerPageResponseSchema: z.ZodObject<{
|
|
|
1146
1148
|
pages: z.ZodArray<z.ZodObject<{
|
|
1147
1149
|
template_page_id: z.ZodString;
|
|
1148
1150
|
title: z.ZodString;
|
|
1151
|
+
composition_supported: z.ZodBoolean;
|
|
1152
|
+
blocks: z.ZodArray<z.ZodObject<{
|
|
1153
|
+
instance_id: z.ZodString;
|
|
1154
|
+
component_id: z.ZodString;
|
|
1155
|
+
label: z.ZodString;
|
|
1156
|
+
}, z.core.$strict>>;
|
|
1149
1157
|
}, z.core.$strict>>;
|
|
1150
1158
|
}, z.core.$strict>;
|
|
1151
1159
|
message: z.ZodString;
|
|
@@ -1173,7 +1181,7 @@ export type EnhanceDesignerPageResourceResponse = z.infer<typeof EnhanceDesigner
|
|
|
1173
1181
|
export declare const ExternalSyncSiteResponseSchema: z.ZodObject<{
|
|
1174
1182
|
code: z.ZodNumber;
|
|
1175
1183
|
data: z.ZodObject<{
|
|
1176
|
-
site_id: z.
|
|
1184
|
+
site_id: z.ZodUUID;
|
|
1177
1185
|
site_url: z.ZodString;
|
|
1178
1186
|
}, z.core.$strip>;
|
|
1179
1187
|
message: z.ZodString;
|
|
@@ -1409,9 +1417,9 @@ export declare const GetSitePlanResponseSchema: z.ZodObject<{
|
|
|
1409
1417
|
}, z.core.$strip>;
|
|
1410
1418
|
export type GetSitePlanResponse = z.infer<typeof GetSitePlanResponseSchema>;
|
|
1411
1419
|
export declare const SiteRecordSchema: z.ZodObject<{
|
|
1412
|
-
id: z.
|
|
1420
|
+
id: z.ZodUUID;
|
|
1413
1421
|
tenant_id: z.ZodString;
|
|
1414
|
-
owner_user_id: z.ZodNullable<z.
|
|
1422
|
+
owner_user_id: z.ZodNullable<z.ZodUUID>;
|
|
1415
1423
|
name: z.ZodString;
|
|
1416
1424
|
slug: z.ZodString;
|
|
1417
1425
|
status: z.ZodEnum<{
|
|
@@ -1430,8 +1438,8 @@ export declare const SiteRecordSchema: z.ZodObject<{
|
|
|
1430
1438
|
generated: "generated";
|
|
1431
1439
|
}>;
|
|
1432
1440
|
planning_locked_at: z.ZodNullable<z.ZodString>;
|
|
1433
|
-
current_sitemap_id: z.ZodNullable<z.
|
|
1434
|
-
current_snapshot_id: z.ZodNullable<z.
|
|
1441
|
+
current_sitemap_id: z.ZodNullable<z.ZodUUID>;
|
|
1442
|
+
current_snapshot_id: z.ZodNullable<z.ZodUUID>;
|
|
1435
1443
|
deployed_url: z.ZodNullable<z.ZodString>;
|
|
1436
1444
|
default_locale: z.ZodEnum<{
|
|
1437
1445
|
id: "id";
|
|
@@ -1625,9 +1633,9 @@ export declare const SiteRecordSchema: z.ZodObject<{
|
|
|
1625
1633
|
}, z.core.$strip>;
|
|
1626
1634
|
export type SiteRecord = z.infer<typeof SiteRecordSchema>;
|
|
1627
1635
|
export declare const BriefRecordSchema: z.ZodObject<{
|
|
1628
|
-
id: z.
|
|
1636
|
+
id: z.ZodUUID;
|
|
1629
1637
|
tenant_id: z.ZodString;
|
|
1630
|
-
site_id: z.
|
|
1638
|
+
site_id: z.ZodUUID;
|
|
1631
1639
|
body: z.ZodString;
|
|
1632
1640
|
source: z.ZodEnum<{
|
|
1633
1641
|
user: "user";
|
|
@@ -1640,9 +1648,9 @@ export declare const BriefRecordSchema: z.ZodObject<{
|
|
|
1640
1648
|
export type BriefRecord = z.infer<typeof BriefRecordSchema>;
|
|
1641
1649
|
export declare const CreateSiteBriefResponseSchema: z.ZodObject<{
|
|
1642
1650
|
site: z.ZodObject<{
|
|
1643
|
-
id: z.
|
|
1651
|
+
id: z.ZodUUID;
|
|
1644
1652
|
tenant_id: z.ZodString;
|
|
1645
|
-
owner_user_id: z.ZodNullable<z.
|
|
1653
|
+
owner_user_id: z.ZodNullable<z.ZodUUID>;
|
|
1646
1654
|
name: z.ZodString;
|
|
1647
1655
|
slug: z.ZodString;
|
|
1648
1656
|
status: z.ZodEnum<{
|
|
@@ -1661,8 +1669,8 @@ export declare const CreateSiteBriefResponseSchema: z.ZodObject<{
|
|
|
1661
1669
|
generated: "generated";
|
|
1662
1670
|
}>;
|
|
1663
1671
|
planning_locked_at: z.ZodNullable<z.ZodString>;
|
|
1664
|
-
current_sitemap_id: z.ZodNullable<z.
|
|
1665
|
-
current_snapshot_id: z.ZodNullable<z.
|
|
1672
|
+
current_sitemap_id: z.ZodNullable<z.ZodUUID>;
|
|
1673
|
+
current_snapshot_id: z.ZodNullable<z.ZodUUID>;
|
|
1666
1674
|
deployed_url: z.ZodNullable<z.ZodString>;
|
|
1667
1675
|
default_locale: z.ZodEnum<{
|
|
1668
1676
|
id: "id";
|
|
@@ -1855,9 +1863,9 @@ export declare const CreateSiteBriefResponseSchema: z.ZodObject<{
|
|
|
1855
1863
|
updated_at: z.ZodString;
|
|
1856
1864
|
}, z.core.$strip>;
|
|
1857
1865
|
brief: z.ZodObject<{
|
|
1858
|
-
id: z.
|
|
1866
|
+
id: z.ZodUUID;
|
|
1859
1867
|
tenant_id: z.ZodString;
|
|
1860
|
-
site_id: z.
|
|
1868
|
+
site_id: z.ZodUUID;
|
|
1861
1869
|
body: z.ZodString;
|
|
1862
1870
|
source: z.ZodEnum<{
|
|
1863
1871
|
user: "user";
|
|
@@ -1872,9 +1880,9 @@ export declare const CreateSiteBriefResponseSchema: z.ZodObject<{
|
|
|
1872
1880
|
export type CreateSiteBriefResponse = z.infer<typeof CreateSiteBriefResponseSchema>;
|
|
1873
1881
|
export declare const UpdateBriefResponseSchema: z.ZodObject<{
|
|
1874
1882
|
site: z.ZodObject<{
|
|
1875
|
-
id: z.
|
|
1883
|
+
id: z.ZodUUID;
|
|
1876
1884
|
tenant_id: z.ZodString;
|
|
1877
|
-
owner_user_id: z.ZodNullable<z.
|
|
1885
|
+
owner_user_id: z.ZodNullable<z.ZodUUID>;
|
|
1878
1886
|
name: z.ZodString;
|
|
1879
1887
|
slug: z.ZodString;
|
|
1880
1888
|
status: z.ZodEnum<{
|
|
@@ -1893,8 +1901,8 @@ export declare const UpdateBriefResponseSchema: z.ZodObject<{
|
|
|
1893
1901
|
generated: "generated";
|
|
1894
1902
|
}>;
|
|
1895
1903
|
planning_locked_at: z.ZodNullable<z.ZodString>;
|
|
1896
|
-
current_sitemap_id: z.ZodNullable<z.
|
|
1897
|
-
current_snapshot_id: z.ZodNullable<z.
|
|
1904
|
+
current_sitemap_id: z.ZodNullable<z.ZodUUID>;
|
|
1905
|
+
current_snapshot_id: z.ZodNullable<z.ZodUUID>;
|
|
1898
1906
|
deployed_url: z.ZodNullable<z.ZodString>;
|
|
1899
1907
|
default_locale: z.ZodEnum<{
|
|
1900
1908
|
id: "id";
|
|
@@ -2087,9 +2095,9 @@ export declare const UpdateBriefResponseSchema: z.ZodObject<{
|
|
|
2087
2095
|
updated_at: z.ZodString;
|
|
2088
2096
|
}, z.core.$strip>;
|
|
2089
2097
|
brief: z.ZodObject<{
|
|
2090
|
-
id: z.
|
|
2098
|
+
id: z.ZodUUID;
|
|
2091
2099
|
tenant_id: z.ZodString;
|
|
2092
|
-
site_id: z.
|
|
2100
|
+
site_id: z.ZodUUID;
|
|
2093
2101
|
body: z.ZodString;
|
|
2094
2102
|
source: z.ZodEnum<{
|
|
2095
2103
|
user: "user";
|
|
@@ -2103,9 +2111,9 @@ export declare const UpdateBriefResponseSchema: z.ZodObject<{
|
|
|
2103
2111
|
export type UpdateBriefResponse = z.infer<typeof UpdateBriefResponseSchema>;
|
|
2104
2112
|
export declare const SaveBriefDraftResponseSchema: z.ZodObject<{
|
|
2105
2113
|
brief: z.ZodObject<{
|
|
2106
|
-
id: z.
|
|
2114
|
+
id: z.ZodUUID;
|
|
2107
2115
|
tenant_id: z.ZodString;
|
|
2108
|
-
site_id: z.
|
|
2116
|
+
site_id: z.ZodUUID;
|
|
2109
2117
|
body: z.ZodString;
|
|
2110
2118
|
source: z.ZodEnum<{
|
|
2111
2119
|
user: "user";
|
|
@@ -2145,9 +2153,9 @@ export declare const AgentModelRouteSchema: z.ZodEnum<{
|
|
|
2145
2153
|
summarize: "summarize";
|
|
2146
2154
|
}>;
|
|
2147
2155
|
export declare const AgentRunRecordSchema: z.ZodObject<{
|
|
2148
|
-
id: z.
|
|
2156
|
+
id: z.ZodUUID;
|
|
2149
2157
|
tenant_id: z.ZodString;
|
|
2150
|
-
site_id: z.
|
|
2158
|
+
site_id: z.ZodUUID;
|
|
2151
2159
|
agent_type: z.ZodEnum<{
|
|
2152
2160
|
clarify: "clarify";
|
|
2153
2161
|
sitemap: "sitemap";
|
|
@@ -2180,8 +2188,8 @@ export declare const AgentRunRecordSchema: z.ZodObject<{
|
|
|
2180
2188
|
export type AgentRunRecord = z.infer<typeof AgentRunRecordSchema>;
|
|
2181
2189
|
export type AgentModelRoute = z.infer<typeof AgentModelRouteSchema>;
|
|
2182
2190
|
export declare const CreateAgentRunRequestSchema: z.ZodObject<{
|
|
2183
|
-
run_id: z.ZodOptional<z.
|
|
2184
|
-
site_id: z.
|
|
2191
|
+
run_id: z.ZodOptional<z.ZodUUID>;
|
|
2192
|
+
site_id: z.ZodUUID;
|
|
2185
2193
|
agent_type: z.ZodEnum<{
|
|
2186
2194
|
clarify: "clarify";
|
|
2187
2195
|
sitemap: "sitemap";
|
|
@@ -2204,9 +2212,9 @@ export declare const CreateAgentRunRequestSchema: z.ZodObject<{
|
|
|
2204
2212
|
export type CreateAgentRunRequest = z.infer<typeof CreateAgentRunRequestSchema>;
|
|
2205
2213
|
export declare const CreateAgentRunResponseSchema: z.ZodObject<{
|
|
2206
2214
|
agent_run: z.ZodObject<{
|
|
2207
|
-
id: z.
|
|
2215
|
+
id: z.ZodUUID;
|
|
2208
2216
|
tenant_id: z.ZodString;
|
|
2209
|
-
site_id: z.
|
|
2217
|
+
site_id: z.ZodUUID;
|
|
2210
2218
|
agent_type: z.ZodEnum<{
|
|
2211
2219
|
clarify: "clarify";
|
|
2212
2220
|
sitemap: "sitemap";
|
|
@@ -2241,16 +2249,16 @@ export declare const CreateAgentRunResponseSchema: z.ZodObject<{
|
|
|
2241
2249
|
export type CreateAgentRunResponse = z.infer<typeof CreateAgentRunResponseSchema>;
|
|
2242
2250
|
export declare const SnapshotStatusSchema: z.ZodEnum<{
|
|
2243
2251
|
failed: "failed";
|
|
2252
|
+
draft: "draft";
|
|
2244
2253
|
candidate: "candidate";
|
|
2245
2254
|
current: "current";
|
|
2246
2255
|
deleting: "deleting";
|
|
2247
|
-
draft: "draft";
|
|
2248
2256
|
}>;
|
|
2249
2257
|
export type SnapshotStatus = z.infer<typeof SnapshotStatusSchema>;
|
|
2250
2258
|
export declare const SnapshotRecordSchema: z.ZodObject<{
|
|
2251
|
-
id: z.
|
|
2259
|
+
id: z.ZodUUID;
|
|
2252
2260
|
tenant_id: z.ZodString;
|
|
2253
|
-
site_id: z.
|
|
2261
|
+
site_id: z.ZodUUID;
|
|
2254
2262
|
version: z.ZodNumber;
|
|
2255
2263
|
manifest_hash: z.ZodString;
|
|
2256
2264
|
object_key: z.ZodString;
|
|
@@ -2265,16 +2273,17 @@ export declare const SnapshotRecordSchema: z.ZodObject<{
|
|
|
2265
2273
|
}>;
|
|
2266
2274
|
status: z.ZodEnum<{
|
|
2267
2275
|
failed: "failed";
|
|
2276
|
+
draft: "draft";
|
|
2268
2277
|
candidate: "candidate";
|
|
2269
2278
|
current: "current";
|
|
2270
2279
|
deleting: "deleting";
|
|
2271
|
-
draft: "draft";
|
|
2272
2280
|
}>;
|
|
2273
2281
|
created_at: z.ZodString;
|
|
2274
2282
|
}, z.core.$strip>;
|
|
2275
2283
|
export type SnapshotRecord = z.infer<typeof SnapshotRecordSchema>;
|
|
2276
2284
|
export declare const PersistSiteSnapshotRequestSchema: z.ZodObject<{
|
|
2277
|
-
snapshot_id: z.
|
|
2285
|
+
snapshot_id: z.ZodUUID;
|
|
2286
|
+
creation_key: z.ZodString;
|
|
2278
2287
|
manifest_hash: z.ZodString;
|
|
2279
2288
|
object_key: z.ZodString;
|
|
2280
2289
|
template_version: z.ZodOptional<z.ZodString>;
|
|
@@ -2288,18 +2297,18 @@ export declare const PersistSiteSnapshotRequestSchema: z.ZodObject<{
|
|
|
2288
2297
|
}>;
|
|
2289
2298
|
status: z.ZodDefault<z.ZodEnum<{
|
|
2290
2299
|
failed: "failed";
|
|
2300
|
+
draft: "draft";
|
|
2291
2301
|
candidate: "candidate";
|
|
2292
2302
|
current: "current";
|
|
2293
|
-
draft: "draft";
|
|
2294
2303
|
}>>;
|
|
2295
|
-
source_run_id: z.ZodOptional<z.
|
|
2304
|
+
source_run_id: z.ZodOptional<z.ZodUUID>;
|
|
2296
2305
|
}, z.core.$strip>;
|
|
2297
2306
|
export type PersistSiteSnapshotRequest = z.input<typeof PersistSiteSnapshotRequestSchema>;
|
|
2298
2307
|
export declare const PersistSiteSnapshotResponseSchema: z.ZodObject<{
|
|
2299
2308
|
site: z.ZodObject<{
|
|
2300
|
-
id: z.
|
|
2309
|
+
id: z.ZodUUID;
|
|
2301
2310
|
tenant_id: z.ZodString;
|
|
2302
|
-
owner_user_id: z.ZodNullable<z.
|
|
2311
|
+
owner_user_id: z.ZodNullable<z.ZodUUID>;
|
|
2303
2312
|
name: z.ZodString;
|
|
2304
2313
|
slug: z.ZodString;
|
|
2305
2314
|
status: z.ZodEnum<{
|
|
@@ -2318,8 +2327,8 @@ export declare const PersistSiteSnapshotResponseSchema: z.ZodObject<{
|
|
|
2318
2327
|
generated: "generated";
|
|
2319
2328
|
}>;
|
|
2320
2329
|
planning_locked_at: z.ZodNullable<z.ZodString>;
|
|
2321
|
-
current_sitemap_id: z.ZodNullable<z.
|
|
2322
|
-
current_snapshot_id: z.ZodNullable<z.
|
|
2330
|
+
current_sitemap_id: z.ZodNullable<z.ZodUUID>;
|
|
2331
|
+
current_snapshot_id: z.ZodNullable<z.ZodUUID>;
|
|
2323
2332
|
deployed_url: z.ZodNullable<z.ZodString>;
|
|
2324
2333
|
default_locale: z.ZodEnum<{
|
|
2325
2334
|
id: "id";
|
|
@@ -2512,9 +2521,9 @@ export declare const PersistSiteSnapshotResponseSchema: z.ZodObject<{
|
|
|
2512
2521
|
updated_at: z.ZodString;
|
|
2513
2522
|
}, z.core.$strip>;
|
|
2514
2523
|
snapshot: z.ZodObject<{
|
|
2515
|
-
id: z.
|
|
2524
|
+
id: z.ZodUUID;
|
|
2516
2525
|
tenant_id: z.ZodString;
|
|
2517
|
-
site_id: z.
|
|
2526
|
+
site_id: z.ZodUUID;
|
|
2518
2527
|
version: z.ZodNumber;
|
|
2519
2528
|
manifest_hash: z.ZodString;
|
|
2520
2529
|
object_key: z.ZodString;
|
|
@@ -2529,10 +2538,10 @@ export declare const PersistSiteSnapshotResponseSchema: z.ZodObject<{
|
|
|
2529
2538
|
}>;
|
|
2530
2539
|
status: z.ZodEnum<{
|
|
2531
2540
|
failed: "failed";
|
|
2541
|
+
draft: "draft";
|
|
2532
2542
|
candidate: "candidate";
|
|
2533
2543
|
current: "current";
|
|
2534
2544
|
deleting: "deleting";
|
|
2535
|
-
draft: "draft";
|
|
2536
2545
|
}>;
|
|
2537
2546
|
created_at: z.ZodString;
|
|
2538
2547
|
}, z.core.$strip>;
|
|
@@ -2546,17 +2555,17 @@ export declare const UpdateCurrentSnapshotManifestRequestSchema: z.ZodObject<{
|
|
|
2546
2555
|
}, z.core.$strict>;
|
|
2547
2556
|
export type UpdateCurrentSnapshotManifestRequest = z.infer<typeof UpdateCurrentSnapshotManifestRequestSchema>;
|
|
2548
2557
|
export declare const PromoteSiteSnapshotRequestSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
2549
|
-
base_snapshot_id: z.ZodNullable<z.
|
|
2550
|
-
source_run_id: z.ZodOptional<z.
|
|
2558
|
+
base_snapshot_id: z.ZodNullable<z.ZodUUID>;
|
|
2559
|
+
source_run_id: z.ZodOptional<z.ZodUUID>;
|
|
2551
2560
|
}, z.core.$strict>, z.ZodObject<{
|
|
2552
2561
|
skip_base_check: z.ZodLiteral<true>;
|
|
2553
2562
|
}, z.core.$strict>]>;
|
|
2554
2563
|
export type PromoteSiteSnapshotRequest = z.infer<typeof PromoteSiteSnapshotRequestSchema>;
|
|
2555
2564
|
export declare const PromoteSiteSnapshotResponseSchema: z.ZodObject<{
|
|
2556
2565
|
site: z.ZodObject<{
|
|
2557
|
-
id: z.
|
|
2566
|
+
id: z.ZodUUID;
|
|
2558
2567
|
tenant_id: z.ZodString;
|
|
2559
|
-
owner_user_id: z.ZodNullable<z.
|
|
2568
|
+
owner_user_id: z.ZodNullable<z.ZodUUID>;
|
|
2560
2569
|
name: z.ZodString;
|
|
2561
2570
|
slug: z.ZodString;
|
|
2562
2571
|
status: z.ZodEnum<{
|
|
@@ -2575,8 +2584,8 @@ export declare const PromoteSiteSnapshotResponseSchema: z.ZodObject<{
|
|
|
2575
2584
|
generated: "generated";
|
|
2576
2585
|
}>;
|
|
2577
2586
|
planning_locked_at: z.ZodNullable<z.ZodString>;
|
|
2578
|
-
current_sitemap_id: z.ZodNullable<z.
|
|
2579
|
-
current_snapshot_id: z.ZodNullable<z.
|
|
2587
|
+
current_sitemap_id: z.ZodNullable<z.ZodUUID>;
|
|
2588
|
+
current_snapshot_id: z.ZodNullable<z.ZodUUID>;
|
|
2580
2589
|
deployed_url: z.ZodNullable<z.ZodString>;
|
|
2581
2590
|
default_locale: z.ZodEnum<{
|
|
2582
2591
|
id: "id";
|
|
@@ -2769,9 +2778,9 @@ export declare const PromoteSiteSnapshotResponseSchema: z.ZodObject<{
|
|
|
2769
2778
|
updated_at: z.ZodString;
|
|
2770
2779
|
}, z.core.$strip>;
|
|
2771
2780
|
snapshot: z.ZodObject<{
|
|
2772
|
-
id: z.
|
|
2781
|
+
id: z.ZodUUID;
|
|
2773
2782
|
tenant_id: z.ZodString;
|
|
2774
|
-
site_id: z.
|
|
2783
|
+
site_id: z.ZodUUID;
|
|
2775
2784
|
version: z.ZodNumber;
|
|
2776
2785
|
manifest_hash: z.ZodString;
|
|
2777
2786
|
object_key: z.ZodString;
|
|
@@ -2786,10 +2795,10 @@ export declare const PromoteSiteSnapshotResponseSchema: z.ZodObject<{
|
|
|
2786
2795
|
}>;
|
|
2787
2796
|
status: z.ZodEnum<{
|
|
2788
2797
|
failed: "failed";
|
|
2798
|
+
draft: "draft";
|
|
2789
2799
|
candidate: "candidate";
|
|
2790
2800
|
current: "current";
|
|
2791
2801
|
deleting: "deleting";
|
|
2792
|
-
draft: "draft";
|
|
2793
2802
|
}>;
|
|
2794
2803
|
created_at: z.ZodString;
|
|
2795
2804
|
}, z.core.$strip>;
|
|
@@ -2798,9 +2807,9 @@ export declare const PromoteSiteSnapshotResponseSchema: z.ZodObject<{
|
|
|
2798
2807
|
export type PromoteSiteSnapshotResponse = z.infer<typeof PromoteSiteSnapshotResponseSchema>;
|
|
2799
2808
|
export declare const AbandonSiteSnapshotResponseSchema: z.ZodObject<{
|
|
2800
2809
|
snapshot: z.ZodObject<{
|
|
2801
|
-
id: z.
|
|
2810
|
+
id: z.ZodUUID;
|
|
2802
2811
|
tenant_id: z.ZodString;
|
|
2803
|
-
site_id: z.
|
|
2812
|
+
site_id: z.ZodUUID;
|
|
2804
2813
|
version: z.ZodNumber;
|
|
2805
2814
|
manifest_hash: z.ZodString;
|
|
2806
2815
|
object_key: z.ZodString;
|
|
@@ -2815,10 +2824,10 @@ export declare const AbandonSiteSnapshotResponseSchema: z.ZodObject<{
|
|
|
2815
2824
|
}>;
|
|
2816
2825
|
status: z.ZodEnum<{
|
|
2817
2826
|
failed: "failed";
|
|
2827
|
+
draft: "draft";
|
|
2818
2828
|
candidate: "candidate";
|
|
2819
2829
|
current: "current";
|
|
2820
2830
|
deleting: "deleting";
|
|
2821
|
-
draft: "draft";
|
|
2822
2831
|
}>;
|
|
2823
2832
|
created_at: z.ZodString;
|
|
2824
2833
|
}, z.core.$strip>;
|
|
@@ -2832,13 +2841,13 @@ export type AbandonSiteSnapshotResponse = z.infer<typeof AbandonSiteSnapshotResp
|
|
|
2832
2841
|
*/
|
|
2833
2842
|
export declare const DeleteSiteSnapshotResponseSchema: z.ZodObject<{
|
|
2834
2843
|
status: z.ZodLiteral<"deleting">;
|
|
2835
|
-
snapshot_id: z.
|
|
2844
|
+
snapshot_id: z.ZodUUID;
|
|
2836
2845
|
object_key: z.ZodString;
|
|
2837
2846
|
}, z.core.$strip>;
|
|
2838
2847
|
export type DeleteSiteSnapshotResponse = z.infer<typeof DeleteSiteSnapshotResponseSchema>;
|
|
2839
2848
|
export declare const CompleteSiteSnapshotDeletionResponseSchema: z.ZodObject<{
|
|
2840
2849
|
status: z.ZodLiteral<"deleted">;
|
|
2841
|
-
snapshot_id: z.
|
|
2850
|
+
snapshot_id: z.ZodUUID;
|
|
2842
2851
|
}, z.core.$strip>;
|
|
2843
2852
|
export type CompleteSiteSnapshotDeletionResponse = z.infer<typeof CompleteSiteSnapshotDeletionResponseSchema>;
|
|
2844
2853
|
/**
|
|
@@ -2847,13 +2856,13 @@ export type CompleteSiteSnapshotDeletionResponse = z.infer<typeof CompleteSiteSn
|
|
|
2847
2856
|
* 源 workspace run 绑定,作为恢复到任一历史版本的依据。
|
|
2848
2857
|
*/
|
|
2849
2858
|
export declare const SiteVersionRecordSchema: z.ZodObject<{
|
|
2850
|
-
id: z.
|
|
2859
|
+
id: z.ZodUUID;
|
|
2851
2860
|
tenant_id: z.ZodString;
|
|
2852
|
-
site_id: z.
|
|
2853
|
-
snapshot_id: z.
|
|
2861
|
+
site_id: z.ZodUUID;
|
|
2862
|
+
snapshot_id: z.ZodUUID;
|
|
2854
2863
|
version: z.ZodNumber;
|
|
2855
2864
|
accepted_commit: z.ZodString;
|
|
2856
|
-
source_run_id: z.ZodNullable<z.
|
|
2865
|
+
source_run_id: z.ZodNullable<z.ZodUUID>;
|
|
2857
2866
|
created_at: z.ZodString;
|
|
2858
2867
|
}, z.core.$strip>;
|
|
2859
2868
|
export type SiteVersionRecord = z.infer<typeof SiteVersionRecordSchema>;
|
|
@@ -2864,13 +2873,13 @@ export type SiteVersionRecord = z.infer<typeof SiteVersionRecordSchema>;
|
|
|
2864
2873
|
* `SiteVersionRecord`。
|
|
2865
2874
|
*/
|
|
2866
2875
|
export declare const SiteVersionListItemSchema: z.ZodObject<{
|
|
2867
|
-
id: z.
|
|
2876
|
+
id: z.ZodUUID;
|
|
2868
2877
|
tenant_id: z.ZodString;
|
|
2869
|
-
site_id: z.
|
|
2870
|
-
snapshot_id: z.
|
|
2878
|
+
site_id: z.ZodUUID;
|
|
2879
|
+
snapshot_id: z.ZodUUID;
|
|
2871
2880
|
version: z.ZodNumber;
|
|
2872
2881
|
accepted_commit: z.ZodString;
|
|
2873
|
-
source_run_id: z.ZodNullable<z.
|
|
2882
|
+
source_run_id: z.ZodNullable<z.ZodUUID>;
|
|
2874
2883
|
created_at: z.ZodString;
|
|
2875
2884
|
reason: z.ZodEnum<{
|
|
2876
2885
|
initial_generation: "initial_generation";
|
|
@@ -2882,27 +2891,27 @@ export declare const SiteVersionListItemSchema: z.ZodObject<{
|
|
|
2882
2891
|
}>;
|
|
2883
2892
|
status: z.ZodEnum<{
|
|
2884
2893
|
failed: "failed";
|
|
2894
|
+
draft: "draft";
|
|
2885
2895
|
candidate: "candidate";
|
|
2886
2896
|
current: "current";
|
|
2887
2897
|
deleting: "deleting";
|
|
2888
|
-
draft: "draft";
|
|
2889
2898
|
}>;
|
|
2890
2899
|
}, z.core.$strip>;
|
|
2891
2900
|
export type SiteVersionListItem = z.infer<typeof SiteVersionListItemSchema>;
|
|
2892
2901
|
export declare const RecordSnapshotVersionRequestSchema: z.ZodObject<{
|
|
2893
2902
|
accepted_commit: z.ZodString;
|
|
2894
|
-
source_run_id: z.ZodOptional<z.
|
|
2903
|
+
source_run_id: z.ZodOptional<z.ZodUUID>;
|
|
2895
2904
|
}, z.core.$strip>;
|
|
2896
2905
|
export type RecordSnapshotVersionRequest = z.infer<typeof RecordSnapshotVersionRequestSchema>;
|
|
2897
2906
|
export declare const RecordSnapshotVersionResponseSchema: z.ZodObject<{
|
|
2898
2907
|
site_version: z.ZodObject<{
|
|
2899
|
-
id: z.
|
|
2908
|
+
id: z.ZodUUID;
|
|
2900
2909
|
tenant_id: z.ZodString;
|
|
2901
|
-
site_id: z.
|
|
2902
|
-
snapshot_id: z.
|
|
2910
|
+
site_id: z.ZodUUID;
|
|
2911
|
+
snapshot_id: z.ZodUUID;
|
|
2903
2912
|
version: z.ZodNumber;
|
|
2904
2913
|
accepted_commit: z.ZodString;
|
|
2905
|
-
source_run_id: z.ZodNullable<z.
|
|
2914
|
+
source_run_id: z.ZodNullable<z.ZodUUID>;
|
|
2906
2915
|
created_at: z.ZodString;
|
|
2907
2916
|
}, z.core.$strip>;
|
|
2908
2917
|
next_step: z.ZodLiteral<"workspace">;
|
|
@@ -2928,16 +2937,16 @@ export declare const ReleaseTemplateUpgradeLockResponseSchema: z.ZodObject<{
|
|
|
2928
2937
|
export type ReleaseTemplateUpgradeLockResponse = z.infer<typeof ReleaseTemplateUpgradeLockResponseSchema>;
|
|
2929
2938
|
export declare const TEMPLATE_UPGRADE_LOCK_LOST_ERROR_CODE: "TEMPLATE_UPGRADE_LOCK_LOST";
|
|
2930
2939
|
export declare const PromoteTemplateUpgradeSnapshotRequestSchema: z.ZodObject<{
|
|
2931
|
-
base_snapshot_id: z.
|
|
2940
|
+
base_snapshot_id: z.ZodUUID;
|
|
2932
2941
|
accepted_commit: z.ZodString;
|
|
2933
2942
|
owner_id: z.ZodString;
|
|
2934
2943
|
}, z.core.$strict>;
|
|
2935
2944
|
export type PromoteTemplateUpgradeSnapshotRequest = z.infer<typeof PromoteTemplateUpgradeSnapshotRequestSchema>;
|
|
2936
2945
|
export declare const PromoteTemplateUpgradeSnapshotResponseSchema: z.ZodObject<{
|
|
2937
2946
|
site: z.ZodObject<{
|
|
2938
|
-
id: z.
|
|
2947
|
+
id: z.ZodUUID;
|
|
2939
2948
|
tenant_id: z.ZodString;
|
|
2940
|
-
owner_user_id: z.ZodNullable<z.
|
|
2949
|
+
owner_user_id: z.ZodNullable<z.ZodUUID>;
|
|
2941
2950
|
name: z.ZodString;
|
|
2942
2951
|
slug: z.ZodString;
|
|
2943
2952
|
status: z.ZodEnum<{
|
|
@@ -2956,8 +2965,8 @@ export declare const PromoteTemplateUpgradeSnapshotResponseSchema: z.ZodObject<{
|
|
|
2956
2965
|
generated: "generated";
|
|
2957
2966
|
}>;
|
|
2958
2967
|
planning_locked_at: z.ZodNullable<z.ZodString>;
|
|
2959
|
-
current_sitemap_id: z.ZodNullable<z.
|
|
2960
|
-
current_snapshot_id: z.ZodNullable<z.
|
|
2968
|
+
current_sitemap_id: z.ZodNullable<z.ZodUUID>;
|
|
2969
|
+
current_snapshot_id: z.ZodNullable<z.ZodUUID>;
|
|
2961
2970
|
deployed_url: z.ZodNullable<z.ZodString>;
|
|
2962
2971
|
default_locale: z.ZodEnum<{
|
|
2963
2972
|
id: "id";
|
|
@@ -3150,9 +3159,9 @@ export declare const PromoteTemplateUpgradeSnapshotResponseSchema: z.ZodObject<{
|
|
|
3150
3159
|
updated_at: z.ZodString;
|
|
3151
3160
|
}, z.core.$strip>;
|
|
3152
3161
|
snapshot: z.ZodObject<{
|
|
3153
|
-
id: z.
|
|
3162
|
+
id: z.ZodUUID;
|
|
3154
3163
|
tenant_id: z.ZodString;
|
|
3155
|
-
site_id: z.
|
|
3164
|
+
site_id: z.ZodUUID;
|
|
3156
3165
|
version: z.ZodNumber;
|
|
3157
3166
|
manifest_hash: z.ZodString;
|
|
3158
3167
|
object_key: z.ZodString;
|
|
@@ -3167,10 +3176,10 @@ export declare const PromoteTemplateUpgradeSnapshotResponseSchema: z.ZodObject<{
|
|
|
3167
3176
|
}>;
|
|
3168
3177
|
status: z.ZodEnum<{
|
|
3169
3178
|
failed: "failed";
|
|
3179
|
+
draft: "draft";
|
|
3170
3180
|
candidate: "candidate";
|
|
3171
3181
|
current: "current";
|
|
3172
3182
|
deleting: "deleting";
|
|
3173
|
-
draft: "draft";
|
|
3174
3183
|
}>;
|
|
3175
3184
|
created_at: z.ZodString;
|
|
3176
3185
|
}, z.core.$strip>;
|
|
@@ -3179,13 +3188,13 @@ export declare const PromoteTemplateUpgradeSnapshotResponseSchema: z.ZodObject<{
|
|
|
3179
3188
|
export type PromoteTemplateUpgradeSnapshotResponse = z.infer<typeof PromoteTemplateUpgradeSnapshotResponseSchema>;
|
|
3180
3189
|
export declare const ListSiteVersionsResponseSchema: z.ZodObject<{
|
|
3181
3190
|
site_versions: z.ZodArray<z.ZodObject<{
|
|
3182
|
-
id: z.
|
|
3191
|
+
id: z.ZodUUID;
|
|
3183
3192
|
tenant_id: z.ZodString;
|
|
3184
|
-
site_id: z.
|
|
3185
|
-
snapshot_id: z.
|
|
3193
|
+
site_id: z.ZodUUID;
|
|
3194
|
+
snapshot_id: z.ZodUUID;
|
|
3186
3195
|
version: z.ZodNumber;
|
|
3187
3196
|
accepted_commit: z.ZodString;
|
|
3188
|
-
source_run_id: z.ZodNullable<z.
|
|
3197
|
+
source_run_id: z.ZodNullable<z.ZodUUID>;
|
|
3189
3198
|
created_at: z.ZodString;
|
|
3190
3199
|
reason: z.ZodEnum<{
|
|
3191
3200
|
initial_generation: "initial_generation";
|
|
@@ -3197,19 +3206,19 @@ export declare const ListSiteVersionsResponseSchema: z.ZodObject<{
|
|
|
3197
3206
|
}>;
|
|
3198
3207
|
status: z.ZodEnum<{
|
|
3199
3208
|
failed: "failed";
|
|
3209
|
+
draft: "draft";
|
|
3200
3210
|
candidate: "candidate";
|
|
3201
3211
|
current: "current";
|
|
3202
3212
|
deleting: "deleting";
|
|
3203
|
-
draft: "draft";
|
|
3204
3213
|
}>;
|
|
3205
3214
|
}, z.core.$strip>>;
|
|
3206
3215
|
}, z.core.$strip>;
|
|
3207
3216
|
export type ListSiteVersionsResponse = z.infer<typeof ListSiteVersionsResponseSchema>;
|
|
3208
3217
|
export declare const RestoreSiteSnapshotResponseSchema: z.ZodObject<{
|
|
3209
3218
|
site: z.ZodObject<{
|
|
3210
|
-
id: z.
|
|
3219
|
+
id: z.ZodUUID;
|
|
3211
3220
|
tenant_id: z.ZodString;
|
|
3212
|
-
owner_user_id: z.ZodNullable<z.
|
|
3221
|
+
owner_user_id: z.ZodNullable<z.ZodUUID>;
|
|
3213
3222
|
name: z.ZodString;
|
|
3214
3223
|
slug: z.ZodString;
|
|
3215
3224
|
status: z.ZodEnum<{
|
|
@@ -3228,8 +3237,8 @@ export declare const RestoreSiteSnapshotResponseSchema: z.ZodObject<{
|
|
|
3228
3237
|
generated: "generated";
|
|
3229
3238
|
}>;
|
|
3230
3239
|
planning_locked_at: z.ZodNullable<z.ZodString>;
|
|
3231
|
-
current_sitemap_id: z.ZodNullable<z.
|
|
3232
|
-
current_snapshot_id: z.ZodNullable<z.
|
|
3240
|
+
current_sitemap_id: z.ZodNullable<z.ZodUUID>;
|
|
3241
|
+
current_snapshot_id: z.ZodNullable<z.ZodUUID>;
|
|
3233
3242
|
deployed_url: z.ZodNullable<z.ZodString>;
|
|
3234
3243
|
default_locale: z.ZodEnum<{
|
|
3235
3244
|
id: "id";
|
|
@@ -3422,9 +3431,9 @@ export declare const RestoreSiteSnapshotResponseSchema: z.ZodObject<{
|
|
|
3422
3431
|
updated_at: z.ZodString;
|
|
3423
3432
|
}, z.core.$strip>;
|
|
3424
3433
|
snapshot: z.ZodObject<{
|
|
3425
|
-
id: z.
|
|
3434
|
+
id: z.ZodUUID;
|
|
3426
3435
|
tenant_id: z.ZodString;
|
|
3427
|
-
site_id: z.
|
|
3436
|
+
site_id: z.ZodUUID;
|
|
3428
3437
|
version: z.ZodNumber;
|
|
3429
3438
|
manifest_hash: z.ZodString;
|
|
3430
3439
|
object_key: z.ZodString;
|
|
@@ -3439,21 +3448,21 @@ export declare const RestoreSiteSnapshotResponseSchema: z.ZodObject<{
|
|
|
3439
3448
|
}>;
|
|
3440
3449
|
status: z.ZodEnum<{
|
|
3441
3450
|
failed: "failed";
|
|
3451
|
+
draft: "draft";
|
|
3442
3452
|
candidate: "candidate";
|
|
3443
3453
|
current: "current";
|
|
3444
3454
|
deleting: "deleting";
|
|
3445
|
-
draft: "draft";
|
|
3446
3455
|
}>;
|
|
3447
3456
|
created_at: z.ZodString;
|
|
3448
3457
|
}, z.core.$strip>;
|
|
3449
3458
|
site_version: z.ZodObject<{
|
|
3450
|
-
id: z.
|
|
3459
|
+
id: z.ZodUUID;
|
|
3451
3460
|
tenant_id: z.ZodString;
|
|
3452
|
-
site_id: z.
|
|
3453
|
-
snapshot_id: z.
|
|
3461
|
+
site_id: z.ZodUUID;
|
|
3462
|
+
snapshot_id: z.ZodUUID;
|
|
3454
3463
|
version: z.ZodNumber;
|
|
3455
3464
|
accepted_commit: z.ZodString;
|
|
3456
|
-
source_run_id: z.ZodNullable<z.
|
|
3465
|
+
source_run_id: z.ZodNullable<z.ZodUUID>;
|
|
3457
3466
|
created_at: z.ZodString;
|
|
3458
3467
|
}, z.core.$strip>;
|
|
3459
3468
|
next_step: z.ZodLiteral<"workspace">;
|
|
@@ -3465,13 +3474,13 @@ export type RestoreSiteSnapshotResponse = z.infer<typeof RestoreSiteSnapshotResp
|
|
|
3465
3474
|
* 运行中的 sandbox 并起预览。客户端绝不直连 agent。
|
|
3466
3475
|
*/
|
|
3467
3476
|
export declare const PrepareVersionPreviewRequestSchema: z.ZodObject<{
|
|
3468
|
-
snapshot_id: z.
|
|
3477
|
+
snapshot_id: z.ZodUUID;
|
|
3469
3478
|
force_rehydrate: z.ZodOptional<z.ZodBoolean>;
|
|
3470
3479
|
}, z.core.$strip>;
|
|
3471
3480
|
export type PrepareVersionPreviewRequest = z.infer<typeof PrepareVersionPreviewRequestSchema>;
|
|
3472
3481
|
export declare const PrepareVersionPreviewResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3473
3482
|
status: z.ZodLiteral<"ready">;
|
|
3474
|
-
snapshot_id: z.
|
|
3483
|
+
snapshot_id: z.ZodUUID;
|
|
3475
3484
|
preview_url: z.ZodString;
|
|
3476
3485
|
}, z.core.$strip>, z.ZodObject<{
|
|
3477
3486
|
status: z.ZodLiteral<"failed">;
|
|
@@ -3498,10 +3507,10 @@ export declare const DeploymentStatusSchema: z.ZodEnum<{
|
|
|
3498
3507
|
}>;
|
|
3499
3508
|
export type DeploymentStatus = z.infer<typeof DeploymentStatusSchema>;
|
|
3500
3509
|
export declare const DeploymentRecordSchema: z.ZodObject<{
|
|
3501
|
-
id: z.
|
|
3510
|
+
id: z.ZodUUID;
|
|
3502
3511
|
tenant_id: z.ZodString;
|
|
3503
|
-
site_id: z.
|
|
3504
|
-
snapshot_id: z.
|
|
3512
|
+
site_id: z.ZodUUID;
|
|
3513
|
+
snapshot_id: z.ZodUUID;
|
|
3505
3514
|
version: z.ZodNumber;
|
|
3506
3515
|
status: z.ZodEnum<{
|
|
3507
3516
|
queued: "queued";
|
|
@@ -3529,15 +3538,15 @@ export declare const DeploymentRecordSchema: z.ZodObject<{
|
|
|
3529
3538
|
}, z.core.$strip>;
|
|
3530
3539
|
export type DeploymentRecord = z.infer<typeof DeploymentRecordSchema>;
|
|
3531
3540
|
export declare const CreateDeploymentRequestSchema: z.ZodDefault<z.ZodObject<{
|
|
3532
|
-
snapshot_id: z.ZodOptional<z.
|
|
3541
|
+
snapshot_id: z.ZodOptional<z.ZodUUID>;
|
|
3533
3542
|
}, z.core.$strip>>;
|
|
3534
3543
|
export type CreateDeploymentRequest = z.input<typeof CreateDeploymentRequestSchema>;
|
|
3535
3544
|
export declare const CreateDeploymentResponseSchema: z.ZodObject<{
|
|
3536
3545
|
deployment: z.ZodObject<{
|
|
3537
|
-
id: z.
|
|
3546
|
+
id: z.ZodUUID;
|
|
3538
3547
|
tenant_id: z.ZodString;
|
|
3539
|
-
site_id: z.
|
|
3540
|
-
snapshot_id: z.
|
|
3548
|
+
site_id: z.ZodUUID;
|
|
3549
|
+
snapshot_id: z.ZodUUID;
|
|
3541
3550
|
version: z.ZodNumber;
|
|
3542
3551
|
status: z.ZodEnum<{
|
|
3543
3552
|
queued: "queued";
|
|
@@ -3567,10 +3576,10 @@ export declare const CreateDeploymentResponseSchema: z.ZodObject<{
|
|
|
3567
3576
|
export type CreateDeploymentResponse = z.infer<typeof CreateDeploymentResponseSchema>;
|
|
3568
3577
|
export declare const CurrentDeploymentResponseSchema: z.ZodObject<{
|
|
3569
3578
|
deployment: z.ZodNullable<z.ZodObject<{
|
|
3570
|
-
id: z.
|
|
3579
|
+
id: z.ZodUUID;
|
|
3571
3580
|
tenant_id: z.ZodString;
|
|
3572
|
-
site_id: z.
|
|
3573
|
-
snapshot_id: z.
|
|
3581
|
+
site_id: z.ZodUUID;
|
|
3582
|
+
snapshot_id: z.ZodUUID;
|
|
3574
3583
|
version: z.ZodNumber;
|
|
3575
3584
|
status: z.ZodEnum<{
|
|
3576
3585
|
queued: "queued";
|
|
@@ -3600,10 +3609,10 @@ export declare const CurrentDeploymentResponseSchema: z.ZodObject<{
|
|
|
3600
3609
|
export type CurrentDeploymentResponse = z.infer<typeof CurrentDeploymentResponseSchema>;
|
|
3601
3610
|
export declare const GetDeploymentResponseSchema: z.ZodObject<{
|
|
3602
3611
|
deployment: z.ZodObject<{
|
|
3603
|
-
id: z.
|
|
3612
|
+
id: z.ZodUUID;
|
|
3604
3613
|
tenant_id: z.ZodString;
|
|
3605
|
-
site_id: z.
|
|
3606
|
-
snapshot_id: z.
|
|
3614
|
+
site_id: z.ZodUUID;
|
|
3615
|
+
snapshot_id: z.ZodUUID;
|
|
3607
3616
|
version: z.ZodNumber;
|
|
3608
3617
|
status: z.ZodEnum<{
|
|
3609
3618
|
queued: "queued";
|
|
@@ -3632,7 +3641,7 @@ export declare const GetDeploymentResponseSchema: z.ZodObject<{
|
|
|
3632
3641
|
}, z.core.$strip>;
|
|
3633
3642
|
export type GetDeploymentResponse = z.infer<typeof GetDeploymentResponseSchema>;
|
|
3634
3643
|
export declare const DeploymentStatusSummarySchema: z.ZodObject<{
|
|
3635
|
-
id: z.
|
|
3644
|
+
id: z.ZodUUID;
|
|
3636
3645
|
status: z.ZodEnum<{
|
|
3637
3646
|
queued: "queued";
|
|
3638
3647
|
preparing_source: "preparing_source";
|
|
@@ -3655,7 +3664,7 @@ export declare const DeploymentStatusSummarySchema: z.ZodObject<{
|
|
|
3655
3664
|
export type DeploymentStatusSummary = z.infer<typeof DeploymentStatusSummarySchema>;
|
|
3656
3665
|
export declare const GetDeploymentsStatusResponseSchema: z.ZodObject<{
|
|
3657
3666
|
current: z.ZodNullable<z.ZodObject<{
|
|
3658
|
-
id: z.
|
|
3667
|
+
id: z.ZodUUID;
|
|
3659
3668
|
status: z.ZodEnum<{
|
|
3660
3669
|
queued: "queued";
|
|
3661
3670
|
preparing_source: "preparing_source";
|
|
@@ -3676,7 +3685,7 @@ export declare const GetDeploymentsStatusResponseSchema: z.ZodObject<{
|
|
|
3676
3685
|
provider_deployment_id: z.ZodNullable<z.ZodString>;
|
|
3677
3686
|
}, z.core.$strip>>;
|
|
3678
3687
|
latest_released: z.ZodNullable<z.ZodObject<{
|
|
3679
|
-
id: z.
|
|
3688
|
+
id: z.ZodUUID;
|
|
3680
3689
|
status: z.ZodEnum<{
|
|
3681
3690
|
queued: "queued";
|
|
3682
3691
|
preparing_source: "preparing_source";
|
|
@@ -3710,17 +3719,17 @@ export type DeploymentWsServerMessageType = z.infer<typeof DeploymentWsServerMes
|
|
|
3710
3719
|
export declare const DeploymentWsServerMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3711
3720
|
id: z.ZodString;
|
|
3712
3721
|
tenant_id: z.ZodString;
|
|
3713
|
-
site_id: z.
|
|
3714
|
-
deployment_id: z.
|
|
3722
|
+
site_id: z.ZodUUID;
|
|
3723
|
+
deployment_id: z.ZodUUID;
|
|
3715
3724
|
seq: z.ZodNumber;
|
|
3716
3725
|
sent_at: z.ZodString;
|
|
3717
3726
|
type: z.ZodLiteral<"deployment.snapshot">;
|
|
3718
3727
|
payload: z.ZodObject<{
|
|
3719
3728
|
deployment: z.ZodObject<{
|
|
3720
|
-
id: z.
|
|
3729
|
+
id: z.ZodUUID;
|
|
3721
3730
|
tenant_id: z.ZodString;
|
|
3722
|
-
site_id: z.
|
|
3723
|
-
snapshot_id: z.
|
|
3731
|
+
site_id: z.ZodUUID;
|
|
3732
|
+
snapshot_id: z.ZodUUID;
|
|
3724
3733
|
version: z.ZodNumber;
|
|
3725
3734
|
status: z.ZodEnum<{
|
|
3726
3735
|
queued: "queued";
|
|
@@ -3750,17 +3759,17 @@ export declare const DeploymentWsServerMessageSchema: z.ZodDiscriminatedUnion<[z
|
|
|
3750
3759
|
}, z.core.$strip>, z.ZodObject<{
|
|
3751
3760
|
id: z.ZodString;
|
|
3752
3761
|
tenant_id: z.ZodString;
|
|
3753
|
-
site_id: z.
|
|
3754
|
-
deployment_id: z.
|
|
3762
|
+
site_id: z.ZodUUID;
|
|
3763
|
+
deployment_id: z.ZodUUID;
|
|
3755
3764
|
seq: z.ZodNumber;
|
|
3756
3765
|
sent_at: z.ZodString;
|
|
3757
3766
|
type: z.ZodLiteral<"deployment.status.changed">;
|
|
3758
3767
|
payload: z.ZodObject<{
|
|
3759
3768
|
deployment: z.ZodObject<{
|
|
3760
|
-
id: z.
|
|
3769
|
+
id: z.ZodUUID;
|
|
3761
3770
|
tenant_id: z.ZodString;
|
|
3762
|
-
site_id: z.
|
|
3763
|
-
snapshot_id: z.
|
|
3771
|
+
site_id: z.ZodUUID;
|
|
3772
|
+
snapshot_id: z.ZodUUID;
|
|
3764
3773
|
version: z.ZodNumber;
|
|
3765
3774
|
status: z.ZodEnum<{
|
|
3766
3775
|
queued: "queued";
|
|
@@ -3790,17 +3799,17 @@ export declare const DeploymentWsServerMessageSchema: z.ZodDiscriminatedUnion<[z
|
|
|
3790
3799
|
}, z.core.$strip>, z.ZodObject<{
|
|
3791
3800
|
id: z.ZodString;
|
|
3792
3801
|
tenant_id: z.ZodString;
|
|
3793
|
-
site_id: z.
|
|
3794
|
-
deployment_id: z.
|
|
3802
|
+
site_id: z.ZodUUID;
|
|
3803
|
+
deployment_id: z.ZodUUID;
|
|
3795
3804
|
seq: z.ZodNumber;
|
|
3796
3805
|
sent_at: z.ZodString;
|
|
3797
3806
|
type: z.ZodLiteral<"deployment.finished">;
|
|
3798
3807
|
payload: z.ZodObject<{
|
|
3799
3808
|
deployment: z.ZodObject<{
|
|
3800
|
-
id: z.
|
|
3809
|
+
id: z.ZodUUID;
|
|
3801
3810
|
tenant_id: z.ZodString;
|
|
3802
|
-
site_id: z.
|
|
3803
|
-
snapshot_id: z.
|
|
3811
|
+
site_id: z.ZodUUID;
|
|
3812
|
+
snapshot_id: z.ZodUUID;
|
|
3804
3813
|
version: z.ZodNumber;
|
|
3805
3814
|
status: z.ZodEnum<{
|
|
3806
3815
|
queued: "queued";
|
|
@@ -3830,17 +3839,17 @@ export declare const DeploymentWsServerMessageSchema: z.ZodDiscriminatedUnion<[z
|
|
|
3830
3839
|
}, z.core.$strip>, z.ZodObject<{
|
|
3831
3840
|
id: z.ZodString;
|
|
3832
3841
|
tenant_id: z.ZodString;
|
|
3833
|
-
site_id: z.
|
|
3834
|
-
deployment_id: z.
|
|
3842
|
+
site_id: z.ZodUUID;
|
|
3843
|
+
deployment_id: z.ZodUUID;
|
|
3835
3844
|
seq: z.ZodNumber;
|
|
3836
3845
|
sent_at: z.ZodString;
|
|
3837
3846
|
type: z.ZodLiteral<"deployment.failed">;
|
|
3838
3847
|
payload: z.ZodObject<{
|
|
3839
3848
|
deployment: z.ZodObject<{
|
|
3840
|
-
id: z.
|
|
3849
|
+
id: z.ZodUUID;
|
|
3841
3850
|
tenant_id: z.ZodString;
|
|
3842
|
-
site_id: z.
|
|
3843
|
-
snapshot_id: z.
|
|
3851
|
+
site_id: z.ZodUUID;
|
|
3852
|
+
snapshot_id: z.ZodUUID;
|
|
3844
3853
|
version: z.ZodNumber;
|
|
3845
3854
|
status: z.ZodEnum<{
|
|
3846
3855
|
queued: "queued";
|
|
@@ -3870,8 +3879,8 @@ export declare const DeploymentWsServerMessageSchema: z.ZodDiscriminatedUnion<[z
|
|
|
3870
3879
|
}, z.core.$strip>, z.ZodObject<{
|
|
3871
3880
|
id: z.ZodString;
|
|
3872
3881
|
tenant_id: z.ZodString;
|
|
3873
|
-
site_id: z.
|
|
3874
|
-
deployment_id: z.
|
|
3882
|
+
site_id: z.ZodUUID;
|
|
3883
|
+
deployment_id: z.ZodUUID;
|
|
3875
3884
|
seq: z.ZodNumber;
|
|
3876
3885
|
sent_at: z.ZodString;
|
|
3877
3886
|
type: z.ZodLiteral<"deployment.realtime.recovered">;
|
|
@@ -3881,8 +3890,8 @@ export declare const DeploymentWsServerMessageSchema: z.ZodDiscriminatedUnion<[z
|
|
|
3881
3890
|
}, z.core.$strip>, z.ZodObject<{
|
|
3882
3891
|
id: z.ZodString;
|
|
3883
3892
|
tenant_id: z.ZodString;
|
|
3884
|
-
site_id: z.
|
|
3885
|
-
deployment_id: z.
|
|
3893
|
+
site_id: z.ZodUUID;
|
|
3894
|
+
deployment_id: z.ZodUUID;
|
|
3886
3895
|
seq: z.ZodNumber;
|
|
3887
3896
|
sent_at: z.ZodString;
|
|
3888
3897
|
type: z.ZodLiteral<"server.error">;
|
|
@@ -3895,8 +3904,8 @@ export declare const DeploymentWsServerMessageSchema: z.ZodDiscriminatedUnion<[z
|
|
|
3895
3904
|
export type DeploymentWsServerMessage = z.infer<typeof DeploymentWsServerMessageSchema>;
|
|
3896
3905
|
export declare const DeploymentRedisPubSubEventSchema: z.ZodObject<{
|
|
3897
3906
|
tenant_id: z.ZodString;
|
|
3898
|
-
site_id: z.
|
|
3899
|
-
deployment_id: z.
|
|
3907
|
+
site_id: z.ZodUUID;
|
|
3908
|
+
deployment_id: z.ZodUUID;
|
|
3900
3909
|
status: z.ZodEnum<{
|
|
3901
3910
|
queued: "queued";
|
|
3902
3911
|
preparing_source: "preparing_source";
|
|
@@ -3951,9 +3960,9 @@ export declare const CreateAgentRunConflictResponseSchema: z.ZodObject<{
|
|
|
3951
3960
|
code: z.ZodLiteral<"AGENT_RUN_IN_FLIGHT">;
|
|
3952
3961
|
message: z.ZodString;
|
|
3953
3962
|
agent_run: z.ZodObject<{
|
|
3954
|
-
id: z.
|
|
3963
|
+
id: z.ZodUUID;
|
|
3955
3964
|
tenant_id: z.ZodString;
|
|
3956
|
-
site_id: z.
|
|
3965
|
+
site_id: z.ZodUUID;
|
|
3957
3966
|
agent_type: z.ZodEnum<{
|
|
3958
3967
|
clarify: "clarify";
|
|
3959
3968
|
sitemap: "sitemap";
|
|
@@ -5015,60 +5024,60 @@ export declare const SitemapEditActorSchema: z.ZodEnum<{
|
|
|
5015
5024
|
}>;
|
|
5016
5025
|
export type SitemapEditActor = z.infer<typeof SitemapEditActorSchema>;
|
|
5017
5026
|
export declare const SitemapMoveBlockInputSchema: z.ZodObject<{
|
|
5018
|
-
site_id: z.
|
|
5027
|
+
site_id: z.ZodUUID;
|
|
5019
5028
|
page_id: z.ZodString;
|
|
5020
5029
|
edited_by: z.ZodDefault<z.ZodEnum<{
|
|
5021
5030
|
ai: "ai";
|
|
5022
5031
|
user: "user";
|
|
5023
5032
|
}>>;
|
|
5024
|
-
source_agent_run_id: z.ZodOptional<z.
|
|
5033
|
+
source_agent_run_id: z.ZodOptional<z.ZodUUID>;
|
|
5025
5034
|
block_id: z.ZodString;
|
|
5026
5035
|
target_index: z.ZodNumber;
|
|
5027
5036
|
}, z.core.$strip>;
|
|
5028
5037
|
export type SitemapMoveBlockInput = z.infer<typeof SitemapMoveBlockInputSchema>;
|
|
5029
5038
|
export declare const SitemapDeleteBlockInputSchema: z.ZodObject<{
|
|
5030
|
-
site_id: z.
|
|
5039
|
+
site_id: z.ZodUUID;
|
|
5031
5040
|
page_id: z.ZodString;
|
|
5032
5041
|
edited_by: z.ZodDefault<z.ZodEnum<{
|
|
5033
5042
|
ai: "ai";
|
|
5034
5043
|
user: "user";
|
|
5035
5044
|
}>>;
|
|
5036
|
-
source_agent_run_id: z.ZodOptional<z.
|
|
5045
|
+
source_agent_run_id: z.ZodOptional<z.ZodUUID>;
|
|
5037
5046
|
block_id: z.ZodString;
|
|
5038
5047
|
}, z.core.$strip>;
|
|
5039
5048
|
export type SitemapDeleteBlockInput = z.infer<typeof SitemapDeleteBlockInputSchema>;
|
|
5040
5049
|
export declare const SitemapUpdateBlockInstructionInputSchema: z.ZodObject<{
|
|
5041
|
-
site_id: z.
|
|
5050
|
+
site_id: z.ZodUUID;
|
|
5042
5051
|
page_id: z.ZodString;
|
|
5043
5052
|
edited_by: z.ZodDefault<z.ZodEnum<{
|
|
5044
5053
|
ai: "ai";
|
|
5045
5054
|
user: "user";
|
|
5046
5055
|
}>>;
|
|
5047
|
-
source_agent_run_id: z.ZodOptional<z.
|
|
5056
|
+
source_agent_run_id: z.ZodOptional<z.ZodUUID>;
|
|
5048
5057
|
block_id: z.ZodString;
|
|
5049
5058
|
instruction: z.ZodString;
|
|
5050
5059
|
}, z.core.$strip>;
|
|
5051
5060
|
export type SitemapUpdateBlockInstructionInput = z.infer<typeof SitemapUpdateBlockInstructionInputSchema>;
|
|
5052
5061
|
export declare const SitemapChangeBlockVariantInputSchema: z.ZodObject<{
|
|
5053
|
-
site_id: z.
|
|
5062
|
+
site_id: z.ZodUUID;
|
|
5054
5063
|
page_id: z.ZodString;
|
|
5055
5064
|
edited_by: z.ZodDefault<z.ZodEnum<{
|
|
5056
5065
|
ai: "ai";
|
|
5057
5066
|
user: "user";
|
|
5058
5067
|
}>>;
|
|
5059
|
-
source_agent_run_id: z.ZodOptional<z.
|
|
5068
|
+
source_agent_run_id: z.ZodOptional<z.ZodUUID>;
|
|
5060
5069
|
block_id: z.ZodString;
|
|
5061
5070
|
variant: z.ZodNullable<z.ZodString>;
|
|
5062
5071
|
}, z.core.$strip>;
|
|
5063
5072
|
export type SitemapChangeBlockVariantInput = z.infer<typeof SitemapChangeBlockVariantInputSchema>;
|
|
5064
5073
|
export declare const SitemapUpdateBlockPropsInputSchema: z.ZodObject<{
|
|
5065
|
-
site_id: z.
|
|
5074
|
+
site_id: z.ZodUUID;
|
|
5066
5075
|
page_id: z.ZodString;
|
|
5067
5076
|
edited_by: z.ZodDefault<z.ZodEnum<{
|
|
5068
5077
|
ai: "ai";
|
|
5069
5078
|
user: "user";
|
|
5070
5079
|
}>>;
|
|
5071
|
-
source_agent_run_id: z.ZodOptional<z.
|
|
5080
|
+
source_agent_run_id: z.ZodOptional<z.ZodUUID>;
|
|
5072
5081
|
block_id: z.ZodString;
|
|
5073
5082
|
props: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
5074
5083
|
mode: z.ZodDefault<z.ZodEnum<{
|
|
@@ -5078,13 +5087,13 @@ export declare const SitemapUpdateBlockPropsInputSchema: z.ZodObject<{
|
|
|
5078
5087
|
}, z.core.$strip>;
|
|
5079
5088
|
export type SitemapUpdateBlockPropsInput = z.infer<typeof SitemapUpdateBlockPropsInputSchema>;
|
|
5080
5089
|
export declare const SitemapAddBlockInputSchema: z.ZodObject<{
|
|
5081
|
-
site_id: z.
|
|
5090
|
+
site_id: z.ZodUUID;
|
|
5082
5091
|
page_id: z.ZodString;
|
|
5083
5092
|
edited_by: z.ZodDefault<z.ZodEnum<{
|
|
5084
5093
|
ai: "ai";
|
|
5085
5094
|
user: "user";
|
|
5086
5095
|
}>>;
|
|
5087
|
-
source_agent_run_id: z.ZodOptional<z.
|
|
5096
|
+
source_agent_run_id: z.ZodOptional<z.ZodUUID>;
|
|
5088
5097
|
block: z.ZodObject<{
|
|
5089
5098
|
id: z.ZodString;
|
|
5090
5099
|
type: z.ZodString;
|
|
@@ -5106,25 +5115,25 @@ export type SitemapEditOperation = z.infer<typeof SitemapEditOperationSchema>;
|
|
|
5106
5115
|
export declare const WorkspaceSitemapEditRequestSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
5107
5116
|
operation: z.ZodLiteral<"delete_block">;
|
|
5108
5117
|
input: z.ZodObject<{
|
|
5109
|
-
site_id: z.
|
|
5118
|
+
site_id: z.ZodUUID;
|
|
5110
5119
|
page_id: z.ZodString;
|
|
5111
5120
|
edited_by: z.ZodDefault<z.ZodEnum<{
|
|
5112
5121
|
ai: "ai";
|
|
5113
5122
|
user: "user";
|
|
5114
5123
|
}>>;
|
|
5115
|
-
source_agent_run_id: z.ZodOptional<z.
|
|
5124
|
+
source_agent_run_id: z.ZodOptional<z.ZodUUID>;
|
|
5116
5125
|
block_id: z.ZodString;
|
|
5117
5126
|
}, z.core.$strip>;
|
|
5118
5127
|
}, z.core.$strict>, z.ZodObject<{
|
|
5119
5128
|
operation: z.ZodLiteral<"update_block_instruction">;
|
|
5120
5129
|
input: z.ZodObject<{
|
|
5121
|
-
site_id: z.
|
|
5130
|
+
site_id: z.ZodUUID;
|
|
5122
5131
|
page_id: z.ZodString;
|
|
5123
5132
|
edited_by: z.ZodDefault<z.ZodEnum<{
|
|
5124
5133
|
ai: "ai";
|
|
5125
5134
|
user: "user";
|
|
5126
5135
|
}>>;
|
|
5127
|
-
source_agent_run_id: z.ZodOptional<z.
|
|
5136
|
+
source_agent_run_id: z.ZodOptional<z.ZodUUID>;
|
|
5128
5137
|
block_id: z.ZodString;
|
|
5129
5138
|
instruction: z.ZodString;
|
|
5130
5139
|
}, z.core.$strip>;
|
|
@@ -5150,8 +5159,8 @@ export declare const SitemapEditSuccessSchema: z.ZodObject<{
|
|
|
5150
5159
|
update_block_props: "update_block_props";
|
|
5151
5160
|
add_block: "add_block";
|
|
5152
5161
|
}>;
|
|
5153
|
-
site_id: z.
|
|
5154
|
-
sitemap_id: z.
|
|
5162
|
+
site_id: z.ZodUUID;
|
|
5163
|
+
sitemap_id: z.ZodUUID;
|
|
5155
5164
|
version: z.ZodNumber;
|
|
5156
5165
|
changed_pages: z.ZodArray<z.ZodString>;
|
|
5157
5166
|
requires_code_patch: z.ZodLiteral<true>;
|
|
@@ -5181,8 +5190,8 @@ export declare const SitemapEditResultSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
5181
5190
|
update_block_props: "update_block_props";
|
|
5182
5191
|
add_block: "add_block";
|
|
5183
5192
|
}>;
|
|
5184
|
-
site_id: z.
|
|
5185
|
-
sitemap_id: z.
|
|
5193
|
+
site_id: z.ZodUUID;
|
|
5194
|
+
sitemap_id: z.ZodUUID;
|
|
5186
5195
|
version: z.ZodNumber;
|
|
5187
5196
|
changed_pages: z.ZodArray<z.ZodString>;
|
|
5188
5197
|
requires_code_patch: z.ZodLiteral<true>;
|
|
@@ -5269,8 +5278,8 @@ export declare const SitemapAnswerSchema: z.ZodObject<{
|
|
|
5269
5278
|
export type SitemapAnswer = z.infer<typeof SitemapAnswerSchema>;
|
|
5270
5279
|
export declare const SitemapRunInputSchema: z.ZodObject<{
|
|
5271
5280
|
tenant_id: z.ZodString;
|
|
5272
|
-
site_id: z.
|
|
5273
|
-
brief_id: z.
|
|
5281
|
+
site_id: z.ZodUUID;
|
|
5282
|
+
brief_id: z.ZodUUID;
|
|
5274
5283
|
brief: z.ZodString;
|
|
5275
5284
|
answers: z.ZodArray<z.ZodObject<{
|
|
5276
5285
|
question_id: z.ZodString;
|
|
@@ -5534,7 +5543,7 @@ export declare const SitemapRunInputSchema: z.ZodObject<{
|
|
|
5534
5543
|
is: "is";
|
|
5535
5544
|
}>>;
|
|
5536
5545
|
reference: z.ZodOptional<z.ZodObject<{
|
|
5537
|
-
source_id: z.
|
|
5546
|
+
source_id: z.ZodUUID;
|
|
5538
5547
|
nav_structure: z.ZodArray<z.ZodString>;
|
|
5539
5548
|
page_patterns: z.ZodArray<z.ZodObject<{
|
|
5540
5549
|
page_type: z.ZodString;
|
|
@@ -5554,7 +5563,7 @@ export declare const SitemapRunInputSchema: z.ZodObject<{
|
|
|
5554
5563
|
audience: "audience";
|
|
5555
5564
|
other: "other";
|
|
5556
5565
|
}>;
|
|
5557
|
-
source_id: z.
|
|
5566
|
+
source_id: z.ZodUUID;
|
|
5558
5567
|
quote: z.ZodString;
|
|
5559
5568
|
trust: z.ZodDefault<z.ZodEnum<{
|
|
5560
5569
|
verbatim: "verbatim";
|
|
@@ -5565,7 +5574,7 @@ export declare const SitemapRunInputSchema: z.ZodObject<{
|
|
|
5565
5574
|
topic: z.ZodString;
|
|
5566
5575
|
variants: z.ZodArray<z.ZodObject<{
|
|
5567
5576
|
value: z.ZodString;
|
|
5568
|
-
source_id: z.
|
|
5577
|
+
source_id: z.ZodUUID;
|
|
5569
5578
|
}, z.core.$strip>>;
|
|
5570
5579
|
}, z.core.$strip>>;
|
|
5571
5580
|
}, z.core.$strip>>;
|
|
@@ -5590,7 +5599,7 @@ export declare const SitemapGenerationReasonSchema: z.ZodEnum<{
|
|
|
5590
5599
|
export type SitemapGenerationReason = z.infer<typeof SitemapGenerationReasonSchema>;
|
|
5591
5600
|
export declare const SitemapStreamEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
5592
5601
|
type: z.ZodLiteral<"run.started">;
|
|
5593
|
-
runId: z.
|
|
5602
|
+
runId: z.ZodUUID;
|
|
5594
5603
|
at: z.ZodString;
|
|
5595
5604
|
}, z.core.$strip>, z.ZodObject<{
|
|
5596
5605
|
type: z.ZodLiteral<"sitemap.generating">;
|
|
@@ -5618,7 +5627,7 @@ export declare const SitemapStreamEventSchema: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
5618
5627
|
}>>;
|
|
5619
5628
|
attempts: z.ZodOptional<z.ZodNumber>;
|
|
5620
5629
|
type: z.ZodLiteral<"sitemap.generated">;
|
|
5621
|
-
sitemap_id: z.
|
|
5630
|
+
sitemap_id: z.ZodUUID;
|
|
5622
5631
|
sitemap: z.ZodObject<{
|
|
5623
5632
|
site_name: z.ZodOptional<z.ZodString>;
|
|
5624
5633
|
version: z.ZodNumber;
|
|
@@ -5781,7 +5790,7 @@ export declare const SitemapStreamEventSchema: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
5781
5790
|
at: z.ZodString;
|
|
5782
5791
|
}, z.core.$strip>, z.ZodObject<{
|
|
5783
5792
|
type: z.ZodLiteral<"snapshot.created">;
|
|
5784
|
-
snapshot_id: z.
|
|
5793
|
+
snapshot_id: z.ZodUUID;
|
|
5785
5794
|
manifest_hash: z.ZodString;
|
|
5786
5795
|
at: z.ZodString;
|
|
5787
5796
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -5791,14 +5800,14 @@ export declare const SitemapStreamEventSchema: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
5791
5800
|
at: z.ZodString;
|
|
5792
5801
|
}, z.core.$strip>, z.ZodObject<{
|
|
5793
5802
|
type: z.ZodLiteral<"run.finished">;
|
|
5794
|
-
snapshot_id: z.ZodOptional<z.
|
|
5803
|
+
snapshot_id: z.ZodOptional<z.ZodUUID>;
|
|
5795
5804
|
at: z.ZodString;
|
|
5796
5805
|
}, z.core.$strip>], "type">;
|
|
5797
5806
|
export type SitemapStreamEvent = z.infer<typeof SitemapStreamEventSchema>;
|
|
5798
5807
|
export declare const SitemapRecordSchema: z.ZodObject<{
|
|
5799
|
-
id: z.
|
|
5808
|
+
id: z.ZodUUID;
|
|
5800
5809
|
tenant_id: z.ZodString;
|
|
5801
|
-
site_id: z.
|
|
5810
|
+
site_id: z.ZodUUID;
|
|
5802
5811
|
version: z.ZodNumber;
|
|
5803
5812
|
sitemap: z.ZodObject<{
|
|
5804
5813
|
site_name: z.ZodOptional<z.ZodString>;
|
|
@@ -5934,13 +5943,14 @@ export declare const SitemapRecordSchema: z.ZodObject<{
|
|
|
5934
5943
|
}, z.core.$strip>>;
|
|
5935
5944
|
}, z.core.$strip>>;
|
|
5936
5945
|
}, z.core.$strict>;
|
|
5937
|
-
source_agent_run_id: z.ZodNullable<z.
|
|
5946
|
+
source_agent_run_id: z.ZodNullable<z.ZodUUID>;
|
|
5938
5947
|
created_at: z.ZodString;
|
|
5939
5948
|
updated_at: z.ZodString;
|
|
5940
5949
|
}, z.core.$strip>;
|
|
5941
5950
|
export type SitemapRecord = z.infer<typeof SitemapRecordSchema>;
|
|
5942
5951
|
export declare const PersistSiteSitemapRequestSchema: z.ZodObject<{
|
|
5943
|
-
sitemap_id: z.
|
|
5952
|
+
sitemap_id: z.ZodUUID;
|
|
5953
|
+
creation_key: z.ZodString;
|
|
5944
5954
|
sitemap: z.ZodObject<{
|
|
5945
5955
|
site_name: z.ZodOptional<z.ZodString>;
|
|
5946
5956
|
version: z.ZodNumber;
|
|
@@ -6075,14 +6085,14 @@ export declare const PersistSiteSitemapRequestSchema: z.ZodObject<{
|
|
|
6075
6085
|
}, z.core.$strip>>;
|
|
6076
6086
|
}, z.core.$strip>>;
|
|
6077
6087
|
}, z.core.$strict>;
|
|
6078
|
-
source_agent_run_id: z.ZodOptional<z.
|
|
6088
|
+
source_agent_run_id: z.ZodOptional<z.ZodUUID>;
|
|
6079
6089
|
}, z.core.$strip>;
|
|
6080
6090
|
export type PersistSiteSitemapRequest = z.infer<typeof PersistSiteSitemapRequestSchema>;
|
|
6081
6091
|
export declare const PersistSiteSitemapResponseSchema: z.ZodObject<{
|
|
6082
6092
|
site: z.ZodObject<{
|
|
6083
|
-
id: z.
|
|
6093
|
+
id: z.ZodUUID;
|
|
6084
6094
|
tenant_id: z.ZodString;
|
|
6085
|
-
owner_user_id: z.ZodNullable<z.
|
|
6095
|
+
owner_user_id: z.ZodNullable<z.ZodUUID>;
|
|
6086
6096
|
name: z.ZodString;
|
|
6087
6097
|
slug: z.ZodString;
|
|
6088
6098
|
status: z.ZodEnum<{
|
|
@@ -6101,8 +6111,8 @@ export declare const PersistSiteSitemapResponseSchema: z.ZodObject<{
|
|
|
6101
6111
|
generated: "generated";
|
|
6102
6112
|
}>;
|
|
6103
6113
|
planning_locked_at: z.ZodNullable<z.ZodString>;
|
|
6104
|
-
current_sitemap_id: z.ZodNullable<z.
|
|
6105
|
-
current_snapshot_id: z.ZodNullable<z.
|
|
6114
|
+
current_sitemap_id: z.ZodNullable<z.ZodUUID>;
|
|
6115
|
+
current_snapshot_id: z.ZodNullable<z.ZodUUID>;
|
|
6106
6116
|
deployed_url: z.ZodNullable<z.ZodString>;
|
|
6107
6117
|
default_locale: z.ZodEnum<{
|
|
6108
6118
|
id: "id";
|
|
@@ -6295,9 +6305,9 @@ export declare const PersistSiteSitemapResponseSchema: z.ZodObject<{
|
|
|
6295
6305
|
updated_at: z.ZodString;
|
|
6296
6306
|
}, z.core.$strip>;
|
|
6297
6307
|
sitemap: z.ZodObject<{
|
|
6298
|
-
id: z.
|
|
6308
|
+
id: z.ZodUUID;
|
|
6299
6309
|
tenant_id: z.ZodString;
|
|
6300
|
-
site_id: z.
|
|
6310
|
+
site_id: z.ZodUUID;
|
|
6301
6311
|
version: z.ZodNumber;
|
|
6302
6312
|
sitemap: z.ZodObject<{
|
|
6303
6313
|
site_name: z.ZodOptional<z.ZodString>;
|
|
@@ -6433,7 +6443,7 @@ export declare const PersistSiteSitemapResponseSchema: z.ZodObject<{
|
|
|
6433
6443
|
}, z.core.$strip>>;
|
|
6434
6444
|
}, z.core.$strip>>;
|
|
6435
6445
|
}, z.core.$strict>;
|
|
6436
|
-
source_agent_run_id: z.ZodNullable<z.
|
|
6446
|
+
source_agent_run_id: z.ZodNullable<z.ZodUUID>;
|
|
6437
6447
|
created_at: z.ZodString;
|
|
6438
6448
|
updated_at: z.ZodString;
|
|
6439
6449
|
}, z.core.$strip>;
|
|
@@ -6442,10 +6452,10 @@ export declare const PersistSiteSitemapResponseSchema: z.ZodObject<{
|
|
|
6442
6452
|
export type PersistSiteSitemapResponse = z.infer<typeof PersistSiteSitemapResponseSchema>;
|
|
6443
6453
|
/** 持久化的 clarify_sessions 行(Step 2 用户答案落库记录)。 */
|
|
6444
6454
|
export declare const ClarifySessionRecordSchema: z.ZodObject<{
|
|
6445
|
-
id: z.
|
|
6455
|
+
id: z.ZodUUID;
|
|
6446
6456
|
tenant_id: z.ZodString;
|
|
6447
|
-
site_id: z.
|
|
6448
|
-
brief_id: z.
|
|
6457
|
+
site_id: z.ZodUUID;
|
|
6458
|
+
brief_id: z.ZodUUID;
|
|
6449
6459
|
questions: z.ZodObject<{
|
|
6450
6460
|
questions: z.ZodArray<z.ZodObject<{
|
|
6451
6461
|
id: z.ZodString;
|
|
@@ -6814,10 +6824,10 @@ export declare const PersistClarifyAnswersRequestSchema: z.ZodObject<{
|
|
|
6814
6824
|
export type PersistClarifyAnswersRequest = z.infer<typeof PersistClarifyAnswersRequestSchema>;
|
|
6815
6825
|
export declare const PersistClarifyAnswersResponseSchema: z.ZodObject<{
|
|
6816
6826
|
clarify_session: z.ZodObject<{
|
|
6817
|
-
id: z.
|
|
6827
|
+
id: z.ZodUUID;
|
|
6818
6828
|
tenant_id: z.ZodString;
|
|
6819
|
-
site_id: z.
|
|
6820
|
-
brief_id: z.
|
|
6829
|
+
site_id: z.ZodUUID;
|
|
6830
|
+
brief_id: z.ZodUUID;
|
|
6821
6831
|
questions: z.ZodObject<{
|
|
6822
6832
|
questions: z.ZodArray<z.ZodObject<{
|
|
6823
6833
|
id: z.ZodString;
|
|
@@ -7128,9 +7138,9 @@ export declare const UpdateClarifyArchetypeRequestSchema: z.ZodObject<{
|
|
|
7128
7138
|
}, z.core.$strip>;
|
|
7129
7139
|
export type UpdateClarifyArchetypeRequest = z.infer<typeof UpdateClarifyArchetypeRequestSchema>;
|
|
7130
7140
|
export declare const DesignPlanRecordSchema: z.ZodObject<{
|
|
7131
|
-
id: z.
|
|
7141
|
+
id: z.ZodUUID;
|
|
7132
7142
|
tenant_id: z.ZodString;
|
|
7133
|
-
site_id: z.
|
|
7143
|
+
site_id: z.ZodUUID;
|
|
7134
7144
|
version: z.ZodNumber;
|
|
7135
7145
|
design_plan: z.ZodObject<{
|
|
7136
7146
|
schemaVersion: z.ZodDefault<z.ZodLiteral<1>>;
|
|
@@ -7280,13 +7290,13 @@ export declare const DesignPlanRecordSchema: z.ZodObject<{
|
|
|
7280
7290
|
}, z.core.$strip>;
|
|
7281
7291
|
}, z.core.$strip>>;
|
|
7282
7292
|
}, z.core.$strip>;
|
|
7283
|
-
source_agent_run_id: z.ZodNullable<z.
|
|
7293
|
+
source_agent_run_id: z.ZodNullable<z.ZodUUID>;
|
|
7284
7294
|
created_at: z.ZodString;
|
|
7285
7295
|
updated_at: z.ZodString;
|
|
7286
7296
|
}, z.core.$strip>;
|
|
7287
7297
|
export type DesignPlanRecord = z.infer<typeof DesignPlanRecordSchema>;
|
|
7288
7298
|
export declare const PersistSiteDesignPlanRequestSchema: z.ZodObject<{
|
|
7289
|
-
design_plan_id: z.ZodOptional<z.
|
|
7299
|
+
design_plan_id: z.ZodOptional<z.ZodUUID>;
|
|
7290
7300
|
design_plan: z.ZodObject<{
|
|
7291
7301
|
schemaVersion: z.ZodDefault<z.ZodLiteral<1>>;
|
|
7292
7302
|
siteDesignContext: z.ZodObject<{
|
|
@@ -7435,14 +7445,14 @@ export declare const PersistSiteDesignPlanRequestSchema: z.ZodObject<{
|
|
|
7435
7445
|
}, z.core.$strip>;
|
|
7436
7446
|
}, z.core.$strip>>;
|
|
7437
7447
|
}, z.core.$strip>;
|
|
7438
|
-
source_agent_run_id: z.ZodOptional<z.
|
|
7448
|
+
source_agent_run_id: z.ZodOptional<z.ZodUUID>;
|
|
7439
7449
|
}, z.core.$strip>;
|
|
7440
7450
|
export type PersistSiteDesignPlanRequest = z.infer<typeof PersistSiteDesignPlanRequestSchema>;
|
|
7441
7451
|
export declare const PersistSiteDesignPlanResponseSchema: z.ZodObject<{
|
|
7442
7452
|
design_plan: z.ZodObject<{
|
|
7443
|
-
id: z.
|
|
7453
|
+
id: z.ZodUUID;
|
|
7444
7454
|
tenant_id: z.ZodString;
|
|
7445
|
-
site_id: z.
|
|
7455
|
+
site_id: z.ZodUUID;
|
|
7446
7456
|
version: z.ZodNumber;
|
|
7447
7457
|
design_plan: z.ZodObject<{
|
|
7448
7458
|
schemaVersion: z.ZodDefault<z.ZodLiteral<1>>;
|
|
@@ -7592,7 +7602,7 @@ export declare const PersistSiteDesignPlanResponseSchema: z.ZodObject<{
|
|
|
7592
7602
|
}, z.core.$strip>;
|
|
7593
7603
|
}, z.core.$strip>>;
|
|
7594
7604
|
}, z.core.$strip>;
|
|
7595
|
-
source_agent_run_id: z.ZodNullable<z.
|
|
7605
|
+
source_agent_run_id: z.ZodNullable<z.ZodUUID>;
|
|
7596
7606
|
created_at: z.ZodString;
|
|
7597
7607
|
updated_at: z.ZodString;
|
|
7598
7608
|
}, z.core.$strip>;
|
|
@@ -7922,7 +7932,7 @@ export type WorkspaceExecutionPlan = z.infer<typeof WorkspaceExecutionPlanSchema
|
|
|
7922
7932
|
export declare const WorkspaceWorkerResultSchema: z.ZodObject<{
|
|
7923
7933
|
task_id: z.ZodString;
|
|
7924
7934
|
patch: z.ZodOptional<z.ZodUnknown>;
|
|
7925
|
-
snapshot_id: z.ZodOptional<z.
|
|
7935
|
+
snapshot_id: z.ZodOptional<z.ZodUUID>;
|
|
7926
7936
|
read_files: z.ZodArray<z.ZodString>;
|
|
7927
7937
|
diagnostics: z.ZodArray<z.ZodObject<{
|
|
7928
7938
|
code: z.ZodString;
|
|
@@ -8076,7 +8086,7 @@ export declare const AiSdkUiMessagePartSchema: z.ZodUnion<readonly [z.ZodObject<
|
|
|
8076
8086
|
export type AiSdkUiMessagePart = z.infer<typeof AiSdkUiMessagePartSchema>;
|
|
8077
8087
|
export declare const AgentEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
8078
8088
|
type: z.ZodLiteral<"run.started">;
|
|
8079
|
-
runId: z.
|
|
8089
|
+
runId: z.ZodUUID;
|
|
8080
8090
|
at: z.ZodString;
|
|
8081
8091
|
}, z.core.$strip>, z.ZodObject<{
|
|
8082
8092
|
type: z.ZodLiteral<"message.delta">;
|
|
@@ -8206,7 +8216,7 @@ export declare const AgentEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
8206
8216
|
}>>;
|
|
8207
8217
|
attempts: z.ZodOptional<z.ZodNumber>;
|
|
8208
8218
|
type: z.ZodLiteral<"sitemap.generated">;
|
|
8209
|
-
sitemap_id: z.
|
|
8219
|
+
sitemap_id: z.ZodUUID;
|
|
8210
8220
|
sitemap: z.ZodObject<{
|
|
8211
8221
|
site_name: z.ZodOptional<z.ZodString>;
|
|
8212
8222
|
version: z.ZodNumber;
|
|
@@ -8354,7 +8364,7 @@ export declare const AgentEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
8354
8364
|
at: z.ZodString;
|
|
8355
8365
|
}, z.core.$strict>, z.ZodObject<{
|
|
8356
8366
|
type: z.ZodLiteral<"sitemap.updated">;
|
|
8357
|
-
sitemap_id: z.
|
|
8367
|
+
sitemap_id: z.ZodUUID;
|
|
8358
8368
|
version: z.ZodNumber;
|
|
8359
8369
|
reason: z.ZodString;
|
|
8360
8370
|
at: z.ZodString;
|
|
@@ -8375,8 +8385,8 @@ export declare const AgentEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
8375
8385
|
type: z.ZodLiteral<"block.changed">;
|
|
8376
8386
|
block_id: z.ZodString;
|
|
8377
8387
|
change_type: z.ZodEnum<{
|
|
8378
|
-
move: "move";
|
|
8379
8388
|
delete: "delete";
|
|
8389
|
+
move: "move";
|
|
8380
8390
|
update: "update";
|
|
8381
8391
|
add: "add";
|
|
8382
8392
|
}>;
|
|
@@ -8556,7 +8566,7 @@ export declare const AgentEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
8556
8566
|
dropped_files: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
8557
8567
|
degraded_file_paths: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
8558
8568
|
degraded_page_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
8559
|
-
snapshot_id: z.ZodOptional<z.
|
|
8569
|
+
snapshot_id: z.ZodOptional<z.ZodUUID>;
|
|
8560
8570
|
code: z.ZodOptional<z.ZodString>;
|
|
8561
8571
|
message: z.ZodOptional<z.ZodString>;
|
|
8562
8572
|
diagnostics: z.ZodOptional<z.ZodString>;
|
|
@@ -8607,12 +8617,12 @@ export declare const AgentEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
8607
8617
|
at: z.ZodString;
|
|
8608
8618
|
}, z.core.$strip>, z.ZodObject<{
|
|
8609
8619
|
type: z.ZodLiteral<"snapshot.created">;
|
|
8610
|
-
snapshot_id: z.
|
|
8620
|
+
snapshot_id: z.ZodUUID;
|
|
8611
8621
|
manifest_hash: z.ZodString;
|
|
8612
8622
|
at: z.ZodString;
|
|
8613
8623
|
}, z.core.$strip>, z.ZodObject<{
|
|
8614
8624
|
type: z.ZodLiteral<"snapshot.finalized">;
|
|
8615
|
-
snapshot_id: z.
|
|
8625
|
+
snapshot_id: z.ZodUUID;
|
|
8616
8626
|
at: z.ZodString;
|
|
8617
8627
|
}, z.core.$strip>, z.ZodObject<{
|
|
8618
8628
|
type: z.ZodLiteral<"preview.preparing">;
|
|
@@ -8623,15 +8633,15 @@ export declare const AgentEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
8623
8633
|
at: z.ZodString;
|
|
8624
8634
|
}, z.core.$strip>, z.ZodObject<{
|
|
8625
8635
|
type: z.ZodLiteral<"preview.build.started">;
|
|
8626
|
-
snapshot_id: z.
|
|
8636
|
+
snapshot_id: z.ZodUUID;
|
|
8627
8637
|
at: z.ZodString;
|
|
8628
8638
|
}, z.core.$strip>, z.ZodObject<{
|
|
8629
8639
|
type: z.ZodLiteral<"preview.build.succeeded">;
|
|
8630
|
-
snapshot_id: z.
|
|
8640
|
+
snapshot_id: z.ZodUUID;
|
|
8631
8641
|
at: z.ZodString;
|
|
8632
8642
|
}, z.core.$strip>, z.ZodObject<{
|
|
8633
8643
|
type: z.ZodLiteral<"preview.build.failed">;
|
|
8634
|
-
snapshot_id: z.
|
|
8644
|
+
snapshot_id: z.ZodUUID;
|
|
8635
8645
|
message: z.ZodString;
|
|
8636
8646
|
diagnostics: z.ZodString;
|
|
8637
8647
|
retryable: z.ZodBoolean;
|
|
@@ -8653,7 +8663,7 @@ export declare const AgentEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
8653
8663
|
at: z.ZodString;
|
|
8654
8664
|
}, z.core.$strip>, z.ZodObject<{
|
|
8655
8665
|
type: z.ZodLiteral<"run.finished">;
|
|
8656
|
-
snapshot_id: z.ZodOptional<z.
|
|
8666
|
+
snapshot_id: z.ZodOptional<z.ZodUUID>;
|
|
8657
8667
|
at: z.ZodString;
|
|
8658
8668
|
}, z.core.$strip>, z.ZodObject<{
|
|
8659
8669
|
type: z.ZodLiteral<"media_resolution.started">;
|
|
@@ -8744,10 +8754,10 @@ export declare const AgentEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
8744
8754
|
}, z.core.$strip>], "type">;
|
|
8745
8755
|
export type AgentEvent = z.infer<typeof AgentEventSchema>;
|
|
8746
8756
|
export declare const AgentEventRecordSchema: z.ZodObject<{
|
|
8747
|
-
id: z.
|
|
8757
|
+
id: z.ZodUUID;
|
|
8748
8758
|
tenant_id: z.ZodString;
|
|
8749
|
-
site_id: z.
|
|
8750
|
-
agent_run_id: z.
|
|
8759
|
+
site_id: z.ZodUUID;
|
|
8760
|
+
agent_run_id: z.ZodUUID;
|
|
8751
8761
|
sequence: z.ZodNumber;
|
|
8752
8762
|
event_type: z.ZodEnum<{
|
|
8753
8763
|
"run.started": "run.started";
|
|
@@ -8794,7 +8804,7 @@ export declare const AgentEventRecordSchema: z.ZodObject<{
|
|
|
8794
8804
|
}>;
|
|
8795
8805
|
payload: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
8796
8806
|
type: z.ZodLiteral<"run.started">;
|
|
8797
|
-
runId: z.
|
|
8807
|
+
runId: z.ZodUUID;
|
|
8798
8808
|
at: z.ZodString;
|
|
8799
8809
|
}, z.core.$strip>, z.ZodObject<{
|
|
8800
8810
|
type: z.ZodLiteral<"message.delta">;
|
|
@@ -8924,7 +8934,7 @@ export declare const AgentEventRecordSchema: z.ZodObject<{
|
|
|
8924
8934
|
}>>;
|
|
8925
8935
|
attempts: z.ZodOptional<z.ZodNumber>;
|
|
8926
8936
|
type: z.ZodLiteral<"sitemap.generated">;
|
|
8927
|
-
sitemap_id: z.
|
|
8937
|
+
sitemap_id: z.ZodUUID;
|
|
8928
8938
|
sitemap: z.ZodObject<{
|
|
8929
8939
|
site_name: z.ZodOptional<z.ZodString>;
|
|
8930
8940
|
version: z.ZodNumber;
|
|
@@ -9072,7 +9082,7 @@ export declare const AgentEventRecordSchema: z.ZodObject<{
|
|
|
9072
9082
|
at: z.ZodString;
|
|
9073
9083
|
}, z.core.$strict>, z.ZodObject<{
|
|
9074
9084
|
type: z.ZodLiteral<"sitemap.updated">;
|
|
9075
|
-
sitemap_id: z.
|
|
9085
|
+
sitemap_id: z.ZodUUID;
|
|
9076
9086
|
version: z.ZodNumber;
|
|
9077
9087
|
reason: z.ZodString;
|
|
9078
9088
|
at: z.ZodString;
|
|
@@ -9093,8 +9103,8 @@ export declare const AgentEventRecordSchema: z.ZodObject<{
|
|
|
9093
9103
|
type: z.ZodLiteral<"block.changed">;
|
|
9094
9104
|
block_id: z.ZodString;
|
|
9095
9105
|
change_type: z.ZodEnum<{
|
|
9096
|
-
move: "move";
|
|
9097
9106
|
delete: "delete";
|
|
9107
|
+
move: "move";
|
|
9098
9108
|
update: "update";
|
|
9099
9109
|
add: "add";
|
|
9100
9110
|
}>;
|
|
@@ -9274,7 +9284,7 @@ export declare const AgentEventRecordSchema: z.ZodObject<{
|
|
|
9274
9284
|
dropped_files: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
9275
9285
|
degraded_file_paths: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
9276
9286
|
degraded_page_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
9277
|
-
snapshot_id: z.ZodOptional<z.
|
|
9287
|
+
snapshot_id: z.ZodOptional<z.ZodUUID>;
|
|
9278
9288
|
code: z.ZodOptional<z.ZodString>;
|
|
9279
9289
|
message: z.ZodOptional<z.ZodString>;
|
|
9280
9290
|
diagnostics: z.ZodOptional<z.ZodString>;
|
|
@@ -9325,12 +9335,12 @@ export declare const AgentEventRecordSchema: z.ZodObject<{
|
|
|
9325
9335
|
at: z.ZodString;
|
|
9326
9336
|
}, z.core.$strip>, z.ZodObject<{
|
|
9327
9337
|
type: z.ZodLiteral<"snapshot.created">;
|
|
9328
|
-
snapshot_id: z.
|
|
9338
|
+
snapshot_id: z.ZodUUID;
|
|
9329
9339
|
manifest_hash: z.ZodString;
|
|
9330
9340
|
at: z.ZodString;
|
|
9331
9341
|
}, z.core.$strip>, z.ZodObject<{
|
|
9332
9342
|
type: z.ZodLiteral<"snapshot.finalized">;
|
|
9333
|
-
snapshot_id: z.
|
|
9343
|
+
snapshot_id: z.ZodUUID;
|
|
9334
9344
|
at: z.ZodString;
|
|
9335
9345
|
}, z.core.$strip>, z.ZodObject<{
|
|
9336
9346
|
type: z.ZodLiteral<"preview.preparing">;
|
|
@@ -9341,15 +9351,15 @@ export declare const AgentEventRecordSchema: z.ZodObject<{
|
|
|
9341
9351
|
at: z.ZodString;
|
|
9342
9352
|
}, z.core.$strip>, z.ZodObject<{
|
|
9343
9353
|
type: z.ZodLiteral<"preview.build.started">;
|
|
9344
|
-
snapshot_id: z.
|
|
9354
|
+
snapshot_id: z.ZodUUID;
|
|
9345
9355
|
at: z.ZodString;
|
|
9346
9356
|
}, z.core.$strip>, z.ZodObject<{
|
|
9347
9357
|
type: z.ZodLiteral<"preview.build.succeeded">;
|
|
9348
|
-
snapshot_id: z.
|
|
9358
|
+
snapshot_id: z.ZodUUID;
|
|
9349
9359
|
at: z.ZodString;
|
|
9350
9360
|
}, z.core.$strip>, z.ZodObject<{
|
|
9351
9361
|
type: z.ZodLiteral<"preview.build.failed">;
|
|
9352
|
-
snapshot_id: z.
|
|
9362
|
+
snapshot_id: z.ZodUUID;
|
|
9353
9363
|
message: z.ZodString;
|
|
9354
9364
|
diagnostics: z.ZodString;
|
|
9355
9365
|
retryable: z.ZodBoolean;
|
|
@@ -9371,7 +9381,7 @@ export declare const AgentEventRecordSchema: z.ZodObject<{
|
|
|
9371
9381
|
at: z.ZodString;
|
|
9372
9382
|
}, z.core.$strip>, z.ZodObject<{
|
|
9373
9383
|
type: z.ZodLiteral<"run.finished">;
|
|
9374
|
-
snapshot_id: z.ZodOptional<z.
|
|
9384
|
+
snapshot_id: z.ZodOptional<z.ZodUUID>;
|
|
9375
9385
|
at: z.ZodString;
|
|
9376
9386
|
}, z.core.$strip>, z.ZodObject<{
|
|
9377
9387
|
type: z.ZodLiteral<"media_resolution.started">;
|
|
@@ -9509,7 +9519,7 @@ export declare const AppendAgentEventRequestSchema: z.ZodObject<{
|
|
|
9509
9519
|
}>;
|
|
9510
9520
|
payload: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
9511
9521
|
type: z.ZodLiteral<"run.started">;
|
|
9512
|
-
runId: z.
|
|
9522
|
+
runId: z.ZodUUID;
|
|
9513
9523
|
at: z.ZodString;
|
|
9514
9524
|
}, z.core.$strip>, z.ZodObject<{
|
|
9515
9525
|
type: z.ZodLiteral<"message.delta">;
|
|
@@ -9639,7 +9649,7 @@ export declare const AppendAgentEventRequestSchema: z.ZodObject<{
|
|
|
9639
9649
|
}>>;
|
|
9640
9650
|
attempts: z.ZodOptional<z.ZodNumber>;
|
|
9641
9651
|
type: z.ZodLiteral<"sitemap.generated">;
|
|
9642
|
-
sitemap_id: z.
|
|
9652
|
+
sitemap_id: z.ZodUUID;
|
|
9643
9653
|
sitemap: z.ZodObject<{
|
|
9644
9654
|
site_name: z.ZodOptional<z.ZodString>;
|
|
9645
9655
|
version: z.ZodNumber;
|
|
@@ -9787,7 +9797,7 @@ export declare const AppendAgentEventRequestSchema: z.ZodObject<{
|
|
|
9787
9797
|
at: z.ZodString;
|
|
9788
9798
|
}, z.core.$strict>, z.ZodObject<{
|
|
9789
9799
|
type: z.ZodLiteral<"sitemap.updated">;
|
|
9790
|
-
sitemap_id: z.
|
|
9800
|
+
sitemap_id: z.ZodUUID;
|
|
9791
9801
|
version: z.ZodNumber;
|
|
9792
9802
|
reason: z.ZodString;
|
|
9793
9803
|
at: z.ZodString;
|
|
@@ -9808,8 +9818,8 @@ export declare const AppendAgentEventRequestSchema: z.ZodObject<{
|
|
|
9808
9818
|
type: z.ZodLiteral<"block.changed">;
|
|
9809
9819
|
block_id: z.ZodString;
|
|
9810
9820
|
change_type: z.ZodEnum<{
|
|
9811
|
-
move: "move";
|
|
9812
9821
|
delete: "delete";
|
|
9822
|
+
move: "move";
|
|
9813
9823
|
update: "update";
|
|
9814
9824
|
add: "add";
|
|
9815
9825
|
}>;
|
|
@@ -9989,7 +9999,7 @@ export declare const AppendAgentEventRequestSchema: z.ZodObject<{
|
|
|
9989
9999
|
dropped_files: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
9990
10000
|
degraded_file_paths: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
9991
10001
|
degraded_page_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
9992
|
-
snapshot_id: z.ZodOptional<z.
|
|
10002
|
+
snapshot_id: z.ZodOptional<z.ZodUUID>;
|
|
9993
10003
|
code: z.ZodOptional<z.ZodString>;
|
|
9994
10004
|
message: z.ZodOptional<z.ZodString>;
|
|
9995
10005
|
diagnostics: z.ZodOptional<z.ZodString>;
|
|
@@ -10040,12 +10050,12 @@ export declare const AppendAgentEventRequestSchema: z.ZodObject<{
|
|
|
10040
10050
|
at: z.ZodString;
|
|
10041
10051
|
}, z.core.$strip>, z.ZodObject<{
|
|
10042
10052
|
type: z.ZodLiteral<"snapshot.created">;
|
|
10043
|
-
snapshot_id: z.
|
|
10053
|
+
snapshot_id: z.ZodUUID;
|
|
10044
10054
|
manifest_hash: z.ZodString;
|
|
10045
10055
|
at: z.ZodString;
|
|
10046
10056
|
}, z.core.$strip>, z.ZodObject<{
|
|
10047
10057
|
type: z.ZodLiteral<"snapshot.finalized">;
|
|
10048
|
-
snapshot_id: z.
|
|
10058
|
+
snapshot_id: z.ZodUUID;
|
|
10049
10059
|
at: z.ZodString;
|
|
10050
10060
|
}, z.core.$strip>, z.ZodObject<{
|
|
10051
10061
|
type: z.ZodLiteral<"preview.preparing">;
|
|
@@ -10056,15 +10066,15 @@ export declare const AppendAgentEventRequestSchema: z.ZodObject<{
|
|
|
10056
10066
|
at: z.ZodString;
|
|
10057
10067
|
}, z.core.$strip>, z.ZodObject<{
|
|
10058
10068
|
type: z.ZodLiteral<"preview.build.started">;
|
|
10059
|
-
snapshot_id: z.
|
|
10069
|
+
snapshot_id: z.ZodUUID;
|
|
10060
10070
|
at: z.ZodString;
|
|
10061
10071
|
}, z.core.$strip>, z.ZodObject<{
|
|
10062
10072
|
type: z.ZodLiteral<"preview.build.succeeded">;
|
|
10063
|
-
snapshot_id: z.
|
|
10073
|
+
snapshot_id: z.ZodUUID;
|
|
10064
10074
|
at: z.ZodString;
|
|
10065
10075
|
}, z.core.$strip>, z.ZodObject<{
|
|
10066
10076
|
type: z.ZodLiteral<"preview.build.failed">;
|
|
10067
|
-
snapshot_id: z.
|
|
10077
|
+
snapshot_id: z.ZodUUID;
|
|
10068
10078
|
message: z.ZodString;
|
|
10069
10079
|
diagnostics: z.ZodString;
|
|
10070
10080
|
retryable: z.ZodBoolean;
|
|
@@ -10086,7 +10096,7 @@ export declare const AppendAgentEventRequestSchema: z.ZodObject<{
|
|
|
10086
10096
|
at: z.ZodString;
|
|
10087
10097
|
}, z.core.$strip>, z.ZodObject<{
|
|
10088
10098
|
type: z.ZodLiteral<"run.finished">;
|
|
10089
|
-
snapshot_id: z.ZodOptional<z.
|
|
10099
|
+
snapshot_id: z.ZodOptional<z.ZodUUID>;
|
|
10090
10100
|
at: z.ZodString;
|
|
10091
10101
|
}, z.core.$strip>, z.ZodObject<{
|
|
10092
10102
|
type: z.ZodLiteral<"media_resolution.started">;
|
|
@@ -10180,9 +10190,9 @@ export type AppendAgentEventRequest = z.infer<typeof AppendAgentEventRequestSche
|
|
|
10180
10190
|
export declare const AppendAgentEventResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
10181
10191
|
status: z.ZodLiteral<"appended">;
|
|
10182
10192
|
agent_run: z.ZodObject<{
|
|
10183
|
-
id: z.
|
|
10193
|
+
id: z.ZodUUID;
|
|
10184
10194
|
tenant_id: z.ZodString;
|
|
10185
|
-
site_id: z.
|
|
10195
|
+
site_id: z.ZodUUID;
|
|
10186
10196
|
agent_type: z.ZodEnum<{
|
|
10187
10197
|
clarify: "clarify";
|
|
10188
10198
|
sitemap: "sitemap";
|
|
@@ -10213,10 +10223,10 @@ export declare const AppendAgentEventResponseSchema: z.ZodDiscriminatedUnion<[z.
|
|
|
10213
10223
|
created_at: z.ZodString;
|
|
10214
10224
|
}, z.core.$strip>;
|
|
10215
10225
|
event: z.ZodObject<{
|
|
10216
|
-
id: z.
|
|
10226
|
+
id: z.ZodUUID;
|
|
10217
10227
|
tenant_id: z.ZodString;
|
|
10218
|
-
site_id: z.
|
|
10219
|
-
agent_run_id: z.
|
|
10228
|
+
site_id: z.ZodUUID;
|
|
10229
|
+
agent_run_id: z.ZodUUID;
|
|
10220
10230
|
sequence: z.ZodNumber;
|
|
10221
10231
|
event_type: z.ZodEnum<{
|
|
10222
10232
|
"run.started": "run.started";
|
|
@@ -10263,7 +10273,7 @@ export declare const AppendAgentEventResponseSchema: z.ZodDiscriminatedUnion<[z.
|
|
|
10263
10273
|
}>;
|
|
10264
10274
|
payload: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
10265
10275
|
type: z.ZodLiteral<"run.started">;
|
|
10266
|
-
runId: z.
|
|
10276
|
+
runId: z.ZodUUID;
|
|
10267
10277
|
at: z.ZodString;
|
|
10268
10278
|
}, z.core.$strip>, z.ZodObject<{
|
|
10269
10279
|
type: z.ZodLiteral<"message.delta">;
|
|
@@ -10393,7 +10403,7 @@ export declare const AppendAgentEventResponseSchema: z.ZodDiscriminatedUnion<[z.
|
|
|
10393
10403
|
}>>;
|
|
10394
10404
|
attempts: z.ZodOptional<z.ZodNumber>;
|
|
10395
10405
|
type: z.ZodLiteral<"sitemap.generated">;
|
|
10396
|
-
sitemap_id: z.
|
|
10406
|
+
sitemap_id: z.ZodUUID;
|
|
10397
10407
|
sitemap: z.ZodObject<{
|
|
10398
10408
|
site_name: z.ZodOptional<z.ZodString>;
|
|
10399
10409
|
version: z.ZodNumber;
|
|
@@ -10541,7 +10551,7 @@ export declare const AppendAgentEventResponseSchema: z.ZodDiscriminatedUnion<[z.
|
|
|
10541
10551
|
at: z.ZodString;
|
|
10542
10552
|
}, z.core.$strict>, z.ZodObject<{
|
|
10543
10553
|
type: z.ZodLiteral<"sitemap.updated">;
|
|
10544
|
-
sitemap_id: z.
|
|
10554
|
+
sitemap_id: z.ZodUUID;
|
|
10545
10555
|
version: z.ZodNumber;
|
|
10546
10556
|
reason: z.ZodString;
|
|
10547
10557
|
at: z.ZodString;
|
|
@@ -10562,8 +10572,8 @@ export declare const AppendAgentEventResponseSchema: z.ZodDiscriminatedUnion<[z.
|
|
|
10562
10572
|
type: z.ZodLiteral<"block.changed">;
|
|
10563
10573
|
block_id: z.ZodString;
|
|
10564
10574
|
change_type: z.ZodEnum<{
|
|
10565
|
-
move: "move";
|
|
10566
10575
|
delete: "delete";
|
|
10576
|
+
move: "move";
|
|
10567
10577
|
update: "update";
|
|
10568
10578
|
add: "add";
|
|
10569
10579
|
}>;
|
|
@@ -10743,7 +10753,7 @@ export declare const AppendAgentEventResponseSchema: z.ZodDiscriminatedUnion<[z.
|
|
|
10743
10753
|
dropped_files: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
10744
10754
|
degraded_file_paths: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
10745
10755
|
degraded_page_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
10746
|
-
snapshot_id: z.ZodOptional<z.
|
|
10756
|
+
snapshot_id: z.ZodOptional<z.ZodUUID>;
|
|
10747
10757
|
code: z.ZodOptional<z.ZodString>;
|
|
10748
10758
|
message: z.ZodOptional<z.ZodString>;
|
|
10749
10759
|
diagnostics: z.ZodOptional<z.ZodString>;
|
|
@@ -10794,12 +10804,12 @@ export declare const AppendAgentEventResponseSchema: z.ZodDiscriminatedUnion<[z.
|
|
|
10794
10804
|
at: z.ZodString;
|
|
10795
10805
|
}, z.core.$strip>, z.ZodObject<{
|
|
10796
10806
|
type: z.ZodLiteral<"snapshot.created">;
|
|
10797
|
-
snapshot_id: z.
|
|
10807
|
+
snapshot_id: z.ZodUUID;
|
|
10798
10808
|
manifest_hash: z.ZodString;
|
|
10799
10809
|
at: z.ZodString;
|
|
10800
10810
|
}, z.core.$strip>, z.ZodObject<{
|
|
10801
10811
|
type: z.ZodLiteral<"snapshot.finalized">;
|
|
10802
|
-
snapshot_id: z.
|
|
10812
|
+
snapshot_id: z.ZodUUID;
|
|
10803
10813
|
at: z.ZodString;
|
|
10804
10814
|
}, z.core.$strip>, z.ZodObject<{
|
|
10805
10815
|
type: z.ZodLiteral<"preview.preparing">;
|
|
@@ -10810,15 +10820,15 @@ export declare const AppendAgentEventResponseSchema: z.ZodDiscriminatedUnion<[z.
|
|
|
10810
10820
|
at: z.ZodString;
|
|
10811
10821
|
}, z.core.$strip>, z.ZodObject<{
|
|
10812
10822
|
type: z.ZodLiteral<"preview.build.started">;
|
|
10813
|
-
snapshot_id: z.
|
|
10823
|
+
snapshot_id: z.ZodUUID;
|
|
10814
10824
|
at: z.ZodString;
|
|
10815
10825
|
}, z.core.$strip>, z.ZodObject<{
|
|
10816
10826
|
type: z.ZodLiteral<"preview.build.succeeded">;
|
|
10817
|
-
snapshot_id: z.
|
|
10827
|
+
snapshot_id: z.ZodUUID;
|
|
10818
10828
|
at: z.ZodString;
|
|
10819
10829
|
}, z.core.$strip>, z.ZodObject<{
|
|
10820
10830
|
type: z.ZodLiteral<"preview.build.failed">;
|
|
10821
|
-
snapshot_id: z.
|
|
10831
|
+
snapshot_id: z.ZodUUID;
|
|
10822
10832
|
message: z.ZodString;
|
|
10823
10833
|
diagnostics: z.ZodString;
|
|
10824
10834
|
retryable: z.ZodBoolean;
|
|
@@ -10840,7 +10850,7 @@ export declare const AppendAgentEventResponseSchema: z.ZodDiscriminatedUnion<[z.
|
|
|
10840
10850
|
at: z.ZodString;
|
|
10841
10851
|
}, z.core.$strip>, z.ZodObject<{
|
|
10842
10852
|
type: z.ZodLiteral<"run.finished">;
|
|
10843
|
-
snapshot_id: z.ZodOptional<z.
|
|
10853
|
+
snapshot_id: z.ZodOptional<z.ZodUUID>;
|
|
10844
10854
|
at: z.ZodString;
|
|
10845
10855
|
}, z.core.$strip>, z.ZodObject<{
|
|
10846
10856
|
type: z.ZodLiteral<"media_resolution.started">;
|
|
@@ -10935,9 +10945,9 @@ export declare const AppendAgentEventResponseSchema: z.ZodDiscriminatedUnion<[z.
|
|
|
10935
10945
|
}, z.core.$strip>, z.ZodObject<{
|
|
10936
10946
|
status: z.ZodLiteral<"duplicate_ignored">;
|
|
10937
10947
|
agent_run: z.ZodObject<{
|
|
10938
|
-
id: z.
|
|
10948
|
+
id: z.ZodUUID;
|
|
10939
10949
|
tenant_id: z.ZodString;
|
|
10940
|
-
site_id: z.
|
|
10950
|
+
site_id: z.ZodUUID;
|
|
10941
10951
|
agent_type: z.ZodEnum<{
|
|
10942
10952
|
clarify: "clarify";
|
|
10943
10953
|
sitemap: "sitemap";
|
|
@@ -10968,10 +10978,10 @@ export declare const AppendAgentEventResponseSchema: z.ZodDiscriminatedUnion<[z.
|
|
|
10968
10978
|
created_at: z.ZodString;
|
|
10969
10979
|
}, z.core.$strip>;
|
|
10970
10980
|
event: z.ZodObject<{
|
|
10971
|
-
id: z.
|
|
10981
|
+
id: z.ZodUUID;
|
|
10972
10982
|
tenant_id: z.ZodString;
|
|
10973
|
-
site_id: z.
|
|
10974
|
-
agent_run_id: z.
|
|
10983
|
+
site_id: z.ZodUUID;
|
|
10984
|
+
agent_run_id: z.ZodUUID;
|
|
10975
10985
|
sequence: z.ZodNumber;
|
|
10976
10986
|
event_type: z.ZodEnum<{
|
|
10977
10987
|
"run.started": "run.started";
|
|
@@ -11018,7 +11028,7 @@ export declare const AppendAgentEventResponseSchema: z.ZodDiscriminatedUnion<[z.
|
|
|
11018
11028
|
}>;
|
|
11019
11029
|
payload: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
11020
11030
|
type: z.ZodLiteral<"run.started">;
|
|
11021
|
-
runId: z.
|
|
11031
|
+
runId: z.ZodUUID;
|
|
11022
11032
|
at: z.ZodString;
|
|
11023
11033
|
}, z.core.$strip>, z.ZodObject<{
|
|
11024
11034
|
type: z.ZodLiteral<"message.delta">;
|
|
@@ -11148,7 +11158,7 @@ export declare const AppendAgentEventResponseSchema: z.ZodDiscriminatedUnion<[z.
|
|
|
11148
11158
|
}>>;
|
|
11149
11159
|
attempts: z.ZodOptional<z.ZodNumber>;
|
|
11150
11160
|
type: z.ZodLiteral<"sitemap.generated">;
|
|
11151
|
-
sitemap_id: z.
|
|
11161
|
+
sitemap_id: z.ZodUUID;
|
|
11152
11162
|
sitemap: z.ZodObject<{
|
|
11153
11163
|
site_name: z.ZodOptional<z.ZodString>;
|
|
11154
11164
|
version: z.ZodNumber;
|
|
@@ -11296,7 +11306,7 @@ export declare const AppendAgentEventResponseSchema: z.ZodDiscriminatedUnion<[z.
|
|
|
11296
11306
|
at: z.ZodString;
|
|
11297
11307
|
}, z.core.$strict>, z.ZodObject<{
|
|
11298
11308
|
type: z.ZodLiteral<"sitemap.updated">;
|
|
11299
|
-
sitemap_id: z.
|
|
11309
|
+
sitemap_id: z.ZodUUID;
|
|
11300
11310
|
version: z.ZodNumber;
|
|
11301
11311
|
reason: z.ZodString;
|
|
11302
11312
|
at: z.ZodString;
|
|
@@ -11317,8 +11327,8 @@ export declare const AppendAgentEventResponseSchema: z.ZodDiscriminatedUnion<[z.
|
|
|
11317
11327
|
type: z.ZodLiteral<"block.changed">;
|
|
11318
11328
|
block_id: z.ZodString;
|
|
11319
11329
|
change_type: z.ZodEnum<{
|
|
11320
|
-
move: "move";
|
|
11321
11330
|
delete: "delete";
|
|
11331
|
+
move: "move";
|
|
11322
11332
|
update: "update";
|
|
11323
11333
|
add: "add";
|
|
11324
11334
|
}>;
|
|
@@ -11498,7 +11508,7 @@ export declare const AppendAgentEventResponseSchema: z.ZodDiscriminatedUnion<[z.
|
|
|
11498
11508
|
dropped_files: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
11499
11509
|
degraded_file_paths: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
11500
11510
|
degraded_page_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
11501
|
-
snapshot_id: z.ZodOptional<z.
|
|
11511
|
+
snapshot_id: z.ZodOptional<z.ZodUUID>;
|
|
11502
11512
|
code: z.ZodOptional<z.ZodString>;
|
|
11503
11513
|
message: z.ZodOptional<z.ZodString>;
|
|
11504
11514
|
diagnostics: z.ZodOptional<z.ZodString>;
|
|
@@ -11549,12 +11559,12 @@ export declare const AppendAgentEventResponseSchema: z.ZodDiscriminatedUnion<[z.
|
|
|
11549
11559
|
at: z.ZodString;
|
|
11550
11560
|
}, z.core.$strip>, z.ZodObject<{
|
|
11551
11561
|
type: z.ZodLiteral<"snapshot.created">;
|
|
11552
|
-
snapshot_id: z.
|
|
11562
|
+
snapshot_id: z.ZodUUID;
|
|
11553
11563
|
manifest_hash: z.ZodString;
|
|
11554
11564
|
at: z.ZodString;
|
|
11555
11565
|
}, z.core.$strip>, z.ZodObject<{
|
|
11556
11566
|
type: z.ZodLiteral<"snapshot.finalized">;
|
|
11557
|
-
snapshot_id: z.
|
|
11567
|
+
snapshot_id: z.ZodUUID;
|
|
11558
11568
|
at: z.ZodString;
|
|
11559
11569
|
}, z.core.$strip>, z.ZodObject<{
|
|
11560
11570
|
type: z.ZodLiteral<"preview.preparing">;
|
|
@@ -11565,15 +11575,15 @@ export declare const AppendAgentEventResponseSchema: z.ZodDiscriminatedUnion<[z.
|
|
|
11565
11575
|
at: z.ZodString;
|
|
11566
11576
|
}, z.core.$strip>, z.ZodObject<{
|
|
11567
11577
|
type: z.ZodLiteral<"preview.build.started">;
|
|
11568
|
-
snapshot_id: z.
|
|
11578
|
+
snapshot_id: z.ZodUUID;
|
|
11569
11579
|
at: z.ZodString;
|
|
11570
11580
|
}, z.core.$strip>, z.ZodObject<{
|
|
11571
11581
|
type: z.ZodLiteral<"preview.build.succeeded">;
|
|
11572
|
-
snapshot_id: z.
|
|
11582
|
+
snapshot_id: z.ZodUUID;
|
|
11573
11583
|
at: z.ZodString;
|
|
11574
11584
|
}, z.core.$strip>, z.ZodObject<{
|
|
11575
11585
|
type: z.ZodLiteral<"preview.build.failed">;
|
|
11576
|
-
snapshot_id: z.
|
|
11586
|
+
snapshot_id: z.ZodUUID;
|
|
11577
11587
|
message: z.ZodString;
|
|
11578
11588
|
diagnostics: z.ZodString;
|
|
11579
11589
|
retryable: z.ZodBoolean;
|
|
@@ -11595,7 +11605,7 @@ export declare const AppendAgentEventResponseSchema: z.ZodDiscriminatedUnion<[z.
|
|
|
11595
11605
|
at: z.ZodString;
|
|
11596
11606
|
}, z.core.$strip>, z.ZodObject<{
|
|
11597
11607
|
type: z.ZodLiteral<"run.finished">;
|
|
11598
|
-
snapshot_id: z.ZodOptional<z.
|
|
11608
|
+
snapshot_id: z.ZodOptional<z.ZodUUID>;
|
|
11599
11609
|
at: z.ZodString;
|
|
11600
11610
|
}, z.core.$strip>, z.ZodObject<{
|
|
11601
11611
|
type: z.ZodLiteral<"media_resolution.started">;
|
|
@@ -11691,10 +11701,10 @@ export declare const AppendAgentEventResponseSchema: z.ZodDiscriminatedUnion<[z.
|
|
|
11691
11701
|
export type AppendAgentEventResponse = z.infer<typeof AppendAgentEventResponseSchema>;
|
|
11692
11702
|
export declare const ListAgentEventsResponseSchema: z.ZodObject<{
|
|
11693
11703
|
events: z.ZodArray<z.ZodObject<{
|
|
11694
|
-
id: z.
|
|
11704
|
+
id: z.ZodUUID;
|
|
11695
11705
|
tenant_id: z.ZodString;
|
|
11696
|
-
site_id: z.
|
|
11697
|
-
agent_run_id: z.
|
|
11706
|
+
site_id: z.ZodUUID;
|
|
11707
|
+
agent_run_id: z.ZodUUID;
|
|
11698
11708
|
sequence: z.ZodNumber;
|
|
11699
11709
|
event_type: z.ZodEnum<{
|
|
11700
11710
|
"run.started": "run.started";
|
|
@@ -11741,7 +11751,7 @@ export declare const ListAgentEventsResponseSchema: z.ZodObject<{
|
|
|
11741
11751
|
}>;
|
|
11742
11752
|
payload: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
11743
11753
|
type: z.ZodLiteral<"run.started">;
|
|
11744
|
-
runId: z.
|
|
11754
|
+
runId: z.ZodUUID;
|
|
11745
11755
|
at: z.ZodString;
|
|
11746
11756
|
}, z.core.$strip>, z.ZodObject<{
|
|
11747
11757
|
type: z.ZodLiteral<"message.delta">;
|
|
@@ -11871,7 +11881,7 @@ export declare const ListAgentEventsResponseSchema: z.ZodObject<{
|
|
|
11871
11881
|
}>>;
|
|
11872
11882
|
attempts: z.ZodOptional<z.ZodNumber>;
|
|
11873
11883
|
type: z.ZodLiteral<"sitemap.generated">;
|
|
11874
|
-
sitemap_id: z.
|
|
11884
|
+
sitemap_id: z.ZodUUID;
|
|
11875
11885
|
sitemap: z.ZodObject<{
|
|
11876
11886
|
site_name: z.ZodOptional<z.ZodString>;
|
|
11877
11887
|
version: z.ZodNumber;
|
|
@@ -12019,7 +12029,7 @@ export declare const ListAgentEventsResponseSchema: z.ZodObject<{
|
|
|
12019
12029
|
at: z.ZodString;
|
|
12020
12030
|
}, z.core.$strict>, z.ZodObject<{
|
|
12021
12031
|
type: z.ZodLiteral<"sitemap.updated">;
|
|
12022
|
-
sitemap_id: z.
|
|
12032
|
+
sitemap_id: z.ZodUUID;
|
|
12023
12033
|
version: z.ZodNumber;
|
|
12024
12034
|
reason: z.ZodString;
|
|
12025
12035
|
at: z.ZodString;
|
|
@@ -12040,8 +12050,8 @@ export declare const ListAgentEventsResponseSchema: z.ZodObject<{
|
|
|
12040
12050
|
type: z.ZodLiteral<"block.changed">;
|
|
12041
12051
|
block_id: z.ZodString;
|
|
12042
12052
|
change_type: z.ZodEnum<{
|
|
12043
|
-
move: "move";
|
|
12044
12053
|
delete: "delete";
|
|
12054
|
+
move: "move";
|
|
12045
12055
|
update: "update";
|
|
12046
12056
|
add: "add";
|
|
12047
12057
|
}>;
|
|
@@ -12221,7 +12231,7 @@ export declare const ListAgentEventsResponseSchema: z.ZodObject<{
|
|
|
12221
12231
|
dropped_files: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
12222
12232
|
degraded_file_paths: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
12223
12233
|
degraded_page_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
12224
|
-
snapshot_id: z.ZodOptional<z.
|
|
12234
|
+
snapshot_id: z.ZodOptional<z.ZodUUID>;
|
|
12225
12235
|
code: z.ZodOptional<z.ZodString>;
|
|
12226
12236
|
message: z.ZodOptional<z.ZodString>;
|
|
12227
12237
|
diagnostics: z.ZodOptional<z.ZodString>;
|
|
@@ -12272,12 +12282,12 @@ export declare const ListAgentEventsResponseSchema: z.ZodObject<{
|
|
|
12272
12282
|
at: z.ZodString;
|
|
12273
12283
|
}, z.core.$strip>, z.ZodObject<{
|
|
12274
12284
|
type: z.ZodLiteral<"snapshot.created">;
|
|
12275
|
-
snapshot_id: z.
|
|
12285
|
+
snapshot_id: z.ZodUUID;
|
|
12276
12286
|
manifest_hash: z.ZodString;
|
|
12277
12287
|
at: z.ZodString;
|
|
12278
12288
|
}, z.core.$strip>, z.ZodObject<{
|
|
12279
12289
|
type: z.ZodLiteral<"snapshot.finalized">;
|
|
12280
|
-
snapshot_id: z.
|
|
12290
|
+
snapshot_id: z.ZodUUID;
|
|
12281
12291
|
at: z.ZodString;
|
|
12282
12292
|
}, z.core.$strip>, z.ZodObject<{
|
|
12283
12293
|
type: z.ZodLiteral<"preview.preparing">;
|
|
@@ -12288,15 +12298,15 @@ export declare const ListAgentEventsResponseSchema: z.ZodObject<{
|
|
|
12288
12298
|
at: z.ZodString;
|
|
12289
12299
|
}, z.core.$strip>, z.ZodObject<{
|
|
12290
12300
|
type: z.ZodLiteral<"preview.build.started">;
|
|
12291
|
-
snapshot_id: z.
|
|
12301
|
+
snapshot_id: z.ZodUUID;
|
|
12292
12302
|
at: z.ZodString;
|
|
12293
12303
|
}, z.core.$strip>, z.ZodObject<{
|
|
12294
12304
|
type: z.ZodLiteral<"preview.build.succeeded">;
|
|
12295
|
-
snapshot_id: z.
|
|
12305
|
+
snapshot_id: z.ZodUUID;
|
|
12296
12306
|
at: z.ZodString;
|
|
12297
12307
|
}, z.core.$strip>, z.ZodObject<{
|
|
12298
12308
|
type: z.ZodLiteral<"preview.build.failed">;
|
|
12299
|
-
snapshot_id: z.
|
|
12309
|
+
snapshot_id: z.ZodUUID;
|
|
12300
12310
|
message: z.ZodString;
|
|
12301
12311
|
diagnostics: z.ZodString;
|
|
12302
12312
|
retryable: z.ZodBoolean;
|
|
@@ -12318,7 +12328,7 @@ export declare const ListAgentEventsResponseSchema: z.ZodObject<{
|
|
|
12318
12328
|
at: z.ZodString;
|
|
12319
12329
|
}, z.core.$strip>, z.ZodObject<{
|
|
12320
12330
|
type: z.ZodLiteral<"run.finished">;
|
|
12321
|
-
snapshot_id: z.ZodOptional<z.
|
|
12331
|
+
snapshot_id: z.ZodOptional<z.ZodUUID>;
|
|
12322
12332
|
at: z.ZodString;
|
|
12323
12333
|
}, z.core.$strip>, z.ZodObject<{
|
|
12324
12334
|
type: z.ZodLiteral<"media_resolution.started">;
|
|
@@ -12570,6 +12580,15 @@ export declare const REST_API_ENDPOINTS: readonly [{
|
|
|
12570
12580
|
readonly status: "implemented";
|
|
12571
12581
|
readonly request_body_schema: "EnhanceDesignerPageResourceBodySchema";
|
|
12572
12582
|
readonly response_schema: "EnhanceDesignerPageResourceResponseSchema";
|
|
12583
|
+
}, {
|
|
12584
|
+
readonly method: "POST";
|
|
12585
|
+
readonly path: "/sites/:site_id/designer/page-resources/compose";
|
|
12586
|
+
readonly tag: "designer-page-library";
|
|
12587
|
+
readonly summary: "Compose exact page and component resources into one strict page artifact.";
|
|
12588
|
+
readonly status: "implemented";
|
|
12589
|
+
readonly request_body_schema: "ComposeDesignerPageResourceBodySchema";
|
|
12590
|
+
readonly response_schema: "InstallDesignerPageResponseSchema";
|
|
12591
|
+
readonly notes: readonly ["The server installs every immutable source, validates ordered page blocks, scopes component materializations, and returns one artifact without exposing resource-platform credentials."];
|
|
12573
12592
|
}, {
|
|
12574
12593
|
readonly method: "POST";
|
|
12575
12594
|
readonly path: "/sites/:site_id/designer/page-resources/blank";
|
|
@@ -13264,7 +13283,7 @@ export declare const InboundUserMessageSchema: z.ZodObject<{
|
|
|
13264
13283
|
}, z.core.$strip>;
|
|
13265
13284
|
export type InboundUserMessage = z.infer<typeof InboundUserMessageSchema>;
|
|
13266
13285
|
export declare const StartWorkspaceRunRequestSchema: z.ZodObject<{
|
|
13267
|
-
base_snapshot_id: z.ZodOptional<z.
|
|
13286
|
+
base_snapshot_id: z.ZodOptional<z.ZodUUID>;
|
|
13268
13287
|
message: z.ZodOptional<z.ZodObject<{
|
|
13269
13288
|
id: z.ZodString;
|
|
13270
13289
|
metadata: z.ZodOptional<z.ZodUnknown>;
|
|
@@ -13330,8 +13349,8 @@ export declare const StartWorkspaceRunRequestSchema: z.ZodObject<{
|
|
|
13330
13349
|
export type StartWorkspaceRunRequest = z.infer<typeof StartWorkspaceRunRequestSchema>;
|
|
13331
13350
|
export declare const WorkspaceSocketDescriptorSchema: z.ZodObject<{
|
|
13332
13351
|
path: z.ZodString;
|
|
13333
|
-
run_id: z.
|
|
13334
|
-
base_snapshot_id: z.
|
|
13352
|
+
run_id: z.ZodUUID;
|
|
13353
|
+
base_snapshot_id: z.ZodUUID;
|
|
13335
13354
|
run_kind: z.ZodEnum<{
|
|
13336
13355
|
initial_generation: "initial_generation";
|
|
13337
13356
|
iteration: "iteration";
|
|
@@ -13340,9 +13359,9 @@ export declare const WorkspaceSocketDescriptorSchema: z.ZodObject<{
|
|
|
13340
13359
|
export type WorkspaceSocketDescriptor = z.infer<typeof WorkspaceSocketDescriptorSchema>;
|
|
13341
13360
|
export declare const StartWorkspaceRunResponseSchema: z.ZodObject<{
|
|
13342
13361
|
agent_run: z.ZodObject<{
|
|
13343
|
-
id: z.
|
|
13362
|
+
id: z.ZodUUID;
|
|
13344
13363
|
tenant_id: z.ZodString;
|
|
13345
|
-
site_id: z.
|
|
13364
|
+
site_id: z.ZodUUID;
|
|
13346
13365
|
agent_type: z.ZodEnum<{
|
|
13347
13366
|
clarify: "clarify";
|
|
13348
13367
|
sitemap: "sitemap";
|
|
@@ -13374,8 +13393,8 @@ export declare const StartWorkspaceRunResponseSchema: z.ZodObject<{
|
|
|
13374
13393
|
}, z.core.$strip>;
|
|
13375
13394
|
websocket: z.ZodObject<{
|
|
13376
13395
|
path: z.ZodString;
|
|
13377
|
-
run_id: z.
|
|
13378
|
-
base_snapshot_id: z.
|
|
13396
|
+
run_id: z.ZodUUID;
|
|
13397
|
+
base_snapshot_id: z.ZodUUID;
|
|
13379
13398
|
run_kind: z.ZodEnum<{
|
|
13380
13399
|
initial_generation: "initial_generation";
|
|
13381
13400
|
iteration: "iteration";
|
|
@@ -13394,9 +13413,9 @@ export type StartWorkspaceRunResponse = z.infer<typeof StartWorkspaceRunResponse
|
|
|
13394
13413
|
*/
|
|
13395
13414
|
export declare const LatestWorkspaceRunResponseSchema: z.ZodObject<{
|
|
13396
13415
|
agent_run: z.ZodObject<{
|
|
13397
|
-
id: z.
|
|
13416
|
+
id: z.ZodUUID;
|
|
13398
13417
|
tenant_id: z.ZodString;
|
|
13399
|
-
site_id: z.
|
|
13418
|
+
site_id: z.ZodUUID;
|
|
13400
13419
|
agent_type: z.ZodEnum<{
|
|
13401
13420
|
clarify: "clarify";
|
|
13402
13421
|
sitemap: "sitemap";
|
|
@@ -13443,9 +13462,9 @@ export declare const LatestAgentRunQuerySchema: z.ZodObject<{
|
|
|
13443
13462
|
}, z.core.$strip>;
|
|
13444
13463
|
export declare const LatestAgentRunResponseSchema: z.ZodObject<{
|
|
13445
13464
|
agent_run: z.ZodObject<{
|
|
13446
|
-
id: z.
|
|
13465
|
+
id: z.ZodUUID;
|
|
13447
13466
|
tenant_id: z.ZodString;
|
|
13448
|
-
site_id: z.
|
|
13467
|
+
site_id: z.ZodUUID;
|
|
13449
13468
|
agent_type: z.ZodEnum<{
|
|
13450
13469
|
clarify: "clarify";
|
|
13451
13470
|
sitemap: "sitemap";
|
|
@@ -13479,6 +13498,7 @@ export declare const LatestAgentRunResponseSchema: z.ZodObject<{
|
|
|
13479
13498
|
export type LatestAgentRunQuery = z.infer<typeof LatestAgentRunQuerySchema>;
|
|
13480
13499
|
export type LatestAgentRunResponse = z.infer<typeof LatestAgentRunResponseSchema>;
|
|
13481
13500
|
export declare const WorkspaceWebSocketMessageTypeSchema: z.ZodEnum<{
|
|
13501
|
+
"client.resource.operation.create": "client.resource.operation.create";
|
|
13482
13502
|
"server.error": "server.error";
|
|
13483
13503
|
"workspace.plan.created": "workspace.plan.created";
|
|
13484
13504
|
"workspace.worker.updated": "workspace.worker.updated";
|
|
@@ -13524,8 +13544,8 @@ export declare const WorkspaceSelectedComponentSchema: z.ZodObject<{
|
|
|
13524
13544
|
export declare const WorkspaceClientMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
13525
13545
|
id: z.ZodString;
|
|
13526
13546
|
tenant_id: z.ZodString;
|
|
13527
|
-
site_id: z.
|
|
13528
|
-
run_id: z.ZodOptional<z.
|
|
13547
|
+
site_id: z.ZodUUID;
|
|
13548
|
+
run_id: z.ZodOptional<z.ZodUUID>;
|
|
13529
13549
|
correlation_id: z.ZodOptional<z.ZodString>;
|
|
13530
13550
|
seq: z.ZodOptional<z.ZodNumber>;
|
|
13531
13551
|
sent_at: z.ZodString;
|
|
@@ -13607,26 +13627,26 @@ export declare const WorkspaceClientMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
13607
13627
|
}, z.core.$strip>]>>;
|
|
13608
13628
|
role: z.ZodLiteral<"user">;
|
|
13609
13629
|
}, z.core.$strip>;
|
|
13610
|
-
base_snapshot_id: z.ZodOptional<z.
|
|
13630
|
+
base_snapshot_id: z.ZodOptional<z.ZodUUID>;
|
|
13611
13631
|
}, z.core.$strip>;
|
|
13612
13632
|
}, z.core.$strip>, z.ZodObject<{
|
|
13613
13633
|
id: z.ZodString;
|
|
13614
13634
|
tenant_id: z.ZodString;
|
|
13615
|
-
site_id: z.
|
|
13616
|
-
run_id: z.ZodOptional<z.
|
|
13635
|
+
site_id: z.ZodUUID;
|
|
13636
|
+
run_id: z.ZodOptional<z.ZodUUID>;
|
|
13617
13637
|
correlation_id: z.ZodOptional<z.ZodString>;
|
|
13618
13638
|
seq: z.ZodOptional<z.ZodNumber>;
|
|
13619
13639
|
sent_at: z.ZodString;
|
|
13620
13640
|
type: z.ZodLiteral<"client.run.cancel">;
|
|
13621
13641
|
payload: z.ZodObject<{
|
|
13622
|
-
run_id: z.
|
|
13642
|
+
run_id: z.ZodUUID;
|
|
13623
13643
|
reason: z.ZodOptional<z.ZodString>;
|
|
13624
13644
|
}, z.core.$strip>;
|
|
13625
13645
|
}, z.core.$strip>, z.ZodObject<{
|
|
13626
13646
|
id: z.ZodString;
|
|
13627
13647
|
tenant_id: z.ZodString;
|
|
13628
|
-
site_id: z.
|
|
13629
|
-
run_id: z.ZodOptional<z.
|
|
13648
|
+
site_id: z.ZodUUID;
|
|
13649
|
+
run_id: z.ZodOptional<z.ZodUUID>;
|
|
13630
13650
|
correlation_id: z.ZodOptional<z.ZodString>;
|
|
13631
13651
|
seq: z.ZodOptional<z.ZodNumber>;
|
|
13632
13652
|
sent_at: z.ZodString;
|
|
@@ -13639,27 +13659,379 @@ export declare const WorkspaceClientMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
13639
13659
|
}>;
|
|
13640
13660
|
reason: z.ZodOptional<z.ZodString>;
|
|
13641
13661
|
}, z.core.$strip>;
|
|
13642
|
-
}, z.core.$strip
|
|
13662
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
13663
|
+
id: z.ZodString;
|
|
13664
|
+
tenant_id: z.ZodString;
|
|
13665
|
+
site_id: z.ZodString;
|
|
13666
|
+
run_id: z.ZodOptional<z.ZodString>;
|
|
13667
|
+
correlation_id: z.ZodOptional<z.ZodString>;
|
|
13668
|
+
sent_at: z.ZodString;
|
|
13669
|
+
type: z.ZodLiteral<"client.resource.operation.create">;
|
|
13670
|
+
payload: z.ZodObject<{
|
|
13671
|
+
client_message_id: z.ZodString;
|
|
13672
|
+
display: z.ZodObject<{
|
|
13673
|
+
resource_kind: z.ZodEnum<{
|
|
13674
|
+
page: "page";
|
|
13675
|
+
pages: "pages";
|
|
13676
|
+
component: "component";
|
|
13677
|
+
}>;
|
|
13678
|
+
resource_name: z.ZodString;
|
|
13679
|
+
file_count: z.ZodNumber;
|
|
13680
|
+
total_bytes: z.ZodNumber;
|
|
13681
|
+
content_digest: z.ZodString;
|
|
13682
|
+
custom_prompt: z.ZodOptional<z.ZodString>;
|
|
13683
|
+
final_routes: z.ZodArray<z.ZodString>;
|
|
13684
|
+
}, z.core.$strict>;
|
|
13685
|
+
transient_resource_input: z.ZodObject<{
|
|
13686
|
+
base_snapshot_id: z.ZodString;
|
|
13687
|
+
operation: z.ZodObject<{
|
|
13688
|
+
id: z.ZodString;
|
|
13689
|
+
siteId: z.ZodUUID;
|
|
13690
|
+
baseSnapshotId: z.ZodUUID;
|
|
13691
|
+
routeId: z.ZodOptional<z.ZodString>;
|
|
13692
|
+
kind: z.ZodEnum<{
|
|
13693
|
+
"insert-child": "insert-child";
|
|
13694
|
+
"update-text": "update-text";
|
|
13695
|
+
"update-array-item": "update-array-item";
|
|
13696
|
+
"remove-node": "remove-node";
|
|
13697
|
+
"move-node": "move-node";
|
|
13698
|
+
"set-class-name-source": "set-class-name-source";
|
|
13699
|
+
"set-props": "set-props";
|
|
13700
|
+
"apply-style-draft": "apply-style-draft";
|
|
13701
|
+
"source-edit": "source-edit";
|
|
13702
|
+
"insert-page-resource": "insert-page-resource";
|
|
13703
|
+
}>;
|
|
13704
|
+
target: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
13705
|
+
kind: z.ZodLiteral<"node">;
|
|
13706
|
+
key: z.ZodString;
|
|
13707
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
13708
|
+
kind: z.ZodLiteral<"page-unit">;
|
|
13709
|
+
routeId: z.ZodString;
|
|
13710
|
+
placementUnitKey: z.ZodString;
|
|
13711
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
13712
|
+
kind: z.ZodLiteral<"route">;
|
|
13713
|
+
routeId: z.ZodString;
|
|
13714
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
13715
|
+
kind: z.ZodLiteral<"source-file">;
|
|
13716
|
+
path: z.ZodString;
|
|
13717
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
13718
|
+
kind: z.ZodLiteral<"source-batch">;
|
|
13719
|
+
paths: z.ZodArray<z.ZodString>;
|
|
13720
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
13721
|
+
kind: z.ZodLiteral<"project">;
|
|
13722
|
+
}, z.core.$strict>], "kind">;
|
|
13723
|
+
documentVersion: z.ZodNumber;
|
|
13724
|
+
selectionRef: z.ZodOptional<z.ZodObject<{
|
|
13725
|
+
key: z.ZodString;
|
|
13726
|
+
instanceIndex: z.ZodOptional<z.ZodNumber>;
|
|
13727
|
+
instanceCount: z.ZodOptional<z.ZodNumber>;
|
|
13728
|
+
}, z.core.$strip>>;
|
|
13729
|
+
mutationContext: z.ZodOptional<z.ZodObject<{
|
|
13730
|
+
editingSessionId: z.ZodString;
|
|
13731
|
+
lockId: z.ZodString;
|
|
13732
|
+
ownerId: z.ZodString;
|
|
13733
|
+
leaseAssertion: z.ZodString;
|
|
13734
|
+
}, z.core.$strict>>;
|
|
13735
|
+
params: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
13736
|
+
kind: z.ZodLiteral<"update-text">;
|
|
13737
|
+
segmentIndex: z.ZodNumber;
|
|
13738
|
+
value: z.ZodString;
|
|
13739
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
13740
|
+
kind: z.ZodLiteral<"update-array-item">;
|
|
13741
|
+
segmentIndex: z.ZodNumber;
|
|
13742
|
+
index: z.ZodNumber;
|
|
13743
|
+
value: z.ZodString;
|
|
13744
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
13745
|
+
kind: z.ZodLiteral<"remove-node">;
|
|
13746
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
13747
|
+
kind: z.ZodLiteral<"insert-child">;
|
|
13748
|
+
node: z.ZodUnion<readonly [z.ZodObject<{
|
|
13749
|
+
kind: z.ZodLiteral<"native-tag">;
|
|
13750
|
+
tag: z.ZodString;
|
|
13751
|
+
text: z.ZodOptional<z.ZodString>;
|
|
13752
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
13753
|
+
kind: z.ZodLiteral<"component-call">;
|
|
13754
|
+
component: z.ZodObject<{
|
|
13755
|
+
source: z.ZodString;
|
|
13756
|
+
exportName: z.ZodString;
|
|
13757
|
+
}, z.core.$strip>;
|
|
13758
|
+
materialization: z.ZodOptional<z.ZodNever>;
|
|
13759
|
+
props: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
13760
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
13761
|
+
kind: z.ZodLiteral<"component-call">;
|
|
13762
|
+
component: z.ZodOptional<z.ZodNever>;
|
|
13763
|
+
materialization: z.ZodObject<{
|
|
13764
|
+
instanceBaseName: z.ZodString;
|
|
13765
|
+
files: z.ZodArray<z.ZodObject<{
|
|
13766
|
+
pathTemplate: z.ZodString;
|
|
13767
|
+
content: z.ZodString;
|
|
13768
|
+
role: z.ZodOptional<z.ZodString>;
|
|
13769
|
+
}, z.core.$strict>>;
|
|
13770
|
+
entry: z.ZodObject<{
|
|
13771
|
+
pathTemplate: z.ZodString;
|
|
13772
|
+
export: z.ZodUnion<readonly [z.ZodObject<{
|
|
13773
|
+
kind: z.ZodLiteral<"default">;
|
|
13774
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
13775
|
+
kind: z.ZodLiteral<"named">;
|
|
13776
|
+
name: z.ZodString;
|
|
13777
|
+
}, z.core.$strict>]>;
|
|
13778
|
+
}, z.core.$strict>;
|
|
13779
|
+
dataRequirements: z.ZodOptional<z.ZodArray<z.ZodNever>>;
|
|
13780
|
+
}, z.core.$strict>;
|
|
13781
|
+
props: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNever>>;
|
|
13782
|
+
}, z.core.$strict>]>;
|
|
13783
|
+
position: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject<{
|
|
13784
|
+
relation: z.ZodEnum<{
|
|
13785
|
+
before: "before";
|
|
13786
|
+
after: "after";
|
|
13787
|
+
}>;
|
|
13788
|
+
anchorKey: z.ZodString;
|
|
13789
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
13790
|
+
relation: z.ZodEnum<{
|
|
13791
|
+
prepend: "prepend";
|
|
13792
|
+
append: "append";
|
|
13793
|
+
}>;
|
|
13794
|
+
parentKey: z.ZodString;
|
|
13795
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
13796
|
+
kind: z.ZodLiteral<"page-composition">;
|
|
13797
|
+
placementKey: z.ZodString;
|
|
13798
|
+
documentVersion: z.ZodNumber;
|
|
13799
|
+
routeId: z.ZodString;
|
|
13800
|
+
placementUnitKey: z.ZodString;
|
|
13801
|
+
relation: z.ZodEnum<{
|
|
13802
|
+
before: "before";
|
|
13803
|
+
after: "after";
|
|
13804
|
+
prepend: "prepend";
|
|
13805
|
+
append: "append";
|
|
13806
|
+
}>;
|
|
13807
|
+
}, z.core.$strict>]>, z.ZodObject<{
|
|
13808
|
+
kind: z.ZodLiteral<"page-composition">;
|
|
13809
|
+
placementKey: z.ZodString;
|
|
13810
|
+
documentVersion: z.ZodNumber;
|
|
13811
|
+
}, z.core.$strict>]>;
|
|
13812
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
13813
|
+
kind: z.ZodLiteral<"move-node">;
|
|
13814
|
+
target: z.ZodUnion<readonly [z.ZodObject<{
|
|
13815
|
+
relation: z.ZodEnum<{
|
|
13816
|
+
before: "before";
|
|
13817
|
+
after: "after";
|
|
13818
|
+
}>;
|
|
13819
|
+
anchorKey: z.ZodString;
|
|
13820
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
13821
|
+
relation: z.ZodEnum<{
|
|
13822
|
+
prepend: "prepend";
|
|
13823
|
+
append: "append";
|
|
13824
|
+
}>;
|
|
13825
|
+
parentKey: z.ZodString;
|
|
13826
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
13827
|
+
kind: z.ZodLiteral<"page-composition">;
|
|
13828
|
+
placementKey: z.ZodString;
|
|
13829
|
+
documentVersion: z.ZodNumber;
|
|
13830
|
+
routeId: z.ZodString;
|
|
13831
|
+
placementUnitKey: z.ZodString;
|
|
13832
|
+
relation: z.ZodEnum<{
|
|
13833
|
+
before: "before";
|
|
13834
|
+
after: "after";
|
|
13835
|
+
prepend: "prepend";
|
|
13836
|
+
append: "append";
|
|
13837
|
+
}>;
|
|
13838
|
+
}, z.core.$strict>]>;
|
|
13839
|
+
preserveBindings: z.ZodOptional<z.ZodBoolean>;
|
|
13840
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
13841
|
+
kind: z.ZodLiteral<"set-class-name-source">;
|
|
13842
|
+
routeId: z.ZodOptional<z.ZodString>;
|
|
13843
|
+
filePath: z.ZodString;
|
|
13844
|
+
expectedVersion: z.ZodObject<{
|
|
13845
|
+
documentVersion: z.ZodNumber;
|
|
13846
|
+
contentHash: z.ZodString;
|
|
13847
|
+
}, z.core.$strip>;
|
|
13848
|
+
oldAttrRaw: z.ZodNullable<z.ZodString>;
|
|
13849
|
+
oldAttrRange: z.ZodNullable<z.ZodObject<{
|
|
13850
|
+
start: z.ZodNumber;
|
|
13851
|
+
end: z.ZodNumber;
|
|
13852
|
+
}, z.core.$strip>>;
|
|
13853
|
+
openingElementRange: z.ZodObject<{
|
|
13854
|
+
start: z.ZodNumber;
|
|
13855
|
+
end: z.ZodNumber;
|
|
13856
|
+
}, z.core.$strip>;
|
|
13857
|
+
newAttrRaw: z.ZodNullable<z.ZodString>;
|
|
13858
|
+
intent: z.ZodObject<{
|
|
13859
|
+
source: z.ZodEnum<{
|
|
13860
|
+
"style-panel": "style-panel";
|
|
13861
|
+
"class-source-editor": "class-source-editor";
|
|
13862
|
+
}>;
|
|
13863
|
+
operation: z.ZodEnum<{
|
|
13864
|
+
"replace-static-classname": "replace-static-classname";
|
|
13865
|
+
"replace-expression": "replace-expression";
|
|
13866
|
+
"create-attribute": "create-attribute";
|
|
13867
|
+
"remove-attribute": "remove-attribute";
|
|
13868
|
+
}>;
|
|
13869
|
+
}, z.core.$strip>;
|
|
13870
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
13871
|
+
kind: z.ZodLiteral<"set-props">;
|
|
13872
|
+
props: z.ZodRecord<z.ZodEnum<{
|
|
13873
|
+
src: "src";
|
|
13874
|
+
alt: "alt";
|
|
13875
|
+
poster: "poster";
|
|
13876
|
+
href: "href";
|
|
13877
|
+
width: "width";
|
|
13878
|
+
height: "height";
|
|
13879
|
+
}> & z.core.$partial, z.ZodString>;
|
|
13880
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
13881
|
+
kind: z.ZodLiteral<"apply-style-draft">;
|
|
13882
|
+
className: z.ZodOptional<z.ZodObject<{
|
|
13883
|
+
routeId: z.ZodOptional<z.ZodString>;
|
|
13884
|
+
filePath: z.ZodString;
|
|
13885
|
+
expectedVersion: z.ZodObject<{
|
|
13886
|
+
documentVersion: z.ZodNumber;
|
|
13887
|
+
contentHash: z.ZodString;
|
|
13888
|
+
}, z.core.$strip>;
|
|
13889
|
+
oldAttrRaw: z.ZodNullable<z.ZodString>;
|
|
13890
|
+
oldAttrRange: z.ZodNullable<z.ZodObject<{
|
|
13891
|
+
start: z.ZodNumber;
|
|
13892
|
+
end: z.ZodNumber;
|
|
13893
|
+
}, z.core.$strip>>;
|
|
13894
|
+
openingElementRange: z.ZodObject<{
|
|
13895
|
+
start: z.ZodNumber;
|
|
13896
|
+
end: z.ZodNumber;
|
|
13897
|
+
}, z.core.$strip>;
|
|
13898
|
+
newAttrRaw: z.ZodNullable<z.ZodString>;
|
|
13899
|
+
intent: z.ZodObject<{
|
|
13900
|
+
source: z.ZodEnum<{
|
|
13901
|
+
"style-panel": "style-panel";
|
|
13902
|
+
"class-source-editor": "class-source-editor";
|
|
13903
|
+
}>;
|
|
13904
|
+
operation: z.ZodEnum<{
|
|
13905
|
+
"replace-static-classname": "replace-static-classname";
|
|
13906
|
+
"replace-expression": "replace-expression";
|
|
13907
|
+
"create-attribute": "create-attribute";
|
|
13908
|
+
"remove-attribute": "remove-attribute";
|
|
13909
|
+
}>;
|
|
13910
|
+
}, z.core.$strip>;
|
|
13911
|
+
}, z.core.$strip>>;
|
|
13912
|
+
props: z.ZodOptional<z.ZodRecord<z.ZodEnum<{
|
|
13913
|
+
src: "src";
|
|
13914
|
+
alt: "alt";
|
|
13915
|
+
poster: "poster";
|
|
13916
|
+
href: "href";
|
|
13917
|
+
width: "width";
|
|
13918
|
+
height: "height";
|
|
13919
|
+
}> & z.core.$partial, z.ZodString>>;
|
|
13920
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
13921
|
+
kind: z.ZodLiteral<"source-edit">;
|
|
13922
|
+
conflictPolicy: z.ZodEnum<{
|
|
13923
|
+
"compare-and-swap": "compare-and-swap";
|
|
13924
|
+
overwrite: "overwrite";
|
|
13925
|
+
}>;
|
|
13926
|
+
edits: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
13927
|
+
operation: z.ZodLiteral<"upsert">;
|
|
13928
|
+
path: z.ZodString;
|
|
13929
|
+
content: z.ZodString;
|
|
13930
|
+
baseContentHash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13931
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
13932
|
+
operation: z.ZodLiteral<"delete">;
|
|
13933
|
+
path: z.ZodString;
|
|
13934
|
+
capability: z.ZodLiteral<"source-delete">;
|
|
13935
|
+
confirmDelete: z.ZodLiteral<true>;
|
|
13936
|
+
confirmPath: z.ZodString;
|
|
13937
|
+
baseContentHash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13938
|
+
}, z.core.$strict>], "operation">>;
|
|
13939
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
13940
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
13941
|
+
kind: z.ZodLiteral<"insert-page-resource">;
|
|
13942
|
+
artifact: z.ZodObject<{
|
|
13943
|
+
resource_id: z.ZodString;
|
|
13944
|
+
resource_type: z.ZodEnum<{
|
|
13945
|
+
page: "page";
|
|
13946
|
+
pages: "pages";
|
|
13947
|
+
}>;
|
|
13948
|
+
resolved_version: z.ZodString;
|
|
13949
|
+
revision_id: z.ZodString;
|
|
13950
|
+
digest_sha256: z.ZodString;
|
|
13951
|
+
components: z.ZodArray<z.ZodObject<{
|
|
13952
|
+
component_id: z.ZodString;
|
|
13953
|
+
materialization: z.ZodObject<{
|
|
13954
|
+
instanceBaseName: z.ZodString;
|
|
13955
|
+
files: z.ZodArray<z.ZodObject<{
|
|
13956
|
+
pathTemplate: z.ZodString;
|
|
13957
|
+
content: z.ZodString;
|
|
13958
|
+
role: z.ZodOptional<z.ZodString>;
|
|
13959
|
+
}, z.core.$strict>>;
|
|
13960
|
+
entry: z.ZodObject<{
|
|
13961
|
+
pathTemplate: z.ZodString;
|
|
13962
|
+
export: z.ZodUnion<readonly [z.ZodObject<{
|
|
13963
|
+
kind: z.ZodLiteral<"default">;
|
|
13964
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
13965
|
+
kind: z.ZodLiteral<"named">;
|
|
13966
|
+
name: z.ZodString;
|
|
13967
|
+
}, z.core.$strict>]>;
|
|
13968
|
+
}, z.core.$strict>;
|
|
13969
|
+
dataRequirements: z.ZodOptional<z.ZodArray<z.ZodNever>>;
|
|
13970
|
+
}, z.core.$strict>;
|
|
13971
|
+
}, z.core.$strict>>;
|
|
13972
|
+
pages: z.ZodArray<z.ZodObject<{
|
|
13973
|
+
template_page_id: z.ZodString;
|
|
13974
|
+
title: z.ZodString;
|
|
13975
|
+
final_route: z.ZodString;
|
|
13976
|
+
materialization: z.ZodObject<{
|
|
13977
|
+
instanceBaseName: z.ZodString;
|
|
13978
|
+
files: z.ZodArray<z.ZodObject<{
|
|
13979
|
+
pathTemplate: z.ZodString;
|
|
13980
|
+
content: z.ZodString;
|
|
13981
|
+
role: z.ZodOptional<z.ZodString>;
|
|
13982
|
+
}, z.core.$strict>>;
|
|
13983
|
+
entry: z.ZodObject<{
|
|
13984
|
+
pathTemplate: z.ZodString;
|
|
13985
|
+
export: z.ZodUnion<readonly [z.ZodObject<{
|
|
13986
|
+
kind: z.ZodLiteral<"default">;
|
|
13987
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
13988
|
+
kind: z.ZodLiteral<"named">;
|
|
13989
|
+
name: z.ZodString;
|
|
13990
|
+
}, z.core.$strict>]>;
|
|
13991
|
+
}, z.core.$strict>;
|
|
13992
|
+
dataRequirements: z.ZodOptional<z.ZodArray<z.ZodNever>>;
|
|
13993
|
+
}, z.core.$strict>;
|
|
13994
|
+
components: z.ZodArray<z.ZodObject<{
|
|
13995
|
+
instance_id: z.ZodString;
|
|
13996
|
+
component_id: z.ZodString;
|
|
13997
|
+
}, z.core.$strict>>;
|
|
13998
|
+
}, z.core.$strict>>;
|
|
13999
|
+
project_dependencies: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNever>>;
|
|
14000
|
+
}, z.core.$strict>;
|
|
14001
|
+
}, z.core.$strict>], "kind">;
|
|
14002
|
+
}, z.core.$strip>;
|
|
14003
|
+
navigation_selection: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
14004
|
+
kind: z.ZodLiteral<"none">;
|
|
14005
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
14006
|
+
kind: z.ZodLiteral<"primary">;
|
|
14007
|
+
items: z.ZodArray<z.ZodObject<{
|
|
14008
|
+
label: z.ZodString;
|
|
14009
|
+
href: z.ZodString;
|
|
14010
|
+
}, z.core.$strict>>;
|
|
14011
|
+
}, z.core.$strict>], "kind">>;
|
|
14012
|
+
}, z.core.$strict>;
|
|
14013
|
+
}, z.core.$strict>;
|
|
14014
|
+
}, z.core.$strict>], "type">;
|
|
13643
14015
|
export type WorkspaceClientMessage = z.infer<typeof WorkspaceClientMessageSchema>;
|
|
13644
14016
|
export type WorkspaceSelectedComponent = z.infer<typeof WorkspaceSelectedComponentSchema>;
|
|
13645
14017
|
export declare const WorkspaceServerMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
13646
14018
|
id: z.ZodString;
|
|
13647
14019
|
tenant_id: z.ZodString;
|
|
13648
|
-
site_id: z.
|
|
13649
|
-
run_id: z.ZodOptional<z.
|
|
14020
|
+
site_id: z.ZodUUID;
|
|
14021
|
+
run_id: z.ZodOptional<z.ZodUUID>;
|
|
13650
14022
|
correlation_id: z.ZodOptional<z.ZodString>;
|
|
13651
14023
|
seq: z.ZodOptional<z.ZodNumber>;
|
|
13652
14024
|
sent_at: z.ZodString;
|
|
13653
14025
|
type: z.ZodLiteral<"server.run.started">;
|
|
13654
14026
|
payload: z.ZodObject<{
|
|
13655
|
-
run_id: z.
|
|
14027
|
+
run_id: z.ZodUUID;
|
|
13656
14028
|
agent_type: z.ZodLiteral<"workspace">;
|
|
13657
14029
|
}, z.core.$strip>;
|
|
13658
14030
|
}, z.core.$strip>, z.ZodObject<{
|
|
13659
14031
|
id: z.ZodString;
|
|
13660
14032
|
tenant_id: z.ZodString;
|
|
13661
|
-
site_id: z.
|
|
13662
|
-
run_id: z.ZodOptional<z.
|
|
14033
|
+
site_id: z.ZodUUID;
|
|
14034
|
+
run_id: z.ZodOptional<z.ZodUUID>;
|
|
13663
14035
|
correlation_id: z.ZodOptional<z.ZodString>;
|
|
13664
14036
|
seq: z.ZodOptional<z.ZodNumber>;
|
|
13665
14037
|
sent_at: z.ZodString;
|
|
@@ -13727,8 +14099,8 @@ export declare const WorkspaceServerMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
13727
14099
|
}, z.core.$strip>, z.ZodObject<{
|
|
13728
14100
|
id: z.ZodString;
|
|
13729
14101
|
tenant_id: z.ZodString;
|
|
13730
|
-
site_id: z.
|
|
13731
|
-
run_id: z.ZodOptional<z.
|
|
14102
|
+
site_id: z.ZodUUID;
|
|
14103
|
+
run_id: z.ZodOptional<z.ZodUUID>;
|
|
13732
14104
|
correlation_id: z.ZodOptional<z.ZodString>;
|
|
13733
14105
|
seq: z.ZodOptional<z.ZodNumber>;
|
|
13734
14106
|
sent_at: z.ZodString;
|
|
@@ -13798,8 +14170,8 @@ export declare const WorkspaceServerMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
13798
14170
|
}, z.core.$strip>, z.ZodObject<{
|
|
13799
14171
|
id: z.ZodString;
|
|
13800
14172
|
tenant_id: z.ZodString;
|
|
13801
|
-
site_id: z.
|
|
13802
|
-
run_id: z.ZodOptional<z.
|
|
14173
|
+
site_id: z.ZodUUID;
|
|
14174
|
+
run_id: z.ZodOptional<z.ZodUUID>;
|
|
13803
14175
|
correlation_id: z.ZodOptional<z.ZodString>;
|
|
13804
14176
|
seq: z.ZodOptional<z.ZodNumber>;
|
|
13805
14177
|
sent_at: z.ZodString;
|
|
@@ -13812,8 +14184,8 @@ export declare const WorkspaceServerMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
13812
14184
|
}, z.core.$strip>, z.ZodObject<{
|
|
13813
14185
|
id: z.ZodString;
|
|
13814
14186
|
tenant_id: z.ZodString;
|
|
13815
|
-
site_id: z.
|
|
13816
|
-
run_id: z.ZodOptional<z.
|
|
14187
|
+
site_id: z.ZodUUID;
|
|
14188
|
+
run_id: z.ZodOptional<z.ZodUUID>;
|
|
13817
14189
|
correlation_id: z.ZodOptional<z.ZodString>;
|
|
13818
14190
|
seq: z.ZodOptional<z.ZodNumber>;
|
|
13819
14191
|
sent_at: z.ZodString;
|
|
@@ -13826,8 +14198,8 @@ export declare const WorkspaceServerMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
13826
14198
|
}, z.core.$strip>, z.ZodObject<{
|
|
13827
14199
|
id: z.ZodString;
|
|
13828
14200
|
tenant_id: z.ZodString;
|
|
13829
|
-
site_id: z.
|
|
13830
|
-
run_id: z.ZodOptional<z.
|
|
14201
|
+
site_id: z.ZodUUID;
|
|
14202
|
+
run_id: z.ZodOptional<z.ZodUUID>;
|
|
13831
14203
|
correlation_id: z.ZodOptional<z.ZodString>;
|
|
13832
14204
|
seq: z.ZodOptional<z.ZodNumber>;
|
|
13833
14205
|
sent_at: z.ZodString;
|
|
@@ -13843,13 +14215,13 @@ export declare const WorkspaceServerMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
13843
14215
|
mixed: "mixed";
|
|
13844
14216
|
advisor: "advisor";
|
|
13845
14217
|
}>;
|
|
13846
|
-
run_id: z.
|
|
14218
|
+
run_id: z.ZodUUID;
|
|
13847
14219
|
}, z.core.$strict>;
|
|
13848
14220
|
}, z.core.$strip>, z.ZodObject<{
|
|
13849
14221
|
id: z.ZodString;
|
|
13850
14222
|
tenant_id: z.ZodString;
|
|
13851
|
-
site_id: z.
|
|
13852
|
-
run_id: z.ZodOptional<z.
|
|
14223
|
+
site_id: z.ZodUUID;
|
|
14224
|
+
run_id: z.ZodOptional<z.ZodUUID>;
|
|
13853
14225
|
correlation_id: z.ZodOptional<z.ZodString>;
|
|
13854
14226
|
seq: z.ZodOptional<z.ZodNumber>;
|
|
13855
14227
|
sent_at: z.ZodString;
|
|
@@ -13948,8 +14320,8 @@ export declare const WorkspaceServerMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
13948
14320
|
}, z.core.$strip>, z.ZodObject<{
|
|
13949
14321
|
id: z.ZodString;
|
|
13950
14322
|
tenant_id: z.ZodString;
|
|
13951
|
-
site_id: z.
|
|
13952
|
-
run_id: z.ZodOptional<z.
|
|
14323
|
+
site_id: z.ZodUUID;
|
|
14324
|
+
run_id: z.ZodOptional<z.ZodUUID>;
|
|
13953
14325
|
correlation_id: z.ZodOptional<z.ZodString>;
|
|
13954
14326
|
seq: z.ZodOptional<z.ZodNumber>;
|
|
13955
14327
|
sent_at: z.ZodString;
|
|
@@ -13990,8 +14362,8 @@ export declare const WorkspaceServerMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
13990
14362
|
}, z.core.$strip>, z.ZodObject<{
|
|
13991
14363
|
id: z.ZodString;
|
|
13992
14364
|
tenant_id: z.ZodString;
|
|
13993
|
-
site_id: z.
|
|
13994
|
-
run_id: z.ZodOptional<z.
|
|
14365
|
+
site_id: z.ZodUUID;
|
|
14366
|
+
run_id: z.ZodOptional<z.ZodUUID>;
|
|
13995
14367
|
correlation_id: z.ZodOptional<z.ZodString>;
|
|
13996
14368
|
seq: z.ZodOptional<z.ZodNumber>;
|
|
13997
14369
|
sent_at: z.ZodString;
|
|
@@ -14021,8 +14393,8 @@ export declare const WorkspaceServerMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
14021
14393
|
}, z.core.$strip>, z.ZodObject<{
|
|
14022
14394
|
id: z.ZodString;
|
|
14023
14395
|
tenant_id: z.ZodString;
|
|
14024
|
-
site_id: z.
|
|
14025
|
-
run_id: z.ZodOptional<z.
|
|
14396
|
+
site_id: z.ZodUUID;
|
|
14397
|
+
run_id: z.ZodOptional<z.ZodUUID>;
|
|
14026
14398
|
correlation_id: z.ZodOptional<z.ZodString>;
|
|
14027
14399
|
seq: z.ZodOptional<z.ZodNumber>;
|
|
14028
14400
|
sent_at: z.ZodString;
|
|
@@ -14035,47 +14407,47 @@ export declare const WorkspaceServerMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
14035
14407
|
}, z.core.$strip>, z.ZodObject<{
|
|
14036
14408
|
id: z.ZodString;
|
|
14037
14409
|
tenant_id: z.ZodString;
|
|
14038
|
-
site_id: z.
|
|
14039
|
-
run_id: z.ZodOptional<z.
|
|
14410
|
+
site_id: z.ZodUUID;
|
|
14411
|
+
run_id: z.ZodOptional<z.ZodUUID>;
|
|
14040
14412
|
correlation_id: z.ZodOptional<z.ZodString>;
|
|
14041
14413
|
seq: z.ZodOptional<z.ZodNumber>;
|
|
14042
14414
|
sent_at: z.ZodString;
|
|
14043
14415
|
type: z.ZodLiteral<"server.sitemap.updated">;
|
|
14044
14416
|
payload: z.ZodObject<{
|
|
14045
|
-
sitemap_id: z.
|
|
14417
|
+
sitemap_id: z.ZodUUID;
|
|
14046
14418
|
version: z.ZodNumber;
|
|
14047
14419
|
reason: z.ZodString;
|
|
14048
14420
|
}, z.core.$strip>;
|
|
14049
14421
|
}, z.core.$strip>, z.ZodObject<{
|
|
14050
14422
|
id: z.ZodString;
|
|
14051
14423
|
tenant_id: z.ZodString;
|
|
14052
|
-
site_id: z.
|
|
14053
|
-
run_id: z.ZodOptional<z.
|
|
14424
|
+
site_id: z.ZodUUID;
|
|
14425
|
+
run_id: z.ZodOptional<z.ZodUUID>;
|
|
14054
14426
|
correlation_id: z.ZodOptional<z.ZodString>;
|
|
14055
14427
|
seq: z.ZodOptional<z.ZodNumber>;
|
|
14056
14428
|
sent_at: z.ZodString;
|
|
14057
14429
|
type: z.ZodLiteral<"server.snapshot.created">;
|
|
14058
14430
|
payload: z.ZodObject<{
|
|
14059
|
-
snapshot_id: z.
|
|
14431
|
+
snapshot_id: z.ZodUUID;
|
|
14060
14432
|
manifest_hash: z.ZodString;
|
|
14061
14433
|
}, z.core.$strip>;
|
|
14062
14434
|
}, z.core.$strip>, z.ZodObject<{
|
|
14063
14435
|
id: z.ZodString;
|
|
14064
14436
|
tenant_id: z.ZodString;
|
|
14065
|
-
site_id: z.
|
|
14066
|
-
run_id: z.ZodOptional<z.
|
|
14437
|
+
site_id: z.ZodUUID;
|
|
14438
|
+
run_id: z.ZodOptional<z.ZodUUID>;
|
|
14067
14439
|
correlation_id: z.ZodOptional<z.ZodString>;
|
|
14068
14440
|
seq: z.ZodOptional<z.ZodNumber>;
|
|
14069
14441
|
sent_at: z.ZodString;
|
|
14070
14442
|
type: z.ZodLiteral<"server.snapshot.finalized">;
|
|
14071
14443
|
payload: z.ZodObject<{
|
|
14072
|
-
snapshot_id: z.
|
|
14444
|
+
snapshot_id: z.ZodUUID;
|
|
14073
14445
|
}, z.core.$strip>;
|
|
14074
14446
|
}, z.core.$strip>, z.ZodObject<{
|
|
14075
14447
|
id: z.ZodString;
|
|
14076
14448
|
tenant_id: z.ZodString;
|
|
14077
|
-
site_id: z.
|
|
14078
|
-
run_id: z.ZodOptional<z.
|
|
14449
|
+
site_id: z.ZodUUID;
|
|
14450
|
+
run_id: z.ZodOptional<z.ZodUUID>;
|
|
14079
14451
|
correlation_id: z.ZodOptional<z.ZodString>;
|
|
14080
14452
|
seq: z.ZodOptional<z.ZodNumber>;
|
|
14081
14453
|
sent_at: z.ZodString;
|
|
@@ -14087,38 +14459,38 @@ export declare const WorkspaceServerMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
14087
14459
|
}, z.core.$strip>, z.ZodObject<{
|
|
14088
14460
|
id: z.ZodString;
|
|
14089
14461
|
tenant_id: z.ZodString;
|
|
14090
|
-
site_id: z.
|
|
14091
|
-
run_id: z.ZodOptional<z.
|
|
14462
|
+
site_id: z.ZodUUID;
|
|
14463
|
+
run_id: z.ZodOptional<z.ZodUUID>;
|
|
14092
14464
|
correlation_id: z.ZodOptional<z.ZodString>;
|
|
14093
14465
|
seq: z.ZodOptional<z.ZodNumber>;
|
|
14094
14466
|
sent_at: z.ZodString;
|
|
14095
14467
|
type: z.ZodLiteral<"preview.build.started">;
|
|
14096
14468
|
payload: z.ZodObject<{
|
|
14097
|
-
snapshot_id: z.
|
|
14469
|
+
snapshot_id: z.ZodUUID;
|
|
14098
14470
|
}, z.core.$strip>;
|
|
14099
14471
|
}, z.core.$strip>, z.ZodObject<{
|
|
14100
14472
|
id: z.ZodString;
|
|
14101
14473
|
tenant_id: z.ZodString;
|
|
14102
|
-
site_id: z.
|
|
14103
|
-
run_id: z.ZodOptional<z.
|
|
14474
|
+
site_id: z.ZodUUID;
|
|
14475
|
+
run_id: z.ZodOptional<z.ZodUUID>;
|
|
14104
14476
|
correlation_id: z.ZodOptional<z.ZodString>;
|
|
14105
14477
|
seq: z.ZodOptional<z.ZodNumber>;
|
|
14106
14478
|
sent_at: z.ZodString;
|
|
14107
14479
|
type: z.ZodLiteral<"preview.build.succeeded">;
|
|
14108
14480
|
payload: z.ZodObject<{
|
|
14109
|
-
snapshot_id: z.
|
|
14481
|
+
snapshot_id: z.ZodUUID;
|
|
14110
14482
|
}, z.core.$strip>;
|
|
14111
14483
|
}, z.core.$strip>, z.ZodObject<{
|
|
14112
14484
|
id: z.ZodString;
|
|
14113
14485
|
tenant_id: z.ZodString;
|
|
14114
|
-
site_id: z.
|
|
14115
|
-
run_id: z.ZodOptional<z.
|
|
14486
|
+
site_id: z.ZodUUID;
|
|
14487
|
+
run_id: z.ZodOptional<z.ZodUUID>;
|
|
14116
14488
|
correlation_id: z.ZodOptional<z.ZodString>;
|
|
14117
14489
|
seq: z.ZodOptional<z.ZodNumber>;
|
|
14118
14490
|
sent_at: z.ZodString;
|
|
14119
14491
|
type: z.ZodLiteral<"preview.build.failed">;
|
|
14120
14492
|
payload: z.ZodObject<{
|
|
14121
|
-
snapshot_id: z.
|
|
14493
|
+
snapshot_id: z.ZodUUID;
|
|
14122
14494
|
message: z.ZodString;
|
|
14123
14495
|
diagnostics: z.ZodString;
|
|
14124
14496
|
retryable: z.ZodBoolean;
|
|
@@ -14126,27 +14498,27 @@ export declare const WorkspaceServerMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
14126
14498
|
}, z.core.$strip>, z.ZodObject<{
|
|
14127
14499
|
id: z.ZodString;
|
|
14128
14500
|
tenant_id: z.ZodString;
|
|
14129
|
-
site_id: z.
|
|
14130
|
-
run_id: z.ZodOptional<z.
|
|
14501
|
+
site_id: z.ZodUUID;
|
|
14502
|
+
run_id: z.ZodOptional<z.ZodUUID>;
|
|
14131
14503
|
correlation_id: z.ZodOptional<z.ZodString>;
|
|
14132
14504
|
seq: z.ZodOptional<z.ZodNumber>;
|
|
14133
14505
|
sent_at: z.ZodString;
|
|
14134
14506
|
type: z.ZodLiteral<"server.run.finished">;
|
|
14135
14507
|
payload: z.ZodObject<{
|
|
14136
|
-
run_id: z.
|
|
14137
|
-
snapshot_id: z.
|
|
14508
|
+
run_id: z.ZodUUID;
|
|
14509
|
+
snapshot_id: z.ZodUUID;
|
|
14138
14510
|
}, z.core.$strip>;
|
|
14139
14511
|
}, z.core.$strip>, z.ZodObject<{
|
|
14140
14512
|
id: z.ZodString;
|
|
14141
14513
|
tenant_id: z.ZodString;
|
|
14142
|
-
site_id: z.
|
|
14143
|
-
run_id: z.ZodOptional<z.
|
|
14514
|
+
site_id: z.ZodUUID;
|
|
14515
|
+
run_id: z.ZodOptional<z.ZodUUID>;
|
|
14144
14516
|
correlation_id: z.ZodOptional<z.ZodString>;
|
|
14145
14517
|
seq: z.ZodOptional<z.ZodNumber>;
|
|
14146
14518
|
sent_at: z.ZodString;
|
|
14147
14519
|
type: z.ZodLiteral<"server.run.failed">;
|
|
14148
14520
|
payload: z.ZodObject<{
|
|
14149
|
-
run_id: z.
|
|
14521
|
+
run_id: z.ZodUUID;
|
|
14150
14522
|
error_code: z.ZodString;
|
|
14151
14523
|
message: z.ZodString;
|
|
14152
14524
|
retryable: z.ZodBoolean;
|
|
@@ -14155,8 +14527,8 @@ export declare const WorkspaceServerMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
14155
14527
|
}, z.core.$strip>, z.ZodObject<{
|
|
14156
14528
|
id: z.ZodString;
|
|
14157
14529
|
tenant_id: z.ZodString;
|
|
14158
|
-
site_id: z.
|
|
14159
|
-
run_id: z.ZodOptional<z.
|
|
14530
|
+
site_id: z.ZodUUID;
|
|
14531
|
+
run_id: z.ZodOptional<z.ZodUUID>;
|
|
14160
14532
|
correlation_id: z.ZodOptional<z.ZodString>;
|
|
14161
14533
|
seq: z.ZodOptional<z.ZodNumber>;
|
|
14162
14534
|
sent_at: z.ZodString;
|
|
@@ -14169,8 +14541,8 @@ export declare const WorkspaceServerMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
14169
14541
|
}, z.core.$strip>, z.ZodObject<{
|
|
14170
14542
|
id: z.ZodString;
|
|
14171
14543
|
tenant_id: z.ZodString;
|
|
14172
|
-
site_id: z.
|
|
14173
|
-
run_id: z.ZodOptional<z.
|
|
14544
|
+
site_id: z.ZodUUID;
|
|
14545
|
+
run_id: z.ZodOptional<z.ZodUUID>;
|
|
14174
14546
|
correlation_id: z.ZodOptional<z.ZodString>;
|
|
14175
14547
|
seq: z.ZodOptional<z.ZodNumber>;
|
|
14176
14548
|
sent_at: z.ZodString;
|
|
@@ -14204,8 +14576,8 @@ export declare const WorkspaceServerMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
14204
14576
|
}, z.core.$strip>, z.ZodObject<{
|
|
14205
14577
|
id: z.ZodString;
|
|
14206
14578
|
tenant_id: z.ZodString;
|
|
14207
|
-
site_id: z.
|
|
14208
|
-
run_id: z.ZodOptional<z.
|
|
14579
|
+
site_id: z.ZodUUID;
|
|
14580
|
+
run_id: z.ZodOptional<z.ZodUUID>;
|
|
14209
14581
|
correlation_id: z.ZodOptional<z.ZodString>;
|
|
14210
14582
|
seq: z.ZodOptional<z.ZodNumber>;
|
|
14211
14583
|
sent_at: z.ZodString;
|
|
@@ -14230,8 +14602,8 @@ export declare const WorkspaceServerMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
14230
14602
|
}, z.core.$strip>, z.ZodObject<{
|
|
14231
14603
|
id: z.ZodString;
|
|
14232
14604
|
tenant_id: z.ZodString;
|
|
14233
|
-
site_id: z.
|
|
14234
|
-
run_id: z.ZodOptional<z.
|
|
14605
|
+
site_id: z.ZodUUID;
|
|
14606
|
+
run_id: z.ZodOptional<z.ZodUUID>;
|
|
14235
14607
|
correlation_id: z.ZodOptional<z.ZodString>;
|
|
14236
14608
|
seq: z.ZodOptional<z.ZodNumber>;
|
|
14237
14609
|
sent_at: z.ZodString;
|
|
@@ -14242,8 +14614,8 @@ export declare const WorkspaceServerMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
14242
14614
|
}, z.core.$strip>, z.ZodObject<{
|
|
14243
14615
|
id: z.ZodString;
|
|
14244
14616
|
tenant_id: z.ZodString;
|
|
14245
|
-
site_id: z.
|
|
14246
|
-
run_id: z.ZodOptional<z.
|
|
14617
|
+
site_id: z.ZodUUID;
|
|
14618
|
+
run_id: z.ZodOptional<z.ZodUUID>;
|
|
14247
14619
|
correlation_id: z.ZodOptional<z.ZodString>;
|
|
14248
14620
|
seq: z.ZodOptional<z.ZodNumber>;
|
|
14249
14621
|
sent_at: z.ZodString;
|
|
@@ -14257,8 +14629,8 @@ export type WorkspaceServerMessage = z.infer<typeof WorkspaceServerMessageSchema
|
|
|
14257
14629
|
export declare const WorkspaceWebSocketMessageSchema: z.ZodUnion<readonly [z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
14258
14630
|
id: z.ZodString;
|
|
14259
14631
|
tenant_id: z.ZodString;
|
|
14260
|
-
site_id: z.
|
|
14261
|
-
run_id: z.ZodOptional<z.
|
|
14632
|
+
site_id: z.ZodUUID;
|
|
14633
|
+
run_id: z.ZodOptional<z.ZodUUID>;
|
|
14262
14634
|
correlation_id: z.ZodOptional<z.ZodString>;
|
|
14263
14635
|
seq: z.ZodOptional<z.ZodNumber>;
|
|
14264
14636
|
sent_at: z.ZodString;
|
|
@@ -14340,26 +14712,26 @@ export declare const WorkspaceWebSocketMessageSchema: z.ZodUnion<readonly [z.Zod
|
|
|
14340
14712
|
}, z.core.$strip>]>>;
|
|
14341
14713
|
role: z.ZodLiteral<"user">;
|
|
14342
14714
|
}, z.core.$strip>;
|
|
14343
|
-
base_snapshot_id: z.ZodOptional<z.
|
|
14715
|
+
base_snapshot_id: z.ZodOptional<z.ZodUUID>;
|
|
14344
14716
|
}, z.core.$strip>;
|
|
14345
14717
|
}, z.core.$strip>, z.ZodObject<{
|
|
14346
14718
|
id: z.ZodString;
|
|
14347
14719
|
tenant_id: z.ZodString;
|
|
14348
|
-
site_id: z.
|
|
14349
|
-
run_id: z.ZodOptional<z.
|
|
14720
|
+
site_id: z.ZodUUID;
|
|
14721
|
+
run_id: z.ZodOptional<z.ZodUUID>;
|
|
14350
14722
|
correlation_id: z.ZodOptional<z.ZodString>;
|
|
14351
14723
|
seq: z.ZodOptional<z.ZodNumber>;
|
|
14352
14724
|
sent_at: z.ZodString;
|
|
14353
14725
|
type: z.ZodLiteral<"client.run.cancel">;
|
|
14354
14726
|
payload: z.ZodObject<{
|
|
14355
|
-
run_id: z.
|
|
14727
|
+
run_id: z.ZodUUID;
|
|
14356
14728
|
reason: z.ZodOptional<z.ZodString>;
|
|
14357
14729
|
}, z.core.$strip>;
|
|
14358
14730
|
}, z.core.$strip>, z.ZodObject<{
|
|
14359
14731
|
id: z.ZodString;
|
|
14360
14732
|
tenant_id: z.ZodString;
|
|
14361
|
-
site_id: z.
|
|
14362
|
-
run_id: z.ZodOptional<z.
|
|
14733
|
+
site_id: z.ZodUUID;
|
|
14734
|
+
run_id: z.ZodOptional<z.ZodUUID>;
|
|
14363
14735
|
correlation_id: z.ZodOptional<z.ZodString>;
|
|
14364
14736
|
seq: z.ZodOptional<z.ZodNumber>;
|
|
14365
14737
|
sent_at: z.ZodString;
|
|
@@ -14372,24 +14744,376 @@ export declare const WorkspaceWebSocketMessageSchema: z.ZodUnion<readonly [z.Zod
|
|
|
14372
14744
|
}>;
|
|
14373
14745
|
reason: z.ZodOptional<z.ZodString>;
|
|
14374
14746
|
}, z.core.$strip>;
|
|
14375
|
-
}, z.core.$strip
|
|
14747
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
14376
14748
|
id: z.ZodString;
|
|
14377
14749
|
tenant_id: z.ZodString;
|
|
14378
14750
|
site_id: z.ZodString;
|
|
14379
14751
|
run_id: z.ZodOptional<z.ZodString>;
|
|
14380
14752
|
correlation_id: z.ZodOptional<z.ZodString>;
|
|
14753
|
+
sent_at: z.ZodString;
|
|
14754
|
+
type: z.ZodLiteral<"client.resource.operation.create">;
|
|
14755
|
+
payload: z.ZodObject<{
|
|
14756
|
+
client_message_id: z.ZodString;
|
|
14757
|
+
display: z.ZodObject<{
|
|
14758
|
+
resource_kind: z.ZodEnum<{
|
|
14759
|
+
page: "page";
|
|
14760
|
+
pages: "pages";
|
|
14761
|
+
component: "component";
|
|
14762
|
+
}>;
|
|
14763
|
+
resource_name: z.ZodString;
|
|
14764
|
+
file_count: z.ZodNumber;
|
|
14765
|
+
total_bytes: z.ZodNumber;
|
|
14766
|
+
content_digest: z.ZodString;
|
|
14767
|
+
custom_prompt: z.ZodOptional<z.ZodString>;
|
|
14768
|
+
final_routes: z.ZodArray<z.ZodString>;
|
|
14769
|
+
}, z.core.$strict>;
|
|
14770
|
+
transient_resource_input: z.ZodObject<{
|
|
14771
|
+
base_snapshot_id: z.ZodString;
|
|
14772
|
+
operation: z.ZodObject<{
|
|
14773
|
+
id: z.ZodString;
|
|
14774
|
+
siteId: z.ZodUUID;
|
|
14775
|
+
baseSnapshotId: z.ZodUUID;
|
|
14776
|
+
routeId: z.ZodOptional<z.ZodString>;
|
|
14777
|
+
kind: z.ZodEnum<{
|
|
14778
|
+
"insert-child": "insert-child";
|
|
14779
|
+
"update-text": "update-text";
|
|
14780
|
+
"update-array-item": "update-array-item";
|
|
14781
|
+
"remove-node": "remove-node";
|
|
14782
|
+
"move-node": "move-node";
|
|
14783
|
+
"set-class-name-source": "set-class-name-source";
|
|
14784
|
+
"set-props": "set-props";
|
|
14785
|
+
"apply-style-draft": "apply-style-draft";
|
|
14786
|
+
"source-edit": "source-edit";
|
|
14787
|
+
"insert-page-resource": "insert-page-resource";
|
|
14788
|
+
}>;
|
|
14789
|
+
target: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
14790
|
+
kind: z.ZodLiteral<"node">;
|
|
14791
|
+
key: z.ZodString;
|
|
14792
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
14793
|
+
kind: z.ZodLiteral<"page-unit">;
|
|
14794
|
+
routeId: z.ZodString;
|
|
14795
|
+
placementUnitKey: z.ZodString;
|
|
14796
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
14797
|
+
kind: z.ZodLiteral<"route">;
|
|
14798
|
+
routeId: z.ZodString;
|
|
14799
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
14800
|
+
kind: z.ZodLiteral<"source-file">;
|
|
14801
|
+
path: z.ZodString;
|
|
14802
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
14803
|
+
kind: z.ZodLiteral<"source-batch">;
|
|
14804
|
+
paths: z.ZodArray<z.ZodString>;
|
|
14805
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
14806
|
+
kind: z.ZodLiteral<"project">;
|
|
14807
|
+
}, z.core.$strict>], "kind">;
|
|
14808
|
+
documentVersion: z.ZodNumber;
|
|
14809
|
+
selectionRef: z.ZodOptional<z.ZodObject<{
|
|
14810
|
+
key: z.ZodString;
|
|
14811
|
+
instanceIndex: z.ZodOptional<z.ZodNumber>;
|
|
14812
|
+
instanceCount: z.ZodOptional<z.ZodNumber>;
|
|
14813
|
+
}, z.core.$strip>>;
|
|
14814
|
+
mutationContext: z.ZodOptional<z.ZodObject<{
|
|
14815
|
+
editingSessionId: z.ZodString;
|
|
14816
|
+
lockId: z.ZodString;
|
|
14817
|
+
ownerId: z.ZodString;
|
|
14818
|
+
leaseAssertion: z.ZodString;
|
|
14819
|
+
}, z.core.$strict>>;
|
|
14820
|
+
params: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
14821
|
+
kind: z.ZodLiteral<"update-text">;
|
|
14822
|
+
segmentIndex: z.ZodNumber;
|
|
14823
|
+
value: z.ZodString;
|
|
14824
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
14825
|
+
kind: z.ZodLiteral<"update-array-item">;
|
|
14826
|
+
segmentIndex: z.ZodNumber;
|
|
14827
|
+
index: z.ZodNumber;
|
|
14828
|
+
value: z.ZodString;
|
|
14829
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
14830
|
+
kind: z.ZodLiteral<"remove-node">;
|
|
14831
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
14832
|
+
kind: z.ZodLiteral<"insert-child">;
|
|
14833
|
+
node: z.ZodUnion<readonly [z.ZodObject<{
|
|
14834
|
+
kind: z.ZodLiteral<"native-tag">;
|
|
14835
|
+
tag: z.ZodString;
|
|
14836
|
+
text: z.ZodOptional<z.ZodString>;
|
|
14837
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
14838
|
+
kind: z.ZodLiteral<"component-call">;
|
|
14839
|
+
component: z.ZodObject<{
|
|
14840
|
+
source: z.ZodString;
|
|
14841
|
+
exportName: z.ZodString;
|
|
14842
|
+
}, z.core.$strip>;
|
|
14843
|
+
materialization: z.ZodOptional<z.ZodNever>;
|
|
14844
|
+
props: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
14845
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
14846
|
+
kind: z.ZodLiteral<"component-call">;
|
|
14847
|
+
component: z.ZodOptional<z.ZodNever>;
|
|
14848
|
+
materialization: z.ZodObject<{
|
|
14849
|
+
instanceBaseName: z.ZodString;
|
|
14850
|
+
files: z.ZodArray<z.ZodObject<{
|
|
14851
|
+
pathTemplate: z.ZodString;
|
|
14852
|
+
content: z.ZodString;
|
|
14853
|
+
role: z.ZodOptional<z.ZodString>;
|
|
14854
|
+
}, z.core.$strict>>;
|
|
14855
|
+
entry: z.ZodObject<{
|
|
14856
|
+
pathTemplate: z.ZodString;
|
|
14857
|
+
export: z.ZodUnion<readonly [z.ZodObject<{
|
|
14858
|
+
kind: z.ZodLiteral<"default">;
|
|
14859
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
14860
|
+
kind: z.ZodLiteral<"named">;
|
|
14861
|
+
name: z.ZodString;
|
|
14862
|
+
}, z.core.$strict>]>;
|
|
14863
|
+
}, z.core.$strict>;
|
|
14864
|
+
dataRequirements: z.ZodOptional<z.ZodArray<z.ZodNever>>;
|
|
14865
|
+
}, z.core.$strict>;
|
|
14866
|
+
props: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNever>>;
|
|
14867
|
+
}, z.core.$strict>]>;
|
|
14868
|
+
position: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject<{
|
|
14869
|
+
relation: z.ZodEnum<{
|
|
14870
|
+
before: "before";
|
|
14871
|
+
after: "after";
|
|
14872
|
+
}>;
|
|
14873
|
+
anchorKey: z.ZodString;
|
|
14874
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
14875
|
+
relation: z.ZodEnum<{
|
|
14876
|
+
prepend: "prepend";
|
|
14877
|
+
append: "append";
|
|
14878
|
+
}>;
|
|
14879
|
+
parentKey: z.ZodString;
|
|
14880
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
14881
|
+
kind: z.ZodLiteral<"page-composition">;
|
|
14882
|
+
placementKey: z.ZodString;
|
|
14883
|
+
documentVersion: z.ZodNumber;
|
|
14884
|
+
routeId: z.ZodString;
|
|
14885
|
+
placementUnitKey: z.ZodString;
|
|
14886
|
+
relation: z.ZodEnum<{
|
|
14887
|
+
before: "before";
|
|
14888
|
+
after: "after";
|
|
14889
|
+
prepend: "prepend";
|
|
14890
|
+
append: "append";
|
|
14891
|
+
}>;
|
|
14892
|
+
}, z.core.$strict>]>, z.ZodObject<{
|
|
14893
|
+
kind: z.ZodLiteral<"page-composition">;
|
|
14894
|
+
placementKey: z.ZodString;
|
|
14895
|
+
documentVersion: z.ZodNumber;
|
|
14896
|
+
}, z.core.$strict>]>;
|
|
14897
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
14898
|
+
kind: z.ZodLiteral<"move-node">;
|
|
14899
|
+
target: z.ZodUnion<readonly [z.ZodObject<{
|
|
14900
|
+
relation: z.ZodEnum<{
|
|
14901
|
+
before: "before";
|
|
14902
|
+
after: "after";
|
|
14903
|
+
}>;
|
|
14904
|
+
anchorKey: z.ZodString;
|
|
14905
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
14906
|
+
relation: z.ZodEnum<{
|
|
14907
|
+
prepend: "prepend";
|
|
14908
|
+
append: "append";
|
|
14909
|
+
}>;
|
|
14910
|
+
parentKey: z.ZodString;
|
|
14911
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
14912
|
+
kind: z.ZodLiteral<"page-composition">;
|
|
14913
|
+
placementKey: z.ZodString;
|
|
14914
|
+
documentVersion: z.ZodNumber;
|
|
14915
|
+
routeId: z.ZodString;
|
|
14916
|
+
placementUnitKey: z.ZodString;
|
|
14917
|
+
relation: z.ZodEnum<{
|
|
14918
|
+
before: "before";
|
|
14919
|
+
after: "after";
|
|
14920
|
+
prepend: "prepend";
|
|
14921
|
+
append: "append";
|
|
14922
|
+
}>;
|
|
14923
|
+
}, z.core.$strict>]>;
|
|
14924
|
+
preserveBindings: z.ZodOptional<z.ZodBoolean>;
|
|
14925
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
14926
|
+
kind: z.ZodLiteral<"set-class-name-source">;
|
|
14927
|
+
routeId: z.ZodOptional<z.ZodString>;
|
|
14928
|
+
filePath: z.ZodString;
|
|
14929
|
+
expectedVersion: z.ZodObject<{
|
|
14930
|
+
documentVersion: z.ZodNumber;
|
|
14931
|
+
contentHash: z.ZodString;
|
|
14932
|
+
}, z.core.$strip>;
|
|
14933
|
+
oldAttrRaw: z.ZodNullable<z.ZodString>;
|
|
14934
|
+
oldAttrRange: z.ZodNullable<z.ZodObject<{
|
|
14935
|
+
start: z.ZodNumber;
|
|
14936
|
+
end: z.ZodNumber;
|
|
14937
|
+
}, z.core.$strip>>;
|
|
14938
|
+
openingElementRange: z.ZodObject<{
|
|
14939
|
+
start: z.ZodNumber;
|
|
14940
|
+
end: z.ZodNumber;
|
|
14941
|
+
}, z.core.$strip>;
|
|
14942
|
+
newAttrRaw: z.ZodNullable<z.ZodString>;
|
|
14943
|
+
intent: z.ZodObject<{
|
|
14944
|
+
source: z.ZodEnum<{
|
|
14945
|
+
"style-panel": "style-panel";
|
|
14946
|
+
"class-source-editor": "class-source-editor";
|
|
14947
|
+
}>;
|
|
14948
|
+
operation: z.ZodEnum<{
|
|
14949
|
+
"replace-static-classname": "replace-static-classname";
|
|
14950
|
+
"replace-expression": "replace-expression";
|
|
14951
|
+
"create-attribute": "create-attribute";
|
|
14952
|
+
"remove-attribute": "remove-attribute";
|
|
14953
|
+
}>;
|
|
14954
|
+
}, z.core.$strip>;
|
|
14955
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
14956
|
+
kind: z.ZodLiteral<"set-props">;
|
|
14957
|
+
props: z.ZodRecord<z.ZodEnum<{
|
|
14958
|
+
src: "src";
|
|
14959
|
+
alt: "alt";
|
|
14960
|
+
poster: "poster";
|
|
14961
|
+
href: "href";
|
|
14962
|
+
width: "width";
|
|
14963
|
+
height: "height";
|
|
14964
|
+
}> & z.core.$partial, z.ZodString>;
|
|
14965
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
14966
|
+
kind: z.ZodLiteral<"apply-style-draft">;
|
|
14967
|
+
className: z.ZodOptional<z.ZodObject<{
|
|
14968
|
+
routeId: z.ZodOptional<z.ZodString>;
|
|
14969
|
+
filePath: z.ZodString;
|
|
14970
|
+
expectedVersion: z.ZodObject<{
|
|
14971
|
+
documentVersion: z.ZodNumber;
|
|
14972
|
+
contentHash: z.ZodString;
|
|
14973
|
+
}, z.core.$strip>;
|
|
14974
|
+
oldAttrRaw: z.ZodNullable<z.ZodString>;
|
|
14975
|
+
oldAttrRange: z.ZodNullable<z.ZodObject<{
|
|
14976
|
+
start: z.ZodNumber;
|
|
14977
|
+
end: z.ZodNumber;
|
|
14978
|
+
}, z.core.$strip>>;
|
|
14979
|
+
openingElementRange: z.ZodObject<{
|
|
14980
|
+
start: z.ZodNumber;
|
|
14981
|
+
end: z.ZodNumber;
|
|
14982
|
+
}, z.core.$strip>;
|
|
14983
|
+
newAttrRaw: z.ZodNullable<z.ZodString>;
|
|
14984
|
+
intent: z.ZodObject<{
|
|
14985
|
+
source: z.ZodEnum<{
|
|
14986
|
+
"style-panel": "style-panel";
|
|
14987
|
+
"class-source-editor": "class-source-editor";
|
|
14988
|
+
}>;
|
|
14989
|
+
operation: z.ZodEnum<{
|
|
14990
|
+
"replace-static-classname": "replace-static-classname";
|
|
14991
|
+
"replace-expression": "replace-expression";
|
|
14992
|
+
"create-attribute": "create-attribute";
|
|
14993
|
+
"remove-attribute": "remove-attribute";
|
|
14994
|
+
}>;
|
|
14995
|
+
}, z.core.$strip>;
|
|
14996
|
+
}, z.core.$strip>>;
|
|
14997
|
+
props: z.ZodOptional<z.ZodRecord<z.ZodEnum<{
|
|
14998
|
+
src: "src";
|
|
14999
|
+
alt: "alt";
|
|
15000
|
+
poster: "poster";
|
|
15001
|
+
href: "href";
|
|
15002
|
+
width: "width";
|
|
15003
|
+
height: "height";
|
|
15004
|
+
}> & z.core.$partial, z.ZodString>>;
|
|
15005
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
15006
|
+
kind: z.ZodLiteral<"source-edit">;
|
|
15007
|
+
conflictPolicy: z.ZodEnum<{
|
|
15008
|
+
"compare-and-swap": "compare-and-swap";
|
|
15009
|
+
overwrite: "overwrite";
|
|
15010
|
+
}>;
|
|
15011
|
+
edits: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
15012
|
+
operation: z.ZodLiteral<"upsert">;
|
|
15013
|
+
path: z.ZodString;
|
|
15014
|
+
content: z.ZodString;
|
|
15015
|
+
baseContentHash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15016
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
15017
|
+
operation: z.ZodLiteral<"delete">;
|
|
15018
|
+
path: z.ZodString;
|
|
15019
|
+
capability: z.ZodLiteral<"source-delete">;
|
|
15020
|
+
confirmDelete: z.ZodLiteral<true>;
|
|
15021
|
+
confirmPath: z.ZodString;
|
|
15022
|
+
baseContentHash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15023
|
+
}, z.core.$strict>], "operation">>;
|
|
15024
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
15025
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
15026
|
+
kind: z.ZodLiteral<"insert-page-resource">;
|
|
15027
|
+
artifact: z.ZodObject<{
|
|
15028
|
+
resource_id: z.ZodString;
|
|
15029
|
+
resource_type: z.ZodEnum<{
|
|
15030
|
+
page: "page";
|
|
15031
|
+
pages: "pages";
|
|
15032
|
+
}>;
|
|
15033
|
+
resolved_version: z.ZodString;
|
|
15034
|
+
revision_id: z.ZodString;
|
|
15035
|
+
digest_sha256: z.ZodString;
|
|
15036
|
+
components: z.ZodArray<z.ZodObject<{
|
|
15037
|
+
component_id: z.ZodString;
|
|
15038
|
+
materialization: z.ZodObject<{
|
|
15039
|
+
instanceBaseName: z.ZodString;
|
|
15040
|
+
files: z.ZodArray<z.ZodObject<{
|
|
15041
|
+
pathTemplate: z.ZodString;
|
|
15042
|
+
content: z.ZodString;
|
|
15043
|
+
role: z.ZodOptional<z.ZodString>;
|
|
15044
|
+
}, z.core.$strict>>;
|
|
15045
|
+
entry: z.ZodObject<{
|
|
15046
|
+
pathTemplate: z.ZodString;
|
|
15047
|
+
export: z.ZodUnion<readonly [z.ZodObject<{
|
|
15048
|
+
kind: z.ZodLiteral<"default">;
|
|
15049
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
15050
|
+
kind: z.ZodLiteral<"named">;
|
|
15051
|
+
name: z.ZodString;
|
|
15052
|
+
}, z.core.$strict>]>;
|
|
15053
|
+
}, z.core.$strict>;
|
|
15054
|
+
dataRequirements: z.ZodOptional<z.ZodArray<z.ZodNever>>;
|
|
15055
|
+
}, z.core.$strict>;
|
|
15056
|
+
}, z.core.$strict>>;
|
|
15057
|
+
pages: z.ZodArray<z.ZodObject<{
|
|
15058
|
+
template_page_id: z.ZodString;
|
|
15059
|
+
title: z.ZodString;
|
|
15060
|
+
final_route: z.ZodString;
|
|
15061
|
+
materialization: z.ZodObject<{
|
|
15062
|
+
instanceBaseName: z.ZodString;
|
|
15063
|
+
files: z.ZodArray<z.ZodObject<{
|
|
15064
|
+
pathTemplate: z.ZodString;
|
|
15065
|
+
content: z.ZodString;
|
|
15066
|
+
role: z.ZodOptional<z.ZodString>;
|
|
15067
|
+
}, z.core.$strict>>;
|
|
15068
|
+
entry: z.ZodObject<{
|
|
15069
|
+
pathTemplate: z.ZodString;
|
|
15070
|
+
export: z.ZodUnion<readonly [z.ZodObject<{
|
|
15071
|
+
kind: z.ZodLiteral<"default">;
|
|
15072
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
15073
|
+
kind: z.ZodLiteral<"named">;
|
|
15074
|
+
name: z.ZodString;
|
|
15075
|
+
}, z.core.$strict>]>;
|
|
15076
|
+
}, z.core.$strict>;
|
|
15077
|
+
dataRequirements: z.ZodOptional<z.ZodArray<z.ZodNever>>;
|
|
15078
|
+
}, z.core.$strict>;
|
|
15079
|
+
components: z.ZodArray<z.ZodObject<{
|
|
15080
|
+
instance_id: z.ZodString;
|
|
15081
|
+
component_id: z.ZodString;
|
|
15082
|
+
}, z.core.$strict>>;
|
|
15083
|
+
}, z.core.$strict>>;
|
|
15084
|
+
project_dependencies: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNever>>;
|
|
15085
|
+
}, z.core.$strict>;
|
|
15086
|
+
}, z.core.$strict>], "kind">;
|
|
15087
|
+
}, z.core.$strip>;
|
|
15088
|
+
navigation_selection: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
15089
|
+
kind: z.ZodLiteral<"none">;
|
|
15090
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
15091
|
+
kind: z.ZodLiteral<"primary">;
|
|
15092
|
+
items: z.ZodArray<z.ZodObject<{
|
|
15093
|
+
label: z.ZodString;
|
|
15094
|
+
href: z.ZodString;
|
|
15095
|
+
}, z.core.$strict>>;
|
|
15096
|
+
}, z.core.$strict>], "kind">>;
|
|
15097
|
+
}, z.core.$strict>;
|
|
15098
|
+
}, z.core.$strict>;
|
|
15099
|
+
}, z.core.$strict>], "type">, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
15100
|
+
id: z.ZodString;
|
|
15101
|
+
tenant_id: z.ZodString;
|
|
15102
|
+
site_id: z.ZodUUID;
|
|
15103
|
+
run_id: z.ZodOptional<z.ZodUUID>;
|
|
15104
|
+
correlation_id: z.ZodOptional<z.ZodString>;
|
|
14381
15105
|
seq: z.ZodOptional<z.ZodNumber>;
|
|
14382
15106
|
sent_at: z.ZodString;
|
|
14383
15107
|
type: z.ZodLiteral<"server.run.started">;
|
|
14384
15108
|
payload: z.ZodObject<{
|
|
14385
|
-
run_id: z.
|
|
15109
|
+
run_id: z.ZodUUID;
|
|
14386
15110
|
agent_type: z.ZodLiteral<"workspace">;
|
|
14387
15111
|
}, z.core.$strip>;
|
|
14388
15112
|
}, z.core.$strip>, z.ZodObject<{
|
|
14389
15113
|
id: z.ZodString;
|
|
14390
15114
|
tenant_id: z.ZodString;
|
|
14391
|
-
site_id: z.
|
|
14392
|
-
run_id: z.ZodOptional<z.
|
|
15115
|
+
site_id: z.ZodUUID;
|
|
15116
|
+
run_id: z.ZodOptional<z.ZodUUID>;
|
|
14393
15117
|
correlation_id: z.ZodOptional<z.ZodString>;
|
|
14394
15118
|
seq: z.ZodOptional<z.ZodNumber>;
|
|
14395
15119
|
sent_at: z.ZodString;
|
|
@@ -14457,8 +15181,8 @@ export declare const WorkspaceWebSocketMessageSchema: z.ZodUnion<readonly [z.Zod
|
|
|
14457
15181
|
}, z.core.$strip>, z.ZodObject<{
|
|
14458
15182
|
id: z.ZodString;
|
|
14459
15183
|
tenant_id: z.ZodString;
|
|
14460
|
-
site_id: z.
|
|
14461
|
-
run_id: z.ZodOptional<z.
|
|
15184
|
+
site_id: z.ZodUUID;
|
|
15185
|
+
run_id: z.ZodOptional<z.ZodUUID>;
|
|
14462
15186
|
correlation_id: z.ZodOptional<z.ZodString>;
|
|
14463
15187
|
seq: z.ZodOptional<z.ZodNumber>;
|
|
14464
15188
|
sent_at: z.ZodString;
|
|
@@ -14528,8 +15252,8 @@ export declare const WorkspaceWebSocketMessageSchema: z.ZodUnion<readonly [z.Zod
|
|
|
14528
15252
|
}, z.core.$strip>, z.ZodObject<{
|
|
14529
15253
|
id: z.ZodString;
|
|
14530
15254
|
tenant_id: z.ZodString;
|
|
14531
|
-
site_id: z.
|
|
14532
|
-
run_id: z.ZodOptional<z.
|
|
15255
|
+
site_id: z.ZodUUID;
|
|
15256
|
+
run_id: z.ZodOptional<z.ZodUUID>;
|
|
14533
15257
|
correlation_id: z.ZodOptional<z.ZodString>;
|
|
14534
15258
|
seq: z.ZodOptional<z.ZodNumber>;
|
|
14535
15259
|
sent_at: z.ZodString;
|
|
@@ -14542,8 +15266,8 @@ export declare const WorkspaceWebSocketMessageSchema: z.ZodUnion<readonly [z.Zod
|
|
|
14542
15266
|
}, z.core.$strip>, z.ZodObject<{
|
|
14543
15267
|
id: z.ZodString;
|
|
14544
15268
|
tenant_id: z.ZodString;
|
|
14545
|
-
site_id: z.
|
|
14546
|
-
run_id: z.ZodOptional<z.
|
|
15269
|
+
site_id: z.ZodUUID;
|
|
15270
|
+
run_id: z.ZodOptional<z.ZodUUID>;
|
|
14547
15271
|
correlation_id: z.ZodOptional<z.ZodString>;
|
|
14548
15272
|
seq: z.ZodOptional<z.ZodNumber>;
|
|
14549
15273
|
sent_at: z.ZodString;
|
|
@@ -14556,8 +15280,8 @@ export declare const WorkspaceWebSocketMessageSchema: z.ZodUnion<readonly [z.Zod
|
|
|
14556
15280
|
}, z.core.$strip>, z.ZodObject<{
|
|
14557
15281
|
id: z.ZodString;
|
|
14558
15282
|
tenant_id: z.ZodString;
|
|
14559
|
-
site_id: z.
|
|
14560
|
-
run_id: z.ZodOptional<z.
|
|
15283
|
+
site_id: z.ZodUUID;
|
|
15284
|
+
run_id: z.ZodOptional<z.ZodUUID>;
|
|
14561
15285
|
correlation_id: z.ZodOptional<z.ZodString>;
|
|
14562
15286
|
seq: z.ZodOptional<z.ZodNumber>;
|
|
14563
15287
|
sent_at: z.ZodString;
|
|
@@ -14573,13 +15297,13 @@ export declare const WorkspaceWebSocketMessageSchema: z.ZodUnion<readonly [z.Zod
|
|
|
14573
15297
|
mixed: "mixed";
|
|
14574
15298
|
advisor: "advisor";
|
|
14575
15299
|
}>;
|
|
14576
|
-
run_id: z.
|
|
15300
|
+
run_id: z.ZodUUID;
|
|
14577
15301
|
}, z.core.$strict>;
|
|
14578
15302
|
}, z.core.$strip>, z.ZodObject<{
|
|
14579
15303
|
id: z.ZodString;
|
|
14580
15304
|
tenant_id: z.ZodString;
|
|
14581
|
-
site_id: z.
|
|
14582
|
-
run_id: z.ZodOptional<z.
|
|
15305
|
+
site_id: z.ZodUUID;
|
|
15306
|
+
run_id: z.ZodOptional<z.ZodUUID>;
|
|
14583
15307
|
correlation_id: z.ZodOptional<z.ZodString>;
|
|
14584
15308
|
seq: z.ZodOptional<z.ZodNumber>;
|
|
14585
15309
|
sent_at: z.ZodString;
|
|
@@ -14678,8 +15402,8 @@ export declare const WorkspaceWebSocketMessageSchema: z.ZodUnion<readonly [z.Zod
|
|
|
14678
15402
|
}, z.core.$strip>, z.ZodObject<{
|
|
14679
15403
|
id: z.ZodString;
|
|
14680
15404
|
tenant_id: z.ZodString;
|
|
14681
|
-
site_id: z.
|
|
14682
|
-
run_id: z.ZodOptional<z.
|
|
15405
|
+
site_id: z.ZodUUID;
|
|
15406
|
+
run_id: z.ZodOptional<z.ZodUUID>;
|
|
14683
15407
|
correlation_id: z.ZodOptional<z.ZodString>;
|
|
14684
15408
|
seq: z.ZodOptional<z.ZodNumber>;
|
|
14685
15409
|
sent_at: z.ZodString;
|
|
@@ -14720,8 +15444,8 @@ export declare const WorkspaceWebSocketMessageSchema: z.ZodUnion<readonly [z.Zod
|
|
|
14720
15444
|
}, z.core.$strip>, z.ZodObject<{
|
|
14721
15445
|
id: z.ZodString;
|
|
14722
15446
|
tenant_id: z.ZodString;
|
|
14723
|
-
site_id: z.
|
|
14724
|
-
run_id: z.ZodOptional<z.
|
|
15447
|
+
site_id: z.ZodUUID;
|
|
15448
|
+
run_id: z.ZodOptional<z.ZodUUID>;
|
|
14725
15449
|
correlation_id: z.ZodOptional<z.ZodString>;
|
|
14726
15450
|
seq: z.ZodOptional<z.ZodNumber>;
|
|
14727
15451
|
sent_at: z.ZodString;
|
|
@@ -14751,8 +15475,8 @@ export declare const WorkspaceWebSocketMessageSchema: z.ZodUnion<readonly [z.Zod
|
|
|
14751
15475
|
}, z.core.$strip>, z.ZodObject<{
|
|
14752
15476
|
id: z.ZodString;
|
|
14753
15477
|
tenant_id: z.ZodString;
|
|
14754
|
-
site_id: z.
|
|
14755
|
-
run_id: z.ZodOptional<z.
|
|
15478
|
+
site_id: z.ZodUUID;
|
|
15479
|
+
run_id: z.ZodOptional<z.ZodUUID>;
|
|
14756
15480
|
correlation_id: z.ZodOptional<z.ZodString>;
|
|
14757
15481
|
seq: z.ZodOptional<z.ZodNumber>;
|
|
14758
15482
|
sent_at: z.ZodString;
|
|
@@ -14765,47 +15489,47 @@ export declare const WorkspaceWebSocketMessageSchema: z.ZodUnion<readonly [z.Zod
|
|
|
14765
15489
|
}, z.core.$strip>, z.ZodObject<{
|
|
14766
15490
|
id: z.ZodString;
|
|
14767
15491
|
tenant_id: z.ZodString;
|
|
14768
|
-
site_id: z.
|
|
14769
|
-
run_id: z.ZodOptional<z.
|
|
15492
|
+
site_id: z.ZodUUID;
|
|
15493
|
+
run_id: z.ZodOptional<z.ZodUUID>;
|
|
14770
15494
|
correlation_id: z.ZodOptional<z.ZodString>;
|
|
14771
15495
|
seq: z.ZodOptional<z.ZodNumber>;
|
|
14772
15496
|
sent_at: z.ZodString;
|
|
14773
15497
|
type: z.ZodLiteral<"server.sitemap.updated">;
|
|
14774
15498
|
payload: z.ZodObject<{
|
|
14775
|
-
sitemap_id: z.
|
|
15499
|
+
sitemap_id: z.ZodUUID;
|
|
14776
15500
|
version: z.ZodNumber;
|
|
14777
15501
|
reason: z.ZodString;
|
|
14778
15502
|
}, z.core.$strip>;
|
|
14779
15503
|
}, z.core.$strip>, z.ZodObject<{
|
|
14780
15504
|
id: z.ZodString;
|
|
14781
15505
|
tenant_id: z.ZodString;
|
|
14782
|
-
site_id: z.
|
|
14783
|
-
run_id: z.ZodOptional<z.
|
|
15506
|
+
site_id: z.ZodUUID;
|
|
15507
|
+
run_id: z.ZodOptional<z.ZodUUID>;
|
|
14784
15508
|
correlation_id: z.ZodOptional<z.ZodString>;
|
|
14785
15509
|
seq: z.ZodOptional<z.ZodNumber>;
|
|
14786
15510
|
sent_at: z.ZodString;
|
|
14787
15511
|
type: z.ZodLiteral<"server.snapshot.created">;
|
|
14788
15512
|
payload: z.ZodObject<{
|
|
14789
|
-
snapshot_id: z.
|
|
15513
|
+
snapshot_id: z.ZodUUID;
|
|
14790
15514
|
manifest_hash: z.ZodString;
|
|
14791
15515
|
}, z.core.$strip>;
|
|
14792
15516
|
}, z.core.$strip>, z.ZodObject<{
|
|
14793
15517
|
id: z.ZodString;
|
|
14794
15518
|
tenant_id: z.ZodString;
|
|
14795
|
-
site_id: z.
|
|
14796
|
-
run_id: z.ZodOptional<z.
|
|
15519
|
+
site_id: z.ZodUUID;
|
|
15520
|
+
run_id: z.ZodOptional<z.ZodUUID>;
|
|
14797
15521
|
correlation_id: z.ZodOptional<z.ZodString>;
|
|
14798
15522
|
seq: z.ZodOptional<z.ZodNumber>;
|
|
14799
15523
|
sent_at: z.ZodString;
|
|
14800
15524
|
type: z.ZodLiteral<"server.snapshot.finalized">;
|
|
14801
15525
|
payload: z.ZodObject<{
|
|
14802
|
-
snapshot_id: z.
|
|
15526
|
+
snapshot_id: z.ZodUUID;
|
|
14803
15527
|
}, z.core.$strip>;
|
|
14804
15528
|
}, z.core.$strip>, z.ZodObject<{
|
|
14805
15529
|
id: z.ZodString;
|
|
14806
15530
|
tenant_id: z.ZodString;
|
|
14807
|
-
site_id: z.
|
|
14808
|
-
run_id: z.ZodOptional<z.
|
|
15531
|
+
site_id: z.ZodUUID;
|
|
15532
|
+
run_id: z.ZodOptional<z.ZodUUID>;
|
|
14809
15533
|
correlation_id: z.ZodOptional<z.ZodString>;
|
|
14810
15534
|
seq: z.ZodOptional<z.ZodNumber>;
|
|
14811
15535
|
sent_at: z.ZodString;
|
|
@@ -14817,38 +15541,38 @@ export declare const WorkspaceWebSocketMessageSchema: z.ZodUnion<readonly [z.Zod
|
|
|
14817
15541
|
}, z.core.$strip>, z.ZodObject<{
|
|
14818
15542
|
id: z.ZodString;
|
|
14819
15543
|
tenant_id: z.ZodString;
|
|
14820
|
-
site_id: z.
|
|
14821
|
-
run_id: z.ZodOptional<z.
|
|
15544
|
+
site_id: z.ZodUUID;
|
|
15545
|
+
run_id: z.ZodOptional<z.ZodUUID>;
|
|
14822
15546
|
correlation_id: z.ZodOptional<z.ZodString>;
|
|
14823
15547
|
seq: z.ZodOptional<z.ZodNumber>;
|
|
14824
15548
|
sent_at: z.ZodString;
|
|
14825
15549
|
type: z.ZodLiteral<"preview.build.started">;
|
|
14826
15550
|
payload: z.ZodObject<{
|
|
14827
|
-
snapshot_id: z.
|
|
15551
|
+
snapshot_id: z.ZodUUID;
|
|
14828
15552
|
}, z.core.$strip>;
|
|
14829
15553
|
}, z.core.$strip>, z.ZodObject<{
|
|
14830
15554
|
id: z.ZodString;
|
|
14831
15555
|
tenant_id: z.ZodString;
|
|
14832
|
-
site_id: z.
|
|
14833
|
-
run_id: z.ZodOptional<z.
|
|
15556
|
+
site_id: z.ZodUUID;
|
|
15557
|
+
run_id: z.ZodOptional<z.ZodUUID>;
|
|
14834
15558
|
correlation_id: z.ZodOptional<z.ZodString>;
|
|
14835
15559
|
seq: z.ZodOptional<z.ZodNumber>;
|
|
14836
15560
|
sent_at: z.ZodString;
|
|
14837
15561
|
type: z.ZodLiteral<"preview.build.succeeded">;
|
|
14838
15562
|
payload: z.ZodObject<{
|
|
14839
|
-
snapshot_id: z.
|
|
15563
|
+
snapshot_id: z.ZodUUID;
|
|
14840
15564
|
}, z.core.$strip>;
|
|
14841
15565
|
}, z.core.$strip>, z.ZodObject<{
|
|
14842
15566
|
id: z.ZodString;
|
|
14843
15567
|
tenant_id: z.ZodString;
|
|
14844
|
-
site_id: z.
|
|
14845
|
-
run_id: z.ZodOptional<z.
|
|
15568
|
+
site_id: z.ZodUUID;
|
|
15569
|
+
run_id: z.ZodOptional<z.ZodUUID>;
|
|
14846
15570
|
correlation_id: z.ZodOptional<z.ZodString>;
|
|
14847
15571
|
seq: z.ZodOptional<z.ZodNumber>;
|
|
14848
15572
|
sent_at: z.ZodString;
|
|
14849
15573
|
type: z.ZodLiteral<"preview.build.failed">;
|
|
14850
15574
|
payload: z.ZodObject<{
|
|
14851
|
-
snapshot_id: z.
|
|
15575
|
+
snapshot_id: z.ZodUUID;
|
|
14852
15576
|
message: z.ZodString;
|
|
14853
15577
|
diagnostics: z.ZodString;
|
|
14854
15578
|
retryable: z.ZodBoolean;
|
|
@@ -14856,27 +15580,27 @@ export declare const WorkspaceWebSocketMessageSchema: z.ZodUnion<readonly [z.Zod
|
|
|
14856
15580
|
}, z.core.$strip>, z.ZodObject<{
|
|
14857
15581
|
id: z.ZodString;
|
|
14858
15582
|
tenant_id: z.ZodString;
|
|
14859
|
-
site_id: z.
|
|
14860
|
-
run_id: z.ZodOptional<z.
|
|
15583
|
+
site_id: z.ZodUUID;
|
|
15584
|
+
run_id: z.ZodOptional<z.ZodUUID>;
|
|
14861
15585
|
correlation_id: z.ZodOptional<z.ZodString>;
|
|
14862
15586
|
seq: z.ZodOptional<z.ZodNumber>;
|
|
14863
15587
|
sent_at: z.ZodString;
|
|
14864
15588
|
type: z.ZodLiteral<"server.run.finished">;
|
|
14865
15589
|
payload: z.ZodObject<{
|
|
14866
|
-
run_id: z.
|
|
14867
|
-
snapshot_id: z.
|
|
15590
|
+
run_id: z.ZodUUID;
|
|
15591
|
+
snapshot_id: z.ZodUUID;
|
|
14868
15592
|
}, z.core.$strip>;
|
|
14869
15593
|
}, z.core.$strip>, z.ZodObject<{
|
|
14870
15594
|
id: z.ZodString;
|
|
14871
15595
|
tenant_id: z.ZodString;
|
|
14872
|
-
site_id: z.
|
|
14873
|
-
run_id: z.ZodOptional<z.
|
|
15596
|
+
site_id: z.ZodUUID;
|
|
15597
|
+
run_id: z.ZodOptional<z.ZodUUID>;
|
|
14874
15598
|
correlation_id: z.ZodOptional<z.ZodString>;
|
|
14875
15599
|
seq: z.ZodOptional<z.ZodNumber>;
|
|
14876
15600
|
sent_at: z.ZodString;
|
|
14877
15601
|
type: z.ZodLiteral<"server.run.failed">;
|
|
14878
15602
|
payload: z.ZodObject<{
|
|
14879
|
-
run_id: z.
|
|
15603
|
+
run_id: z.ZodUUID;
|
|
14880
15604
|
error_code: z.ZodString;
|
|
14881
15605
|
message: z.ZodString;
|
|
14882
15606
|
retryable: z.ZodBoolean;
|
|
@@ -14885,8 +15609,8 @@ export declare const WorkspaceWebSocketMessageSchema: z.ZodUnion<readonly [z.Zod
|
|
|
14885
15609
|
}, z.core.$strip>, z.ZodObject<{
|
|
14886
15610
|
id: z.ZodString;
|
|
14887
15611
|
tenant_id: z.ZodString;
|
|
14888
|
-
site_id: z.
|
|
14889
|
-
run_id: z.ZodOptional<z.
|
|
15612
|
+
site_id: z.ZodUUID;
|
|
15613
|
+
run_id: z.ZodOptional<z.ZodUUID>;
|
|
14890
15614
|
correlation_id: z.ZodOptional<z.ZodString>;
|
|
14891
15615
|
seq: z.ZodOptional<z.ZodNumber>;
|
|
14892
15616
|
sent_at: z.ZodString;
|
|
@@ -14899,8 +15623,8 @@ export declare const WorkspaceWebSocketMessageSchema: z.ZodUnion<readonly [z.Zod
|
|
|
14899
15623
|
}, z.core.$strip>, z.ZodObject<{
|
|
14900
15624
|
id: z.ZodString;
|
|
14901
15625
|
tenant_id: z.ZodString;
|
|
14902
|
-
site_id: z.
|
|
14903
|
-
run_id: z.ZodOptional<z.
|
|
15626
|
+
site_id: z.ZodUUID;
|
|
15627
|
+
run_id: z.ZodOptional<z.ZodUUID>;
|
|
14904
15628
|
correlation_id: z.ZodOptional<z.ZodString>;
|
|
14905
15629
|
seq: z.ZodOptional<z.ZodNumber>;
|
|
14906
15630
|
sent_at: z.ZodString;
|
|
@@ -14934,8 +15658,8 @@ export declare const WorkspaceWebSocketMessageSchema: z.ZodUnion<readonly [z.Zod
|
|
|
14934
15658
|
}, z.core.$strip>, z.ZodObject<{
|
|
14935
15659
|
id: z.ZodString;
|
|
14936
15660
|
tenant_id: z.ZodString;
|
|
14937
|
-
site_id: z.
|
|
14938
|
-
run_id: z.ZodOptional<z.
|
|
15661
|
+
site_id: z.ZodUUID;
|
|
15662
|
+
run_id: z.ZodOptional<z.ZodUUID>;
|
|
14939
15663
|
correlation_id: z.ZodOptional<z.ZodString>;
|
|
14940
15664
|
seq: z.ZodOptional<z.ZodNumber>;
|
|
14941
15665
|
sent_at: z.ZodString;
|
|
@@ -14960,8 +15684,8 @@ export declare const WorkspaceWebSocketMessageSchema: z.ZodUnion<readonly [z.Zod
|
|
|
14960
15684
|
}, z.core.$strip>, z.ZodObject<{
|
|
14961
15685
|
id: z.ZodString;
|
|
14962
15686
|
tenant_id: z.ZodString;
|
|
14963
|
-
site_id: z.
|
|
14964
|
-
run_id: z.ZodOptional<z.
|
|
15687
|
+
site_id: z.ZodUUID;
|
|
15688
|
+
run_id: z.ZodOptional<z.ZodUUID>;
|
|
14965
15689
|
correlation_id: z.ZodOptional<z.ZodString>;
|
|
14966
15690
|
seq: z.ZodOptional<z.ZodNumber>;
|
|
14967
15691
|
sent_at: z.ZodString;
|
|
@@ -14972,8 +15696,8 @@ export declare const WorkspaceWebSocketMessageSchema: z.ZodUnion<readonly [z.Zod
|
|
|
14972
15696
|
}, z.core.$strip>, z.ZodObject<{
|
|
14973
15697
|
id: z.ZodString;
|
|
14974
15698
|
tenant_id: z.ZodString;
|
|
14975
|
-
site_id: z.
|
|
14976
|
-
run_id: z.ZodOptional<z.
|
|
15699
|
+
site_id: z.ZodUUID;
|
|
15700
|
+
run_id: z.ZodOptional<z.ZodUUID>;
|
|
14977
15701
|
correlation_id: z.ZodOptional<z.ZodString>;
|
|
14978
15702
|
seq: z.ZodOptional<z.ZodNumber>;
|
|
14979
15703
|
sent_at: z.ZodString;
|
|
@@ -15046,8 +15770,8 @@ export declare const ApplyPatchBatchPatchSchema: z.ZodObject<{
|
|
|
15046
15770
|
export declare const MediaRequestOwnerSchema: z.ZodObject<{
|
|
15047
15771
|
kind: z.ZodEnum<{
|
|
15048
15772
|
page: "page";
|
|
15049
|
-
site: "site";
|
|
15050
15773
|
block: "block";
|
|
15774
|
+
site: "site";
|
|
15051
15775
|
chrome: "chrome";
|
|
15052
15776
|
}>;
|
|
15053
15777
|
id: z.ZodString;
|
|
@@ -15058,8 +15782,8 @@ export declare const WorkspaceMediaRequestSchema: z.ZodObject<{
|
|
|
15058
15782
|
owner: z.ZodObject<{
|
|
15059
15783
|
kind: z.ZodEnum<{
|
|
15060
15784
|
page: "page";
|
|
15061
|
-
site: "site";
|
|
15062
15785
|
block: "block";
|
|
15786
|
+
site: "site";
|
|
15063
15787
|
chrome: "chrome";
|
|
15064
15788
|
}>;
|
|
15065
15789
|
id: z.ZodString;
|
|
@@ -15086,8 +15810,8 @@ export declare const WorkspaceMediaRequestSchema: z.ZodObject<{
|
|
|
15086
15810
|
}, z.core.$strip>;
|
|
15087
15811
|
export type WorkspaceMediaRequest = z.infer<typeof WorkspaceMediaRequestSchema>;
|
|
15088
15812
|
export declare const ApplyPatchBatchInputSchema: z.ZodObject<{
|
|
15089
|
-
site_id: z.
|
|
15090
|
-
base_snapshot_id: z.
|
|
15813
|
+
site_id: z.ZodUUID;
|
|
15814
|
+
base_snapshot_id: z.ZodUUID;
|
|
15091
15815
|
reason: z.ZodString;
|
|
15092
15816
|
patches: z.ZodArray<z.ZodObject<{
|
|
15093
15817
|
path: z.ZodString;
|
|
@@ -15110,8 +15834,8 @@ export declare const ApplyPatchBatchInputSchema: z.ZodObject<{
|
|
|
15110
15834
|
owner: z.ZodObject<{
|
|
15111
15835
|
kind: z.ZodEnum<{
|
|
15112
15836
|
page: "page";
|
|
15113
|
-
site: "site";
|
|
15114
15837
|
block: "block";
|
|
15838
|
+
site: "site";
|
|
15115
15839
|
chrome: "chrome";
|
|
15116
15840
|
}>;
|
|
15117
15841
|
id: z.ZodString;
|
|
@@ -15173,8 +15897,8 @@ export declare const ApplyPatchBatchToolInputSchema: z.ZodObject<{
|
|
|
15173
15897
|
owner: z.ZodObject<{
|
|
15174
15898
|
kind: z.ZodEnum<{
|
|
15175
15899
|
page: "page";
|
|
15176
|
-
site: "site";
|
|
15177
15900
|
block: "block";
|
|
15901
|
+
site: "site";
|
|
15178
15902
|
chrome: "chrome";
|
|
15179
15903
|
}>;
|
|
15180
15904
|
id: z.ZodString;
|
|
@@ -15204,7 +15928,7 @@ export declare const ApplyPatchBatchToolInputSchema: z.ZodObject<{
|
|
|
15204
15928
|
smoke_test: "smoke_test";
|
|
15205
15929
|
prepare_preview: "prepare_preview";
|
|
15206
15930
|
}>>>;
|
|
15207
|
-
site_id: z.ZodOptional<z.
|
|
15931
|
+
site_id: z.ZodOptional<z.ZodUUID>;
|
|
15208
15932
|
}, z.core.$strip>;
|
|
15209
15933
|
export type ApplyPatchBatchToolInput = z.infer<typeof ApplyPatchBatchToolInputSchema>;
|
|
15210
15934
|
export declare const WorkspaceDirectEditPathSchema: z.ZodString;
|
|
@@ -15257,9 +15981,9 @@ export type ApplyPatchBatchErrorCode = z.infer<typeof ApplyPatchBatchErrorCodeSc
|
|
|
15257
15981
|
export declare const ApplyPatchBatchSuccessSchema: z.ZodObject<{
|
|
15258
15982
|
status: z.ZodLiteral<"applied">;
|
|
15259
15983
|
patch_batch_id: z.ZodString;
|
|
15260
|
-
site_id: z.
|
|
15261
|
-
base_snapshot_id: z.
|
|
15262
|
-
snapshot_id: z.
|
|
15984
|
+
site_id: z.ZodUUID;
|
|
15985
|
+
base_snapshot_id: z.ZodUUID;
|
|
15986
|
+
snapshot_id: z.ZodUUID;
|
|
15263
15987
|
manifest_hash: z.ZodString;
|
|
15264
15988
|
object_key: z.ZodString;
|
|
15265
15989
|
changed_files: z.ZodArray<z.ZodString>;
|
|
@@ -15296,9 +16020,9 @@ export declare const ApplyPatchBatchFailureSchema: z.ZodObject<{
|
|
|
15296
16020
|
export declare const ApplyPatchBatchResultSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
15297
16021
|
status: z.ZodLiteral<"applied">;
|
|
15298
16022
|
patch_batch_id: z.ZodString;
|
|
15299
|
-
site_id: z.
|
|
15300
|
-
base_snapshot_id: z.
|
|
15301
|
-
snapshot_id: z.
|
|
16023
|
+
site_id: z.ZodUUID;
|
|
16024
|
+
base_snapshot_id: z.ZodUUID;
|
|
16025
|
+
snapshot_id: z.ZodUUID;
|
|
15302
16026
|
manifest_hash: z.ZodString;
|
|
15303
16027
|
object_key: z.ZodString;
|
|
15304
16028
|
changed_files: z.ZodArray<z.ZodString>;
|
|
@@ -15433,9 +16157,9 @@ export declare const SandboxSessionStatusSchema: z.ZodEnum<{
|
|
|
15433
16157
|
}>;
|
|
15434
16158
|
export type SandboxSessionStatus = z.infer<typeof SandboxSessionStatusSchema>;
|
|
15435
16159
|
export declare const SandboxSessionSchema: z.ZodObject<{
|
|
15436
|
-
id: z.
|
|
16160
|
+
id: z.ZodUUID;
|
|
15437
16161
|
tenant_id: z.ZodString;
|
|
15438
|
-
site_id: z.
|
|
16162
|
+
site_id: z.ZodUUID;
|
|
15439
16163
|
sandbox_id: z.ZodNullable<z.ZodString>;
|
|
15440
16164
|
status: z.ZodEnum<{
|
|
15441
16165
|
ready: "ready";
|
|
@@ -15449,8 +16173,8 @@ export declare const SandboxSessionSchema: z.ZodObject<{
|
|
|
15449
16173
|
stopping: "stopping";
|
|
15450
16174
|
stopped: "stopped";
|
|
15451
16175
|
}>;
|
|
15452
|
-
source_snapshot_id: z.ZodNullable<z.
|
|
15453
|
-
last_snapshot_id: z.ZodNullable<z.
|
|
16176
|
+
source_snapshot_id: z.ZodNullable<z.ZodUUID>;
|
|
16177
|
+
last_snapshot_id: z.ZodNullable<z.ZodUUID>;
|
|
15454
16178
|
preview_url: z.ZodNullable<z.ZodString>;
|
|
15455
16179
|
last_activity_at: z.ZodNullable<z.ZodString>;
|
|
15456
16180
|
created_at: z.ZodString;
|
|
@@ -15458,12 +16182,12 @@ export declare const SandboxSessionSchema: z.ZodObject<{
|
|
|
15458
16182
|
}, z.core.$strip>;
|
|
15459
16183
|
export type SandboxSession = z.infer<typeof SandboxSessionSchema>;
|
|
15460
16184
|
export declare const PersistPreviewSessionRequestSchema: z.ZodObject<{
|
|
15461
|
-
session_id: z.ZodOptional<z.
|
|
16185
|
+
session_id: z.ZodOptional<z.ZodUUID>;
|
|
15462
16186
|
sandbox_id: z.ZodOptional<z.ZodString>;
|
|
15463
|
-
source_snapshot_id: z.ZodOptional<z.
|
|
15464
|
-
last_snapshot_id: z.
|
|
15465
|
-
expected_current_snapshot_id: z.ZodOptional<z.
|
|
15466
|
-
expected_ready_session_id: z.ZodOptional<z.
|
|
16187
|
+
source_snapshot_id: z.ZodOptional<z.ZodUUID>;
|
|
16188
|
+
last_snapshot_id: z.ZodUUID;
|
|
16189
|
+
expected_current_snapshot_id: z.ZodOptional<z.ZodUUID>;
|
|
16190
|
+
expected_ready_session_id: z.ZodOptional<z.ZodUUID>;
|
|
15467
16191
|
status: z.ZodEnum<{
|
|
15468
16192
|
ready: "ready";
|
|
15469
16193
|
failed: "failed";
|
|
@@ -15481,9 +16205,9 @@ export declare const PersistPreviewSessionRequestSchema: z.ZodObject<{
|
|
|
15481
16205
|
export type PersistPreviewSessionRequest = z.infer<typeof PersistPreviewSessionRequestSchema>;
|
|
15482
16206
|
export declare const PersistPreviewSessionResponseSchema: z.ZodObject<{
|
|
15483
16207
|
preview_session: z.ZodObject<{
|
|
15484
|
-
id: z.
|
|
16208
|
+
id: z.ZodUUID;
|
|
15485
16209
|
tenant_id: z.ZodString;
|
|
15486
|
-
site_id: z.
|
|
16210
|
+
site_id: z.ZodUUID;
|
|
15487
16211
|
sandbox_id: z.ZodNullable<z.ZodString>;
|
|
15488
16212
|
status: z.ZodEnum<{
|
|
15489
16213
|
ready: "ready";
|
|
@@ -15497,8 +16221,8 @@ export declare const PersistPreviewSessionResponseSchema: z.ZodObject<{
|
|
|
15497
16221
|
stopping: "stopping";
|
|
15498
16222
|
stopped: "stopped";
|
|
15499
16223
|
}>;
|
|
15500
|
-
source_snapshot_id: z.ZodNullable<z.
|
|
15501
|
-
last_snapshot_id: z.ZodNullable<z.
|
|
16224
|
+
source_snapshot_id: z.ZodNullable<z.ZodUUID>;
|
|
16225
|
+
last_snapshot_id: z.ZodNullable<z.ZodUUID>;
|
|
15502
16226
|
preview_url: z.ZodNullable<z.ZodString>;
|
|
15503
16227
|
last_activity_at: z.ZodNullable<z.ZodString>;
|
|
15504
16228
|
created_at: z.ZodString;
|
|
@@ -15544,7 +16268,7 @@ export type FailStaleInFlightWorkspaceRunsResponse = z.infer<typeof FailStaleInF
|
|
|
15544
16268
|
* run orphaned). status=no_active_run when nothing was in flight.
|
|
15545
16269
|
*/
|
|
15546
16270
|
export declare const CancelActiveWorkspaceRunRequestSchema: z.ZodObject<{
|
|
15547
|
-
site_id: z.
|
|
16271
|
+
site_id: z.ZodUUID;
|
|
15548
16272
|
}, z.core.$strip>;
|
|
15549
16273
|
export type CancelActiveWorkspaceRunRequest = z.infer<typeof CancelActiveWorkspaceRunRequestSchema>;
|
|
15550
16274
|
export declare const CancelActiveWorkspaceRunResponseSchema: z.ZodObject<{
|
|
@@ -15553,9 +16277,9 @@ export declare const CancelActiveWorkspaceRunResponseSchema: z.ZodObject<{
|
|
|
15553
16277
|
no_active_run: "no_active_run";
|
|
15554
16278
|
}>;
|
|
15555
16279
|
agent_run: z.ZodNullable<z.ZodObject<{
|
|
15556
|
-
id: z.
|
|
16280
|
+
id: z.ZodUUID;
|
|
15557
16281
|
tenant_id: z.ZodString;
|
|
15558
|
-
site_id: z.
|
|
16282
|
+
site_id: z.ZodUUID;
|
|
15559
16283
|
agent_type: z.ZodEnum<{
|
|
15560
16284
|
clarify: "clarify";
|
|
15561
16285
|
sitemap: "sitemap";
|