@vcp-dev/contracts 0.10.25 → 0.10.26

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.
@@ -1,20 +1,17 @@
1
1
  import { z } from "zod";
2
2
  /**
3
- * 企业知识库的资料分类。写入侧(`apps/api` 的知识库上传/改分类)与检索侧
4
- * (`apps/agent` 的 `query_knowledge_base`)共用同一份枚举:上游对非法分类
5
- * 是 200 + 空召回的静默行为,两侧必须锚定同一份合法值才能把"分类拼错"和
6
- * "这家企业没这类资料"区分开。
3
+ * 企业知识库上传时使用的七个预置分类。查询覆盖全部分类,不接受分类参数。
7
4
  *
8
5
  * 顺序即上游与既有 UI 的展示顺序,不要随意调整。
9
6
  */
10
- export declare const KNOWLEDGE_CATEGORY_CODES: readonly ["company_profile", "product_manual", "product_list", "customer_case", "product_help", "qualification", "industry_material"];
7
+ export declare const KNOWLEDGE_CATEGORY_CODES: readonly ["brand", "fact", "cert", "case", "svc", "faq", "voice"];
11
8
  export declare const KnowledgeCategoryCodeSchema: z.ZodEnum<{
12
- company_profile: "company_profile";
13
- product_manual: "product_manual";
14
- product_list: "product_list";
15
- customer_case: "customer_case";
16
- product_help: "product_help";
17
- qualification: "qualification";
18
- industry_material: "industry_material";
9
+ brand: "brand";
10
+ fact: "fact";
11
+ cert: "cert";
12
+ case: "case";
13
+ svc: "svc";
14
+ faq: "faq";
15
+ voice: "voice";
19
16
  }>;
20
17
  export type KnowledgeCategoryCode = z.infer<typeof KnowledgeCategoryCodeSchema>;
@@ -6,29 +6,6 @@ export declare const KnowledgeSourceReadinessStatusSchema: z.ZodEnum<{
6
6
  running: "running";
7
7
  missing: "missing";
8
8
  }>;
9
- export declare const KnowledgeTaskStatusSchema: z.ZodObject<{
10
- task_id: z.ZodString;
11
- status: z.ZodEnum<{
12
- failed: "failed";
13
- ready: "ready";
14
- pending: "pending";
15
- running: "running";
16
- missing: "missing";
17
- }>;
18
- }, z.core.$strict>;
19
- /** Server-only normalized task results. Do not expose this to browsers. */
20
- export declare const KnowledgeTaskStatusBatchSchema: z.ZodObject<{
21
- items: z.ZodArray<z.ZodObject<{
22
- task_id: z.ZodString;
23
- status: z.ZodEnum<{
24
- failed: "failed";
25
- ready: "ready";
26
- pending: "pending";
27
- running: "running";
28
- missing: "missing";
29
- }>;
30
- }, z.core.$strict>>;
31
- }, z.core.$strict>;
32
9
  export declare const Step2KnowledgeOpaqueIdSchema: z.ZodString;
