@vcp-dev/contracts 0.4.7 → 0.4.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import { z } from "zod";
2
2
  export * from "./deployment-runtime.js";
3
- export { canonicalizePageSlug, pageSlugToRouteFilePath } from "./page-slug.js";
3
+ export { PAGE_SLUG_PATTERN, PAGE_SLUG_SEGMENT_PATTERN_SOURCE, canonicalizePageSlug, isCanonicalPageSlug, pageSlugToRouteFilePath, tryCanonicalizeAsciiPageSlug, } from "./page-slug.js";
4
4
  export * from "./site-edit-capability.js";
5
5
  export * from "./site-edit-class-name-source.js";
6
6
  export * from "./site-edit-command-result.js";
@@ -21,6 +21,8 @@ export * from "./connect-form.js";
21
21
  export * from "./cms-collection-binding.js";
22
22
  export * from "./cms-public-url.js";
23
23
  export * from "./input-context-bundle.js";
24
+ export * from "./publish-plan.js";
25
+ export * from "./custom-domain.js";
24
26
  /**
25
27
  * Clarify 视觉调性 text-options 题的每个 option 的结构化硬绑信号。
26
28
  * spec §1.1 + 2026-05-27 接通:用户选中的 option 的 visualHints 会被
@@ -88,8 +90,9 @@ export type VisualHints = z.infer<typeof VisualHintsSchema>;
88
90
  * - protocol: how the visitor takes the action — phone (tel: link), form
89
91
  * (lead capture form), download (file), route (internal page link), or
90
92
  * external (third-party URL).
91
- * - ctaLabel: concrete CTA label in the brief's language (<=40 chars), e.g.
92
- * "立即致电咨询" or "Book a consultation".
93
+ * - ctaLabel: concrete CTA label in the site output language when known,
94
+ * otherwise the brief's language (<=40 chars), e.g. "立即致电咨询" or
95
+ * "Book a consultation".
93
96
  * - ctaTarget: optional concrete target — phone number / route / URL /
94
97
  * anchor; when absent the owner must fill it in later.
95
98
  * - requiresOwnerDetail: true when the protocol needs an owner-provided
@@ -476,12 +479,149 @@ export declare const ClarifyRunInputSchema: z.ZodObject<{
476
479
  site_default_locale: z.ZodOptional<z.ZodEnum<{
477
480
  id: "id";
478
481
  "zh-CN": "zh-CN";
482
+ "zh-HK": "zh-HK";
483
+ "zh-TW": "zh-TW";
484
+ "en-US": "en-US";
485
+ "en-GB": "en-GB";
486
+ "ja-JP": "ja-JP";
487
+ "ko-KR": "ko-KR";
488
+ "es-ES": "es-ES";
489
+ "fr-FR": "fr-FR";
490
+ "de-DE": "de-DE";
491
+ "pt-PT": "pt-PT";
492
+ "ru-RU": "ru-RU";
493
+ "ar-SA": "ar-SA";
494
+ "id-ID": "id-ID";
495
+ "vi-VN": "vi-VN";
496
+ "th-TH": "th-TH";
497
+ "it-IT": "it-IT";
498
+ "nl-NL": "nl-NL";
499
+ "tr-TR": "tr-TR";
500
+ "pl-PL": "pl-PL";
501
+ "uk-UA": "uk-UA";
502
+ "cs-CZ": "cs-CZ";
503
+ "sk-SK": "sk-SK";
504
+ "hu-HU": "hu-HU";
505
+ "ro-RO": "ro-RO";
506
+ "el-GR": "el-GR";
507
+ "sv-SE": "sv-SE";
508
+ "da-DK": "da-DK";
509
+ "fi-FI": "fi-FI";
510
+ "hr-HR": "hr-HR";
511
+ "lt-LT": "lt-LT";
512
+ "lv-LV": "lv-LV";
513
+ "et-EE": "et-EE";
514
+ "ga-IE": "ga-IE";
515
+ "mt-MT": "mt-MT";
516
+ "ka-GE": "ka-GE";
517
+ "fa-IR": "fa-IR";
518
+ "bn-BD": "bn-BD";
519
+ "ta-IN": "ta-IN";
520
+ "si-LK": "si-LK";
521
+ "ms-MY": "ms-MY";
522
+ "fil-PH": "fil-PH";
523
+ "my-MM": "my-MM";
524
+ "km-KH": "km-KH";
525
+ "lo-LA": "lo-LA";
526
+ "mn-MN": "mn-MN";
527
+ "kk-KZ": "kk-KZ";
479
528
  en: "en";
480
529
  ja: "ja";
481
530
  es: "es";
482
531
  fr: "fr";
483
532
  de: "de";
533
+ ko: "ko";
534
+ pt: "pt";
535
+ "pt-BR": "pt-BR";
536
+ it: "it";
537
+ ru: "ru";
538
+ ar: "ar";
539
+ hi: "hi";
540
+ vi: "vi";
541
+ th: "th";
542
+ tr: "tr";
543
+ nl: "nl";
544
+ pl: "pl";
545
+ uk: "uk";
546
+ sv: "sv";
547
+ da: "da";
548
+ fi: "fi";
549
+ no: "no";
550
+ cs: "cs";
551
+ el: "el";
552
+ hu: "hu";
553
+ ro: "ro";
554
+ he: "he";
555
+ ms: "ms";
556
+ fil: "fil";
557
+ bn: "bn";
558
+ ta: "ta";
559
+ ca: "ca";
560
+ sk: "sk";
561
+ hr: "hr";
562
+ bg: "bg";
563
+ lt: "lt";
564
+ lv: "lv";
565
+ et: "et";
566
+ fa: "fa";
567
+ sw: "sw";
568
+ sr: "sr";
569
+ is: "is";
570
+ }>>;
571
+ owner_locale: z.ZodOptional<z.ZodEnum<{
572
+ id: "id";
573
+ "zh-CN": "zh-CN";
574
+ "zh-HK": "zh-HK";
484
575
  "zh-TW": "zh-TW";
576
+ "en-US": "en-US";
577
+ "en-GB": "en-GB";
578
+ "ja-JP": "ja-JP";
579
+ "ko-KR": "ko-KR";
580
+ "es-ES": "es-ES";
581
+ "fr-FR": "fr-FR";
582
+ "de-DE": "de-DE";
583
+ "pt-PT": "pt-PT";
584
+ "ru-RU": "ru-RU";
585
+ "ar-SA": "ar-SA";
586
+ "id-ID": "id-ID";
587
+ "vi-VN": "vi-VN";
588
+ "th-TH": "th-TH";
589
+ "it-IT": "it-IT";
590
+ "nl-NL": "nl-NL";
591
+ "tr-TR": "tr-TR";
592
+ "pl-PL": "pl-PL";
593
+ "uk-UA": "uk-UA";
594
+ "cs-CZ": "cs-CZ";
595
+ "sk-SK": "sk-SK";
596
+ "hu-HU": "hu-HU";
597
+ "ro-RO": "ro-RO";
598
+ "el-GR": "el-GR";
599
+ "sv-SE": "sv-SE";
600
+ "da-DK": "da-DK";
601
+ "fi-FI": "fi-FI";
602
+ "hr-HR": "hr-HR";
603
+ "lt-LT": "lt-LT";
604
+ "lv-LV": "lv-LV";
605
+ "et-EE": "et-EE";
606
+ "ga-IE": "ga-IE";
607
+ "mt-MT": "mt-MT";
608
+ "ka-GE": "ka-GE";
609
+ "fa-IR": "fa-IR";
610
+ "bn-BD": "bn-BD";
611
+ "ta-IN": "ta-IN";
612
+ "si-LK": "si-LK";
613
+ "ms-MY": "ms-MY";
614
+ "fil-PH": "fil-PH";
615
+ "my-MM": "my-MM";
616
+ "km-KH": "km-KH";
617
+ "lo-LA": "lo-LA";
618
+ "mn-MN": "mn-MN";
619
+ "kk-KZ": "kk-KZ";
620
+ en: "en";
621
+ ja: "ja";
622
+ es: "es";
623
+ fr: "fr";
624
+ de: "de";
485
625
  ko: "ko";
486
626
  pt: "pt";
487
627
  "pt-BR": "pt-BR";
@@ -686,12 +826,13 @@ export declare function assertSiteGenerationStateTransition(from: SiteGeneration
686
826
  *
687
827
  * - `run.started` -> `initial_generation_running`
688
828
  * - `run.finished` -> `generated`
689
- * - `run.failed` -> `planning`(回滚到可重试的非锁定态)
829
+ * - `run.failed` -> 有 current snapshot 时保持 `generated`,否则回 `planning`
690
830
  */
691
831
  export declare function resolveGenerationStateForRunLifecycle(input: {
692
832
  agent_type: AgentRunType;
693
833
  current_state: SiteGenerationState;
694
834
  event_type: "run.started" | "run.finished" | "run.failed";
835
+ has_current_snapshot: boolean;
695
836
  }): SiteGenerationState | null;
