@c4a/context 0.7.5 → 0.7.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.
Files changed (98) hide show
  1. package/README.md +12 -4
  2. package/README.zh-CN.md +11 -4
  3. package/docs/README.md +13 -1
  4. package/docs/README.zh-CN.md +13 -1
  5. package/docs/getting-started.md +95 -69
  6. package/docs/guides/agent-dialogue.md +20 -9
  7. package/docs/guides/agent-guide.md +48 -10
  8. package/docs/guides/code-indexer-skill-authoring.md +42 -11
  9. package/docs/guides/indexer-manifest-example.md +103 -0
  10. package/docs/guides/indexer-provider-and-customization.md +334 -15
  11. package/docs/guides/indexer-skill-creation.md +99 -0
  12. package/docs/guides/knowledge-updates.md +422 -0
  13. package/docs/guides/lark-resources.md +5 -1
  14. package/docs/guides/markdown-indexer-skill-authoring.md +16 -7
  15. package/docs/guides/note.md +37 -0
  16. package/docs/guides/package-outputs.md +231 -60
  17. package/docs/guides/sessions.md +50 -0
  18. package/docs/guides/workspace-commit.md +45 -0
  19. package/docs/guides/workspace-prepare.md +72 -0
  20. package/docs/guides/workspace-restore.md +59 -0
  21. package/docs/reference/code-extractors.md +23 -11
  22. package/docs/reference/indexer-provider-protocol.md +135 -22
  23. package/docs/reference/package-templates.md +10 -9
  24. package/docs/reference/project-api.md +100 -13
  25. package/docs/reference/template-variables.md +7 -7
  26. package/index.d.ts +15 -0
  27. package/index.js +1708 -626
  28. package/indexerAgentStepProtocol.d.ts +44 -0
  29. package/indexerApprovedKnowledge.d.ts +371 -0
  30. package/indexerArticlePlan.d.ts +83 -0
  31. package/indexerArtifact.d.ts +10 -7
  32. package/indexerArtifactDependencies.d.ts +5 -5
  33. package/indexerArtifactPolicy.d.ts +12 -12
  34. package/indexerArtifactResult.d.ts +76 -69
  35. package/indexerAuthoringFixture.d.ts +8 -8
  36. package/indexerAuthorizedWorksetView.d.ts +14 -14
  37. package/indexerBaseQuestionAmendment.d.ts +40 -0
  38. package/indexerCandidateCompile.d.ts +46 -36
  39. package/indexerCatalogFallback.d.ts +566 -48
  40. package/indexerContentLayers.d.ts +6 -4
  41. package/indexerContractDeclaration.d.ts +3 -0
  42. package/indexerControlledProgram.d.ts +1039 -238
  43. package/indexerCustomizationDraft.d.ts +188 -0
  44. package/indexerDependencyView.d.ts +17 -17
  45. package/indexerEffectiveArtifact.d.ts +26 -15
  46. package/indexerExampleFactDependencies.d.ts +17 -0
  47. package/indexerExampleIdentityAudit.d.ts +2 -2
  48. package/indexerInventoryDisposition.d.ts +44 -44
  49. package/indexerKnowledgeDependency.d.ts +46 -0
  50. package/indexerLayerComposition.d.ts +92 -54
  51. package/indexerLayoutChange.d.ts +8 -8
  52. package/indexerLayoutProposalSet.d.ts +15 -10
  53. package/indexerLayoutResolver.d.ts +15 -6
  54. package/indexerLayoutTransition.d.ts +8 -8
  55. package/indexerLifecycle.d.ts +1 -1
  56. package/indexerMainRunLedger.d.ts +3 -0
  57. package/indexerMainRunProtocol.d.ts +872 -196
  58. package/indexerMainWorkset.d.ts +50 -0
  59. package/indexerNavigationArtifactPlan.d.ts +2 -2
  60. package/indexerOverlayQuestionAmendment.d.ts +56 -16
  61. package/indexerOverlayQuestionApplyProposal.d.ts +98 -26
  62. package/indexerPartitionPlan.d.ts +585 -40
  63. package/indexerPhysicalArtifactAudit.d.ts +2 -2
  64. package/indexerPhysicalArtifactManifest.d.ts +24 -24
  65. package/indexerPostAuthorRunLedger.d.ts +60 -34
  66. package/indexerPrimaryProjection.d.ts +2 -2
  67. package/indexerProfileContract.d.ts +28 -28
  68. package/indexerProgramRunProtocol.d.ts +868 -194
  69. package/indexerProjectProposal.d.ts +36 -8
  70. package/indexerProjectedArtifactFanOutAudit.d.ts +2 -2
  71. package/indexerProtocolHash.d.ts +2 -0
  72. package/indexerProvider.d.ts +102 -58
  73. package/indexerProviderComposition.d.ts +4 -4
  74. package/indexerProviderRouting.d.ts +52 -0
  75. package/indexerProviderSelectionProposal.d.ts +48 -0
  76. package/indexerPublicContractFacts.d.ts +7 -0
  77. package/indexerPublicContractTable.d.ts +11 -0
  78. package/indexerReaderTargetInventory.d.ts +6 -6
  79. package/indexerReferenceOnlyAudit.d.ts +2 -2
  80. package/indexerRegistry.d.ts +658 -0
  81. package/indexerRequirementConfirmation.d.ts +48 -16
  82. package/indexerRequirementLifecycle.d.ts +154 -42
  83. package/indexerResultReconciliation.d.ts +12 -11
  84. package/indexerSemanticInput.d.ts +27168 -3813
  85. package/{indexerGeneratedAuthoringAudit.d.ts → indexerStructuredClaims.d.ts} +0 -84
  86. package/indexerStructuredDeclaration.d.ts +8 -8
  87. package/indexerTemplateRendering.d.ts +7 -7
  88. package/indexerToolSnapshot.d.ts +16 -16
  89. package/knowledgeMap.d.ts +188 -0
  90. package/managedSources.d.ts +15 -0
  91. package/package.json +1 -1
  92. package/packageSite.d.ts +25 -0
  93. package/phases.d.ts +0 -3
  94. package/processedScopes.d.ts +75 -0
  95. package/sessionMetadata.d.ts +49 -0
  96. package/sources.d.ts +9 -3
  97. package/templates/package-templates/kb/skills/knowledge-query/SKILL.md +15 -10
  98. package/templates/package-templates.zh-CN/kb/skills/knowledge-query/SKILL.md +8 -8
