@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
|
@@ -145,170 +145,6 @@ export declare const indexerMetricContractSchema: z.ZodUnion<[z.ZodEffects<z.Zod
|
|
|
145
145
|
threshold_policy: "inflation-sensitive";
|
|
146
146
|
direction: "maximum";
|
|
147
147
|
}>]>;
|
|
148
|
-
export declare const indexerSubjectKeyContractSchema: z.ZodEffects<z.ZodObject<{
|
|
149
|
-
version: z.ZodNumber;
|
|
150
|
-
namespace: z.ZodObject<{
|
|
151
|
-
operator: z.ZodEnum<["canonical-source-module-namespace", "canonical-service-namespace", "canonical-module-identity", "canonical-export-family"]>;
|
|
152
|
-
}, "strict", z.ZodTypeAny, {
|
|
153
|
-
operator: "canonical-source-module-namespace" | "canonical-service-namespace" | "canonical-module-identity" | "canonical-export-family";
|
|
154
|
-
}, {
|
|
155
|
-
operator: "canonical-source-module-namespace" | "canonical-service-namespace" | "canonical-module-identity" | "canonical-export-family";
|
|
156
|
-
}>;
|
|
157
|
-
kinds: z.ZodArray<z.ZodObject<{
|
|
158
|
-
id: z.ZodEffects<z.ZodString, string, string>;
|
|
159
|
-
local_key: z.ZodObject<{
|
|
160
|
-
operator: z.ZodEnum<["canonical-source-module-namespace", "canonical-service-namespace", "canonical-module-identity", "canonical-export-family"]>;
|
|
161
|
-
}, "strict", z.ZodTypeAny, {
|
|
162
|
-
operator: "canonical-source-module-namespace" | "canonical-service-namespace" | "canonical-module-identity" | "canonical-export-family";
|
|
163
|
-
}, {
|
|
164
|
-
operator: "canonical-source-module-namespace" | "canonical-service-namespace" | "canonical-module-identity" | "canonical-export-family";
|
|
165
|
-
}>;
|
|
166
|
-
}, "strict", z.ZodTypeAny, {
|
|
167
|
-
id: string;
|
|
168
|
-
local_key: {
|
|
169
|
-
operator: "canonical-source-module-namespace" | "canonical-service-namespace" | "canonical-module-identity" | "canonical-export-family";
|
|
170
|
-
};
|
|
171
|
-
}, {
|
|
172
|
-
id: string;
|
|
173
|
-
local_key: {
|
|
174
|
-
operator: "canonical-source-module-namespace" | "canonical-service-namespace" | "canonical-module-identity" | "canonical-export-family";
|
|
175
|
-
};
|
|
176
|
-
}>, "many">;
|
|
177
|
-
normalization: z.ZodOptional<z.ZodArray<z.ZodEnum<["trim", "unicode-nfc", "preserve-case", "lowercase"]>, "many">>;
|
|
178
|
-
}, "strict", z.ZodTypeAny, {
|
|
179
|
-
namespace: {
|
|
180
|
-
operator: "canonical-source-module-namespace" | "canonical-service-namespace" | "canonical-module-identity" | "canonical-export-family";
|
|
181
|
-
};
|
|
182
|
-
version: number;
|
|
183
|
-
kinds: {
|
|
184
|
-
id: string;
|
|
185
|
-
local_key: {
|
|
186
|
-
operator: "canonical-source-module-namespace" | "canonical-service-namespace" | "canonical-module-identity" | "canonical-export-family";
|
|
187
|
-
};
|
|
188
|
-
}[];
|
|
189
|
-
normalization?: ("trim" | "unicode-nfc" | "preserve-case" | "lowercase")[] | undefined;
|
|
190
|
-
}, {
|
|
191
|
-
namespace: {
|
|
192
|
-
operator: "canonical-source-module-namespace" | "canonical-service-namespace" | "canonical-module-identity" | "canonical-export-family";
|
|
193
|
-
};
|
|
194
|
-
version: number;
|
|
195
|
-
kinds: {
|
|
196
|
-
id: string;
|
|
197
|
-
local_key: {
|
|
198
|
-
operator: "canonical-source-module-namespace" | "canonical-service-namespace" | "canonical-module-identity" | "canonical-export-family";
|
|
199
|
-
};
|
|
200
|
-
}[];
|
|
201
|
-
normalization?: ("trim" | "unicode-nfc" | "preserve-case" | "lowercase")[] | undefined;
|
|
202
|
-
}>, {
|
|
203
|
-
namespace: {
|
|
204
|
-
operator: "canonical-source-module-namespace" | "canonical-service-namespace" | "canonical-module-identity" | "canonical-export-family";
|
|
205
|
-
};
|
|
206
|
-
version: number;
|
|
207
|
-
kinds: {
|
|
208
|
-
id: string;
|
|
209
|
-
local_key: {
|
|
210
|
-
operator: "canonical-source-module-namespace" | "canonical-service-namespace" | "canonical-module-identity" | "canonical-export-family";
|
|
211
|
-
};
|
|
212
|
-
}[];
|
|
213
|
-
normalization?: ("trim" | "unicode-nfc" | "preserve-case" | "lowercase")[] | undefined;
|
|
214
|
-
}, {
|
|
215
|
-
namespace: {
|
|
216
|
-
operator: "canonical-source-module-namespace" | "canonical-service-namespace" | "canonical-module-identity" | "canonical-export-family";
|
|
217
|
-
};
|
|
218
|
-
version: number;
|
|
219
|
-
kinds: {
|
|
220
|
-
id: string;
|
|
221
|
-
local_key: {
|
|
222
|
-
operator: "canonical-source-module-namespace" | "canonical-service-namespace" | "canonical-module-identity" | "canonical-export-family";
|
|
223
|
-
};
|
|
224
|
-
}[];
|
|
225
|
-
normalization?: ("trim" | "unicode-nfc" | "preserve-case" | "lowercase")[] | undefined;
|
|
226
|
-
}>;
|
|
227
|
-
export declare const indexerProfileSubjectKeySchema: z.ZodEffects<z.ZodObject<{
|
|
228
|
-
version: z.ZodNumber;
|
|
229
|
-
namespace: z.ZodObject<{
|
|
230
|
-
operator: z.ZodEnum<["canonical-source-module-namespace", "canonical-service-namespace", "canonical-module-identity", "canonical-export-family"]>;
|
|
231
|
-
}, "strict", z.ZodTypeAny, {
|
|
232
|
-
operator: "canonical-source-module-namespace" | "canonical-service-namespace" | "canonical-module-identity" | "canonical-export-family";
|
|
233
|
-
}, {
|
|
234
|
-
operator: "canonical-source-module-namespace" | "canonical-service-namespace" | "canonical-module-identity" | "canonical-export-family";
|
|
235
|
-
}>;
|
|
236
|
-
kinds: z.ZodArray<z.ZodObject<{
|
|
237
|
-
id: z.ZodEffects<z.ZodString, string, string>;
|
|
238
|
-
local_key: z.ZodObject<{
|
|
239
|
-
operator: z.ZodEnum<["canonical-source-module-namespace", "canonical-service-namespace", "canonical-module-identity", "canonical-export-family"]>;
|
|
240
|
-
}, "strict", z.ZodTypeAny, {
|
|
241
|
-
operator: "canonical-source-module-namespace" | "canonical-service-namespace" | "canonical-module-identity" | "canonical-export-family";
|
|
242
|
-
}, {
|
|
243
|
-
operator: "canonical-source-module-namespace" | "canonical-service-namespace" | "canonical-module-identity" | "canonical-export-family";
|
|
244
|
-
}>;
|
|
245
|
-
}, "strict", z.ZodTypeAny, {
|
|
246
|
-
id: string;
|
|
247
|
-
local_key: {
|
|
248
|
-
operator: "canonical-source-module-namespace" | "canonical-service-namespace" | "canonical-module-identity" | "canonical-export-family";
|
|
249
|
-
};
|
|
250
|
-
}, {
|
|
251
|
-
id: string;
|
|
252
|
-
local_key: {
|
|
253
|
-
operator: "canonical-source-module-namespace" | "canonical-service-namespace" | "canonical-module-identity" | "canonical-export-family";
|
|
254
|
-
};
|
|
255
|
-
}>, "many">;
|
|
256
|
-
normalization: z.ZodOptional<z.ZodArray<z.ZodEnum<["trim", "unicode-nfc", "preserve-case", "lowercase"]>, "many">>;
|
|
257
|
-
} & {
|
|
258
|
-
profile: z.ZodEffects<z.ZodString, string, string>;
|
|
259
|
-
}, "strict", z.ZodTypeAny, {
|
|
260
|
-
namespace: {
|
|
261
|
-
operator: "canonical-source-module-namespace" | "canonical-service-namespace" | "canonical-module-identity" | "canonical-export-family";
|
|
262
|
-
};
|
|
263
|
-
version: number;
|
|
264
|
-
profile: string;
|
|
265
|
-
kinds: {
|
|
266
|
-
id: string;
|
|
267
|
-
local_key: {
|
|
268
|
-
operator: "canonical-source-module-namespace" | "canonical-service-namespace" | "canonical-module-identity" | "canonical-export-family";
|
|
269
|
-
};
|
|
270
|
-
}[];
|
|
271
|
-
normalization?: ("trim" | "unicode-nfc" | "preserve-case" | "lowercase")[] | undefined;
|
|
272
|
-
}, {
|
|
273
|
-
namespace: {
|
|
274
|
-
operator: "canonical-source-module-namespace" | "canonical-service-namespace" | "canonical-module-identity" | "canonical-export-family";
|
|
275
|
-
};
|
|
276
|
-
version: number;
|
|
277
|
-
profile: string;
|
|
278
|
-
kinds: {
|
|
279
|
-
id: string;
|
|
280
|
-
local_key: {
|
|
281
|
-
operator: "canonical-source-module-namespace" | "canonical-service-namespace" | "canonical-module-identity" | "canonical-export-family";
|
|
282
|
-
};
|
|
283
|
-
}[];
|
|
284
|
-
normalization?: ("trim" | "unicode-nfc" | "preserve-case" | "lowercase")[] | undefined;
|
|
285
|
-
}>, {
|
|
286
|
-
namespace: {
|
|
287
|
-
operator: "canonical-source-module-namespace" | "canonical-service-namespace" | "canonical-module-identity" | "canonical-export-family";
|
|
288
|
-
};
|
|
289
|
-
version: number;
|
|
290
|
-
profile: string;
|
|
291
|
-
kinds: {
|
|
292
|
-
id: string;
|
|
293
|
-
local_key: {
|
|
294
|
-
operator: "canonical-source-module-namespace" | "canonical-service-namespace" | "canonical-module-identity" | "canonical-export-family";
|
|
295
|
-
};
|
|
296
|
-
}[];
|
|
297
|
-
normalization?: ("trim" | "unicode-nfc" | "preserve-case" | "lowercase")[] | undefined;
|
|
298
|
-
}, {
|
|
299
|
-
namespace: {
|
|
300
|
-
operator: "canonical-source-module-namespace" | "canonical-service-namespace" | "canonical-module-identity" | "canonical-export-family";
|
|
301
|
-
};
|
|
302
|
-
version: number;
|
|
303
|
-
profile: string;
|
|
304
|
-
kinds: {
|
|
305
|
-
id: string;
|
|
306
|
-
local_key: {
|
|
307
|
-
operator: "canonical-source-module-namespace" | "canonical-service-namespace" | "canonical-module-identity" | "canonical-export-family";
|
|
308
|
-
};
|
|
309
|
-
}[];
|
|
310
|
-
normalization?: ("trim" | "unicode-nfc" | "preserve-case" | "lowercase")[] | undefined;
|
|
311
|
-
}>;
|
|
312
148
|
export declare const indexerInventoryDomainSchema: z.ZodObject<{
|
|
313
149
|
id: z.ZodEffects<z.ZodString, string, string>;
|
|
314
150
|
selector: z.ZodObject<{
|
|
@@ -349,8 +185,6 @@ export declare const indexerQuestionTargetDomainSchema: z.ZodObject<{
|
|
|
349
185
|
operator: string;
|
|
350
186
|
parameters?: Record<string, IndexerJson> | undefined;
|
|
351
187
|
}>;
|
|
352
|
-
grouping_operator: z.ZodEffects<z.ZodString, string, string>;
|
|
353
|
-
subject_key_kind: z.ZodEffects<z.ZodString, string, string>;
|
|
354
188
|
granularity: z.ZodEnum<["module", "identity"]>;
|
|
355
189
|
}, "strict", z.ZodTypeAny, {
|
|
356
190
|
id: string;
|
|
@@ -358,8 +192,6 @@ export declare const indexerQuestionTargetDomainSchema: z.ZodObject<{
|
|
|
358
192
|
operator: string;
|
|
359
193
|
parameters?: Record<string, IndexerJson> | undefined;
|
|
360
194
|
};
|
|
361
|
-
grouping_operator: string;
|
|
362
|
-
subject_key_kind: string;
|
|
363
195
|
granularity: "module" | "identity";
|
|
364
196
|
}, {
|
|
365
197
|
id: string;
|
|
@@ -367,8 +199,6 @@ export declare const indexerQuestionTargetDomainSchema: z.ZodObject<{
|
|
|
367
199
|
operator: string;
|
|
368
200
|
parameters?: Record<string, IndexerJson> | undefined;
|
|
369
201
|
};
|
|
370
|
-
grouping_operator: string;
|
|
371
|
-
subject_key_kind: string;
|
|
372
202
|
granularity: "module" | "identity";
|
|
373
203
|
}>;
|
|
374
204
|
export declare const indexerReaderQuestionContractSchema: z.ZodEffects<z.ZodObject<{
|
|
@@ -540,27 +370,27 @@ export declare const indexerArtifactPolicyVariantSchema: z.ZodObject<{
|
|
|
540
370
|
thresholds: Record<string, {
|
|
541
371
|
recommended_max: number;
|
|
542
372
|
}>;
|
|
543
|
-
eligibility: {
|
|
544
|
-
protocol: "context.indexer.selector/v1";
|
|
545
|
-
expression: import("./indexerRestrictedSelector.js").IndexerRestrictedSelectorExpression;
|
|
546
|
-
};
|
|
547
373
|
artifact_kinds: {
|
|
548
374
|
required: string[];
|
|
549
375
|
discretionary: string[];
|
|
550
376
|
};
|
|
377
|
+
eligibility: {
|
|
378
|
+
protocol: "context.indexer.selector/v1";
|
|
379
|
+
expression: import("./indexerRestrictedSelector.js").IndexerRestrictedSelectorExpression;
|
|
380
|
+
};
|
|
551
381
|
}, {
|
|
552
382
|
id: string;
|
|
553
383
|
thresholds: Record<string, {
|
|
554
384
|
recommended_max: number;
|
|
555
385
|
}>;
|
|
556
|
-
eligibility: {
|
|
557
|
-
protocol: "context.indexer.selector/v1";
|
|
558
|
-
expression: import("./indexerRestrictedSelector.js").IndexerRestrictedSelectorExpression;
|
|
559
|
-
};
|
|
560
386
|
artifact_kinds: {
|
|
561
387
|
required: string[];
|
|
562
388
|
discretionary: string[];
|
|
563
389
|
};
|
|
390
|
+
eligibility: {
|
|
391
|
+
protocol: "context.indexer.selector/v1";
|
|
392
|
+
expression: import("./indexerRestrictedSelector.js").IndexerRestrictedSelectorExpression;
|
|
393
|
+
};
|
|
564
394
|
}>;
|
|
565
395
|
export declare const indexerLayoutMappingSchema: z.ZodEffects<z.ZodObject<{
|
|
566
396
|
source_roles: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
|
|
@@ -569,29 +399,29 @@ export declare const indexerLayoutMappingSchema: z.ZodEffects<z.ZodObject<{
|
|
|
569
399
|
artifact_kinds: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
|
|
570
400
|
collection: z.ZodType<import("./contracts.js").TopLevelNamespace, z.ZodTypeDef, import("./contracts.js").TopLevelNamespace>;
|
|
571
401
|
}, "strict", z.ZodTypeAny, {
|
|
402
|
+
collection: import("./contracts.js").TopLevelNamespace;
|
|
572
403
|
document_kind: string;
|
|
573
404
|
reader_goal: string;
|
|
574
405
|
artifact_kinds: string[];
|
|
575
406
|
source_roles: string[];
|
|
576
|
-
collection: import("./contracts.js").TopLevelNamespace;
|
|
577
407
|
}, {
|
|
408
|
+
collection: import("./contracts.js").TopLevelNamespace;
|
|
578
409
|
document_kind: string;
|
|
579
410
|
reader_goal: string;
|
|
580
411
|
artifact_kinds: string[];
|
|
581
412
|
source_roles: string[];
|
|
582
|
-
collection: import("./contracts.js").TopLevelNamespace;
|
|
583
413
|
}>, {
|
|
414
|
+
collection: import("./contracts.js").TopLevelNamespace;
|
|
584
415
|
document_kind: string;
|
|
585
416
|
reader_goal: string;
|
|
586
417
|
artifact_kinds: string[];
|
|
587
418
|
source_roles: string[];
|
|
588
|
-
collection: import("./contracts.js").TopLevelNamespace;
|
|
589
419
|
}, {
|
|
420
|
+
collection: import("./contracts.js").TopLevelNamespace;
|
|
590
421
|
document_kind: string;
|
|
591
422
|
reader_goal: string;
|
|
592
423
|
artifact_kinds: string[];
|
|
593
424
|
source_roles: string[];
|
|
594
|
-
collection: import("./contracts.js").TopLevelNamespace;
|
|
595
425
|
}>;
|
|
596
426
|
export declare const indexerProfileContractEntrySchema: z.ZodEffects<z.ZodObject<{
|
|
597
427
|
id: z.ZodEffects<z.ZodString, string, string>;
|
|
@@ -806,27 +636,27 @@ export declare const indexerProfileContractEntrySchema: z.ZodEffects<z.ZodObject
|
|
|
806
636
|
thresholds: Record<string, {
|
|
807
637
|
recommended_max: number;
|
|
808
638
|
}>;
|
|
809
|
-
eligibility: {
|
|
810
|
-
protocol: "context.indexer.selector/v1";
|
|
811
|
-
expression: import("./indexerRestrictedSelector.js").IndexerRestrictedSelectorExpression;
|
|
812
|
-
};
|
|
813
639
|
artifact_kinds: {
|
|
814
640
|
required: string[];
|
|
815
641
|
discretionary: string[];
|
|
816
642
|
};
|
|
643
|
+
eligibility: {
|
|
644
|
+
protocol: "context.indexer.selector/v1";
|
|
645
|
+
expression: import("./indexerRestrictedSelector.js").IndexerRestrictedSelectorExpression;
|
|
646
|
+
};
|
|
817
647
|
}, {
|
|
818
648
|
id: string;
|
|
819
649
|
thresholds: Record<string, {
|
|
820
650
|
recommended_max: number;
|
|
821
651
|
}>;
|
|
822
|
-
eligibility: {
|
|
823
|
-
protocol: "context.indexer.selector/v1";
|
|
824
|
-
expression: import("./indexerRestrictedSelector.js").IndexerRestrictedSelectorExpression;
|
|
825
|
-
};
|
|
826
652
|
artifact_kinds: {
|
|
827
653
|
required: string[];
|
|
828
654
|
discretionary: string[];
|
|
829
655
|
};
|
|
656
|
+
eligibility: {
|
|
657
|
+
protocol: "context.indexer.selector/v1";
|
|
658
|
+
expression: import("./indexerRestrictedSelector.js").IndexerRestrictedSelectorExpression;
|
|
659
|
+
};
|
|
830
660
|
}>, "many">;
|
|
831
661
|
question_target_domains: z.ZodArray<z.ZodObject<{
|
|
832
662
|
id: z.ZodEffects<z.ZodString, string, string>;
|
|
@@ -840,8 +670,6 @@ export declare const indexerProfileContractEntrySchema: z.ZodEffects<z.ZodObject
|
|
|
840
670
|
operator: string;
|
|
841
671
|
parameters?: Record<string, IndexerJson> | undefined;
|
|
842
672
|
}>;
|
|
843
|
-
grouping_operator: z.ZodEffects<z.ZodString, string, string>;
|
|
844
|
-
subject_key_kind: z.ZodEffects<z.ZodString, string, string>;
|
|
845
673
|
granularity: z.ZodEnum<["module", "identity"]>;
|
|
846
674
|
}, "strict", z.ZodTypeAny, {
|
|
847
675
|
id: string;
|
|
@@ -849,8 +677,6 @@ export declare const indexerProfileContractEntrySchema: z.ZodEffects<z.ZodObject
|
|
|
849
677
|
operator: string;
|
|
850
678
|
parameters?: Record<string, IndexerJson> | undefined;
|
|
851
679
|
};
|
|
852
|
-
grouping_operator: string;
|
|
853
|
-
subject_key_kind: string;
|
|
854
680
|
granularity: "module" | "identity";
|
|
855
681
|
}, {
|
|
856
682
|
id: string;
|
|
@@ -858,8 +684,6 @@ export declare const indexerProfileContractEntrySchema: z.ZodEffects<z.ZodObject
|
|
|
858
684
|
operator: string;
|
|
859
685
|
parameters?: Record<string, IndexerJson> | undefined;
|
|
860
686
|
};
|
|
861
|
-
grouping_operator: string;
|
|
862
|
-
subject_key_kind: string;
|
|
863
687
|
granularity: "module" | "identity";
|
|
864
688
|
}>, "many">;
|
|
865
689
|
reader_question_contracts: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
@@ -998,29 +822,29 @@ export declare const indexerProfileContractEntrySchema: z.ZodEffects<z.ZodObject
|
|
|
998
822
|
artifact_kinds: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
|
|
999
823
|
collection: z.ZodType<import("./contracts.js").TopLevelNamespace, z.ZodTypeDef, import("./contracts.js").TopLevelNamespace>;
|
|
1000
824
|
}, "strict", z.ZodTypeAny, {
|
|
825
|
+
collection: import("./contracts.js").TopLevelNamespace;
|
|
1001
826
|
document_kind: string;
|
|
1002
827
|
reader_goal: string;
|
|
1003
828
|
artifact_kinds: string[];
|
|
1004
829
|
source_roles: string[];
|
|
1005
|
-
collection: import("./contracts.js").TopLevelNamespace;
|
|
1006
830
|
}, {
|
|
831
|
+
collection: import("./contracts.js").TopLevelNamespace;
|
|
1007
832
|
document_kind: string;
|
|
1008
833
|
reader_goal: string;
|
|
1009
834
|
artifact_kinds: string[];
|
|
1010
835
|
source_roles: string[];
|
|
1011
|
-
collection: import("./contracts.js").TopLevelNamespace;
|
|
1012
836
|
}>, {
|
|
837
|
+
collection: import("./contracts.js").TopLevelNamespace;
|
|
1013
838
|
document_kind: string;
|
|
1014
839
|
reader_goal: string;
|
|
1015
840
|
artifact_kinds: string[];
|
|
1016
841
|
source_roles: string[];
|
|
1017
|
-
collection: import("./contracts.js").TopLevelNamespace;
|
|
1018
842
|
}, {
|
|
843
|
+
collection: import("./contracts.js").TopLevelNamespace;
|
|
1019
844
|
document_kind: string;
|
|
1020
845
|
reader_goal: string;
|
|
1021
846
|
artifact_kinds: string[];
|
|
1022
847
|
source_roles: string[];
|
|
1023
|
-
collection: import("./contracts.js").TopLevelNamespace;
|
|
1024
848
|
}>, "many">;
|
|
1025
849
|
variant_schema: z.ZodEffects<z.ZodObject<{
|
|
1026
850
|
axes: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
@@ -1103,6 +927,14 @@ export declare const indexerProfileContractEntrySchema: z.ZodEffects<z.ZodObject
|
|
|
1103
927
|
threshold_policy: "inflation-sensitive";
|
|
1104
928
|
direction: "maximum";
|
|
1105
929
|
})[];
|
|
930
|
+
variant_schema: {
|
|
931
|
+
axes: {
|
|
932
|
+
type: "enum";
|
|
933
|
+
values: string[];
|
|
934
|
+
id: string;
|
|
935
|
+
required: boolean;
|
|
936
|
+
}[];
|
|
937
|
+
};
|
|
1106
938
|
parser_requirements: {
|
|
1107
939
|
protocol: "context.indexer.parser-requirement/v1";
|
|
1108
940
|
capability: string;
|
|
@@ -1129,14 +961,14 @@ export declare const indexerProfileContractEntrySchema: z.ZodEffects<z.ZodObject
|
|
|
1129
961
|
thresholds: Record<string, {
|
|
1130
962
|
recommended_max: number;
|
|
1131
963
|
}>;
|
|
1132
|
-
eligibility: {
|
|
1133
|
-
protocol: "context.indexer.selector/v1";
|
|
1134
|
-
expression: import("./indexerRestrictedSelector.js").IndexerRestrictedSelectorExpression;
|
|
1135
|
-
};
|
|
1136
964
|
artifact_kinds: {
|
|
1137
965
|
required: string[];
|
|
1138
966
|
discretionary: string[];
|
|
1139
967
|
};
|
|
968
|
+
eligibility: {
|
|
969
|
+
protocol: "context.indexer.selector/v1";
|
|
970
|
+
expression: import("./indexerRestrictedSelector.js").IndexerRestrictedSelectorExpression;
|
|
971
|
+
};
|
|
1140
972
|
}[];
|
|
1141
973
|
question_target_domains: {
|
|
1142
974
|
id: string;
|
|
@@ -1144,8 +976,6 @@ export declare const indexerProfileContractEntrySchema: z.ZodEffects<z.ZodObject
|
|
|
1144
976
|
operator: string;
|
|
1145
977
|
parameters?: Record<string, IndexerJson> | undefined;
|
|
1146
978
|
};
|
|
1147
|
-
grouping_operator: string;
|
|
1148
|
-
subject_key_kind: string;
|
|
1149
979
|
granularity: "module" | "identity";
|
|
1150
980
|
}[];
|
|
1151
981
|
reader_question_contracts: {
|
|
@@ -1170,20 +1000,12 @@ export declare const indexerProfileContractEntrySchema: z.ZodEffects<z.ZodObject
|
|
|
1170
1000
|
allowed_exclusion_reason_codes?: string[] | undefined;
|
|
1171
1001
|
}[];
|
|
1172
1002
|
layout_mappings: {
|
|
1003
|
+
collection: import("./contracts.js").TopLevelNamespace;
|
|
1173
1004
|
document_kind: string;
|
|
1174
1005
|
reader_goal: string;
|
|
1175
1006
|
artifact_kinds: string[];
|
|
1176
1007
|
source_roles: string[];
|
|
1177
|
-
collection: import("./contracts.js").TopLevelNamespace;
|
|
1178
1008
|
}[];
|
|
1179
|
-
variant_schema: {
|
|
1180
|
-
axes: {
|
|
1181
|
-
type: "enum";
|
|
1182
|
-
values: string[];
|
|
1183
|
-
id: string;
|
|
1184
|
-
required: boolean;
|
|
1185
|
-
}[];
|
|
1186
|
-
};
|
|
1187
1009
|
}, {
|
|
1188
1010
|
id: string;
|
|
1189
1011
|
metrics: ({
|
|
@@ -1209,6 +1031,14 @@ export declare const indexerProfileContractEntrySchema: z.ZodEffects<z.ZodObject
|
|
|
1209
1031
|
threshold_policy: "inflation-sensitive";
|
|
1210
1032
|
direction: "maximum";
|
|
1211
1033
|
})[];
|
|
1034
|
+
variant_schema: {
|
|
1035
|
+
axes: {
|
|
1036
|
+
type: "enum";
|
|
1037
|
+
values: string[];
|
|
1038
|
+
id: string;
|
|
1039
|
+
required: boolean;
|
|
1040
|
+
}[];
|
|
1041
|
+
};
|
|
1212
1042
|
parser_requirements: {
|
|
1213
1043
|
protocol: "context.indexer.parser-requirement/v1";
|
|
1214
1044
|
capability: string;
|
|
@@ -1235,14 +1065,14 @@ export declare const indexerProfileContractEntrySchema: z.ZodEffects<z.ZodObject
|
|
|
1235
1065
|
thresholds: Record<string, {
|
|
1236
1066
|
recommended_max: number;
|
|
1237
1067
|
}>;
|
|
1238
|
-
eligibility: {
|
|
1239
|
-
protocol: "context.indexer.selector/v1";
|
|
1240
|
-
expression: import("./indexerRestrictedSelector.js").IndexerRestrictedSelectorExpression;
|
|
1241
|
-
};
|
|
1242
1068
|
artifact_kinds: {
|
|
1243
1069
|
required: string[];
|
|
1244
1070
|
discretionary: string[];
|
|
1245
1071
|
};
|
|
1072
|
+
eligibility: {
|
|
1073
|
+
protocol: "context.indexer.selector/v1";
|
|
1074
|
+
expression: import("./indexerRestrictedSelector.js").IndexerRestrictedSelectorExpression;
|
|
1075
|
+
};
|
|
1246
1076
|
}[];
|
|
1247
1077
|
question_target_domains: {
|
|
1248
1078
|
id: string;
|
|
@@ -1250,8 +1080,6 @@ export declare const indexerProfileContractEntrySchema: z.ZodEffects<z.ZodObject
|
|
|
1250
1080
|
operator: string;
|
|
1251
1081
|
parameters?: Record<string, IndexerJson> | undefined;
|
|
1252
1082
|
};
|
|
1253
|
-
grouping_operator: string;
|
|
1254
|
-
subject_key_kind: string;
|
|
1255
1083
|
granularity: "module" | "identity";
|
|
1256
1084
|
}[];
|
|
1257
1085
|
reader_question_contracts: {
|
|
@@ -1276,20 +1104,12 @@ export declare const indexerProfileContractEntrySchema: z.ZodEffects<z.ZodObject
|
|
|
1276
1104
|
allowed_exclusion_reason_codes?: string[] | undefined;
|
|
1277
1105
|
}[];
|
|
1278
1106
|
layout_mappings: {
|
|
1107
|
+
collection: import("./contracts.js").TopLevelNamespace;
|
|
1279
1108
|
document_kind: string;
|
|
1280
1109
|
reader_goal: string;
|
|
1281
1110
|
artifact_kinds: string[];
|
|
1282
1111
|
source_roles: string[];
|
|
1283
|
-
collection: import("./contracts.js").TopLevelNamespace;
|
|
1284
1112
|
}[];
|
|
1285
|
-
variant_schema: {
|
|
1286
|
-
axes: {
|
|
1287
|
-
type: "enum";
|
|
1288
|
-
values: string[];
|
|
1289
|
-
id: string;
|
|
1290
|
-
required: boolean;
|
|
1291
|
-
}[];
|
|
1292
|
-
};
|
|
1293
1113
|
}>, {
|
|
1294
1114
|
id: string;
|
|
1295
1115
|
metrics: ({
|
|
@@ -1315,6 +1135,14 @@ export declare const indexerProfileContractEntrySchema: z.ZodEffects<z.ZodObject
|
|
|
1315
1135
|
threshold_policy: "inflation-sensitive";
|
|
1316
1136
|
direction: "maximum";
|
|
1317
1137
|
})[];
|
|
1138
|
+
variant_schema: {
|
|
1139
|
+
axes: {
|
|
1140
|
+
type: "enum";
|
|
1141
|
+
values: string[];
|
|
1142
|
+
id: string;
|
|
1143
|
+
required: boolean;
|
|
1144
|
+
}[];
|
|
1145
|
+
};
|
|
1318
1146
|
parser_requirements: {
|
|
1319
1147
|
protocol: "context.indexer.parser-requirement/v1";
|
|
1320
1148
|
capability: string;
|
|
@@ -1341,14 +1169,14 @@ export declare const indexerProfileContractEntrySchema: z.ZodEffects<z.ZodObject
|
|
|
1341
1169
|
thresholds: Record<string, {
|
|
1342
1170
|
recommended_max: number;
|
|
1343
1171
|
}>;
|
|
1344
|
-
eligibility: {
|
|
1345
|
-
protocol: "context.indexer.selector/v1";
|
|
1346
|
-
expression: import("./indexerRestrictedSelector.js").IndexerRestrictedSelectorExpression;
|
|
1347
|
-
};
|
|
1348
1172
|
artifact_kinds: {
|
|
1349
1173
|
required: string[];
|
|
1350
1174
|
discretionary: string[];
|
|
1351
1175
|
};
|
|
1176
|
+
eligibility: {
|
|
1177
|
+
protocol: "context.indexer.selector/v1";
|
|
1178
|
+
expression: import("./indexerRestrictedSelector.js").IndexerRestrictedSelectorExpression;
|
|
1179
|
+
};
|
|
1352
1180
|
}[];
|
|
1353
1181
|
question_target_domains: {
|
|
1354
1182
|
id: string;
|
|
@@ -1356,8 +1184,6 @@ export declare const indexerProfileContractEntrySchema: z.ZodEffects<z.ZodObject
|
|
|
1356
1184
|
operator: string;
|
|
1357
1185
|
parameters?: Record<string, IndexerJson> | undefined;
|
|
1358
1186
|
};
|
|
1359
|
-
grouping_operator: string;
|
|
1360
|
-
subject_key_kind: string;
|
|
1361
1187
|
granularity: "module" | "identity";
|
|
1362
1188
|
}[];
|
|
1363
1189
|
reader_question_contracts: {
|
|
@@ -1382,20 +1208,12 @@ export declare const indexerProfileContractEntrySchema: z.ZodEffects<z.ZodObject
|
|
|
1382
1208
|
allowed_exclusion_reason_codes?: string[] | undefined;
|
|
1383
1209
|
}[];
|
|
1384
1210
|
layout_mappings: {
|
|
1211
|
+
collection: import("./contracts.js").TopLevelNamespace;
|
|
1385
1212
|
document_kind: string;
|
|
1386
1213
|
reader_goal: string;
|
|
1387
1214
|
artifact_kinds: string[];
|
|
1388
1215
|
source_roles: string[];
|
|
1389
|
-
collection: import("./contracts.js").TopLevelNamespace;
|
|
1390
1216
|
}[];
|
|
1391
|
-
variant_schema: {
|
|
1392
|
-
axes: {
|
|
1393
|
-
type: "enum";
|
|
1394
|
-
values: string[];
|
|
1395
|
-
id: string;
|
|
1396
|
-
required: boolean;
|
|
1397
|
-
}[];
|
|
1398
|
-
};
|
|
1399
1217
|
}, {
|
|
1400
1218
|
id: string;
|
|
1401
1219
|
metrics: ({
|
|
@@ -1421,6 +1239,14 @@ export declare const indexerProfileContractEntrySchema: z.ZodEffects<z.ZodObject
|
|
|
1421
1239
|
threshold_policy: "inflation-sensitive";
|
|
1422
1240
|
direction: "maximum";
|
|
1423
1241
|
})[];
|
|
1242
|
+
variant_schema: {
|
|
1243
|
+
axes: {
|
|
1244
|
+
type: "enum";
|
|
1245
|
+
values: string[];
|
|
1246
|
+
id: string;
|
|
1247
|
+
required: boolean;
|
|
1248
|
+
}[];
|
|
1249
|
+
};
|
|
1424
1250
|
parser_requirements: {
|
|
1425
1251
|
protocol: "context.indexer.parser-requirement/v1";
|
|
1426
1252
|
capability: string;
|
|
@@ -1447,14 +1273,14 @@ export declare const indexerProfileContractEntrySchema: z.ZodEffects<z.ZodObject
|
|
|
1447
1273
|
thresholds: Record<string, {
|
|
1448
1274
|
recommended_max: number;
|
|
1449
1275
|
}>;
|
|
1450
|
-
eligibility: {
|
|
1451
|
-
protocol: "context.indexer.selector/v1";
|
|
1452
|
-
expression: import("./indexerRestrictedSelector.js").IndexerRestrictedSelectorExpression;
|
|
1453
|
-
};
|
|
1454
1276
|
artifact_kinds: {
|
|
1455
1277
|
required: string[];
|
|
1456
1278
|
discretionary: string[];
|
|
1457
1279
|
};
|
|
1280
|
+
eligibility: {
|
|
1281
|
+
protocol: "context.indexer.selector/v1";
|
|
1282
|
+
expression: import("./indexerRestrictedSelector.js").IndexerRestrictedSelectorExpression;
|
|
1283
|
+
};
|
|
1458
1284
|
}[];
|
|
1459
1285
|
question_target_domains: {
|
|
1460
1286
|
id: string;
|
|
@@ -1462,8 +1288,6 @@ export declare const indexerProfileContractEntrySchema: z.ZodEffects<z.ZodObject
|
|
|
1462
1288
|
operator: string;
|
|
1463
1289
|
parameters?: Record<string, IndexerJson> | undefined;
|
|
1464
1290
|
};
|
|
1465
|
-
grouping_operator: string;
|
|
1466
|
-
subject_key_kind: string;
|
|
1467
1291
|
granularity: "module" | "identity";
|
|
1468
1292
|
}[];
|
|
1469
1293
|
reader_question_contracts: {
|
|
@@ -1488,20 +1312,12 @@ export declare const indexerProfileContractEntrySchema: z.ZodEffects<z.ZodObject
|
|
|
1488
1312
|
allowed_exclusion_reason_codes?: string[] | undefined;
|
|
1489
1313
|
}[];
|
|
1490
1314
|
layout_mappings: {
|
|
1315
|
+
collection: import("./contracts.js").TopLevelNamespace;
|
|
1491
1316
|
document_kind: string;
|
|
1492
1317
|
reader_goal: string;
|
|
1493
1318
|
artifact_kinds: string[];
|
|
1494
1319
|
source_roles: string[];
|
|
1495
|
-
collection: import("./contracts.js").TopLevelNamespace;
|
|
1496
1320
|
}[];
|
|
1497
|
-
variant_schema: {
|
|
1498
|
-
axes: {
|
|
1499
|
-
type: "enum";
|
|
1500
|
-
values: string[];
|
|
1501
|
-
id: string;
|
|
1502
|
-
required: boolean;
|
|
1503
|
-
}[];
|
|
1504
|
-
};
|
|
1505
1321
|
}>;
|
|
1506
1322
|
export declare const indexerProfileContractSchema: z.ZodEffects<z.ZodObject<{
|
|
1507
1323
|
protocol: z.ZodLiteral<"context.indexer.profile-contract/v1">;
|
|
@@ -1722,27 +1538,27 @@ export declare const indexerProfileContractSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1722
1538
|
thresholds: Record<string, {
|
|
1723
1539
|
recommended_max: number;
|
|
1724
1540
|
}>;
|
|
1725
|
-
eligibility: {
|
|
1726
|
-
protocol: "context.indexer.selector/v1";
|
|
1727
|
-
expression: import("./indexerRestrictedSelector.js").IndexerRestrictedSelectorExpression;
|
|
1728
|
-
};
|
|
1729
1541
|
artifact_kinds: {
|
|
1730
1542
|
required: string[];
|
|
1731
1543
|
discretionary: string[];
|
|
1732
1544
|
};
|
|
1545
|
+
eligibility: {
|
|
1546
|
+
protocol: "context.indexer.selector/v1";
|
|
1547
|
+
expression: import("./indexerRestrictedSelector.js").IndexerRestrictedSelectorExpression;
|
|
1548
|
+
};
|
|
1733
1549
|
}, {
|
|
1734
1550
|
id: string;
|
|
1735
1551
|
thresholds: Record<string, {
|
|
1736
1552
|
recommended_max: number;
|
|
1737
1553
|
}>;
|
|
1738
|
-
eligibility: {
|
|
1739
|
-
protocol: "context.indexer.selector/v1";
|
|
1740
|
-
expression: import("./indexerRestrictedSelector.js").IndexerRestrictedSelectorExpression;
|
|
1741
|
-
};
|
|
1742
1554
|
artifact_kinds: {
|
|
1743
1555
|
required: string[];
|
|
1744
1556
|
discretionary: string[];
|
|
1745
1557
|
};
|
|
1558
|
+
eligibility: {
|
|
1559
|
+
protocol: "context.indexer.selector/v1";
|
|
1560
|
+
expression: import("./indexerRestrictedSelector.js").IndexerRestrictedSelectorExpression;
|
|
1561
|
+
};
|
|
1746
1562
|
}>, "many">;
|
|
1747
1563
|
question_target_domains: z.ZodArray<z.ZodObject<{
|
|
1748
1564
|
id: z.ZodEffects<z.ZodString, string, string>;
|
|
@@ -1756,8 +1572,6 @@ export declare const indexerProfileContractSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1756
1572
|
operator: string;
|
|
1757
1573
|
parameters?: Record<string, IndexerJson> | undefined;
|
|
1758
1574
|
}>;
|
|
1759
|
-
grouping_operator: z.ZodEffects<z.ZodString, string, string>;
|
|
1760
|
-
subject_key_kind: z.ZodEffects<z.ZodString, string, string>;
|
|
1761
1575
|
granularity: z.ZodEnum<["module", "identity"]>;
|
|
1762
1576
|
}, "strict", z.ZodTypeAny, {
|
|
1763
1577
|
id: string;
|
|
@@ -1765,8 +1579,6 @@ export declare const indexerProfileContractSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1765
1579
|
operator: string;
|
|
1766
1580
|
parameters?: Record<string, IndexerJson> | undefined;
|
|
1767
1581
|
};
|
|
1768
|
-
grouping_operator: string;
|
|
1769
|
-
subject_key_kind: string;
|
|
1770
1582
|
granularity: "module" | "identity";
|
|
1771
1583
|
}, {
|
|
1772
1584
|
id: string;
|
|
@@ -1774,8 +1586,6 @@ export declare const indexerProfileContractSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1774
1586
|
operator: string;
|
|
1775
1587
|
parameters?: Record<string, IndexerJson> | undefined;
|
|
1776
1588
|
};
|
|
1777
|
-
grouping_operator: string;
|
|
1778
|
-
subject_key_kind: string;
|
|
1779
1589
|
granularity: "module" | "identity";
|
|
1780
1590
|
}>, "many">;
|
|
1781
1591
|
reader_question_contracts: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
@@ -1914,29 +1724,29 @@ export declare const indexerProfileContractSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1914
1724
|
artifact_kinds: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
|
|
1915
1725
|
collection: z.ZodType<import("./contracts.js").TopLevelNamespace, z.ZodTypeDef, import("./contracts.js").TopLevelNamespace>;
|
|
1916
1726
|
}, "strict", z.ZodTypeAny, {
|
|
1727
|
+
collection: import("./contracts.js").TopLevelNamespace;
|
|
1917
1728
|
document_kind: string;
|
|
1918
1729
|
reader_goal: string;
|
|
1919
1730
|
artifact_kinds: string[];
|
|
1920
1731
|
source_roles: string[];
|
|
1921
|
-
collection: import("./contracts.js").TopLevelNamespace;
|
|
1922
1732
|
}, {
|
|
1733
|
+
collection: import("./contracts.js").TopLevelNamespace;
|
|
1923
1734
|
document_kind: string;
|
|
1924
1735
|
reader_goal: string;
|
|
1925
1736
|
artifact_kinds: string[];
|
|
1926
1737
|
source_roles: string[];
|
|
1927
|
-
collection: import("./contracts.js").TopLevelNamespace;
|
|
1928
1738
|
}>, {
|
|
1739
|
+
collection: import("./contracts.js").TopLevelNamespace;
|
|
1929
1740
|
document_kind: string;
|
|
1930
1741
|
reader_goal: string;
|
|
1931
1742
|
artifact_kinds: string[];
|
|
1932
1743
|
source_roles: string[];
|
|
1933
|
-
collection: import("./contracts.js").TopLevelNamespace;
|
|
1934
1744
|
}, {
|
|
1745
|
+
collection: import("./contracts.js").TopLevelNamespace;
|
|
1935
1746
|
document_kind: string;
|
|
1936
1747
|
reader_goal: string;
|
|
1937
1748
|
artifact_kinds: string[];
|
|
1938
1749
|
source_roles: string[];
|
|
1939
|
-
collection: import("./contracts.js").TopLevelNamespace;
|
|
1940
1750
|
}>, "many">;
|
|
1941
1751
|
variant_schema: z.ZodEffects<z.ZodObject<{
|
|
1942
1752
|
axes: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
@@ -2019,6 +1829,14 @@ export declare const indexerProfileContractSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2019
1829
|
threshold_policy: "inflation-sensitive";
|
|
2020
1830
|
direction: "maximum";
|
|
2021
1831
|
})[];
|
|
1832
|
+
variant_schema: {
|
|
1833
|
+
axes: {
|
|
1834
|
+
type: "enum";
|
|
1835
|
+
values: string[];
|
|
1836
|
+
id: string;
|
|
1837
|
+
required: boolean;
|
|
1838
|
+
}[];
|
|
1839
|
+
};
|
|
2022
1840
|
parser_requirements: {
|
|
2023
1841
|
protocol: "context.indexer.parser-requirement/v1";
|
|
2024
1842
|
capability: string;
|
|
@@ -2045,14 +1863,14 @@ export declare const indexerProfileContractSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2045
1863
|
thresholds: Record<string, {
|
|
2046
1864
|
recommended_max: number;
|
|
2047
1865
|
}>;
|
|
2048
|
-
eligibility: {
|
|
2049
|
-
protocol: "context.indexer.selector/v1";
|
|
2050
|
-
expression: import("./indexerRestrictedSelector.js").IndexerRestrictedSelectorExpression;
|
|
2051
|
-
};
|
|
2052
1866
|
artifact_kinds: {
|
|
2053
1867
|
required: string[];
|
|
2054
1868
|
discretionary: string[];
|
|
2055
1869
|
};
|
|
1870
|
+
eligibility: {
|
|
1871
|
+
protocol: "context.indexer.selector/v1";
|
|
1872
|
+
expression: import("./indexerRestrictedSelector.js").IndexerRestrictedSelectorExpression;
|
|
1873
|
+
};
|
|
2056
1874
|
}[];
|
|
2057
1875
|
question_target_domains: {
|
|
2058
1876
|
id: string;
|
|
@@ -2060,8 +1878,6 @@ export declare const indexerProfileContractSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2060
1878
|
operator: string;
|
|
2061
1879
|
parameters?: Record<string, IndexerJson> | undefined;
|
|
2062
1880
|
};
|
|
2063
|
-
grouping_operator: string;
|
|
2064
|
-
subject_key_kind: string;
|
|
2065
1881
|
granularity: "module" | "identity";
|
|
2066
1882
|
}[];
|
|
2067
1883
|
reader_question_contracts: {
|
|
@@ -2086,20 +1902,12 @@ export declare const indexerProfileContractSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2086
1902
|
allowed_exclusion_reason_codes?: string[] | undefined;
|
|
2087
1903
|
}[];
|
|
2088
1904
|
layout_mappings: {
|
|
1905
|
+
collection: import("./contracts.js").TopLevelNamespace;
|
|
2089
1906
|
document_kind: string;
|
|
2090
1907
|
reader_goal: string;
|
|
2091
1908
|
artifact_kinds: string[];
|
|
2092
1909
|
source_roles: string[];
|
|
2093
|
-
collection: import("./contracts.js").TopLevelNamespace;
|
|
2094
1910
|
}[];
|
|
2095
|
-
variant_schema: {
|
|
2096
|
-
axes: {
|
|
2097
|
-
type: "enum";
|
|
2098
|
-
values: string[];
|
|
2099
|
-
id: string;
|
|
2100
|
-
required: boolean;
|
|
2101
|
-
}[];
|
|
2102
|
-
};
|
|
2103
1911
|
}, {
|
|
2104
1912
|
id: string;
|
|
2105
1913
|
metrics: ({
|
|
@@ -2125,6 +1933,14 @@ export declare const indexerProfileContractSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2125
1933
|
threshold_policy: "inflation-sensitive";
|
|
2126
1934
|
direction: "maximum";
|
|
2127
1935
|
})[];
|
|
1936
|
+
variant_schema: {
|
|
1937
|
+
axes: {
|
|
1938
|
+
type: "enum";
|
|
1939
|
+
values: string[];
|
|
1940
|
+
id: string;
|
|
1941
|
+
required: boolean;
|
|
1942
|
+
}[];
|
|
1943
|
+
};
|
|
2128
1944
|
parser_requirements: {
|
|
2129
1945
|
protocol: "context.indexer.parser-requirement/v1";
|
|
2130
1946
|
capability: string;
|
|
@@ -2151,14 +1967,14 @@ export declare const indexerProfileContractSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2151
1967
|
thresholds: Record<string, {
|
|
2152
1968
|
recommended_max: number;
|
|
2153
1969
|
}>;
|
|
2154
|
-
eligibility: {
|
|
2155
|
-
protocol: "context.indexer.selector/v1";
|
|
2156
|
-
expression: import("./indexerRestrictedSelector.js").IndexerRestrictedSelectorExpression;
|
|
2157
|
-
};
|
|
2158
1970
|
artifact_kinds: {
|
|
2159
1971
|
required: string[];
|
|
2160
1972
|
discretionary: string[];
|
|
2161
1973
|
};
|
|
1974
|
+
eligibility: {
|
|
1975
|
+
protocol: "context.indexer.selector/v1";
|
|
1976
|
+
expression: import("./indexerRestrictedSelector.js").IndexerRestrictedSelectorExpression;
|
|
1977
|
+
};
|
|
2162
1978
|
}[];
|
|
2163
1979
|
question_target_domains: {
|
|
2164
1980
|
id: string;
|
|
@@ -2166,8 +1982,6 @@ export declare const indexerProfileContractSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2166
1982
|
operator: string;
|
|
2167
1983
|
parameters?: Record<string, IndexerJson> | undefined;
|
|
2168
1984
|
};
|
|
2169
|
-
grouping_operator: string;
|
|
2170
|
-
subject_key_kind: string;
|
|
2171
1985
|
granularity: "module" | "identity";
|
|
2172
1986
|
}[];
|
|
2173
1987
|
reader_question_contracts: {
|
|
@@ -2192,20 +2006,12 @@ export declare const indexerProfileContractSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2192
2006
|
allowed_exclusion_reason_codes?: string[] | undefined;
|
|
2193
2007
|
}[];
|
|
2194
2008
|
layout_mappings: {
|
|
2009
|
+
collection: import("./contracts.js").TopLevelNamespace;
|
|
2195
2010
|
document_kind: string;
|
|
2196
2011
|
reader_goal: string;
|
|
2197
2012
|
artifact_kinds: string[];
|
|
2198
2013
|
source_roles: string[];
|
|
2199
|
-
collection: import("./contracts.js").TopLevelNamespace;
|
|
2200
2014
|
}[];
|
|
2201
|
-
variant_schema: {
|
|
2202
|
-
axes: {
|
|
2203
|
-
type: "enum";
|
|
2204
|
-
values: string[];
|
|
2205
|
-
id: string;
|
|
2206
|
-
required: boolean;
|
|
2207
|
-
}[];
|
|
2208
|
-
};
|
|
2209
2015
|
}>, {
|
|
2210
2016
|
id: string;
|
|
2211
2017
|
metrics: ({
|
|
@@ -2231,6 +2037,14 @@ export declare const indexerProfileContractSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2231
2037
|
threshold_policy: "inflation-sensitive";
|
|
2232
2038
|
direction: "maximum";
|
|
2233
2039
|
})[];
|
|
2040
|
+
variant_schema: {
|
|
2041
|
+
axes: {
|
|
2042
|
+
type: "enum";
|
|
2043
|
+
values: string[];
|
|
2044
|
+
id: string;
|
|
2045
|
+
required: boolean;
|
|
2046
|
+
}[];
|
|
2047
|
+
};
|
|
2234
2048
|
parser_requirements: {
|
|
2235
2049
|
protocol: "context.indexer.parser-requirement/v1";
|
|
2236
2050
|
capability: string;
|
|
@@ -2257,14 +2071,14 @@ export declare const indexerProfileContractSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2257
2071
|
thresholds: Record<string, {
|
|
2258
2072
|
recommended_max: number;
|
|
2259
2073
|
}>;
|
|
2260
|
-
eligibility: {
|
|
2261
|
-
protocol: "context.indexer.selector/v1";
|
|
2262
|
-
expression: import("./indexerRestrictedSelector.js").IndexerRestrictedSelectorExpression;
|
|
2263
|
-
};
|
|
2264
2074
|
artifact_kinds: {
|
|
2265
2075
|
required: string[];
|
|
2266
2076
|
discretionary: string[];
|
|
2267
2077
|
};
|
|
2078
|
+
eligibility: {
|
|
2079
|
+
protocol: "context.indexer.selector/v1";
|
|
2080
|
+
expression: import("./indexerRestrictedSelector.js").IndexerRestrictedSelectorExpression;
|
|
2081
|
+
};
|
|
2268
2082
|
}[];
|
|
2269
2083
|
question_target_domains: {
|
|
2270
2084
|
id: string;
|
|
@@ -2272,8 +2086,6 @@ export declare const indexerProfileContractSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2272
2086
|
operator: string;
|
|
2273
2087
|
parameters?: Record<string, IndexerJson> | undefined;
|
|
2274
2088
|
};
|
|
2275
|
-
grouping_operator: string;
|
|
2276
|
-
subject_key_kind: string;
|
|
2277
2089
|
granularity: "module" | "identity";
|
|
2278
2090
|
}[];
|
|
2279
2091
|
reader_question_contracts: {
|
|
@@ -2298,20 +2110,12 @@ export declare const indexerProfileContractSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2298
2110
|
allowed_exclusion_reason_codes?: string[] | undefined;
|
|
2299
2111
|
}[];
|
|
2300
2112
|
layout_mappings: {
|
|
2113
|
+
collection: import("./contracts.js").TopLevelNamespace;
|
|
2301
2114
|
document_kind: string;
|
|
2302
2115
|
reader_goal: string;
|
|
2303
2116
|
artifact_kinds: string[];
|
|
2304
2117
|
source_roles: string[];
|
|
2305
|
-
collection: import("./contracts.js").TopLevelNamespace;
|
|
2306
2118
|
}[];
|
|
2307
|
-
variant_schema: {
|
|
2308
|
-
axes: {
|
|
2309
|
-
type: "enum";
|
|
2310
|
-
values: string[];
|
|
2311
|
-
id: string;
|
|
2312
|
-
required: boolean;
|
|
2313
|
-
}[];
|
|
2314
|
-
};
|
|
2315
2119
|
}, {
|
|
2316
2120
|
id: string;
|
|
2317
2121
|
metrics: ({
|
|
@@ -2337,6 +2141,14 @@ export declare const indexerProfileContractSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2337
2141
|
threshold_policy: "inflation-sensitive";
|
|
2338
2142
|
direction: "maximum";
|
|
2339
2143
|
})[];
|
|
2144
|
+
variant_schema: {
|
|
2145
|
+
axes: {
|
|
2146
|
+
type: "enum";
|
|
2147
|
+
values: string[];
|
|
2148
|
+
id: string;
|
|
2149
|
+
required: boolean;
|
|
2150
|
+
}[];
|
|
2151
|
+
};
|
|
2340
2152
|
parser_requirements: {
|
|
2341
2153
|
protocol: "context.indexer.parser-requirement/v1";
|
|
2342
2154
|
capability: string;
|
|
@@ -2363,14 +2175,14 @@ export declare const indexerProfileContractSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2363
2175
|
thresholds: Record<string, {
|
|
2364
2176
|
recommended_max: number;
|
|
2365
2177
|
}>;
|
|
2366
|
-
eligibility: {
|
|
2367
|
-
protocol: "context.indexer.selector/v1";
|
|
2368
|
-
expression: import("./indexerRestrictedSelector.js").IndexerRestrictedSelectorExpression;
|
|
2369
|
-
};
|
|
2370
2178
|
artifact_kinds: {
|
|
2371
2179
|
required: string[];
|
|
2372
2180
|
discretionary: string[];
|
|
2373
2181
|
};
|
|
2182
|
+
eligibility: {
|
|
2183
|
+
protocol: "context.indexer.selector/v1";
|
|
2184
|
+
expression: import("./indexerRestrictedSelector.js").IndexerRestrictedSelectorExpression;
|
|
2185
|
+
};
|
|
2374
2186
|
}[];
|
|
2375
2187
|
question_target_domains: {
|
|
2376
2188
|
id: string;
|
|
@@ -2378,8 +2190,6 @@ export declare const indexerProfileContractSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2378
2190
|
operator: string;
|
|
2379
2191
|
parameters?: Record<string, IndexerJson> | undefined;
|
|
2380
2192
|
};
|
|
2381
|
-
grouping_operator: string;
|
|
2382
|
-
subject_key_kind: string;
|
|
2383
2193
|
granularity: "module" | "identity";
|
|
2384
2194
|
}[];
|
|
2385
2195
|
reader_question_contracts: {
|
|
@@ -2404,105 +2214,12 @@ export declare const indexerProfileContractSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2404
2214
|
allowed_exclusion_reason_codes?: string[] | undefined;
|
|
2405
2215
|
}[];
|
|
2406
2216
|
layout_mappings: {
|
|
2217
|
+
collection: import("./contracts.js").TopLevelNamespace;
|
|
2407
2218
|
document_kind: string;
|
|
2408
2219
|
reader_goal: string;
|
|
2409
2220
|
artifact_kinds: string[];
|
|
2410
2221
|
source_roles: string[];
|
|
2411
|
-
collection: import("./contracts.js").TopLevelNamespace;
|
|
2412
|
-
}[];
|
|
2413
|
-
variant_schema: {
|
|
2414
|
-
axes: {
|
|
2415
|
-
type: "enum";
|
|
2416
|
-
values: string[];
|
|
2417
|
-
id: string;
|
|
2418
|
-
required: boolean;
|
|
2419
|
-
}[];
|
|
2420
|
-
};
|
|
2421
|
-
}>, "many">;
|
|
2422
|
-
subject_key_schemas: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
2423
|
-
version: z.ZodNumber;
|
|
2424
|
-
namespace: z.ZodObject<{
|
|
2425
|
-
operator: z.ZodEnum<["canonical-source-module-namespace", "canonical-service-namespace", "canonical-module-identity", "canonical-export-family"]>;
|
|
2426
|
-
}, "strict", z.ZodTypeAny, {
|
|
2427
|
-
operator: "canonical-source-module-namespace" | "canonical-service-namespace" | "canonical-module-identity" | "canonical-export-family";
|
|
2428
|
-
}, {
|
|
2429
|
-
operator: "canonical-source-module-namespace" | "canonical-service-namespace" | "canonical-module-identity" | "canonical-export-family";
|
|
2430
|
-
}>;
|
|
2431
|
-
kinds: z.ZodArray<z.ZodObject<{
|
|
2432
|
-
id: z.ZodEffects<z.ZodString, string, string>;
|
|
2433
|
-
local_key: z.ZodObject<{
|
|
2434
|
-
operator: z.ZodEnum<["canonical-source-module-namespace", "canonical-service-namespace", "canonical-module-identity", "canonical-export-family"]>;
|
|
2435
|
-
}, "strict", z.ZodTypeAny, {
|
|
2436
|
-
operator: "canonical-source-module-namespace" | "canonical-service-namespace" | "canonical-module-identity" | "canonical-export-family";
|
|
2437
|
-
}, {
|
|
2438
|
-
operator: "canonical-source-module-namespace" | "canonical-service-namespace" | "canonical-module-identity" | "canonical-export-family";
|
|
2439
|
-
}>;
|
|
2440
|
-
}, "strict", z.ZodTypeAny, {
|
|
2441
|
-
id: string;
|
|
2442
|
-
local_key: {
|
|
2443
|
-
operator: "canonical-source-module-namespace" | "canonical-service-namespace" | "canonical-module-identity" | "canonical-export-family";
|
|
2444
|
-
};
|
|
2445
|
-
}, {
|
|
2446
|
-
id: string;
|
|
2447
|
-
local_key: {
|
|
2448
|
-
operator: "canonical-source-module-namespace" | "canonical-service-namespace" | "canonical-module-identity" | "canonical-export-family";
|
|
2449
|
-
};
|
|
2450
|
-
}>, "many">;
|
|
2451
|
-
normalization: z.ZodOptional<z.ZodArray<z.ZodEnum<["trim", "unicode-nfc", "preserve-case", "lowercase"]>, "many">>;
|
|
2452
|
-
} & {
|
|
2453
|
-
profile: z.ZodEffects<z.ZodString, string, string>;
|
|
2454
|
-
}, "strict", z.ZodTypeAny, {
|
|
2455
|
-
namespace: {
|
|
2456
|
-
operator: "canonical-source-module-namespace" | "canonical-service-namespace" | "canonical-module-identity" | "canonical-export-family";
|
|
2457
|
-
};
|
|
2458
|
-
version: number;
|
|
2459
|
-
profile: string;
|
|
2460
|
-
kinds: {
|
|
2461
|
-
id: string;
|
|
2462
|
-
local_key: {
|
|
2463
|
-
operator: "canonical-source-module-namespace" | "canonical-service-namespace" | "canonical-module-identity" | "canonical-export-family";
|
|
2464
|
-
};
|
|
2465
|
-
}[];
|
|
2466
|
-
normalization?: ("trim" | "unicode-nfc" | "preserve-case" | "lowercase")[] | undefined;
|
|
2467
|
-
}, {
|
|
2468
|
-
namespace: {
|
|
2469
|
-
operator: "canonical-source-module-namespace" | "canonical-service-namespace" | "canonical-module-identity" | "canonical-export-family";
|
|
2470
|
-
};
|
|
2471
|
-
version: number;
|
|
2472
|
-
profile: string;
|
|
2473
|
-
kinds: {
|
|
2474
|
-
id: string;
|
|
2475
|
-
local_key: {
|
|
2476
|
-
operator: "canonical-source-module-namespace" | "canonical-service-namespace" | "canonical-module-identity" | "canonical-export-family";
|
|
2477
|
-
};
|
|
2478
|
-
}[];
|
|
2479
|
-
normalization?: ("trim" | "unicode-nfc" | "preserve-case" | "lowercase")[] | undefined;
|
|
2480
|
-
}>, {
|
|
2481
|
-
namespace: {
|
|
2482
|
-
operator: "canonical-source-module-namespace" | "canonical-service-namespace" | "canonical-module-identity" | "canonical-export-family";
|
|
2483
|
-
};
|
|
2484
|
-
version: number;
|
|
2485
|
-
profile: string;
|
|
2486
|
-
kinds: {
|
|
2487
|
-
id: string;
|
|
2488
|
-
local_key: {
|
|
2489
|
-
operator: "canonical-source-module-namespace" | "canonical-service-namespace" | "canonical-module-identity" | "canonical-export-family";
|
|
2490
|
-
};
|
|
2491
|
-
}[];
|
|
2492
|
-
normalization?: ("trim" | "unicode-nfc" | "preserve-case" | "lowercase")[] | undefined;
|
|
2493
|
-
}, {
|
|
2494
|
-
namespace: {
|
|
2495
|
-
operator: "canonical-source-module-namespace" | "canonical-service-namespace" | "canonical-module-identity" | "canonical-export-family";
|
|
2496
|
-
};
|
|
2497
|
-
version: number;
|
|
2498
|
-
profile: string;
|
|
2499
|
-
kinds: {
|
|
2500
|
-
id: string;
|
|
2501
|
-
local_key: {
|
|
2502
|
-
operator: "canonical-source-module-namespace" | "canonical-service-namespace" | "canonical-module-identity" | "canonical-export-family";
|
|
2503
|
-
};
|
|
2504
2222
|
}[];
|
|
2505
|
-
normalization?: ("trim" | "unicode-nfc" | "preserve-case" | "lowercase")[] | undefined;
|
|
2506
2223
|
}>, "many">;
|
|
2507
2224
|
contract_digest: z.ZodString;
|
|
2508
2225
|
}, "strict", z.ZodTypeAny, {
|
|
@@ -2510,8 +2227,6 @@ export declare const indexerProfileContractSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2510
2227
|
coverage_domains: ("technical-structure" | "public-contract" | "business-semantics" | "operations")[];
|
|
2511
2228
|
protocol: "context.indexer.profile-contract/v1";
|
|
2512
2229
|
version: string;
|
|
2513
|
-
operator_contract_version: string;
|
|
2514
|
-
operator_contract_digest: string;
|
|
2515
2230
|
profiles: {
|
|
2516
2231
|
id: string;
|
|
2517
2232
|
metrics: ({
|
|
@@ -2537,6 +2252,14 @@ export declare const indexerProfileContractSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2537
2252
|
threshold_policy: "inflation-sensitive";
|
|
2538
2253
|
direction: "maximum";
|
|
2539
2254
|
})[];
|
|
2255
|
+
variant_schema: {
|
|
2256
|
+
axes: {
|
|
2257
|
+
type: "enum";
|
|
2258
|
+
values: string[];
|
|
2259
|
+
id: string;
|
|
2260
|
+
required: boolean;
|
|
2261
|
+
}[];
|
|
2262
|
+
};
|
|
2540
2263
|
parser_requirements: {
|
|
2541
2264
|
protocol: "context.indexer.parser-requirement/v1";
|
|
2542
2265
|
capability: string;
|
|
@@ -2563,14 +2286,14 @@ export declare const indexerProfileContractSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2563
2286
|
thresholds: Record<string, {
|
|
2564
2287
|
recommended_max: number;
|
|
2565
2288
|
}>;
|
|
2566
|
-
eligibility: {
|
|
2567
|
-
protocol: "context.indexer.selector/v1";
|
|
2568
|
-
expression: import("./indexerRestrictedSelector.js").IndexerRestrictedSelectorExpression;
|
|
2569
|
-
};
|
|
2570
2289
|
artifact_kinds: {
|
|
2571
2290
|
required: string[];
|
|
2572
2291
|
discretionary: string[];
|
|
2573
2292
|
};
|
|
2293
|
+
eligibility: {
|
|
2294
|
+
protocol: "context.indexer.selector/v1";
|
|
2295
|
+
expression: import("./indexerRestrictedSelector.js").IndexerRestrictedSelectorExpression;
|
|
2296
|
+
};
|
|
2574
2297
|
}[];
|
|
2575
2298
|
question_target_domains: {
|
|
2576
2299
|
id: string;
|
|
@@ -2578,8 +2301,6 @@ export declare const indexerProfileContractSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2578
2301
|
operator: string;
|
|
2579
2302
|
parameters?: Record<string, IndexerJson> | undefined;
|
|
2580
2303
|
};
|
|
2581
|
-
grouping_operator: string;
|
|
2582
|
-
subject_key_kind: string;
|
|
2583
2304
|
granularity: "module" | "identity";
|
|
2584
2305
|
}[];
|
|
2585
2306
|
reader_question_contracts: {
|
|
@@ -2604,42 +2325,20 @@ export declare const indexerProfileContractSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2604
2325
|
allowed_exclusion_reason_codes?: string[] | undefined;
|
|
2605
2326
|
}[];
|
|
2606
2327
|
layout_mappings: {
|
|
2328
|
+
collection: import("./contracts.js").TopLevelNamespace;
|
|
2607
2329
|
document_kind: string;
|
|
2608
2330
|
reader_goal: string;
|
|
2609
2331
|
artifact_kinds: string[];
|
|
2610
2332
|
source_roles: string[];
|
|
2611
|
-
collection: import("./contracts.js").TopLevelNamespace;
|
|
2612
|
-
}[];
|
|
2613
|
-
variant_schema: {
|
|
2614
|
-
axes: {
|
|
2615
|
-
type: "enum";
|
|
2616
|
-
values: string[];
|
|
2617
|
-
id: string;
|
|
2618
|
-
required: boolean;
|
|
2619
|
-
}[];
|
|
2620
|
-
};
|
|
2621
|
-
}[];
|
|
2622
|
-
subject_key_schemas: {
|
|
2623
|
-
namespace: {
|
|
2624
|
-
operator: "canonical-source-module-namespace" | "canonical-service-namespace" | "canonical-module-identity" | "canonical-export-family";
|
|
2625
|
-
};
|
|
2626
|
-
version: number;
|
|
2627
|
-
profile: string;
|
|
2628
|
-
kinds: {
|
|
2629
|
-
id: string;
|
|
2630
|
-
local_key: {
|
|
2631
|
-
operator: "canonical-source-module-namespace" | "canonical-service-namespace" | "canonical-module-identity" | "canonical-export-family";
|
|
2632
|
-
};
|
|
2633
2333
|
}[];
|
|
2634
|
-
normalization?: ("trim" | "unicode-nfc" | "preserve-case" | "lowercase")[] | undefined;
|
|
2635
2334
|
}[];
|
|
2335
|
+
operator_contract_version: string;
|
|
2336
|
+
operator_contract_digest: string;
|
|
2636
2337
|
}, {
|
|
2637
2338
|
contract_digest: string;
|
|
2638
2339
|
coverage_domains: ("technical-structure" | "public-contract" | "business-semantics" | "operations")[];
|
|
2639
2340
|
protocol: "context.indexer.profile-contract/v1";
|
|
2640
2341
|
version: string;
|
|
2641
|
-
operator_contract_version: string;
|
|
2642
|
-
operator_contract_digest: string;
|
|
2643
2342
|
profiles: {
|
|
2644
2343
|
id: string;
|
|
2645
2344
|
metrics: ({
|
|
@@ -2665,6 +2364,14 @@ export declare const indexerProfileContractSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2665
2364
|
threshold_policy: "inflation-sensitive";
|
|
2666
2365
|
direction: "maximum";
|
|
2667
2366
|
})[];
|
|
2367
|
+
variant_schema: {
|
|
2368
|
+
axes: {
|
|
2369
|
+
type: "enum";
|
|
2370
|
+
values: string[];
|
|
2371
|
+
id: string;
|
|
2372
|
+
required: boolean;
|
|
2373
|
+
}[];
|
|
2374
|
+
};
|
|
2668
2375
|
parser_requirements: {
|
|
2669
2376
|
protocol: "context.indexer.parser-requirement/v1";
|
|
2670
2377
|
capability: string;
|
|
@@ -2691,14 +2398,14 @@ export declare const indexerProfileContractSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2691
2398
|
thresholds: Record<string, {
|
|
2692
2399
|
recommended_max: number;
|
|
2693
2400
|
}>;
|
|
2694
|
-
eligibility: {
|
|
2695
|
-
protocol: "context.indexer.selector/v1";
|
|
2696
|
-
expression: import("./indexerRestrictedSelector.js").IndexerRestrictedSelectorExpression;
|
|
2697
|
-
};
|
|
2698
2401
|
artifact_kinds: {
|
|
2699
2402
|
required: string[];
|
|
2700
2403
|
discretionary: string[];
|
|
2701
2404
|
};
|
|
2405
|
+
eligibility: {
|
|
2406
|
+
protocol: "context.indexer.selector/v1";
|
|
2407
|
+
expression: import("./indexerRestrictedSelector.js").IndexerRestrictedSelectorExpression;
|
|
2408
|
+
};
|
|
2702
2409
|
}[];
|
|
2703
2410
|
question_target_domains: {
|
|
2704
2411
|
id: string;
|
|
@@ -2706,8 +2413,6 @@ export declare const indexerProfileContractSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2706
2413
|
operator: string;
|
|
2707
2414
|
parameters?: Record<string, IndexerJson> | undefined;
|
|
2708
2415
|
};
|
|
2709
|
-
grouping_operator: string;
|
|
2710
|
-
subject_key_kind: string;
|
|
2711
2416
|
granularity: "module" | "identity";
|
|
2712
2417
|
}[];
|
|
2713
2418
|
reader_question_contracts: {
|
|
@@ -2732,42 +2437,20 @@ export declare const indexerProfileContractSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2732
2437
|
allowed_exclusion_reason_codes?: string[] | undefined;
|
|
2733
2438
|
}[];
|
|
2734
2439
|
layout_mappings: {
|
|
2440
|
+
collection: import("./contracts.js").TopLevelNamespace;
|
|
2735
2441
|
document_kind: string;
|
|
2736
2442
|
reader_goal: string;
|
|
2737
2443
|
artifact_kinds: string[];
|
|
2738
2444
|
source_roles: string[];
|
|
2739
|
-
collection: import("./contracts.js").TopLevelNamespace;
|
|
2740
|
-
}[];
|
|
2741
|
-
variant_schema: {
|
|
2742
|
-
axes: {
|
|
2743
|
-
type: "enum";
|
|
2744
|
-
values: string[];
|
|
2745
|
-
id: string;
|
|
2746
|
-
required: boolean;
|
|
2747
|
-
}[];
|
|
2748
|
-
};
|
|
2749
|
-
}[];
|
|
2750
|
-
subject_key_schemas: {
|
|
2751
|
-
namespace: {
|
|
2752
|
-
operator: "canonical-source-module-namespace" | "canonical-service-namespace" | "canonical-module-identity" | "canonical-export-family";
|
|
2753
|
-
};
|
|
2754
|
-
version: number;
|
|
2755
|
-
profile: string;
|
|
2756
|
-
kinds: {
|
|
2757
|
-
id: string;
|
|
2758
|
-
local_key: {
|
|
2759
|
-
operator: "canonical-source-module-namespace" | "canonical-service-namespace" | "canonical-module-identity" | "canonical-export-family";
|
|
2760
|
-
};
|
|
2761
2445
|
}[];
|
|
2762
|
-
normalization?: ("trim" | "unicode-nfc" | "preserve-case" | "lowercase")[] | undefined;
|
|
2763
2446
|
}[];
|
|
2447
|
+
operator_contract_version: string;
|
|
2448
|
+
operator_contract_digest: string;
|
|
2764
2449
|
}>, {
|
|
2765
2450
|
contract_digest: string;
|
|
2766
2451
|
coverage_domains: ("technical-structure" | "public-contract" | "business-semantics" | "operations")[];
|
|
2767
2452
|
protocol: "context.indexer.profile-contract/v1";
|
|
2768
2453
|
version: string;
|
|
2769
|
-
operator_contract_version: string;
|
|
2770
|
-
operator_contract_digest: string;
|
|
2771
2454
|
profiles: {
|
|
2772
2455
|
id: string;
|
|
2773
2456
|
metrics: ({
|
|
@@ -2793,6 +2476,14 @@ export declare const indexerProfileContractSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2793
2476
|
threshold_policy: "inflation-sensitive";
|
|
2794
2477
|
direction: "maximum";
|
|
2795
2478
|
})[];
|
|
2479
|
+
variant_schema: {
|
|
2480
|
+
axes: {
|
|
2481
|
+
type: "enum";
|
|
2482
|
+
values: string[];
|
|
2483
|
+
id: string;
|
|
2484
|
+
required: boolean;
|
|
2485
|
+
}[];
|
|
2486
|
+
};
|
|
2796
2487
|
parser_requirements: {
|
|
2797
2488
|
protocol: "context.indexer.parser-requirement/v1";
|
|
2798
2489
|
capability: string;
|
|
@@ -2819,14 +2510,14 @@ export declare const indexerProfileContractSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2819
2510
|
thresholds: Record<string, {
|
|
2820
2511
|
recommended_max: number;
|
|
2821
2512
|
}>;
|
|
2822
|
-
eligibility: {
|
|
2823
|
-
protocol: "context.indexer.selector/v1";
|
|
2824
|
-
expression: import("./indexerRestrictedSelector.js").IndexerRestrictedSelectorExpression;
|
|
2825
|
-
};
|
|
2826
2513
|
artifact_kinds: {
|
|
2827
2514
|
required: string[];
|
|
2828
2515
|
discretionary: string[];
|
|
2829
2516
|
};
|
|
2517
|
+
eligibility: {
|
|
2518
|
+
protocol: "context.indexer.selector/v1";
|
|
2519
|
+
expression: import("./indexerRestrictedSelector.js").IndexerRestrictedSelectorExpression;
|
|
2520
|
+
};
|
|
2830
2521
|
}[];
|
|
2831
2522
|
question_target_domains: {
|
|
2832
2523
|
id: string;
|
|
@@ -2834,8 +2525,6 @@ export declare const indexerProfileContractSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2834
2525
|
operator: string;
|
|
2835
2526
|
parameters?: Record<string, IndexerJson> | undefined;
|
|
2836
2527
|
};
|
|
2837
|
-
grouping_operator: string;
|
|
2838
|
-
subject_key_kind: string;
|
|
2839
2528
|
granularity: "module" | "identity";
|
|
2840
2529
|
}[];
|
|
2841
2530
|
reader_question_contracts: {
|
|
@@ -2860,42 +2549,20 @@ export declare const indexerProfileContractSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2860
2549
|
allowed_exclusion_reason_codes?: string[] | undefined;
|
|
2861
2550
|
}[];
|
|
2862
2551
|
layout_mappings: {
|
|
2552
|
+
collection: import("./contracts.js").TopLevelNamespace;
|
|
2863
2553
|
document_kind: string;
|
|
2864
2554
|
reader_goal: string;
|
|
2865
2555
|
artifact_kinds: string[];
|
|
2866
2556
|
source_roles: string[];
|
|
2867
|
-
collection: import("./contracts.js").TopLevelNamespace;
|
|
2868
|
-
}[];
|
|
2869
|
-
variant_schema: {
|
|
2870
|
-
axes: {
|
|
2871
|
-
type: "enum";
|
|
2872
|
-
values: string[];
|
|
2873
|
-
id: string;
|
|
2874
|
-
required: boolean;
|
|
2875
|
-
}[];
|
|
2876
|
-
};
|
|
2877
|
-
}[];
|
|
2878
|
-
subject_key_schemas: {
|
|
2879
|
-
namespace: {
|
|
2880
|
-
operator: "canonical-source-module-namespace" | "canonical-service-namespace" | "canonical-module-identity" | "canonical-export-family";
|
|
2881
|
-
};
|
|
2882
|
-
version: number;
|
|
2883
|
-
profile: string;
|
|
2884
|
-
kinds: {
|
|
2885
|
-
id: string;
|
|
2886
|
-
local_key: {
|
|
2887
|
-
operator: "canonical-source-module-namespace" | "canonical-service-namespace" | "canonical-module-identity" | "canonical-export-family";
|
|
2888
|
-
};
|
|
2889
2557
|
}[];
|
|
2890
|
-
normalization?: ("trim" | "unicode-nfc" | "preserve-case" | "lowercase")[] | undefined;
|
|
2891
2558
|
}[];
|
|
2559
|
+
operator_contract_version: string;
|
|
2560
|
+
operator_contract_digest: string;
|
|
2892
2561
|
}, {
|
|
2893
2562
|
contract_digest: string;
|
|
2894
2563
|
coverage_domains: ("technical-structure" | "public-contract" | "business-semantics" | "operations")[];
|
|
2895
2564
|
protocol: "context.indexer.profile-contract/v1";
|
|
2896
2565
|
version: string;
|
|
2897
|
-
operator_contract_version: string;
|
|
2898
|
-
operator_contract_digest: string;
|
|
2899
2566
|
profiles: {
|
|
2900
2567
|
id: string;
|
|
2901
2568
|
metrics: ({
|
|
@@ -2921,6 +2588,14 @@ export declare const indexerProfileContractSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2921
2588
|
threshold_policy: "inflation-sensitive";
|
|
2922
2589
|
direction: "maximum";
|
|
2923
2590
|
})[];
|
|
2591
|
+
variant_schema: {
|
|
2592
|
+
axes: {
|
|
2593
|
+
type: "enum";
|
|
2594
|
+
values: string[];
|
|
2595
|
+
id: string;
|
|
2596
|
+
required: boolean;
|
|
2597
|
+
}[];
|
|
2598
|
+
};
|
|
2924
2599
|
parser_requirements: {
|
|
2925
2600
|
protocol: "context.indexer.parser-requirement/v1";
|
|
2926
2601
|
capability: string;
|
|
@@ -2947,14 +2622,14 @@ export declare const indexerProfileContractSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2947
2622
|
thresholds: Record<string, {
|
|
2948
2623
|
recommended_max: number;
|
|
2949
2624
|
}>;
|
|
2950
|
-
eligibility: {
|
|
2951
|
-
protocol: "context.indexer.selector/v1";
|
|
2952
|
-
expression: import("./indexerRestrictedSelector.js").IndexerRestrictedSelectorExpression;
|
|
2953
|
-
};
|
|
2954
2625
|
artifact_kinds: {
|
|
2955
2626
|
required: string[];
|
|
2956
2627
|
discretionary: string[];
|
|
2957
2628
|
};
|
|
2629
|
+
eligibility: {
|
|
2630
|
+
protocol: "context.indexer.selector/v1";
|
|
2631
|
+
expression: import("./indexerRestrictedSelector.js").IndexerRestrictedSelectorExpression;
|
|
2632
|
+
};
|
|
2958
2633
|
}[];
|
|
2959
2634
|
question_target_domains: {
|
|
2960
2635
|
id: string;
|
|
@@ -2962,8 +2637,6 @@ export declare const indexerProfileContractSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2962
2637
|
operator: string;
|
|
2963
2638
|
parameters?: Record<string, IndexerJson> | undefined;
|
|
2964
2639
|
};
|
|
2965
|
-
grouping_operator: string;
|
|
2966
|
-
subject_key_kind: string;
|
|
2967
2640
|
granularity: "module" | "identity";
|
|
2968
2641
|
}[];
|
|
2969
2642
|
reader_question_contracts: {
|
|
@@ -2988,43 +2661,21 @@ export declare const indexerProfileContractSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2988
2661
|
allowed_exclusion_reason_codes?: string[] | undefined;
|
|
2989
2662
|
}[];
|
|
2990
2663
|
layout_mappings: {
|
|
2664
|
+
collection: import("./contracts.js").TopLevelNamespace;
|
|
2991
2665
|
document_kind: string;
|
|
2992
2666
|
reader_goal: string;
|
|
2993
2667
|
artifact_kinds: string[];
|
|
2994
2668
|
source_roles: string[];
|
|
2995
|
-
collection: import("./contracts.js").TopLevelNamespace;
|
|
2996
|
-
}[];
|
|
2997
|
-
variant_schema: {
|
|
2998
|
-
axes: {
|
|
2999
|
-
type: "enum";
|
|
3000
|
-
values: string[];
|
|
3001
|
-
id: string;
|
|
3002
|
-
required: boolean;
|
|
3003
|
-
}[];
|
|
3004
|
-
};
|
|
3005
|
-
}[];
|
|
3006
|
-
subject_key_schemas: {
|
|
3007
|
-
namespace: {
|
|
3008
|
-
operator: "canonical-source-module-namespace" | "canonical-service-namespace" | "canonical-module-identity" | "canonical-export-family";
|
|
3009
|
-
};
|
|
3010
|
-
version: number;
|
|
3011
|
-
profile: string;
|
|
3012
|
-
kinds: {
|
|
3013
|
-
id: string;
|
|
3014
|
-
local_key: {
|
|
3015
|
-
operator: "canonical-source-module-namespace" | "canonical-service-namespace" | "canonical-module-identity" | "canonical-export-family";
|
|
3016
|
-
};
|
|
3017
2669
|
}[];
|
|
3018
|
-
normalization?: ("trim" | "unicode-nfc" | "preserve-case" | "lowercase")[] | undefined;
|
|
3019
2670
|
}[];
|
|
2671
|
+
operator_contract_version: string;
|
|
2672
|
+
operator_contract_digest: string;
|
|
3020
2673
|
}>;
|
|
3021
2674
|
export type IndexerOperatorContract = z.infer<typeof indexerOperatorContractSchema>;
|
|
3022
2675
|
export type IndexerMetricContract = z.infer<typeof indexerMetricContractSchema>;
|
|
3023
2676
|
export type IndexerArtifactPolicyVariant = z.infer<typeof indexerArtifactPolicyVariantSchema>;
|
|
3024
2677
|
export type IndexerLayoutMapping = z.infer<typeof indexerLayoutMappingSchema>;
|
|
3025
2678
|
export type IndexerReaderQuestionContract = z.infer<typeof indexerReaderQuestionContractSchema>;
|
|
3026
|
-
export type IndexerSubjectKeyContract = z.infer<typeof indexerSubjectKeyContractSchema>;
|
|
3027
|
-
export type IndexerProfileSubjectKey = z.infer<typeof indexerProfileSubjectKeySchema>;
|
|
3028
2679
|
export type IndexerProfileContractEntry = z.infer<typeof indexerProfileContractEntrySchema>;
|
|
3029
2680
|
export type IndexerProfileContract = z.infer<typeof indexerProfileContractSchema>;
|
|
3030
2681
|
export declare function indexerOperatorContractDigest(contract: Omit<IndexerOperatorContract, "contract_digest">): string;
|