33
10
  export declare const Step2KnowledgeScopeSchema: z.ZodObject<{
34
11
  knowledge_site_id: z.ZodString;
@@ -37,13 +14,13 @@ export declare const Step2KnowledgeScopeSchema: z.ZodObject<{
37
14
  export declare const KnowledgeSourceReadinessSchema: z.ZodObject<{
38
15
  source_file_id: z.ZodString;
39
16
  category_code: z.ZodNullable<z.ZodEnum<{
40
- company_profile: "company_profile";
41
- product_manual: "product_manual";
42
- product_list: "product_list";
43
- customer_case: "customer_case";
44
- product_help: "product_help";
45
- qualification: "qualification";
46
- industry_material: "industry_material";
17
+ brand: "brand";
18
+ fact: "fact";
19
+ cert: "cert";
20
+ case: "case";
21
+ svc: "svc";
22
+ faq: "faq";
23
+ voice: "voice";
47
24
  }>>;
48
25
  category_confirmed: z.ZodBoolean;
49
26
  status: z.ZodEnum<{
@@ -59,13 +36,13 @@ export declare const KnowledgeContextReadinessSchema: z.ZodObject<{
59
36
  files: z.ZodArray<z.ZodObject<{
60
37
  source_file_id: z.ZodString;
61
38
  category_code: z.ZodNullable<z.ZodEnum<{
62
- company_profile: "company_profile";
63
- product_manual: "product_manual";
64
- product_list: "product_list";
65
- customer_case: "customer_case";
66
- product_help: "product_help";
67
- qualification: "qualification";
68
- industry_material: "industry_material";
39
+ brand: "brand";
40
+ fact: "fact";
41
+ cert: "cert";
42
+ case: "case";
43
+ svc: "svc";
44
+ faq: "faq";
45
+ voice: "voice";
69
46
  }>>;
70
47
  category_confirmed: z.ZodBoolean;
71
48
  status: z.ZodEnum<{
@@ -87,8 +64,6 @@ export declare const KnowledgeContextReadinessSchema: z.ZodObject<{
87
64
  }, z.core.$strict>;
88
65
  }, z.core.$strict>;
89
66
  export type KnowledgeSourceReadinessStatus = z.infer<typeof KnowledgeSourceReadinessStatusSchema>;
90
- export type KnowledgeTaskStatus = z.infer<typeof KnowledgeTaskStatusSchema>;
91
- export type KnowledgeTaskStatusBatch = z.infer<typeof KnowledgeTaskStatusBatchSchema>;
92
67
  export type Step2KnowledgeScope = z.infer<typeof Step2KnowledgeScopeSchema>;
93
68
  export type KnowledgeSourceReadiness = z.infer<typeof KnowledgeSourceReadinessSchema>;
94
69
  export type KnowledgeContextReadiness = z.infer<typeof KnowledgeContextReadinessSchema>;
@@ -38,6 +38,7 @@ export declare const SiteEditEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
38
38
  "replace-node": "replace-node";
39
39
  "move-node": "move-node";
40
40
  "set-class-name-source": "set-class-name-source";
41
+ "set-link-target": "set-link-target";
41
42
  "apply-style-draft": "apply-style-draft";
42
43
  "source-edit": "source-edit";
43
44
  "insert-page-resource": "insert-page-resource";
@@ -45,5 +45,6 @@ export declare const SiteEditMaterializationSchema: z.ZodObject<{
45
45
  }, z.core.$strict>]>;
46
46
  }, z.core.$strict>;
47
47
  dataRequirements: z.ZodOptional<z.ZodArray<z.ZodNever>>;
48
+ projectDependencies: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
48
49
  }, z.core.$strict>;
49
50
  export type SiteEditMaterialization = z.infer<typeof SiteEditMaterializationSchema>;
@@ -9,6 +9,7 @@ export declare const SiteEditOperationTypeSchema: z.ZodEnum<{
9
9
  "replace-node": "replace-node";
10
10
  "move-node": "move-node";
11
11
  "set-class-name-source": "set-class-name-source";
12
+ "set-link-target": "set-link-target";
12
13
  "apply-style-draft": "apply-style-draft";
13
14
  "source-edit": "source-edit";
14
15
  "insert-page-resource": "insert-page-resource";
@@ -280,6 +281,7 @@ export declare const SiteEditMaterializedComponentNodeSpecSchema: z.ZodObject<{
280
281
  }, z.core.$strict>]>;
281
282
  }, z.core.$strict>;
282
283
  dataRequirements: z.ZodOptional<z.ZodArray<z.ZodNever>>;
284
+ projectDependencies: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
283
285
  }, z.core.$strict>;
284
286
  props: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNever>>;
285
287
  }, z.core.$strict>;
@@ -316,6 +318,7 @@ export declare const SiteEditInsertNodeSpecSchema: z.ZodUnion<readonly [z.ZodObj
316
318
  }, z.core.$strict>]>;
317
319
  }, z.core.$strict>;
318
320
  dataRequirements: z.ZodOptional<z.ZodArray<z.ZodNever>>;
321
+ projectDependencies: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
319
322
  }, z.core.$strict>;
320
323
  props: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNever>>;
321
324
  }, z.core.$strict>]>;
@@ -365,6 +368,7 @@ export declare const SiteEditOperationParamsSchema: z.ZodDiscriminatedUnion<[z.Z
365
368
  }, z.core.$strict>]>;