696
837
  /**
697
838
  * Step 2/3 写入口在非 `planning` 态被命中时返回的结构化锁定错误码。
@@ -720,12 +861,57 @@ export declare const UpdateSiteRequestSchema: z.ZodObject<{
720
861
  default_locale: z.ZodOptional<z.ZodEnum<{
721
862
  id: "id";
722
863
  "zh-CN": "zh-CN";
864
+ "zh-HK": "zh-HK";
865
+ "zh-TW": "zh-TW";
866
+ "en-US": "en-US";
867
+ "en-GB": "en-GB";
868
+ "ja-JP": "ja-JP";
869
+ "ko-KR": "ko-KR";
870
+ "es-ES": "es-ES";
871
+ "fr-FR": "fr-FR";
872
+ "de-DE": "de-DE";
873
+ "pt-PT": "pt-PT";
874
+ "ru-RU": "ru-RU";
875
+ "ar-SA": "ar-SA";
876
+ "id-ID": "id-ID";
877
+ "vi-VN": "vi-VN";
878
+ "th-TH": "th-TH";
879
+ "it-IT": "it-IT";
880
+ "nl-NL": "nl-NL";
881
+ "tr-TR": "tr-TR";
882
+ "pl-PL": "pl-PL";
883
+ "uk-UA": "uk-UA";
884
+ "cs-CZ": "cs-CZ";
885
+ "sk-SK": "sk-SK";
886
+ "hu-HU": "hu-HU";
887
+ "ro-RO": "ro-RO";
888
+ "el-GR": "el-GR";
889
+ "sv-SE": "sv-SE";
890
+ "da-DK": "da-DK";
891
+ "fi-FI": "fi-FI";
892
+ "hr-HR": "hr-HR";
893
+ "lt-LT": "lt-LT";
894
+ "lv-LV": "lv-LV";
895
+ "et-EE": "et-EE";
896
+ "ga-IE": "ga-IE";
897
+ "mt-MT": "mt-MT";
898
+ "ka-GE": "ka-GE";
899
+ "fa-IR": "fa-IR";
900
+ "bn-BD": "bn-BD";
901
+ "ta-IN": "ta-IN";
902
+ "si-LK": "si-LK";
903
+ "ms-MY": "ms-MY";
904
+ "fil-PH": "fil-PH";
905
+ "my-MM": "my-MM";
906
+ "km-KH": "km-KH";
907
+ "lo-LA": "lo-LA";
908
+ "mn-MN": "mn-MN";
909
+ "kk-KZ": "kk-KZ";
723
910
  en: "en";
724
911
  ja: "ja";
725
912
  es: "es";
726
913
  fr: "fr";
727
914
  de: "de";
728
- "zh-TW": "zh-TW";
729
915
  ko: "ko";
730
916
  pt: "pt";
731
917
  "pt-BR": "pt-BR";
@@ -770,9 +956,14 @@ export declare const UpdateBriefRequestSchema: z.ZodObject<{
770
956
  body: z.ZodString;
771
957
  }, z.core.$strip>;
772
958
  export type UpdateBriefRequest = z.infer<typeof UpdateBriefRequestSchema>;
959
+ export declare const SaveBriefDraftRequestSchema: z.ZodObject<{
960
+ body: z.ZodString;
961
+ }, z.core.$strip>;
962
+ export type SaveBriefDraftRequest = z.infer<typeof SaveBriefDraftRequestSchema>;
773
963
  export declare const ExternalSyncSiteRequestSchema: z.ZodObject<{
774
964
  tenant_id: z.ZodString;
775
965
  site_url: z.ZodString;
966
+ site_name: z.ZodOptional<z.ZodString>;
776
967
  }, z.core.$strip>;
777
968
  export type ExternalSyncSiteRequest = z.infer<typeof ExternalSyncSiteRequestSchema>;
778
969
  export declare const ApiResponseSchema: <T extends z.ZodTypeAny>(dataSchema: T) => z.ZodObject<{
@@ -789,6 +980,235 @@ export declare const ExternalSyncSiteResponseSchema: z.ZodObject<{
789
980
  message: z.ZodString;
790
981
  }, z.core.$strip>;
791
982
  export type ExternalSyncSiteResponse = z.infer<typeof ExternalSyncSiteResponseSchema>;
983
+ export declare const ListSiteDomainsResponseSchema: z.ZodObject<{
984
+ code: z.ZodNumber;
985
+ data: z.ZodObject<{
986
+ defaultDomain: z.ZodObject<{
987
+ hostname: z.ZodString;
988
+ url: z.ZodString;
989
+ status: z.ZodLiteral<"ready">;
990
+ }, z.core.$strict>;
991
+ currentDomain: z.ZodNullable<z.ZodObject<{
992
+ id: z.ZodString;
993
+ domainId: z.ZodOptional<z.ZodString>;
994
+ hostname: z.ZodString;
995
+ displayHostname: z.ZodString;
996
+ asciiHostname: z.ZodString;
997
+ status: z.ZodEnum<{
998
+ pending_dns: "pending_dns";
999
+ active: "active";
1000
+ }>;
1001
+ isPrimary: z.ZodBoolean;
1002
+ deletable: z.ZodBoolean;
1003
+ dnsRecords: z.ZodArray<z.ZodObject<{
1004
+ id: z.ZodString;
1005
+ type: z.ZodString;
1006
+ name: z.ZodString;
1007
+ value: z.ZodString;
1008
+ purpose: z.ZodEnum<{
1009
+ unknown: "unknown";
1010
+ ownershipVerification: "ownershipVerification";
1011
+ certificateValidation: "certificateValidation";
1012
+ traffic: "traffic";
1013
+ }>;
1014
+ required: z.ZodBoolean;
1015
+ status: z.ZodOptional<z.ZodEnum<{
1016
+ pending: "pending";
1017
+ matched: "matched";
1018
+ }>>;
1019
+ }, z.core.$strict>>;
1020
+ createdAt: z.ZodNullable<z.ZodString>;
1021
+ checkedAt: z.ZodNullable<z.ZodString>;
1022
+ }, z.core.$strict>>;
1023
+ customDomains: z.ZodArray<z.ZodObject<{
1024
+ id: z.ZodString;
1025
+ domainId: z.ZodOptional<z.ZodString>;
1026
+ hostname: z.ZodString;
1027
+ displayHostname: z.ZodString;
1028
+ asciiHostname: z.ZodString;
1029
+ status: z.ZodEnum<{
1030
+ pending_dns: "pending_dns";
1031
+ active: "active";
1032
+ }>;
1033
+ isPrimary: z.ZodBoolean;
1034
+ deletable: z.ZodBoolean;
1035
+ dnsRecords: z.ZodArray<z.ZodObject<{
1036
+ id: z.ZodString;
1037
+ type: z.ZodString;
1038
+ name: z.ZodString;
1039
+ value: z.ZodString;
1040
+ purpose: z.ZodEnum<{
1041
+ unknown: "unknown";
1042
+ ownershipVerification: "ownershipVerification";
1043
+ certificateValidation: "certificateValidation";
1044
+ traffic: "traffic";
1045
+ }>;
1046
+ required: z.ZodBoolean;
1047
+ status: z.ZodOptional<z.ZodEnum<{
1048
+ pending: "pending";
1049
+ matched: "matched";
1050
+ }>>;
1051
+ }, z.core.$strict>>;
1052
+ createdAt: z.ZodNullable<z.ZodString>;
1053
+ checkedAt: z.ZodNullable<z.ZodString>;
1054
+ }, z.core.$strict>>;
1055
+ }, z.core.$strict>;
1056
+ message: z.ZodString;
1057
+ }, z.core.$strip>;
1058
+ export type ListSiteDomainsResponse = z.infer<typeof ListSiteDomainsResponseSchema>;
1059
+ export declare const BindSiteDomainResponseSchema: z.ZodObject<{
1060
+ code: z.ZodNumber;
1061
+ data: z.ZodObject<{
1062
+ domain: z.ZodObject<{
1063
+ id: z.ZodString;
1064
+ domainId: z.ZodOptional<z.ZodString>;
1065
+ hostname: z.ZodString;
1066
+ displayHostname: z.ZodString;
1067
+ asciiHostname: z.ZodString;
1068
+ status: z.ZodEnum<{
1069
+ pending_dns: "pending_dns";
1070
+ active: "active";
1071
+ }>;
1072
+ isPrimary: z.ZodBoolean;
1073
+ deletable: z.ZodBoolean;
1074
+ dnsRecords: z.ZodArray<z.ZodObject<{
1075
+ id: z.ZodString;
1076
+ type: z.ZodString;
1077
+ name: z.ZodString;
1078
+ value: z.ZodString;
1079
+ purpose: z.ZodEnum<{
1080
+ unknown: "unknown";
1081
+ ownershipVerification: "ownershipVerification";
1082
+ certificateValidation: "certificateValidation";
1083
+ traffic: "traffic";
1084
+ }>;
1085
+ required: z.ZodBoolean;
1086
+ status: z.ZodOptional<z.ZodEnum<{
1087
+ pending: "pending";
1088
+ matched: "matched";
1089
+ }>>;
1090
+ }, z.core.$strict>>;
1091
+ createdAt: z.ZodNullable<z.ZodString>;
1092
+ checkedAt: z.ZodNullable<z.ZodString>;
1093
+ }, z.core.$strict>;
1094
+ }, z.core.$strict>;
1095
+ message: z.ZodString;
1096
+ }, z.core.$strip>;
1097
+ export type BindSiteDomainResponse = z.infer<typeof BindSiteDomainResponseSchema>;
1098
+ export declare const VerifySiteDomainResponseSchema: z.ZodObject<{
1099
+ code: z.ZodNumber;
1100
+ data: z.ZodObject<{
1101
+ domain: z.ZodObject<{
1102
+ id: z.ZodString;
1103
+ domainId: z.ZodOptional<z.ZodString>;
1104
+ hostname: z.ZodString;
1105
+ displayHostname: z.ZodString;
1106
+ asciiHostname: z.ZodString;
1107
+ status: z.ZodEnum<{
1108
+ pending_dns: "pending_dns";
1109
+ active: "active";
1110
+ }>;
1111
+ isPrimary: z.ZodBoolean;
1112
+ deletable: z.ZodBoolean;
1113
+ dnsRecords: z.ZodArray<z.ZodObject<{
1114
+ id: z.ZodString;
1115
+ type: z.ZodString;
1116
+ name: z.ZodString;
1117
+ value: z.ZodString;
1118
+ purpose: z.ZodEnum<{
1119
+ unknown: "unknown";
1120
+ ownershipVerification: "ownershipVerification";
1121
+ certificateValidation: "certificateValidation";
1122
+ traffic: "traffic";
1123
+ }>;
1124
+ required: z.ZodBoolean;
1125
+ status: z.ZodOptional<z.ZodEnum<{
1126
+ pending: "pending";
1127
+ matched: "matched";
1128
+ }>>;
1129
+ }, z.core.$strict>>;
1130
+ createdAt: z.ZodNullable<z.ZodString>;
1131
+ checkedAt: z.ZodNullable<z.ZodString>;
1132
+ }, z.core.$strict>;
1133
+ }, z.core.$strict>;
1134
+ message: z.ZodString;
1135
+ }, z.core.$strip>;
1136
+ export type VerifySiteDomainResponse = z.infer<typeof VerifySiteDomainResponseSchema>;
1137
+ export declare const GetSiteDomainDetailResponseSchema: z.ZodObject<{
1138
+ code: z.ZodNumber;
1139
+ data: z.ZodObject<{
1140
+ domain: z.ZodObject<{
1141
+ id: z.ZodString;
1142
+ domainId: z.ZodOptional<z.ZodString>;
1143
+ hostname: z.ZodString;
1144
+ displayHostname: z.ZodString;
1145
+ asciiHostname: z.ZodString;
1146
+ status: z.ZodEnum<{
1147
+ pending_dns: "pending_dns";
1148
+ active: "active";
1149
+ }>;
1150
+ isPrimary: z.ZodBoolean;
1151
+ deletable: z.ZodBoolean;
1152
+ dnsRecords: z.ZodArray<z.ZodObject<{
1153
+ id: z.ZodString;
1154
+ type: z.ZodString;
1155
+ name: z.ZodString;
1156
+ value: z.ZodString;
1157
+ purpose: z.ZodEnum<{
1158
+ unknown: "unknown";
1159
+ ownershipVerification: "ownershipVerification";
1160
+ certificateValidation: "certificateValidation";
1161
+ traffic: "traffic";
1162
+ }>;
1163
+ required: z.ZodBoolean;
1164
+ status: z.ZodOptional<z.ZodEnum<{
1165
+ pending: "pending";
1166
+ matched: "matched";
1167
+ }>>;
1168
+ }, z.core.$strict>>;
1169
+ createdAt: z.ZodNullable<z.ZodString>;
1170
+ checkedAt: z.ZodNullable<z.ZodString>;
1171
+ }, z.core.$strict>;
1172
+ }, z.core.$strict>;
1173
+ message: z.ZodString;
1174
+ }, z.core.$strip>;
1175
+ export type GetSiteDomainDetailResponse = z.infer<typeof GetSiteDomainDetailResponseSchema>;
1176
+ export declare const DeleteSiteDomainResponseSchema: z.ZodObject<{
1177
+ code: z.ZodNumber;
1178
+ data: z.ZodObject<{
1179
+ deleted: z.ZodBoolean;
1180
+ }, z.core.$strict>;
1181
+ message: z.ZodString;
1182
+ }, z.core.$strip>;
1183
+ export type DeleteSiteDomainResponse = z.infer<typeof DeleteSiteDomainResponseSchema>;
1184
+ export declare const GetSitePlanResponseSchema: z.ZodObject<{
1185
+ code: z.ZodNumber;
1186
+ data: z.ZodObject<{
1187
+ plan: z.ZodNullable<z.ZodObject<{
1188
+ subscriptionId: z.ZodString;
1189
+ planId: z.ZodString;
1190
+ locale: z.ZodUnion<[z.ZodEnum<{
1191
+ en: "en";
1192
+ zh_CN: "zh_CN";
1193
+ }>, z.ZodString]>;
1194
+ currentPeriodEnd: z.ZodNullable<z.ZodString>;
1195
+ servicePeriodEnd: z.ZodNullable<z.ZodString>;
1196
+ featureSnapshot: z.ZodNullable<z.ZodObject<{
1197
+ maxSites: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1198
+ maxStorageMb: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1199
+ customDomains: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
1200
+ }, z.core.$loose>>;
1201
+ code: z.ZodNullable<z.ZodString>;
1202
+ level: z.ZodNullable<z.ZodNumber>;
1203
+ name: z.ZodNullable<z.ZodString>;
1204
+ }, z.core.$strict>>;
1205
+ entitlement: z.ZodObject<{
1206
+ hasActiveSubscription: z.ZodBoolean;
1207
+ }, z.core.$strict>;
1208
+ }, z.core.$strict>;
1209
+ message: z.ZodString;
1210
+ }, z.core.$strip>;
1211
+ export type GetSitePlanResponse = z.infer<typeof GetSitePlanResponseSchema>;
792
1212
  export declare const SiteRecordSchema: z.ZodObject<{
793
1213
  id: z.ZodString;
794
1214
  tenant_id: z.ZodString;
@@ -817,12 +1237,57 @@ export declare const SiteRecordSchema: z.ZodObject<{
817
1237
  default_locale: z.ZodEnum<{
818
1238
  id: "id";
819
1239
  "zh-CN": "zh-CN";
1240
+ "zh-HK": "zh-HK";
1241
+ "zh-TW": "zh-TW";
1242
+ "en-US": "en-US";
1243
+ "en-GB": "en-GB";
1244
+ "ja-JP": "ja-JP";
1245
+ "ko-KR": "ko-KR";
1246
+ "es-ES": "es-ES";
1247
+ "fr-FR": "fr-FR";
1248
+ "de-DE": "de-DE";
1249
+ "pt-PT": "pt-PT";
1250
+ "ru-RU": "ru-RU";
1251
+ "ar-SA": "ar-SA";
1252
+ "id-ID": "id-ID";
1253
+ "vi-VN": "vi-VN";
1254
+ "th-TH": "th-TH";
1255
+ "it-IT": "it-IT";
1256
+ "nl-NL": "nl-NL";
1257
+ "tr-TR": "tr-TR";
1258
+ "pl-PL": "pl-PL";
1259
+ "uk-UA": "uk-UA";
1260
+ "cs-CZ": "cs-CZ";
1261
+ "sk-SK": "sk-SK";
1262
+ "hu-HU": "hu-HU";
1263
+ "ro-RO": "ro-RO";
1264
+ "el-GR": "el-GR";
1265
+ "sv-SE": "sv-SE";
1266
+ "da-DK": "da-DK";
1267
+ "fi-FI": "fi-FI";
1268
+ "hr-HR": "hr-HR";
1269
+ "lt-LT": "lt-LT";
1270
+ "lv-LV": "lv-LV";
1271
+ "et-EE": "et-EE";
1272
+ "ga-IE": "ga-IE";
1273
+ "mt-MT": "mt-MT";
1274
+ "ka-GE": "ka-GE";
1275
+ "fa-IR": "fa-IR";
1276
+ "bn-BD": "bn-BD";
1277
+ "ta-IN": "ta-IN";
1278
+ "si-LK": "si-LK";
1279
+ "ms-MY": "ms-MY";
1280
+ "fil-PH": "fil-PH";
1281
+ "my-MM": "my-MM";
1282
+ "km-KH": "km-KH";
1283
+ "lo-LA": "lo-LA";
1284
+ "mn-MN": "mn-MN";
1285
+ "kk-KZ": "kk-KZ";
820
1286
  en: "en";
821
1287
  ja: "ja";
822
1288
  es: "es";
823
1289
  fr: "fr";
824
1290
  de: "de";
825
- "zh-TW": "zh-TW";
826
1291
  ko: "ko";
827
1292
  pt: "pt";
828
1293
  "pt-BR": "pt-BR";
@@ -861,6 +1326,98 @@ export declare const SiteRecordSchema: z.ZodObject<{
861
1326
  sr: "sr";
862
1327
  is: "is";
863
1328
  }>;
1329
+ owner_locale: z.ZodOptional<z.ZodEnum<{
1330
+ id: "id";
1331
+ "zh-CN": "zh-CN";
1332
+ "zh-HK": "zh-HK";
1333
+ "zh-TW": "zh-TW";
1334
+ "en-US": "en-US";
1335
+ "en-GB": "en-GB";
1336
+ "ja-JP": "ja-JP";
1337
+ "ko-KR": "ko-KR";
1338
+ "es-ES": "es-ES";
1339
+ "fr-FR": "fr-FR";
1340
+ "de-DE": "de-DE";
1341
+ "pt-PT": "pt-PT";
1342
+ "ru-RU": "ru-RU";
1343
+ "ar-SA": "ar-SA";
1344
+ "id-ID": "id-ID";
1345
+ "vi-VN": "vi-VN";
1346
+ "th-TH": "th-TH";
1347
+ "it-IT": "it-IT";
1348
+ "nl-NL": "nl-NL";
1349
+ "tr-TR": "tr-TR";
1350
+ "pl-PL": "pl-PL";
1351
+ "uk-UA": "uk-UA";
1352
+ "cs-CZ": "cs-CZ";
1353
+ "sk-SK": "sk-SK";
1354
+ "hu-HU": "hu-HU";
1355
+ "ro-RO": "ro-RO";
1356
+ "el-GR": "el-GR";
1357
+ "sv-SE": "sv-SE";
1358
+ "da-DK": "da-DK";
1359
+ "fi-FI": "fi-FI";
1360
+ "hr-HR": "hr-HR";
1361
+ "lt-LT": "lt-LT";
1362
+ "lv-LV": "lv-LV";
1363
+ "et-EE": "et-EE";
1364
+ "ga-IE": "ga-IE";
1365
+ "mt-MT": "mt-MT";
1366
+ "ka-GE": "ka-GE";
1367
+ "fa-IR": "fa-IR";
1368
+ "bn-BD": "bn-BD";
1369
+ "ta-IN": "ta-IN";
1370
+ "si-LK": "si-LK";
1371
+ "ms-MY": "ms-MY";
1372
+ "fil-PH": "fil-PH";
1373
+ "my-MM": "my-MM";
1374
+ "km-KH": "km-KH";
1375
+ "lo-LA": "lo-LA";
1376
+ "mn-MN": "mn-MN";
1377
+ "kk-KZ": "kk-KZ";
1378
+ en: "en";
1379
+ ja: "ja";
1380
+ es: "es";
1381
+ fr: "fr";
1382
+ de: "de";
1383
+ ko: "ko";
1384
+ pt: "pt";
1385
+ "pt-BR": "pt-BR";
1386
+ it: "it";
1387
+ ru: "ru";
1388
+ ar: "ar";
1389
+ hi: "hi";
1390
+ vi: "vi";
1391
+ th: "th";
1392
+ tr: "tr";
1393
+ nl: "nl";
1394
+ pl: "pl";
1395
+ uk: "uk";
1396
+ sv: "sv";
1397
+ da: "da";
1398
+ fi: "fi";
1399
+ no: "no";
1400
+ cs: "cs";
1401
+ el: "el";
1402
+ hu: "hu";
1403
+ ro: "ro";
1404
+ he: "he";
1405
+ ms: "ms";
1406
+ fil: "fil";
1407
+ bn: "bn";
1408
+ ta: "ta";
1409
+ ca: "ca";
1410
+ sk: "sk";
1411
+ hr: "hr";
1412
+ bg: "bg";
1413
+ lt: "lt";
1414
+ lv: "lv";
1415
+ et: "et";
1416
+ fa: "fa";
1417
+ sw: "sw";
1418
+ sr: "sr";
1419
+ is: "is";
1420
+ }>>;
864
1421
  cms_site_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
865
1422
  cms_site_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
866
1423
  schema_version: z.ZodLiteral<1>;
@@ -911,12 +1468,57 @@ export declare const CreateSiteBriefResponseSchema: z.ZodObject<{
911
1468
  default_locale: z.ZodEnum<{
912
1469
  id: "id";
913
1470
  "zh-CN": "zh-CN";
1471
+ "zh-HK": "zh-HK";
1472
+ "zh-TW": "zh-TW";
1473
+ "en-US": "en-US";
1474
+ "en-GB": "en-GB";
1475
+ "ja-JP": "ja-JP";
1476
+ "ko-KR": "ko-KR";
1477
+ "es-ES": "es-ES";
1478
+ "fr-FR": "fr-FR";
1479
+ "de-DE": "de-DE";
1480
+ "pt-PT": "pt-PT";
1481
+ "ru-RU": "ru-RU";
1482
+ "ar-SA": "ar-SA";
1483
+ "id-ID": "id-ID";
1484
+ "vi-VN": "vi-VN";
1485
+ "th-TH": "th-TH";
1486
+ "it-IT": "it-IT";
1487
+ "nl-NL": "nl-NL";
1488
+ "tr-TR": "tr-TR";
1489
+ "pl-PL": "pl-PL";
1490
+ "uk-UA": "uk-UA";
1491
+ "cs-CZ": "cs-CZ";
1492
+ "sk-SK": "sk-SK";
1493
+ "hu-HU": "hu-HU";
1494
+ "ro-RO": "ro-RO";
1495
+ "el-GR": "el-GR";
1496
+ "sv-SE": "sv-SE";
1497
+ "da-DK": "da-DK";
1498
+ "fi-FI": "fi-FI";
1499
+ "hr-HR": "hr-HR";
1500
+ "lt-LT": "lt-LT";
1501
+ "lv-LV": "lv-LV";
1502
+ "et-EE": "et-EE";
1503
+ "ga-IE": "ga-IE";
1504
+ "mt-MT": "mt-MT";
1505
+ "ka-GE": "ka-GE";
1506
+ "fa-IR": "fa-IR";
1507
+ "bn-BD": "bn-BD";
1508
+ "ta-IN": "ta-IN";
1509
+ "si-LK": "si-LK";
1510
+ "ms-MY": "ms-MY";
1511
+ "fil-PH": "fil-PH";
1512
+ "my-MM": "my-MM";
1513
+ "km-KH": "km-KH";
1514
+ "lo-LA": "lo-LA";
1515
+ "mn-MN": "mn-MN";
1516
+ "kk-KZ": "kk-KZ";
914
1517
  en: "en";
915
1518
  ja: "ja";
916
1519
  es: "es";
917
1520
  fr: "fr";
918
1521
  de: "de";
919
- "zh-TW": "zh-TW";
920
1522
  ko: "ko";
921
1523
  pt: "pt";
922
1524
  "pt-BR": "pt-BR";
@@ -955,6 +1557,98 @@ export declare const CreateSiteBriefResponseSchema: z.ZodObject<{
955
1557
  sr: "sr";
956
1558
  is: "is";
957
1559
  }>;
1560
+ owner_locale: z.ZodOptional<z.ZodEnum<{
1561
+ id: "id";
1562
+ "zh-CN": "zh-CN";
1563
+ "zh-HK": "zh-HK";
1564
+ "zh-TW": "zh-TW";
1565
+ "en-US": "en-US";
1566
+ "en-GB": "en-GB";
1567
+ "ja-JP": "ja-JP";
1568
+ "ko-KR": "ko-KR";
1569
+ "es-ES": "es-ES";
1570
+ "fr-FR": "fr-FR";
1571
+ "de-DE": "de-DE";
1572
+ "pt-PT": "pt-PT";
1573
+ "ru-RU": "ru-RU";
1574
+ "ar-SA": "ar-SA";
1575
+ "id-ID": "id-ID";
1576
+ "vi-VN": "vi-VN";
1577
+ "th-TH": "th-TH";
1578
+ "it-IT": "it-IT";
1579
+ "nl-NL": "nl-NL";
1580
+ "tr-TR": "tr-TR";
1581
+ "pl-PL": "pl-PL";
1582
+ "uk-UA": "uk-UA";
1583
+ "cs-CZ": "cs-CZ";
1584
+ "sk-SK": "sk-SK";
1585
+ "hu-HU": "hu-HU";
1586
+ "ro-RO": "ro-RO";
1587
+ "el-GR": "el-GR";
1588
+ "sv-SE": "sv-SE";
1589
+ "da-DK": "da-DK";
1590
+ "fi-FI": "fi-FI";
1591
+ "hr-HR": "hr-HR";
1592
+ "lt-LT": "lt-LT";
1593
+ "lv-LV": "lv-LV";
1594
+ "et-EE": "et-EE";
1595
+ "ga-IE": "ga-IE";
1596
+ "mt-MT": "mt-MT";
1597
+ "ka-GE": "ka-GE";
1598
+ "fa-IR": "fa-IR";
1599
+ "bn-BD": "bn-BD";
1600
+ "ta-IN": "ta-IN";
1601
+ "si-LK": "si-LK";
1602
+ "ms-MY": "ms-MY";
1603
+ "fil-PH": "fil-PH";
1604
+ "my-MM": "my-MM";
1605
+ "km-KH": "km-KH";
1606
+ "lo-LA": "lo-LA";
1607
+ "mn-MN": "mn-MN";
1608
+ "kk-KZ": "kk-KZ";
1609
+ en: "en";
1610
+ ja: "ja";
1611
+ es: "es";
1612
+ fr: "fr";
1613
+ de: "de";
1614
+ ko: "ko";
1615
+ pt: "pt";
1616
+ "pt-BR": "pt-BR";
1617
+ it: "it";
1618
+ ru: "ru";
1619
+ ar: "ar";
1620
+ hi: "hi";
1621
+ vi: "vi";
1622
+ th: "th";
1623
+ tr: "tr";
1624
+ nl: "nl";
1625
+ pl: "pl";
1626
+ uk: "uk";
1627
+ sv: "sv";
1628
+ da: "da";
1629
+ fi: "fi";
1630
+ no: "no";
1631
+ cs: "cs";
1632
+ el: "el";
1633
+ hu: "hu";
1634
+ ro: "ro";
1635
+ he: "he";
1636
+ ms: "ms";
1637
+ fil: "fil";
1638
+ bn: "bn";
1639
+ ta: "ta";
1640
+ ca: "ca";
1641
+ sk: "sk";
1642
+ hr: "hr";
1643
+ bg: "bg";
1644
+ lt: "lt";
1645
+ lv: "lv";
1646
+ et: "et";
1647
+ fa: "fa";
1648
+ sw: "sw";
1649
+ sr: "sr";
1650
+ is: "is";
1651
+ }>>;
958
1652
  cms_site_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
959
1653
  cms_site_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
960
1654
  schema_version: z.ZodLiteral<1>;
@@ -1006,12 +1700,57 @@ export declare const UpdateBriefResponseSchema: z.ZodObject<{
1006
1700
  default_locale: z.ZodEnum<{
1007
1701
  id: "id";
1008
1702
  "zh-CN": "zh-CN";
1703
+ "zh-HK": "zh-HK";
1704
+ "zh-TW": "zh-TW";
1705
+ "en-US": "en-US";
1706
+ "en-GB": "en-GB";
1707
+ "ja-JP": "ja-JP";
1708
+ "ko-KR": "ko-KR";
1709
+ "es-ES": "es-ES";
1710
+ "fr-FR": "fr-FR";
1711
+ "de-DE": "de-DE";
1712
+ "pt-PT": "pt-PT";
1713
+ "ru-RU": "ru-RU";
1714
+ "ar-SA": "ar-SA";
1715
+ "id-ID": "id-ID";
1716
+ "vi-VN": "vi-VN";
1717
+ "th-TH": "th-TH";
1718
+ "it-IT": "it-IT";
1719
+ "nl-NL": "nl-NL";
1720
+ "tr-TR": "tr-TR";
1721
+ "pl-PL": "pl-PL";
1722
+ "uk-UA": "uk-UA";
1723
+ "cs-CZ": "cs-CZ";
1724
+ "sk-SK": "sk-SK";
1725
+ "hu-HU": "hu-HU";
1726
+ "ro-RO": "ro-RO";
1727
+ "el-GR": "el-GR";
1728
+ "sv-SE": "sv-SE";
1729
+ "da-DK": "da-DK";
1730
+ "fi-FI": "fi-FI";
1731
+ "hr-HR": "hr-HR";
1732
+ "lt-LT": "lt-LT";
1733
+ "lv-LV": "lv-LV";
1734
+ "et-EE": "et-EE";
1735
+ "ga-IE": "ga-IE";
1736
+ "mt-MT": "mt-MT";
1737
+ "ka-GE": "ka-GE";
1738
+ "fa-IR": "fa-IR";
1739
+ "bn-BD": "bn-BD";
1740
+ "ta-IN": "ta-IN";
1741
+ "si-LK": "si-LK";
1742
+ "ms-MY": "ms-MY";
1743
+ "fil-PH": "fil-PH";
1744
+ "my-MM": "my-MM";
1745
+ "km-KH": "km-KH";
1746
+ "lo-LA": "lo-LA";
1747
+ "mn-MN": "mn-MN";
1748
+ "kk-KZ": "kk-KZ";
1009
1749
  en: "en";
1010
1750
  ja: "ja";
1011
1751
  es: "es";
1012
1752
  fr: "fr";
1013
1753
  de: "de";
1014
- "zh-TW": "zh-TW";
1015
1754
  ko: "ko";
1016
1755
  pt: "pt";
1017
1756
  "pt-BR": "pt-BR";
@@ -1050,6 +1789,98 @@ export declare const UpdateBriefResponseSchema: z.ZodObject<{
1050
1789
  sr: "sr";
1051
1790
  is: "is";
1052
1791
  }>;
1792
+ owner_locale: z.ZodOptional<z.ZodEnum<{
1793
+ id: "id";
1794
+ "zh-CN": "zh-CN";
1795
+ "zh-HK": "zh-HK";
1796
+ "zh-TW": "zh-TW";
1797
+ "en-US": "en-US";
1798
+ "en-GB": "en-GB";
1799
+ "ja-JP": "ja-JP";
1800
+ "ko-KR": "ko-KR";
1801
+ "es-ES": "es-ES";
1802
+ "fr-FR": "fr-FR";
1803
+ "de-DE": "de-DE";
1804
+ "pt-PT": "pt-PT";
1805
+ "ru-RU": "ru-RU";
1806
+ "ar-SA": "ar-SA";
1807
+ "id-ID": "id-ID";
1808
+ "vi-VN": "vi-VN";
1809
+ "th-TH": "th-TH";
1810
+ "it-IT": "it-IT";
1811
+ "nl-NL": "nl-NL";
1812
+ "tr-TR": "tr-TR";
1813
+ "pl-PL": "pl-PL";
1814
+ "uk-UA": "uk-UA";
1815
+ "cs-CZ": "cs-CZ";
1816
+ "sk-SK": "sk-SK";
1817
+ "hu-HU": "hu-HU";
1818
+ "ro-RO": "ro-RO";
1819
+ "el-GR": "el-GR";
1820
+ "sv-SE": "sv-SE";
1821
+ "da-DK": "da-DK";
1822
+ "fi-FI": "fi-FI";
1823
+ "hr-HR": "hr-HR";
1824
+ "lt-LT": "lt-LT";
1825
+ "lv-LV": "lv-LV";
1826
+ "et-EE": "et-EE";
1827
+ "ga-IE": "ga-IE";
1828
+ "mt-MT": "mt-MT";
1829
+ "ka-GE": "ka-GE";
1830
+ "fa-IR": "fa-IR";
1831
+ "bn-BD": "bn-BD";
1832
+ "ta-IN": "ta-IN";
1833
+ "si-LK": "si-LK";
1834
+ "ms-MY": "ms-MY";
1835
+ "fil-PH": "fil-PH";
1836
+ "my-MM": "my-MM";
1837
+ "km-KH": "km-KH";
1838
+ "lo-LA": "lo-LA";
1839
+ "mn-MN": "mn-MN";
1840
+ "kk-KZ": "kk-KZ";
1841
+ en: "en";
1842
+ ja: "ja";
1843
+ es: "es";
1844
+ fr: "fr";
1845
+ de: "de";
1846
+ ko: "ko";
1847
+ pt: "pt";
1848
+ "pt-BR": "pt-BR";
1849
+ it: "it";
1850
+ ru: "ru";
1851
+ ar: "ar";
1852
+ hi: "hi";
1853
+ vi: "vi";
1854
+ th: "th";
1855
+ tr: "tr";
1856
+ nl: "nl";
1857
+ pl: "pl";
1858
+ uk: "uk";
1859
+ sv: "sv";
1860
+ da: "da";
1861
+ fi: "fi";
1862
+ no: "no";
1863
+ cs: "cs";
1864
+ el: "el";
1865
+ hu: "hu";
1866
+ ro: "ro";
1867
+ he: "he";
1868
+ ms: "ms";
1869
+ fil: "fil";
1870
+ bn: "bn";
1871
+ ta: "ta";
1872
+ ca: "ca";
1873
+ sk: "sk";
1874
+ hr: "hr";
1875
+ bg: "bg";
1876
+ lt: "lt";
1877
+ lv: "lv";
1878
+ et: "et";
1879
+ fa: "fa";
1880
+ sw: "sw";
1881
+ sr: "sr";
1882
+ is: "is";
1883
+ }>>;
1053
1884
  cms_site_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1054
1885
  cms_site_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1055
1886
  schema_version: z.ZodLiteral<1>;
@@ -1071,6 +1902,22 @@ export declare const UpdateBriefResponseSchema: z.ZodObject<{
1071
1902
  }, z.core.$strip>;
1072
1903
  }, z.core.$strip>;
1073
1904
  export type UpdateBriefResponse = z.infer<typeof UpdateBriefResponseSchema>;
1905
+ export declare const SaveBriefDraftResponseSchema: z.ZodObject<{
1906
+ brief: z.ZodObject<{
1907
+ id: z.ZodString;
1908
+ tenant_id: z.ZodString;
1909
+ site_id: z.ZodString;
1910
+ body: z.ZodString;
1911
+ source: z.ZodEnum<{
1912
+ user: "user";
1913
+ import: "import";
1914
+ system: "system";
1915
+ }>;
1916
+ created_at: z.ZodString;
1917
+ updated_at: z.ZodString;
1918
+ }, z.core.$strip>;
1919
+ }, z.core.$strip>;
1920
+ export type SaveBriefDraftResponse = z.infer<typeof SaveBriefDraftResponseSchema>;
1074
1921
  export declare const AgentRunStatusSchema: z.ZodEnum<{
1075
1922
  failed: "failed";
1076
1923
  queued: "queued";
@@ -1271,12 +2118,57 @@ export declare const PersistSiteSnapshotResponseSchema: z.ZodObject<{
1271
2118
  default_locale: z.ZodEnum<{
1272
2119
  id: "id";
1273
2120
  "zh-CN": "zh-CN";
2121
+ "zh-HK": "zh-HK";
2122
+ "zh-TW": "zh-TW";
2123
+ "en-US": "en-US";
2124
+ "en-GB": "en-GB";
2125
+ "ja-JP": "ja-JP";
2126
+ "ko-KR": "ko-KR";
2127
+ "es-ES": "es-ES";
2128
+ "fr-FR": "fr-FR";
2129
+ "de-DE": "de-DE";
2130
+ "pt-PT": "pt-PT";
2131
+ "ru-RU": "ru-RU";
2132
+ "ar-SA": "ar-SA";
2133
+ "id-ID": "id-ID";
2134
+ "vi-VN": "vi-VN";
2135
+ "th-TH": "th-TH";
2136
+ "it-IT": "it-IT";
2137
+ "nl-NL": "nl-NL";
2138
+ "tr-TR": "tr-TR";
2139
+ "pl-PL": "pl-PL";
2140
+ "uk-UA": "uk-UA";
2141
+ "cs-CZ": "cs-CZ";
2142
+ "sk-SK": "sk-SK";
2143
+ "hu-HU": "hu-HU";
2144
+ "ro-RO": "ro-RO";
2145
+ "el-GR": "el-GR";
2146
+ "sv-SE": "sv-SE";
2147
+ "da-DK": "da-DK";
2148
+ "fi-FI": "fi-FI";
2149
+ "hr-HR": "hr-HR";
2150
+ "lt-LT": "lt-LT";
2151
+ "lv-LV": "lv-LV";
2152
+ "et-EE": "et-EE";
2153
+ "ga-IE": "ga-IE";
2154
+ "mt-MT": "mt-MT";
2155
+ "ka-GE": "ka-GE";
2156
+ "fa-IR": "fa-IR";
2157
+ "bn-BD": "bn-BD";
2158
+ "ta-IN": "ta-IN";
2159
+ "si-LK": "si-LK";
2160
+ "ms-MY": "ms-MY";
2161
+ "fil-PH": "fil-PH";
2162
+ "my-MM": "my-MM";
2163
+ "km-KH": "km-KH";
2164
+ "lo-LA": "lo-LA";
2165
+ "mn-MN": "mn-MN";
2166
+ "kk-KZ": "kk-KZ";
1274
2167
  en: "en";
1275
2168
  ja: "ja";
1276
2169
  es: "es";
1277
2170
  fr: "fr";
1278
2171
  de: "de";
1279
- "zh-TW": "zh-TW";
1280
2172
  ko: "ko";
1281
2173
  pt: "pt";
1282
2174
  "pt-BR": "pt-BR";
@@ -1315,6 +2207,98 @@ export declare const PersistSiteSnapshotResponseSchema: z.ZodObject<{
1315
2207
  sr: "sr";
1316
2208
  is: "is";
1317
2209
  }>;
2210
+ owner_locale: z.ZodOptional<z.ZodEnum<{
2211
+ id: "id";
2212
+ "zh-CN": "zh-CN";
2213
+ "zh-HK": "zh-HK";
2214
+ "zh-TW": "zh-TW";
2215
+ "en-US": "en-US";
2216
+ "en-GB": "en-GB";
2217
+ "ja-JP": "ja-JP";
2218
+ "ko-KR": "ko-KR";
2219
+ "es-ES": "es-ES";
2220
+ "fr-FR": "fr-FR";
2221
+ "de-DE": "de-DE";
2222
+ "pt-PT": "pt-PT";
2223
+ "ru-RU": "ru-RU";
2224
+ "ar-SA": "ar-SA";
2225
+ "id-ID": "id-ID";
2226
+ "vi-VN": "vi-VN";
2227
+ "th-TH": "th-TH";
2228
+ "it-IT": "it-IT";
2229
+ "nl-NL": "nl-NL";
2230
+ "tr-TR": "tr-TR";
2231
+ "pl-PL": "pl-PL";
2232
+ "uk-UA": "uk-UA";
2233
+ "cs-CZ": "cs-CZ";
2234
+ "sk-SK": "sk-SK";
2235
+ "hu-HU": "hu-HU";
2236
+ "ro-RO": "ro-RO";
2237
+ "el-GR": "el-GR";
2238
+ "sv-SE": "sv-SE";
2239
+ "da-DK": "da-DK";
2240
+ "fi-FI": "fi-FI";
2241
+ "hr-HR": "hr-HR";
2242
+ "lt-LT": "lt-LT";
2243
+ "lv-LV": "lv-LV";
2244
+ "et-EE": "et-EE";
2245
+ "ga-IE": "ga-IE";
2246
+ "mt-MT": "mt-MT";
2247
+ "ka-GE": "ka-GE";
2248
+ "fa-IR": "fa-IR";
2249
+ "bn-BD": "bn-BD";
2250
+ "ta-IN": "ta-IN";
2251
+ "si-LK": "si-LK";
2252
+ "ms-MY": "ms-MY";
2253
+ "fil-PH": "fil-PH";
2254
+ "my-MM": "my-MM";
2255
+ "km-KH": "km-KH";
2256
+ "lo-LA": "lo-LA";
2257
+ "mn-MN": "mn-MN";
2258
+ "kk-KZ": "kk-KZ";
2259
+ en: "en";
2260
+ ja: "ja";
2261
+ es: "es";
2262
+ fr: "fr";
2263
+ de: "de";
2264
+ ko: "ko";
2265
+ pt: "pt";
2266
+ "pt-BR": "pt-BR";
2267
+ it: "it";
2268
+ ru: "ru";
2269
+ ar: "ar";
2270
+ hi: "hi";
2271
+ vi: "vi";
2272
+ th: "th";
2273
+ tr: "tr";
2274
+ nl: "nl";
2275
+ pl: "pl";
2276
+ uk: "uk";
2277
+ sv: "sv";
2278
+ da: "da";
2279
+ fi: "fi";
2280
+ no: "no";
2281
+ cs: "cs";
2282
+ el: "el";
2283
+ hu: "hu";
2284
+ ro: "ro";
2285
+ he: "he";
2286
+ ms: "ms";
2287
+ fil: "fil";
2288
+ bn: "bn";
2289
+ ta: "ta";
2290
+ ca: "ca";
2291
+ sk: "sk";
2292
+ hr: "hr";
2293
+ bg: "bg";
2294
+ lt: "lt";
2295
+ lv: "lv";
2296
+ et: "et";
2297
+ fa: "fa";
2298
+ sw: "sw";
2299
+ sr: "sr";
2300
+ is: "is";
2301
+ }>>;
1318
2302
  cms_site_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1319
2303
  cms_site_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1320
2304
  schema_version: z.ZodLiteral<1>;
@@ -1375,12 +2359,57 @@ export declare const PromoteSiteSnapshotResponseSchema: z.ZodObject<{
1375
2359
  default_locale: z.ZodEnum<{
1376
2360
  id: "id";
1377
2361
  "zh-CN": "zh-CN";
2362
+ "zh-HK": "zh-HK";
2363
+ "zh-TW": "zh-TW";
2364
+ "en-US": "en-US";
2365
+ "en-GB": "en-GB";
2366
+ "ja-JP": "ja-JP";
2367
+ "ko-KR": "ko-KR";
2368
+ "es-ES": "es-ES";
2369
+ "fr-FR": "fr-FR";
2370
+ "de-DE": "de-DE";
2371
+ "pt-PT": "pt-PT";
2372
+ "ru-RU": "ru-RU";
2373
+ "ar-SA": "ar-SA";
2374
+ "id-ID": "id-ID";
2375
+ "vi-VN": "vi-VN";
2376
+ "th-TH": "th-TH";
2377
+ "it-IT": "it-IT";
2378
+ "nl-NL": "nl-NL";
2379
+ "tr-TR": "tr-TR";
2380
+ "pl-PL": "pl-PL";
2381
+ "uk-UA": "uk-UA";
2382
+ "cs-CZ": "cs-CZ";
2383
+ "sk-SK": "sk-SK";
2384
+ "hu-HU": "hu-HU";
2385
+ "ro-RO": "ro-RO";
2386
+ "el-GR": "el-GR";
2387
+ "sv-SE": "sv-SE";
2388
+ "da-DK": "da-DK";
2389
+ "fi-FI": "fi-FI";
2390
+ "hr-HR": "hr-HR";
2391
+ "lt-LT": "lt-LT";
2392
+ "lv-LV": "lv-LV";
2393
+ "et-EE": "et-EE";
2394
+ "ga-IE": "ga-IE";
2395
+ "mt-MT": "mt-MT";
2396
+ "ka-GE": "ka-GE";
2397
+ "fa-IR": "fa-IR";
2398
+ "bn-BD": "bn-BD";
2399
+ "ta-IN": "ta-IN";
2400
+ "si-LK": "si-LK";
2401
+ "ms-MY": "ms-MY";
2402
+ "fil-PH": "fil-PH";
2403
+ "my-MM": "my-MM";
2404
+ "km-KH": "km-KH";
2405
+ "lo-LA": "lo-LA";
2406
+ "mn-MN": "mn-MN";
2407
+ "kk-KZ": "kk-KZ";
1378
2408
  en: "en";
1379
2409
  ja: "ja";
1380
2410
  es: "es";
1381
2411
  fr: "fr";
1382
2412
  de: "de";
1383
- "zh-TW": "zh-TW";
1384
2413
  ko: "ko";
1385
2414
  pt: "pt";
1386
2415
  "pt-BR": "pt-BR";
@@ -1419,6 +2448,98 @@ export declare const PromoteSiteSnapshotResponseSchema: z.ZodObject<{
1419
2448
  sr: "sr";
1420
2449
  is: "is";
1421
2450
  }>;
2451
+ owner_locale: z.ZodOptional<z.ZodEnum<{
2452
+ id: "id";
2453
+ "zh-CN": "zh-CN";
2454
+ "zh-HK": "zh-HK";
2455
+ "zh-TW": "zh-TW";
2456
+ "en-US": "en-US";
2457
+ "en-GB": "en-GB";
2458
+ "ja-JP": "ja-JP";
2459
+ "ko-KR": "ko-KR";
2460
+ "es-ES": "es-ES";
2461
+ "fr-FR": "fr-FR";
2462
+ "de-DE": "de-DE";
2463
+ "pt-PT": "pt-PT";
2464
+ "ru-RU": "ru-RU";
2465
+ "ar-SA": "ar-SA";
2466
+ "id-ID": "id-ID";
2467
+ "vi-VN": "vi-VN";
2468
+ "th-TH": "th-TH";
2469
+ "it-IT": "it-IT";
2470
+ "nl-NL": "nl-NL";
2471
+ "tr-TR": "tr-TR";
2472
+ "pl-PL": "pl-PL";
2473
+ "uk-UA": "uk-UA";
2474
+ "cs-CZ": "cs-CZ";
2475
+ "sk-SK": "sk-SK";
2476
+ "hu-HU": "hu-HU";
2477
+ "ro-RO": "ro-RO";
2478
+ "el-GR": "el-GR";
2479
+ "sv-SE": "sv-SE";
2480
+ "da-DK": "da-DK";
2481
+ "fi-FI": "fi-FI";
2482
+ "hr-HR": "hr-HR";
2483
+ "lt-LT": "lt-LT";
2484
+ "lv-LV": "lv-LV";
2485
+ "et-EE": "et-EE";
2486
+ "ga-IE": "ga-IE";
2487
+ "mt-MT": "mt-MT";
2488
+ "ka-GE": "ka-GE";
2489
+ "fa-IR": "fa-IR";
2490
+ "bn-BD": "bn-BD";
2491
+ "ta-IN": "ta-IN";
2492
+ "si-LK": "si-LK";
2493
+ "ms-MY": "ms-MY";
2494
+ "fil-PH": "fil-PH";
2495
+ "my-MM": "my-MM";
2496
+ "km-KH": "km-KH";
2497
+ "lo-LA": "lo-LA";
2498
+ "mn-MN": "mn-MN";
2499
+ "kk-KZ": "kk-KZ";
2500
+ en: "en";
2501
+ ja: "ja";
2502
+ es: "es";
2503
+ fr: "fr";
2504
+ de: "de";
2505
+ ko: "ko";
2506
+ pt: "pt";
2507
+ "pt-BR": "pt-BR";
2508
+ it: "it";
2509
+ ru: "ru";
2510
+ ar: "ar";
2511
+ hi: "hi";
2512
+ vi: "vi";
2513
+ th: "th";
2514
+ tr: "tr";
2515
+ nl: "nl";
2516
+ pl: "pl";
2517
+ uk: "uk";
2518
+ sv: "sv";
2519
+ da: "da";
2520
+ fi: "fi";
2521
+ no: "no";
2522
+ cs: "cs";
2523
+ el: "el";
2524
+ hu: "hu";
2525
+ ro: "ro";
2526
+ he: "he";
2527
+ ms: "ms";
2528
+ fil: "fil";
2529
+ bn: "bn";
2530
+ ta: "ta";
2531
+ ca: "ca";
2532
+ sk: "sk";
2533
+ hr: "hr";
2534
+ bg: "bg";
2535
+ lt: "lt";
2536
+ lv: "lv";
2537
+ et: "et";
2538
+ fa: "fa";
2539
+ sw: "sw";
2540
+ sr: "sr";
2541
+ is: "is";
2542
+ }>>;
1422
2543
  cms_site_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1423
2544
  cms_site_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1424
2545
  schema_version: z.ZodLiteral<1>;
@@ -1580,12 +2701,57 @@ export declare const RestoreSiteSnapshotResponseSchema: z.ZodObject<{
1580
2701
  default_locale: z.ZodEnum<{
1581
2702
  id: "id";
1582
2703
  "zh-CN": "zh-CN";
2704
+ "zh-HK": "zh-HK";
2705
+ "zh-TW": "zh-TW";
2706
+ "en-US": "en-US";
2707
+ "en-GB": "en-GB";
2708
+ "ja-JP": "ja-JP";
2709
+ "ko-KR": "ko-KR";
2710
+ "es-ES": "es-ES";
2711
+ "fr-FR": "fr-FR";
2712
+ "de-DE": "de-DE";
2713
+ "pt-PT": "pt-PT";
2714
+ "ru-RU": "ru-RU";
2715
+ "ar-SA": "ar-SA";
2716
+ "id-ID": "id-ID";
2717
+ "vi-VN": "vi-VN";
2718
+ "th-TH": "th-TH";
2719
+ "it-IT": "it-IT";
2720
+ "nl-NL": "nl-NL";
2721
+ "tr-TR": "tr-TR";
2722
+ "pl-PL": "pl-PL";
2723
+ "uk-UA": "uk-UA";
2724
+ "cs-CZ": "cs-CZ";
2725
+ "sk-SK": "sk-SK";
2726
+ "hu-HU": "hu-HU";
2727
+ "ro-RO": "ro-RO";
2728
+ "el-GR": "el-GR";
2729
+ "sv-SE": "sv-SE";
2730
+ "da-DK": "da-DK";
2731
+ "fi-FI": "fi-FI";
2732
+ "hr-HR": "hr-HR";
2733
+ "lt-LT": "lt-LT";
2734
+ "lv-LV": "lv-LV";
2735
+ "et-EE": "et-EE";
2736
+ "ga-IE": "ga-IE";
2737
+ "mt-MT": "mt-MT";
2738
+ "ka-GE": "ka-GE";
2739
+ "fa-IR": "fa-IR";
2740
+ "bn-BD": "bn-BD";
2741
+ "ta-IN": "ta-IN";
2742
+ "si-LK": "si-LK";
2743
+ "ms-MY": "ms-MY";
2744
+ "fil-PH": "fil-PH";
2745
+ "my-MM": "my-MM";
2746
+ "km-KH": "km-KH";
2747
+ "lo-LA": "lo-LA";
2748
+ "mn-MN": "mn-MN";
2749
+ "kk-KZ": "kk-KZ";
1583
2750
  en: "en";
1584
2751
  ja: "ja";
1585
2752
  es: "es";
1586
2753
  fr: "fr";
1587
2754
  de: "de";
1588
- "zh-TW": "zh-TW";
1589
2755
  ko: "ko";
1590
2756
  pt: "pt";
1591
2757
  "pt-BR": "pt-BR";
@@ -1624,6 +2790,98 @@ export declare const RestoreSiteSnapshotResponseSchema: z.ZodObject<{
1624
2790
  sr: "sr";
1625
2791
  is: "is";
1626
2792
  }>;
2793
+ owner_locale: z.ZodOptional<z.ZodEnum<{
2794
+ id: "id";
2795
+ "zh-CN": "zh-CN";
2796
+ "zh-HK": "zh-HK";
2797
+ "zh-TW": "zh-TW";
2798
+ "en-US": "en-US";
2799
+ "en-GB": "en-GB";
2800
+ "ja-JP": "ja-JP";
2801
+ "ko-KR": "ko-KR";
2802
+ "es-ES": "es-ES";
2803
+ "fr-FR": "fr-FR";
2804
+ "de-DE": "de-DE";
2805
+ "pt-PT": "pt-PT";
2806
+ "ru-RU": "ru-RU";
2807
+ "ar-SA": "ar-SA";
2808
+ "id-ID": "id-ID";
2809
+ "vi-VN": "vi-VN";
2810
+ "th-TH": "th-TH";
2811
+ "it-IT": "it-IT";
2812
+ "nl-NL": "nl-NL";
2813
+ "tr-TR": "tr-TR";
2814
+ "pl-PL": "pl-PL";
2815
+ "uk-UA": "uk-UA";
2816
+ "cs-CZ": "cs-CZ";
2817
+ "sk-SK": "sk-SK";
2818
+ "hu-HU": "hu-HU";
2819
+ "ro-RO": "ro-RO";
2820
+ "el-GR": "el-GR";
2821
+ "sv-SE": "sv-SE";
2822
+ "da-DK": "da-DK";
2823
+ "fi-FI": "fi-FI";
2824
+ "hr-HR": "hr-HR";
2825
+ "lt-LT": "lt-LT";
2826
+ "lv-LV": "lv-LV";
2827
+ "et-EE": "et-EE";
2828
+ "ga-IE": "ga-IE";
2829
+ "mt-MT": "mt-MT";
2830
+ "ka-GE": "ka-GE";
2831
+ "fa-IR": "fa-IR";
2832
+ "bn-BD": "bn-BD";
2833
+ "ta-IN": "ta-IN";
2834
+ "si-LK": "si-LK";
2835
+ "ms-MY": "ms-MY";
2836
+ "fil-PH": "fil-PH";
2837
+ "my-MM": "my-MM";
2838
+ "km-KH": "km-KH";
2839
+ "lo-LA": "lo-LA";
2840
+ "mn-MN": "mn-MN";
2841
+ "kk-KZ": "kk-KZ";
2842
+ en: "en";
2843
+ ja: "ja";
2844
+ es: "es";
2845
+ fr: "fr";
2846
+ de: "de";
2847
+ ko: "ko";
2848
+ pt: "pt";
2849
+ "pt-BR": "pt-BR";
2850
+ it: "it";
2851
+ ru: "ru";
2852
+ ar: "ar";
2853
+ hi: "hi";
2854
+ vi: "vi";
2855
+ th: "th";
2856
+ tr: "tr";
2857
+ nl: "nl";
2858
+ pl: "pl";
2859
+ uk: "uk";
2860
+ sv: "sv";
2861
+ da: "da";
2862
+ fi: "fi";
2863
+ no: "no";
2864
+ cs: "cs";
2865
+ el: "el";
2866
+ hu: "hu";
2867
+ ro: "ro";
2868
+ he: "he";
2869
+ ms: "ms";
2870
+ fil: "fil";
2871
+ bn: "bn";
2872
+ ta: "ta";
2873
+ ca: "ca";
2874
+ sk: "sk";
2875
+ hr: "hr";
2876
+ bg: "bg";
2877
+ lt: "lt";
2878
+ lv: "lv";
2879
+ et: "et";
2880
+ fa: "fa";
2881
+ sw: "sw";
2882
+ sr: "sr";
2883
+ is: "is";
2884
+ }>>;
1627
2885
  cms_site_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1628
2886
  cms_site_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1629
2887
  schema_version: z.ZodLiteral<1>;
@@ -2945,9 +4203,43 @@ export declare const BlockSchema: z.ZodObject<{
2945
4203
  userInstruction: z.ZodOptional<z.ZodString>;
2946
4204
  }, z.core.$strip>>;
2947
4205
  }, z.core.$strict>;
2948
- export declare const PageSchema: z.ZodObject<{
4206
+ export declare const PageSlugSchema: z.ZodString;
4207
+ export declare const SitemapNavigationHrefSchema: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
4208
+ export declare const PageSchema: z.ZodObject<{
4209
+ id: z.ZodString;
4210
+ slug: z.ZodString;
4211
+ title: z.ZodString;
4212
+ blocks: z.ZodArray<z.ZodObject<{
4213
+ id: z.ZodString;
4214
+ type: z.ZodString;
4215
+ variant: z.ZodOptional<z.ZodString>;
4216
+ order: z.ZodNumber;
4217
+ props: z.ZodRecord<z.ZodString, z.ZodUnknown>;
4218
+ enabled: z.ZodBoolean;
4219
+ meta: z.ZodOptional<z.ZodObject<{
4220
+ aiGenerated: z.ZodBoolean;
4221
+ userEdited: z.ZodBoolean;
4222
+ lastEditedAt: z.ZodString;
4223
+ lastEditedBy: z.ZodEnum<{
4224
+ ai: "ai";
4225
+ user: "user";
4226
+ }>;
4227
+ userInstruction: z.ZodOptional<z.ZodString>;
4228
+ }, z.core.$strip>>;
4229
+ }, z.core.$strict>>;
4230
+ layout: z.ZodOptional<z.ZodEnum<{
4231
+ default: "default";
4232
+ centered: "centered";
4233
+ fullwidth: "fullwidth";
4234
+ }>>;
4235
+ navigation: z.ZodObject<{
4236
+ showInHeader: z.ZodBoolean;
4237
+ showInFooter: z.ZodBoolean;
4238
+ order: z.ZodNumber;
4239
+ }, z.core.$strip>;
4240
+ }, z.core.$strict>;
4241
+ export declare const SitemapModelPageSchema: z.ZodObject<{
2949
4242
  id: z.ZodString;
2950
- slug: z.ZodString;
2951
4243
  title: z.ZodString;
2952
4244
  blocks: z.ZodArray<z.ZodObject<{
2953
4245
  id: z.ZodString;
@@ -2977,7 +4269,9 @@ export declare const PageSchema: z.ZodObject<{
2977
4269
  showInFooter: z.ZodBoolean;
2978
4270
  order: z.ZodNumber;
2979
4271
  }, z.core.$strip>;
4272
+ slug: z.ZodString;
2980
4273
  }, z.core.$strict>;
4274
+ export type SitemapModelPage = z.infer<typeof SitemapModelPageSchema>;
2981
4275
  export declare const SitemapSchema: z.ZodObject<{
2982
4276
  site_name: z.ZodOptional<z.ZodString>;
2983
4277
  version: z.ZodNumber;
@@ -3017,11 +4311,11 @@ export declare const SitemapSchema: z.ZodObject<{
3017
4311
  navigation: z.ZodObject<{
3018
4312
  primaryLinks: z.ZodArray<z.ZodObject<{
3019
4313
  label: z.ZodString;
3020
- href: z.ZodString;
4314
+ href: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
3021
4315
  }, z.core.$strip>>;
3022
4316
  footerLinks: z.ZodArray<z.ZodObject<{
3023
4317
  label: z.ZodString;
3024
- href: z.ZodString;
4318
+ href: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
3025
4319
  }, z.core.$strip>>;
3026
4320
  }, z.core.$strip>;
3027
4321
  integrations: z.ZodOptional<z.ZodObject<{
@@ -3114,7 +4408,7 @@ export declare const SitemapSchema: z.ZodObject<{
3114
4408
  }, z.core.$strict>;
3115
4409
  export type Sitemap = z.infer<typeof SitemapSchema>;
3116
4410
  /**
3117
- * 提供给 streamObject 用于 LLM 输出的 sitemap schema 子集。
4411
+ * 提供给 emit_sitemap 工具输入的 sitemap schema 子集。
3118
4412
  * skillSelection / visualTheme / userChoices / confirmedChoices
3119
4413
  * 是服务端注入字段,LLM 不输出。
3120
4414
  */