@@ -1030,51 +1030,51 @@ export declare const indexerProfileContractEntrySchema: z.ZodEffects<z.ZodObject
1030
1030
  required: z.ZodBoolean;
1031
1031
  }, "strict", z.ZodTypeAny, {
1032
1032
  type: "enum";
1033
- id: string;
1034
1033
  values: string[];
1034
+ id: string;
1035
1035
  required: boolean;
1036
1036
  }, {
1037
1037
  type: "enum";
1038
- id: string;
1039
1038
  values: string[];
1039
+ id: string;
1040
1040
  required: boolean;
1041
1041
  }>, {
1042
1042
  type: "enum";
1043
- id: string;
1044
1043
  values: string[];
1044
+ id: string;
1045
1045
  required: boolean;
1046
1046
  }, {
1047
1047
  type: "enum";
1048
- id: string;
1049
1048
  values: string[];
1049
+ id: string;
1050
1050
  required: boolean;
1051
1051
  }>, "many">;
1052
1052
  }, "strict", z.ZodTypeAny, {
1053
1053
  axes: {
1054
1054
  type: "enum";
1055
- id: string;
1056
1055
  values: string[];
1056
+ id: string;
1057
1057
  required: boolean;
1058
1058
  }[];
1059
1059
  }, {
1060
1060
  axes: {
1061
1061
  type: "enum";
1062
- id: string;
1063
1062
  values: string[];
1063
+ id: string;
1064
1064
  required: boolean;
1065
1065
  }[];
1066
1066
  }>, {
1067
1067
  axes: {
1068
1068
  type: "enum";
1069
- id: string;
1070
1069
  values: string[];
1070
+ id: string;
1071
1071
  required: boolean;
1072
1072
  }[];
1073
1073
  }, {
1074
1074
  axes: {
1075
1075
  type: "enum";
1076
- id: string;
1077
1076
  values: string[];
1077
+ id: string;
1078
1078
  required: boolean;
1079
1079
  }[];
1080
1080
  }>;
@@ -1179,8 +1179,8 @@ export declare const indexerProfileContractEntrySchema: z.ZodEffects<z.ZodObject
1179
1179
  variant_schema: {
1180
1180
  axes: {
1181
1181
  type: "enum";
1182
- id: string;
1183
1182
  values: string[];
1183
+ id: string;
1184
1184
  required: boolean;
1185
1185
  }[];
1186
1186
  };
@@ -1285,8 +1285,8 @@ export declare const indexerProfileContractEntrySchema: z.ZodEffects<z.ZodObject
1285
1285
  variant_schema: {
1286
1286
  axes: {
1287
1287
  type: "enum";
1288
- id: string;
1289
1288
  values: string[];
1289
+ id: string;
1290
1290
  required: boolean;
1291
1291
  }[];
1292
1292
  };
@@ -1391,8 +1391,8 @@ export declare const indexerProfileContractEntrySchema: z.ZodEffects<z.ZodObject
1391
1391
  variant_schema: {
1392
1392
  axes: {
1393
1393
  type: "enum";
1394
- id: string;
1395
1394
  values: string[];
1395
+ id: string;
1396
1396
  required: boolean;
1397
1397
  }[];
1398
1398
  };
@@ -1497,8 +1497,8 @@ export declare const indexerProfileContractEntrySchema: z.ZodEffects<z.ZodObject
1497
1497
  variant_schema: {
1498
1498
  axes: {
1499
1499
  type: "enum";
1500
- id: string;
1501
1500
  values: string[];
1501
+ id: string;
1502
1502
  required: boolean;
1503
1503
  }[];
1504
1504
  };
