@vcp-dev/contracts 0.6.9 → 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/form-design.d.ts +27 -27
- package/dist/index.d.ts +1153 -444
- 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>;
|
|
@@ -1179,7 +1181,7 @@ export type EnhanceDesignerPageResourceResponse = z.infer<typeof EnhanceDesigner
|
|
|
1179
1181
|
export declare const ExternalSyncSiteResponseSchema: z.ZodObject<{
|
|
1180
1182
|
code: z.ZodNumber;
|
|
1181
1183
|
data: z.ZodObject<{
|
|
1182
|
-
site_id: z.
|
|
1184
|
+
site_id: z.ZodUUID;
|
|
1183
1185
|
site_url: z.ZodString;
|
|
1184
1186
|
}, z.core.$strip>;
|
|
1185
1187
|
message: z.ZodString;
|
|
@@ -1415,9 +1417,9 @@ export declare const GetSitePlanResponseSchema: z.ZodObject<{
|
|
|
1415
1417
|
}, z.core.$strip>;
|
|
1416
1418
|
export type GetSitePlanResponse = z.infer<typeof GetSitePlanResponseSchema>;
|
|
1417
1419
|
export declare const SiteRecordSchema: z.ZodObject<{
|
|
1418
|
-
id: z.
|
|
1420
|
+
id: z.ZodUUID;
|
|
1419
1421
|
tenant_id: z.ZodString;
|
|
1420
|
-
owner_user_id: z.ZodNullable<z.
|
|
1422
|
+
owner_user_id: z.ZodNullable<z.ZodUUID>;
|
|
1421
1423
|
name: z.ZodString;
|
|
1422
1424
|
slug: z.ZodString;
|
|
1423
1425
|
status: z.ZodEnum<{
|
|
@@ -1436,8 +1438,8 @@ export declare const SiteRecordSchema: z.ZodObject<{
|
|
|
1436
1438
|
generated: "generated";
|
|
1437
1439
|
}>;
|
|
1438
1440
|
planning_locked_at: z.ZodNullable<z.ZodString>;
|
|
1439
|
-
current_sitemap_id: z.ZodNullable<z.
|
|
1440
|
-
current_snapshot_id: z.ZodNullable<z.
|
|
1441
|
+
current_sitemap_id: z.ZodNullable<z.ZodUUID>;
|
|
1442
|
+
current_snapshot_id: z.ZodNullable<z.ZodUUID>;
|
|
1441
1443
|
deployed_url: z.ZodNullable<z.ZodString>;
|
|
1442
1444
|
default_locale: z.ZodEnum<{
|
|
1443
1445
|
id: "id";
|
|
@@ -1631,9 +1633,9 @@ export declare const SiteRecordSchema: z.ZodObject<{
|
|
|
1631
1633
|
}, z.core.$strip>;
|
|
1632
1634
|
export type SiteRecord = z.infer<typeof SiteRecordSchema>;
|
|
1633
1635
|
export declare const BriefRecordSchema: z.ZodObject<{
|
|
1634
|
-
id: z.
|
|
1636
|
+
id: z.ZodUUID;
|
|
1635
1637
|
tenant_id: z.ZodString;
|
|
1636
|
-
site_id: z.
|
|
1638
|
+
site_id: z.ZodUUID;
|
|
1637
1639
|
body: z.ZodString;
|
|
1638
1640
|
source: z.ZodEnum<{
|
|
1639
1641
|
user: "user";
|
|
@@ -1646,9 +1648,9 @@ export declare const BriefRecordSchema: z.ZodObject<{
|
|
|
1646
1648
|
export type BriefRecord = z.infer<typeof BriefRecordSchema>;
|
|
1647
1649
|
export declare const CreateSiteBriefResponseSchema: z.ZodObject<{
|
|
1648
1650
|
site: z.ZodObject<{
|
|
1649
|
-
id: z.
|
|
1651
|
+
id: z.ZodUUID;
|
|
1650
1652
|
tenant_id: z.ZodString;
|
|
1651
|
-
owner_user_id: z.ZodNullable<z.
|
|
1653
|
+
owner_user_id: z.ZodNullable<z.ZodUUID>;
|
|
1652
1654
|
name: z.ZodString;
|
|
1653
1655
|
slug: z.ZodString;
|
|
1654
1656
|
status: z.ZodEnum<{
|
|
@@ -1667,8 +1669,8 @@ export declare const CreateSiteBriefResponseSchema: z.ZodObject<{
|
|
|
1667
1669
|
generated: "generated";
|
|
1668
1670
|
}>;
|
|
1669
1671
|
planning_locked_at: z.ZodNullable<z.ZodString>;
|
|
1670
|
-
current_sitemap_id: z.ZodNullable<z.
|
|
1671
|
-
current_snapshot_id: z.ZodNullable<z.
|
|
1672
|
+
current_sitemap_id: z.ZodNullable<z.ZodUUID>;
|
|
1673
|
+
current_snapshot_id: z.ZodNullable<z.ZodUUID>;
|
|
1672
1674
|
deployed_url: z.ZodNullable<z.ZodString>;
|
|
1673
1675
|
default_locale: z.ZodEnum<{
|
|
1674
1676
|
id: "id";
|
|
@@ -1861,9 +1863,9 @@ export declare const CreateSiteBriefResponseSchema: z.ZodObject<{
|
|
|
1861
1863
|
updated_at: z.ZodString;
|
|
1862
1864
|
}, z.core.$strip>;
|
|
1863
1865
|
brief: z.ZodObject<{
|
|
1864
|
-
id: z.
|
|
1866
|
+
id: z.ZodUUID;
|
|
1865
1867
|
tenant_id: z.ZodString;
|
|
1866
|
-
site_id: z.
|
|
1868
|
+
site_id: z.ZodUUID;
|
|
1867
1869
|
body: z.ZodString;
|
|
1868
1870
|
source: z.ZodEnum<{
|
|
1869
1871
|
user: "user";
|
|
@@ -1878,9 +1880,9 @@ export declare const CreateSiteBriefResponseSchema: z.ZodObject<{
|
|
|
1878
1880
|
export type CreateSiteBriefResponse = z.infer<typeof CreateSiteBriefResponseSchema>;
|
|
1879
1881
|
export declare const UpdateBriefResponseSchema: z.ZodObject<{
|
|
1880
1882
|
site: z.ZodObject<{
|
|
1881
|
-
id: z.
|
|
1883
|
+
id: z.ZodUUID;
|
|
1882
1884
|
tenant_id: z.ZodString;
|
|
1883
|
-
owner_user_id: z.ZodNullable<z.
|
|
1885
|
+
owner_user_id: z.ZodNullable<z.ZodUUID>;
|
|
1884
1886
|
name: z.ZodString;
|
|
1885
1887
|
slug: z.ZodString;
|
|
1886
1888
|
status: z.ZodEnum<{
|
|
@@ -1899,8 +1901,8 @@ export declare const UpdateBriefResponseSchema: z.ZodObject<{
|
|
|
1899
1901
|
generated: "generated";
|
|
1900
1902
|
}>;
|
|
1901
1903
|
planning_locked_at: z.ZodNullable<z.ZodString>;
|
|
1902
|
-
current_sitemap_id: z.ZodNullable<z.
|
|
1903
|
-
current_snapshot_id: z.ZodNullable<z.
|
|
1904
|
+
current_sitemap_id: z.ZodNullable<z.ZodUUID>;
|
|
1905
|
+
current_snapshot_id: z.ZodNullable<z.ZodUUID>;
|
|
1904
1906
|
deployed_url: z.ZodNullable<z.ZodString>;
|
|
1905
1907
|
default_locale: z.ZodEnum<{
|
|
1906
1908
|
id: "id";
|
|
@@ -2093,9 +2095,9 @@ export declare const UpdateBriefResponseSchema: z.ZodObject<{
|
|
|
2093
2095
|
updated_at: z.ZodString;
|
|
2094
2096
|
}, z.core.$strip>;
|
|
2095
2097
|
brief: z.ZodObject<{
|
|
2096
|
-
id: z.
|
|
2098
|
+
id: z.ZodUUID;
|
|
2097
2099
|
tenant_id: z.ZodString;
|
|
2098
|
-
site_id: z.
|
|
2100
|
+
site_id: z.ZodUUID;
|
|
2099
2101
|
body: z.ZodString;
|
|
2100
2102
|
source: z.ZodEnum<{
|
|
2101
2103
|
user: "user";
|
|
@@ -2109,9 +2111,9 @@ export declare const UpdateBriefResponseSchema: z.ZodObject<{
|
|
|
2109
2111
|
export type UpdateBriefResponse = z.infer<typeof UpdateBriefResponseSchema>;
|
|
2110
2112
|
export declare const SaveBriefDraftResponseSchema: z.ZodObject<{
|
|
2111
2113
|
brief: z.ZodObject<{
|
|
2112
|
-
id: z.
|
|
2114
|
+
id: z.ZodUUID;
|
|
2113
2115
|
tenant_id: z.ZodString;
|
|
2114
|
-
site_id: z.
|
|
2116
|
+
site_id: z.ZodUUID;
|
|
2115
2117
|
body: z.ZodString;
|
|
2116
2118
|
source: z.ZodEnum<{
|
|
2117
2119
|
user: "user";
|
|
@@ -2151,9 +2153,9 @@ export declare const AgentModelRouteSchema: z.ZodEnum<{
|
|
|
2151
2153
|
summarize: "summarize";
|
|
2152
2154
|
}>;
|
|
2153
2155
|
export declare const AgentRunRecordSchema: z.ZodObject<{
|
|
2154
|
-
id: z.
|
|
2156
|
+
id: z.ZodUUID;
|
|
2155
2157
|
tenant_id: z.ZodString;
|
|
2156
|
-
site_id: z.
|
|
2158
|
+
site_id: z.ZodUUID;
|
|
2157
2159
|
agent_type: z.ZodEnum<{
|
|
2158
2160
|
clarify: "clarify";
|
|
2159
2161
|
sitemap: "sitemap";
|
|
@@ -2186,8 +2188,8 @@ export declare const AgentRunRecordSchema: z.ZodObject<{
|
|
|
2186
2188
|
export type AgentRunRecord = z.infer<typeof AgentRunRecordSchema>;
|
|
2187
2189
|
export type AgentModelRoute = z.infer<typeof AgentModelRouteSchema>;
|
|
2188
2190
|
export declare const CreateAgentRunRequestSchema: z.ZodObject<{
|
|
2189
|
-
run_id: z.ZodOptional<z.
|
|
2190
|
-
site_id: z.
|
|
2191
|
+
run_id: z.ZodOptional<z.ZodUUID>;
|
|
2192
|
+
site_id: z.ZodUUID;
|
|
2191
2193
|
agent_type: z.ZodEnum<{
|
|
2192
2194
|
clarify: "clarify";
|
|
2193
2195
|
sitemap: "sitemap";
|
|
@@ -2210,9 +2212,9 @@ export declare const CreateAgentRunRequestSchema: z.ZodObject<{
|
|
|
2210
2212
|
export type CreateAgentRunRequest = z.infer<typeof CreateAgentRunRequestSchema>;
|
|
2211
2213
|
export declare const CreateAgentRunResponseSchema: z.ZodObject<{
|
|
2212
2214
|
agent_run: z.ZodObject<{
|
|
2213
|
-
id: z.
|
|
2215
|
+
id: z.ZodUUID;
|
|
2214
2216
|
tenant_id: z.ZodString;
|
|
2215
|
-
site_id: z.
|
|
2217
|
+
site_id: z.ZodUUID;
|
|
2216
2218
|
agent_type: z.ZodEnum<{
|
|
2217
2219
|
clarify: "clarify";
|
|
2218
2220
|
sitemap: "sitemap";
|
|
@@ -2254,9 +2256,9 @@ export declare const SnapshotStatusSchema: z.ZodEnum<{
|
|
|
2254
2256
|
}>;
|
|
2255
2257
|
export type SnapshotStatus = z.infer<typeof SnapshotStatusSchema>;
|
|
2256
2258
|
export declare const SnapshotRecordSchema: z.ZodObject<{
|
|
2257
|
-
id: z.
|
|
2259
|
+
id: z.ZodUUID;
|
|
2258
2260
|
tenant_id: z.ZodString;
|
|
2259
|
-
site_id: z.
|
|
2261
|
+
site_id: z.ZodUUID;
|
|
2260
2262
|
version: z.ZodNumber;
|
|
2261
2263
|
manifest_hash: z.ZodString;
|
|
2262
2264
|
object_key: z.ZodString;
|
|
@@ -2280,7 +2282,8 @@ export declare const SnapshotRecordSchema: z.ZodObject<{
|
|
|
2280
2282
|
}, z.core.$strip>;
|
|
2281
2283
|
export type SnapshotRecord = z.infer<typeof SnapshotRecordSchema>;
|
|
2282
2284
|
export declare const PersistSiteSnapshotRequestSchema: z.ZodObject<{
|
|
2283
|
-
snapshot_id: z.
|
|
2285
|
+
snapshot_id: z.ZodUUID;
|
|
2286
|
+
creation_key: z.ZodString;
|
|
2284
2287
|
manifest_hash: z.ZodString;
|
|
2285
2288
|
object_key: z.ZodString;
|
|
2286
2289
|
template_version: z.ZodOptional<z.ZodString>;
|
|
@@ -2298,14 +2301,14 @@ export declare const PersistSiteSnapshotRequestSchema: z.ZodObject<{
|
|
|
2298
2301
|
candidate: "candidate";
|
|
2299
2302
|
current: "current";
|
|
2300
2303
|
}>>;
|
|
2301
|
-
source_run_id: z.ZodOptional<z.
|
|
2304
|
+
source_run_id: z.ZodOptional<z.ZodUUID>;
|
|
2302
2305
|
}, z.core.$strip>;
|
|
2303
2306
|
export type PersistSiteSnapshotRequest = z.input<typeof PersistSiteSnapshotRequestSchema>;
|
|
2304
2307
|
export declare const PersistSiteSnapshotResponseSchema: z.ZodObject<{
|
|
2305
2308
|
site: z.ZodObject<{
|
|
2306
|
-
id: z.
|
|
2309
|
+
id: z.ZodUUID;
|
|
2307
2310
|
tenant_id: z.ZodString;
|
|
2308
|
-
owner_user_id: z.ZodNullable<z.
|
|
2311
|
+
owner_user_id: z.ZodNullable<z.ZodUUID>;
|
|
2309
2312
|
name: z.ZodString;
|
|
2310
2313
|
slug: z.ZodString;
|
|
2311
2314
|
status: z.ZodEnum<{
|
|
@@ -2324,8 +2327,8 @@ export declare const PersistSiteSnapshotResponseSchema: z.ZodObject<{
|
|
|
2324
2327
|
generated: "generated";
|
|
2325
2328
|
}>;
|
|
2326
2329
|
planning_locked_at: z.ZodNullable<z.ZodString>;
|
|
2327
|
-
current_sitemap_id: z.ZodNullable<z.
|
|
2328
|
-
current_snapshot_id: z.ZodNullable<z.
|
|
2330
|
+
current_sitemap_id: z.ZodNullable<z.ZodUUID>;
|
|
2331
|
+
current_snapshot_id: z.ZodNullable<z.ZodUUID>;
|
|
2329
2332
|
deployed_url: z.ZodNullable<z.ZodString>;
|
|
2330
2333
|
default_locale: z.ZodEnum<{
|
|
2331
2334
|
id: "id";
|
|
@@ -2518,9 +2521,9 @@ export declare const PersistSiteSnapshotResponseSchema: z.ZodObject<{
|
|
|
2518
2521
|
updated_at: z.ZodString;
|
|
2519
2522
|
}, z.core.$strip>;
|
|
2520
2523
|
snapshot: z.ZodObject<{
|
|
2521
|
-
id: z.
|
|
2524
|
+
id: z.ZodUUID;
|
|
2522
2525
|
tenant_id: z.ZodString;
|
|
2523
|
-
site_id: z.
|
|
2526
|
+
site_id: z.ZodUUID;
|
|
2524
2527
|
version: z.ZodNumber;
|
|
2525
2528
|
manifest_hash: z.ZodString;
|
|
2526
2529
|
object_key: z.ZodString;
|
|
@@ -2552,17 +2555,17 @@ export declare const UpdateCurrentSnapshotManifestRequestSchema: z.ZodObject<{
|
|
|
2552
2555
|
}, z.core.$strict>;
|
|
2553
2556
|
export type UpdateCurrentSnapshotManifestRequest = z.infer<typeof UpdateCurrentSnapshotManifestRequestSchema>;
|
|
2554
2557
|
export declare const PromoteSiteSnapshotRequestSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
2555
|
-
base_snapshot_id: z.ZodNullable<z.
|
|
2556
|
-
source_run_id: z.ZodOptional<z.
|
|
2558
|
+
base_snapshot_id: z.ZodNullable<z.ZodUUID>;
|
|
2559
|
+
source_run_id: z.ZodOptional<z.ZodUUID>;
|
|
2557
2560
|
}, z.core.$strict>, z.ZodObject<{
|
|
2558
2561
|
skip_base_check: z.ZodLiteral<true>;
|
|
2559
2562
|
}, z.core.$strict>]>;
|
|
2560
2563
|
export type PromoteSiteSnapshotRequest = z.infer<typeof PromoteSiteSnapshotRequestSchema>;
|
|
2561
2564
|
export declare const PromoteSiteSnapshotResponseSchema: z.ZodObject<{
|
|
2562
2565
|
site: z.ZodObject<{
|
|
2563
|
-
id: z.
|
|
2566
|
+
id: z.ZodUUID;
|
|
2564
2567
|
tenant_id: z.ZodString;
|
|
2565
|
-
owner_user_id: z.ZodNullable<z.
|
|
2568
|
+
owner_user_id: z.ZodNullable<z.ZodUUID>;
|
|
2566
2569
|
name: z.ZodString;
|
|
2567
2570
|
slug: z.ZodString;
|
|
2568
2571
|
status: z.ZodEnum<{
|
|
@@ -2581,8 +2584,8 @@ export declare const PromoteSiteSnapshotResponseSchema: z.ZodObject<{
|
|
|
2581
2584
|
generated: "generated";
|
|
2582
2585
|
}>;
|
|
2583
2586
|
planning_locked_at: z.ZodNullable<z.ZodString>;
|
|
2584
|
-
current_sitemap_id: z.ZodNullable<z.
|
|
2585
|
-
current_snapshot_id: z.ZodNullable<z.
|
|
2587
|
+
current_sitemap_id: z.ZodNullable<z.ZodUUID>;
|
|
2588
|
+
current_snapshot_id: z.ZodNullable<z.ZodUUID>;
|
|
2586
2589
|
deployed_url: z.ZodNullable<z.ZodString>;
|
|
2587
2590
|
default_locale: z.ZodEnum<{
|
|
2588
2591
|
id: "id";
|
|
@@ -2775,9 +2778,9 @@ export declare const PromoteSiteSnapshotResponseSchema: z.ZodObject<{
|
|
|
2775
2778
|
updated_at: z.ZodString;
|
|
2776
2779
|
}, z.core.$strip>;
|
|
2777
2780
|
snapshot: z.ZodObject<{
|
|
2778
|
-
id: z.
|
|
2781
|
+
id: z.ZodUUID;
|
|
2779
2782
|
tenant_id: z.ZodString;
|
|
2780
|
-
site_id: z.
|
|
2783
|
+
site_id: z.ZodUUID;
|
|
2781
2784
|
version: z.ZodNumber;
|
|
2782
2785
|
manifest_hash: z.ZodString;
|
|
2783
2786
|
object_key: z.ZodString;
|
|
@@ -2804,9 +2807,9 @@ export declare const PromoteSiteSnapshotResponseSchema: z.ZodObject<{
|
|
|
2804
2807
|
export type PromoteSiteSnapshotResponse = z.infer<typeof PromoteSiteSnapshotResponseSchema>;
|
|
2805
2808
|
export declare const AbandonSiteSnapshotResponseSchema: z.ZodObject<{
|
|
2806
2809
|
snapshot: z.ZodObject<{
|
|
2807
|
-
id: z.
|
|
2810
|
+
id: z.ZodUUID;
|
|
2808
2811
|
tenant_id: z.ZodString;
|
|
2809
|
-
site_id: z.
|
|
2812
|
+
site_id: z.ZodUUID;
|
|
2810
2813
|
version: z.ZodNumber;
|
|
2811
2814
|
manifest_hash: z.ZodString;
|
|
2812
2815
|
object_key: z.ZodString;
|
|
@@ -2838,13 +2841,13 @@ export type AbandonSiteSnapshotResponse = z.infer<typeof AbandonSiteSnapshotResp
|
|
|
2838
2841
|
*/
|
|
2839
2842
|
export declare const DeleteSiteSnapshotResponseSchema: z.ZodObject<{
|
|
2840
2843
|
status: z.ZodLiteral<"deleting">;
|
|
2841
|
-
snapshot_id: z.
|
|
2844
|
+
snapshot_id: z.ZodUUID;
|
|
2842
2845
|
object_key: z.ZodString;
|
|
2843
2846
|
}, z.core.$strip>;
|
|
2844
2847
|
export type DeleteSiteSnapshotResponse = z.infer<typeof DeleteSiteSnapshotResponseSchema>;
|
|
2845
2848
|
export declare const CompleteSiteSnapshotDeletionResponseSchema: z.ZodObject<{
|
|
2846
2849
|
status: z.ZodLiteral<"deleted">;
|
|
2847
|
-
snapshot_id: z.
|
|
2850
|
+
snapshot_id: z.ZodUUID;
|
|
2848
2851
|
}, z.core.$strip>;
|
|
2849
2852
|
export type CompleteSiteSnapshotDeletionResponse = z.infer<typeof CompleteSiteSnapshotDeletionResponseSchema>;
|
|
2850
2853
|
/**
|
|
@@ -2853,13 +2856,13 @@ export type CompleteSiteSnapshotDeletionResponse = z.infer<typeof CompleteSiteSn
|
|
|
2853
2856
|
* 源 workspace run 绑定,作为恢复到任一历史版本的依据。
|
|
2854
2857
|
*/
|
|
2855
2858
|
export declare const SiteVersionRecordSchema: z.ZodObject<{
|
|
2856
|
-
id: z.
|
|
2859
|
+
id: z.ZodUUID;
|
|
2857
2860
|
tenant_id: z.ZodString;
|
|
2858
|
-
site_id: z.
|
|
2859
|
-
snapshot_id: z.
|
|
2861
|
+
site_id: z.ZodUUID;
|
|
2862
|
+
snapshot_id: z.ZodUUID;
|
|
2860
2863
|
version: z.ZodNumber;
|
|
2861
2864
|
accepted_commit: z.ZodString;
|
|
2862
|
-
source_run_id: z.ZodNullable<z.
|
|
2865
|
+
source_run_id: z.ZodNullable<z.ZodUUID>;
|
|
2863
2866
|
created_at: z.ZodString;
|
|
2864
2867
|
}, z.core.$strip>;
|
|
2865
2868
|
export type SiteVersionRecord = z.infer<typeof SiteVersionRecordSchema>;
|
|
@@ -2870,13 +2873,13 @@ export type SiteVersionRecord = z.infer<typeof SiteVersionRecordSchema>;
|
|
|
2870
2873
|
* `SiteVersionRecord`。
|
|
2871
2874
|
*/
|
|
2872
2875
|
export declare const SiteVersionListItemSchema: z.ZodObject<{
|
|
2873
|
-
id: z.
|
|
2876
|
+
id: z.ZodUUID;
|
|
2874
2877
|
tenant_id: z.ZodString;
|
|
2875
|
-
site_id: z.
|
|
2876
|
-
snapshot_id: z.
|
|
2878
|
+
site_id: z.ZodUUID;
|
|
2879
|
+
snapshot_id: z.ZodUUID;
|
|
2877
2880
|
version: z.ZodNumber;
|
|
2878
2881
|
accepted_commit: z.ZodString;
|
|
2879
|
-
source_run_id: z.ZodNullable<z.
|
|
2882
|
+
source_run_id: z.ZodNullable<z.ZodUUID>;
|
|
2880
2883
|
created_at: z.ZodString;
|
|
2881
2884
|
reason: z.ZodEnum<{
|
|
2882
2885
|
initial_generation: "initial_generation";
|
|
@@ -2897,18 +2900,18 @@ export declare const SiteVersionListItemSchema: z.ZodObject<{
|
|
|
2897
2900
|
export type SiteVersionListItem = z.infer<typeof SiteVersionListItemSchema>;
|
|
2898
2901
|
export declare const RecordSnapshotVersionRequestSchema: z.ZodObject<{
|
|
2899
2902
|
accepted_commit: z.ZodString;
|
|
2900
|
-
source_run_id: z.ZodOptional<z.
|
|
2903
|
+
source_run_id: z.ZodOptional<z.ZodUUID>;
|
|
2901
2904
|
}, z.core.$strip>;
|
|
2902
2905
|
export type RecordSnapshotVersionRequest = z.infer<typeof RecordSnapshotVersionRequestSchema>;
|
|
2903
2906
|
export declare const RecordSnapshotVersionResponseSchema: z.ZodObject<{
|
|
2904
2907
|
site_version: z.ZodObject<{
|
|
2905
|
-
id: z.
|
|
2908
|
+
id: z.ZodUUID;
|
|
2906
2909
|
tenant_id: z.ZodString;
|
|
2907
|
-
site_id: z.
|
|
2908
|
-
snapshot_id: z.
|
|
2910
|
+
site_id: z.ZodUUID;
|
|
2911
|
+
snapshot_id: z.ZodUUID;
|
|
2909
2912
|
version: z.ZodNumber;
|
|
2910
2913
|
accepted_commit: z.ZodString;
|
|
2911
|
-
source_run_id: z.ZodNullable<z.
|
|
2914
|
+
source_run_id: z.ZodNullable<z.ZodUUID>;
|
|
2912
2915
|
created_at: z.ZodString;
|
|
2913
2916
|
}, z.core.$strip>;
|
|
2914
2917
|
next_step: z.ZodLiteral<"workspace">;
|
|
@@ -2934,16 +2937,16 @@ export declare const ReleaseTemplateUpgradeLockResponseSchema: z.ZodObject<{
|
|
|
2934
2937
|
export type ReleaseTemplateUpgradeLockResponse = z.infer<typeof ReleaseTemplateUpgradeLockResponseSchema>;
|
|
2935
2938
|
export declare const TEMPLATE_UPGRADE_LOCK_LOST_ERROR_CODE: "TEMPLATE_UPGRADE_LOCK_LOST";
|
|
2936
2939
|
export declare const PromoteTemplateUpgradeSnapshotRequestSchema: z.ZodObject<{
|
|
2937
|
-
base_snapshot_id: z.
|
|
2940
|
+
base_snapshot_id: z.ZodUUID;
|
|
2938
2941
|
accepted_commit: z.ZodString;
|
|
2939
2942
|
owner_id: z.ZodString;
|
|
2940
2943
|
}, z.core.$strict>;
|
|
2941
2944
|
export type PromoteTemplateUpgradeSnapshotRequest = z.infer<typeof PromoteTemplateUpgradeSnapshotRequestSchema>;
|
|
2942
2945
|
export declare const PromoteTemplateUpgradeSnapshotResponseSchema: z.ZodObject<{
|
|
2943
2946
|
site: z.ZodObject<{
|
|
2944
|
-
id: z.
|
|
2947
|
+
id: z.ZodUUID;
|
|
2945
2948
|
tenant_id: z.ZodString;
|
|
2946
|
-
owner_user_id: z.ZodNullable<z.
|
|
2949
|
+
owner_user_id: z.ZodNullable<z.ZodUUID>;
|
|
2947
2950
|
name: z.ZodString;
|
|
2948
2951
|
slug: z.ZodString;
|
|
2949
2952
|
status: z.ZodEnum<{
|
|
@@ -2962,8 +2965,8 @@ export declare const PromoteTemplateUpgradeSnapshotResponseSchema: z.ZodObject<{
|
|
|
2962
2965
|
generated: "generated";
|
|
2963
2966
|
}>;
|
|
2964
2967
|
planning_locked_at: z.ZodNullable<z.ZodString>;
|
|
2965
|
-
current_sitemap_id: z.ZodNullable<z.
|
|
2966
|
-
current_snapshot_id: z.ZodNullable<z.
|
|
2968
|
+
current_sitemap_id: z.ZodNullable<z.ZodUUID>;
|
|
2969
|
+
current_snapshot_id: z.ZodNullable<z.ZodUUID>;
|
|
2967
2970
|
deployed_url: z.ZodNullable<z.ZodString>;
|
|
2968
2971
|
default_locale: z.ZodEnum<{
|
|
2969
2972
|
id: "id";
|
|
@@ -3156,9 +3159,9 @@ export declare const PromoteTemplateUpgradeSnapshotResponseSchema: z.ZodObject<{
|
|
|
3156
3159
|
updated_at: z.ZodString;
|
|
3157
3160
|
}, z.core.$strip>;
|
|
3158
3161
|
snapshot: z.ZodObject<{
|
|
3159
|
-
id: z.
|
|
3162
|
+
id: z.ZodUUID;
|
|
3160
3163
|
tenant_id: z.ZodString;
|
|
3161
|
-
site_id: z.
|
|
3164
|
+
site_id: z.ZodUUID;
|
|
3162
3165
|
version: z.ZodNumber;
|
|
3163
3166
|
manifest_hash: z.ZodString;
|
|
3164
3167
|
object_key: z.ZodString;
|
|
@@ -3185,13 +3188,13 @@ export declare const PromoteTemplateUpgradeSnapshotResponseSchema: z.ZodObject<{
|
|
|
3185
3188
|
export type PromoteTemplateUpgradeSnapshotResponse = z.infer<typeof PromoteTemplateUpgradeSnapshotResponseSchema>;
|
|
3186
3189
|
export declare const ListSiteVersionsResponseSchema: z.ZodObject<{
|
|
3187
3190
|
site_versions: z.ZodArray<z.ZodObject<{
|
|
3188
|
-
id: z.
|
|
3191
|
+
id: z.ZodUUID;
|
|
3189
3192
|
tenant_id: z.ZodString;
|
|
3190
|
-
site_id: z.
|
|
3191
|
-
snapshot_id: z.
|
|
3193
|
+
site_id: z.ZodUUID;
|
|
3194
|
+
snapshot_id: z.ZodUUID;
|
|
3192
3195
|
version: z.ZodNumber;
|
|
3193
3196
|
accepted_commit: z.ZodString;
|
|
3194
|
-
source_run_id: z.ZodNullable<z.
|
|
3197
|
+
source_run_id: z.ZodNullable<z.ZodUUID>;
|
|
3195
3198
|
created_at: z.ZodString;
|
|
3196
3199
|
reason: z.ZodEnum<{
|
|
3197
3200
|
initial_generation: "initial_generation";
|
|
@@ -3213,9 +3216,9 @@ export declare const ListSiteVersionsResponseSchema: z.ZodObject<{
|
|
|
3213
3216
|
export type ListSiteVersionsResponse = z.infer<typeof ListSiteVersionsResponseSchema>;
|
|
3214
3217
|
export declare const RestoreSiteSnapshotResponseSchema: z.ZodObject<{
|
|
3215
3218
|
site: z.ZodObject<{
|
|
3216
|
-
id: z.
|
|
3219
|
+
id: z.ZodUUID;
|
|
3217
3220
|
tenant_id: z.ZodString;
|
|
3218
|
-
owner_user_id: z.ZodNullable<z.
|
|
3221
|
+
owner_user_id: z.ZodNullable<z.ZodUUID>;
|
|
3219
3222
|
name: z.ZodString;
|
|
3220
3223
|
slug: z.ZodString;
|
|
3221
3224
|
status: z.ZodEnum<{
|
|
@@ -3234,8 +3237,8 @@ export declare const RestoreSiteSnapshotResponseSchema: z.ZodObject<{
|
|
|
3234
3237
|
generated: "generated";
|
|
3235
3238
|
}>;
|
|
3236
3239
|
planning_locked_at: z.ZodNullable<z.ZodString>;
|
|
3237
|
-
current_sitemap_id: z.ZodNullable<z.
|
|
3238
|
-
current_snapshot_id: z.ZodNullable<z.
|
|
3240
|
+
current_sitemap_id: z.ZodNullable<z.ZodUUID>;
|
|
3241
|
+
current_snapshot_id: z.ZodNullable<z.ZodUUID>;
|
|
3239
3242
|
deployed_url: z.ZodNullable<z.ZodString>;
|
|
3240
3243
|
default_locale: z.ZodEnum<{
|
|
3241
3244
|
id: "id";
|
|
@@ -3428,9 +3431,9 @@ export declare const RestoreSiteSnapshotResponseSchema: z.ZodObject<{
|
|
|
3428
3431
|
updated_at: z.ZodString;
|
|
3429
3432
|
}, z.core.$strip>;
|
|
3430
3433
|
snapshot: z.ZodObject<{
|
|
3431
|
-
id: z.
|
|
3434
|
+
id: z.ZodUUID;
|
|
3432
3435
|
tenant_id: z.ZodString;
|
|
3433
|
-
site_id: z.
|
|
3436
|
+
site_id: z.ZodUUID;
|
|
3434
3437
|
version: z.ZodNumber;
|
|
3435
3438
|
manifest_hash: z.ZodString;
|
|
3436
3439
|
object_key: z.ZodString;
|
|
@@ -3453,13 +3456,13 @@ export declare const RestoreSiteSnapshotResponseSchema: z.ZodObject<{
|
|
|
3453
3456
|
created_at: z.ZodString;
|
|
3454
3457
|
}, z.core.$strip>;
|
|
3455
3458
|
site_version: z.ZodObject<{
|
|
3456
|
-
id: z.
|
|
3459
|
+
id: z.ZodUUID;
|
|
3457
3460
|
tenant_id: z.ZodString;
|
|
3458
|
-
site_id: z.
|
|
3459
|
-
snapshot_id: z.
|
|
3461
|
+
site_id: z.ZodUUID;
|
|
3462
|
+
snapshot_id: z.ZodUUID;
|
|
3460
3463
|
version: z.ZodNumber;
|
|
3461
3464
|
accepted_commit: z.ZodString;
|
|
3462
|
-
source_run_id: z.ZodNullable<z.
|
|
3465
|
+
source_run_id: z.ZodNullable<z.ZodUUID>;
|
|
3463
3466
|
created_at: z.ZodString;
|
|
3464
3467
|
}, z.core.$strip>;
|
|
3465
3468
|
next_step: z.ZodLiteral<"workspace">;
|
|
@@ -3471,13 +3474,13 @@ export type RestoreSiteSnapshotResponse = z.infer<typeof RestoreSiteSnapshotResp
|
|
|
3471
3474
|
* 运行中的 sandbox 并起预览。客户端绝不直连 agent。
|
|
3472
3475
|
*/
|
|
3473
3476
|
export declare const PrepareVersionPreviewRequestSchema: z.ZodObject<{
|
|
3474
|
-
snapshot_id: z.
|
|
3477
|
+
snapshot_id: z.ZodUUID;
|
|
3475
3478
|
force_rehydrate: z.ZodOptional<z.ZodBoolean>;
|
|
3476
3479
|
}, z.core.$strip>;
|
|
3477
3480
|
export type PrepareVersionPreviewRequest = z.infer<typeof PrepareVersionPreviewRequestSchema>;
|
|
3478
3481
|
export declare const PrepareVersionPreviewResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3479
3482
|
status: z.ZodLiteral<"ready">;
|
|
3480
|
-
snapshot_id: z.
|
|
3483
|
+
snapshot_id: z.ZodUUID;
|
|
3481
3484
|
preview_url: z.ZodString;
|
|
3482
3485
|
}, z.core.$strip>, z.ZodObject<{
|
|
3483
3486
|
status: z.ZodLiteral<"failed">;
|
|
@@ -3504,10 +3507,10 @@ export declare const DeploymentStatusSchema: z.ZodEnum<{
|
|
|
3504
3507
|
}>;
|
|
3505
3508
|
export type DeploymentStatus = z.infer<typeof DeploymentStatusSchema>;
|
|
3506
3509
|
export declare const DeploymentRecordSchema: z.ZodObject<{
|
|
3507
|
-
id: z.
|
|
3510
|
+
id: z.ZodUUID;
|
|
3508
3511
|
tenant_id: z.ZodString;
|
|
3509
|
-
site_id: z.
|
|
3510
|
-
snapshot_id: z.
|
|
3512
|
+
site_id: z.ZodUUID;
|
|
3513
|
+
snapshot_id: z.ZodUUID;
|
|
3511
3514
|
version: z.ZodNumber;
|
|
3512
3515
|
status: z.ZodEnum<{
|
|
3513
3516
|
queued: "queued";
|
|
@@ -3535,15 +3538,15 @@ export declare const DeploymentRecordSchema: z.ZodObject<{
|
|
|
3535
3538
|
}, z.core.$strip>;
|
|
3536
3539
|
export type DeploymentRecord = z.infer<typeof DeploymentRecordSchema>;
|
|
3537
3540
|
export declare const CreateDeploymentRequestSchema: z.ZodDefault<z.ZodObject<{
|
|
3538
|
-
snapshot_id: z.ZodOptional<z.
|
|
3541
|
+
snapshot_id: z.ZodOptional<z.ZodUUID>;
|
|
3539
3542
|
}, z.core.$strip>>;
|
|
3540
3543
|
export type CreateDeploymentRequest = z.input<typeof CreateDeploymentRequestSchema>;
|
|
3541
3544
|
export declare const CreateDeploymentResponseSchema: z.ZodObject<{
|
|
3542
3545
|
deployment: z.ZodObject<{
|
|
3543
|
-
id: z.
|
|
3546
|
+
id: z.ZodUUID;
|
|
3544
3547
|
tenant_id: z.ZodString;
|
|
3545
|
-
site_id: z.
|
|
3546
|
-
snapshot_id: z.
|
|
3548
|
+
site_id: z.ZodUUID;
|
|
3549
|
+
snapshot_id: z.ZodUUID;
|
|
3547
3550
|
version: z.ZodNumber;
|
|
3548
3551
|
status: z.ZodEnum<{
|
|
3549
3552
|
queued: "queued";
|
|
@@ -3573,10 +3576,10 @@ export declare const CreateDeploymentResponseSchema: z.ZodObject<{
|
|
|
3573
3576
|
export type CreateDeploymentResponse = z.infer<typeof CreateDeploymentResponseSchema>;
|
|
3574
3577
|
export declare const CurrentDeploymentResponseSchema: z.ZodObject<{
|
|
3575
3578
|
deployment: z.ZodNullable<z.ZodObject<{
|
|
3576
|
-
id: z.
|
|
3579
|
+
id: z.ZodUUID;
|
|
3577
3580
|
tenant_id: z.ZodString;
|
|
3578
|
-
site_id: z.
|
|
3579
|
-
snapshot_id: z.
|
|
3581
|
+
site_id: z.ZodUUID;
|
|
3582
|
+
snapshot_id: z.ZodUUID;
|
|
3580
3583
|
version: z.ZodNumber;
|
|
3581
3584
|
status: z.ZodEnum<{
|
|
3582
3585
|
queued: "queued";
|
|
@@ -3606,10 +3609,10 @@ export declare const CurrentDeploymentResponseSchema: z.ZodObject<{
|
|
|
3606
3609
|
export type CurrentDeploymentResponse = z.infer<typeof CurrentDeploymentResponseSchema>;
|
|
3607
3610
|
export declare const GetDeploymentResponseSchema: z.ZodObject<{
|
|
3608
3611
|
deployment: z.ZodObject<{
|
|
3609
|
-
id: z.
|
|
3612
|
+
id: z.ZodUUID;
|
|
3610
3613
|
tenant_id: z.ZodString;
|
|
3611
|
-
site_id: z.
|
|
3612
|
-
snapshot_id: z.
|
|
3614
|
+
site_id: z.ZodUUID;
|
|
3615
|
+
snapshot_id: z.ZodUUID;
|
|
3613
3616
|
version: z.ZodNumber;
|
|
3614
3617
|
status: z.ZodEnum<{
|
|
3615
3618
|
queued: "queued";
|
|
@@ -3638,7 +3641,7 @@ export declare const GetDeploymentResponseSchema: z.ZodObject<{
|
|
|
3638
3641
|
}, z.core.$strip>;
|
|
3639
3642
|
export type GetDeploymentResponse = z.infer<typeof GetDeploymentResponseSchema>;
|
|
3640
3643
|
export declare const DeploymentStatusSummarySchema: z.ZodObject<{
|
|
3641
|
-
id: z.
|
|
3644
|
+
id: z.ZodUUID;
|
|
3642
3645
|
status: z.ZodEnum<{
|
|
3643
3646
|
queued: "queued";
|
|
3644
3647
|
preparing_source: "preparing_source";
|
|
@@ -3661,7 +3664,7 @@ export declare const DeploymentStatusSummarySchema: z.ZodObject<{
|
|
|
3661
3664
|
export type DeploymentStatusSummary = z.infer<typeof DeploymentStatusSummarySchema>;
|
|
3662
3665
|
export declare const GetDeploymentsStatusResponseSchema: z.ZodObject<{
|
|
3663
3666
|
current: z.ZodNullable<z.ZodObject<{
|
|
3664
|
-
id: z.
|
|
3667
|
+
id: z.ZodUUID;
|
|
3665
3668
|
status: z.ZodEnum<{
|
|
3666
3669
|
queued: "queued";
|
|
3667
3670
|
preparing_source: "preparing_source";
|
|
@@ -3682,7 +3685,7 @@ export declare const GetDeploymentsStatusResponseSchema: z.ZodObject<{
|
|
|
3682
3685
|
provider_deployment_id: z.ZodNullable<z.ZodString>;
|
|
3683
3686
|
}, z.core.$strip>>;
|
|
3684
3687
|
latest_released: z.ZodNullable<z.ZodObject<{
|
|
3685
|
-
id: z.
|
|
3688
|
+
id: z.ZodUUID;
|
|
3686
3689
|
status: z.ZodEnum<{
|
|
3687
3690
|
queued: "queued";
|
|
3688
3691
|
preparing_source: "preparing_source";
|
|
@@ -3716,17 +3719,17 @@ export type DeploymentWsServerMessageType = z.infer<typeof DeploymentWsServerMes
|
|
|
3716
3719
|
export declare const DeploymentWsServerMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3717
3720
|
id: z.ZodString;
|
|
3718
3721
|
tenant_id: z.ZodString;
|
|
3719
|
-
site_id: z.
|
|
3720
|
-
deployment_id: z.
|
|
3722
|
+
site_id: z.ZodUUID;
|
|
3723
|
+
deployment_id: z.ZodUUID;
|
|
3721
3724
|
seq: z.ZodNumber;
|
|
3722
3725
|
sent_at: z.ZodString;
|
|
3723
3726
|
type: z.ZodLiteral<"deployment.snapshot">;
|
|
3724
3727
|
payload: z.ZodObject<{
|
|
3725
3728
|
deployment: z.ZodObject<{
|
|
3726
|
-
id: z.
|
|
3729
|
+
id: z.ZodUUID;
|
|
3727
3730
|
tenant_id: z.ZodString;
|
|
3728
|
-
site_id: z.
|
|
3729
|
-
snapshot_id: z.
|
|
3731
|
+
site_id: z.ZodUUID;
|
|
3732
|
+
snapshot_id: z.ZodUUID;
|
|
3730
3733
|
version: z.ZodNumber;
|
|
3731
3734
|
status: z.ZodEnum<{
|
|
3732
3735
|
queued: "queued";
|
|
@@ -3756,17 +3759,17 @@ export declare const DeploymentWsServerMessageSchema: z.ZodDiscriminatedUnion<[z
|
|
|
3756
3759
|
}, z.core.$strip>, z.ZodObject<{
|
|
3757
3760
|
id: z.ZodString;
|
|
3758
3761
|
tenant_id: z.ZodString;
|
|
3759
|
-
site_id: z.
|
|
3760
|
-
deployment_id: z.
|
|
3762
|
+
site_id: z.ZodUUID;
|
|
3763
|
+
deployment_id: z.ZodUUID;
|
|
3761
3764
|
seq: z.ZodNumber;
|
|
3762
3765
|
sent_at: z.ZodString;
|
|
3763
3766
|
type: z.ZodLiteral<"deployment.status.changed">;
|
|
3764
3767
|
payload: z.ZodObject<{
|
|
3765
3768
|
deployment: z.ZodObject<{
|
|
3766
|
-
id: z.
|
|
3769
|
+
id: z.ZodUUID;
|
|
3767
3770
|
tenant_id: z.ZodString;
|
|
3768
|
-
site_id: z.
|
|
3769
|
-
snapshot_id: z.
|
|
3771
|
+
site_id: z.ZodUUID;
|
|
3772
|
+
snapshot_id: z.ZodUUID;
|
|
3770
3773
|
version: z.ZodNumber;
|
|
3771
3774
|
status: z.ZodEnum<{
|
|
3772
3775
|
queued: "queued";
|
|
@@ -3796,17 +3799,17 @@ export declare const DeploymentWsServerMessageSchema: z.ZodDiscriminatedUnion<[z
|
|
|
3796
3799
|
}, z.core.$strip>, z.ZodObject<{
|
|
3797
3800
|
id: z.ZodString;
|
|
3798
3801
|
tenant_id: z.ZodString;
|
|
3799
|
-
site_id: z.
|
|
3800
|
-
deployment_id: z.
|
|
3802
|
+
site_id: z.ZodUUID;
|
|
3803
|
+
deployment_id: z.ZodUUID;
|
|
3801
3804
|
seq: z.ZodNumber;
|
|
3802
3805
|
sent_at: z.ZodString;
|
|
3803
3806
|
type: z.ZodLiteral<"deployment.finished">;
|
|
3804
3807
|
payload: z.ZodObject<{
|
|
3805
3808
|
deployment: z.ZodObject<{
|
|
3806
|
-
id: z.
|
|
3809
|
+
id: z.ZodUUID;
|
|
3807
3810
|
tenant_id: z.ZodString;
|
|
3808
|
-
site_id: z.
|
|
3809
|
-
snapshot_id: z.
|
|
3811
|
+
site_id: z.ZodUUID;
|
|
3812
|
+
snapshot_id: z.ZodUUID;
|
|
3810
3813
|
version: z.ZodNumber;
|
|
3811
3814
|
status: z.ZodEnum<{
|
|
3812
3815
|
queued: "queued";
|
|
@@ -3836,17 +3839,17 @@ export declare const DeploymentWsServerMessageSchema: z.ZodDiscriminatedUnion<[z
|
|
|
3836
3839
|
}, z.core.$strip>, z.ZodObject<{
|
|
3837
3840
|
id: z.ZodString;
|
|
3838
3841
|
tenant_id: z.ZodString;
|
|
3839
|
-
site_id: z.
|
|
3840
|
-
deployment_id: z.
|
|
3842
|
+
site_id: z.ZodUUID;
|
|
3843
|
+
deployment_id: z.ZodUUID;
|
|
3841
3844
|
seq: z.ZodNumber;
|
|
3842
3845
|
sent_at: z.ZodString;
|
|
3843
3846
|
type: z.ZodLiteral<"deployment.failed">;
|
|
3844
3847
|
payload: z.ZodObject<{
|
|
3845
3848
|
deployment: z.ZodObject<{
|
|
3846
|
-
id: z.
|
|
3849
|
+
id: z.ZodUUID;
|
|
3847
3850
|
tenant_id: z.ZodString;
|
|
3848
|
-
site_id: z.
|
|
3849
|
-
snapshot_id: z.
|
|
3851
|
+
site_id: z.ZodUUID;
|
|
3852
|
+
snapshot_id: z.ZodUUID;
|
|
3850
3853
|
version: z.ZodNumber;
|
|
3851
3854
|
status: z.ZodEnum<{
|
|
3852
3855
|
queued: "queued";
|
|
@@ -3876,8 +3879,8 @@ export declare const DeploymentWsServerMessageSchema: z.ZodDiscriminatedUnion<[z
|
|
|
3876
3879
|
}, z.core.$strip>, z.ZodObject<{
|
|
3877
3880
|
id: z.ZodString;
|
|
3878
3881
|
tenant_id: z.ZodString;
|
|
3879
|
-
site_id: z.
|
|
3880
|
-
deployment_id: z.
|
|
3882
|
+
site_id: z.ZodUUID;
|
|
3883
|
+
deployment_id: z.ZodUUID;
|
|
3881
3884
|
seq: z.ZodNumber;
|
|
3882
3885
|
sent_at: z.ZodString;
|
|
3883
3886
|
type: z.ZodLiteral<"deployment.realtime.recovered">;
|
|
@@ -3887,8 +3890,8 @@ export declare const DeploymentWsServerMessageSchema: z.ZodDiscriminatedUnion<[z
|
|
|
3887
3890
|
}, z.core.$strip>, z.ZodObject<{
|
|
3888
3891
|
id: z.ZodString;
|
|
3889
3892
|
tenant_id: z.ZodString;
|
|
3890
|
-
site_id: z.
|
|
3891
|
-
deployment_id: z.
|
|
3893
|
+
site_id: z.ZodUUID;
|
|
3894
|
+
deployment_id: z.ZodUUID;
|
|
3892
3895
|
seq: z.ZodNumber;
|
|
3893
3896
|
sent_at: z.ZodString;
|
|
3894
3897
|
type: z.ZodLiteral<"server.error">;
|
|
@@ -3901,8 +3904,8 @@ export declare const DeploymentWsServerMessageSchema: z.ZodDiscriminatedUnion<[z
|
|
|
3901
3904
|
export type DeploymentWsServerMessage = z.infer<typeof DeploymentWsServerMessageSchema>;
|
|
3902
3905
|
export declare const DeploymentRedisPubSubEventSchema: z.ZodObject<{
|
|
3903
3906
|
tenant_id: z.ZodString;
|
|
3904
|
-
site_id: z.
|
|
3905
|
-
deployment_id: z.
|
|
3907
|
+
site_id: z.ZodUUID;
|
|
3908
|
+
deployment_id: z.ZodUUID;
|
|
3906
3909
|
status: z.ZodEnum<{
|
|
3907
3910
|
queued: "queued";
|
|
3908
3911
|
preparing_source: "preparing_source";
|
|
@@ -3957,9 +3960,9 @@ export declare const CreateAgentRunConflictResponseSchema: z.ZodObject<{
|
|
|
3957
3960
|
code: z.ZodLiteral<"AGENT_RUN_IN_FLIGHT">;
|
|
3958
3961
|
message: z.ZodString;
|
|
3959
3962
|
agent_run: z.ZodObject<{
|
|
3960
|
-
id: z.
|
|
3963
|
+
id: z.ZodUUID;
|
|
3961
3964
|
tenant_id: z.ZodString;
|
|
3962
|
-
site_id: z.
|
|
3965
|
+
site_id: z.ZodUUID;
|
|
3963
3966
|
agent_type: z.ZodEnum<{
|
|
3964
3967
|
clarify: "clarify";
|
|
3965
3968
|
sitemap: "sitemap";
|
|
@@ -5021,60 +5024,60 @@ export declare const SitemapEditActorSchema: z.ZodEnum<{
|
|
|
5021
5024
|
}>;
|
|
5022
5025
|
export type SitemapEditActor = z.infer<typeof SitemapEditActorSchema>;
|
|
5023
5026
|
export declare const SitemapMoveBlockInputSchema: z.ZodObject<{
|
|
5024
|
-
site_id: z.
|
|
5027
|
+
site_id: z.ZodUUID;
|
|
5025
5028
|
page_id: z.ZodString;
|
|
5026
5029
|
edited_by: z.ZodDefault<z.ZodEnum<{
|
|
5027
5030
|
ai: "ai";
|
|
5028
5031
|
user: "user";
|
|
5029
5032
|
}>>;
|
|
5030
|
-
source_agent_run_id: z.ZodOptional<z.
|
|
5033
|
+
source_agent_run_id: z.ZodOptional<z.ZodUUID>;
|
|
5031
5034
|
block_id: z.ZodString;
|
|
5032
5035
|
target_index: z.ZodNumber;
|
|
5033
5036
|
}, z.core.$strip>;
|
|
5034
5037
|
export type SitemapMoveBlockInput = z.infer<typeof SitemapMoveBlockInputSchema>;
|
|
5035
5038
|
export declare const SitemapDeleteBlockInputSchema: z.ZodObject<{
|
|
5036
|
-
site_id: z.
|
|
5039
|
+
site_id: z.ZodUUID;
|
|
5037
5040
|
page_id: z.ZodString;
|
|
5038
5041
|
edited_by: z.ZodDefault<z.ZodEnum<{
|
|
5039
5042
|
ai: "ai";
|
|
5040
5043
|
user: "user";
|
|
5041
5044
|
}>>;
|
|
5042
|
-
source_agent_run_id: z.ZodOptional<z.
|
|
5045
|
+
source_agent_run_id: z.ZodOptional<z.ZodUUID>;
|
|
5043
5046
|
block_id: z.ZodString;
|
|
5044
5047
|
}, z.core.$strip>;
|
|
5045
5048
|
export type SitemapDeleteBlockInput = z.infer<typeof SitemapDeleteBlockInputSchema>;
|
|
5046
5049
|
export declare const SitemapUpdateBlockInstructionInputSchema: z.ZodObject<{
|
|
5047
|
-
site_id: z.
|
|
5050
|
+
site_id: z.ZodUUID;
|
|
5048
5051
|
page_id: z.ZodString;
|
|
5049
5052
|
edited_by: z.ZodDefault<z.ZodEnum<{
|
|
5050
5053
|
ai: "ai";
|
|
5051
5054
|
user: "user";
|
|
5052
5055
|
}>>;
|
|
5053
|
-
source_agent_run_id: z.ZodOptional<z.
|
|
5056
|
+
source_agent_run_id: z.ZodOptional<z.ZodUUID>;
|
|
5054
5057
|
block_id: z.ZodString;
|
|
5055
5058
|
instruction: z.ZodString;
|
|
5056
5059
|
}, z.core.$strip>;
|
|
5057
5060
|
export type SitemapUpdateBlockInstructionInput = z.infer<typeof SitemapUpdateBlockInstructionInputSchema>;
|
|
5058
5061
|
export declare const SitemapChangeBlockVariantInputSchema: z.ZodObject<{
|
|
5059
|
-
site_id: z.
|
|
5062
|
+
site_id: z.ZodUUID;
|
|
5060
5063
|
page_id: z.ZodString;
|
|
5061
5064
|
edited_by: z.ZodDefault<z.ZodEnum<{
|
|
5062
5065
|
ai: "ai";
|
|
5063
5066
|
user: "user";
|
|
5064
5067
|
}>>;
|
|
5065
|
-
source_agent_run_id: z.ZodOptional<z.
|
|
5068
|
+
source_agent_run_id: z.ZodOptional<z.ZodUUID>;
|
|
5066
5069
|
block_id: z.ZodString;
|
|
5067
5070
|
variant: z.ZodNullable<z.ZodString>;
|
|
5068
5071
|
}, z.core.$strip>;
|
|
5069
5072
|
export type SitemapChangeBlockVariantInput = z.infer<typeof SitemapChangeBlockVariantInputSchema>;
|
|
5070
5073
|
export declare const SitemapUpdateBlockPropsInputSchema: z.ZodObject<{
|
|
5071
|
-
site_id: z.
|
|
5074
|
+
site_id: z.ZodUUID;
|
|
5072
5075
|
page_id: z.ZodString;
|
|
5073
5076
|
edited_by: z.ZodDefault<z.ZodEnum<{
|
|
5074
5077
|
ai: "ai";
|
|
5075
5078
|
user: "user";
|
|
5076
5079
|
}>>;
|
|
5077
|
-
source_agent_run_id: z.ZodOptional<z.
|
|
5080
|
+
source_agent_run_id: z.ZodOptional<z.ZodUUID>;
|
|
5078
5081
|
block_id: z.ZodString;
|
|
5079
5082
|
props: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
5080
5083
|
mode: z.ZodDefault<z.ZodEnum<{
|
|
@@ -5084,13 +5087,13 @@ export declare const SitemapUpdateBlockPropsInputSchema: z.ZodObject<{
|
|
|
5084
5087
|
}, z.core.$strip>;
|
|
5085
5088
|
export type SitemapUpdateBlockPropsInput = z.infer<typeof SitemapUpdateBlockPropsInputSchema>;
|
|
5086
5089
|
export declare const SitemapAddBlockInputSchema: z.ZodObject<{
|
|
5087
|
-
site_id: z.
|
|
5090
|
+
site_id: z.ZodUUID;
|
|
5088
5091
|
page_id: z.ZodString;
|
|
5089
5092
|
edited_by: z.ZodDefault<z.ZodEnum<{
|
|
5090
5093
|
ai: "ai";
|
|
5091
5094
|
user: "user";
|
|
5092
5095
|
}>>;
|
|
5093
|
-
source_agent_run_id: z.ZodOptional<z.
|
|
5096
|
+
source_agent_run_id: z.ZodOptional<z.ZodUUID>;
|
|
5094
5097
|
block: z.ZodObject<{
|
|
5095
5098
|
id: z.ZodString;
|
|
5096
5099
|
type: z.ZodString;
|
|
@@ -5112,25 +5115,25 @@ export type SitemapEditOperation = z.infer<typeof SitemapEditOperationSchema>;
|
|
|
5112
5115
|
export declare const WorkspaceSitemapEditRequestSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
5113
5116
|
operation: z.ZodLiteral<"delete_block">;
|
|
5114
5117
|
input: z.ZodObject<{
|
|
5115
|
-
site_id: z.
|
|
5118
|
+
site_id: z.ZodUUID;
|
|
5116
5119
|
page_id: z.ZodString;
|
|
5117
5120
|
edited_by: z.ZodDefault<z.ZodEnum<{
|
|
5118
5121
|
ai: "ai";
|
|
5119
5122
|
user: "user";
|
|
5120
5123
|
}>>;
|
|
5121
|
-
source_agent_run_id: z.ZodOptional<z.
|
|
5124
|
+
source_agent_run_id: z.ZodOptional<z.ZodUUID>;
|
|
5122
5125
|
block_id: z.ZodString;
|
|
5123
5126
|
}, z.core.$strip>;
|
|
5124
5127
|
}, z.core.$strict>, z.ZodObject<{
|
|
5125
5128
|
operation: z.ZodLiteral<"update_block_instruction">;
|
|
5126
5129
|
input: z.ZodObject<{
|
|
5127
|
-
site_id: z.
|
|
5130
|
+
site_id: z.ZodUUID;
|
|
5128
5131
|
page_id: z.ZodString;
|
|
5129
5132
|
edited_by: z.ZodDefault<z.ZodEnum<{
|
|
5130
5133
|
ai: "ai";
|
|
5131
5134
|
user: "user";
|
|
5132
5135
|
}>>;
|
|
5133
|
-
source_agent_run_id: z.ZodOptional<z.
|
|
5136
|
+
source_agent_run_id: z.ZodOptional<z.ZodUUID>;
|
|
5134
5137
|
block_id: z.ZodString;
|
|
5135
5138
|
instruction: z.ZodString;
|
|
5136
5139
|
}, z.core.$strip>;
|
|
@@ -5156,8 +5159,8 @@ export declare const SitemapEditSuccessSchema: z.ZodObject<{
|
|
|
5156
5159
|
update_block_props: "update_block_props";
|
|
5157
5160
|
add_block: "add_block";
|
|
5158
5161
|
}>;
|
|
5159
|
-
site_id: z.
|
|
5160
|
-
sitemap_id: z.
|
|
5162
|
+
site_id: z.ZodUUID;
|
|
5163
|
+
sitemap_id: z.ZodUUID;
|
|
5161
5164
|
version: z.ZodNumber;
|
|
5162
5165
|
changed_pages: z.ZodArray<z.ZodString>;
|
|
5163
5166
|
requires_code_patch: z.ZodLiteral<true>;
|
|
@@ -5187,8 +5190,8 @@ export declare const SitemapEditResultSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
5187
5190
|
update_block_props: "update_block_props";
|
|
5188
5191
|
add_block: "add_block";
|
|
5189
5192
|
}>;
|
|
5190
|
-
site_id: z.
|
|
5191
|
-
sitemap_id: z.
|
|
5193
|
+
site_id: z.ZodUUID;
|
|
5194
|
+
sitemap_id: z.ZodUUID;
|
|
5192
5195
|
version: z.ZodNumber;
|
|
5193
5196
|
changed_pages: z.ZodArray<z.ZodString>;
|
|
5194
5197
|
requires_code_patch: z.ZodLiteral<true>;
|
|
@@ -5275,8 +5278,8 @@ export declare const SitemapAnswerSchema: z.ZodObject<{
|
|
|
5275
5278
|
export type SitemapAnswer = z.infer<typeof SitemapAnswerSchema>;
|
|
5276
5279
|
export declare const SitemapRunInputSchema: z.ZodObject<{
|
|
5277
5280
|
tenant_id: z.ZodString;
|
|
5278
|
-
site_id: z.
|
|
5279
|
-
brief_id: z.
|
|
5281
|
+
site_id: z.ZodUUID;
|
|
5282
|
+
brief_id: z.ZodUUID;
|
|
5280
5283
|
brief: z.ZodString;
|
|
5281
5284
|
answers: z.ZodArray<z.ZodObject<{
|
|
5282
5285
|
question_id: z.ZodString;
|
|
@@ -5540,7 +5543,7 @@ export declare const SitemapRunInputSchema: z.ZodObject<{
|
|
|
5540
5543
|
is: "is";
|
|
5541
5544
|
}>>;
|
|
5542
5545
|
reference: z.ZodOptional<z.ZodObject<{
|
|
5543
|
-
source_id: z.
|
|
5546
|
+
source_id: z.ZodUUID;
|
|
5544
5547
|
nav_structure: z.ZodArray<z.ZodString>;
|
|
5545
5548
|
page_patterns: z.ZodArray<z.ZodObject<{
|
|
5546
5549
|
page_type: z.ZodString;
|
|
@@ -5560,7 +5563,7 @@ export declare const SitemapRunInputSchema: z.ZodObject<{
|
|
|
5560
5563
|
audience: "audience";
|
|
5561
5564
|
other: "other";
|
|
5562
5565
|
}>;
|
|
5563
|
-
source_id: z.
|
|
5566
|
+
source_id: z.ZodUUID;
|
|
5564
5567
|
quote: z.ZodString;
|
|
5565
5568
|
trust: z.ZodDefault<z.ZodEnum<{
|
|
5566
5569
|
verbatim: "verbatim";
|
|
@@ -5571,7 +5574,7 @@ export declare const SitemapRunInputSchema: z.ZodObject<{
|
|
|
5571
5574
|
topic: z.ZodString;
|
|
5572
5575
|
variants: z.ZodArray<z.ZodObject<{
|
|
5573
5576
|
value: z.ZodString;
|
|
5574
|
-
source_id: z.
|
|
5577
|
+
source_id: z.ZodUUID;
|
|
5575
5578
|
}, z.core.$strip>>;
|
|
5576
5579
|
}, z.core.$strip>>;
|
|
5577
5580
|
}, z.core.$strip>>;
|
|
@@ -5596,7 +5599,7 @@ export declare const SitemapGenerationReasonSchema: z.ZodEnum<{
|
|
|
5596
5599
|
export type SitemapGenerationReason = z.infer<typeof SitemapGenerationReasonSchema>;
|
|
5597
5600
|
export declare const SitemapStreamEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
5598
5601
|
type: z.ZodLiteral<"run.started">;
|
|
5599
|
-
runId: z.
|
|
5602
|
+
runId: z.ZodUUID;
|
|
5600
5603
|
at: z.ZodString;
|
|
5601
5604
|
}, z.core.$strip>, z.ZodObject<{
|
|
5602
5605
|
type: z.ZodLiteral<"sitemap.generating">;
|
|
@@ -5624,7 +5627,7 @@ export declare const SitemapStreamEventSchema: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
5624
5627
|
}>>;
|
|
5625
5628
|
attempts: z.ZodOptional<z.ZodNumber>;
|
|
5626
5629
|
type: z.ZodLiteral<"sitemap.generated">;
|
|
5627
|
-
sitemap_id: z.
|
|
5630
|
+
sitemap_id: z.ZodUUID;
|
|
5628
5631
|
sitemap: z.ZodObject<{
|
|
5629
5632
|
site_name: z.ZodOptional<z.ZodString>;
|
|
5630
5633
|
version: z.ZodNumber;
|
|
@@ -5787,7 +5790,7 @@ export declare const SitemapStreamEventSchema: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
5787
5790
|
at: z.ZodString;
|
|
5788
5791
|
}, z.core.$strip>, z.ZodObject<{
|
|
5789
5792
|
type: z.ZodLiteral<"snapshot.created">;
|
|
5790
|
-
snapshot_id: z.
|
|
5793
|
+
snapshot_id: z.ZodUUID;
|
|
5791
5794
|
manifest_hash: z.ZodString;
|
|
5792
5795
|
at: z.ZodString;
|
|
5793
5796
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -5797,14 +5800,14 @@ export declare const SitemapStreamEventSchema: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
5797
5800
|
at: z.ZodString;
|
|
5798
5801
|
}, z.core.$strip>, z.ZodObject<{
|
|
5799
5802
|
type: z.ZodLiteral<"run.finished">;
|
|
5800
|
-
snapshot_id: z.ZodOptional<z.
|
|
5803
|
+
snapshot_id: z.ZodOptional<z.ZodUUID>;
|
|
5801
5804
|
at: z.ZodString;
|
|
5802
5805
|
}, z.core.$strip>], "type">;
|
|
5803
5806
|
export type SitemapStreamEvent = z.infer<typeof SitemapStreamEventSchema>;
|
|
5804
5807
|
export declare const SitemapRecordSchema: z.ZodObject<{
|
|
5805
|
-
id: z.
|
|
5808
|
+
id: z.ZodUUID;
|
|
5806
5809
|
tenant_id: z.ZodString;
|
|
5807
|
-
site_id: z.
|
|
5810
|
+
site_id: z.ZodUUID;
|
|
5808
5811
|
version: z.ZodNumber;
|
|
5809
5812
|
sitemap: z.ZodObject<{
|
|
5810
5813
|
site_name: z.ZodOptional<z.ZodString>;
|
|
@@ -5940,13 +5943,14 @@ export declare const SitemapRecordSchema: z.ZodObject<{
|
|
|
5940
5943
|
}, z.core.$strip>>;
|
|
5941
5944
|
}, z.core.$strip>>;
|
|
5942
5945
|
}, z.core.$strict>;
|
|
5943
|
-
source_agent_run_id: z.ZodNullable<z.
|
|
5946
|
+
source_agent_run_id: z.ZodNullable<z.ZodUUID>;
|
|
5944
5947
|
created_at: z.ZodString;
|
|
5945
5948
|
updated_at: z.ZodString;
|
|
5946
5949
|
}, z.core.$strip>;
|
|
5947
5950
|
export type SitemapRecord = z.infer<typeof SitemapRecordSchema>;
|
|
5948
5951
|
export declare const PersistSiteSitemapRequestSchema: z.ZodObject<{
|
|
5949
|
-
sitemap_id: z.
|
|
5952
|
+
sitemap_id: z.ZodUUID;
|
|
5953
|
+
creation_key: z.ZodString;
|
|
5950
5954
|
sitemap: z.ZodObject<{
|
|
5951
5955
|
site_name: z.ZodOptional<z.ZodString>;
|
|
5952
5956
|
version: z.ZodNumber;
|
|
@@ -6081,14 +6085,14 @@ export declare const PersistSiteSitemapRequestSchema: z.ZodObject<{
|
|
|
6081
6085
|
}, z.core.$strip>>;
|
|
6082
6086
|
}, z.core.$strip>>;
|
|
6083
6087
|
}, z.core.$strict>;
|
|
6084
|
-
source_agent_run_id: z.ZodOptional<z.
|
|
6088
|
+
source_agent_run_id: z.ZodOptional<z.ZodUUID>;
|
|
6085
6089
|
}, z.core.$strip>;
|
|
6086
6090
|
export type PersistSiteSitemapRequest = z.infer<typeof PersistSiteSitemapRequestSchema>;
|
|
6087
6091
|
export declare const PersistSiteSitemapResponseSchema: z.ZodObject<{
|
|
6088
6092
|
site: z.ZodObject<{
|
|
6089
|
-
id: z.
|
|
6093
|
+
id: z.ZodUUID;
|
|
6090
6094
|
tenant_id: z.ZodString;
|
|
6091
|
-
owner_user_id: z.ZodNullable<z.
|
|
6095
|
+
owner_user_id: z.ZodNullable<z.ZodUUID>;
|
|
6092
6096
|
name: z.ZodString;
|
|
6093
6097
|
slug: z.ZodString;
|
|
6094
6098
|
status: z.ZodEnum<{
|
|
@@ -6107,8 +6111,8 @@ export declare const PersistSiteSitemapResponseSchema: z.ZodObject<{
|
|
|
6107
6111
|
generated: "generated";
|
|
6108
6112
|
}>;
|
|
6109
6113
|
planning_locked_at: z.ZodNullable<z.ZodString>;
|
|
6110
|
-
current_sitemap_id: z.ZodNullable<z.
|
|
6111
|
-
current_snapshot_id: z.ZodNullable<z.
|
|
6114
|
+
current_sitemap_id: z.ZodNullable<z.ZodUUID>;
|
|
6115
|
+
current_snapshot_id: z.ZodNullable<z.ZodUUID>;
|
|
6112
6116
|
deployed_url: z.ZodNullable<z.ZodString>;
|
|
6113
6117
|
default_locale: z.ZodEnum<{
|
|
6114
6118
|
id: "id";
|
|
@@ -6301,9 +6305,9 @@ export declare const PersistSiteSitemapResponseSchema: z.ZodObject<{
|
|
|
6301
6305
|
updated_at: z.ZodString;
|
|
6302
6306
|
}, z.core.$strip>;
|
|
6303
6307
|
sitemap: z.ZodObject<{
|
|
6304
|
-
id: z.
|
|
6308
|
+
id: z.ZodUUID;
|
|
6305
6309
|
tenant_id: z.ZodString;
|
|
6306
|
-
site_id: z.
|
|
6310
|
+
site_id: z.ZodUUID;
|
|
6307
6311
|
version: z.ZodNumber;
|
|
6308
6312
|
sitemap: z.ZodObject<{
|
|
6309
6313
|
site_name: z.ZodOptional<z.ZodString>;
|
|
@@ -6439,7 +6443,7 @@ export declare const PersistSiteSitemapResponseSchema: z.ZodObject<{
|
|
|
6439
6443
|
}, z.core.$strip>>;
|
|
6440
6444
|
}, z.core.$strip>>;
|
|
6441
6445
|
}, z.core.$strict>;
|
|
6442
|
-
source_agent_run_id: z.ZodNullable<z.
|
|
6446
|
+
source_agent_run_id: z.ZodNullable<z.ZodUUID>;
|
|
6443
6447
|
created_at: z.ZodString;
|
|
6444
6448
|
updated_at: z.ZodString;
|
|
6445
6449
|
}, z.core.$strip>;
|
|
@@ -6448,10 +6452,10 @@ export declare const PersistSiteSitemapResponseSchema: z.ZodObject<{
|
|
|
6448
6452
|
export type PersistSiteSitemapResponse = z.infer<typeof PersistSiteSitemapResponseSchema>;
|
|
6449
6453
|
/** 持久化的 clarify_sessions 行(Step 2 用户答案落库记录)。 */
|
|
6450
6454
|
export declare const ClarifySessionRecordSchema: z.ZodObject<{
|
|
6451
|
-
id: z.
|
|
6455
|
+
id: z.ZodUUID;
|
|
6452
6456
|
tenant_id: z.ZodString;
|
|
6453
|
-
site_id: z.
|
|
6454
|
-
brief_id: z.
|
|
6457
|
+
site_id: z.ZodUUID;
|
|
6458
|
+
brief_id: z.ZodUUID;
|
|
6455
6459
|
questions: z.ZodObject<{
|
|
6456
6460
|
questions: z.ZodArray<z.ZodObject<{
|
|
6457
6461
|
id: z.ZodString;
|
|
@@ -6820,10 +6824,10 @@ export declare const PersistClarifyAnswersRequestSchema: z.ZodObject<{
|
|
|
6820
6824
|
export type PersistClarifyAnswersRequest = z.infer<typeof PersistClarifyAnswersRequestSchema>;
|
|
6821
6825
|
export declare const PersistClarifyAnswersResponseSchema: z.ZodObject<{
|
|
6822
6826
|
clarify_session: z.ZodObject<{
|
|
6823
|
-
id: z.
|
|
6827
|
+
id: z.ZodUUID;
|
|
6824
6828
|
tenant_id: z.ZodString;
|
|
6825
|
-
site_id: z.
|
|
6826
|
-
brief_id: z.
|
|
6829
|
+
site_id: z.ZodUUID;
|
|
6830
|
+
brief_id: z.ZodUUID;
|
|
6827
6831
|
questions: z.ZodObject<{
|
|
6828
6832
|
questions: z.ZodArray<z.ZodObject<{
|
|
6829
6833
|
id: z.ZodString;
|
|
@@ -7134,9 +7138,9 @@ export declare const UpdateClarifyArchetypeRequestSchema: z.ZodObject<{
|
|
|
7134
7138
|
}, z.core.$strip>;
|
|
7135
7139
|
export type UpdateClarifyArchetypeRequest = z.infer<typeof UpdateClarifyArchetypeRequestSchema>;
|
|
7136
7140
|
export declare const DesignPlanRecordSchema: z.ZodObject<{
|
|
7137
|
-
id: z.
|
|
7141
|
+
id: z.ZodUUID;
|
|
7138
7142
|
tenant_id: z.ZodString;
|
|
7139
|
-
site_id: z.
|
|
7143
|
+
site_id: z.ZodUUID;
|
|
7140
7144
|
version: z.ZodNumber;
|
|
7141
7145
|
design_plan: z.ZodObject<{
|
|
7142
7146
|
schemaVersion: z.ZodDefault<z.ZodLiteral<1>>;
|
|
@@ -7286,13 +7290,13 @@ export declare const DesignPlanRecordSchema: z.ZodObject<{
|
|
|
7286
7290
|
}, z.core.$strip>;
|
|
7287
7291
|
}, z.core.$strip>>;
|
|
7288
7292
|
}, z.core.$strip>;
|
|
7289
|
-
source_agent_run_id: z.ZodNullable<z.
|
|
7293
|
+
source_agent_run_id: z.ZodNullable<z.ZodUUID>;
|
|
7290
7294
|
created_at: z.ZodString;
|
|
7291
7295
|
updated_at: z.ZodString;
|
|
7292
7296
|
}, z.core.$strip>;
|
|
7293
7297
|
export type DesignPlanRecord = z.infer<typeof DesignPlanRecordSchema>;
|
|
7294
7298
|
export declare const PersistSiteDesignPlanRequestSchema: z.ZodObject<{
|
|
7295
|
-
design_plan_id: z.ZodOptional<z.
|
|
7299
|
+
design_plan_id: z.ZodOptional<z.ZodUUID>;
|
|
7296
7300
|
design_plan: z.ZodObject<{
|
|
7297
7301
|
schemaVersion: z.ZodDefault<z.ZodLiteral<1>>;
|
|
7298
7302
|
siteDesignContext: z.ZodObject<{
|
|
@@ -7441,14 +7445,14 @@ export declare const PersistSiteDesignPlanRequestSchema: z.ZodObject<{
|
|
|
7441
7445
|
}, z.core.$strip>;
|
|
7442
7446
|
}, z.core.$strip>>;
|
|
7443
7447
|
}, z.core.$strip>;
|
|
7444
|
-
source_agent_run_id: z.ZodOptional<z.
|
|
7448
|
+
source_agent_run_id: z.ZodOptional<z.ZodUUID>;
|
|
7445
7449
|
}, z.core.$strip>;
|
|
7446
7450
|
export type PersistSiteDesignPlanRequest = z.infer<typeof PersistSiteDesignPlanRequestSchema>;
|
|
7447
7451
|
export declare const PersistSiteDesignPlanResponseSchema: z.ZodObject<{
|
|
7448
7452
|
design_plan: z.ZodObject<{
|
|
7449
|
-
id: z.
|
|
7453
|
+
id: z.ZodUUID;
|
|
7450
7454
|
tenant_id: z.ZodString;
|
|
7451
|
-
site_id: z.
|
|
7455
|
+
site_id: z.ZodUUID;
|
|
7452
7456
|
version: z.ZodNumber;
|
|
7453
7457
|
design_plan: z.ZodObject<{
|
|
7454
7458
|
schemaVersion: z.ZodDefault<z.ZodLiteral<1>>;
|
|
@@ -7598,7 +7602,7 @@ export declare const PersistSiteDesignPlanResponseSchema: z.ZodObject<{
|
|
|
7598
7602
|
}, z.core.$strip>;
|
|
7599
7603
|
}, z.core.$strip>>;
|
|
7600
7604
|
}, z.core.$strip>;
|
|
7601
|
-
source_agent_run_id: z.ZodNullable<z.
|
|
7605
|
+
source_agent_run_id: z.ZodNullable<z.ZodUUID>;
|
|
7602
7606
|
created_at: z.ZodString;
|
|
7603
7607
|
updated_at: z.ZodString;
|
|
7604
7608
|
}, z.core.$strip>;
|
|
@@ -7928,7 +7932,7 @@ export type WorkspaceExecutionPlan = z.infer<typeof WorkspaceExecutionPlanSchema
|
|
|
7928
7932
|
export declare const WorkspaceWorkerResultSchema: z.ZodObject<{
|
|
7929
7933
|
task_id: z.ZodString;
|
|
7930
7934
|
patch: z.ZodOptional<z.ZodUnknown>;
|
|
7931
|
-
snapshot_id: z.ZodOptional<z.
|
|
7935
|
+
snapshot_id: z.ZodOptional<z.ZodUUID>;
|
|
7932
7936
|
read_files: z.ZodArray<z.ZodString>;
|
|
7933
7937
|
diagnostics: z.ZodArray<z.ZodObject<{
|
|
7934
7938
|
code: z.ZodString;
|
|
@@ -8082,7 +8086,7 @@ export declare const AiSdkUiMessagePartSchema: z.ZodUnion<readonly [z.ZodObject<
|
|
|
8082
8086
|
export type AiSdkUiMessagePart = z.infer<typeof AiSdkUiMessagePartSchema>;
|
|
8083
8087
|
export declare const AgentEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
8084
8088
|
type: z.ZodLiteral<"run.started">;
|
|
8085
|
-
runId: z.
|
|
8089
|
+
runId: z.ZodUUID;
|
|
8086
8090
|
at: z.ZodString;
|
|
8087
8091
|
}, z.core.$strip>, z.ZodObject<{
|
|
8088
8092
|
type: z.ZodLiteral<"message.delta">;
|
|
@@ -8212,7 +8216,7 @@ export declare const AgentEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
8212
8216
|
}>>;
|
|
8213
8217
|
attempts: z.ZodOptional<z.ZodNumber>;
|
|
8214
8218
|
type: z.ZodLiteral<"sitemap.generated">;
|
|
8215
|
-
sitemap_id: z.
|
|
8219
|
+
sitemap_id: z.ZodUUID;
|
|
8216
8220
|
sitemap: z.ZodObject<{
|
|
8217
8221
|
site_name: z.ZodOptional<z.ZodString>;
|
|
8218
8222
|
version: z.ZodNumber;
|
|
@@ -8360,7 +8364,7 @@ export declare const AgentEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
8360
8364
|
at: z.ZodString;
|
|
8361
8365
|
}, z.core.$strict>, z.ZodObject<{
|
|
8362
8366
|
type: z.ZodLiteral<"sitemap.updated">;
|
|
8363
|
-
sitemap_id: z.
|
|
8367
|
+
sitemap_id: z.ZodUUID;
|
|
8364
8368
|
version: z.ZodNumber;
|
|
8365
8369
|
reason: z.ZodString;
|
|
8366
8370
|
at: z.ZodString;
|
|
@@ -8381,8 +8385,8 @@ export declare const AgentEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
8381
8385
|
type: z.ZodLiteral<"block.changed">;
|
|
8382
8386
|
block_id: z.ZodString;
|
|
8383
8387
|
change_type: z.ZodEnum<{
|
|
8384
|
-
move: "move";
|
|
8385
8388
|
delete: "delete";
|
|
8389
|
+
move: "move";
|
|
8386
8390
|
update: "update";
|
|
8387
8391
|
add: "add";
|
|
8388
8392
|
}>;
|
|
@@ -8562,7 +8566,7 @@ export declare const AgentEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
8562
8566
|
dropped_files: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
8563
8567
|
degraded_file_paths: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
8564
8568
|
degraded_page_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
8565
|
-
snapshot_id: z.ZodOptional<z.
|
|
8569
|
+
snapshot_id: z.ZodOptional<z.ZodUUID>;
|
|
8566
8570
|
code: z.ZodOptional<z.ZodString>;
|
|
8567
8571
|
message: z.ZodOptional<z.ZodString>;
|
|
8568
8572
|
diagnostics: z.ZodOptional<z.ZodString>;
|
|
@@ -8613,12 +8617,12 @@ export declare const AgentEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
8613
8617
|
at: z.ZodString;
|
|
8614
8618
|
}, z.core.$strip>, z.ZodObject<{
|
|
8615
8619
|
type: z.ZodLiteral<"snapshot.created">;
|
|
8616
|
-
snapshot_id: z.
|
|
8620
|
+
snapshot_id: z.ZodUUID;
|
|
8617
8621
|
manifest_hash: z.ZodString;
|
|
8618
8622
|
at: z.ZodString;
|
|
8619
8623
|
}, z.core.$strip>, z.ZodObject<{
|
|
8620
8624
|
type: z.ZodLiteral<"snapshot.finalized">;
|
|
8621
|
-
snapshot_id: z.
|
|
8625
|
+
snapshot_id: z.ZodUUID;
|
|
8622
8626
|
at: z.ZodString;
|
|
8623
8627
|
}, z.core.$strip>, z.ZodObject<{
|
|
8624
8628
|
type: z.ZodLiteral<"preview.preparing">;
|
|
@@ -8629,15 +8633,15 @@ export declare const AgentEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
8629
8633
|
at: z.ZodString;
|
|
8630
8634
|
}, z.core.$strip>, z.ZodObject<{
|
|
8631
8635
|
type: z.ZodLiteral<"preview.build.started">;
|
|
8632
|
-
snapshot_id: z.
|
|
8636
|
+
snapshot_id: z.ZodUUID;
|
|
8633
8637
|
at: z.ZodString;
|
|
8634
8638
|
}, z.core.$strip>, z.ZodObject<{
|
|
8635
8639
|
type: z.ZodLiteral<"preview.build.succeeded">;
|
|
8636
|
-
snapshot_id: z.
|
|
8640
|
+
snapshot_id: z.ZodUUID;
|
|
8637
8641
|
at: z.ZodString;
|
|
8638
8642
|
}, z.core.$strip>, z.ZodObject<{
|
|
8639
8643
|
type: z.ZodLiteral<"preview.build.failed">;
|
|
8640
|
-
snapshot_id: z.
|
|
8644
|
+
snapshot_id: z.ZodUUID;
|
|
8641
8645
|
message: z.ZodString;
|
|
8642
8646
|
diagnostics: z.ZodString;
|
|
8643
8647
|
retryable: z.ZodBoolean;
|
|
@@ -8659,7 +8663,7 @@ export declare const AgentEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
8659
8663
|
at: z.ZodString;
|
|
8660
8664
|
}, z.core.$strip>, z.ZodObject<{
|
|
8661
8665
|
type: z.ZodLiteral<"run.finished">;
|
|
8662
|
-
snapshot_id: z.ZodOptional<z.
|
|
8666
|
+
snapshot_id: z.ZodOptional<z.ZodUUID>;
|
|
8663
8667
|
at: z.ZodString;
|
|
8664
8668
|
}, z.core.$strip>, z.ZodObject<{
|
|
8665
8669
|
type: z.ZodLiteral<"media_resolution.started">;
|
|
@@ -8750,10 +8754,10 @@ export declare const AgentEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
8750
8754
|
}, z.core.$strip>], "type">;
|
|
8751
8755
|
export type AgentEvent = z.infer<typeof AgentEventSchema>;
|
|
8752
8756
|
export declare const AgentEventRecordSchema: z.ZodObject<{
|
|
8753
|
-
id: z.
|
|
8757
|
+
id: z.ZodUUID;
|
|
8754
8758
|
tenant_id: z.ZodString;
|
|
8755
|
-
site_id: z.
|
|
8756
|
-
agent_run_id: z.
|
|
8759
|
+
site_id: z.ZodUUID;
|
|
8760
|
+
agent_run_id: z.ZodUUID;
|
|
8757
8761
|
sequence: z.ZodNumber;
|
|
8758
8762
|
event_type: z.ZodEnum<{
|
|
8759
8763
|
"run.started": "run.started";
|
|
@@ -8800,7 +8804,7 @@ export declare const AgentEventRecordSchema: z.ZodObject<{
|
|
|
8800
8804
|
}>;
|
|
8801
8805
|
payload: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
8802
8806
|
type: z.ZodLiteral<"run.started">;
|
|
8803
|
-
runId: z.
|
|
8807
|
+
runId: z.ZodUUID;
|
|
8804
8808
|
at: z.ZodString;
|
|
8805
8809
|
}, z.core.$strip>, z.ZodObject<{
|
|
8806
8810
|
type: z.ZodLiteral<"message.delta">;
|
|
@@ -8930,7 +8934,7 @@ export declare const AgentEventRecordSchema: z.ZodObject<{
|
|
|
8930
8934
|
}>>;
|
|
8931
8935
|
attempts: z.ZodOptional<z.ZodNumber>;
|
|
8932
8936
|
type: z.ZodLiteral<"sitemap.generated">;
|
|
8933
|
-
sitemap_id: z.
|
|
8937
|
+
sitemap_id: z.ZodUUID;
|
|
8934
8938
|
sitemap: z.ZodObject<{
|
|
8935
8939
|
site_name: z.ZodOptional<z.ZodString>;
|
|
8936
8940
|
version: z.ZodNumber;
|
|
@@ -9078,7 +9082,7 @@ export declare const AgentEventRecordSchema: z.ZodObject<{
|
|
|
9078
9082
|
at: z.ZodString;
|
|
9079
9083
|
}, z.core.$strict>, z.ZodObject<{
|
|
9080
9084
|
type: z.ZodLiteral<"sitemap.updated">;
|
|
9081
|
-
sitemap_id: z.
|
|
9085
|
+
sitemap_id: z.ZodUUID;
|
|
9082
9086
|
version: z.ZodNumber;
|
|
9083
9087
|
reason: z.ZodString;
|
|
9084
9088
|
at: z.ZodString;
|
|
@@ -9099,8 +9103,8 @@ export declare const AgentEventRecordSchema: z.ZodObject<{
|
|
|
9099
9103
|
type: z.ZodLiteral<"block.changed">;
|
|
9100
9104
|
block_id: z.ZodString;
|
|
9101
9105
|
change_type: z.ZodEnum<{
|
|
9102
|
-
move: "move";
|
|
9103
9106
|
delete: "delete";
|
|
9107
|
+
move: "move";
|
|
9104
9108
|
update: "update";
|
|
9105
9109
|
add: "add";
|
|
9106
9110
|
}>;
|
|
@@ -9280,7 +9284,7 @@ export declare const AgentEventRecordSchema: z.ZodObject<{
|
|
|
9280
9284
|
dropped_files: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
9281
9285
|
degraded_file_paths: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
9282
9286
|
degraded_page_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
9283
|
-
snapshot_id: z.ZodOptional<z.
|
|
9287
|
+
snapshot_id: z.ZodOptional<z.ZodUUID>;
|
|
9284
9288
|
code: z.ZodOptional<z.ZodString>;
|
|
9285
9289
|
message: z.ZodOptional<z.ZodString>;
|
|
9286
9290
|
diagnostics: z.ZodOptional<z.ZodString>;
|
|
@@ -9331,12 +9335,12 @@ export declare const AgentEventRecordSchema: z.ZodObject<{
|
|
|
9331
9335
|
at: z.ZodString;
|
|
9332
9336
|
}, z.core.$strip>, z.ZodObject<{
|
|
9333
9337
|
type: z.ZodLiteral<"snapshot.created">;
|
|
9334
|
-
snapshot_id: z.
|
|
9338
|
+
snapshot_id: z.ZodUUID;
|
|
9335
9339
|
manifest_hash: z.ZodString;
|
|
9336
9340
|
at: z.ZodString;
|
|
9337
9341
|
}, z.core.$strip>, z.ZodObject<{
|
|
9338
9342
|
type: z.ZodLiteral<"snapshot.finalized">;
|
|
9339
|
-
snapshot_id: z.
|
|
9343
|
+
snapshot_id: z.ZodUUID;
|
|
9340
9344
|
at: z.ZodString;
|
|
9341
9345
|
}, z.core.$strip>, z.ZodObject<{
|
|
9342
9346
|
type: z.ZodLiteral<"preview.preparing">;
|
|
@@ -9347,15 +9351,15 @@ export declare const AgentEventRecordSchema: z.ZodObject<{
|
|
|
9347
9351
|
at: z.ZodString;
|
|
9348
9352
|
}, z.core.$strip>, z.ZodObject<{
|
|
9349
9353
|
type: z.ZodLiteral<"preview.build.started">;
|
|
9350
|
-
snapshot_id: z.
|
|
9354
|
+
snapshot_id: z.ZodUUID;
|
|
9351
9355
|
at: z.ZodString;
|
|
9352
9356
|
}, z.core.$strip>, z.ZodObject<{
|
|
9353
9357
|
type: z.ZodLiteral<"preview.build.succeeded">;
|
|
9354
|
-
snapshot_id: z.
|
|
9358
|
+
snapshot_id: z.ZodUUID;
|
|
9355
9359
|
at: z.ZodString;
|
|
9356
9360
|
}, z.core.$strip>, z.ZodObject<{
|
|
9357
9361
|
type: z.ZodLiteral<"preview.build.failed">;
|
|
9358
|
-
snapshot_id: z.
|
|
9362
|
+
snapshot_id: z.ZodUUID;
|
|
9359
9363
|
message: z.ZodString;
|
|
9360
9364
|
diagnostics: z.ZodString;
|
|
9361
9365
|
retryable: z.ZodBoolean;
|
|
@@ -9377,7 +9381,7 @@ export declare const AgentEventRecordSchema: z.ZodObject<{
|
|
|
9377
9381
|
at: z.ZodString;
|
|
9378
9382
|
}, z.core.$strip>, z.ZodObject<{
|
|
9379
9383
|
type: z.ZodLiteral<"run.finished">;
|
|
9380
|
-
snapshot_id: z.ZodOptional<z.
|
|
9384
|
+
snapshot_id: z.ZodOptional<z.ZodUUID>;
|
|
9381
9385
|
at: z.ZodString;
|
|
9382
9386
|
}, z.core.$strip>, z.ZodObject<{
|
|
9383
9387
|
type: z.ZodLiteral<"media_resolution.started">;
|
|
@@ -9515,7 +9519,7 @@ export declare const AppendAgentEventRequestSchema: z.ZodObject<{
|
|
|
9515
9519
|
}>;
|
|
9516
9520
|
payload: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
9517
9521
|
type: z.ZodLiteral<"run.started">;
|
|
9518
|
-
runId: z.
|
|
9522
|
+
runId: z.ZodUUID;
|
|
9519
9523
|
at: z.ZodString;
|
|
9520
9524
|
}, z.core.$strip>, z.ZodObject<{
|
|
9521
9525
|
type: z.ZodLiteral<"message.delta">;
|
|
@@ -9645,7 +9649,7 @@ export declare const AppendAgentEventRequestSchema: z.ZodObject<{
|
|
|
9645
9649
|
}>>;
|
|
9646
9650
|
attempts: z.ZodOptional<z.ZodNumber>;
|
|
9647
9651
|
type: z.ZodLiteral<"sitemap.generated">;
|
|
9648
|
-
sitemap_id: z.
|
|
9652
|
+
sitemap_id: z.ZodUUID;
|
|
9649
9653
|
sitemap: z.ZodObject<{
|
|
9650
9654
|
site_name: z.ZodOptional<z.ZodString>;
|
|
9651
9655
|
version: z.ZodNumber;
|
|
@@ -9793,7 +9797,7 @@ export declare const AppendAgentEventRequestSchema: z.ZodObject<{
|
|
|
9793
9797
|
at: z.ZodString;
|
|
9794
9798
|
}, z.core.$strict>, z.ZodObject<{
|
|
9795
9799
|
type: z.ZodLiteral<"sitemap.updated">;
|
|
9796
|
-
sitemap_id: z.
|
|
9800
|
+
sitemap_id: z.ZodUUID;
|
|
9797
9801
|
version: z.ZodNumber;
|
|
9798
9802
|
reason: z.ZodString;
|
|
9799
9803
|
at: z.ZodString;
|
|
@@ -9814,8 +9818,8 @@ export declare const AppendAgentEventRequestSchema: z.ZodObject<{
|
|
|
9814
9818
|
type: z.ZodLiteral<"block.changed">;
|
|
9815
9819
|
block_id: z.ZodString;
|
|
9816
9820
|
change_type: z.ZodEnum<{
|
|
9817
|
-
move: "move";
|
|
9818
9821
|
delete: "delete";
|
|
9822
|
+
move: "move";
|
|
9819
9823
|
update: "update";
|
|
9820
9824
|
add: "add";
|
|
9821
9825
|
}>;
|
|
@@ -9995,7 +9999,7 @@ export declare const AppendAgentEventRequestSchema: z.ZodObject<{
|
|
|
9995
9999
|
dropped_files: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
9996
10000
|
degraded_file_paths: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
9997
10001
|
degraded_page_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
9998
|
-
snapshot_id: z.ZodOptional<z.
|
|
10002
|
+
snapshot_id: z.ZodOptional<z.ZodUUID>;
|
|
9999
10003
|
code: z.ZodOptional<z.ZodString>;
|
|
10000
10004
|
message: z.ZodOptional<z.ZodString>;
|
|
10001
10005
|
diagnostics: z.ZodOptional<z.ZodString>;
|
|
@@ -10046,12 +10050,12 @@ export declare const AppendAgentEventRequestSchema: z.ZodObject<{
|
|
|
10046
10050
|
at: z.ZodString;
|
|
10047
10051
|
}, z.core.$strip>, z.ZodObject<{
|
|
10048
10052
|
type: z.ZodLiteral<"snapshot.created">;
|
|
10049
|
-
snapshot_id: z.
|
|
10053
|
+
snapshot_id: z.ZodUUID;
|
|
10050
10054
|
manifest_hash: z.ZodString;
|
|
10051
10055
|
at: z.ZodString;
|
|
10052
10056
|
}, z.core.$strip>, z.ZodObject<{
|
|
10053
10057
|
type: z.ZodLiteral<"snapshot.finalized">;
|
|
10054
|
-
snapshot_id: z.
|
|
10058
|
+
snapshot_id: z.ZodUUID;
|
|
10055
10059
|
at: z.ZodString;
|
|
10056
10060
|
}, z.core.$strip>, z.ZodObject<{
|
|
10057
10061
|
type: z.ZodLiteral<"preview.preparing">;
|
|
@@ -10062,15 +10066,15 @@ export declare const AppendAgentEventRequestSchema: z.ZodObject<{
|
|
|
10062
10066
|
at: z.ZodString;
|
|
10063
10067
|
}, z.core.$strip>, z.ZodObject<{
|
|
10064
10068
|
type: z.ZodLiteral<"preview.build.started">;
|
|
10065
|
-
snapshot_id: z.
|
|
10069
|
+
snapshot_id: z.ZodUUID;
|
|
10066
10070
|
at: z.ZodString;
|
|
10067
10071
|
}, z.core.$strip>, z.ZodObject<{
|
|
10068
10072
|
type: z.ZodLiteral<"preview.build.succeeded">;
|
|
10069
|
-
snapshot_id: z.
|
|
10073
|
+
snapshot_id: z.ZodUUID;
|
|
10070
10074
|
at: z.ZodString;
|
|
10071
10075
|
}, z.core.$strip>, z.ZodObject<{
|
|
10072
10076
|
type: z.ZodLiteral<"preview.build.failed">;
|
|
10073
|
-
snapshot_id: z.
|
|
10077
|
+
snapshot_id: z.ZodUUID;
|
|
10074
10078
|
message: z.ZodString;
|
|
10075
10079
|
diagnostics: z.ZodString;
|
|
10076
10080
|
retryable: z.ZodBoolean;
|
|
@@ -10092,7 +10096,7 @@ export declare const AppendAgentEventRequestSchema: z.ZodObject<{
|
|
|
10092
10096
|
at: z.ZodString;
|
|
10093
10097
|
}, z.core.$strip>, z.ZodObject<{
|
|
10094
10098
|
type: z.ZodLiteral<"run.finished">;
|
|
10095
|
-
snapshot_id: z.ZodOptional<z.
|
|
10099
|
+
snapshot_id: z.ZodOptional<z.ZodUUID>;
|
|
10096
10100
|
at: z.ZodString;
|
|
10097
10101
|
}, z.core.$strip>, z.ZodObject<{
|
|
10098
10102
|
type: z.ZodLiteral<"media_resolution.started">;
|
|
@@ -10186,9 +10190,9 @@ export type AppendAgentEventRequest = z.infer<typeof AppendAgentEventRequestSche
|
|
|
10186
10190
|
export declare const AppendAgentEventResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
10187
10191
|
status: z.ZodLiteral<"appended">;
|
|
10188
10192
|
agent_run: z.ZodObject<{
|
|
10189
|
-
id: z.
|
|
10193
|
+
id: z.ZodUUID;
|
|
10190
10194
|
tenant_id: z.ZodString;
|
|
10191
|
-
site_id: z.
|
|
10195
|
+
site_id: z.ZodUUID;
|
|
10192
10196
|
agent_type: z.ZodEnum<{
|
|
10193
10197
|
clarify: "clarify";
|
|
10194
10198
|
sitemap: "sitemap";
|
|
@@ -10219,10 +10223,10 @@ export declare const AppendAgentEventResponseSchema: z.ZodDiscriminatedUnion<[z.
|
|
|
10219
10223
|
created_at: z.ZodString;
|
|
10220
10224
|
}, z.core.$strip>;
|
|
10221
10225
|
event: z.ZodObject<{
|
|
10222
|
-
id: z.
|
|
10226
|
+
id: z.ZodUUID;
|
|
10223
10227
|
tenant_id: z.ZodString;
|
|
10224
|
-
site_id: z.
|
|
10225
|
-
agent_run_id: z.
|
|
10228
|
+
site_id: z.ZodUUID;
|
|
10229
|
+
agent_run_id: z.ZodUUID;
|
|
10226
10230
|
sequence: z.ZodNumber;
|
|
10227
10231
|
event_type: z.ZodEnum<{
|
|
10228
10232
|
"run.started": "run.started";
|
|
@@ -10269,7 +10273,7 @@ export declare const AppendAgentEventResponseSchema: z.ZodDiscriminatedUnion<[z.
|
|
|
10269
10273
|
}>;
|
|
10270
10274
|
payload: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
10271
10275
|
type: z.ZodLiteral<"run.started">;
|
|
10272
|
-
runId: z.
|
|
10276
|
+
runId: z.ZodUUID;
|
|
10273
10277
|
at: z.ZodString;
|
|
10274
10278
|
}, z.core.$strip>, z.ZodObject<{
|
|
10275
10279
|
type: z.ZodLiteral<"message.delta">;
|
|
@@ -10399,7 +10403,7 @@ export declare const AppendAgentEventResponseSchema: z.ZodDiscriminatedUnion<[z.
|
|
|
10399
10403
|
}>>;
|
|
10400
10404
|
attempts: z.ZodOptional<z.ZodNumber>;
|
|
10401
10405
|
type: z.ZodLiteral<"sitemap.generated">;
|
|
10402
|
-
sitemap_id: z.
|
|
10406
|
+
sitemap_id: z.ZodUUID;
|
|
10403
10407
|
sitemap: z.ZodObject<{
|
|
10404
10408
|
site_name: z.ZodOptional<z.ZodString>;
|
|
10405
10409
|
version: z.ZodNumber;
|
|
@@ -10547,7 +10551,7 @@ export declare const AppendAgentEventResponseSchema: z.ZodDiscriminatedUnion<[z.
|
|
|
10547
10551
|
at: z.ZodString;
|
|
10548
10552
|
}, z.core.$strict>, z.ZodObject<{
|
|
10549
10553
|
type: z.ZodLiteral<"sitemap.updated">;
|
|
10550
|
-
sitemap_id: z.
|
|
10554
|
+
sitemap_id: z.ZodUUID;
|
|
10551
10555
|
version: z.ZodNumber;
|
|
10552
10556
|
reason: z.ZodString;
|
|
10553
10557
|
at: z.ZodString;
|
|
@@ -10568,8 +10572,8 @@ export declare const AppendAgentEventResponseSchema: z.ZodDiscriminatedUnion<[z.
|
|
|
10568
10572
|
type: z.ZodLiteral<"block.changed">;
|
|
10569
10573
|
block_id: z.ZodString;
|
|
10570
10574
|
change_type: z.ZodEnum<{
|
|
10571
|
-
move: "move";
|
|
10572
10575
|
delete: "delete";
|
|
10576
|
+
move: "move";
|
|
10573
10577
|
update: "update";
|
|
10574
10578
|
add: "add";
|
|
10575
10579
|
}>;
|
|
@@ -10749,7 +10753,7 @@ export declare const AppendAgentEventResponseSchema: z.ZodDiscriminatedUnion<[z.
|
|
|
10749
10753
|
dropped_files: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
10750
10754
|
degraded_file_paths: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
10751
10755
|
degraded_page_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
10752
|
-
snapshot_id: z.ZodOptional<z.
|
|
10756
|
+
snapshot_id: z.ZodOptional<z.ZodUUID>;
|
|
10753
10757
|
code: z.ZodOptional<z.ZodString>;
|
|
10754
10758
|
message: z.ZodOptional<z.ZodString>;
|
|
10755
10759
|
diagnostics: z.ZodOptional<z.ZodString>;
|
|
@@ -10800,12 +10804,12 @@ export declare const AppendAgentEventResponseSchema: z.ZodDiscriminatedUnion<[z.
|
|
|
10800
10804
|
at: z.ZodString;
|
|
10801
10805
|
}, z.core.$strip>, z.ZodObject<{
|
|
10802
10806
|
type: z.ZodLiteral<"snapshot.created">;
|
|
10803
|
-
snapshot_id: z.
|
|
10807
|
+
snapshot_id: z.ZodUUID;
|
|
10804
10808
|
manifest_hash: z.ZodString;
|
|
10805
10809
|
at: z.ZodString;
|
|
10806
10810
|
}, z.core.$strip>, z.ZodObject<{
|
|
10807
10811
|
type: z.ZodLiteral<"snapshot.finalized">;
|
|
10808
|
-
snapshot_id: z.
|
|
10812
|
+
snapshot_id: z.ZodUUID;
|
|
10809
10813
|
at: z.ZodString;
|
|
10810
10814
|
}, z.core.$strip>, z.ZodObject<{
|
|
10811
10815
|
type: z.ZodLiteral<"preview.preparing">;
|
|
@@ -10816,15 +10820,15 @@ export declare const AppendAgentEventResponseSchema: z.ZodDiscriminatedUnion<[z.
|
|
|
10816
10820
|
at: z.ZodString;
|
|
10817
10821
|
}, z.core.$strip>, z.ZodObject<{
|
|
10818
10822
|
type: z.ZodLiteral<"preview.build.started">;
|
|
10819
|
-
snapshot_id: z.
|
|
10823
|
+
snapshot_id: z.ZodUUID;
|
|
10820
10824
|
at: z.ZodString;
|
|
10821
10825
|
}, z.core.$strip>, z.ZodObject<{
|
|
10822
10826
|
type: z.ZodLiteral<"preview.build.succeeded">;
|
|
10823
|
-
snapshot_id: z.
|
|
10827
|
+
snapshot_id: z.ZodUUID;
|
|
10824
10828
|
at: z.ZodString;
|
|
10825
10829
|
}, z.core.$strip>, z.ZodObject<{
|
|
10826
10830
|
type: z.ZodLiteral<"preview.build.failed">;
|
|
10827
|
-
snapshot_id: z.
|
|
10831
|
+
snapshot_id: z.ZodUUID;
|
|
10828
10832
|
message: z.ZodString;
|
|
10829
10833
|
diagnostics: z.ZodString;
|
|
10830
10834
|
retryable: z.ZodBoolean;
|
|
@@ -10846,7 +10850,7 @@ export declare const AppendAgentEventResponseSchema: z.ZodDiscriminatedUnion<[z.
|
|
|
10846
10850
|
at: z.ZodString;
|
|
10847
10851
|
}, z.core.$strip>, z.ZodObject<{
|
|
10848
10852
|
type: z.ZodLiteral<"run.finished">;
|
|
10849
|
-
snapshot_id: z.ZodOptional<z.
|
|
10853
|
+
snapshot_id: z.ZodOptional<z.ZodUUID>;
|
|
10850
10854
|
at: z.ZodString;
|
|
10851
10855
|
}, z.core.$strip>, z.ZodObject<{
|
|
10852
10856
|
type: z.ZodLiteral<"media_resolution.started">;
|
|
@@ -10941,9 +10945,9 @@ export declare const AppendAgentEventResponseSchema: z.ZodDiscriminatedUnion<[z.
|
|
|
10941
10945
|
}, z.core.$strip>, z.ZodObject<{
|
|
10942
10946
|
status: z.ZodLiteral<"duplicate_ignored">;
|
|
10943
10947
|
agent_run: z.ZodObject<{
|
|
10944
|
-
id: z.
|
|
10948
|
+
id: z.ZodUUID;
|
|
10945
10949
|
tenant_id: z.ZodString;
|
|
10946
|
-
site_id: z.
|
|
10950
|
+
site_id: z.ZodUUID;
|
|
10947
10951
|
agent_type: z.ZodEnum<{
|
|
10948
10952
|
clarify: "clarify";
|
|
10949
10953
|
sitemap: "sitemap";
|
|
@@ -10974,10 +10978,10 @@ export declare const AppendAgentEventResponseSchema: z.ZodDiscriminatedUnion<[z.
|
|
|
10974
10978
|
created_at: z.ZodString;
|
|
10975
10979
|
}, z.core.$strip>;
|
|
10976
10980
|
event: z.ZodObject<{
|
|
10977
|
-
id: z.
|
|
10981
|
+
id: z.ZodUUID;
|
|
10978
10982
|
tenant_id: z.ZodString;
|
|
10979
|
-
site_id: z.
|
|
10980
|
-
agent_run_id: z.
|
|
10983
|
+
site_id: z.ZodUUID;
|
|
10984
|
+
agent_run_id: z.ZodUUID;
|
|
10981
10985
|
sequence: z.ZodNumber;
|
|
10982
10986
|
event_type: z.ZodEnum<{
|
|
10983
10987
|
"run.started": "run.started";
|
|
@@ -11024,7 +11028,7 @@ export declare const AppendAgentEventResponseSchema: z.ZodDiscriminatedUnion<[z.
|
|
|
11024
11028
|
}>;
|
|
11025
11029
|
payload: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
11026
11030
|
type: z.ZodLiteral<"run.started">;
|
|
11027
|
-
runId: z.
|
|
11031
|
+
runId: z.ZodUUID;
|
|
11028
11032
|
at: z.ZodString;
|
|
11029
11033
|
}, z.core.$strip>, z.ZodObject<{
|
|
11030
11034
|
type: z.ZodLiteral<"message.delta">;
|
|
@@ -11154,7 +11158,7 @@ export declare const AppendAgentEventResponseSchema: z.ZodDiscriminatedUnion<[z.
|
|
|
11154
11158
|
}>>;
|
|
11155
11159
|
attempts: z.ZodOptional<z.ZodNumber>;
|
|
11156
11160
|
type: z.ZodLiteral<"sitemap.generated">;
|
|
11157
|
-
sitemap_id: z.
|
|
11161
|
+
sitemap_id: z.ZodUUID;
|
|
11158
11162
|
sitemap: z.ZodObject<{
|
|
11159
11163
|
site_name: z.ZodOptional<z.ZodString>;
|
|
11160
11164
|
version: z.ZodNumber;
|
|
@@ -11302,7 +11306,7 @@ export declare const AppendAgentEventResponseSchema: z.ZodDiscriminatedUnion<[z.
|
|
|
11302
11306
|
at: z.ZodString;
|
|
11303
11307
|
}, z.core.$strict>, z.ZodObject<{
|
|
11304
11308
|
type: z.ZodLiteral<"sitemap.updated">;
|
|
11305
|
-
sitemap_id: z.
|
|
11309
|
+
sitemap_id: z.ZodUUID;
|
|
11306
11310
|
version: z.ZodNumber;
|
|
11307
11311
|
reason: z.ZodString;
|
|
11308
11312
|
at: z.ZodString;
|
|
@@ -11323,8 +11327,8 @@ export declare const AppendAgentEventResponseSchema: z.ZodDiscriminatedUnion<[z.
|
|
|
11323
11327
|
type: z.ZodLiteral<"block.changed">;
|
|
11324
11328
|
block_id: z.ZodString;
|
|
11325
11329
|
change_type: z.ZodEnum<{
|
|
11326
|
-
move: "move";
|
|
11327
11330
|
delete: "delete";
|
|
11331
|
+
move: "move";
|
|
11328
11332
|
update: "update";
|
|
11329
11333
|
add: "add";
|
|
11330
11334
|
}>;
|
|
@@ -11504,7 +11508,7 @@ export declare const AppendAgentEventResponseSchema: z.ZodDiscriminatedUnion<[z.
|
|
|
11504
11508
|
dropped_files: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
11505
11509
|
degraded_file_paths: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
11506
11510
|
degraded_page_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
11507
|
-
snapshot_id: z.ZodOptional<z.
|
|
11511
|
+
snapshot_id: z.ZodOptional<z.ZodUUID>;
|
|
11508
11512
|
code: z.ZodOptional<z.ZodString>;
|
|
11509
11513
|
message: z.ZodOptional<z.ZodString>;
|
|
11510
11514
|
diagnostics: z.ZodOptional<z.ZodString>;
|
|
@@ -11555,12 +11559,12 @@ export declare const AppendAgentEventResponseSchema: z.ZodDiscriminatedUnion<[z.
|
|
|
11555
11559
|
at: z.ZodString;
|
|
11556
11560
|
}, z.core.$strip>, z.ZodObject<{
|
|
11557
11561
|
type: z.ZodLiteral<"snapshot.created">;
|
|
11558
|
-
snapshot_id: z.
|
|
11562
|
+
snapshot_id: z.ZodUUID;
|
|
11559
11563
|
manifest_hash: z.ZodString;
|
|
11560
11564
|
at: z.ZodString;
|
|
11561
11565
|
}, z.core.$strip>, z.ZodObject<{
|
|
11562
11566
|
type: z.ZodLiteral<"snapshot.finalized">;
|
|
11563
|
-
snapshot_id: z.
|
|
11567
|
+
snapshot_id: z.ZodUUID;
|
|
11564
11568
|
at: z.ZodString;
|
|
11565
11569
|
}, z.core.$strip>, z.ZodObject<{
|
|
11566
11570
|
type: z.ZodLiteral<"preview.preparing">;
|
|
@@ -11571,15 +11575,15 @@ export declare const AppendAgentEventResponseSchema: z.ZodDiscriminatedUnion<[z.
|
|
|
11571
11575
|
at: z.ZodString;
|
|
11572
11576
|
}, z.core.$strip>, z.ZodObject<{
|
|
11573
11577
|
type: z.ZodLiteral<"preview.build.started">;
|
|
11574
|
-
snapshot_id: z.
|
|
11578
|
+
snapshot_id: z.ZodUUID;
|
|
11575
11579
|
at: z.ZodString;
|
|
11576
11580
|
}, z.core.$strip>, z.ZodObject<{
|
|
11577
11581
|
type: z.ZodLiteral<"preview.build.succeeded">;
|
|
11578
|
-
snapshot_id: z.
|
|
11582
|
+
snapshot_id: z.ZodUUID;
|
|
11579
11583
|
at: z.ZodString;
|
|
11580
11584
|
}, z.core.$strip>, z.ZodObject<{
|
|
11581
11585
|
type: z.ZodLiteral<"preview.build.failed">;
|
|
11582
|
-
snapshot_id: z.
|
|
11586
|
+
snapshot_id: z.ZodUUID;
|
|
11583
11587
|
message: z.ZodString;
|
|
11584
11588
|
diagnostics: z.ZodString;
|
|
11585
11589
|
retryable: z.ZodBoolean;
|
|
@@ -11601,7 +11605,7 @@ export declare const AppendAgentEventResponseSchema: z.ZodDiscriminatedUnion<[z.
|
|
|
11601
11605
|
at: z.ZodString;
|
|
11602
11606
|
}, z.core.$strip>, z.ZodObject<{
|
|
11603
11607
|
type: z.ZodLiteral<"run.finished">;
|
|
11604
|
-
snapshot_id: z.ZodOptional<z.
|
|
11608
|
+
snapshot_id: z.ZodOptional<z.ZodUUID>;
|
|
11605
11609
|
at: z.ZodString;
|
|
11606
11610
|
}, z.core.$strip>, z.ZodObject<{
|
|
11607
11611
|
type: z.ZodLiteral<"media_resolution.started">;
|
|
@@ -11697,10 +11701,10 @@ export declare const AppendAgentEventResponseSchema: z.ZodDiscriminatedUnion<[z.
|
|
|
11697
11701
|
export type AppendAgentEventResponse = z.infer<typeof AppendAgentEventResponseSchema>;
|
|
11698
11702
|
export declare const ListAgentEventsResponseSchema: z.ZodObject<{
|
|
11699
11703
|
events: z.ZodArray<z.ZodObject<{
|
|
11700
|
-
id: z.
|
|
11704
|
+
id: z.ZodUUID;
|
|
11701
11705
|
tenant_id: z.ZodString;
|
|
11702
|
-
site_id: z.
|
|
11703
|
-
agent_run_id: z.
|
|
11706
|
+
site_id: z.ZodUUID;
|
|
11707
|
+
agent_run_id: z.ZodUUID;
|
|
11704
11708
|
sequence: z.ZodNumber;
|
|
11705
11709
|
event_type: z.ZodEnum<{
|
|
11706
11710
|
"run.started": "run.started";
|
|
@@ -11747,7 +11751,7 @@ export declare const ListAgentEventsResponseSchema: z.ZodObject<{
|
|
|
11747
11751
|
}>;
|
|
11748
11752
|
payload: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
11749
11753
|
type: z.ZodLiteral<"run.started">;
|
|
11750
|
-
runId: z.
|
|
11754
|
+
runId: z.ZodUUID;
|
|
11751
11755
|
at: z.ZodString;
|
|
11752
11756
|
}, z.core.$strip>, z.ZodObject<{
|
|
11753
11757
|
type: z.ZodLiteral<"message.delta">;
|
|
@@ -11877,7 +11881,7 @@ export declare const ListAgentEventsResponseSchema: z.ZodObject<{
|
|
|
11877
11881
|
}>>;
|
|
11878
11882
|
attempts: z.ZodOptional<z.ZodNumber>;
|
|
11879
11883
|
type: z.ZodLiteral<"sitemap.generated">;
|
|
11880
|
-
sitemap_id: z.
|
|
11884
|
+
sitemap_id: z.ZodUUID;
|
|
11881
11885
|
sitemap: z.ZodObject<{
|
|
11882
11886
|
site_name: z.ZodOptional<z.ZodString>;
|
|
11883
11887
|
version: z.ZodNumber;
|
|
@@ -12025,7 +12029,7 @@ export declare const ListAgentEventsResponseSchema: z.ZodObject<{
|
|
|
12025
12029
|
at: z.ZodString;
|
|
12026
12030
|
}, z.core.$strict>, z.ZodObject<{
|
|
12027
12031
|
type: z.ZodLiteral<"sitemap.updated">;
|
|
12028
|
-
sitemap_id: z.
|
|
12032
|
+
sitemap_id: z.ZodUUID;
|
|
12029
12033
|
version: z.ZodNumber;
|
|
12030
12034
|
reason: z.ZodString;
|
|
12031
12035
|
at: z.ZodString;
|
|
@@ -12046,8 +12050,8 @@ export declare const ListAgentEventsResponseSchema: z.ZodObject<{
|
|
|
12046
12050
|
type: z.ZodLiteral<"block.changed">;
|
|
12047
12051
|
block_id: z.ZodString;
|
|
12048
12052
|
change_type: z.ZodEnum<{
|
|
12049
|
-
move: "move";
|
|
12050
12053
|
delete: "delete";
|
|
12054
|
+
move: "move";
|
|
12051
12055
|
update: "update";
|
|
12052
12056
|
add: "add";
|
|
12053
12057
|
}>;
|
|
@@ -12227,7 +12231,7 @@ export declare const ListAgentEventsResponseSchema: z.ZodObject<{
|
|
|
12227
12231
|
dropped_files: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
12228
12232
|
degraded_file_paths: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
12229
12233
|
degraded_page_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
12230
|
-
snapshot_id: z.ZodOptional<z.
|
|
12234
|
+
snapshot_id: z.ZodOptional<z.ZodUUID>;
|
|
12231
12235
|
code: z.ZodOptional<z.ZodString>;
|
|
12232
12236
|
message: z.ZodOptional<z.ZodString>;
|
|
12233
12237
|
diagnostics: z.ZodOptional<z.ZodString>;
|
|
@@ -12278,12 +12282,12 @@ export declare const ListAgentEventsResponseSchema: z.ZodObject<{
|
|
|
12278
12282
|
at: z.ZodString;
|
|
12279
12283
|
}, z.core.$strip>, z.ZodObject<{
|
|
12280
12284
|
type: z.ZodLiteral<"snapshot.created">;
|
|
12281
|
-
snapshot_id: z.
|
|
12285
|
+
snapshot_id: z.ZodUUID;
|
|
12282
12286
|
manifest_hash: z.ZodString;
|
|
12283
12287
|
at: z.ZodString;
|
|
12284
12288
|
}, z.core.$strip>, z.ZodObject<{
|
|
12285
12289
|
type: z.ZodLiteral<"snapshot.finalized">;
|
|
12286
|
-
snapshot_id: z.
|
|
12290
|
+
snapshot_id: z.ZodUUID;
|
|
12287
12291
|
at: z.ZodString;
|
|
12288
12292
|
}, z.core.$strip>, z.ZodObject<{
|
|
12289
12293
|
type: z.ZodLiteral<"preview.preparing">;
|
|
@@ -12294,15 +12298,15 @@ export declare const ListAgentEventsResponseSchema: z.ZodObject<{
|
|
|
12294
12298
|
at: z.ZodString;
|
|
12295
12299
|
}, z.core.$strip>, z.ZodObject<{
|
|
12296
12300
|
type: z.ZodLiteral<"preview.build.started">;
|
|
12297
|
-
snapshot_id: z.
|
|
12301
|
+
snapshot_id: z.ZodUUID;
|
|
12298
12302
|
at: z.ZodString;
|
|
12299
12303
|
}, z.core.$strip>, z.ZodObject<{
|
|
12300
12304
|
type: z.ZodLiteral<"preview.build.succeeded">;
|
|
12301
|
-
snapshot_id: z.
|
|
12305
|
+
snapshot_id: z.ZodUUID;
|
|
12302
12306
|
at: z.ZodString;
|
|
12303
12307
|
}, z.core.$strip>, z.ZodObject<{
|
|
12304
12308
|
type: z.ZodLiteral<"preview.build.failed">;
|
|
12305
|
-
snapshot_id: z.
|
|
12309
|
+
snapshot_id: z.ZodUUID;
|
|
12306
12310
|
message: z.ZodString;
|
|
12307
12311
|
diagnostics: z.ZodString;
|
|
12308
12312
|
retryable: z.ZodBoolean;
|
|
@@ -12324,7 +12328,7 @@ export declare const ListAgentEventsResponseSchema: z.ZodObject<{
|
|
|
12324
12328
|
at: z.ZodString;
|
|
12325
12329
|
}, z.core.$strip>, z.ZodObject<{
|
|
12326
12330
|
type: z.ZodLiteral<"run.finished">;
|
|
12327
|
-
snapshot_id: z.ZodOptional<z.
|
|
12331
|
+
snapshot_id: z.ZodOptional<z.ZodUUID>;
|
|
12328
12332
|
at: z.ZodString;
|
|
12329
12333
|
}, z.core.$strip>, z.ZodObject<{
|
|
12330
12334
|
type: z.ZodLiteral<"media_resolution.started">;
|
|
@@ -13279,7 +13283,7 @@ export declare const InboundUserMessageSchema: z.ZodObject<{
|
|
|
13279
13283
|
}, z.core.$strip>;
|
|
13280
13284
|
export type InboundUserMessage = z.infer<typeof InboundUserMessageSchema>;
|
|
13281
13285
|
export declare const StartWorkspaceRunRequestSchema: z.ZodObject<{
|
|
13282
|
-
base_snapshot_id: z.ZodOptional<z.
|
|
13286
|
+
base_snapshot_id: z.ZodOptional<z.ZodUUID>;
|
|
13283
13287
|
message: z.ZodOptional<z.ZodObject<{
|
|
13284
13288
|
id: z.ZodString;
|
|
13285
13289
|
metadata: z.ZodOptional<z.ZodUnknown>;
|
|
@@ -13345,8 +13349,8 @@ export declare const StartWorkspaceRunRequestSchema: z.ZodObject<{
|
|
|
13345
13349
|
export type StartWorkspaceRunRequest = z.infer<typeof StartWorkspaceRunRequestSchema>;
|
|
13346
13350
|
export declare const WorkspaceSocketDescriptorSchema: z.ZodObject<{
|
|
13347
13351
|
path: z.ZodString;
|
|
13348
|
-
run_id: z.
|
|
13349
|
-
base_snapshot_id: z.
|
|
13352
|
+
run_id: z.ZodUUID;
|
|
13353
|
+
base_snapshot_id: z.ZodUUID;
|
|
13350
13354
|
run_kind: z.ZodEnum<{
|
|
13351
13355
|
initial_generation: "initial_generation";
|
|
13352
13356
|
iteration: "iteration";
|
|
@@ -13355,9 +13359,9 @@ export declare const WorkspaceSocketDescriptorSchema: z.ZodObject<{
|
|
|
13355
13359
|
export type WorkspaceSocketDescriptor = z.infer<typeof WorkspaceSocketDescriptorSchema>;
|
|
13356
13360
|
export declare const StartWorkspaceRunResponseSchema: z.ZodObject<{
|
|
13357
13361
|
agent_run: z.ZodObject<{
|
|
13358
|
-
id: z.
|
|
13362
|
+
id: z.ZodUUID;
|
|
13359
13363
|
tenant_id: z.ZodString;
|
|
13360
|
-
site_id: z.
|
|
13364
|
+
site_id: z.ZodUUID;
|
|
13361
13365
|
agent_type: z.ZodEnum<{
|
|
13362
13366
|
clarify: "clarify";
|
|
13363
13367
|
sitemap: "sitemap";
|
|
@@ -13389,8 +13393,8 @@ export declare const StartWorkspaceRunResponseSchema: z.ZodObject<{
|
|
|
13389
13393
|
}, z.core.$strip>;
|
|
13390
13394
|
websocket: z.ZodObject<{
|
|
13391
13395
|
path: z.ZodString;
|
|
13392
|
-
run_id: z.
|
|
13393
|
-
base_snapshot_id: z.
|
|
13396
|
+
run_id: z.ZodUUID;
|
|
13397
|
+
base_snapshot_id: z.ZodUUID;
|
|
13394
13398
|
run_kind: z.ZodEnum<{
|
|
13395
13399
|
initial_generation: "initial_generation";
|
|
13396
13400
|
iteration: "iteration";
|
|
@@ -13409,9 +13413,9 @@ export type StartWorkspaceRunResponse = z.infer<typeof StartWorkspaceRunResponse
|
|
|
13409
13413
|
*/
|
|
13410
13414
|
export declare const LatestWorkspaceRunResponseSchema: z.ZodObject<{
|
|
13411
13415
|
agent_run: z.ZodObject<{
|
|
13412
|
-
id: z.
|
|
13416
|
+
id: z.ZodUUID;
|
|
13413
13417
|
tenant_id: z.ZodString;
|
|
13414
|
-
site_id: z.
|
|
13418
|
+
site_id: z.ZodUUID;
|
|
13415
13419
|
agent_type: z.ZodEnum<{
|
|
13416
13420
|
clarify: "clarify";
|
|
13417
13421
|
sitemap: "sitemap";
|
|
@@ -13458,9 +13462,9 @@ export declare const LatestAgentRunQuerySchema: z.ZodObject<{
|
|
|
13458
13462
|
}, z.core.$strip>;
|
|
13459
13463
|
export declare const LatestAgentRunResponseSchema: z.ZodObject<{
|
|
13460
13464
|
agent_run: z.ZodObject<{
|
|
13461
|
-
id: z.
|
|
13465
|
+
id: z.ZodUUID;
|
|
13462
13466
|
tenant_id: z.ZodString;
|
|
13463
|
-
site_id: z.
|
|
13467
|
+
site_id: z.ZodUUID;
|
|
13464
13468
|
agent_type: z.ZodEnum<{
|
|
13465
13469
|
clarify: "clarify";
|
|
13466
13470
|
sitemap: "sitemap";
|
|
@@ -13494,6 +13498,7 @@ export declare const LatestAgentRunResponseSchema: z.ZodObject<{
|
|
|
13494
13498
|
export type LatestAgentRunQuery = z.infer<typeof LatestAgentRunQuerySchema>;
|
|
13495
13499
|
export type LatestAgentRunResponse = z.infer<typeof LatestAgentRunResponseSchema>;
|
|
13496
13500
|
export declare const WorkspaceWebSocketMessageTypeSchema: z.ZodEnum<{
|
|
13501
|
+
"client.resource.operation.create": "client.resource.operation.create";
|
|
13497
13502
|
"server.error": "server.error";
|
|
13498
13503
|
"workspace.plan.created": "workspace.plan.created";
|
|
13499
13504
|
"workspace.worker.updated": "workspace.worker.updated";
|
|
@@ -13539,8 +13544,8 @@ export declare const WorkspaceSelectedComponentSchema: z.ZodObject<{
|
|
|
13539
13544
|
export declare const WorkspaceClientMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
13540
13545
|
id: z.ZodString;
|
|
13541
13546
|
tenant_id: z.ZodString;
|
|
13542
|
-
site_id: z.
|
|
13543
|
-
run_id: z.ZodOptional<z.
|
|
13547
|
+
site_id: z.ZodUUID;
|
|
13548
|
+
run_id: z.ZodOptional<z.ZodUUID>;
|
|
13544
13549
|
correlation_id: z.ZodOptional<z.ZodString>;
|
|
13545
13550
|
seq: z.ZodOptional<z.ZodNumber>;
|
|
13546
13551
|
sent_at: z.ZodString;
|
|
@@ -13622,26 +13627,26 @@ export declare const WorkspaceClientMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
13622
13627
|
}, z.core.$strip>]>>;
|
|
13623
13628
|
role: z.ZodLiteral<"user">;
|
|
13624
13629
|
}, z.core.$strip>;
|
|
13625
|
-
base_snapshot_id: z.ZodOptional<z.
|
|
13630
|
+
base_snapshot_id: z.ZodOptional<z.ZodUUID>;
|
|
13626
13631
|
}, z.core.$strip>;
|
|
13627
13632
|
}, z.core.$strip>, z.ZodObject<{
|
|
13628
13633
|
id: z.ZodString;
|
|
13629
13634
|
tenant_id: z.ZodString;
|
|
13630
|
-
site_id: z.
|
|
13631
|
-
run_id: z.ZodOptional<z.
|
|
13635
|
+
site_id: z.ZodUUID;
|
|
13636
|
+
run_id: z.ZodOptional<z.ZodUUID>;
|
|
13632
13637
|
correlation_id: z.ZodOptional<z.ZodString>;
|
|
13633
13638
|
seq: z.ZodOptional<z.ZodNumber>;
|
|
13634
13639
|
sent_at: z.ZodString;
|
|
13635
13640
|
type: z.ZodLiteral<"client.run.cancel">;
|
|
13636
13641
|
payload: z.ZodObject<{
|
|
13637
|
-
run_id: z.
|
|
13642
|
+
run_id: z.ZodUUID;
|
|
13638
13643
|
reason: z.ZodOptional<z.ZodString>;
|
|
13639
13644
|
}, z.core.$strip>;
|
|
13640
13645
|
}, z.core.$strip>, z.ZodObject<{
|
|
13641
13646
|
id: z.ZodString;
|
|
13642
13647
|
tenant_id: z.ZodString;
|
|
13643
|
-
site_id: z.
|
|
13644
|
-
run_id: z.ZodOptional<z.
|
|
13648
|
+
site_id: z.ZodUUID;
|
|
13649
|
+
run_id: z.ZodOptional<z.ZodUUID>;
|
|
13645
13650
|
correlation_id: z.ZodOptional<z.ZodString>;
|
|
13646
13651
|
seq: z.ZodOptional<z.ZodNumber>;
|
|
13647
13652
|
sent_at: z.ZodString;
|
|
@@ -13654,27 +13659,379 @@ export declare const WorkspaceClientMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
13654
13659
|
}>;
|
|
13655
13660
|
reason: z.ZodOptional<z.ZodString>;
|
|
13656
13661
|
}, z.core.$strip>;
|
|
13657
|
-
}, 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">;
|
|
13658
14015
|
export type WorkspaceClientMessage = z.infer<typeof WorkspaceClientMessageSchema>;
|
|
13659
14016
|
export type WorkspaceSelectedComponent = z.infer<typeof WorkspaceSelectedComponentSchema>;
|
|
13660
14017
|
export declare const WorkspaceServerMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
13661
14018
|
id: z.ZodString;
|
|
13662
14019
|
tenant_id: z.ZodString;
|
|
13663
|
-
site_id: z.
|
|
13664
|
-
run_id: z.ZodOptional<z.
|
|
14020
|
+
site_id: z.ZodUUID;
|
|
14021
|
+
run_id: z.ZodOptional<z.ZodUUID>;
|
|
13665
14022
|
correlation_id: z.ZodOptional<z.ZodString>;
|
|
13666
14023
|
seq: z.ZodOptional<z.ZodNumber>;
|
|
13667
14024
|
sent_at: z.ZodString;
|
|
13668
14025
|
type: z.ZodLiteral<"server.run.started">;
|
|
13669
14026
|
payload: z.ZodObject<{
|
|
13670
|
-
run_id: z.
|
|
14027
|
+
run_id: z.ZodUUID;
|
|
13671
14028
|
agent_type: z.ZodLiteral<"workspace">;
|
|
13672
14029
|
}, z.core.$strip>;
|
|
13673
14030
|
}, z.core.$strip>, z.ZodObject<{
|
|
13674
14031
|
id: z.ZodString;
|
|
13675
14032
|
tenant_id: z.ZodString;
|
|
13676
|
-
site_id: z.
|
|
13677
|
-
run_id: z.ZodOptional<z.
|
|
14033
|
+
site_id: z.ZodUUID;
|
|
14034
|
+
run_id: z.ZodOptional<z.ZodUUID>;
|
|
13678
14035
|
correlation_id: z.ZodOptional<z.ZodString>;
|
|
13679
14036
|
seq: z.ZodOptional<z.ZodNumber>;
|
|
13680
14037
|
sent_at: z.ZodString;
|
|
@@ -13742,8 +14099,8 @@ export declare const WorkspaceServerMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
13742
14099
|
}, z.core.$strip>, z.ZodObject<{
|
|
13743
14100
|
id: z.ZodString;
|
|
13744
14101
|
tenant_id: z.ZodString;
|
|
13745
|
-
site_id: z.
|
|
13746
|
-
run_id: z.ZodOptional<z.
|
|
14102
|
+
site_id: z.ZodUUID;
|
|
14103
|
+
run_id: z.ZodOptional<z.ZodUUID>;
|
|
13747
14104
|
correlation_id: z.ZodOptional<z.ZodString>;
|
|
13748
14105
|
seq: z.ZodOptional<z.ZodNumber>;
|
|
13749
14106
|
sent_at: z.ZodString;
|
|
@@ -13813,8 +14170,8 @@ export declare const WorkspaceServerMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
13813
14170
|
}, z.core.$strip>, z.ZodObject<{
|
|
13814
14171
|
id: z.ZodString;
|
|
13815
14172
|
tenant_id: z.ZodString;
|
|
13816
|
-
site_id: z.
|
|
13817
|
-
run_id: z.ZodOptional<z.
|
|
14173
|
+
site_id: z.ZodUUID;
|
|
14174
|
+
run_id: z.ZodOptional<z.ZodUUID>;
|
|
13818
14175
|
correlation_id: z.ZodOptional<z.ZodString>;
|
|
13819
14176
|
seq: z.ZodOptional<z.ZodNumber>;
|
|
13820
14177
|
sent_at: z.ZodString;
|
|
@@ -13827,8 +14184,8 @@ export declare const WorkspaceServerMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
13827
14184
|
}, z.core.$strip>, z.ZodObject<{
|
|
13828
14185
|
id: z.ZodString;
|
|
13829
14186
|
tenant_id: z.ZodString;
|
|
13830
|
-
site_id: z.
|
|
13831
|
-
run_id: z.ZodOptional<z.
|
|
14187
|
+
site_id: z.ZodUUID;
|
|
14188
|
+
run_id: z.ZodOptional<z.ZodUUID>;
|
|
13832
14189
|
correlation_id: z.ZodOptional<z.ZodString>;
|
|
13833
14190
|
seq: z.ZodOptional<z.ZodNumber>;
|
|
13834
14191
|
sent_at: z.ZodString;
|
|
@@ -13841,8 +14198,8 @@ export declare const WorkspaceServerMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
13841
14198
|
}, z.core.$strip>, z.ZodObject<{
|
|
13842
14199
|
id: z.ZodString;
|
|
13843
14200
|
tenant_id: z.ZodString;
|
|
13844
|
-
site_id: z.
|
|
13845
|
-
run_id: z.ZodOptional<z.
|
|
14201
|
+
site_id: z.ZodUUID;
|
|
14202
|
+
run_id: z.ZodOptional<z.ZodUUID>;
|
|
13846
14203
|
correlation_id: z.ZodOptional<z.ZodString>;
|
|
13847
14204
|
seq: z.ZodOptional<z.ZodNumber>;
|
|
13848
14205
|
sent_at: z.ZodString;
|
|
@@ -13858,13 +14215,13 @@ export declare const WorkspaceServerMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
13858
14215
|
mixed: "mixed";
|
|
13859
14216
|
advisor: "advisor";
|
|
13860
14217
|
}>;
|
|
13861
|
-
run_id: z.
|
|
14218
|
+
run_id: z.ZodUUID;
|
|
13862
14219
|
}, z.core.$strict>;
|
|
13863
14220
|
}, z.core.$strip>, z.ZodObject<{
|
|
13864
14221
|
id: z.ZodString;
|
|
13865
14222
|
tenant_id: z.ZodString;
|
|
13866
|
-
site_id: z.
|
|
13867
|
-
run_id: z.ZodOptional<z.
|
|
14223
|
+
site_id: z.ZodUUID;
|
|
14224
|
+
run_id: z.ZodOptional<z.ZodUUID>;
|
|
13868
14225
|
correlation_id: z.ZodOptional<z.ZodString>;
|
|
13869
14226
|
seq: z.ZodOptional<z.ZodNumber>;
|
|
13870
14227
|
sent_at: z.ZodString;
|
|
@@ -13963,8 +14320,8 @@ export declare const WorkspaceServerMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
13963
14320
|
}, z.core.$strip>, z.ZodObject<{
|
|
13964
14321
|
id: z.ZodString;
|
|
13965
14322
|
tenant_id: z.ZodString;
|
|
13966
|
-
site_id: z.
|
|
13967
|
-
run_id: z.ZodOptional<z.
|
|
14323
|
+
site_id: z.ZodUUID;
|
|
14324
|
+
run_id: z.ZodOptional<z.ZodUUID>;
|
|
13968
14325
|
correlation_id: z.ZodOptional<z.ZodString>;
|
|
13969
14326
|
seq: z.ZodOptional<z.ZodNumber>;
|
|
13970
14327
|
sent_at: z.ZodString;
|
|
@@ -14005,8 +14362,8 @@ export declare const WorkspaceServerMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
14005
14362
|
}, z.core.$strip>, z.ZodObject<{
|
|
14006
14363
|
id: z.ZodString;
|
|
14007
14364
|
tenant_id: z.ZodString;
|
|
14008
|
-
site_id: z.
|
|
14009
|
-
run_id: z.ZodOptional<z.
|
|
14365
|
+
site_id: z.ZodUUID;
|
|
14366
|
+
run_id: z.ZodOptional<z.ZodUUID>;
|
|
14010
14367
|
correlation_id: z.ZodOptional<z.ZodString>;
|
|
14011
14368
|
seq: z.ZodOptional<z.ZodNumber>;
|
|
14012
14369
|
sent_at: z.ZodString;
|
|
@@ -14036,8 +14393,8 @@ export declare const WorkspaceServerMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
14036
14393
|
}, z.core.$strip>, z.ZodObject<{
|
|
14037
14394
|
id: z.ZodString;
|
|
14038
14395
|
tenant_id: z.ZodString;
|
|
14039
|
-
site_id: z.
|
|
14040
|
-
run_id: z.ZodOptional<z.
|
|
14396
|
+
site_id: z.ZodUUID;
|
|
14397
|
+
run_id: z.ZodOptional<z.ZodUUID>;
|
|
14041
14398
|
correlation_id: z.ZodOptional<z.ZodString>;
|
|
14042
14399
|
seq: z.ZodOptional<z.ZodNumber>;
|
|
14043
14400
|
sent_at: z.ZodString;
|
|
@@ -14050,47 +14407,47 @@ export declare const WorkspaceServerMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
14050
14407
|
}, z.core.$strip>, z.ZodObject<{
|
|
14051
14408
|
id: z.ZodString;
|
|
14052
14409
|
tenant_id: z.ZodString;
|
|
14053
|
-
site_id: z.
|
|
14054
|
-
run_id: z.ZodOptional<z.
|
|
14410
|
+
site_id: z.ZodUUID;
|
|
14411
|
+
run_id: z.ZodOptional<z.ZodUUID>;
|
|
14055
14412
|
correlation_id: z.ZodOptional<z.ZodString>;
|
|
14056
14413
|
seq: z.ZodOptional<z.ZodNumber>;
|
|
14057
14414
|
sent_at: z.ZodString;
|
|
14058
14415
|
type: z.ZodLiteral<"server.sitemap.updated">;
|
|
14059
14416
|
payload: z.ZodObject<{
|
|
14060
|
-
sitemap_id: z.
|
|
14417
|
+
sitemap_id: z.ZodUUID;
|
|
14061
14418
|
version: z.ZodNumber;
|
|
14062
14419
|
reason: z.ZodString;
|
|
14063
14420
|
}, z.core.$strip>;
|
|
14064
14421
|
}, z.core.$strip>, z.ZodObject<{
|
|
14065
14422
|
id: z.ZodString;
|
|
14066
14423
|
tenant_id: z.ZodString;
|
|
14067
|
-
site_id: z.
|
|
14068
|
-
run_id: z.ZodOptional<z.
|
|
14424
|
+
site_id: z.ZodUUID;
|
|
14425
|
+
run_id: z.ZodOptional<z.ZodUUID>;
|
|
14069
14426
|
correlation_id: z.ZodOptional<z.ZodString>;
|
|
14070
14427
|
seq: z.ZodOptional<z.ZodNumber>;
|
|
14071
14428
|
sent_at: z.ZodString;
|
|
14072
14429
|
type: z.ZodLiteral<"server.snapshot.created">;
|
|
14073
14430
|
payload: z.ZodObject<{
|
|
14074
|
-
snapshot_id: z.
|
|
14431
|
+
snapshot_id: z.ZodUUID;
|
|
14075
14432
|
manifest_hash: z.ZodString;
|
|
14076
14433
|
}, z.core.$strip>;
|
|
14077
14434
|
}, z.core.$strip>, z.ZodObject<{
|
|
14078
14435
|
id: z.ZodString;
|
|
14079
14436
|
tenant_id: z.ZodString;
|
|
14080
|
-
site_id: z.
|
|
14081
|
-
run_id: z.ZodOptional<z.
|
|
14437
|
+
site_id: z.ZodUUID;
|
|
14438
|
+
run_id: z.ZodOptional<z.ZodUUID>;
|
|
14082
14439
|
correlation_id: z.ZodOptional<z.ZodString>;
|
|
14083
14440
|
seq: z.ZodOptional<z.ZodNumber>;
|
|
14084
14441
|
sent_at: z.ZodString;
|
|
14085
14442
|
type: z.ZodLiteral<"server.snapshot.finalized">;
|
|
14086
14443
|
payload: z.ZodObject<{
|
|
14087
|
-
snapshot_id: z.
|
|
14444
|
+
snapshot_id: z.ZodUUID;
|
|
14088
14445
|
}, z.core.$strip>;
|
|
14089
14446
|
}, z.core.$strip>, z.ZodObject<{
|
|
14090
14447
|
id: z.ZodString;
|
|
14091
14448
|
tenant_id: z.ZodString;
|
|
14092
|
-
site_id: z.
|
|
14093
|
-
run_id: z.ZodOptional<z.
|
|
14449
|
+
site_id: z.ZodUUID;
|
|
14450
|
+
run_id: z.ZodOptional<z.ZodUUID>;
|
|
14094
14451
|
correlation_id: z.ZodOptional<z.ZodString>;
|
|
14095
14452
|
seq: z.ZodOptional<z.ZodNumber>;
|
|
14096
14453
|
sent_at: z.ZodString;
|
|
@@ -14102,38 +14459,38 @@ export declare const WorkspaceServerMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
14102
14459
|
}, z.core.$strip>, z.ZodObject<{
|
|
14103
14460
|
id: z.ZodString;
|
|
14104
14461
|
tenant_id: z.ZodString;
|
|
14105
|
-
site_id: z.
|
|
14106
|
-
run_id: z.ZodOptional<z.
|
|
14462
|
+
site_id: z.ZodUUID;
|
|
14463
|
+
run_id: z.ZodOptional<z.ZodUUID>;
|
|
14107
14464
|
correlation_id: z.ZodOptional<z.ZodString>;
|
|
14108
14465
|
seq: z.ZodOptional<z.ZodNumber>;
|
|
14109
14466
|
sent_at: z.ZodString;
|
|
14110
14467
|
type: z.ZodLiteral<"preview.build.started">;
|
|
14111
14468
|
payload: z.ZodObject<{
|
|
14112
|
-
snapshot_id: z.
|
|
14469
|
+
snapshot_id: z.ZodUUID;
|
|
14113
14470
|
}, z.core.$strip>;
|
|
14114
14471
|
}, z.core.$strip>, z.ZodObject<{
|
|
14115
14472
|
id: z.ZodString;
|
|
14116
14473
|
tenant_id: z.ZodString;
|
|
14117
|
-
site_id: z.
|
|
14118
|
-
run_id: z.ZodOptional<z.
|
|
14474
|
+
site_id: z.ZodUUID;
|
|
14475
|
+
run_id: z.ZodOptional<z.ZodUUID>;
|
|
14119
14476
|
correlation_id: z.ZodOptional<z.ZodString>;
|
|
14120
14477
|
seq: z.ZodOptional<z.ZodNumber>;
|
|
14121
14478
|
sent_at: z.ZodString;
|
|
14122
14479
|
type: z.ZodLiteral<"preview.build.succeeded">;
|
|
14123
14480
|
payload: z.ZodObject<{
|
|
14124
|
-
snapshot_id: z.
|
|
14481
|
+
snapshot_id: z.ZodUUID;
|
|
14125
14482
|
}, z.core.$strip>;
|
|
14126
14483
|
}, z.core.$strip>, z.ZodObject<{
|
|
14127
14484
|
id: z.ZodString;
|
|
14128
14485
|
tenant_id: z.ZodString;
|
|
14129
|
-
site_id: z.
|
|
14130
|
-
run_id: z.ZodOptional<z.
|
|
14486
|
+
site_id: z.ZodUUID;
|
|
14487
|
+
run_id: z.ZodOptional<z.ZodUUID>;
|
|
14131
14488
|
correlation_id: z.ZodOptional<z.ZodString>;
|
|
14132
14489
|
seq: z.ZodOptional<z.ZodNumber>;
|
|
14133
14490
|
sent_at: z.ZodString;
|
|
14134
14491
|
type: z.ZodLiteral<"preview.build.failed">;
|
|
14135
14492
|
payload: z.ZodObject<{
|
|
14136
|
-
snapshot_id: z.
|
|
14493
|
+
snapshot_id: z.ZodUUID;
|
|
14137
14494
|
message: z.ZodString;
|
|
14138
14495
|
diagnostics: z.ZodString;
|
|
14139
14496
|
retryable: z.ZodBoolean;
|
|
@@ -14141,27 +14498,27 @@ export declare const WorkspaceServerMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
14141
14498
|
}, z.core.$strip>, z.ZodObject<{
|
|
14142
14499
|
id: z.ZodString;
|
|
14143
14500
|
tenant_id: z.ZodString;
|
|
14144
|
-
site_id: z.
|
|
14145
|
-
run_id: z.ZodOptional<z.
|
|
14501
|
+
site_id: z.ZodUUID;
|
|
14502
|
+
run_id: z.ZodOptional<z.ZodUUID>;
|
|
14146
14503
|
correlation_id: z.ZodOptional<z.ZodString>;
|
|
14147
14504
|
seq: z.ZodOptional<z.ZodNumber>;
|
|
14148
14505
|
sent_at: z.ZodString;
|
|
14149
14506
|
type: z.ZodLiteral<"server.run.finished">;
|
|
14150
14507
|
payload: z.ZodObject<{
|
|
14151
|
-
run_id: z.
|
|
14152
|
-
snapshot_id: z.
|
|
14508
|
+
run_id: z.ZodUUID;
|
|
14509
|
+
snapshot_id: z.ZodUUID;
|
|
14153
14510
|
}, z.core.$strip>;
|
|
14154
14511
|
}, z.core.$strip>, z.ZodObject<{
|
|
14155
14512
|
id: z.ZodString;
|
|
14156
14513
|
tenant_id: z.ZodString;
|
|
14157
|
-
site_id: z.
|
|
14158
|
-
run_id: z.ZodOptional<z.
|
|
14514
|
+
site_id: z.ZodUUID;
|
|
14515
|
+
run_id: z.ZodOptional<z.ZodUUID>;
|
|
14159
14516
|
correlation_id: z.ZodOptional<z.ZodString>;
|
|
14160
14517
|
seq: z.ZodOptional<z.ZodNumber>;
|
|
14161
14518
|
sent_at: z.ZodString;
|
|
14162
14519
|
type: z.ZodLiteral<"server.run.failed">;
|
|
14163
14520
|
payload: z.ZodObject<{
|
|
14164
|
-
run_id: z.
|
|
14521
|
+
run_id: z.ZodUUID;
|
|
14165
14522
|
error_code: z.ZodString;
|
|
14166
14523
|
message: z.ZodString;
|
|
14167
14524
|
retryable: z.ZodBoolean;
|
|
@@ -14170,8 +14527,8 @@ export declare const WorkspaceServerMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
14170
14527
|
}, z.core.$strip>, z.ZodObject<{
|
|
14171
14528
|
id: z.ZodString;
|
|
14172
14529
|
tenant_id: z.ZodString;
|
|
14173
|
-
site_id: z.
|
|
14174
|
-
run_id: z.ZodOptional<z.
|
|
14530
|
+
site_id: z.ZodUUID;
|
|
14531
|
+
run_id: z.ZodOptional<z.ZodUUID>;
|
|
14175
14532
|
correlation_id: z.ZodOptional<z.ZodString>;
|
|
14176
14533
|
seq: z.ZodOptional<z.ZodNumber>;
|
|
14177
14534
|
sent_at: z.ZodString;
|
|
@@ -14184,8 +14541,8 @@ export declare const WorkspaceServerMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
14184
14541
|
}, z.core.$strip>, z.ZodObject<{
|
|
14185
14542
|
id: z.ZodString;
|
|
14186
14543
|
tenant_id: z.ZodString;
|
|
14187
|
-
site_id: z.
|
|
14188
|
-
run_id: z.ZodOptional<z.
|
|
14544
|
+
site_id: z.ZodUUID;
|
|
14545
|
+
run_id: z.ZodOptional<z.ZodUUID>;
|
|
14189
14546
|
correlation_id: z.ZodOptional<z.ZodString>;
|
|
14190
14547
|
seq: z.ZodOptional<z.ZodNumber>;
|
|
14191
14548
|
sent_at: z.ZodString;
|
|
@@ -14219,8 +14576,8 @@ export declare const WorkspaceServerMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
14219
14576
|
}, z.core.$strip>, z.ZodObject<{
|
|
14220
14577
|
id: z.ZodString;
|
|
14221
14578
|
tenant_id: z.ZodString;
|
|
14222
|
-
site_id: z.
|
|
14223
|
-
run_id: z.ZodOptional<z.
|
|
14579
|
+
site_id: z.ZodUUID;
|
|
14580
|
+
run_id: z.ZodOptional<z.ZodUUID>;
|
|
14224
14581
|
correlation_id: z.ZodOptional<z.ZodString>;
|
|
14225
14582
|
seq: z.ZodOptional<z.ZodNumber>;
|
|
14226
14583
|
sent_at: z.ZodString;
|
|
@@ -14245,8 +14602,8 @@ export declare const WorkspaceServerMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
14245
14602
|
}, z.core.$strip>, z.ZodObject<{
|
|
14246
14603
|
id: z.ZodString;
|
|
14247
14604
|
tenant_id: z.ZodString;
|
|
14248
|
-
site_id: z.
|
|
14249
|
-
run_id: z.ZodOptional<z.
|
|
14605
|
+
site_id: z.ZodUUID;
|
|
14606
|
+
run_id: z.ZodOptional<z.ZodUUID>;
|
|
14250
14607
|
correlation_id: z.ZodOptional<z.ZodString>;
|
|
14251
14608
|
seq: z.ZodOptional<z.ZodNumber>;
|
|
14252
14609
|
sent_at: z.ZodString;
|
|
@@ -14257,8 +14614,8 @@ export declare const WorkspaceServerMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
14257
14614
|
}, z.core.$strip>, z.ZodObject<{
|
|
14258
14615
|
id: z.ZodString;
|
|
14259
14616
|
tenant_id: z.ZodString;
|
|
14260
|
-
site_id: z.
|
|
14261
|
-
run_id: z.ZodOptional<z.
|
|
14617
|
+
site_id: z.ZodUUID;
|
|
14618
|
+
run_id: z.ZodOptional<z.ZodUUID>;
|
|
14262
14619
|
correlation_id: z.ZodOptional<z.ZodString>;
|
|
14263
14620
|
seq: z.ZodOptional<z.ZodNumber>;
|
|
14264
14621
|
sent_at: z.ZodString;
|
|
@@ -14272,8 +14629,8 @@ export type WorkspaceServerMessage = z.infer<typeof WorkspaceServerMessageSchema
|
|
|
14272
14629
|
export declare const WorkspaceWebSocketMessageSchema: z.ZodUnion<readonly [z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
14273
14630
|
id: z.ZodString;
|
|
14274
14631
|
tenant_id: z.ZodString;
|
|
14275
|
-
site_id: z.
|
|
14276
|
-
run_id: z.ZodOptional<z.
|
|
14632
|
+
site_id: z.ZodUUID;
|
|
14633
|
+
run_id: z.ZodOptional<z.ZodUUID>;
|
|
14277
14634
|
correlation_id: z.ZodOptional<z.ZodString>;
|
|
14278
14635
|
seq: z.ZodOptional<z.ZodNumber>;
|
|
14279
14636
|
sent_at: z.ZodString;
|
|
@@ -14355,26 +14712,26 @@ export declare const WorkspaceWebSocketMessageSchema: z.ZodUnion<readonly [z.Zod
|
|
|
14355
14712
|
}, z.core.$strip>]>>;
|
|
14356
14713
|
role: z.ZodLiteral<"user">;
|
|
14357
14714
|
}, z.core.$strip>;
|
|
14358
|
-
base_snapshot_id: z.ZodOptional<z.
|
|
14715
|
+
base_snapshot_id: z.ZodOptional<z.ZodUUID>;
|
|
14359
14716
|
}, z.core.$strip>;
|
|
14360
14717
|
}, z.core.$strip>, z.ZodObject<{
|
|
14361
14718
|
id: z.ZodString;
|
|
14362
14719
|
tenant_id: z.ZodString;
|
|
14363
|
-
site_id: z.
|
|
14364
|
-
run_id: z.ZodOptional<z.
|
|
14720
|
+
site_id: z.ZodUUID;
|
|
14721
|
+
run_id: z.ZodOptional<z.ZodUUID>;
|
|
14365
14722
|
correlation_id: z.ZodOptional<z.ZodString>;
|
|
14366
14723
|
seq: z.ZodOptional<z.ZodNumber>;
|
|
14367
14724
|
sent_at: z.ZodString;
|
|
14368
14725
|
type: z.ZodLiteral<"client.run.cancel">;
|
|
14369
14726
|
payload: z.ZodObject<{
|
|
14370
|
-
run_id: z.
|
|
14727
|
+
run_id: z.ZodUUID;
|
|
14371
14728
|
reason: z.ZodOptional<z.ZodString>;
|
|
14372
14729
|
}, z.core.$strip>;
|
|
14373
14730
|
}, z.core.$strip>, z.ZodObject<{
|
|
14374
14731
|
id: z.ZodString;
|
|
14375
14732
|
tenant_id: z.ZodString;
|
|
14376
|
-
site_id: z.
|
|
14377
|
-
run_id: z.ZodOptional<z.
|
|
14733
|
+
site_id: z.ZodUUID;
|
|
14734
|
+
run_id: z.ZodOptional<z.ZodUUID>;
|
|
14378
14735
|
correlation_id: z.ZodOptional<z.ZodString>;
|
|
14379
14736
|
seq: z.ZodOptional<z.ZodNumber>;
|
|
14380
14737
|
sent_at: z.ZodString;
|
|
@@ -14387,24 +14744,376 @@ export declare const WorkspaceWebSocketMessageSchema: z.ZodUnion<readonly [z.Zod
|
|
|
14387
14744
|
}>;
|
|
14388
14745
|
reason: z.ZodOptional<z.ZodString>;
|
|
14389
14746
|
}, z.core.$strip>;
|
|
14390
|
-
}, z.core.$strip
|
|
14747
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
14391
14748
|
id: z.ZodString;
|
|
14392
14749
|
tenant_id: z.ZodString;
|
|
14393
14750
|
site_id: z.ZodString;
|
|
14394
14751
|
run_id: z.ZodOptional<z.ZodString>;
|
|
14395
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>;
|
|
14396
15105
|
seq: z.ZodOptional<z.ZodNumber>;
|
|
14397
15106
|
sent_at: z.ZodString;
|
|
14398
15107
|
type: z.ZodLiteral<"server.run.started">;
|
|
14399
15108
|
payload: z.ZodObject<{
|
|
14400
|
-
run_id: z.
|
|
15109
|
+
run_id: z.ZodUUID;
|
|
14401
15110
|
agent_type: z.ZodLiteral<"workspace">;
|
|
14402
15111
|
}, z.core.$strip>;
|
|
14403
15112
|
}, z.core.$strip>, z.ZodObject<{
|
|
14404
15113
|
id: z.ZodString;
|
|
14405
15114
|
tenant_id: z.ZodString;
|
|
14406
|
-
site_id: z.
|
|
14407
|
-
run_id: z.ZodOptional<z.
|
|
15115
|
+
site_id: z.ZodUUID;
|
|
15116
|
+
run_id: z.ZodOptional<z.ZodUUID>;
|
|
14408
15117
|
correlation_id: z.ZodOptional<z.ZodString>;
|
|
14409
15118
|
seq: z.ZodOptional<z.ZodNumber>;
|
|
14410
15119
|
sent_at: z.ZodString;
|
|
@@ -14472,8 +15181,8 @@ export declare const WorkspaceWebSocketMessageSchema: z.ZodUnion<readonly [z.Zod
|
|
|
14472
15181
|
}, z.core.$strip>, z.ZodObject<{
|
|
14473
15182
|
id: z.ZodString;
|
|
14474
15183
|
tenant_id: z.ZodString;
|
|
14475
|
-
site_id: z.
|
|
14476
|
-
run_id: z.ZodOptional<z.
|
|
15184
|
+
site_id: z.ZodUUID;
|
|
15185
|
+
run_id: z.ZodOptional<z.ZodUUID>;
|
|
14477
15186
|
correlation_id: z.ZodOptional<z.ZodString>;
|
|
14478
15187
|
seq: z.ZodOptional<z.ZodNumber>;
|
|
14479
15188
|
sent_at: z.ZodString;
|
|
@@ -14543,8 +15252,8 @@ export declare const WorkspaceWebSocketMessageSchema: z.ZodUnion<readonly [z.Zod
|
|
|
14543
15252
|
}, z.core.$strip>, z.ZodObject<{
|
|
14544
15253
|
id: z.ZodString;
|
|
14545
15254
|
tenant_id: z.ZodString;
|
|
14546
|
-
site_id: z.
|
|
14547
|
-
run_id: z.ZodOptional<z.
|
|
15255
|
+
site_id: z.ZodUUID;
|
|
15256
|
+
run_id: z.ZodOptional<z.ZodUUID>;
|
|
14548
15257
|
correlation_id: z.ZodOptional<z.ZodString>;
|
|
14549
15258
|
seq: z.ZodOptional<z.ZodNumber>;
|
|
14550
15259
|
sent_at: z.ZodString;
|
|
@@ -14557,8 +15266,8 @@ export declare const WorkspaceWebSocketMessageSchema: z.ZodUnion<readonly [z.Zod
|
|
|
14557
15266
|
}, z.core.$strip>, z.ZodObject<{
|
|
14558
15267
|
id: z.ZodString;
|
|
14559
15268
|
tenant_id: z.ZodString;
|
|
14560
|
-
site_id: z.
|
|
14561
|
-
run_id: z.ZodOptional<z.
|
|
15269
|
+
site_id: z.ZodUUID;
|
|
15270
|
+
run_id: z.ZodOptional<z.ZodUUID>;
|
|
14562
15271
|
correlation_id: z.ZodOptional<z.ZodString>;
|
|
14563
15272
|
seq: z.ZodOptional<z.ZodNumber>;
|
|
14564
15273
|
sent_at: z.ZodString;
|
|
@@ -14571,8 +15280,8 @@ export declare const WorkspaceWebSocketMessageSchema: z.ZodUnion<readonly [z.Zod
|
|
|
14571
15280
|
}, z.core.$strip>, z.ZodObject<{
|
|
14572
15281
|
id: z.ZodString;
|
|
14573
15282
|
tenant_id: z.ZodString;
|
|
14574
|
-
site_id: z.
|
|
14575
|
-
run_id: z.ZodOptional<z.
|
|
15283
|
+
site_id: z.ZodUUID;
|
|
15284
|
+
run_id: z.ZodOptional<z.ZodUUID>;
|
|
14576
15285
|
correlation_id: z.ZodOptional<z.ZodString>;
|
|
14577
15286
|
seq: z.ZodOptional<z.ZodNumber>;
|
|
14578
15287
|
sent_at: z.ZodString;
|
|
@@ -14588,13 +15297,13 @@ export declare const WorkspaceWebSocketMessageSchema: z.ZodUnion<readonly [z.Zod
|
|
|
14588
15297
|
mixed: "mixed";
|
|
14589
15298
|
advisor: "advisor";
|
|
14590
15299
|
}>;
|
|
14591
|
-
run_id: z.
|
|
15300
|
+
run_id: z.ZodUUID;
|
|
14592
15301
|
}, z.core.$strict>;
|
|
14593
15302
|
}, z.core.$strip>, z.ZodObject<{
|
|
14594
15303
|
id: z.ZodString;
|
|
14595
15304
|
tenant_id: z.ZodString;
|
|
14596
|
-
site_id: z.
|
|
14597
|
-
run_id: z.ZodOptional<z.
|
|
15305
|
+
site_id: z.ZodUUID;
|
|
15306
|
+
run_id: z.ZodOptional<z.ZodUUID>;
|
|
14598
15307
|
correlation_id: z.ZodOptional<z.ZodString>;
|
|
14599
15308
|
seq: z.ZodOptional<z.ZodNumber>;
|
|
14600
15309
|
sent_at: z.ZodString;
|
|
@@ -14693,8 +15402,8 @@ export declare const WorkspaceWebSocketMessageSchema: z.ZodUnion<readonly [z.Zod
|
|
|
14693
15402
|
}, z.core.$strip>, z.ZodObject<{
|
|
14694
15403
|
id: z.ZodString;
|
|
14695
15404
|
tenant_id: z.ZodString;
|
|
14696
|
-
site_id: z.
|
|
14697
|
-
run_id: z.ZodOptional<z.
|
|
15405
|
+
site_id: z.ZodUUID;
|
|
15406
|
+
run_id: z.ZodOptional<z.ZodUUID>;
|
|
14698
15407
|
correlation_id: z.ZodOptional<z.ZodString>;
|
|
14699
15408
|
seq: z.ZodOptional<z.ZodNumber>;
|
|
14700
15409
|
sent_at: z.ZodString;
|
|
@@ -14735,8 +15444,8 @@ export declare const WorkspaceWebSocketMessageSchema: z.ZodUnion<readonly [z.Zod
|
|
|
14735
15444
|
}, z.core.$strip>, z.ZodObject<{
|
|
14736
15445
|
id: z.ZodString;
|
|
14737
15446
|
tenant_id: z.ZodString;
|
|
14738
|
-
site_id: z.
|
|
14739
|
-
run_id: z.ZodOptional<z.
|
|
15447
|
+
site_id: z.ZodUUID;
|
|
15448
|
+
run_id: z.ZodOptional<z.ZodUUID>;
|
|
14740
15449
|
correlation_id: z.ZodOptional<z.ZodString>;
|
|
14741
15450
|
seq: z.ZodOptional<z.ZodNumber>;
|
|
14742
15451
|
sent_at: z.ZodString;
|
|
@@ -14766,8 +15475,8 @@ export declare const WorkspaceWebSocketMessageSchema: z.ZodUnion<readonly [z.Zod
|
|
|
14766
15475
|
}, z.core.$strip>, z.ZodObject<{
|
|
14767
15476
|
id: z.ZodString;
|
|
14768
15477
|
tenant_id: z.ZodString;
|
|
14769
|
-
site_id: z.
|
|
14770
|
-
run_id: z.ZodOptional<z.
|
|
15478
|
+
site_id: z.ZodUUID;
|
|
15479
|
+
run_id: z.ZodOptional<z.ZodUUID>;
|
|
14771
15480
|
correlation_id: z.ZodOptional<z.ZodString>;
|
|
14772
15481
|
seq: z.ZodOptional<z.ZodNumber>;
|
|
14773
15482
|
sent_at: z.ZodString;
|
|
@@ -14780,47 +15489,47 @@ export declare const WorkspaceWebSocketMessageSchema: z.ZodUnion<readonly [z.Zod
|
|
|
14780
15489
|
}, z.core.$strip>, z.ZodObject<{
|
|
14781
15490
|
id: z.ZodString;
|
|
14782
15491
|
tenant_id: z.ZodString;
|
|
14783
|
-
site_id: z.
|
|
14784
|
-
run_id: z.ZodOptional<z.
|
|
15492
|
+
site_id: z.ZodUUID;
|
|
15493
|
+
run_id: z.ZodOptional<z.ZodUUID>;
|
|
14785
15494
|
correlation_id: z.ZodOptional<z.ZodString>;
|
|
14786
15495
|
seq: z.ZodOptional<z.ZodNumber>;
|
|
14787
15496
|
sent_at: z.ZodString;
|
|
14788
15497
|
type: z.ZodLiteral<"server.sitemap.updated">;
|
|
14789
15498
|
payload: z.ZodObject<{
|
|
14790
|
-
sitemap_id: z.
|
|
15499
|
+
sitemap_id: z.ZodUUID;
|
|
14791
15500
|
version: z.ZodNumber;
|
|
14792
15501
|
reason: z.ZodString;
|
|
14793
15502
|
}, z.core.$strip>;
|
|
14794
15503
|
}, z.core.$strip>, z.ZodObject<{
|
|
14795
15504
|
id: z.ZodString;
|
|
14796
15505
|
tenant_id: z.ZodString;
|
|
14797
|
-
site_id: z.
|
|
14798
|
-
run_id: z.ZodOptional<z.
|
|
15506
|
+
site_id: z.ZodUUID;
|
|
15507
|
+
run_id: z.ZodOptional<z.ZodUUID>;
|
|
14799
15508
|
correlation_id: z.ZodOptional<z.ZodString>;
|
|
14800
15509
|
seq: z.ZodOptional<z.ZodNumber>;
|
|
14801
15510
|
sent_at: z.ZodString;
|
|
14802
15511
|
type: z.ZodLiteral<"server.snapshot.created">;
|
|
14803
15512
|
payload: z.ZodObject<{
|
|
14804
|
-
snapshot_id: z.
|
|
15513
|
+
snapshot_id: z.ZodUUID;
|
|
14805
15514
|
manifest_hash: z.ZodString;
|
|
14806
15515
|
}, z.core.$strip>;
|
|
14807
15516
|
}, z.core.$strip>, z.ZodObject<{
|
|
14808
15517
|
id: z.ZodString;
|
|
14809
15518
|
tenant_id: z.ZodString;
|
|
14810
|
-
site_id: z.
|
|
14811
|
-
run_id: z.ZodOptional<z.
|
|
15519
|
+
site_id: z.ZodUUID;
|
|
15520
|
+
run_id: z.ZodOptional<z.ZodUUID>;
|
|
14812
15521
|
correlation_id: z.ZodOptional<z.ZodString>;
|
|
14813
15522
|
seq: z.ZodOptional<z.ZodNumber>;
|
|
14814
15523
|
sent_at: z.ZodString;
|
|
14815
15524
|
type: z.ZodLiteral<"server.snapshot.finalized">;
|
|
14816
15525
|
payload: z.ZodObject<{
|
|
14817
|
-
snapshot_id: z.
|
|
15526
|
+
snapshot_id: z.ZodUUID;
|
|
14818
15527
|
}, z.core.$strip>;
|
|
14819
15528
|
}, z.core.$strip>, z.ZodObject<{
|
|
14820
15529
|
id: z.ZodString;
|
|
14821
15530
|
tenant_id: z.ZodString;
|
|
14822
|
-
site_id: z.
|
|
14823
|
-
run_id: z.ZodOptional<z.
|
|
15531
|
+
site_id: z.ZodUUID;
|
|
15532
|
+
run_id: z.ZodOptional<z.ZodUUID>;
|
|
14824
15533
|
correlation_id: z.ZodOptional<z.ZodString>;
|
|
14825
15534
|
seq: z.ZodOptional<z.ZodNumber>;
|
|
14826
15535
|
sent_at: z.ZodString;
|
|
@@ -14832,38 +15541,38 @@ export declare const WorkspaceWebSocketMessageSchema: z.ZodUnion<readonly [z.Zod
|
|
|
14832
15541
|
}, z.core.$strip>, z.ZodObject<{
|
|
14833
15542
|
id: z.ZodString;
|
|
14834
15543
|
tenant_id: z.ZodString;
|
|
14835
|
-
site_id: z.
|
|
14836
|
-
run_id: z.ZodOptional<z.
|
|
15544
|
+
site_id: z.ZodUUID;
|
|
15545
|
+
run_id: z.ZodOptional<z.ZodUUID>;
|
|
14837
15546
|
correlation_id: z.ZodOptional<z.ZodString>;
|
|
14838
15547
|
seq: z.ZodOptional<z.ZodNumber>;
|
|
14839
15548
|
sent_at: z.ZodString;
|
|
14840
15549
|
type: z.ZodLiteral<"preview.build.started">;
|
|
14841
15550
|
payload: z.ZodObject<{
|
|
14842
|
-
snapshot_id: z.
|
|
15551
|
+
snapshot_id: z.ZodUUID;
|
|
14843
15552
|
}, z.core.$strip>;
|
|
14844
15553
|
}, z.core.$strip>, z.ZodObject<{
|
|
14845
15554
|
id: z.ZodString;
|
|
14846
15555
|
tenant_id: z.ZodString;
|
|
14847
|
-
site_id: z.
|
|
14848
|
-
run_id: z.ZodOptional<z.
|
|
15556
|
+
site_id: z.ZodUUID;
|
|
15557
|
+
run_id: z.ZodOptional<z.ZodUUID>;
|
|
14849
15558
|
correlation_id: z.ZodOptional<z.ZodString>;
|
|
14850
15559
|
seq: z.ZodOptional<z.ZodNumber>;
|
|
14851
15560
|
sent_at: z.ZodString;
|
|
14852
15561
|
type: z.ZodLiteral<"preview.build.succeeded">;
|
|
14853
15562
|
payload: z.ZodObject<{
|
|
14854
|
-
snapshot_id: z.
|
|
15563
|
+
snapshot_id: z.ZodUUID;
|
|
14855
15564
|
}, z.core.$strip>;
|
|
14856
15565
|
}, z.core.$strip>, z.ZodObject<{
|
|
14857
15566
|
id: z.ZodString;
|
|
14858
15567
|
tenant_id: z.ZodString;
|
|
14859
|
-
site_id: z.
|
|
14860
|
-
run_id: z.ZodOptional<z.
|
|
15568
|
+
site_id: z.ZodUUID;
|
|
15569
|
+
run_id: z.ZodOptional<z.ZodUUID>;
|
|
14861
15570
|
correlation_id: z.ZodOptional<z.ZodString>;
|
|
14862
15571
|
seq: z.ZodOptional<z.ZodNumber>;
|
|
14863
15572
|
sent_at: z.ZodString;
|
|
14864
15573
|
type: z.ZodLiteral<"preview.build.failed">;
|
|
14865
15574
|
payload: z.ZodObject<{
|
|
14866
|
-
snapshot_id: z.
|
|
15575
|
+
snapshot_id: z.ZodUUID;
|
|
14867
15576
|
message: z.ZodString;
|
|
14868
15577
|
diagnostics: z.ZodString;
|
|
14869
15578
|
retryable: z.ZodBoolean;
|
|
@@ -14871,27 +15580,27 @@ export declare const WorkspaceWebSocketMessageSchema: z.ZodUnion<readonly [z.Zod
|
|
|
14871
15580
|
}, z.core.$strip>, z.ZodObject<{
|
|
14872
15581
|
id: z.ZodString;
|
|
14873
15582
|
tenant_id: z.ZodString;
|
|
14874
|
-
site_id: z.
|
|
14875
|
-
run_id: z.ZodOptional<z.
|
|
15583
|
+
site_id: z.ZodUUID;
|
|
15584
|
+
run_id: z.ZodOptional<z.ZodUUID>;
|
|
14876
15585
|
correlation_id: z.ZodOptional<z.ZodString>;
|
|
14877
15586
|
seq: z.ZodOptional<z.ZodNumber>;
|
|
14878
15587
|
sent_at: z.ZodString;
|
|
14879
15588
|
type: z.ZodLiteral<"server.run.finished">;
|
|
14880
15589
|
payload: z.ZodObject<{
|
|
14881
|
-
run_id: z.
|
|
14882
|
-
snapshot_id: z.
|
|
15590
|
+
run_id: z.ZodUUID;
|
|
15591
|
+
snapshot_id: z.ZodUUID;
|
|
14883
15592
|
}, z.core.$strip>;
|
|
14884
15593
|
}, z.core.$strip>, z.ZodObject<{
|
|
14885
15594
|
id: z.ZodString;
|
|
14886
15595
|
tenant_id: z.ZodString;
|
|
14887
|
-
site_id: z.
|
|
14888
|
-
run_id: z.ZodOptional<z.
|
|
15596
|
+
site_id: z.ZodUUID;
|
|
15597
|
+
run_id: z.ZodOptional<z.ZodUUID>;
|
|
14889
15598
|
correlation_id: z.ZodOptional<z.ZodString>;
|
|
14890
15599
|
seq: z.ZodOptional<z.ZodNumber>;
|
|
14891
15600
|
sent_at: z.ZodString;
|
|
14892
15601
|
type: z.ZodLiteral<"server.run.failed">;
|
|
14893
15602
|
payload: z.ZodObject<{
|
|
14894
|
-
run_id: z.
|
|
15603
|
+
run_id: z.ZodUUID;
|
|
14895
15604
|
error_code: z.ZodString;
|
|
14896
15605
|
message: z.ZodString;
|
|
14897
15606
|
retryable: z.ZodBoolean;
|
|
@@ -14900,8 +15609,8 @@ export declare const WorkspaceWebSocketMessageSchema: z.ZodUnion<readonly [z.Zod
|
|
|
14900
15609
|
}, z.core.$strip>, z.ZodObject<{
|
|
14901
15610
|
id: z.ZodString;
|
|
14902
15611
|
tenant_id: z.ZodString;
|
|
14903
|
-
site_id: z.
|
|
14904
|
-
run_id: z.ZodOptional<z.
|
|
15612
|
+
site_id: z.ZodUUID;
|
|
15613
|
+
run_id: z.ZodOptional<z.ZodUUID>;
|
|
14905
15614
|
correlation_id: z.ZodOptional<z.ZodString>;
|
|
14906
15615
|
seq: z.ZodOptional<z.ZodNumber>;
|
|
14907
15616
|
sent_at: z.ZodString;
|
|
@@ -14914,8 +15623,8 @@ export declare const WorkspaceWebSocketMessageSchema: z.ZodUnion<readonly [z.Zod
|
|
|
14914
15623
|
}, z.core.$strip>, z.ZodObject<{
|
|
14915
15624
|
id: z.ZodString;
|
|
14916
15625
|
tenant_id: z.ZodString;
|
|
14917
|
-
site_id: z.
|
|
14918
|
-
run_id: z.ZodOptional<z.
|
|
15626
|
+
site_id: z.ZodUUID;
|
|
15627
|
+
run_id: z.ZodOptional<z.ZodUUID>;
|
|
14919
15628
|
correlation_id: z.ZodOptional<z.ZodString>;
|
|
14920
15629
|
seq: z.ZodOptional<z.ZodNumber>;
|
|
14921
15630
|
sent_at: z.ZodString;
|
|
@@ -14949,8 +15658,8 @@ export declare const WorkspaceWebSocketMessageSchema: z.ZodUnion<readonly [z.Zod
|
|
|
14949
15658
|
}, z.core.$strip>, z.ZodObject<{
|
|
14950
15659
|
id: z.ZodString;
|
|
14951
15660
|
tenant_id: z.ZodString;
|
|
14952
|
-
site_id: z.
|
|
14953
|
-
run_id: z.ZodOptional<z.
|
|
15661
|
+
site_id: z.ZodUUID;
|
|
15662
|
+
run_id: z.ZodOptional<z.ZodUUID>;
|
|
14954
15663
|
correlation_id: z.ZodOptional<z.ZodString>;
|
|
14955
15664
|
seq: z.ZodOptional<z.ZodNumber>;
|
|
14956
15665
|
sent_at: z.ZodString;
|
|
@@ -14975,8 +15684,8 @@ export declare const WorkspaceWebSocketMessageSchema: z.ZodUnion<readonly [z.Zod
|
|
|
14975
15684
|
}, z.core.$strip>, z.ZodObject<{
|
|
14976
15685
|
id: z.ZodString;
|
|
14977
15686
|
tenant_id: z.ZodString;
|
|
14978
|
-
site_id: z.
|
|
14979
|
-
run_id: z.ZodOptional<z.
|
|
15687
|
+
site_id: z.ZodUUID;
|
|
15688
|
+
run_id: z.ZodOptional<z.ZodUUID>;
|
|
14980
15689
|
correlation_id: z.ZodOptional<z.ZodString>;
|
|
14981
15690
|
seq: z.ZodOptional<z.ZodNumber>;
|
|
14982
15691
|
sent_at: z.ZodString;
|
|
@@ -14987,8 +15696,8 @@ export declare const WorkspaceWebSocketMessageSchema: z.ZodUnion<readonly [z.Zod
|
|
|
14987
15696
|
}, z.core.$strip>, z.ZodObject<{
|
|
14988
15697
|
id: z.ZodString;
|
|
14989
15698
|
tenant_id: z.ZodString;
|
|
14990
|
-
site_id: z.
|
|
14991
|
-
run_id: z.ZodOptional<z.
|
|
15699
|
+
site_id: z.ZodUUID;
|
|
15700
|
+
run_id: z.ZodOptional<z.ZodUUID>;
|
|
14992
15701
|
correlation_id: z.ZodOptional<z.ZodString>;
|
|
14993
15702
|
seq: z.ZodOptional<z.ZodNumber>;
|
|
14994
15703
|
sent_at: z.ZodString;
|
|
@@ -15101,8 +15810,8 @@ export declare const WorkspaceMediaRequestSchema: z.ZodObject<{
|
|
|
15101
15810
|
}, z.core.$strip>;
|
|
15102
15811
|
export type WorkspaceMediaRequest = z.infer<typeof WorkspaceMediaRequestSchema>;
|
|
15103
15812
|
export declare const ApplyPatchBatchInputSchema: z.ZodObject<{
|
|
15104
|
-
site_id: z.
|
|
15105
|
-
base_snapshot_id: z.
|
|
15813
|
+
site_id: z.ZodUUID;
|
|
15814
|
+
base_snapshot_id: z.ZodUUID;
|
|
15106
15815
|
reason: z.ZodString;
|
|
15107
15816
|
patches: z.ZodArray<z.ZodObject<{
|
|
15108
15817
|
path: z.ZodString;
|
|
@@ -15219,7 +15928,7 @@ export declare const ApplyPatchBatchToolInputSchema: z.ZodObject<{
|
|
|
15219
15928
|
smoke_test: "smoke_test";
|
|
15220
15929
|
prepare_preview: "prepare_preview";
|
|
15221
15930
|
}>>>;
|
|
15222
|
-
site_id: z.ZodOptional<z.
|
|
15931
|
+
site_id: z.ZodOptional<z.ZodUUID>;
|
|
15223
15932
|
}, z.core.$strip>;
|
|
15224
15933
|
export type ApplyPatchBatchToolInput = z.infer<typeof ApplyPatchBatchToolInputSchema>;
|
|
15225
15934
|
export declare const WorkspaceDirectEditPathSchema: z.ZodString;
|
|
@@ -15272,9 +15981,9 @@ export type ApplyPatchBatchErrorCode = z.infer<typeof ApplyPatchBatchErrorCodeSc
|
|
|
15272
15981
|
export declare const ApplyPatchBatchSuccessSchema: z.ZodObject<{
|
|
15273
15982
|
status: z.ZodLiteral<"applied">;
|
|
15274
15983
|
patch_batch_id: z.ZodString;
|
|
15275
|
-
site_id: z.
|
|
15276
|
-
base_snapshot_id: z.
|
|
15277
|
-
snapshot_id: z.
|
|
15984
|
+
site_id: z.ZodUUID;
|
|
15985
|
+
base_snapshot_id: z.ZodUUID;
|
|
15986
|
+
snapshot_id: z.ZodUUID;
|
|
15278
15987
|
manifest_hash: z.ZodString;
|
|
15279
15988
|
object_key: z.ZodString;
|
|
15280
15989
|
changed_files: z.ZodArray<z.ZodString>;
|
|
@@ -15311,9 +16020,9 @@ export declare const ApplyPatchBatchFailureSchema: z.ZodObject<{
|
|
|
15311
16020
|
export declare const ApplyPatchBatchResultSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
15312
16021
|
status: z.ZodLiteral<"applied">;
|
|
15313
16022
|
patch_batch_id: z.ZodString;
|
|
15314
|
-
site_id: z.
|
|
15315
|
-
base_snapshot_id: z.
|
|
15316
|
-
snapshot_id: z.
|
|
16023
|
+
site_id: z.ZodUUID;
|
|
16024
|
+
base_snapshot_id: z.ZodUUID;
|
|
16025
|
+
snapshot_id: z.ZodUUID;
|
|
15317
16026
|
manifest_hash: z.ZodString;
|
|
15318
16027
|
object_key: z.ZodString;
|
|
15319
16028
|
changed_files: z.ZodArray<z.ZodString>;
|
|
@@ -15448,9 +16157,9 @@ export declare const SandboxSessionStatusSchema: z.ZodEnum<{
|
|
|
15448
16157
|
}>;
|
|
15449
16158
|
export type SandboxSessionStatus = z.infer<typeof SandboxSessionStatusSchema>;
|
|
15450
16159
|
export declare const SandboxSessionSchema: z.ZodObject<{
|
|
15451
|
-
id: z.
|
|
16160
|
+
id: z.ZodUUID;
|
|
15452
16161
|
tenant_id: z.ZodString;
|
|
15453
|
-
site_id: z.
|
|
16162
|
+
site_id: z.ZodUUID;
|
|
15454
16163
|
sandbox_id: z.ZodNullable<z.ZodString>;
|
|
15455
16164
|
status: z.ZodEnum<{
|
|
15456
16165
|
ready: "ready";
|
|
@@ -15464,8 +16173,8 @@ export declare const SandboxSessionSchema: z.ZodObject<{
|
|
|
15464
16173
|
stopping: "stopping";
|
|
15465
16174
|
stopped: "stopped";
|
|
15466
16175
|
}>;
|
|
15467
|
-
source_snapshot_id: z.ZodNullable<z.
|
|
15468
|
-
last_snapshot_id: z.ZodNullable<z.
|
|
16176
|
+
source_snapshot_id: z.ZodNullable<z.ZodUUID>;
|
|
16177
|
+
last_snapshot_id: z.ZodNullable<z.ZodUUID>;
|
|
15469
16178
|
preview_url: z.ZodNullable<z.ZodString>;
|
|
15470
16179
|
last_activity_at: z.ZodNullable<z.ZodString>;
|
|
15471
16180
|
created_at: z.ZodString;
|
|
@@ -15473,12 +16182,12 @@ export declare const SandboxSessionSchema: z.ZodObject<{
|
|
|
15473
16182
|
}, z.core.$strip>;
|
|
15474
16183
|
export type SandboxSession = z.infer<typeof SandboxSessionSchema>;
|
|
15475
16184
|
export declare const PersistPreviewSessionRequestSchema: z.ZodObject<{
|
|
15476
|
-
session_id: z.ZodOptional<z.
|
|
16185
|
+
session_id: z.ZodOptional<z.ZodUUID>;
|
|
15477
16186
|
sandbox_id: z.ZodOptional<z.ZodString>;
|
|
15478
|
-
source_snapshot_id: z.ZodOptional<z.
|
|
15479
|
-
last_snapshot_id: z.
|
|
15480
|
-
expected_current_snapshot_id: z.ZodOptional<z.
|
|
15481
|
-
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>;
|
|
15482
16191
|
status: z.ZodEnum<{
|
|
15483
16192
|
ready: "ready";
|
|
15484
16193
|
failed: "failed";
|
|
@@ -15496,9 +16205,9 @@ export declare const PersistPreviewSessionRequestSchema: z.ZodObject<{
|
|
|
15496
16205
|
export type PersistPreviewSessionRequest = z.infer<typeof PersistPreviewSessionRequestSchema>;
|
|
15497
16206
|
export declare const PersistPreviewSessionResponseSchema: z.ZodObject<{
|
|
15498
16207
|
preview_session: z.ZodObject<{
|
|
15499
|
-
id: z.
|
|
16208
|
+
id: z.ZodUUID;
|
|
15500
16209
|
tenant_id: z.ZodString;
|
|
15501
|
-
site_id: z.
|
|
16210
|
+
site_id: z.ZodUUID;
|
|
15502
16211
|
sandbox_id: z.ZodNullable<z.ZodString>;
|
|
15503
16212
|
status: z.ZodEnum<{
|
|
15504
16213
|
ready: "ready";
|
|
@@ -15512,8 +16221,8 @@ export declare const PersistPreviewSessionResponseSchema: z.ZodObject<{
|
|
|
15512
16221
|
stopping: "stopping";
|
|
15513
16222
|
stopped: "stopped";
|
|
15514
16223
|
}>;
|
|
15515
|
-
source_snapshot_id: z.ZodNullable<z.
|
|
15516
|
-
last_snapshot_id: z.ZodNullable<z.
|
|
16224
|
+
source_snapshot_id: z.ZodNullable<z.ZodUUID>;
|
|
16225
|
+
last_snapshot_id: z.ZodNullable<z.ZodUUID>;
|
|
15517
16226
|
preview_url: z.ZodNullable<z.ZodString>;
|
|
15518
16227
|
last_activity_at: z.ZodNullable<z.ZodString>;
|
|
15519
16228
|
created_at: z.ZodString;
|
|
@@ -15559,7 +16268,7 @@ export type FailStaleInFlightWorkspaceRunsResponse = z.infer<typeof FailStaleInF
|
|
|
15559
16268
|
* run orphaned). status=no_active_run when nothing was in flight.
|
|
15560
16269
|
*/
|
|
15561
16270
|
export declare const CancelActiveWorkspaceRunRequestSchema: z.ZodObject<{
|
|
15562
|
-
site_id: z.
|
|
16271
|
+
site_id: z.ZodUUID;
|
|
15563
16272
|
}, z.core.$strip>;
|
|
15564
16273
|
export type CancelActiveWorkspaceRunRequest = z.infer<typeof CancelActiveWorkspaceRunRequestSchema>;
|
|
15565
16274
|
export declare const CancelActiveWorkspaceRunResponseSchema: z.ZodObject<{
|
|
@@ -15568,9 +16277,9 @@ export declare const CancelActiveWorkspaceRunResponseSchema: z.ZodObject<{
|
|
|
15568
16277
|
no_active_run: "no_active_run";
|
|
15569
16278
|
}>;
|
|
15570
16279
|
agent_run: z.ZodNullable<z.ZodObject<{
|
|
15571
|
-
id: z.
|
|
16280
|
+
id: z.ZodUUID;
|
|
15572
16281
|
tenant_id: z.ZodString;
|
|
15573
|
-
site_id: z.
|
|
16282
|
+
site_id: z.ZodUUID;
|
|
15574
16283
|
agent_type: z.ZodEnum<{
|
|
15575
16284
|
clarify: "clarify";
|
|
15576
16285
|
sitemap: "sitemap";
|