366
369
  }, z.core.$strict>;
367
370
  dataRequirements: z.ZodOptional<z.ZodArray<z.ZodNever>>;
371
+ projectDependencies: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
368
372
  }, z.core.$strict>;
369
373
  props: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNever>>;
370
374
  }, z.core.$strict>]>;
@@ -427,6 +431,7 @@ export declare const SiteEditOperationParamsSchema: z.ZodDiscriminatedUnion<[z.Z
427
431
  }, z.core.$strict>]>;
428
432
  }, z.core.$strict>;
429
433
  dataRequirements: z.ZodOptional<z.ZodArray<z.ZodNever>>;
434
+ projectDependencies: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
430
435
  }, z.core.$strict>;
431
436
  props: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNever>>;
432
437
  }, z.core.$strict>;
@@ -512,6 +517,26 @@ export declare const SiteEditOperationParamsSchema: z.ZodDiscriminatedUnion<[z.Z
512
517
  operation: z.ZodLiteral<"remove">;
513
518
  name: z.ZodString;
514
519
  }, z.core.$strict>], "operation">>;
520
+ }, z.core.$strict>, z.ZodObject<{
521
+ kind: z.ZodLiteral<"set-link-target">;
522
+ scope: z.ZodLiteral<"selection">;
523
+ link: z.ZodDiscriminatedUnion<[z.ZodObject<{
524
+ kind: z.ZodLiteral<"none">;
525
+ }, z.core.$strict>, z.ZodObject<{
526
+ kind: z.ZodLiteral<"internal-route">;
527
+ href: z.ZodString;
528
+ }, z.core.$strict>, z.ZodObject<{
529
+ kind: z.ZodLiteral<"native-link">;
530
+ href: z.ZodString;
531
+ }, z.core.$strict>], "kind">;
532
+ changes: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
533
+ operation: z.ZodLiteral<"set">;
534
+ name: z.ZodString;
535
+ value: z.ZodType<import("./site-edit-operation-value.js").SiteEditOperationValue, unknown, z.core.$ZodTypeInternals<import("./site-edit-operation-value.js").SiteEditOperationValue, unknown>>;
536
+ }, z.core.$strict>, z.ZodObject<{
537
+ operation: z.ZodLiteral<"remove">;
538
+ name: z.ZodString;
539
+ }, z.core.$strict>], "operation">>;
515
540
  }, z.core.$strict>, z.ZodObject<{
516
541
  kind: z.ZodLiteral<"apply-style-draft">;
517
542
  className: z.ZodOptional<z.ZodObject<{
@@ -601,6 +626,7 @@ export declare const SiteEditOperationParamsSchema: z.ZodDiscriminatedUnion<[z.Z
601
626
  }, z.core.$strict>]>;
602
627
  }, z.core.$strict>;
603
628
  dataRequirements: z.ZodOptional<z.ZodArray<z.ZodNever>>;
629
+ projectDependencies: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
604
630
  }, z.core.$strict>;
605
631
  }, z.core.$strict>>;
606
632
  pages: z.ZodArray<z.ZodObject<{
@@ -624,6 +650,7 @@ export declare const SiteEditOperationParamsSchema: z.ZodDiscriminatedUnion<[z.Z
624
650
  }, z.core.$strict>]>;
625
651
  }, z.core.$strict>;
626
652
  dataRequirements: z.ZodOptional<z.ZodArray<z.ZodNever>>;
653
+ projectDependencies: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
627
654
  }, z.core.$strict>;
628
655
  components: z.ZodArray<z.ZodObject<{
629
656
  instance_id: z.ZodString;
@@ -637,6 +664,9 @@ export declare const SiteEditOperationParamsSchema: z.ZodDiscriminatedUnion<[z.Z
637
664
  expectedUrlPath: z.ZodString;
638
665
  }, z.core.$strict>], "kind">;
639
666
  export type SiteEditOperationParams = z.infer<typeof SiteEditOperationParamsSchema>;