@@ -3126,19 +4420,13 @@ export declare const SitemapModelOutputSchema: z.ZodObject<{
3126
4420
  source_brief_id: z.ZodOptional<z.ZodString>;
3127
4421
  source_answer_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
3128
4422
  }, z.core.$strip>;
3129
- navigation: z.ZodObject<{
3130
- primaryLinks: z.ZodArray<z.ZodObject<{
3131
- label: z.ZodString;
3132
- href: z.ZodString;
3133
- }, z.core.$strip>>;
3134
- footerLinks: z.ZodArray<z.ZodObject<{
3135
- label: z.ZodString;
3136
- href: z.ZodString;
3137
- }, z.core.$strip>>;
3138
- }, z.core.$strip>;
4423
+ integrations: z.ZodOptional<z.ZodObject<{
4424
+ cms: z.ZodOptional<z.ZodUnknown>;
4425
+ analytics: z.ZodOptional<z.ZodUnknown>;
4426
+ }, z.core.$strip>>;
4427
+ site_name: z.ZodString;
3139
4428
  pages: z.ZodArray<z.ZodObject<{
3140
4429
  id: z.ZodString;
3141
- slug: z.ZodString;
3142
4430
  title: z.ZodString;
3143
4431
  blocks: z.ZodArray<z.ZodObject<{
3144
4432
  id: z.ZodString;
@@ -3168,12 +4456,18 @@ export declare const SitemapModelOutputSchema: z.ZodObject<{
3168
4456
  showInFooter: z.ZodBoolean;
3169
4457
  order: z.ZodNumber;
3170
4458
  }, z.core.$strip>;
4459
+ slug: z.ZodString;
3171
4460
  }, z.core.$strict>>;
3172
- integrations: z.ZodOptional<z.ZodObject<{
3173
- cms: z.ZodOptional<z.ZodUnknown>;
3174
- analytics: z.ZodOptional<z.ZodUnknown>;
3175
- }, z.core.$strip>>;
3176
- site_name: z.ZodString;
4461
+ navigation: z.ZodObject<{
4462
+ primaryLinks: z.ZodArray<z.ZodObject<{
4463
+ label: z.ZodString;
4464
+ href: z.ZodString;
4465
+ }, z.core.$strip>>;
4466
+ footerLinks: z.ZodArray<z.ZodObject<{
4467
+ label: z.ZodString;
4468
+ href: z.ZodString;
4469
+ }, z.core.$strip>>;
4470
+ }, z.core.$strip>;
3177
4471
  }, z.core.$strict>;