@@ -1946,51 +1946,51 @@ export declare const indexerProfileContractSchema: z.ZodEffects<z.ZodObject<{
1946
1946
  required: z.ZodBoolean;
1947
1947
  }, "strict", z.ZodTypeAny, {
1948
1948
  type: "enum";
1949
- id: string;
1950
1949
  values: string[];
1950
+ id: string;
1951
1951
  required: boolean;
1952
1952
  }, {
1953
1953
  type: "enum";
1954
- id: string;
1955
1954
  values: string[];
1955
+ id: string;
1956
1956
  required: boolean;
1957
1957
  }>, {
1958
1958
  type: "enum";
1959
- id: string;
1960
1959
  values: string[];
1960
+ id: string;
1961
1961
  required: boolean;
1962
1962
  }, {
1963
1963
  type: "enum";
1964
- id: string;
1965
1964
  values: string[];
1965
+ id: string;
1966
1966
  required: boolean;
1967
1967
  }>, "many">;
1968
1968
  }, "strict", z.ZodTypeAny, {
1969
1969
  axes: {
1970
1970
  type: "enum";
1971
- id: string;
1972
1971
  values: string[];
1972
+ id: string;
1973
1973
  required: boolean;
1974
1974
  }[];
1975
1975
  }, {
1976
1976
  axes: {
1977
1977
  type: "enum";
1978
- id: string;
1979
1978
  values: string[];
1979
+ id: string;
1980
1980
  required: boolean;
1981
1981
  }[];
1982
1982
  }>, {
1983
1983
  axes: {
1984
1984
  type: "enum";
1985
- id: string;
1986
1985
  values: string[];
1986
+ id: string;
1987
1987
  required: boolean;
1988
1988
  }[];
1989
1989
  }, {
1990
1990
  axes: {
1991
1991
  type: "enum";
1992
- id: string;
1993
1992
  values: string[];
1993
+ id: string;
1994
1994
  required: boolean;
1995
1995
  }[];
1996
1996
  }>;
@@ -2095,8 +2095,8 @@ export declare const indexerProfileContractSchema: z.ZodEffects<z.ZodObject<{
2095
2095
  variant_schema: {
2096
2096
  axes: {
2097
2097
  type: "enum";
2098
- id: string;
2099
2098
  values: string[];
2099
+ id: string;
2100
2100
  required: boolean;
2101
2101
  }[];
2102
2102
  };
@@ -2201,8 +2201,8 @@ export declare const indexerProfileContractSchema: z.ZodEffects<z.ZodObject<{
2201
2201
  variant_schema: {
2202
2202
  axes: {
2203
2203
  type: "enum";
2204
- id: string;
2205
2204
  values: string[];
2205
+ id: string;
2206
2206
  required: boolean;
2207
2207
  }[];
2208
2208
  };
@@ -2307,8 +2307,8 @@ export declare const indexerProfileContractSchema: z.ZodEffects<z.ZodObject<{
2307
2307
  variant_schema: {
2308
2308
  axes: {
2309
2309
  type: "enum";
2310
- id: string;
2311
2310
  values: string[];
2311
+ id: string;
2312
2312
  required: boolean;
2313
2313
  }[];
2314
2314
  };
@@ -2413,8 +2413,8 @@ export declare const indexerProfileContractSchema: z.ZodEffects<z.ZodObject<{
2413
2413
  variant_schema: {
2414
2414
  axes: {
2415
2415
  type: "enum";
2416
- id: string;
2417
2416
  values: string[];
2417
+ id: string;
2418
2418
  required: boolean;
2419
2419
  }[];
2420
2420
  };
@@ -2613,8 +2613,8 @@ export declare const indexerProfileContractSchema: z.ZodEffects<z.ZodObject<{
2613
2613
  variant_schema: {
2614
2614
  axes: {
2615
2615
  type: "enum";
2616
- id: string;
2617
2616
  values: string[];
2617
+ id: string;
2618
2618
  required: boolean;
2619
2619
  }[];
2620
2620
  };
@@ -2741,8 +2741,8 @@ export declare const indexerProfileContractSchema: z.ZodEffects<z.ZodObject<{
2741
2741
  variant_schema: {
2742
2742
  axes: {
2743
2743
  type: "enum";
2744
- id: string;
2745
2744
  values: string[];
2745
+ id: string;
2746
2746
  required: boolean;
2747
2747
  }[];
2748
2748
  };
@@ -2869,8 +2869,8 @@ export declare const indexerProfileContractSchema: z.ZodEffects<z.ZodObject<{
2869
2869
  variant_schema: {
2870
2870
  axes: {
2871
2871
  type: "enum";
2872
- id: string;
2873
2872
  values: string[];
2873
+ id: string;
2874
2874
  required: boolean;
2875
2875
  }[];
2876
2876
  };
@@ -2997,8 +2997,8 @@ export declare const indexerProfileContractSchema: z.ZodEffects<z.ZodObject<{
2997
2997
  variant_schema: {
2998
2998
  axes: {
2999
2999
  type: "enum";
3000
- id: string;
3001
3000
  values: string[];
3001
+ id: string;
3002
3002
  required: boolean;
3003
3003
  }[];
3004
3004
  };