@c4a/context 0.7.9 → 0.7.10-alpha.1
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/articleStructure.d.ts +254 -0
- package/docs/guides/agent-dialogue.md +1 -1
- package/docs/guides/code-indexer-skill-authoring.md +76 -178
- package/docs/guides/indexer-provider-and-customization.md +93 -453
- package/docs/guides/indexer-skill-creation.md +107 -97
- package/docs/guides/knowledge-updates.md +35 -14
- package/docs/guides/markdown-indexer-skill-authoring.md +57 -134
- package/docs/reference/indexer-provider-protocol.md +52 -102
- package/docs/reference/package-templates.md +39 -65
- package/docs/reference/template-variables.md +2 -3
- package/index.d.ts +6 -10
- package/index.js +6441 -8771
- package/indexerAgentStepProtocol.d.ts +0 -910
- package/indexerApprovedKnowledge.d.ts +98 -359
- package/indexerArticlePlan.d.ts +3 -26
- package/indexerArtifact.d.ts +201 -70
- package/indexerArtifactPolicy.d.ts +0 -18
- package/indexerArtifactResult.d.ts +240 -888
- package/indexerAuthoringFixture.d.ts +0 -13
- package/indexerBenchmark.d.ts +2 -2
- package/indexerCandidateCompile.d.ts +123 -167
- package/indexerCatalogFallback.d.ts +32 -374
- package/indexerCollectionMapping.d.ts +2 -2
- package/indexerContentLayers.d.ts +187 -41
- package/indexerContractOverlay.d.ts +30 -44
- package/indexerControlledInvocation.d.ts +6 -6
- package/indexerControlledProgram.d.ts +959 -3020
- package/indexerDependencyView.d.ts +96 -96
- package/indexerEffectiveArtifact.d.ts +381 -242
- package/indexerExampleDecision.d.ts +134 -134
- package/indexerExampleIdentity.d.ts +6 -6
- package/indexerExampleIdentityAudit.d.ts +6 -6
- package/indexerInventoryDisposition.d.ts +0 -39
- package/indexerLayerComposition.d.ts +1378 -852
- package/indexerLayoutChange.d.ts +24 -33
- package/indexerLayoutProposalSet.d.ts +143 -137
- package/indexerLayoutResolver.d.ts +116 -101
- package/indexerLayoutTransition.d.ts +6 -6
- package/indexerMainLifecycle.d.ts +1 -11
- package/indexerMainRunLedger.d.ts +0 -14
- package/indexerMainRunProtocol.d.ts +806 -2530
- package/indexerMainWorkset.d.ts +0 -1212
- package/indexerNavigationArtifactPlan.d.ts +2 -2
- package/indexerOverlayQuestionApplyProposal.d.ts +0 -4
- package/indexerParserCoordinate.d.ts +2 -2
- package/indexerParserExecutionPlan.d.ts +42 -42
- package/indexerPartitionPlan.d.ts +24 -354
- package/indexerPhysicalArtifactManifest.d.ts +12 -27
- package/indexerPostAuthorComposition.d.ts +2 -253
- package/indexerPostAuthorRunLedger.d.ts +860 -562
- package/indexerPrimaryProjection.d.ts +2 -2
- package/indexerPrimaryResultView.d.ts +0 -318
- package/indexerProfileContract.d.ts +200 -549
- package/indexerProgramExecutionAuthorization.d.ts +4 -4
- package/indexerProgramRunProtocol.d.ts +806 -2527
- package/indexerProjectProposal.d.ts +8 -8
- package/indexerProjectedArtifactFanOutAudit.d.ts +8 -8
- package/indexerProjectedArtifactPlan.d.ts +0 -9
- package/indexerProvider.d.ts +46 -288
- package/indexerProviderComposition.d.ts +16 -42
- package/indexerQuestionAuthority.d.ts +2 -82
- package/indexerReaderTargetInventory.d.ts +6 -6
- package/indexerRequirementLifecycle.d.ts +6 -6
- package/indexerResultReconciliation.d.ts +35 -149
- package/indexerSemanticInput.d.ts +10642 -4685
- package/indexerStructuredDeclaration.d.ts +24 -24
- package/indexerTemplateRendering.d.ts +239 -113
- package/knowledgeMap.d.ts +5 -5
- package/package.json +1 -1
- package/templates/package-templates/kb/skills/knowledge-query/SKILL.md +13 -16
- package/templates/package-templates.zh-CN/kb/skills/knowledge-query/SKILL.md +9 -9
- package/indexerArtifactDependencies.d.ts +0 -693
- package/indexerCompositionFactDependencies.d.ts +0 -16
- package/indexerExampleFactDependencies.d.ts +0 -17
- package/indexerIncrementalImpact.d.ts +0 -221
- package/indexerKnowledgeDependency.d.ts +0 -46
- package/indexerSubjectCatalog.d.ts +0 -230
- package/indexerSubjectKeyAuthority.d.ts +0 -786
|
@@ -2077,25 +2077,25 @@ export declare const indexerProjectProposalSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2077
2077
|
content: z.ZodOptional<z.ZodString>;
|
|
2078
2078
|
}, "strict", z.ZodTypeAny, {
|
|
2079
2079
|
path: string;
|
|
2080
|
-
operation: "
|
|
2080
|
+
operation: "write" | "delete";
|
|
2081
2081
|
base_digest: string | null;
|
|
2082
2082
|
target_digest: string | null;
|
|
2083
2083
|
content?: string | undefined;
|
|
2084
2084
|
}, {
|
|
2085
2085
|
path: string;
|
|
2086
|
-
operation: "
|
|
2086
|
+
operation: "write" | "delete";
|
|
2087
2087
|
base_digest: string | null;
|
|
2088
2088
|
target_digest: string | null;
|
|
2089
2089
|
content?: string | undefined;
|
|
2090
2090
|
}>, {
|
|
2091
2091
|
path: string;
|
|
2092
|
-
operation: "
|
|
2092
|
+
operation: "write" | "delete";
|
|
2093
2093
|
base_digest: string | null;
|
|
2094
2094
|
target_digest: string | null;
|
|
2095
2095
|
content?: string | undefined;
|
|
2096
2096
|
}, {
|
|
2097
2097
|
path: string;
|
|
2098
|
-
operation: "
|
|
2098
|
+
operation: "write" | "delete";
|
|
2099
2099
|
base_digest: string | null;
|
|
2100
2100
|
target_digest: string | null;
|
|
2101
2101
|
content?: string | undefined;
|
|
@@ -2350,7 +2350,7 @@ export declare const indexerProjectProposalSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2350
2350
|
}, "strict", z.ZodTypeAny, {
|
|
2351
2351
|
targets: {
|
|
2352
2352
|
path: string;
|
|
2353
|
-
operation: "
|
|
2353
|
+
operation: "write" | "delete";
|
|
2354
2354
|
base_digest: string | null;
|
|
2355
2355
|
target_digest: string | null;
|
|
2356
2356
|
content?: string | undefined;
|
|
@@ -2517,7 +2517,7 @@ export declare const indexerProjectProposalSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2517
2517
|
}, {
|
|
2518
2518
|
targets: {
|
|
2519
2519
|
path: string;
|
|
2520
|
-
operation: "
|
|
2520
|
+
operation: "write" | "delete";
|
|
2521
2521
|
base_digest: string | null;
|
|
2522
2522
|
target_digest: string | null;
|
|
2523
2523
|
content?: string | undefined;
|
|
@@ -2684,7 +2684,7 @@ export declare const indexerProjectProposalSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2684
2684
|
}>, {
|
|
2685
2685
|
targets: {
|
|
2686
2686
|
path: string;
|
|
2687
|
-
operation: "
|
|
2687
|
+
operation: "write" | "delete";
|
|
2688
2688
|
base_digest: string | null;
|
|
2689
2689
|
target_digest: string | null;
|
|
2690
2690
|
content?: string | undefined;
|
|
@@ -2851,7 +2851,7 @@ export declare const indexerProjectProposalSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2851
2851
|
}, {
|
|
2852
2852
|
targets: {
|
|
2853
2853
|
path: string;
|
|
2854
|
-
operation: "
|
|
2854
|
+
operation: "write" | "delete";
|
|
2855
2855
|
base_digest: string | null;
|
|
2856
2856
|
target_digest: string | null;
|
|
2857
2857
|
content?: string | undefined;
|
|
@@ -5,17 +5,17 @@ declare const projectedArtifactDiagnosticSchema: z.ZodObject<{
|
|
|
5
5
|
projection_ref: z.ZodString;
|
|
6
6
|
projection_key: z.ZodString;
|
|
7
7
|
artifact_id: z.ZodEffects<z.ZodString, string, string>;
|
|
8
|
-
missing_requirements: z.ZodArray<z.ZodEnum<["logical-unit-owner", "bundle-variant"
|
|
8
|
+
missing_requirements: z.ZodArray<z.ZodEnum<["logical-unit-owner", "bundle-variant"]>, "many">;
|
|
9
9
|
}, "strict", z.ZodTypeAny, {
|
|
10
10
|
artifact_id: string;
|
|
11
11
|
projection_ref: string;
|
|
12
12
|
projection_key: string;
|
|
13
|
-
missing_requirements: ("logical-unit-owner" | "bundle-variant"
|
|
13
|
+
missing_requirements: ("logical-unit-owner" | "bundle-variant")[];
|
|
14
14
|
}, {
|
|
15
15
|
artifact_id: string;
|
|
16
16
|
projection_ref: string;
|
|
17
17
|
projection_key: string;
|
|
18
|
-
missing_requirements: ("logical-unit-owner" | "bundle-variant"
|
|
18
|
+
missing_requirements: ("logical-unit-owner" | "bundle-variant")[];
|
|
19
19
|
}>;
|
|
20
20
|
export declare const indexerProjectedArtifactFanOutAuditSchema: z.ZodObject<{
|
|
21
21
|
protocol: z.ZodLiteral<"context.indexer.projected-artifact-fan-out-audit/v1">;
|
|
@@ -51,17 +51,17 @@ export declare const indexerProjectedArtifactFanOutAuditSchema: z.ZodObject<{
|
|
|
51
51
|
projection_ref: z.ZodString;
|
|
52
52
|
projection_key: z.ZodString;
|
|
53
53
|
artifact_id: z.ZodEffects<z.ZodString, string, string>;
|
|
54
|
-
missing_requirements: z.ZodArray<z.ZodEnum<["logical-unit-owner", "bundle-variant"
|
|
54
|
+
missing_requirements: z.ZodArray<z.ZodEnum<["logical-unit-owner", "bundle-variant"]>, "many">;
|
|
55
55
|
}, "strict", z.ZodTypeAny, {
|
|
56
56
|
artifact_id: string;
|
|
57
57
|
projection_ref: string;
|
|
58
58
|
projection_key: string;
|
|
59
|
-
missing_requirements: ("logical-unit-owner" | "bundle-variant"
|
|
59
|
+
missing_requirements: ("logical-unit-owner" | "bundle-variant")[];
|
|
60
60
|
}, {
|
|
61
61
|
artifact_id: string;
|
|
62
62
|
projection_ref: string;
|
|
63
63
|
projection_key: string;
|
|
64
|
-
missing_requirements: ("logical-unit-owner" | "bundle-variant"
|
|
64
|
+
missing_requirements: ("logical-unit-owner" | "bundle-variant")[];
|
|
65
65
|
}>, "many">;
|
|
66
66
|
diagnostic_sample_truncated: z.ZodBoolean;
|
|
67
67
|
candidate_materialization_allowed: z.ZodBoolean;
|
|
@@ -94,7 +94,7 @@ export declare const indexerProjectedArtifactFanOutAuditSchema: z.ZodObject<{
|
|
|
94
94
|
artifact_id: string;
|
|
95
95
|
projection_ref: string;
|
|
96
96
|
projection_key: string;
|
|
97
|
-
missing_requirements: ("logical-unit-owner" | "bundle-variant"
|
|
97
|
+
missing_requirements: ("logical-unit-owner" | "bundle-variant")[];
|
|
98
98
|
}[];
|
|
99
99
|
diagnostic_sample_truncated: boolean;
|
|
100
100
|
candidate_materialization_allowed: boolean;
|
|
@@ -122,7 +122,7 @@ export declare const indexerProjectedArtifactFanOutAuditSchema: z.ZodObject<{
|
|
|
122
122
|
artifact_id: string;
|
|
123
123
|
projection_ref: string;
|
|
124
124
|
projection_key: string;
|
|
125
|
-
missing_requirements: ("logical-unit-owner" | "bundle-variant"
|
|
125
|
+
missing_requirements: ("logical-unit-owner" | "bundle-variant")[];
|
|
126
126
|
}[];
|
|
127
127
|
diagnostic_sample_truncated: boolean;
|
|
128
128
|
candidate_materialization_allowed: boolean;
|
|
@@ -43,7 +43,6 @@ declare const projectedArtifactSchema: z.ZodObject<{
|
|
|
43
43
|
bundle_digest: string;
|
|
44
44
|
artifact_policy_eligibility_digest: string;
|
|
45
45
|
}>>;
|
|
46
|
-
evidence_justification_refs: z.ZodArray<z.ZodString, "many">;
|
|
47
46
|
}, "strict", z.ZodTypeAny, {
|
|
48
47
|
artifact_kind: string;
|
|
49
48
|
artifact_id: string;
|
|
@@ -59,7 +58,6 @@ declare const projectedArtifactSchema: z.ZodObject<{
|
|
|
59
58
|
bundle_digest: string;
|
|
60
59
|
artifact_policy_eligibility_digest: string;
|
|
61
60
|
} | null;
|
|
62
|
-
evidence_justification_refs: string[];
|
|
63
61
|
}, {
|
|
64
62
|
artifact_kind: string;
|
|
65
63
|
artifact_id: string;
|
|
@@ -75,7 +73,6 @@ declare const projectedArtifactSchema: z.ZodObject<{
|
|
|
75
73
|
bundle_digest: string;
|
|
76
74
|
artifact_policy_eligibility_digest: string;
|
|
77
75
|
} | null;
|
|
78
|
-
evidence_justification_refs: string[];
|
|
79
76
|
}>;
|
|
80
77
|
export declare const indexerProjectedArtifactPlanSchema: z.ZodObject<{
|
|
81
78
|
protocol: z.ZodLiteral<"context.indexer.projected-artifact-plan/v1">;
|
|
@@ -112,7 +109,6 @@ export declare const indexerProjectedArtifactPlanSchema: z.ZodObject<{
|
|
|
112
109
|
bundle_digest: string;
|
|
113
110
|
artifact_policy_eligibility_digest: string;
|
|
114
111
|
}>>;
|
|
115
|
-
evidence_justification_refs: z.ZodArray<z.ZodString, "many">;
|
|
116
112
|
}, "strict", z.ZodTypeAny, {
|
|
117
113
|
artifact_kind: string;
|
|
118
114
|
artifact_id: string;
|
|
@@ -128,7 +124,6 @@ export declare const indexerProjectedArtifactPlanSchema: z.ZodObject<{
|
|
|
128
124
|
bundle_digest: string;
|
|
129
125
|
artifact_policy_eligibility_digest: string;
|
|
130
126
|
} | null;
|
|
131
|
-
evidence_justification_refs: string[];
|
|
132
127
|
}, {
|
|
133
128
|
artifact_kind: string;
|
|
134
129
|
artifact_id: string;
|
|
@@ -144,7 +139,6 @@ export declare const indexerProjectedArtifactPlanSchema: z.ZodObject<{
|
|
|
144
139
|
bundle_digest: string;
|
|
145
140
|
artifact_policy_eligibility_digest: string;
|
|
146
141
|
} | null;
|
|
147
|
-
evidence_justification_refs: string[];
|
|
148
142
|
}>, "many">;
|
|
149
143
|
} & {
|
|
150
144
|
plan_digest: z.ZodString;
|
|
@@ -168,7 +162,6 @@ export declare const indexerProjectedArtifactPlanSchema: z.ZodObject<{
|
|
|
168
162
|
bundle_digest: string;
|
|
169
163
|
artifact_policy_eligibility_digest: string;
|
|
170
164
|
} | null;
|
|
171
|
-
evidence_justification_refs: string[];
|
|
172
165
|
}[];
|
|
173
166
|
}, {
|
|
174
167
|
protocol: "context.indexer.projected-artifact-plan/v1";
|
|
@@ -190,7 +183,6 @@ export declare const indexerProjectedArtifactPlanSchema: z.ZodObject<{
|
|
|
190
183
|
bundle_digest: string;
|
|
191
184
|
artifact_policy_eligibility_digest: string;
|
|
192
185
|
} | null;
|
|
193
|
-
evidence_justification_refs: string[];
|
|
194
186
|
}[];
|
|
195
187
|
}>;
|
|
196
188
|
export type IndexerProjectedArtifactOwner = z.infer<typeof projectedArtifactOwnerSchema>;
|
|
@@ -206,7 +198,6 @@ export interface IndexerProjectedArtifactInput {
|
|
|
206
198
|
artifact_policy_eligibility_digest: string;
|
|
207
199
|
artifact_policy_variant: string;
|
|
208
200
|
} | null;
|
|
209
|
-
evidence_justification_refs?: readonly string[];
|
|
210
201
|
}
|
|
211
202
|
export declare function buildIndexerProjectedArtifactPlan(input: {
|
|
212
203
|
partition_workset_digest: string;
|