@c4a/context 0.6.19 → 0.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (120) hide show
  1. package/README.md +1 -1
  2. package/README.zh-CN.md +1 -1
  3. package/codeIndexPlan.d.ts +34 -0
  4. package/docs/README.md +7 -0
  5. package/docs/README.zh-CN.md +5 -0
  6. package/docs/guides/code-indexer-skill-authoring.md +124 -0
  7. package/docs/guides/indexer-provider-and-customization.md +140 -0
  8. package/docs/guides/markdown-indexer-skill-authoring.md +118 -0
  9. package/docs/reference/code-extractors.md +2 -2
  10. package/docs/reference/indexer-provider-protocol.md +819 -0
  11. package/docs/reference/project-api.md +2 -2
  12. package/index.d.ts +47 -1
  13. package/index.js +28239 -3952
  14. package/indexerAgentStepProtocol.d.ts +9391 -0
  15. package/indexerArtifactDependencies.d.ts +689 -0
  16. package/indexerArtifactPolicy.d.ts +335 -0
  17. package/indexerArtifactResult.d.ts +2010 -0
  18. package/indexerAuditFacts.d.ts +66 -0
  19. package/indexerAuditOverrideReadiness.d.ts +27 -0
  20. package/indexerAuditProtocol.d.ts +238 -0
  21. package/indexerAuditRevision.d.ts +726 -0
  22. package/indexerAuditRevisionActions.d.ts +236 -0
  23. package/indexerAuthoringFixture.d.ts +152 -0
  24. package/indexerBaseQuestionAmendment.d.ts +2403 -0
  25. package/indexerBenchmark.d.ts +1062 -0
  26. package/indexerCandidateCompile.d.ts +801 -0
  27. package/indexerCapabilityGroupEvidence.d.ts +129 -0
  28. package/indexerCatalogFallback.d.ts +1262 -0
  29. package/indexerCollectionMapping.d.ts +75 -0
  30. package/indexerContentLayers.d.ts +137 -0
  31. package/indexerControlledInvocation.d.ts +512 -0
  32. package/indexerControlledProgram.d.ts +12535 -0
  33. package/indexerCoreExports.d.ts +21 -0
  34. package/indexerCustomizationDraft.d.ts +13800 -0
  35. package/indexerCustomizationLadder.d.ts +103 -0
  36. package/indexerDependencyView.d.ts +1610 -0
  37. package/indexerEvidenceAdapterResult.d.ts +504 -0
  38. package/indexerExampleDecision.d.ts +1606 -0
  39. package/indexerExampleIdentity.d.ts +132 -0
  40. package/indexerExampleIdentityAudit.d.ts +70 -0
  41. package/indexerExampleLinkageAudit.d.ts +80 -0
  42. package/indexerGeneratedAuthoringAudit.d.ts +208 -0
  43. package/indexerIncrementalImpact.d.ts +221 -0
  44. package/indexerInventoryDisposition.d.ts +443 -0
  45. package/indexerLayerComposition.d.ts +1652 -0
  46. package/indexerLayoutChange.d.ts +329 -0
  47. package/indexerLayoutProposalSet.d.ts +447 -0
  48. package/indexerLayoutResolver.d.ts +342 -0
  49. package/indexerLayoutTransition.d.ts +247 -0
  50. package/indexerLifecycle.d.ts +53 -0
  51. package/indexerMainLifecycle.d.ts +258 -0
  52. package/indexerMainRunLedger.d.ts +888 -0
  53. package/indexerMainRunProtocol.d.ts +6471 -0
  54. package/indexerMainWorkset.d.ts +2141 -0
  55. package/indexerMaterialAnswer.d.ts +738 -0
  56. package/indexerMaterialAnswerActualization.d.ts +91 -0
  57. package/indexerMaterialAnswerExecutionPlan.d.ts +2887 -0
  58. package/indexerMaterialAnswerFlow.d.ts +63 -0
  59. package/indexerMaterialAnswerLayout.d.ts +76 -0
  60. package/indexerMaterialAnswerReview.d.ts +217 -0
  61. package/indexerMaterialAnswerReviewRoute.d.ts +6145 -0
  62. package/indexerMaterialAnswerRunLedger.d.ts +918 -0
  63. package/indexerMaterialAnswerRunProtocol.d.ts +1253 -0
  64. package/indexerMaterialGapLedger.d.ts +3111 -0
  65. package/indexerMaterialQuestionExclusion.d.ts +129 -0
  66. package/indexerMaterialQuestionWorkset.d.ts +508 -0
  67. package/indexerNavigationArtifactGraph.d.ts +5 -0
  68. package/indexerNavigationArtifactPlan.d.ts +39 -0
  69. package/indexerOverlayQuestionAmendment.d.ts +2551 -0
  70. package/indexerOverlayQuestionApplyProposal.d.ts +4697 -0
  71. package/indexerOverlayTrust.d.ts +1425 -0
  72. package/indexerParserCoordinate.d.ts +222 -0
  73. package/indexerParserFactView.d.ts +503 -0
  74. package/indexerPartitionConvergence.d.ts +496 -0
  75. package/indexerPartitionPlan.d.ts +919 -0
  76. package/indexerPartitionStrategyResolution.d.ts +594 -0
  77. package/indexerPhysicalArtifactAudit.d.ts +247 -0
  78. package/indexerPhysicalArtifactManifest.d.ts +449 -0
  79. package/indexerPlannedMaterialAnswer.d.ts +116 -0
  80. package/indexerPostAuthorComposition.d.ts +2000 -0
  81. package/indexerPostAuthorRunLedger.d.ts +1972 -0
  82. package/indexerPrimaryProjection.d.ts +262 -0
  83. package/indexerProfileContract.d.ts +3034 -0
  84. package/indexerProfileMetricAudit.d.ts +218 -0
  85. package/indexerProgramExecutionAuthorization.d.ts +227 -0
  86. package/indexerProgramRunProtocol.d.ts +7642 -0
  87. package/indexerProjectProposal.d.ts +2807 -0
  88. package/indexerProjectedArtifactFanOutAudit.d.ts +159 -0
  89. package/indexerProjectedArtifactPlan.d.ts +217 -0
  90. package/indexerProtocolCommon.d.ts +29 -0
  91. package/indexerProvider.d.ts +2573 -0
  92. package/indexerProviderComposition.d.ts +1357 -0
  93. package/indexerProviderContractReferences.d.ts +13 -0
  94. package/indexerProviderProfileResolution.d.ts +20 -0
  95. package/indexerProviderResolution.d.ts +752 -0
  96. package/indexerProviderResolutionAction.d.ts +678 -0
  97. package/indexerProviderRouting.d.ts +3909 -0
  98. package/indexerProviderSelectionProposal.d.ts +3311 -0
  99. package/indexerQuestionAuthority.d.ts +419 -0
  100. package/indexerReaderTargetInventory.d.ts +161 -0
  101. package/indexerReferenceOnlyAudit.d.ts +90 -0
  102. package/indexerRegistry.d.ts +3019 -0
  103. package/indexerRequirementComparison.d.ts +44 -0
  104. package/indexerRequirementConfirmation.d.ts +1193 -0
  105. package/indexerRequirementLifecycle.d.ts +3314 -0
  106. package/indexerRestrictedSelector.d.ts +63 -0
  107. package/indexerResultReconciliation.d.ts +6844 -0
  108. package/indexerResultReconciliationRun.d.ts +15 -0
  109. package/indexerRunEnvelope.d.ts +384 -0
  110. package/indexerRunProtocolCommon.d.ts +21 -0
  111. package/indexerSharedArtifactFingerprint.d.ts +33 -0
  112. package/indexerStructuredDeclaration.d.ts +513 -0
  113. package/indexerSubjectCatalog.d.ts +230 -0
  114. package/indexerSubjectIdentity.d.ts +19 -0
  115. package/indexerSubjectKeyAuthority.d.ts +785 -0
  116. package/indexerTemplateRendering.d.ts +485 -0
  117. package/indexerToolSnapshot.d.ts +431 -0
  118. package/indexerWorksetRead.d.ts +287 -0
  119. package/package.json +1 -1
  120. package/phases.d.ts +1 -1
