@vcp-dev/contracts 0.8.1 → 0.8.3

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.
@@ -274,9 +274,9 @@ export declare const LauncherPromptTemplateApplyRequestSchema: z.ZodObject<{
274
274
  normalized_keyword: z.ZodString;
275
275
  intc: z.ZodEnum<{
276
276
  C: "C";
277
+ T: "T";
277
278
  I: "I";
278
279
  N: "N";
279
- T: "T";
280
280
  }>;
281
281
  keyword_type: z.ZodString;
282
282
  intent_strength: z.ZodEnum<{
@@ -462,9 +462,9 @@ export declare const LauncherPromptTemplateApplyResponseSchema: z.ZodObject<{
462
462
  normalized_keyword: z.ZodString;
463
463
  intc: z.ZodEnum<{
464
464
  C: "C";
465
+ T: "T";
465
466
  I: "I";
466
467
  N: "N";
467
- T: "T";
468
468
  }>;
469
469
  keyword_type: z.ZodString;
470
470
  intent_strength: z.ZodEnum<{
@@ -25,6 +25,7 @@ export declare const SiteEditDynamicTargetKindSchema: z.ZodEnum<{
25
25
  text: "text";
26
26
  richtext: "richtext";
27
27
  "repeat-region": "repeat-region";
28
+ "conditional-region": "conditional-region";
28
29
  attribute: "attribute";
29
30
  "component-prop": "component-prop";
30
31
  }>;
@@ -65,6 +66,7 @@ export declare const SiteEditDynamicDataBindingSchema: z.ZodObject<{
65
66
  text: "text";
66
67
  richtext: "richtext";
67
68
  "repeat-region": "repeat-region";
69
+ "conditional-region": "conditional-region";
68
70
  attribute: "attribute";
69
71
  "component-prop": "component-prop";
70
72
  }>;
@@ -108,6 +110,7 @@ export declare const SiteEditDynamicDataDetailSchema: z.ZodObject<{
108
110
  text: "text";
109
111
  richtext: "richtext";
110
112
  "repeat-region": "repeat-region";
113
+ "conditional-region": "conditional-region";
111
114
  attribute: "attribute";
112
115
  "component-prop": "component-prop";
113
116
  }>;
@@ -908,6 +911,7 @@ export declare const SiteEditObjectDetailSchema: z.ZodObject<{
908
911
  text: "text";
909
912
  richtext: "richtext";
910
913
  "repeat-region": "repeat-region";
914
+ "conditional-region": "conditional-region";
911
915
  attribute: "attribute";
912
916
  "component-prop": "component-prop";
913
917
  }>;
@@ -1181,6 +1185,7 @@ export declare const SiteEditObjectEditContextSchema: z.ZodObject<{
1181
1185
  text: "text";
1182
1186
  richtext: "richtext";
1183
1187
  "repeat-region": "repeat-region";
1188
+ "conditional-region": "conditional-region";
1184
1189
  attribute: "attribute";
1185
1190
  "component-prop": "component-prop";
1186
1191
  }>;
@@ -5,7 +5,7 @@
5
5
  *
6
6
  * 由 release-edit-engine-packages.ts 在 bump 版本时自动更新。
7
7
  */
8
- export declare const CURRENT_EDIT_ENGINE_VERSION = "0.8.1";
8
+ export declare const CURRENT_EDIT_ENGINE_VERSION = "0.8.3";
9
9
  export declare const EDIT_ENGINE_VERSION_HEADER = "x-vcp-edit-engine-version";
10
10
  export declare const EDIT_ENGINE_VERSION_SOURCE_HEADER = "x-vcp-edit-engine-version-source";
11
11
  export type EditEngineVersionSource = "explicit" | "fallback_current" | "system_current";
@@ -28,11 +28,10 @@ export declare function resolveSiteLocaleFromIso6393(iso6393: string): SiteLocal
28
28
  /**
29
29
  * 书写系统非拉丁的 locale 闭集。用于 DesignPlan Stage A 的 SEO 关键词分流。
30
30
  *
31
- * step5 关键词强制 English ASCII(`step5-strategy.ts` 的 superRefine),而
32
- * DesignPlan 有两条相反硬指令:`Never mix languages within visitor-facing copy.`
33
- * 与「所有 SEO 文案须写成站点 locale」。非拉丁书写系统站点逐字注入英文关键词
34
- * 即构成混语,因此这些 locale 只把关键词当语义主题信号,由模型用站点语种自行
35
- * 表达。
31
+ * Step5 关键词可能包含来源语言中的产品名、品牌名或其他非 ASCII 字符,而
32
+ * DesignPlan 仍要求访客文案统一使用站点 locale。非拉丁书写系统站点不应机械
33
+ * 粘贴不同书写系统的关键词,因此这些 locale 只把关键词当语义主题信号,由模型
34
+ * 用站点语种自行表达。
36
35
  *
37
36
  * 写成显式常量清单而不是运行时推断:SiteLocale 是闭集枚举(47 selectable +
38
37
  * 43 legacy),不是任意 BCP-47,推断只会引入不可控误判。`sr` 与 `mn-MN` 通行