@c4a/context 0.7.8 → 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 +6 -5
- package/docs/guides/agent-guide.md +11 -5
- package/docs/guides/code-indexer-skill-authoring.md +76 -178
- package/docs/guides/indexer-provider-and-customization.md +93 -398
- package/docs/guides/indexer-skill-creation.md +107 -97
- package/docs/guides/knowledge-updates.md +137 -18
- package/docs/guides/markdown-indexer-skill-authoring.md +57 -134
- package/docs/guides/package-outputs.md +213 -47
- package/docs/reference/indexer-provider-protocol.md +71 -102
- package/docs/reference/package-templates.md +39 -65
- package/docs/reference/project-api.md +53 -0
- package/docs/reference/template-variables.md +2 -3
- package/index.d.ts +11 -11
- package/index.js +5826 -8062
- 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 +4 -22
- 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/indexerProtocolHash.d.ts +2 -0
- package/indexerProvider.d.ts +76 -318
- package/indexerProviderComposition.d.ts +16 -42
- package/indexerQuestionAuthority.d.ts +2 -82
- package/indexerReaderTargetInventory.d.ts +6 -6
- package/indexerRegistry.d.ts +606 -0
- package/indexerRequirementLifecycle.d.ts +6 -6
- package/indexerResultReconciliation.d.ts +35 -149
- package/indexerSemanticInput.d.ts +10926 -5665
- package/indexerStructuredDeclaration.d.ts +24 -24
- package/indexerTemplateRendering.d.ts +239 -113
- package/{readingStructure.d.ts → knowledgeMap.d.ts} +21 -21
- package/package.json +1 -1
- package/packageSite.d.ts +25 -0
- 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
|
@@ -30,10 +30,10 @@ export declare const indexerSectionCollectionSchema: z.ZodObject<{
|
|
|
30
30
|
} & {
|
|
31
31
|
resolution_digest: z.ZodString;
|
|
32
32
|
}, "strict", z.ZodTypeAny, {
|
|
33
|
+
collection: import("./contracts.js").TopLevelNamespace;
|
|
33
34
|
protocol: "context.indexer.section-collection/v1";
|
|
34
35
|
profile: string;
|
|
35
36
|
mapping_digest: string;
|
|
36
|
-
collection: import("./contracts.js").TopLevelNamespace;
|
|
37
37
|
profile_contract_digest: string;
|
|
38
38
|
source_role: string;
|
|
39
39
|
resolution_digest: string;
|
|
@@ -45,10 +45,10 @@ export declare const indexerSectionCollectionSchema: z.ZodObject<{
|
|
|
45
45
|
artifact_kind: string;
|
|
46
46
|
};
|
|
47
47
|
}, {
|
|
48
|
+
collection: import("./contracts.js").TopLevelNamespace;
|
|
48
49
|
protocol: "context.indexer.section-collection/v1";
|
|
49
50
|
profile: string;
|
|
50
51
|
mapping_digest: string;
|
|
51
|
-
collection: import("./contracts.js").TopLevelNamespace;
|
|
52
52
|
profile_contract_digest: string;
|
|
53
53
|
source_role: string;
|
|
54
54
|
resolution_digest: string;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
|
+
import { type ArticleSourceReference } from "./articleStructure.js";
|
|
2
3
|
import type { IndexerJson } from "./indexerRegistry.js";
|
|
3
4
|
export declare const indexerCanonicalJsonSchema: z.ZodType<IndexerJson>;
|
|
4
5
|
export declare const indexerArtifactFactSchema: z.ZodObject<{
|
|
@@ -46,72 +47,219 @@ export declare const indexerArtifactFactSchema: z.ZodObject<{
|
|
|
46
47
|
evidence_refs: string[];
|
|
47
48
|
}>;
|
|
48
49
|
export declare const indexerDeterministicBlockRendererSchema: z.ZodEnum<["bullet-list", "key-value-table", "multi-column-table", "public-contract-table", "json-code-block"]>;
|
|
49
|
-
export declare const indexerArtifactContentBlockSchema: z.
|
|
50
|
-
block_id: z.ZodEffects<z.ZodString, string, string>;
|
|
51
|
-
layer: z.ZodLiteral<"deterministic-block">;
|
|
52
|
-
renderer: z.ZodEnum<["bullet-list", "key-value-table", "multi-column-table", "public-contract-table", "json-code-block"]>;
|
|
53
|
-
fact_refs: z.ZodArray<z.ZodString, "many">;
|
|
54
|
-
}, "strict", z.ZodTypeAny, {
|
|
55
|
-
block_id: string;
|
|
56
|
-
layer: "deterministic-block";
|
|
57
|
-
renderer: "bullet-list" | "key-value-table" | "multi-column-table" | "public-contract-table" | "json-code-block";
|
|
58
|
-
fact_refs: string[];
|
|
59
|
-
}, {
|
|
60
|
-
block_id: string;
|
|
61
|
-
layer: "deterministic-block";
|
|
62
|
-
renderer: "bullet-list" | "key-value-table" | "multi-column-table" | "public-contract-table" | "json-code-block";
|
|
63
|
-
fact_refs: string[];
|
|
64
|
-
}>, z.ZodObject<{
|
|
50
|
+
export declare const indexerArtifactContentBlockSchema: z.ZodObject<{
|
|
65
51
|
block_id: z.ZodEffects<z.ZodString, string, string>;
|
|
66
52
|
layer: z.ZodLiteral<"semantic-prose">;
|
|
67
53
|
markdown: z.ZodString;
|
|
68
|
-
|
|
54
|
+
references: z.ZodArray<z.ZodObject<{
|
|
55
|
+
source_ref: z.ZodString;
|
|
56
|
+
locator: z.ZodEffects<z.ZodObject<{
|
|
57
|
+
path: z.ZodEffects<z.ZodString, string, string>;
|
|
58
|
+
start_line: z.ZodNumber;
|
|
59
|
+
end_line: z.ZodNumber;
|
|
60
|
+
}, "strict", z.ZodTypeAny, {
|
|
61
|
+
path: string;
|
|
62
|
+
start_line: number;
|
|
63
|
+
end_line: number;
|
|
64
|
+
}, {
|
|
65
|
+
path: string;
|
|
66
|
+
start_line: number;
|
|
67
|
+
end_line: number;
|
|
68
|
+
}>, {
|
|
69
|
+
path: string;
|
|
70
|
+
start_line: number;
|
|
71
|
+
end_line: number;
|
|
72
|
+
}, {
|
|
73
|
+
path: string;
|
|
74
|
+
start_line: number;
|
|
75
|
+
end_line: number;
|
|
76
|
+
}>;
|
|
77
|
+
content_digest: z.ZodString;
|
|
78
|
+
}, "strict", z.ZodTypeAny, {
|
|
79
|
+
source_ref: string;
|
|
80
|
+
locator: {
|
|
81
|
+
path: string;
|
|
82
|
+
start_line: number;
|
|
83
|
+
end_line: number;
|
|
84
|
+
};
|
|
85
|
+
content_digest: string;
|
|
86
|
+
}, {
|
|
87
|
+
source_ref: string;
|
|
88
|
+
locator: {
|
|
89
|
+
path: string;
|
|
90
|
+
start_line: number;
|
|
91
|
+
end_line: number;
|
|
92
|
+
};
|
|
93
|
+
content_digest: string;
|
|
94
|
+
}>, "many">;
|
|
69
95
|
}, "strict", z.ZodTypeAny, {
|
|
70
|
-
|
|
96
|
+
references: {
|
|
97
|
+
source_ref: string;
|
|
98
|
+
locator: {
|
|
99
|
+
path: string;
|
|
100
|
+
start_line: number;
|
|
101
|
+
end_line: number;
|
|
102
|
+
};
|
|
103
|
+
content_digest: string;
|
|
104
|
+
}[];
|
|
71
105
|
block_id: string;
|
|
72
106
|
layer: "semantic-prose";
|
|
73
107
|
markdown: string;
|
|
74
108
|
}, {
|
|
75
|
-
|
|
109
|
+
references: {
|
|
110
|
+
source_ref: string;
|
|
111
|
+
locator: {
|
|
112
|
+
path: string;
|
|
113
|
+
start_line: number;
|
|
114
|
+
end_line: number;
|
|
115
|
+
};
|
|
116
|
+
content_digest: string;
|
|
117
|
+
}[];
|
|
76
118
|
block_id: string;
|
|
77
119
|
layer: "semantic-prose";
|
|
78
120
|
markdown: string;
|
|
79
|
-
}
|
|
121
|
+
}>;
|
|
80
122
|
declare const renderedContentBlockPayloadSchema: z.ZodObject<{
|
|
81
123
|
layer: z.ZodEnum<["deterministic-block", "semantic-prose"]>;
|
|
82
124
|
markdown: z.ZodString;
|
|
83
|
-
|
|
84
|
-
|
|
125
|
+
references: z.ZodArray<z.ZodObject<{
|
|
126
|
+
source_ref: z.ZodString;
|
|
127
|
+
locator: z.ZodEffects<z.ZodObject<{
|
|
128
|
+
path: z.ZodEffects<z.ZodString, string, string>;
|
|
129
|
+
start_line: z.ZodNumber;
|
|
130
|
+
end_line: z.ZodNumber;
|
|
131
|
+
}, "strict", z.ZodTypeAny, {
|
|
132
|
+
path: string;
|
|
133
|
+
start_line: number;
|
|
134
|
+
end_line: number;
|
|
135
|
+
}, {
|
|
136
|
+
path: string;
|
|
137
|
+
start_line: number;
|
|
138
|
+
end_line: number;
|
|
139
|
+
}>, {
|
|
140
|
+
path: string;
|
|
141
|
+
start_line: number;
|
|
142
|
+
end_line: number;
|
|
143
|
+
}, {
|
|
144
|
+
path: string;
|
|
145
|
+
start_line: number;
|
|
146
|
+
end_line: number;
|
|
147
|
+
}>;
|
|
148
|
+
content_digest: z.ZodString;
|
|
149
|
+
}, "strict", z.ZodTypeAny, {
|
|
150
|
+
source_ref: string;
|
|
151
|
+
locator: {
|
|
152
|
+
path: string;
|
|
153
|
+
start_line: number;
|
|
154
|
+
end_line: number;
|
|
155
|
+
};
|
|
156
|
+
content_digest: string;
|
|
157
|
+
}, {
|
|
158
|
+
source_ref: string;
|
|
159
|
+
locator: {
|
|
160
|
+
path: string;
|
|
161
|
+
start_line: number;
|
|
162
|
+
end_line: number;
|
|
163
|
+
};
|
|
164
|
+
content_digest: string;
|
|
165
|
+
}>, "many">;
|
|
85
166
|
}, "strict", z.ZodTypeAny, {
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
167
|
+
references: {
|
|
168
|
+
source_ref: string;
|
|
169
|
+
locator: {
|
|
170
|
+
path: string;
|
|
171
|
+
start_line: number;
|
|
172
|
+
end_line: number;
|
|
173
|
+
};
|
|
174
|
+
content_digest: string;
|
|
175
|
+
}[];
|
|
176
|
+
layer: "semantic-prose" | "deterministic-block";
|
|
89
177
|
markdown: string;
|
|
90
178
|
}, {
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
179
|
+
references: {
|
|
180
|
+
source_ref: string;
|
|
181
|
+
locator: {
|
|
182
|
+
path: string;
|
|
183
|
+
start_line: number;
|
|
184
|
+
end_line: number;
|
|
185
|
+
};
|
|
186
|
+
content_digest: string;
|
|
187
|
+
}[];
|
|
188
|
+
layer: "semantic-prose" | "deterministic-block";
|
|
94
189
|
markdown: string;
|
|
95
190
|
}>;
|
|
96
191
|
export declare const indexerRenderedContentBlockSchema: z.ZodObject<{
|
|
97
192
|
layer: z.ZodEnum<["deterministic-block", "semantic-prose"]>;
|
|
98
193
|
markdown: z.ZodString;
|
|
99
|
-
|
|
100
|
-
|
|
194
|
+
references: z.ZodArray<z.ZodObject<{
|
|
195
|
+
source_ref: z.ZodString;
|
|
196
|
+
locator: z.ZodEffects<z.ZodObject<{
|
|
197
|
+
path: z.ZodEffects<z.ZodString, string, string>;
|
|
198
|
+
start_line: z.ZodNumber;
|
|
199
|
+
end_line: z.ZodNumber;
|
|
200
|
+
}, "strict", z.ZodTypeAny, {
|
|
201
|
+
path: string;
|
|
202
|
+
start_line: number;
|
|
203
|
+
end_line: number;
|
|
204
|
+
}, {
|
|
205
|
+
path: string;
|
|
206
|
+
start_line: number;
|
|
207
|
+
end_line: number;
|
|
208
|
+
}>, {
|
|
209
|
+
path: string;
|
|
210
|
+
start_line: number;
|
|
211
|
+
end_line: number;
|
|
212
|
+
}, {
|
|
213
|
+
path: string;
|
|
214
|
+
start_line: number;
|
|
215
|
+
end_line: number;
|
|
216
|
+
}>;
|
|
217
|
+
content_digest: z.ZodString;
|
|
218
|
+
}, "strict", z.ZodTypeAny, {
|
|
219
|
+
source_ref: string;
|
|
220
|
+
locator: {
|
|
221
|
+
path: string;
|
|
222
|
+
start_line: number;
|
|
223
|
+
end_line: number;
|
|
224
|
+
};
|
|
225
|
+
content_digest: string;
|
|
226
|
+
}, {
|
|
227
|
+
source_ref: string;
|
|
228
|
+
locator: {
|
|
229
|
+
path: string;
|
|
230
|
+
start_line: number;
|
|
231
|
+
end_line: number;
|
|
232
|
+
};
|
|
233
|
+
content_digest: string;
|
|
234
|
+
}>, "many">;
|
|
101
235
|
} & {
|
|
102
236
|
content_digest: z.ZodString;
|
|
103
237
|
}, "strict", z.ZodTypeAny, {
|
|
104
|
-
evidence_refs: string[];
|
|
105
|
-
layer: "deterministic-block" | "semantic-prose";
|
|
106
|
-
fact_refs: string[];
|
|
107
|
-
markdown: string;
|
|
108
238
|
content_digest: string;
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
239
|
+
references: {
|
|
240
|
+
source_ref: string;
|
|
241
|
+
locator: {
|
|
242
|
+
path: string;
|
|
243
|
+
start_line: number;
|
|
244
|
+
end_line: number;
|
|
245
|
+
};
|
|
246
|
+
content_digest: string;
|
|
247
|
+
}[];
|
|
248
|
+
layer: "semantic-prose" | "deterministic-block";
|
|
113
249
|
markdown: string;
|
|
250
|
+
}, {
|
|
114
251
|
content_digest: string;
|
|
252
|
+
references: {
|
|
253
|
+
source_ref: string;
|
|
254
|
+
locator: {
|
|
255
|
+
path: string;
|
|
256
|
+
start_line: number;
|
|
257
|
+
end_line: number;
|
|
258
|
+
};
|
|
259
|
+
content_digest: string;
|
|
260
|
+
}[];
|
|
261
|
+
layer: "semantic-prose" | "deterministic-block";
|
|
262
|
+
markdown: string;
|
|
115
263
|
}>;
|
|
116
264
|
export type IndexerArtifactFact = z.infer<typeof indexerArtifactFactSchema>;
|
|
117
265
|
export type IndexerArtifactContentBlock = z.infer<typeof indexerArtifactContentBlockSchema>;
|
|
@@ -127,13 +275,11 @@ export declare function indexerRenderedContentBlockDigest(value: z.infer<typeof
|
|
|
127
275
|
export declare function buildIndexerRenderedContentBlock(input: {
|
|
128
276
|
layer: "deterministic-block" | "semantic-prose";
|
|
129
277
|
markdown: string;
|
|
130
|
-
|
|
131
|
-
evidence_refs?: readonly string[];
|
|
278
|
+
references: readonly ArticleSourceReference[];
|
|
132
279
|
}): IndexerRenderedContentBlock;
|
|
133
280
|
export declare function validateIndexerRenderedContentBlock(value: unknown): IndexerRenderedContentBlock;
|
|
134
281
|
export declare function materializeIndexerStructuredContent(input: {
|
|
135
282
|
blocks: readonly IndexerArtifactContentBlock[];
|
|
136
|
-
facts: readonly IndexerArtifactFact[];
|
|
137
283
|
render_cache?: Map<string, IndexerRenderedContentBlock[]> | undefined;
|
|
138
284
|
}): IndexerRenderedContentBlock[];
|
|
139
285
|
export {};
|
|
@@ -188,27 +188,27 @@ export declare const indexerContractOverlaySchema: z.ZodObject<{
|
|
|
188
188
|
thresholds: Record<string, {
|
|
189
189
|
recommended_max: number;
|
|
190
190
|
}>;
|
|
191
|
-
eligibility: {
|
|
192
|
-
protocol: "context.indexer.selector/v1";
|
|
193
|
-
expression: import("./indexerRestrictedSelector.js").IndexerRestrictedSelectorExpression;
|
|
194
|
-
};
|
|
195
191
|
artifact_kinds: {
|
|
196
192
|
required: string[];
|
|
197
193
|
discretionary: string[];
|
|
198
194
|
};
|
|
195
|
+
eligibility: {
|
|
196
|
+
protocol: "context.indexer.selector/v1";
|
|
197
|
+
expression: import("./indexerRestrictedSelector.js").IndexerRestrictedSelectorExpression;
|
|
198
|
+
};
|
|
199
199
|
}, {
|
|
200
200
|
id: string;
|
|
201
201
|
thresholds: Record<string, {
|
|
202
202
|
recommended_max: number;
|
|
203
203
|
}>;
|
|
204
|
-
eligibility: {
|
|
205
|
-
protocol: "context.indexer.selector/v1";
|
|
206
|
-
expression: import("./indexerRestrictedSelector.js").IndexerRestrictedSelectorExpression;
|
|
207
|
-
};
|
|
208
204
|
artifact_kinds: {
|
|
209
205
|
required: string[];
|
|
210
206
|
discretionary: string[];
|
|
211
207
|
};
|
|
208
|
+
eligibility: {
|
|
209
|
+
protocol: "context.indexer.selector/v1";
|
|
210
|
+
expression: import("./indexerRestrictedSelector.js").IndexerRestrictedSelectorExpression;
|
|
211
|
+
};
|
|
212
212
|
}>, "many">>;
|
|
213
213
|
question_target_domains: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
214
214
|
id: z.ZodEffects<z.ZodString, string, string>;
|
|
@@ -222,8 +222,6 @@ export declare const indexerContractOverlaySchema: z.ZodObject<{
|
|
|
222
222
|
operator: string;
|
|
223
223
|
parameters?: Record<string, import("./indexerRegistry.js").IndexerJson> | undefined;
|
|
224
224
|
}>;
|
|
225
|
-
grouping_operator: z.ZodEffects<z.ZodString, string, string>;
|
|
226
|
-
subject_key_kind: z.ZodEffects<z.ZodString, string, string>;
|
|
227
225
|
granularity: z.ZodEnum<["module", "identity"]>;
|
|
228
226
|
}, "strict", z.ZodTypeAny, {
|
|
229
227
|
id: string;
|
|
@@ -231,8 +229,6 @@ export declare const indexerContractOverlaySchema: z.ZodObject<{
|
|
|
231
229
|
operator: string;
|
|
232
230
|
parameters?: Record<string, import("./indexerRegistry.js").IndexerJson> | undefined;
|
|
233
231
|
};
|
|
234
|
-
grouping_operator: string;
|
|
235
|
-
subject_key_kind: string;
|
|
236
232
|
granularity: "module" | "identity";
|
|
237
233
|
}, {
|
|
238
234
|
id: string;
|
|
@@ -240,8 +236,6 @@ export declare const indexerContractOverlaySchema: z.ZodObject<{
|
|
|
240
236
|
operator: string;
|
|
241
237
|
parameters?: Record<string, import("./indexerRegistry.js").IndexerJson> | undefined;
|
|
242
238
|
};
|
|
243
|
-
grouping_operator: string;
|
|
244
|
-
subject_key_kind: string;
|
|
245
239
|
granularity: "module" | "identity";
|
|
246
240
|
}>, "many">>;
|
|
247
241
|
reader_question_contracts: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
@@ -411,14 +405,14 @@ export declare const indexerContractOverlaySchema: z.ZodObject<{
|
|
|
411
405
|
thresholds: Record<string, {
|
|
412
406
|
recommended_max: number;
|
|
413
407
|
}>;
|
|
414
|
-
eligibility: {
|
|
415
|
-
protocol: "context.indexer.selector/v1";
|
|
416
|
-
expression: import("./indexerRestrictedSelector.js").IndexerRestrictedSelectorExpression;
|
|
417
|
-
};
|
|
418
408
|
artifact_kinds: {
|
|
419
409
|
required: string[];
|
|
420
410
|
discretionary: string[];
|
|
421
411
|
};
|
|
412
|
+
eligibility: {
|
|
413
|
+
protocol: "context.indexer.selector/v1";
|
|
414
|
+
expression: import("./indexerRestrictedSelector.js").IndexerRestrictedSelectorExpression;
|
|
415
|
+
};
|
|
422
416
|
}[] | undefined;
|
|
423
417
|
question_target_domains?: {
|
|
424
418
|
id: string;
|
|
@@ -426,8 +420,6 @@ export declare const indexerContractOverlaySchema: z.ZodObject<{
|
|
|
426
420
|
operator: string;
|
|
427
421
|
parameters?: Record<string, import("./indexerRegistry.js").IndexerJson> | undefined;
|
|
428
422
|
};
|
|
429
|
-
grouping_operator: string;
|
|
430
|
-
subject_key_kind: string;
|
|
431
423
|
granularity: "module" | "identity";
|
|
432
424
|
}[] | undefined;
|
|
433
425
|
reader_question_contracts?: {
|
|
@@ -489,14 +481,14 @@ export declare const indexerContractOverlaySchema: z.ZodObject<{
|
|
|
489
481
|
thresholds: Record<string, {
|
|
490
482
|
recommended_max: number;
|
|
491
483
|
}>;
|
|
492
|
-
eligibility: {
|
|
493
|
-
protocol: "context.indexer.selector/v1";
|
|
494
|
-
expression: import("./indexerRestrictedSelector.js").IndexerRestrictedSelectorExpression;
|
|
495
|
-
};
|
|
496
484
|
artifact_kinds: {
|
|
497
485
|
required: string[];
|
|
498
486
|
discretionary: string[];
|
|
499
487
|
};
|
|
488
|
+
eligibility: {
|
|
489
|
+
protocol: "context.indexer.selector/v1";
|
|
490
|
+
expression: import("./indexerRestrictedSelector.js").IndexerRestrictedSelectorExpression;
|
|
491
|
+
};
|
|
500
492
|
}[] | undefined;
|
|
501
493
|
question_target_domains?: {
|
|
502
494
|
id: string;
|
|
@@ -504,8 +496,6 @@ export declare const indexerContractOverlaySchema: z.ZodObject<{
|
|
|
504
496
|
operator: string;
|
|
505
497
|
parameters?: Record<string, import("./indexerRegistry.js").IndexerJson> | undefined;
|
|
506
498
|
};
|
|
507
|
-
grouping_operator: string;
|
|
508
|
-
subject_key_kind: string;
|
|
509
499
|
granularity: "module" | "identity";
|
|
510
500
|
}[] | undefined;
|
|
511
501
|
reader_question_contracts?: {
|
|
@@ -599,13 +589,13 @@ export declare const indexerContractOverlaySchema: z.ZodObject<{
|
|
|
599
589
|
id: string;
|
|
600
590
|
protocol: "context.indexer.contract-overlay/v1";
|
|
601
591
|
version: string;
|
|
602
|
-
operator_contract_version: string;
|
|
603
|
-
operator_contract_digest: string;
|
|
604
592
|
extends: {
|
|
605
593
|
contract_digest: string;
|
|
606
594
|
version: string;
|
|
607
595
|
profile: string;
|
|
608
596
|
};
|
|
597
|
+
operator_contract_version: string;
|
|
598
|
+
operator_contract_digest: string;
|
|
609
599
|
additions: {
|
|
610
600
|
metrics?: ({
|
|
611
601
|
id: string;
|
|
@@ -644,14 +634,14 @@ export declare const indexerContractOverlaySchema: z.ZodObject<{
|
|
|
644
634
|
thresholds: Record<string, {
|
|
645
635
|
recommended_max: number;
|
|
646
636
|
}>;
|
|
647
|
-
eligibility: {
|
|
648
|
-
protocol: "context.indexer.selector/v1";
|
|
649
|
-
expression: import("./indexerRestrictedSelector.js").IndexerRestrictedSelectorExpression;
|
|
650
|
-
};
|
|
651
637
|
artifact_kinds: {
|
|
652
638
|
required: string[];
|
|
653
639
|
discretionary: string[];
|
|
654
640
|
};
|
|
641
|
+
eligibility: {
|
|
642
|
+
protocol: "context.indexer.selector/v1";
|
|
643
|
+
expression: import("./indexerRestrictedSelector.js").IndexerRestrictedSelectorExpression;
|
|
644
|
+
};
|
|
655
645
|
}[] | undefined;
|
|
656
646
|
question_target_domains?: {
|
|
657
647
|
id: string;
|
|
@@ -659,8 +649,6 @@ export declare const indexerContractOverlaySchema: z.ZodObject<{
|
|
|
659
649
|
operator: string;
|
|
660
650
|
parameters?: Record<string, import("./indexerRegistry.js").IndexerJson> | undefined;
|
|
661
651
|
};
|
|
662
|
-
grouping_operator: string;
|
|
663
|
-
subject_key_kind: string;
|
|
664
652
|
granularity: "module" | "identity";
|
|
665
653
|
}[] | undefined;
|
|
666
654
|
reader_question_contracts?: {
|
|
@@ -706,13 +694,13 @@ export declare const indexerContractOverlaySchema: z.ZodObject<{
|
|
|
706
694
|
id: string;
|
|
707
695
|
protocol: "context.indexer.contract-overlay/v1";
|
|
708
696
|
version: string;
|
|
709
|
-
operator_contract_version: string;
|
|
710
|
-
operator_contract_digest: string;
|
|
711
697
|
extends: {
|
|
712
698
|
contract_digest: string;
|
|
713
699
|
version: string;
|
|
714
700
|
profile: string;
|
|
715
701
|
};
|
|
702
|
+
operator_contract_version: string;
|
|
703
|
+
operator_contract_digest: string;
|
|
716
704
|
additions: {
|
|
717
705
|
metrics?: ({
|
|
718
706
|
id: string;
|
|
@@ -751,14 +739,14 @@ export declare const indexerContractOverlaySchema: z.ZodObject<{
|
|
|
751
739
|
thresholds: Record<string, {
|
|
752
740
|
recommended_max: number;
|
|
753
741
|
}>;
|
|
754
|
-
eligibility: {
|
|
755
|
-
protocol: "context.indexer.selector/v1";
|
|
756
|
-
expression: import("./indexerRestrictedSelector.js").IndexerRestrictedSelectorExpression;
|
|
757
|
-
};
|
|
758
742
|
artifact_kinds: {
|
|
759
743
|
required: string[];
|
|
760
744
|
discretionary: string[];
|
|
761
745
|
};
|
|
746
|
+
eligibility: {
|
|
747
|
+
protocol: "context.indexer.selector/v1";
|
|
748
|
+
expression: import("./indexerRestrictedSelector.js").IndexerRestrictedSelectorExpression;
|
|
749
|
+
};
|
|
762
750
|
}[] | undefined;
|
|
763
751
|
question_target_domains?: {
|
|
764
752
|
id: string;
|
|
@@ -766,8 +754,6 @@ export declare const indexerContractOverlaySchema: z.ZodObject<{
|
|
|
766
754
|
operator: string;
|
|
767
755
|
parameters?: Record<string, import("./indexerRegistry.js").IndexerJson> | undefined;
|
|
768
756
|
};
|
|
769
|
-
grouping_operator: string;
|
|
770
|
-
subject_key_kind: string;
|
|
771
757
|
granularity: "module" | "identity";
|
|
772
758
|
}[] | undefined;
|
|
773
759
|
reader_question_contracts?: {
|
|
@@ -844,18 +830,18 @@ export declare const indexerOverlayValidationReceiptSchema: z.ZodObject<{
|
|
|
844
830
|
}, "strict", z.ZodTypeAny, {
|
|
845
831
|
protocol: "context.indexer.overlay-validation-receipt/v1";
|
|
846
832
|
receipt_digest: string;
|
|
847
|
-
operator_contract_digest: string;
|
|
848
833
|
project_ref: string;
|
|
849
834
|
provider_integrity: string;
|
|
835
|
+
operator_contract_digest: string;
|
|
850
836
|
overlay_digest: string;
|
|
851
837
|
base_contract_digest: string;
|
|
852
838
|
conformance_report_digest: string;
|
|
853
839
|
}, {
|
|
854
840
|
protocol: "context.indexer.overlay-validation-receipt/v1";
|
|
855
841
|
receipt_digest: string;
|
|
856
|
-
operator_contract_digest: string;
|
|
857
842
|
project_ref: string;
|
|
858
843
|
provider_integrity: string;
|
|
844
|
+
operator_contract_digest: string;
|
|
859
845
|
overlay_digest: string;
|
|
860
846
|
base_contract_digest: string;
|
|
861
847
|
conformance_report_digest: string;
|
|
@@ -140,13 +140,13 @@ export declare const indexerControlledInvocationSchema: z.ZodEffects<z.ZodObject
|
|
|
140
140
|
entry: z.ZodEffects<z.ZodString, string, string>;
|
|
141
141
|
args: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
|
|
142
142
|
}, "strict", z.ZodTypeAny, {
|
|
143
|
-
args: string[];
|
|
144
143
|
runtime: "node";
|
|
145
144
|
entry: string;
|
|
146
|
-
}, {
|
|
147
145
|
args: string[];
|
|
146
|
+
}, {
|
|
148
147
|
runtime: "node";
|
|
149
148
|
entry: string;
|
|
149
|
+
args: string[];
|
|
150
150
|
}>;
|
|
151
151
|
capabilities: z.ZodArray<z.ZodEnum<["source.read", "parser-facts.read", "indexer-result.write"]>, "many">;
|
|
152
152
|
dependencies: z.ZodEffects<z.ZodObject<{
|
|
@@ -283,9 +283,9 @@ export declare const indexerControlledInvocationSchema: z.ZodEffects<z.ZodObject
|
|
|
283
283
|
};
|
|
284
284
|
resource: "program" | "activation-detector" | "authoring-inspector";
|
|
285
285
|
execution: {
|
|
286
|
-
args: string[];
|
|
287
286
|
runtime: "node";
|
|
288
287
|
entry: string;
|
|
288
|
+
args: string[];
|
|
289
289
|
};
|
|
290
290
|
program: {
|
|
291
291
|
path: string;
|
|
@@ -338,9 +338,9 @@ export declare const indexerControlledInvocationSchema: z.ZodEffects<z.ZodObject
|
|
|
338
338
|
};
|
|
339
339
|
resource: "program" | "activation-detector" | "authoring-inspector";
|
|
340
340
|
execution: {
|
|
341
|
-
args: string[];
|
|
342
341
|
runtime: "node";
|
|
343
342
|
entry: string;
|
|
343
|
+
args: string[];
|
|
344
344
|
};
|
|
345
345
|
program: {
|
|
346
346
|
path: string;
|
|
@@ -393,9 +393,9 @@ export declare const indexerControlledInvocationSchema: z.ZodEffects<z.ZodObject
|
|
|
393
393
|
};
|
|
394
394
|
resource: "program" | "activation-detector" | "authoring-inspector";
|
|
395
395
|
execution: {
|
|
396
|
-
args: string[];
|
|
397
396
|
runtime: "node";
|
|
398
397
|
entry: string;
|
|
398
|
+
args: string[];
|
|
399
399
|
};
|
|
400
400
|
program: {
|
|
401
401
|
path: string;
|
|
@@ -448,9 +448,9 @@ export declare const indexerControlledInvocationSchema: z.ZodEffects<z.ZodObject
|
|
|
448
448
|
};
|
|
449
449
|
resource: "program" | "activation-detector" | "authoring-inspector";
|
|
450
450
|
execution: {
|
|
451
|
-
args: string[];
|
|
452
451
|
runtime: "node";
|
|
453
452
|
entry: string;
|
|
453
|
+
args: string[];
|
|
454
454
|
};
|
|
455
455
|
program: {
|
|
456
456
|
path: string;
|