3178
4472
  export type SitemapModelOutput = z.infer<typeof SitemapModelOutputSchema>;
3179
4473
  export type Page = z.infer<typeof PageSchema>;
@@ -3521,12 +4815,149 @@ export declare const SitemapRunInputSchema: z.ZodObject<{
3521
4815
  site_default_locale: z.ZodOptional<z.ZodEnum<{
3522
4816
  id: "id";
3523
4817
  "zh-CN": "zh-CN";
4818
+ "zh-HK": "zh-HK";
4819
+ "zh-TW": "zh-TW";
4820
+ "en-US": "en-US";
4821
+ "en-GB": "en-GB";
4822
+ "ja-JP": "ja-JP";
4823
+ "ko-KR": "ko-KR";
4824
+ "es-ES": "es-ES";
4825
+ "fr-FR": "fr-FR";
4826
+ "de-DE": "de-DE";
4827
+ "pt-PT": "pt-PT";
4828
+ "ru-RU": "ru-RU";
4829
+ "ar-SA": "ar-SA";
4830
+ "id-ID": "id-ID";
4831
+ "vi-VN": "vi-VN";
4832
+ "th-TH": "th-TH";
4833
+ "it-IT": "it-IT";
4834
+ "nl-NL": "nl-NL";
4835
+ "tr-TR": "tr-TR";
4836
+ "pl-PL": "pl-PL";
4837
+ "uk-UA": "uk-UA";
4838
+ "cs-CZ": "cs-CZ";
4839
+ "sk-SK": "sk-SK";
4840
+ "hu-HU": "hu-HU";
4841
+ "ro-RO": "ro-RO";
4842
+ "el-GR": "el-GR";
4843
+ "sv-SE": "sv-SE";
4844
+ "da-DK": "da-DK";
4845
+ "fi-FI": "fi-FI";
4846
+ "hr-HR": "hr-HR";
4847
+ "lt-LT": "lt-LT";
4848
+ "lv-LV": "lv-LV";
4849
+ "et-EE": "et-EE";
4850
+ "ga-IE": "ga-IE";
4851
+ "mt-MT": "mt-MT";
4852
+ "ka-GE": "ka-GE";
4853
+ "fa-IR": "fa-IR";
4854
+ "bn-BD": "bn-BD";
4855
+ "ta-IN": "ta-IN";
4856
+ "si-LK": "si-LK";
4857
+ "ms-MY": "ms-MY";
4858
+ "fil-PH": "fil-PH";
4859
+ "my-MM": "my-MM";
4860
+ "km-KH": "km-KH";
4861
+ "lo-LA": "lo-LA";
4862
+ "mn-MN": "mn-MN";
4863
+ "kk-KZ": "kk-KZ";
3524
4864
  en: "en";
3525
4865
  ja: "ja";
3526
4866
  es: "es";
3527
4867
  fr: "fr";
3528
4868
  de: "de";
4869
+ ko: "ko";
4870
+ pt: "pt";
4871
+ "pt-BR": "pt-BR";
4872
+ it: "it";
4873
+ ru: "ru";
4874
+ ar: "ar";
4875
+ hi: "hi";
4876
+ vi: "vi";
4877
+ th: "th";
4878
+ tr: "tr";
4879
+ nl: "nl";
4880
+ pl: "pl";
4881
+ uk: "uk";
4882
+ sv: "sv";
4883
+ da: "da";
4884
+ fi: "fi";
4885
+ no: "no";
4886
+ cs: "cs";
4887
+ el: "el";
4888
+ hu: "hu";
4889
+ ro: "ro";
4890
+ he: "he";
4891
+ ms: "ms";
4892
+ fil: "fil";
4893
+ bn: "bn";
4894
+ ta: "ta";
4895
+ ca: "ca";
4896
+ sk: "sk";
4897
+ hr: "hr";
4898
+ bg: "bg";
4899
+ lt: "lt";
4900
+ lv: "lv";
4901
+ et: "et";
4902
+ fa: "fa";
4903
+ sw: "sw";
4904
+ sr: "sr";
4905
+ is: "is";
4906
+ }>>;
4907
+ owner_locale: z.ZodOptional<z.ZodEnum<{
4908
+ id: "id";
4909
+ "zh-CN": "zh-CN";
4910
+ "zh-HK": "zh-HK";
3529
4911
  "zh-TW": "zh-TW";
4912
+ "en-US": "en-US";
4913
+ "en-GB": "en-GB";
4914
+ "ja-JP": "ja-JP";
4915
+ "ko-KR": "ko-KR";
4916
+ "es-ES": "es-ES";
4917
+ "fr-FR": "fr-FR";
4918
+ "de-DE": "de-DE";
4919
+ "pt-PT": "pt-PT";
4920
+ "ru-RU": "ru-RU";
4921
+ "ar-SA": "ar-SA";
4922
+ "id-ID": "id-ID";
4923
+ "vi-VN": "vi-VN";
4924
+ "th-TH": "th-TH";
4925
+ "it-IT": "it-IT";
4926
+ "nl-NL": "nl-NL";
4927
+ "tr-TR": "tr-TR";
4928
+ "pl-PL": "pl-PL";
4929
+ "uk-UA": "uk-UA";
4930
+ "cs-CZ": "cs-CZ";
4931
+ "sk-SK": "sk-SK";
4932
+ "hu-HU": "hu-HU";
4933
+ "ro-RO": "ro-RO";
4934
+ "el-GR": "el-GR";
4935
+ "sv-SE": "sv-SE";
4936
+ "da-DK": "da-DK";
4937
+ "fi-FI": "fi-FI";
4938
+ "hr-HR": "hr-HR";
4939
+ "lt-LT": "lt-LT";
4940
+ "lv-LV": "lv-LV";
4941
+ "et-EE": "et-EE";
4942
+ "ga-IE": "ga-IE";
4943
+ "mt-MT": "mt-MT";
4944
+ "ka-GE": "ka-GE";
4945
+ "fa-IR": "fa-IR";
4946
+ "bn-BD": "bn-BD";
4947
+ "ta-IN": "ta-IN";
4948
+ "si-LK": "si-LK";
4949
+ "ms-MY": "ms-MY";
4950
+ "fil-PH": "fil-PH";
4951
+ "my-MM": "my-MM";
4952
+ "km-KH": "km-KH";
4953
+ "lo-LA": "lo-LA";
4954
+ "mn-MN": "mn-MN";
4955
+ "kk-KZ": "kk-KZ";
4956
+ en: "en";
4957
+ ja: "ja";
4958
+ es: "es";
4959
+ fr: "fr";
4960
+ de: "de";
3530
4961
  ko: "ko";
3531
4962
  pt: "pt";
3532
4963
  "pt-BR": "pt-BR";
@@ -3610,6 +5041,16 @@ export declare const SitemapGenerationStageSchema: z.ZodEnum<{
3610
5041
  validating: "validating";
3611
5042
  }>;
3612
5043
  export type SitemapGenerationStage = z.infer<typeof SitemapGenerationStageSchema>;
5044
+ export declare const SitemapGenerationOutcomeSchema: z.ZodEnum<{
5045
+ deterministic_fallback: "deterministic_fallback";
5046
+ salvaged: "salvaged";
5047
+ }>;
5048
+ export type SitemapGenerationOutcome = z.infer<typeof SitemapGenerationOutcomeSchema>;
5049
+ export declare const SitemapGenerationReasonSchema: z.ZodEnum<{
5050
+ model_exception_settled_prefix: "model_exception_settled_prefix";
5051
+ model_exception_safe_root: "model_exception_safe_root";
5052
+ }>;
5053
+ export type SitemapGenerationReason = z.infer<typeof SitemapGenerationReasonSchema>;
3613
5054
  export declare const SitemapStreamEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
3614
5055
  type: z.ZodLiteral<"run.started">;
3615
5056
  runId: z.ZodString;
@@ -3629,6 +5070,16 @@ export declare const SitemapStreamEventSchema: z.ZodDiscriminatedUnion<[z.ZodObj
3629
5070
  object: z.ZodUnknown;
3630
5071
  at: z.ZodString;
3631
5072
  }, z.core.$strip>, z.ZodObject<{
5073
+ at: z.ZodString;
5074
+ outcome: z.ZodOptional<z.ZodEnum<{
5075
+ deterministic_fallback: "deterministic_fallback";
5076
+ salvaged: "salvaged";
5077
+ }>>;
5078
+ reason: z.ZodOptional<z.ZodEnum<{
5079
+ model_exception_settled_prefix: "model_exception_settled_prefix";
5080
+ model_exception_safe_root: "model_exception_safe_root";
5081
+ }>>;
5082
+ attempts: z.ZodOptional<z.ZodNumber>;
3632
5083
  type: z.ZodLiteral<"sitemap.generated">;
3633
5084
  sitemap_id: z.ZodString;
3634
5085
  sitemap: z.ZodObject<{
@@ -3670,11 +5121,11 @@ export declare const SitemapStreamEventSchema: z.ZodDiscriminatedUnion<[z.ZodObj
3670
5121
  navigation: z.ZodObject<{
3671
5122
  primaryLinks: z.ZodArray<z.ZodObject<{
3672
5123
  label: z.ZodString;
3673
- href: z.ZodString;
5124
+ href: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
3674
5125
  }, z.core.$strip>>;
3675
5126
  footerLinks: z.ZodArray<z.ZodObject<{
3676
5127
  label: z.ZodString;
3677
- href: z.ZodString;
5128
+ href: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
3678
5129
  }, z.core.$strip>>;
3679
5130
  }, z.core.$strip>;
3680
5131
  integrations: z.ZodOptional<z.ZodObject<{
@@ -3765,7 +5216,6 @@ export declare const SitemapStreamEventSchema: z.ZodDiscriminatedUnion<[z.ZodObj
3765
5216
  }, z.core.$strip>>;
3766
5217
  }, z.core.$strip>>;
3767
5218
  }, z.core.$strict>;
3768
- at: z.ZodString;
3769
5219
  }, z.core.$strip>, z.ZodObject<{
3770
5220
  type: z.ZodLiteral<"sitemap.clamped">;
3771
5221
  reason: z.ZodEnum<{
@@ -3852,11 +5302,11 @@ export declare const SitemapRecordSchema: z.ZodObject<{
3852
5302
  navigation: z.ZodObject<{
3853
5303
  primaryLinks: z.ZodArray<z.ZodObject<{
3854
5304
  label: z.ZodString;
3855
- href: z.ZodString;
5305
+ href: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
3856
5306
  }, z.core.$strip>>;
3857
5307
  footerLinks: z.ZodArray<z.ZodObject<{
3858
5308
  label: z.ZodString;
3859
- href: z.ZodString;
5309
+ href: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
3860
5310
  }, z.core.$strip>>;
3861
5311
  }, z.core.$strip>;
3862
5312
  integrations: z.ZodOptional<z.ZodObject<{
@@ -3993,11 +5443,11 @@ export declare const PersistSiteSitemapRequestSchema: z.ZodObject<{
3993
5443
  navigation: z.ZodObject<{
3994
5444
  primaryLinks: z.ZodArray<z.ZodObject<{
3995
5445
  label: z.ZodString;
3996
- href: z.ZodString;
5446
+ href: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
3997
5447
  }, z.core.$strip>>;
3998
5448
  footerLinks: z.ZodArray<z.ZodObject<{
3999
5449
  label: z.ZodString;
4000
- href: z.ZodString;
5450
+ href: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
4001
5451
  }, z.core.$strip>>;
4002
5452
  }, z.core.$strip>;
4003
5453
  integrations: z.ZodOptional<z.ZodObject<{
@@ -4120,12 +5570,57 @@ export declare const PersistSiteSitemapResponseSchema: z.ZodObject<{
4120
5570
  default_locale: z.ZodEnum<{
4121
5571
  id: "id";
4122
5572
  "zh-CN": "zh-CN";
5573
+ "zh-HK": "zh-HK";
5574
+ "zh-TW": "zh-TW";
5575
+ "en-US": "en-US";
5576
+ "en-GB": "en-GB";
5577
+ "ja-JP": "ja-JP";
5578
+ "ko-KR": "ko-KR";
5579
+ "es-ES": "es-ES";
5580
+ "fr-FR": "fr-FR";
5581
+ "de-DE": "de-DE";
5582
+ "pt-PT": "pt-PT";
5583
+ "ru-RU": "ru-RU";
5584
+ "ar-SA": "ar-SA";
5585
+ "id-ID": "id-ID";
5586
+ "vi-VN": "vi-VN";
5587
+ "th-TH": "th-TH";
5588
+ "it-IT": "it-IT";
5589
+ "nl-NL": "nl-NL";
5590
+ "tr-TR": "tr-TR";
5591
+ "pl-PL": "pl-PL";
5592
+ "uk-UA": "uk-UA";
5593
+ "cs-CZ": "cs-CZ";
5594
+ "sk-SK": "sk-SK";
5595
+ "hu-HU": "hu-HU";
5596
+ "ro-RO": "ro-RO";
5597
+ "el-GR": "el-GR";
5598
+ "sv-SE": "sv-SE";
5599
+ "da-DK": "da-DK";
5600
+ "fi-FI": "fi-FI";
5601
+ "hr-HR": "hr-HR";
5602
+ "lt-LT": "lt-LT";
5603
+ "lv-LV": "lv-LV";
5604
+ "et-EE": "et-EE";
5605
+ "ga-IE": "ga-IE";
5606
+ "mt-MT": "mt-MT";
5607
+ "ka-GE": "ka-GE";
5608
+ "fa-IR": "fa-IR";
5609
+ "bn-BD": "bn-BD";
5610
+ "ta-IN": "ta-IN";
5611
+ "si-LK": "si-LK";
5612
+ "ms-MY": "ms-MY";
5613
+ "fil-PH": "fil-PH";
5614
+ "my-MM": "my-MM";
5615
+ "km-KH": "km-KH";
5616
+ "lo-LA": "lo-LA";
5617
+ "mn-MN": "mn-MN";
5618
+ "kk-KZ": "kk-KZ";
4123
5619
  en: "en";
4124
5620
  ja: "ja";
4125
5621
  es: "es";
4126
5622
  fr: "fr";
4127
5623
  de: "de";
4128
- "zh-TW": "zh-TW";
4129
5624
  ko: "ko";
4130
5625
  pt: "pt";
4131
5626
  "pt-BR": "pt-BR";
@@ -4164,6 +5659,98 @@ export declare const PersistSiteSitemapResponseSchema: z.ZodObject<{
4164
5659
  sr: "sr";
4165
5660
  is: "is";
4166
5661
  }>;
5662
+ owner_locale: z.ZodOptional<z.ZodEnum<{
5663
+ id: "id";
5664
+ "zh-CN": "zh-CN";
5665
+ "zh-HK": "zh-HK";
5666
+ "zh-TW": "zh-TW";
5667
+ "en-US": "en-US";
5668
+ "en-GB": "en-GB";
5669
+ "ja-JP": "ja-JP";
5670
+ "ko-KR": "ko-KR";
5671
+ "es-ES": "es-ES";
5672
+ "fr-FR": "fr-FR";
5673
+ "de-DE": "de-DE";
5674
+ "pt-PT": "pt-PT";
5675
+ "ru-RU": "ru-RU";
5676
+ "ar-SA": "ar-SA";
5677
+ "id-ID": "id-ID";
5678
+ "vi-VN": "vi-VN";
5679
+ "th-TH": "th-TH";
5680
+ "it-IT": "it-IT";
5681
+ "nl-NL": "nl-NL";
5682
+ "tr-TR": "tr-TR";
5683
+ "pl-PL": "pl-PL";
5684
+ "uk-UA": "uk-UA";
5685
+ "cs-CZ": "cs-CZ";
5686
+ "sk-SK": "sk-SK";
5687
+ "hu-HU": "hu-HU";
5688
+ "ro-RO": "ro-RO";
5689
+ "el-GR": "el-GR";
5690
+ "sv-SE": "sv-SE";
5691
+ "da-DK": "da-DK";
5692
+ "fi-FI": "fi-FI";
5693
+ "hr-HR": "hr-HR";
5694
+ "lt-LT": "lt-LT";
5695
+ "lv-LV": "lv-LV";
5696
+ "et-EE": "et-EE";
5697
+ "ga-IE": "ga-IE";
5698
+ "mt-MT": "mt-MT";
5699
+ "ka-GE": "ka-GE";
5700
+ "fa-IR": "fa-IR";
5701
+ "bn-BD": "bn-BD";
5702
+ "ta-IN": "ta-IN";
5703
+ "si-LK": "si-LK";
5704
+ "ms-MY": "ms-MY";
5705
+ "fil-PH": "fil-PH";
5706
+ "my-MM": "my-MM";
5707
+ "km-KH": "km-KH";
5708
+ "lo-LA": "lo-LA";
5709
+ "mn-MN": "mn-MN";
5710
+ "kk-KZ": "kk-KZ";
5711
+ en: "en";
5712
+ ja: "ja";
5713
+ es: "es";
5714
+ fr: "fr";
5715
+ de: "de";
5716
+ ko: "ko";
5717
+ pt: "pt";
5718
+ "pt-BR": "pt-BR";
5719
+ it: "it";
5720
+ ru: "ru";
5721
+ ar: "ar";
5722
+ hi: "hi";
5723
+ vi: "vi";
5724
+ th: "th";
5725
+ tr: "tr";
5726
+ nl: "nl";
5727
+ pl: "pl";
5728
+ uk: "uk";
5729
+ sv: "sv";
5730
+ da: "da";
5731
+ fi: "fi";
5732
+ no: "no";
5733
+ cs: "cs";
5734
+ el: "el";
5735
+ hu: "hu";
5736
+ ro: "ro";
5737
+ he: "he";
5738
+ ms: "ms";
5739
+ fil: "fil";
5740
+ bn: "bn";
5741
+ ta: "ta";
5742
+ ca: "ca";
5743
+ sk: "sk";
5744
+ hr: "hr";
5745
+ bg: "bg";
5746
+ lt: "lt";
5747
+ lv: "lv";
5748
+ et: "et";
5749
+ fa: "fa";
5750
+ sw: "sw";
5751
+ sr: "sr";
5752
+ is: "is";
5753
+ }>>;
4167
5754
  cms_site_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4168
5755
  cms_site_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4169
5756
  schema_version: z.ZodLiteral<1>;
@@ -4214,11 +5801,11 @@ export declare const PersistSiteSitemapResponseSchema: z.ZodObject<{
4214
5801
  navigation: z.ZodObject<{
4215
5802
  primaryLinks: z.ZodArray<z.ZodObject<{
4216
5803
  label: z.ZodString;
4217
- href: z.ZodString;
5804
+ href: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
4218
5805
  }, z.core.$strip>>;
4219
5806
  footerLinks: z.ZodArray<z.ZodObject<{
4220
5807
  label: z.ZodString;
4221
- href: z.ZodString;
5808
+ href: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
4222
5809
  }, z.core.$strip>>;
4223
5810
  }, z.core.$strip>;
4224
5811
  integrations: z.ZodOptional<z.ZodObject<{
@@ -5491,6 +7078,8 @@ export type WorkspaceSuggestion = z.infer<typeof WorkspaceSuggestionSchema>;
5491
7078
  export declare const WorkspaceSuggestionsSourceSchema: z.ZodEnum<{
5492
7079
  model: "model";
5493
7080
  derived: "derived";
7081
+ mixed: "mixed";
7082
+ advisor: "advisor";
5494
7083
  }>;
5495
7084
  export type WorkspaceSuggestionsSource = z.infer<typeof WorkspaceSuggestionsSourceSchema>;
5496
7085
  export declare const WorkspaceSuggestionsSchema: z.ZodObject<{
@@ -5501,9 +7090,30 @@ export declare const WorkspaceSuggestionsSchema: z.ZodObject<{
5501
7090
  source: z.ZodEnum<{
5502
7091
  model: "model";
5503
7092
  derived: "derived";
7093
+ mixed: "mixed";
7094
+ advisor: "advisor";
5504
7095
  }>;
5505
7096
  }, z.core.$strict>;
5506
7097
  export type WorkspaceSuggestions = z.infer<typeof WorkspaceSuggestionsSchema>;
7098
+ export declare const DesignPlanGenerationOutcomeSchema: z.ZodEnum<{
7099
+ deterministic_fallback: "deterministic_fallback";
7100
+ salvaged: "salvaged";
7101
+ clean: "clean";
7102
+ baseline_retained: "baseline_retained";
7103
+ }>;
7104
+ export type DesignPlanGenerationOutcome = z.infer<typeof DesignPlanGenerationOutcomeSchema>;
7105
+ export declare const DesignPlanGenerationReasonSchema: z.ZodEnum<{
7106
+ generation_succeeded: "generation_succeeded";
7107
+ entry_slots_omitted: "entry_slots_omitted";
7108
+ quality_gate_exhausted: "quality_gate_exhausted";
7109
+ schema_gate_exhausted: "schema_gate_exhausted";
7110
+ stream_schema_mismatch: "stream_schema_mismatch";
7111
+ stream_generation_error: "stream_generation_error";
7112
+ generation_error: "generation_error";
7113
+ fallback_compiler_error: "fallback_compiler_error";
7114
+ legacy_result_missing_metadata: "legacy_result_missing_metadata";
7115
+ }>;
7116
+ export type DesignPlanGenerationReason = z.infer<typeof DesignPlanGenerationReasonSchema>;
5507
7117
  export declare const AgentEventTypeSchema: z.ZodEnum<{
5508
7118
  "run.started": "run.started";
5509
7119
  "skill.selecting": "skill.selecting";
@@ -5513,9 +7123,9 @@ export declare const AgentEventTypeSchema: z.ZodEnum<{
5513
7123
  "clarify.finished": "clarify.finished";
5514
7124
  "run.failed": "run.failed";
5515
7125
  "run.finished": "run.finished";
7126
+ "sitemap.generated": "sitemap.generated";
5516
7127
  "sitemap.generating": "sitemap.generating";
5517
7128
  "sitemap.partial": "sitemap.partial";
5518
- "sitemap.generated": "sitemap.generated";
5519
7129
  "sitemap.clamped": "sitemap.clamped";
5520
7130
  "media_resolution.started": "media_resolution.started";
5521
7131
  "media_resolution.finished": "media_resolution.finished";
@@ -5533,6 +7143,7 @@ export declare const AgentEventTypeSchema: z.ZodEnum<{
5533
7143
  "workspace.worker.updated": "workspace.worker.updated";
5534
7144
  "workspace.task.updated": "workspace.task.updated";
5535
7145
  "workspace.degraded": "workspace.degraded";
7146
+ "workspace.design_plan.outcome": "workspace.design_plan.outcome";
5536
7147
  "workspace.suggestions": "workspace.suggestions";
5537
7148
  "file.changed": "file.changed";
5538
7149
  "preview.preparing": "preview.preparing";
@@ -6046,6 +7657,16 @@ export declare const AgentEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
6046
7657
  object: z.ZodUnknown;
6047
7658
  at: z.ZodString;
6048
7659
  }, z.core.$strip>, z.ZodObject<{
7660
+ at: z.ZodString;
7661
+ outcome: z.ZodOptional<z.ZodEnum<{
7662
+ deterministic_fallback: "deterministic_fallback";
7663
+ salvaged: "salvaged";
7664
+ }>>;
7665
+ reason: z.ZodOptional<z.ZodEnum<{
7666
+ model_exception_settled_prefix: "model_exception_settled_prefix";
7667
+ model_exception_safe_root: "model_exception_safe_root";
7668
+ }>>;
7669
+ attempts: z.ZodOptional<z.ZodNumber>;
6049
7670
  type: z.ZodLiteral<"sitemap.generated">;
6050
7671
  sitemap_id: z.ZodString;
6051
7672
  sitemap: z.ZodObject<{
@@ -6087,11 +7708,11 @@ export declare const AgentEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
6087
7708
  navigation: z.ZodObject<{
6088
7709
  primaryLinks: z.ZodArray<z.ZodObject<{
6089
7710
  label: z.ZodString;
6090
- href: z.ZodString;
7711
+ href: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
6091
7712
  }, z.core.$strip>>;
6092
7713
  footerLinks: z.ZodArray<z.ZodObject<{
6093
7714
  label: z.ZodString;
6094
- href: z.ZodString;
7715
+ href: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
6095
7716
  }, z.core.$strip>>;
6096
7717
  }, z.core.$strip>;
6097
7718
  integrations: z.ZodOptional<z.ZodObject<{
@@ -6182,7 +7803,6 @@ export declare const AgentEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
6182
7803
  }, z.core.$strip>>;
6183
7804
  }, z.core.$strip>>;
6184
7805
  }, z.core.$strict>;
6185
- at: z.ZodString;
6186
7806
  }, z.core.$strip>, z.ZodObject<{
6187
7807
  type: z.ZodLiteral<"sitemap.clamped">;
6188
7808
  reason: z.ZodEnum<{
@@ -6392,15 +8012,38 @@ export declare const AgentEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
6392
8012
  patch_protected_dropped: "patch_protected_dropped";
6393
8013
  preview_health_degraded: "preview_health_degraded";
6394
8014
  design_plan_fallback: "design_plan_fallback";
8015
+ generated_code_rescue: "generated_code_rescue";
6395
8016
  }>;
6396
8017
  degraded_block_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
6397
8018
  dropped_files: z.ZodOptional<z.ZodArray<z.ZodString>>;
8019
+ degraded_file_paths: z.ZodOptional<z.ZodArray<z.ZodString>>;
8020
+ degraded_page_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
6398
8021
  snapshot_id: z.ZodOptional<z.ZodString>;
6399
8022
  code: z.ZodOptional<z.ZodString>;
6400
8023
  message: z.ZodOptional<z.ZodString>;
6401
8024
  diagnostics: z.ZodOptional<z.ZodString>;
6402
8025
  retryable: z.ZodOptional<z.ZodBoolean>;
6403
8026
  at: z.ZodString;
8027
+ }, z.core.$strict>, z.ZodObject<{
8028
+ type: z.ZodLiteral<"workspace.design_plan.outcome">;
8029
+ design_plan_outcome: z.ZodEnum<{
8030
+ deterministic_fallback: "deterministic_fallback";
8031
+ salvaged: "salvaged";
8032
+ clean: "clean";
8033
+ baseline_retained: "baseline_retained";
8034
+ }>;
8035
+ reason: z.ZodEnum<{
8036
+ generation_succeeded: "generation_succeeded";
8037
+ entry_slots_omitted: "entry_slots_omitted";
8038
+ quality_gate_exhausted: "quality_gate_exhausted";
8039
+ schema_gate_exhausted: "schema_gate_exhausted";
8040
+ stream_schema_mismatch: "stream_schema_mismatch";
8041
+ stream_generation_error: "stream_generation_error";
8042
+ generation_error: "generation_error";
8043
+ fallback_compiler_error: "fallback_compiler_error";
8044
+ legacy_result_missing_metadata: "legacy_result_missing_metadata";
8045
+ }>;
8046
+ at: z.ZodString;
6404
8047
  }, z.core.$strict>, z.ZodObject<{
6405
8048
  suggestions: z.ZodArray<z.ZodObject<{
6406
8049
  label: z.ZodString;
@@ -6409,6 +8052,8 @@ export declare const AgentEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
6409
8052
  source: z.ZodEnum<{
6410
8053
  model: "model";
6411
8054
  derived: "derived";
8055
+ mixed: "mixed";
8056
+ advisor: "advisor";
6412
8057
  }>;
6413
8058
  type: z.ZodLiteral<"workspace.suggestions">;
6414
8059
  at: z.ZodString;
@@ -6462,6 +8107,7 @@ export declare const AgentEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
6462
8107
  }>>;
6463
8108
  retryable: z.ZodOptional<z.ZodBoolean>;
6464
8109
  attempts: z.ZodOptional<z.ZodNumber>;
8110
+ outcome: z.ZodOptional<z.ZodLiteral<"retained_previous">>;
6465
8111
  at: z.ZodString;
6466
8112
  }, z.core.$strip>, z.ZodObject<{
6467
8113
  type: z.ZodLiteral<"run.finished">;
@@ -6570,9 +8216,9 @@ export declare const AgentEventRecordSchema: z.ZodObject<{
6570
8216
  "clarify.finished": "clarify.finished";
6571
8217
  "run.failed": "run.failed";
6572
8218
  "run.finished": "run.finished";
8219
+ "sitemap.generated": "sitemap.generated";
6573
8220
  "sitemap.generating": "sitemap.generating";
6574
8221
  "sitemap.partial": "sitemap.partial";
6575
- "sitemap.generated": "sitemap.generated";
6576
8222
  "sitemap.clamped": "sitemap.clamped";
6577
8223
  "media_resolution.started": "media_resolution.started";
6578
8224
  "media_resolution.finished": "media_resolution.finished";
@@ -6590,6 +8236,7 @@ export declare const AgentEventRecordSchema: z.ZodObject<{
6590
8236
  "workspace.worker.updated": "workspace.worker.updated";
6591
8237
  "workspace.task.updated": "workspace.task.updated";
6592
8238
  "workspace.degraded": "workspace.degraded";
8239
+ "workspace.design_plan.outcome": "workspace.design_plan.outcome";
6593
8240
  "workspace.suggestions": "workspace.suggestions";
6594
8241
  "file.changed": "file.changed";
6595
8242
  "preview.preparing": "preview.preparing";
@@ -6723,6 +8370,16 @@ export declare const AgentEventRecordSchema: z.ZodObject<{
6723
8370
  object: z.ZodUnknown;
6724
8371
  at: z.ZodString;
6725
8372
  }, z.core.$strip>, z.ZodObject<{
8373
+ at: z.ZodString;
8374
+ outcome: z.ZodOptional<z.ZodEnum<{
8375
+ deterministic_fallback: "deterministic_fallback";
8376
+ salvaged: "salvaged";
8377
+ }>>;
8378
+ reason: z.ZodOptional<z.ZodEnum<{
8379
+ model_exception_settled_prefix: "model_exception_settled_prefix";
8380
+ model_exception_safe_root: "model_exception_safe_root";
8381
+ }>>;
8382
+ attempts: z.ZodOptional<z.ZodNumber>;
6726
8383
  type: z.ZodLiteral<"sitemap.generated">;
6727
8384
  sitemap_id: z.ZodString;
6728
8385
  sitemap: z.ZodObject<{
@@ -6764,11 +8421,11 @@ export declare const AgentEventRecordSchema: z.ZodObject<{
6764
8421
  navigation: z.ZodObject<{
6765
8422
  primaryLinks: z.ZodArray<z.ZodObject<{
6766
8423
  label: z.ZodString;
6767
- href: z.ZodString;
8424
+ href: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
6768
8425
  }, z.core.$strip>>;
6769
8426
  footerLinks: z.ZodArray<z.ZodObject<{
6770
8427
  label: z.ZodString;
6771
- href: z.ZodString;
8428
+ href: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
6772
8429
  }, z.core.$strip>>;
6773
8430
  }, z.core.$strip>;
6774
8431
  integrations: z.ZodOptional<z.ZodObject<{
@@ -6859,7 +8516,6 @@ export declare const AgentEventRecordSchema: z.ZodObject<{
6859
8516
  }, z.core.$strip>>;
6860
8517
  }, z.core.$strip>>;
6861
8518
  }, z.core.$strict>;
6862
- at: z.ZodString;
6863
8519
  }, z.core.$strip>, z.ZodObject<{
6864
8520
  type: z.ZodLiteral<"sitemap.clamped">;
6865
8521
  reason: z.ZodEnum<{
@@ -7069,15 +8725,38 @@ export declare const AgentEventRecordSchema: z.ZodObject<{
7069
8725
  patch_protected_dropped: "patch_protected_dropped";
7070
8726
  preview_health_degraded: "preview_health_degraded";
7071
8727
  design_plan_fallback: "design_plan_fallback";
8728
+ generated_code_rescue: "generated_code_rescue";
7072
8729
  }>;
7073
8730
  degraded_block_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
7074
8731
  dropped_files: z.ZodOptional<z.ZodArray<z.ZodString>>;
8732
+ degraded_file_paths: z.ZodOptional<z.ZodArray<z.ZodString>>;
8733
+ degraded_page_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
7075
8734
  snapshot_id: z.ZodOptional<z.ZodString>;
7076
8735
  code: z.ZodOptional<z.ZodString>;
7077
8736
  message: z.ZodOptional<z.ZodString>;
7078
8737
  diagnostics: z.ZodOptional<z.ZodString>;
7079
8738
  retryable: z.ZodOptional<z.ZodBoolean>;
7080
8739
  at: z.ZodString;
8740
+ }, z.core.$strict>, z.ZodObject<{
8741
+ type: z.ZodLiteral<"workspace.design_plan.outcome">;
8742
+ design_plan_outcome: z.ZodEnum<{
8743
+ deterministic_fallback: "deterministic_fallback";
8744
+ salvaged: "salvaged";
8745
+ clean: "clean";
8746
+ baseline_retained: "baseline_retained";
8747
+ }>;
8748
+ reason: z.ZodEnum<{
8749
+ generation_succeeded: "generation_succeeded";
8750
+ entry_slots_omitted: "entry_slots_omitted";
8751
+ quality_gate_exhausted: "quality_gate_exhausted";
8752
+ schema_gate_exhausted: "schema_gate_exhausted";
8753
+ stream_schema_mismatch: "stream_schema_mismatch";
8754
+ stream_generation_error: "stream_generation_error";
8755
+ generation_error: "generation_error";
8756
+ fallback_compiler_error: "fallback_compiler_error";
8757
+ legacy_result_missing_metadata: "legacy_result_missing_metadata";
8758
+ }>;
8759
+ at: z.ZodString;
7081
8760
  }, z.core.$strict>, z.ZodObject<{
7082
8761
  suggestions: z.ZodArray<z.ZodObject<{
7083
8762
  label: z.ZodString;
@@ -7086,6 +8765,8 @@ export declare const AgentEventRecordSchema: z.ZodObject<{
7086
8765
  source: z.ZodEnum<{
7087
8766
  model: "model";
7088
8767
  derived: "derived";
8768
+ mixed: "mixed";
8769
+ advisor: "advisor";
7089
8770
  }>;
7090
8771
  type: z.ZodLiteral<"workspace.suggestions">;
7091
8772
  at: z.ZodString;
@@ -7139,6 +8820,7 @@ export declare const AgentEventRecordSchema: z.ZodObject<{
7139
8820
  }>>;
7140
8821
  retryable: z.ZodOptional<z.ZodBoolean>;
7141
8822
  attempts: z.ZodOptional<z.ZodNumber>;
8823
+ outcome: z.ZodOptional<z.ZodLiteral<"retained_previous">>;
7142
8824
  at: z.ZodString;
7143
8825
  }, z.core.$strip>, z.ZodObject<{
7144
8826
  type: z.ZodLiteral<"run.finished">;
@@ -7244,9 +8926,9 @@ export declare const AppendAgentEventRequestSchema: z.ZodObject<{
7244
8926
  "clarify.finished": "clarify.finished";
7245
8927
  "run.failed": "run.failed";
7246
8928
  "run.finished": "run.finished";
8929
+ "sitemap.generated": "sitemap.generated";
7247
8930
  "sitemap.generating": "sitemap.generating";
7248
8931
  "sitemap.partial": "sitemap.partial";
7249
- "sitemap.generated": "sitemap.generated";
7250
8932
  "sitemap.clamped": "sitemap.clamped";
7251
8933
  "media_resolution.started": "media_resolution.started";
7252
8934
  "media_resolution.finished": "media_resolution.finished";
@@ -7264,6 +8946,7 @@ export declare const AppendAgentEventRequestSchema: z.ZodObject<{
7264
8946
  "workspace.worker.updated": "workspace.worker.updated";
7265
8947
  "workspace.task.updated": "workspace.task.updated";
7266
8948
  "workspace.degraded": "workspace.degraded";
8949
+ "workspace.design_plan.outcome": "workspace.design_plan.outcome";
7267
8950
  "workspace.suggestions": "workspace.suggestions";
7268
8951
  "file.changed": "file.changed";
7269
8952
  "preview.preparing": "preview.preparing";
@@ -7397,6 +9080,16 @@ export declare const AppendAgentEventRequestSchema: z.ZodObject<{
7397
9080
  object: z.ZodUnknown;
7398
9081
  at: z.ZodString;
7399
9082
  }, z.core.$strip>, z.ZodObject<{
9083
+ at: z.ZodString;
9084
+ outcome: z.ZodOptional<z.ZodEnum<{
9085
+ deterministic_fallback: "deterministic_fallback";
9086
+ salvaged: "salvaged";
9087
+ }>>;
9088
+ reason: z.ZodOptional<z.ZodEnum<{
9089
+ model_exception_settled_prefix: "model_exception_settled_prefix";
9090
+ model_exception_safe_root: "model_exception_safe_root";
9091
+ }>>;
9092
+ attempts: z.ZodOptional<z.ZodNumber>;
7400
9093
  type: z.ZodLiteral<"sitemap.generated">;
7401
9094
  sitemap_id: z.ZodString;
7402
9095
  sitemap: z.ZodObject<{
@@ -7438,11 +9131,11 @@ export declare const AppendAgentEventRequestSchema: z.ZodObject<{
7438
9131
  navigation: z.ZodObject<{
7439
9132
  primaryLinks: z.ZodArray<z.ZodObject<{
7440
9133
  label: z.ZodString;
7441
- href: z.ZodString;
9134
+ href: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
7442
9135
  }, z.core.$strip>>;
7443
9136
  footerLinks: z.ZodArray<z.ZodObject<{
7444
9137
  label: z.ZodString;
7445
- href: z.ZodString;
9138
+ href: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
7446
9139
  }, z.core.$strip>>;
7447
9140
  }, z.core.$strip>;
7448
9141
  integrations: z.ZodOptional<z.ZodObject<{
@@ -7533,7 +9226,6 @@ export declare const AppendAgentEventRequestSchema: z.ZodObject<{
7533
9226
  }, z.core.$strip>>;
7534
9227
  }, z.core.$strip>>;
7535
9228
  }, z.core.$strict>;
7536
- at: z.ZodString;
7537
9229
  }, z.core.$strip>, z.ZodObject<{
7538
9230
  type: z.ZodLiteral<"sitemap.clamped">;
7539
9231
  reason: z.ZodEnum<{
@@ -7743,15 +9435,38 @@ export declare const AppendAgentEventRequestSchema: z.ZodObject<{
7743
9435
  patch_protected_dropped: "patch_protected_dropped";
7744
9436
  preview_health_degraded: "preview_health_degraded";
7745
9437
  design_plan_fallback: "design_plan_fallback";
9438
+ generated_code_rescue: "generated_code_rescue";
7746
9439
  }>;
7747
9440
  degraded_block_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
7748
9441
  dropped_files: z.ZodOptional<z.ZodArray<z.ZodString>>;
9442
+ degraded_file_paths: z.ZodOptional<z.ZodArray<z.ZodString>>;
9443
+ degraded_page_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
7749
9444
  snapshot_id: z.ZodOptional<z.ZodString>;
7750
9445
  code: z.ZodOptional<z.ZodString>;
7751
9446
  message: z.ZodOptional<z.ZodString>;
7752
9447
  diagnostics: z.ZodOptional<z.ZodString>;
7753
9448
  retryable: z.ZodOptional<z.ZodBoolean>;
7754
9449
  at: z.ZodString;
9450
+ }, z.core.$strict>, z.ZodObject<{
9451
+ type: z.ZodLiteral<"workspace.design_plan.outcome">;
9452
+ design_plan_outcome: z.ZodEnum<{
9453
+ deterministic_fallback: "deterministic_fallback";
9454
+ salvaged: "salvaged";
9455
+ clean: "clean";
9456
+ baseline_retained: "baseline_retained";
9457
+ }>;
9458
+ reason: z.ZodEnum<{
9459
+ generation_succeeded: "generation_succeeded";
9460
+ entry_slots_omitted: "entry_slots_omitted";
9461
+ quality_gate_exhausted: "quality_gate_exhausted";
9462
+ schema_gate_exhausted: "schema_gate_exhausted";
9463
+ stream_schema_mismatch: "stream_schema_mismatch";
9464
+ stream_generation_error: "stream_generation_error";
9465
+ generation_error: "generation_error";
9466
+ fallback_compiler_error: "fallback_compiler_error";
9467
+ legacy_result_missing_metadata: "legacy_result_missing_metadata";
9468
+ }>;
9469
+ at: z.ZodString;
7755
9470
  }, z.core.$strict>, z.ZodObject<{
7756
9471
  suggestions: z.ZodArray<z.ZodObject<{
7757
9472
  label: z.ZodString;
@@ -7760,6 +9475,8 @@ export declare const AppendAgentEventRequestSchema: z.ZodObject<{
7760
9475
  source: z.ZodEnum<{
7761
9476
  model: "model";
7762
9477
  derived: "derived";
9478
+ mixed: "mixed";
9479
+ advisor: "advisor";
7763
9480
  }>;
7764
9481
  type: z.ZodLiteral<"workspace.suggestions">;
7765
9482
  at: z.ZodString;
@@ -7813,6 +9530,7 @@ export declare const AppendAgentEventRequestSchema: z.ZodObject<{
7813
9530
  }>>;
7814
9531
  retryable: z.ZodOptional<z.ZodBoolean>;
7815
9532
  attempts: z.ZodOptional<z.ZodNumber>;
9533
+ outcome: z.ZodOptional<z.ZodLiteral<"retained_previous">>;
7816
9534
  at: z.ZodString;
7817
9535
  }, z.core.$strip>, z.ZodObject<{
7818
9536
  type: z.ZodLiteral<"run.finished">;
@@ -7957,9 +9675,9 @@ export declare const AppendAgentEventResponseSchema: z.ZodDiscriminatedUnion<[z.
7957
9675
  "clarify.finished": "clarify.finished";
7958
9676
  "run.failed": "run.failed";
7959
9677
  "run.finished": "run.finished";
9678
+ "sitemap.generated": "sitemap.generated";
7960
9679
  "sitemap.generating": "sitemap.generating";
7961
9680
  "sitemap.partial": "sitemap.partial";
7962
- "sitemap.generated": "sitemap.generated";
7963
9681
  "sitemap.clamped": "sitemap.clamped";
7964
9682
  "media_resolution.started": "media_resolution.started";
7965
9683
  "media_resolution.finished": "media_resolution.finished";
@@ -7977,6 +9695,7 @@ export declare const AppendAgentEventResponseSchema: z.ZodDiscriminatedUnion<[z.
7977
9695
  "workspace.worker.updated": "workspace.worker.updated";
7978
9696
  "workspace.task.updated": "workspace.task.updated";
7979
9697
  "workspace.degraded": "workspace.degraded";
9698
+ "workspace.design_plan.outcome": "workspace.design_plan.outcome";
7980
9699
  "workspace.suggestions": "workspace.suggestions";
7981
9700
  "file.changed": "file.changed";
7982
9701
  "preview.preparing": "preview.preparing";
@@ -8110,6 +9829,16 @@ export declare const AppendAgentEventResponseSchema: z.ZodDiscriminatedUnion<[z.
8110
9829
  object: z.ZodUnknown;
8111
9830
  at: z.ZodString;
8112
9831
  }, z.core.$strip>, z.ZodObject<{
9832
+ at: z.ZodString;
9833
+ outcome: z.ZodOptional<z.ZodEnum<{
9834
+ deterministic_fallback: "deterministic_fallback";
9835
+ salvaged: "salvaged";
9836
+ }>>;
9837
+ reason: z.ZodOptional<z.ZodEnum<{
9838
+ model_exception_settled_prefix: "model_exception_settled_prefix";
9839
+ model_exception_safe_root: "model_exception_safe_root";
9840
+ }>>;
9841
+ attempts: z.ZodOptional<z.ZodNumber>;
8113
9842
  type: z.ZodLiteral<"sitemap.generated">;
8114
9843
  sitemap_id: z.ZodString;
8115
9844
  sitemap: z.ZodObject<{
@@ -8151,11 +9880,11 @@ export declare const AppendAgentEventResponseSchema: z.ZodDiscriminatedUnion<[z.
8151
9880
  navigation: z.ZodObject<{
8152
9881
  primaryLinks: z.ZodArray<z.ZodObject<{
8153
9882
  label: z.ZodString;
8154
- href: z.ZodString;
9883
+ href: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
8155
9884
  }, z.core.$strip>>;
8156
9885
  footerLinks: z.ZodArray<z.ZodObject<{
8157
9886
  label: z.ZodString;
8158
- href: z.ZodString;
9887
+ href: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
8159
9888
  }, z.core.$strip>>;
8160
9889
  }, z.core.$strip>;
8161
9890
  integrations: z.ZodOptional<z.ZodObject<{
@@ -8246,7 +9975,6 @@ export declare const AppendAgentEventResponseSchema: z.ZodDiscriminatedUnion<[z.
8246
9975
  }, z.core.$strip>>;
8247
9976
  }, z.core.$strip>>;
8248
9977
  }, z.core.$strict>;
8249
- at: z.ZodString;
8250
9978
  }, z.core.$strip>, z.ZodObject<{
8251
9979
  type: z.ZodLiteral<"sitemap.clamped">;
8252
9980
  reason: z.ZodEnum<{
@@ -8456,15 +10184,38 @@ export declare const AppendAgentEventResponseSchema: z.ZodDiscriminatedUnion<[z.
8456
10184
  patch_protected_dropped: "patch_protected_dropped";
8457
10185
  preview_health_degraded: "preview_health_degraded";
8458
10186
  design_plan_fallback: "design_plan_fallback";
10187
+ generated_code_rescue: "generated_code_rescue";
8459
10188
  }>;
8460
10189
  degraded_block_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
8461
10190
  dropped_files: z.ZodOptional<z.ZodArray<z.ZodString>>;
10191
+ degraded_file_paths: z.ZodOptional<z.ZodArray<z.ZodString>>;
10192
+ degraded_page_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
8462
10193
  snapshot_id: z.ZodOptional<z.ZodString>;
8463
10194
  code: z.ZodOptional<z.ZodString>;
8464
10195
  message: z.ZodOptional<z.ZodString>;
8465
10196
  diagnostics: z.ZodOptional<z.ZodString>;
8466
10197
  retryable: z.ZodOptional<z.ZodBoolean>;
8467
10198
  at: z.ZodString;
10199
+ }, z.core.$strict>, z.ZodObject<{
10200
+ type: z.ZodLiteral<"workspace.design_plan.outcome">;
10201
+ design_plan_outcome: z.ZodEnum<{
10202
+ deterministic_fallback: "deterministic_fallback";
10203
+ salvaged: "salvaged";
10204
+ clean: "clean";
10205
+ baseline_retained: "baseline_retained";
10206
+ }>;
10207
+ reason: z.ZodEnum<{
10208
+ generation_succeeded: "generation_succeeded";
10209
+ entry_slots_omitted: "entry_slots_omitted";
10210
+ quality_gate_exhausted: "quality_gate_exhausted";
10211
+ schema_gate_exhausted: "schema_gate_exhausted";
10212
+ stream_schema_mismatch: "stream_schema_mismatch";
10213
+ stream_generation_error: "stream_generation_error";
10214
+ generation_error: "generation_error";
10215
+ fallback_compiler_error: "fallback_compiler_error";
10216
+ legacy_result_missing_metadata: "legacy_result_missing_metadata";
10217
+ }>;
10218
+ at: z.ZodString;
8468
10219
  }, z.core.$strict>, z.ZodObject<{
8469
10220
  suggestions: z.ZodArray<z.ZodObject<{
8470
10221
  label: z.ZodString;
@@ -8473,6 +10224,8 @@ export declare const AppendAgentEventResponseSchema: z.ZodDiscriminatedUnion<[z.
8473
10224
  source: z.ZodEnum<{
8474
10225
  model: "model";
8475
10226
  derived: "derived";
10227
+ mixed: "mixed";
10228
+ advisor: "advisor";
8476
10229
  }>;
8477
10230
  type: z.ZodLiteral<"workspace.suggestions">;
8478
10231
  at: z.ZodString;
@@ -8526,6 +10279,7 @@ export declare const AppendAgentEventResponseSchema: z.ZodDiscriminatedUnion<[z.
8526
10279
  }>>;
8527
10280
  retryable: z.ZodOptional<z.ZodBoolean>;
8528
10281
  attempts: z.ZodOptional<z.ZodNumber>;
10282
+ outcome: z.ZodOptional<z.ZodLiteral<"retained_previous">>;
8529
10283
  at: z.ZodString;
8530
10284
  }, z.core.$strip>, z.ZodObject<{
8531
10285
  type: z.ZodLiteral<"run.finished">;
@@ -8671,9 +10425,9 @@ export declare const AppendAgentEventResponseSchema: z.ZodDiscriminatedUnion<[z.
8671
10425
  "clarify.finished": "clarify.finished";
8672
10426
  "run.failed": "run.failed";
8673
10427
  "run.finished": "run.finished";
10428
+ "sitemap.generated": "sitemap.generated";
8674
10429
  "sitemap.generating": "sitemap.generating";
8675
10430
  "sitemap.partial": "sitemap.partial";
8676
- "sitemap.generated": "sitemap.generated";
8677
10431
  "sitemap.clamped": "sitemap.clamped";
8678
10432
  "media_resolution.started": "media_resolution.started";
8679
10433
  "media_resolution.finished": "media_resolution.finished";
@@ -8691,6 +10445,7 @@ export declare const AppendAgentEventResponseSchema: z.ZodDiscriminatedUnion<[z.
8691
10445
  "workspace.worker.updated": "workspace.worker.updated";
8692
10446
  "workspace.task.updated": "workspace.task.updated";
8693
10447
  "workspace.degraded": "workspace.degraded";
10448
+ "workspace.design_plan.outcome": "workspace.design_plan.outcome";
8694
10449
  "workspace.suggestions": "workspace.suggestions";
8695
10450
  "file.changed": "file.changed";
8696
10451
  "preview.preparing": "preview.preparing";
@@ -8824,6 +10579,16 @@ export declare const AppendAgentEventResponseSchema: z.ZodDiscriminatedUnion<[z.
8824
10579
  object: z.ZodUnknown;
8825
10580
  at: z.ZodString;
8826
10581
  }, z.core.$strip>, z.ZodObject<{
10582
+ at: z.ZodString;
10583
+ outcome: z.ZodOptional<z.ZodEnum<{
10584
+ deterministic_fallback: "deterministic_fallback";
10585
+ salvaged: "salvaged";
10586
+ }>>;
10587
+ reason: z.ZodOptional<z.ZodEnum<{
10588
+ model_exception_settled_prefix: "model_exception_settled_prefix";
10589
+ model_exception_safe_root: "model_exception_safe_root";
10590
+ }>>;
10591
+ attempts: z.ZodOptional<z.ZodNumber>;
8827
10592
  type: z.ZodLiteral<"sitemap.generated">;
8828
10593
  sitemap_id: z.ZodString;
8829
10594
  sitemap: z.ZodObject<{
@@ -8865,11 +10630,11 @@ export declare const AppendAgentEventResponseSchema: z.ZodDiscriminatedUnion<[z.
8865
10630
  navigation: z.ZodObject<{
8866
10631
  primaryLinks: z.ZodArray<z.ZodObject<{
8867
10632
  label: z.ZodString;
8868
- href: z.ZodString;
10633
+ href: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
8869
10634
  }, z.core.$strip>>;
8870
10635
  footerLinks: z.ZodArray<z.ZodObject<{
8871
10636
  label: z.ZodString;
8872
- href: z.ZodString;
10637
+ href: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
8873
10638
  }, z.core.$strip>>;
8874
10639
  }, z.core.$strip>;
8875
10640
  integrations: z.ZodOptional<z.ZodObject<{
@@ -8960,7 +10725,6 @@ export declare const AppendAgentEventResponseSchema: z.ZodDiscriminatedUnion<[z.
8960
10725
  }, z.core.$strip>>;
8961
10726
  }, z.core.$strip>>;
8962
10727
  }, z.core.$strict>;
8963
- at: z.ZodString;
8964
10728
  }, z.core.$strip>, z.ZodObject<{
8965
10729
  type: z.ZodLiteral<"sitemap.clamped">;
8966
10730
  reason: z.ZodEnum<{
@@ -9170,15 +10934,38 @@ export declare const AppendAgentEventResponseSchema: z.ZodDiscriminatedUnion<[z.
9170
10934
  patch_protected_dropped: "patch_protected_dropped";
9171
10935
  preview_health_degraded: "preview_health_degraded";
9172
10936
  design_plan_fallback: "design_plan_fallback";
10937
+ generated_code_rescue: "generated_code_rescue";
9173
10938
  }>;
9174
10939
  degraded_block_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
9175
10940
  dropped_files: z.ZodOptional<z.ZodArray<z.ZodString>>;
10941
+ degraded_file_paths: z.ZodOptional<z.ZodArray<z.ZodString>>;
10942
+ degraded_page_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
9176
10943
  snapshot_id: z.ZodOptional<z.ZodString>;
9177
10944
  code: z.ZodOptional<z.ZodString>;
9178
10945
  message: z.ZodOptional<z.ZodString>;
9179
10946
  diagnostics: z.ZodOptional<z.ZodString>;
9180
10947
  retryable: z.ZodOptional<z.ZodBoolean>;
9181
10948
  at: z.ZodString;
10949
+ }, z.core.$strict>, z.ZodObject<{
10950
+ type: z.ZodLiteral<"workspace.design_plan.outcome">;
10951
+ design_plan_outcome: z.ZodEnum<{
10952
+ deterministic_fallback: "deterministic_fallback";
10953
+ salvaged: "salvaged";
10954
+ clean: "clean";
10955
+ baseline_retained: "baseline_retained";
10956
+ }>;
10957
+ reason: z.ZodEnum<{
10958
+ generation_succeeded: "generation_succeeded";
10959
+ entry_slots_omitted: "entry_slots_omitted";
10960
+ quality_gate_exhausted: "quality_gate_exhausted";
10961
+ schema_gate_exhausted: "schema_gate_exhausted";
10962
+ stream_schema_mismatch: "stream_schema_mismatch";
10963
+ stream_generation_error: "stream_generation_error";
10964
+ generation_error: "generation_error";
10965
+ fallback_compiler_error: "fallback_compiler_error";
10966
+ legacy_result_missing_metadata: "legacy_result_missing_metadata";
10967
+ }>;
10968
+ at: z.ZodString;
9182
10969
  }, z.core.$strict>, z.ZodObject<{
9183
10970
  suggestions: z.ZodArray<z.ZodObject<{
9184
10971
  label: z.ZodString;
@@ -9187,6 +10974,8 @@ export declare const AppendAgentEventResponseSchema: z.ZodDiscriminatedUnion<[z.
9187
10974
  source: z.ZodEnum<{
9188
10975
  model: "model";
9189
10976
  derived: "derived";
10977
+ mixed: "mixed";
10978
+ advisor: "advisor";
9190
10979
  }>;
9191
10980
  type: z.ZodLiteral<"workspace.suggestions">;
9192
10981
  at: z.ZodString;
@@ -9240,6 +11029,7 @@ export declare const AppendAgentEventResponseSchema: z.ZodDiscriminatedUnion<[z.
9240
11029
  }>>;
9241
11030
  retryable: z.ZodOptional<z.ZodBoolean>;
9242
11031
  attempts: z.ZodOptional<z.ZodNumber>;
11032
+ outcome: z.ZodOptional<z.ZodLiteral<"retained_previous">>;
9243
11033
  at: z.ZodString;
9244
11034
  }, z.core.$strip>, z.ZodObject<{
9245
11035
  type: z.ZodLiteral<"run.finished">;
@@ -9353,9 +11143,9 @@ export declare const ListAgentEventsResponseSchema: z.ZodObject<{
9353
11143
  "clarify.finished": "clarify.finished";
9354
11144
  "run.failed": "run.failed";
9355
11145
  "run.finished": "run.finished";
11146
+ "sitemap.generated": "sitemap.generated";
9356
11147
  "sitemap.generating": "sitemap.generating";
9357
11148
  "sitemap.partial": "sitemap.partial";
9358
- "sitemap.generated": "sitemap.generated";
9359
11149
  "sitemap.clamped": "sitemap.clamped";
9360
11150
  "media_resolution.started": "media_resolution.started";
9361
11151
  "media_resolution.finished": "media_resolution.finished";
@@ -9373,6 +11163,7 @@ export declare const ListAgentEventsResponseSchema: z.ZodObject<{
9373
11163
  "workspace.worker.updated": "workspace.worker.updated";
9374
11164
  "workspace.task.updated": "workspace.task.updated";
9375
11165
  "workspace.degraded": "workspace.degraded";
11166
+ "workspace.design_plan.outcome": "workspace.design_plan.outcome";
9376
11167
  "workspace.suggestions": "workspace.suggestions";
9377
11168
  "file.changed": "file.changed";
9378
11169
  "preview.preparing": "preview.preparing";
@@ -9506,6 +11297,16 @@ export declare const ListAgentEventsResponseSchema: z.ZodObject<{
9506
11297
  object: z.ZodUnknown;
9507
11298
  at: z.ZodString;
9508
11299
  }, z.core.$strip>, z.ZodObject<{
11300
+ at: z.ZodString;
11301
+ outcome: z.ZodOptional<z.ZodEnum<{
11302
+ deterministic_fallback: "deterministic_fallback";
11303
+ salvaged: "salvaged";
11304
+ }>>;
11305
+ reason: z.ZodOptional<z.ZodEnum<{
11306
+ model_exception_settled_prefix: "model_exception_settled_prefix";
11307
+ model_exception_safe_root: "model_exception_safe_root";
11308
+ }>>;
11309
+ attempts: z.ZodOptional<z.ZodNumber>;
9509
11310
  type: z.ZodLiteral<"sitemap.generated">;
9510
11311
  sitemap_id: z.ZodString;
9511
11312
  sitemap: z.ZodObject<{
@@ -9547,11 +11348,11 @@ export declare const ListAgentEventsResponseSchema: z.ZodObject<{
9547
11348
  navigation: z.ZodObject<{
9548
11349
  primaryLinks: z.ZodArray<z.ZodObject<{
9549
11350
  label: z.ZodString;
9550
- href: z.ZodString;
11351
+ href: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
9551
11352
  }, z.core.$strip>>;
9552
11353
  footerLinks: z.ZodArray<z.ZodObject<{
9553
11354
  label: z.ZodString;
9554
- href: z.ZodString;
11355
+ href: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
9555
11356
  }, z.core.$strip>>;
9556
11357
  }, z.core.$strip>;
9557
11358
  integrations: z.ZodOptional<z.ZodObject<{
@@ -9642,7 +11443,6 @@ export declare const ListAgentEventsResponseSchema: z.ZodObject<{
9642
11443
  }, z.core.$strip>>;
9643
11444
  }, z.core.$strip>>;
9644
11445
  }, z.core.$strict>;
9645
- at: z.ZodString;
9646
11446
  }, z.core.$strip>, z.ZodObject<{
9647
11447
  type: z.ZodLiteral<"sitemap.clamped">;
9648
11448
  reason: z.ZodEnum<{
@@ -9852,15 +11652,38 @@ export declare const ListAgentEventsResponseSchema: z.ZodObject<{
9852
11652
  patch_protected_dropped: "patch_protected_dropped";
9853
11653
  preview_health_degraded: "preview_health_degraded";
9854
11654
  design_plan_fallback: "design_plan_fallback";
11655
+ generated_code_rescue: "generated_code_rescue";
9855
11656
  }>;
9856
11657
  degraded_block_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
9857
11658
  dropped_files: z.ZodOptional<z.ZodArray<z.ZodString>>;
11659
+ degraded_file_paths: z.ZodOptional<z.ZodArray<z.ZodString>>;
11660
+ degraded_page_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
9858
11661
  snapshot_id: z.ZodOptional<z.ZodString>;
9859
11662
  code: z.ZodOptional<z.ZodString>;
9860
11663
  message: z.ZodOptional<z.ZodString>;
9861
11664
  diagnostics: z.ZodOptional<z.ZodString>;
9862
11665
  retryable: z.ZodOptional<z.ZodBoolean>;
9863
11666
  at: z.ZodString;
11667
+ }, z.core.$strict>, z.ZodObject<{
11668
+ type: z.ZodLiteral<"workspace.design_plan.outcome">;
11669
+ design_plan_outcome: z.ZodEnum<{
11670
+ deterministic_fallback: "deterministic_fallback";
11671
+ salvaged: "salvaged";
11672
+ clean: "clean";
11673
+ baseline_retained: "baseline_retained";
11674
+ }>;
11675
+ reason: z.ZodEnum<{
11676
+ generation_succeeded: "generation_succeeded";
11677
+ entry_slots_omitted: "entry_slots_omitted";
11678
+ quality_gate_exhausted: "quality_gate_exhausted";
11679
+ schema_gate_exhausted: "schema_gate_exhausted";
11680
+ stream_schema_mismatch: "stream_schema_mismatch";
11681
+ stream_generation_error: "stream_generation_error";
11682
+ generation_error: "generation_error";
11683
+ fallback_compiler_error: "fallback_compiler_error";
11684
+ legacy_result_missing_metadata: "legacy_result_missing_metadata";
11685
+ }>;
11686
+ at: z.ZodString;
9864
11687
  }, z.core.$strict>, z.ZodObject<{
9865
11688
  suggestions: z.ZodArray<z.ZodObject<{
9866
11689
  label: z.ZodString;
@@ -9869,6 +11692,8 @@ export declare const ListAgentEventsResponseSchema: z.ZodObject<{
9869
11692
  source: z.ZodEnum<{
9870
11693
  model: "model";
9871
11694
  derived: "derived";
11695
+ mixed: "mixed";
11696
+ advisor: "advisor";
9872
11697
  }>;
9873
11698
  type: z.ZodLiteral<"workspace.suggestions">;
9874
11699
  at: z.ZodString;
@@ -9922,6 +11747,7 @@ export declare const ListAgentEventsResponseSchema: z.ZodObject<{
9922
11747
  }>>;
9923
11748
  retryable: z.ZodOptional<z.ZodBoolean>;
9924
11749
  attempts: z.ZodOptional<z.ZodNumber>;
11750
+ outcome: z.ZodOptional<z.ZodLiteral<"retained_previous">>;
9925
11751
  at: z.ZodString;
9926
11752
  }, z.core.$strip>, z.ZodObject<{
9927
11753
  type: z.ZodLiteral<"run.finished">;
@@ -10032,6 +11858,7 @@ export type ApiContractStatus = z.infer<typeof ApiContractStatusSchema>;
10032
11858
  export declare const RestApiMethodSchema: z.ZodEnum<{
10033
11859
  GET: "GET";
10034
11860
  POST: "POST";
11861
+ PUT: "PUT";
10035
11862
  PATCH: "PATCH";
10036
11863
  DELETE: "DELETE";
10037
11864
  }>;
@@ -10096,7 +11923,7 @@ export declare const REST_API_ENDPOINTS: readonly [{
10096
11923
  readonly method: "PATCH";
10097
11924
  readonly path: "/sites/:site_id";
10098
11925
  readonly tag: "sites";
10099
- readonly summary: "Update site display name for the current tenant.";
11926
+ readonly summary: "Update site display name and optional generated-site locale for the current tenant.";
10100
11927
  readonly status: "implemented";
10101
11928
  readonly request_body_schema: "UpdateSiteRequestSchema";
10102
11929
  readonly response_schema: "SiteRecordSchema";
@@ -10107,6 +11934,14 @@ export declare const REST_API_ENDPOINTS: readonly [{
10107
11934
  readonly summary: "Archive a site so it no longer appears in the tenant site list.";
10108
11935
  readonly status: "implemented";
10109
11936
  readonly response_schema: "SiteRecordSchema";
11937
+ }, {
11938
+ readonly method: "GET";
11939
+ readonly path: "/sites/:site_id/plan";
11940
+ readonly tag: "publish-entitlements";
11941
+ readonly summary: "Get the current site plan and custom-domain entitlement.";
11942
+ readonly status: "implemented";
11943
+ readonly query_schema: "locale";
11944
+ readonly response_schema: "GetSitePlanResponseSchema";
10110
11945
  }, {
10111
11946
  readonly method: "GET";
10112
11947
  readonly path: "/sites/:site_id/workspace/source-files";
@@ -10185,6 +12020,15 @@ export declare const REST_API_ENDPOINTS: readonly [{
10185
12020
  readonly summary: "Read the persisted Step 1 brief for a site so the Workspace Agent can seed first full-site generation without a new write surface.";
10186
12021
  readonly status: "implemented";
10187
12022
  readonly response_schema: "BriefRecordSchema";
12023
+ }, {
12024
+ readonly method: "PUT";
12025
+ readonly path: "/sites/:site_id/brief/draft";
12026
+ readonly tag: "briefs";
12027
+ readonly summary: "Save a draft site's Step 1 brief without advancing the workflow.";
12028
+ readonly status: "implemented";
12029
+ readonly request_body_schema: "SaveBriefDraftRequestSchema";
12030
+ readonly response_schema: "SaveBriefDraftResponseSchema";
12031
+ readonly notes: readonly ["Only draft sites with generation_state=planning are writable; the brief row is upserted idempotently while site status, generation state, locale, and workflow stage remain unchanged."];
10188
12032
  }, {
10189
12033
  readonly method: "PATCH";
10190
12034
  readonly path: "/sites/:site_id/brief";
@@ -10428,15 +12272,40 @@ export declare const REST_API_ENDPOINTS: readonly [{
10428
12272
  }, {
10429
12273
  readonly method: "GET";
10430
12274
  readonly path: "/sites/:site_id/domains";
10431
- readonly tag: "domains";
10432
- readonly summary: "List custom domains for a site.";
10433
- readonly status: "planned";
12275
+ readonly tag: "custom-domains";
12276
+ readonly summary: "List the site default domain and custom domains.";
12277
+ readonly status: "implemented";
12278
+ readonly response_schema: "ListSiteDomainsResponseSchema";
10434
12279
  }, {
10435
12280
  readonly method: "POST";
10436
12281
  readonly path: "/sites/:site_id/domains";
10437
- readonly tag: "domains";
10438
- readonly summary: "Attach a custom domain to a site.";
10439
- readonly status: "planned";
12282
+ readonly tag: "custom-domains";
12283
+ readonly summary: "Bind a custom domain for site publishing.";
12284
+ readonly status: "implemented";
12285
+ readonly request_body_schema: "BindSiteDomainRequestSchema";
12286
+ readonly response_schema: "BindSiteDomainResponseSchema";
12287
+ readonly notes: readonly ["Returns 403 CUSTOM_DOMAIN_ENTITLEMENT_REQUIRED and never calls the downstream bind API when the site has no active subscription or subscription status cannot be confirmed."];
12288
+ }, {
12289
+ readonly method: "GET";
12290
+ readonly path: "/sites/:site_id/domains/:hostname";
12291
+ readonly tag: "custom-domains";
12292
+ readonly summary: "Get DNS verification detail for a custom domain.";
12293
+ readonly status: "implemented";
12294
+ readonly response_schema: "GetSiteDomainDetailResponseSchema";
12295
+ }, {
12296
+ readonly method: "POST";
12297
+ readonly path: "/sites/:site_id/domains/:hostname/verify";
12298
+ readonly tag: "custom-domains";
12299
+ readonly summary: "Refresh DNS verification status for a custom domain.";
12300
+ readonly status: "implemented";
12301
+ readonly response_schema: "VerifySiteDomainResponseSchema";
12302
+ }, {
12303
+ readonly method: "DELETE";
12304
+ readonly path: "/sites/:site_id/domains/:hostname";
12305
+ readonly tag: "custom-domains";
12306
+ readonly summary: "Delete a non-primary custom domain.";
12307
+ readonly status: "implemented";
12308
+ readonly response_schema: "DeleteSiteDomainResponseSchema";
10440
12309
  }, {
10441
12310
  readonly method: "GET";
10442
12311
  readonly path: "/admin/tenants";
@@ -11181,6 +13050,8 @@ export declare const WorkspaceServerMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
11181
13050
  source: z.ZodEnum<{
11182
13051
  model: "model";
11183
13052
  derived: "derived";
13053
+ mixed: "mixed";
13054
+ advisor: "advisor";
11184
13055
  }>;
11185
13056
  run_id: z.ZodString;
11186
13057
  }, z.core.$strict>;
@@ -11477,6 +13348,7 @@ export declare const WorkspaceServerMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
11477
13348
  error_code: z.ZodString;
11478
13349
  message: z.ZodString;
11479
13350
  retryable: z.ZodBoolean;
13351
+ outcome: z.ZodOptional<z.ZodLiteral<"retained_previous">>;
11480
13352
  }, z.core.$strip>;
11481
13353
  }, z.core.$strip>, z.ZodObject<{
11482
13354
  id: z.ZodString;
@@ -11896,6 +13768,8 @@ export declare const WorkspaceWebSocketMessageSchema: z.ZodUnion<readonly [z.Zod
11896
13768
  source: z.ZodEnum<{
11897
13769
  model: "model";
11898
13770
  derived: "derived";
13771
+ mixed: "mixed";
13772
+ advisor: "advisor";
11899
13773
  }>;
11900
13774
  run_id: z.ZodString;
11901
13775
  }, z.core.$strict>;
@@ -12192,6 +14066,7 @@ export declare const WorkspaceWebSocketMessageSchema: z.ZodUnion<readonly [z.Zod
12192
14066
  error_code: z.ZodString;
12193
14067
  message: z.ZodString;
12194
14068
  retryable: z.ZodBoolean;
14069
+ outcome: z.ZodOptional<z.ZodLiteral<"retained_previous">>;
12195
14070
  }, z.core.$strip>;
12196
14071
  }, z.core.$strip>, z.ZodObject<{
12197
14072
  id: z.ZodString;