667
+ export type SiteEditSetLinkTargetParams = Extract<SiteEditOperationParams, {
668
+ kind: "set-link-target";
669
+ }>;
640
670
  export declare const SiteEditOperationErrorCodeSchema: z.ZodEnum<{
641
671
  VERSION_STALE: "VERSION_STALE";
642
672
  RECOVERY_REQUIRED: "RECOVERY_REQUIRED";
@@ -730,6 +760,7 @@ export declare const SiteEditOperationRequestSchema: z.ZodObject<{
730
760
  "replace-node": "replace-node";
731
761
  "move-node": "move-node";
732
762
  "set-class-name-source": "set-class-name-source";
763
+ "set-link-target": "set-link-target";
733
764
  "apply-style-draft": "apply-style-draft";
734
765
  "source-edit": "source-edit";
735
766
  "insert-page-resource": "insert-page-resource";
@@ -817,6 +848,7 @@ export declare const SiteEditOperationRequestSchema: z.ZodObject<{
817
848
  }, z.core.$strict>]>;
818
849
  }, z.core.$strict>;
819
850
  dataRequirements: z.ZodOptional<z.ZodArray<z.ZodNever>>;
851
+ projectDependencies: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
820
852
  }, z.core.$strict>;
821
853
  props: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNever>>;
822
854
  }, z.core.$strict>]>;
@@ -879,6 +911,7 @@ export declare const SiteEditOperationRequestSchema: z.ZodObject<{
879
911
  }, z.core.$strict>]>;
880
912
  }, z.core.$strict>;
881
913
  dataRequirements: z.ZodOptional<z.ZodArray<z.ZodNever>>;
914
+ projectDependencies: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
882
915
  }, z.core.$strict>;
883
916
  props: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNever>>;
884
917
  }, z.core.$strict>;
@@ -964,6 +997,26 @@ export declare const SiteEditOperationRequestSchema: z.ZodObject<{
964
997
  operation: z.ZodLiteral<"remove">;
965
998
  name: z.ZodString;
966
999
  }, z.core.$strict>], "operation">>;
1000
+ }, z.core.$strict>, z.ZodObject<{
1001
+ kind: z.ZodLiteral<"set-link-target">;
1002
+ scope: z.ZodLiteral<"selection">;
1003
+ link: z.ZodDiscriminatedUnion<[z.ZodObject<{
1004
+ kind: z.ZodLiteral<"none">;
1005
+ }, z.core.$strict>, z.ZodObject<{
1006
+ kind: z.ZodLiteral<"internal-route">;
1007
+ href: z.ZodString;
1008
+ }, z.core.$strict>, z.ZodObject<{
1009
+ kind: z.ZodLiteral<"native-link">;
1010
+ href: z.ZodString;
1011
+ }, z.core.$strict>], "kind">;
1012
+ changes: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
1013
+ operation: z.ZodLiteral<"set">;
1014
+ name: z.ZodString;
1015
+ value: z.ZodType<import("./site-edit-operation-value.js").SiteEditOperationValue, unknown, z.core.$ZodTypeInternals<import("./site-edit-operation-value.js").SiteEditOperationValue, unknown>>;
1016
+ }, z.core.$strict>, z.ZodObject<{
1017
+ operation: z.ZodLiteral<"remove">;
1018
+ name: z.ZodString;
1019
+ }, z.core.$strict>], "operation">>;
967
1020
  }, z.core.$strict>, z.ZodObject<{
968
1021
  kind: z.ZodLiteral<"apply-style-draft">;
969
1022
  className: z.ZodOptional<z.ZodObject<{
@@ -1053,6 +1106,7 @@ export declare const SiteEditOperationRequestSchema: z.ZodObject<{
1053
1106
  }, z.core.$strict>]>;
1054
1107
  }, z.core.$strict>;
1055
1108
  dataRequirements: z.ZodOptional<z.ZodArray<z.ZodNever>>;
1109
+ projectDependencies: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1056
1110
  }, z.core.$strict>;
1057
1111
  }, z.core.$strict>>;
1058
1112
  pages: z.ZodArray<z.ZodObject<{
@@ -1076,6 +1130,7 @@ export declare const SiteEditOperationRequestSchema: z.ZodObject<{
1076
1130
  }, z.core.$strict>]>;
1077
1131
  }, z.core.$strict>;
1078
1132
  dataRequirements: z.ZodOptional<z.ZodArray<z.ZodNever>>;