@@ -0,0 +1,504 @@
1
+ import { z } from "zod";
2
+ export declare const indexerEvidenceAdapterResultSchema: z.ZodEffects<z.ZodObject<{
3
+ protocol: z.ZodLiteral<"context.indexer.evidence-adapter-result/v1">;
4
+ adapter: z.ZodObject<{
5
+ id: z.ZodEffects<z.ZodString, string, string>;
6
+ package: z.ZodString;
7
+ export: z.ZodString;
8
+ version: z.ZodString;
9
+ digest: z.ZodString;
10
+ }, "strict", z.ZodTypeAny, {
11
+ id: string;
12
+ export: string;
13
+ digest: string;
14
+ package: string;
15
+ version: string;
16
+ }, {
17
+ id: string;
18
+ export: string;
19
+ digest: string;
20
+ package: string;
21
+ version: string;
22
+ }>;
23
+ authorized_scope: z.ZodObject<{
24
+ source_ref: z.ZodString;
25
+ module_refs: z.ZodArray<z.ZodString, "many">;
26
+ scope_digest: z.ZodString;
27
+ }, "strict", z.ZodTypeAny, {
28
+ source_ref: string;
29
+ module_refs: string[];
30
+ scope_digest: string;
31
+ }, {
32
+ source_ref: string;
33
+ module_refs: string[];
34
+ scope_digest: string;
35
+ }>;
36
+ input_digest: z.ZodString;
37
+ precedence: z.ZodNumber;
38
+ files: z.ZodArray<z.ZodEffects<z.ZodObject<{
39
+ file_ref: z.ZodString;
40
+ source_ref: z.ZodString;
41
+ module_ref: z.ZodNullable<z.ZodString>;
42
+ normalized_path: z.ZodEffects<z.ZodString, string, string>;
43
+ role: z.ZodEnum<["primary-owner", "enricher"]>;
44
+ coverage_tier: z.ZodEnum<["ast-catalog", "lightweight-evidence"]>;
45
+ disposition: z.ZodEnum<["analyzed", "unsupported", "excluded"]>;
46
+ facts: z.ZodArray<z.ZodObject<{
47
+ fact_ref: z.ZodString;
48
+ kind: z.ZodEffects<z.ZodString, string, string>;
49
+ locator: z.ZodObject<{
50
+ source_ref: z.ZodString;
51
+ module_ref: z.ZodNullable<z.ZodString>;
52
+ normalized_path: z.ZodEffects<z.ZodString, string, string>;
53
+ qualified_item_path: z.ZodString;
54
+ signature_digest: z.ZodString;
55
+ }, "strict", z.ZodTypeAny, {
56
+ source_ref: string;
57
+ module_ref: string | null;
58
+ normalized_path: string;
59
+ qualified_item_path: string;
60
+ signature_digest: string;
61
+ }, {
62
+ source_ref: string;
63
+ module_ref: string | null;
64
+ normalized_path: string;
65
+ qualified_item_path: string;
66
+ signature_digest: string;
67
+ }>;
68
+ payload_digest: z.ZodString;
69
+ denominator: z.ZodEnum<["none", "eligible-file", "loc", "symbol", "protocol-item"]>;
70
+ }, "strict", z.ZodTypeAny, {
71
+ kind: string;
72
+ locator: {
73
+ source_ref: string;
74
+ module_ref: string | null;
75
+ normalized_path: string;
76
+ qualified_item_path: string;
77
+ signature_digest: string;
78
+ };
79
+ payload_digest: string;
80
+ fact_ref: string;
81
+ denominator: "symbol" | "none" | "eligible-file" | "loc" | "protocol-item";
82
+ }, {
83
+ kind: string;
84
+ locator: {
85
+ source_ref: string;
86
+ module_ref: string | null;
87
+ normalized_path: string;
88
+ qualified_item_path: string;
89
+ signature_digest: string;
90
+ };
91
+ payload_digest: string;
92
+ fact_ref: string;
93
+ denominator: "symbol" | "none" | "eligible-file" | "loc" | "protocol-item";
94
+ }>, "many">;
95
+ }, "strict", z.ZodTypeAny, {
96
+ source_ref: string;
97
+ role: "enricher" | "primary-owner";
98
+ facts: {
99
+ kind: string;
100
+ locator: {
101
+ source_ref: string;
102
+ module_ref: string | null;
103
+ normalized_path: string;
104
+ qualified_item_path: string;
105
+ signature_digest: string;
106
+ };
107
+ payload_digest: string;
108
+ fact_ref: string;
109
+ denominator: "symbol" | "none" | "eligible-file" | "loc" | "protocol-item";
110
+ }[];
111
+ module_ref: string | null;
112
+ normalized_path: string;
113
+ file_ref: string;
114
+ coverage_tier: "ast-catalog" | "lightweight-evidence";
115
+ disposition: "analyzed" | "unsupported" | "excluded";
116
+ }, {
117
+ source_ref: string;
118
+ role: "enricher" | "primary-owner";
119
+ facts: {
120
+ kind: string;
121
+ locator: {
122
+ source_ref: string;
123
+ module_ref: string | null;
124
+ normalized_path: string;
125
+ qualified_item_path: string;
126
+ signature_digest: string;
127
+ };
128
+ payload_digest: string;
129
+ fact_ref: string;
130
+ denominator: "symbol" | "none" | "eligible-file" | "loc" | "protocol-item";
131
+ }[];
132
+ module_ref: string | null;
133
+ normalized_path: string;
134
+ file_ref: string;
135
+ coverage_tier: "ast-catalog" | "lightweight-evidence";
136
+ disposition: "analyzed" | "unsupported" | "excluded";
137
+ }>, {
138
+ source_ref: string;
139
+ role: "enricher" | "primary-owner";
140
+ facts: {
141
+ kind: string;
142
+ locator: {
143
+ source_ref: string;
144
+ module_ref: string | null;
145
+ normalized_path: string;
146
+ qualified_item_path: string;
147
+ signature_digest: string;
148
+ };
149
+ payload_digest: string;
150
+ fact_ref: string;
151
+ denominator: "symbol" | "none" | "eligible-file" | "loc" | "protocol-item";
152
+ }[];
153
+ module_ref: string | null;
154
+ normalized_path: string;
155
+ file_ref: string;
156
+ coverage_tier: "ast-catalog" | "lightweight-evidence";
157
+ disposition: "analyzed" | "unsupported" | "excluded";
158
+ }, {
159
+ source_ref: string;
160
+ role: "enricher" | "primary-owner";
161
+ facts: {
162
+ kind: string;
163
+ locator: {
164
+ source_ref: string;
165
+ module_ref: string | null;
166
+ normalized_path: string;
167
+ qualified_item_path: string;
168
+ signature_digest: string;
169
+ };
170
+ payload_digest: string;
171
+ fact_ref: string;
172
+ denominator: "symbol" | "none" | "eligible-file" | "loc" | "protocol-item";
173
+ }[];
174
+ module_ref: string | null;
175
+ normalized_path: string;
176
+ file_ref: string;
177
+ coverage_tier: "ast-catalog" | "lightweight-evidence";
178
+ disposition: "analyzed" | "unsupported" | "excluded";
179
+ }>, "many">;
180
+ diagnostics: z.ZodArray<z.ZodObject<{
181
+ code: z.ZodEffects<z.ZodString, string, string>;
182
+ fact_ref: z.ZodOptional<z.ZodString>;
183
+ severity: z.ZodEnum<["info", "warning", "error"]>;
184
+ detail_digest: z.ZodString;
185
+ }, "strict", z.ZodTypeAny, {
186
+ code: string;
187
+ severity: "error" | "info" | "warning";
188
+ detail_digest: string;
189
+ fact_ref?: string | undefined;
190
+ }, {
191
+ code: string;
192
+ severity: "error" | "info" | "warning";
193
+ detail_digest: string;
194
+ fact_ref?: string | undefined;
195
+ }>, "many">;
196
+ toolchain: z.ZodArray<z.ZodEffects<z.ZodObject<{
197
+ step: z.ZodEffects<z.ZodString, string, string>;
198
+ package: z.ZodString;
199
+ export: z.ZodString;
200
+ version: z.ZodString;
201
+ digest: z.ZodString;
202
+ capabilities: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
203
+ input_digest: z.ZodString;
204
+ output_digest: z.ZodString;
205
+ }, "strict", z.ZodTypeAny, {
206
+ export: string;
207
+ digest: string;
208
+ package: string;
209
+ version: string;
210
+ step: string;
211
+ capabilities: string[];
212
+ input_digest: string;
213
+ output_digest: string;
214
+ }, {
215
+ export: string;
216
+ digest: string;
217
+ package: string;
218
+ version: string;
219
+ step: string;
220
+ capabilities: string[];
221
+ input_digest: string;
222
+ output_digest: string;
223
+ }>, {
224
+ export: string;
225
+ digest: string;
226
+ package: string;
227
+ version: string;
228
+ step: string;
229
+ capabilities: string[];
230
+ input_digest: string;
231
+ output_digest: string;
232
+ }, {
233
+ export: string;
234
+ digest: string;
235
+ package: string;
236
+ version: string;
237
+ step: string;
238
+ capabilities: string[];
239
+ input_digest: string;
240
+ output_digest: string;
241
+ }>, "many">;
242
+ output_digest: z.ZodString;
243
+ }, "strict", z.ZodTypeAny, {
244
+ adapter: {
245
+ id: string;
246
+ export: string;
247
+ digest: string;
248
+ package: string;
249
+ version: string;
250
+ };
251
+ protocol: "context.indexer.evidence-adapter-result/v1";
252
+ files: {
253
+ source_ref: string;
254
+ role: "enricher" | "primary-owner";
255
+ facts: {
256
+ kind: string;
257
+ locator: {
258
+ source_ref: string;
259
+ module_ref: string | null;
260
+ normalized_path: string;
261
+ qualified_item_path: string;
262
+ signature_digest: string;
263
+ };
264
+ payload_digest: string;
265
+ fact_ref: string;
266
+ denominator: "symbol" | "none" | "eligible-file" | "loc" | "protocol-item";
267
+ }[];
268
+ module_ref: string | null;
269
+ normalized_path: string;
270
+ file_ref: string;
271
+ coverage_tier: "ast-catalog" | "lightweight-evidence";
272
+ disposition: "analyzed" | "unsupported" | "excluded";
273
+ }[];
274
+ input_digest: string;
275
+ output_digest: string;
276
+ authorized_scope: {
277
+ source_ref: string;
278
+ module_refs: string[];
279
+ scope_digest: string;
280
+ };
281
+ precedence: number;
282
+ diagnostics: {
283
+ code: string;
284
+ severity: "error" | "info" | "warning";
285
+ detail_digest: string;
286
+ fact_ref?: string | undefined;
287
+ }[];
288
+ toolchain: {
289
+ export: string;
290
+ digest: string;
291
+ package: string;
292
+ version: string;
293
+ step: string;
294
+ capabilities: string[];
295
+ input_digest: string;
296
+ output_digest: string;
297
+ }[];
298
+ }, {
299
+ adapter: {
300
+ id: string;
301
+ export: string;
302
+ digest: string;
303
+ package: string;
304
+ version: string;
305
+ };
306
+ protocol: "context.indexer.evidence-adapter-result/v1";
307
+ files: {
308
+ source_ref: string;
309
+ role: "enricher" | "primary-owner";
310
+ facts: {
311
+ kind: string;
312
+ locator: {
313
+ source_ref: string;
314
+ module_ref: string | null;
315
+ normalized_path: string;
316
+ qualified_item_path: string;
317
+ signature_digest: string;
318
+ };
319
+ payload_digest: string;
320
+ fact_ref: string;
321
+ denominator: "symbol" | "none" | "eligible-file" | "loc" | "protocol-item";
322
+ }[];
323
+ module_ref: string | null;
324
+ normalized_path: string;
325
+ file_ref: string;
326
+ coverage_tier: "ast-catalog" | "lightweight-evidence";
327
+ disposition: "analyzed" | "unsupported" | "excluded";
328
+ }[];
329
+ input_digest: string;
330
+ output_digest: string;
331
+ authorized_scope: {
332
+ source_ref: string;
333
+ module_refs: string[];
334
+ scope_digest: string;
335
+ };
336
+ precedence: number;
337
+ diagnostics: {
338
+ code: string;
339
+ severity: "error" | "info" | "warning";
340
+ detail_digest: string;
341
+ fact_ref?: string | undefined;
342
+ }[];
343
+ toolchain: {
344
+ export: string;
345
+ digest: string;
346
+ package: string;
347
+ version: string;
348
+ step: string;
349
+ capabilities: string[];
350
+ input_digest: string;
351
+ output_digest: string;
352
+ }[];
353
+ }>, {
354
+ adapter: {
355
+ id: string;
356
+ export: string;
357
+ digest: string;
358
+ package: string;
359
+ version: string;
360
+ };
361
+ protocol: "context.indexer.evidence-adapter-result/v1";
362
+ files: {
363
+ source_ref: string;
364
+ role: "enricher" | "primary-owner";
365
+ facts: {
366
+ kind: string;
367
+ locator: {
368
+ source_ref: string;
369
+ module_ref: string | null;
370
+ normalized_path: string;
371
+ qualified_item_path: string;
372
+ signature_digest: string;
373
+ };
374
+ payload_digest: string;
375
+ fact_ref: string;
376
+ denominator: "symbol" | "none" | "eligible-file" | "loc" | "protocol-item";
377
+ }[];
378
+ module_ref: string | null;
379
+ normalized_path: string;
380
+ file_ref: string;
381
+ coverage_tier: "ast-catalog" | "lightweight-evidence";
382
+ disposition: "analyzed" | "unsupported" | "excluded";
383
+ }[];
384
+ input_digest: string;
385
+ output_digest: string;
386
+ authorized_scope: {
387
+ source_ref: string;
388
+ module_refs: string[];
389
+ scope_digest: string;
390
+ };
391
+ precedence: number;
392
+ diagnostics: {
393
+ code: string;
394
+ severity: "error" | "info" | "warning";
395
+ detail_digest: string;
396
+ fact_ref?: string | undefined;
397
+ }[];
398
+ toolchain: {
399
+ export: string;
400
+ digest: string;
401
+ package: string;
402
+ version: string;
403
+ step: string;
404
+ capabilities: string[];
405
+ input_digest: string;
406
+ output_digest: string;
407
+ }[];
408
+ }, {
409
+ adapter: {
410
+ id: string;
411
+ export: string;
412
+ digest: string;
413
+ package: string;
414
+ version: string;
415
+ };
416
+ protocol: "context.indexer.evidence-adapter-result/v1";
417
+ files: {
418
+ source_ref: string;
419
+ role: "enricher" | "primary-owner";
420
+ facts: {
421
+ kind: string;
422
+ locator: {
423
+ source_ref: string;
424
+ module_ref: string | null;
425
+ normalized_path: string;
426
+ qualified_item_path: string;
427
+ signature_digest: string;
428
+ };
429
+ payload_digest: string;
430
+ fact_ref: string;
431
+ denominator: "symbol" | "none" | "eligible-file" | "loc" | "protocol-item";
432
+ }[];
433
+ module_ref: string | null;
434
+ normalized_path: string;
435
+ file_ref: string;
436
+ coverage_tier: "ast-catalog" | "lightweight-evidence";
437
+ disposition: "analyzed" | "unsupported" | "excluded";
438
+ }[];
439
+ input_digest: string;
440
+ output_digest: string;
441
+ authorized_scope: {
442
+ source_ref: string;
443
+ module_refs: string[];
444
+ scope_digest: string;
445
+ };
446
+ precedence: number;
447
+ diagnostics: {
448
+ code: string;
449
+ severity: "error" | "info" | "warning";
450
+ detail_digest: string;
451
+ fact_ref?: string | undefined;
452
+ }[];
453
+ toolchain: {
454
+ export: string;
455
+ digest: string;
456
+ package: string;
457
+ version: string;
458
+ step: string;
459
+ capabilities: string[];
460
+ input_digest: string;
461
+ output_digest: string;
462
+ }[];
463
+ }>;
464
+ export type IndexerEvidenceAdapterResult = z.infer<typeof indexerEvidenceAdapterResultSchema>;
465
+ export type IndexerEvidenceAdapterFile = IndexerEvidenceAdapterResult["files"][number];
466
+ export type IndexerEvidenceAdapterFact = IndexerEvidenceAdapterFile["facts"][number];
467
+ export declare function indexerEvidenceAdapterFileRef(input: {
468
+ source_ref: string;
469
+ module_ref: string | null;
470
+ normalized_path: string;
471
+ }): string;
472
+ export declare function indexerEvidenceAdapterFactRef(input: {
473
+ source_ref: string;
474
+ module_ref: string | null;
475
+ normalized_path: string;
476
+ qualified_item_path: string;
477
+ kind: string;
478
+ signature_digest: string;
479
+ }): string;
480
+ export declare function indexerEvidenceAdapterOutputDigest(value: Omit<IndexerEvidenceAdapterResult, "output_digest">): string;
481
+ export declare function validateIndexerEvidenceAdapterResult(value: unknown): IndexerEvidenceAdapterResult;
482
+ export interface IndexerEvidenceAdapterMerge {
483
+ protocol: "context.indexer.evidence-adapter-merge/v1";
484
+ result_digests: string[];
485
+ primary_owners: Array<{
486
+ file_ref: string;
487
+ adapter_id: string;
488
+ coverage_tier: string;
489
+ }>;
490
+ facts: Array<IndexerEvidenceAdapterFact & {
491
+ adapter_id: string;
492
+ precedence: number;
493
+ }>;
494
+ conflicts: Array<{
495
+ fact_ref: string;
496
+ winner_adapter_id: string;
497
+ shadowed_adapter_ids: string[];
498
+ }>;
499
+ merge_digest: string;
500
+ }
501
+ export declare function mergeIndexerEvidenceAdapterResults(input: {
502
+ results: readonly unknown[];
503
+ eligible_file_refs: readonly string[];
504
+ }): IndexerEvidenceAdapterMerge;