1133
+ projectDependencies: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1079
1134
  }, z.core.$strict>;
1080
1135
  components: z.ZodArray<z.ZodObject<{
1081
1136
  instance_id: z.ZodString;
@@ -1112,6 +1167,7 @@ export declare const SiteEditSignedOperationRequestSchema: z.ZodObject<{
1112
1167
  "replace-node": "replace-node";
1113
1168
  "move-node": "move-node";
1114
1169
  "set-class-name-source": "set-class-name-source";
1170
+ "set-link-target": "set-link-target";
1115
1171
  "apply-style-draft": "apply-style-draft";
1116
1172
  "source-edit": "source-edit";
1117
1173
  "insert-page-resource": "insert-page-resource";
@@ -1199,6 +1255,7 @@ export declare const SiteEditSignedOperationRequestSchema: z.ZodObject<{
1199
1255
  }, z.core.$strict>]>;
1200
1256
  }, z.core.$strict>;
1201
1257
  dataRequirements: z.ZodOptional<z.ZodArray<z.ZodNever>>;
1258
+ projectDependencies: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1202
1259
  }, z.core.$strict>;
1203
1260
  props: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNever>>;
1204
1261
  }, z.core.$strict>]>;
@@ -1261,6 +1318,7 @@ export declare const SiteEditSignedOperationRequestSchema: z.ZodObject<{
1261
1318
  }, z.core.$strict>]>;
1262
1319
  }, z.core.$strict>;
1263
1320
  dataRequirements: z.ZodOptional<z.ZodArray<z.ZodNever>>;
1321
+ projectDependencies: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1264
1322
  }, z.core.$strict>;
1265
1323
  props: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNever>>;
1266
1324
  }, z.core.$strict>;
@@ -1346,6 +1404,26 @@ export declare const SiteEditSignedOperationRequestSchema: z.ZodObject<{
1346
1404
  operation: z.ZodLiteral<"remove">;
1347
1405
  name: z.ZodString;
1348
1406
  }, z.core.$strict>], "operation">>;
1407
+ }, z.core.$strict>, z.ZodObject<{
1408
+ kind: z.ZodLiteral<"set-link-target">;
1409
+ scope: z.ZodLiteral<"selection">;
1410
+ link: z.ZodDiscriminatedUnion<[z.ZodObject<{
1411
+ kind: z.ZodLiteral<"none">;
1412
+ }, z.core.$strict>, z.ZodObject<{
1413
+ kind: z.ZodLiteral<"internal-route">;
1414
+ href: z.ZodString;
1415
+ }, z.core.$strict>, z.ZodObject<{
1416
+ kind: z.ZodLiteral<"native-link">;
1417
+ href: z.ZodString;
1418
+ }, z.core.$strict>], "kind">;
1419
+ changes: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
1420
+ operation: z.ZodLiteral<"set">;
1421
+ name: z.ZodString;
1422
+ value: z.ZodType<import("./site-edit-operation-value.js").SiteEditOperationValue, unknown, z.core.$ZodTypeInternals<import("./site-edit-operation-value.js").SiteEditOperationValue, unknown>>;
1423
+ }, z.core.$strict>, z.ZodObject<{
1424
+ operation: z.ZodLiteral<"remove">;
1425
+ name: z.ZodString;
1426
+ }, z.core.$strict>], "operation">>;
1349
1427
  }, z.core.$strict>, z.ZodObject<{
1350
1428
  kind: z.ZodLiteral<"apply-style-draft">;
1351
1429
  className: z.ZodOptional<z.ZodObject<{
@@ -1435,6 +1513,7 @@ export declare const SiteEditSignedOperationRequestSchema: z.ZodObject<{
1435
1513
  }, z.core.$strict>]>;
1436
1514
  }, z.core.$strict>;
1437
1515
  dataRequirements: z.ZodOptional<z.ZodArray<z.ZodNever>>;
1516
+ projectDependencies: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1438
1517
  }, z.core.$strict>;
1439
1518
  }, z.core.$strict>>;
1440
1519
  pages: z.ZodArray<z.ZodObject<{
@@ -1458,6 +1537,7 @@ export declare const SiteEditSignedOperationRequestSchema: z.ZodObject<{
1458
1537
  }, z.core.$strict>]>;
1459
1538
  }, z.core.$strict>;
1460
1539
  dataRequirements: z.ZodOptional<z.ZodArray<z.ZodNever>>;
1540
+ projectDependencies: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1461
1541
  }, z.core.$strict>;
1462
1542
  components: z.ZodArray<z.ZodObject<{
1463
1543
  instance_id: z.ZodString;
@@ -1519,6 +1599,7 @@ export declare const SiteEditOperationPayloadSchema: z.ZodObject<{
1519
1599
  "replace-node": "replace-node";
1520
1600
  "move-node": "move-node";
1521
1601
  "set-class-name-source": "set-class-name-source";
1602
+ "set-link-target": "set-link-target";
1522
1603
  "apply-style-draft": "apply-style-draft";
1523
1604
  "source-edit": "source-edit";
1524
1605
  "insert-page-resource": "insert-page-resource";
@@ -1595,6 +1676,7 @@ export declare const SiteEditOperationCommandResultSchema: z.ZodDiscriminatedUni
1595
1676
  "replace-node": "replace-node";
1596
1677
  "move-node": "move-node";
1597
1678
  "set-class-name-source": "set-class-name-source";
1679
+ "set-link-target": "set-link-target";
1598
1680
  "apply-style-draft": "apply-style-draft";
1599
1681
  "source-edit": "source-edit";
1600
1682
  "insert-page-resource": "insert-page-resource";
@@ -617,6 +617,7 @@ export declare const SiteEditStyleModelSchema: z.ZodUnion<readonly [z.ZodRecord<
617
617
  "replace-node": "replace-node";
618
618
  "move-node": "move-node";
619
619
  "set-class-name-source": "set-class-name-source";
620
+ "set-link-target": "set-link-target";
620
621
  "apply-style-draft": "apply-style-draft";
621
622
  "source-edit": "source-edit";
622
623
  "insert-page-resource": "insert-page-resource";
@@ -644,6 +645,7 @@ export declare const SiteEditStyleSourceSchema: z.ZodObject<{
644
645
  "replace-node": "replace-node";
645
646
  "move-node": "move-node";
646
647
  "set-class-name-source": "set-class-name-source";
648
+ "set-link-target": "set-link-target";
647
649
  "apply-style-draft": "apply-style-draft";
648
650
  "source-edit": "source-edit";
649
651
  "insert-page-resource": "insert-page-resource";
@@ -885,6 +887,7 @@ export declare const SiteEditObjectDetailSchema: z.ZodObject<{
885
887
  "replace-node": "replace-node";
886
888
  "move-node": "move-node";
887
889
  "set-class-name-source": "set-class-name-source";
890
+ "set-link-target": "set-link-target";
888
891
  "apply-style-draft": "apply-style-draft";
889
892
  "source-edit": "source-edit";
890
893
  "insert-page-resource": "insert-page-resource";
@@ -1156,6 +1159,11 @@ export declare const SiteEditObjectEditContextSchema: z.ZodObject<{
1156
1159
  }, z.core.$strict>;
1157
1160
  key: z.ZodString;
1158
1161
  tag: z.ZodString;
1162
+ linkSourceKind: z.ZodOptional<z.ZodEnum<{
1163
+ unsupported: "unsupported";
1164
+ "native-anchor": "native-anchor";
1165
+ "next-link": "next-link";
1166
+ }>>;
1159
1167
  label: z.ZodString;
1160
1168
  sourceLocator: z.ZodOptional<z.ZodObject<{
1161
1169
  sourceFile: z.ZodString;
@@ -1434,6 +1442,7 @@ export declare const SiteEditObjectStyleDetailSchema: z.ZodObject<{
1434
1442
  "replace-node": "replace-node";
1435
1443
  "move-node": "move-node";
1436
1444
  "set-class-name-source": "set-class-name-source";
1445
+ "set-link-target": "set-link-target";
1437
1446
  "apply-style-draft": "apply-style-draft";
1438
1447
  "source-edit": "source-edit";
1439
1448
  "insert-page-resource": "insert-page-resource";
@@ -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.10.25";
8
+ export declare const CURRENT_EDIT_ENGINE_VERSION = "0.10.26";
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";