@c4a/context 0.7.0 → 0.7.4

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 (117) hide show
  1. package/README.md +65 -170
  2. package/README.zh-CN.md +52 -129
  3. package/docs/README.md +9 -10
  4. package/docs/README.zh-CN.md +6 -7
  5. package/docs/getting-started.md +73 -422
  6. package/docs/guides/agent-guide.md +94 -523
  7. package/docs/guides/code-indexer-skill-authoring.md +24 -13
  8. package/docs/guides/markdown-indexer-skill-authoring.md +14 -14
  9. package/docs/reference/code-extractors.md +29 -136
  10. package/docs/reference/indexer-provider-protocol.md +60 -138
  11. package/docs/reference/package-templates.md +2 -3
  12. package/docs/reference/project-api.md +52 -985
  13. package/index.d.ts +12 -10
  14. package/index.js +12749 -15335
  15. package/indexerAgentStepProtocol.d.ts +1366 -7649
  16. package/indexerArtifact.d.ts +225 -0
  17. package/indexerArtifactDependencies.d.ts +41 -39
  18. package/indexerArtifactResult.d.ts +221 -255
  19. package/indexerAuthorizedWorksetView.d.ts +368 -0
  20. package/indexerBaseQuestionAmendment.d.ts +484 -280
  21. package/indexerBenchmark.d.ts +16 -16
  22. package/indexerCandidateCompile.d.ts +206 -16
  23. package/indexerCapabilityGroupEvidence.d.ts +6 -6
  24. package/indexerCatalogFallback.d.ts +122 -128
  25. package/indexerCollectionMapping.d.ts +13 -13
  26. package/indexerContentLayers.d.ts +8 -8
  27. package/{indexerOverlayTrust.d.ts → indexerContractOverlay.d.ts} +23 -569
  28. package/indexerControlledInvocation.d.ts +12 -12
  29. package/indexerControlledProgram.d.ts +2467 -2797
  30. package/indexerCoreExports.d.ts +6 -6
  31. package/indexerCustomizationDraft.d.ts +3315 -2091
  32. package/indexerCustomizationLadder.d.ts +2 -2
  33. package/indexerDependencyView.d.ts +108 -108
  34. package/indexerEffectiveArtifact.d.ts +1134 -0
  35. package/indexerEvidenceAdapterAuthorityMerge.d.ts +48 -0
  36. package/indexerEvidenceAdapterResult.d.ts +52 -52
  37. package/indexerExampleDecision.d.ts +128 -128
  38. package/indexerExampleIdentity.d.ts +6 -6
  39. package/indexerGeneratedAuthoringAudit.d.ts +18 -18
  40. package/indexerIncrementalImpact.d.ts +16 -16
  41. package/indexerInspectorWorksetProjection.d.ts +6 -0
  42. package/indexerInventoryDisposition.d.ts +70 -70
  43. package/indexerLayerComposition.d.ts +2139 -373
  44. package/indexerLayoutChange.d.ts +10 -10
  45. package/indexerLayoutProposalSet.d.ts +71 -66
  46. package/indexerLayoutResolver.d.ts +53 -48
  47. package/indexerLayoutTransition.d.ts +0 -50
  48. package/indexerLifecycle.d.ts +0 -13
  49. package/indexerMainLifecycle.d.ts +10 -0
  50. package/indexerMainRunLedger.d.ts +138 -11
  51. package/indexerMainRunProtocol.d.ts +1406 -785
  52. package/indexerMainWorkset.d.ts +460 -206
  53. package/indexerMaterialGapLedger.d.ts +13 -2904
  54. package/indexerOverlayQuestionAmendment.d.ts +497 -293
  55. package/indexerOverlayQuestionApplyProposal.d.ts +1030 -622
  56. package/indexerParserCapabilityCatalog.d.ts +136 -0
  57. package/indexerParserCoordinate.d.ts +16 -16
  58. package/indexerParserDependencyIntent.d.ts +22 -0
  59. package/indexerParserExecutionPlan.d.ts +388 -0
  60. package/indexerParserFactView.d.ts +42 -22
  61. package/indexerPartitionConvergence.d.ts +0 -3
  62. package/indexerPartitionInventory.d.ts +2 -0
  63. package/indexerPartitionPlan.d.ts +101 -99
  64. package/indexerPhysicalArtifactManifest.d.ts +8 -8
  65. package/indexerPostAuthorComposition.d.ts +116 -1156
  66. package/indexerPostAuthorRunLedger.d.ts +1434 -280
  67. package/indexerPrimaryProjection.d.ts +10 -10
  68. package/indexerPrimaryResultView.d.ts +435 -0
  69. package/indexerProfileContract.d.ts +181 -181
  70. package/indexerProgramExecutionAuthorization.d.ts +12 -12
  71. package/indexerProgramRunProtocol.d.ts +2141 -2749
  72. package/indexerProjectProposal.d.ts +496 -292
  73. package/indexerProjectedArtifactFanOutAudit.d.ts +0 -3
  74. package/indexerProtocolCommon.d.ts +4 -1
  75. package/indexerProvider.d.ts +134 -281
  76. package/indexerProviderComposition.d.ts +53 -53
  77. package/indexerProviderResolution.d.ts +12 -12
  78. package/indexerProviderResolutionAction.d.ts +14 -14
  79. package/indexerProviderRouting.d.ts +923 -515
  80. package/indexerProviderSelectionProposal.d.ts +893 -485
  81. package/indexerQuestionAuthority.d.ts +46 -47
  82. package/indexerReaderTargetInventory.d.ts +8 -8
  83. package/indexerRegistry.d.ts +765 -357
  84. package/indexerRequirementConfirmation.d.ts +98 -98
  85. package/indexerRequirementLifecycle.d.ts +224 -224
  86. package/indexerResultReconciliation.d.ts +204 -5919
  87. package/indexerResultReconciliationRun.d.ts +0 -1
  88. package/indexerRunEnvelope.d.ts +20 -20
  89. package/indexerSemanticInput.d.ts +3678 -0
  90. package/indexerStructuredDeclaration.d.ts +57 -53
  91. package/indexerSubjectCatalog.d.ts +14 -14
  92. package/indexerSubjectIdentity.d.ts +2 -2
  93. package/indexerSubjectKeyAuthority.d.ts +31 -30
  94. package/indexerTemplateRendering.d.ts +64 -64
  95. package/indexerToolSnapshot.d.ts +8 -8
  96. package/package.json +1 -1
  97. package/phases.d.ts +3 -183
  98. package/codeIndexPlan.d.ts +0 -158
  99. package/indexerAuditFacts.d.ts +0 -66
  100. package/indexerAuditOverrideReadiness.d.ts +0 -27
  101. package/indexerAuditProtocol.d.ts +0 -238
  102. package/indexerAuditRevision.d.ts +0 -726
  103. package/indexerAuditRevisionActions.d.ts +0 -236
  104. package/indexerMaterialAnswer.d.ts +0 -738
  105. package/indexerMaterialAnswerActualization.d.ts +0 -91
  106. package/indexerMaterialAnswerExecutionPlan.d.ts +0 -2887
  107. package/indexerMaterialAnswerFlow.d.ts +0 -63
  108. package/indexerMaterialAnswerLayout.d.ts +0 -76
  109. package/indexerMaterialAnswerReview.d.ts +0 -217
  110. package/indexerMaterialAnswerReviewRoute.d.ts +0 -6145
  111. package/indexerMaterialAnswerRunLedger.d.ts +0 -918
  112. package/indexerMaterialAnswerRunProtocol.d.ts +0 -1253
  113. package/indexerMaterialQuestionExclusion.d.ts +0 -129
  114. package/indexerMaterialQuestionWorkset.d.ts +0 -508
  115. package/indexerPlannedMaterialAnswer.d.ts +0 -116
  116. package/indexerProfileMetricAudit.d.ts +0 -218
  117. package/indexerWorksetRead.d.ts +0 -287
@@ -4,48 +4,30 @@ export declare const indexerExecutionSchema: z.ZodObject<{
4
4
  entry: z.ZodEffects<z.ZodString, string, string>;
5
5
  args: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
6
6
  }, "strict", z.ZodTypeAny, {
7
- entry: string;
8
7
  args: string[];
9
8
  runtime: "node";
10
- }, {
11
9
  entry: string;
10
+ }, {
12
11
  args: string[];
13
12
  runtime: "node";
13
+ entry: string;
14
14
  }>;
15
- export declare const indexerProviderOperationSchema: z.ZodDiscriminatedUnion<"id", [z.ZodObject<{
15
+ export declare const indexerProviderOperationSchema: z.ZodObject<{
16
16
  id: z.ZodLiteral<"main-index">;
17
- consumes: z.ZodLiteral<"context.indexer.main-workset/v1">;
17
+ consumes: z.ZodLiteral<"context.indexer.main-workset/v2">;
18
18
  produces: z.ZodLiteral<"context.indexer.main-result/v1">;
19
19
  accepts_layer_fragments: z.ZodOptional<z.ZodArray<z.ZodEnum<["fact-enrichment", "template-variables"]>, "many">>;
20
20
  }, "strict", z.ZodTypeAny, {
21
21
  id: "main-index";
22
- consumes: "context.indexer.main-workset/v1";
22
+ consumes: "context.indexer.main-workset/v2";
23
23
  produces: "context.indexer.main-result/v1";
24
24
  accepts_layer_fragments?: ("fact-enrichment" | "template-variables")[] | undefined;
25
25
  }, {
26
26
  id: "main-index";
27
- consumes: "context.indexer.main-workset/v1";
27
+ consumes: "context.indexer.main-workset/v2";
28
28
  produces: "context.indexer.main-result/v1";
29
29
  accepts_layer_fragments?: ("fact-enrichment" | "template-variables")[] | undefined;
30
- }>, z.ZodObject<{
31
- id: z.ZodLiteral<"material-answer">;
32
- consumes: z.ZodLiteral<"context.indexer.material-question-workset/v1">;
33
- produces: z.ZodLiteral<"context.indexer.material-answer-result/v1">;
34
- supported_evidence_kinds: z.ZodArray<z.ZodEnum<["code", "contract", "configuration", "documentation", "runbook", "decision-record", "test-result", "runtime-observation", "tool-snapshot"]>, "many">;
35
- accepts_layer_fragments: z.ZodOptional<z.ZodArray<z.ZodEnum<["fact-enrichment", "template-variables"]>, "many">>;
36
- }, "strict", z.ZodTypeAny, {
37
- id: "material-answer";
38
- consumes: "context.indexer.material-question-workset/v1";
39
- produces: "context.indexer.material-answer-result/v1";
40
- supported_evidence_kinds: ("contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot")[];
41
- accepts_layer_fragments?: ("fact-enrichment" | "template-variables")[] | undefined;
42
- }, {
43
- id: "material-answer";
44
- consumes: "context.indexer.material-question-workset/v1";
45
- produces: "context.indexer.material-answer-result/v1";
46
- supported_evidence_kinds: ("contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot")[];
47
- accepts_layer_fragments?: ("fact-enrichment" | "template-variables")[] | undefined;
48
- }>]>;
30
+ }>;
49
31
  export declare const indexerProviderLayerFragmentSchema: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
50
32
  kind: z.ZodLiteral<"fact-enrichment">;
51
33
  phase: z.ZodLiteral<"pre-authority">;
@@ -344,30 +326,30 @@ export declare const indexerToolSourceDeclarationSchema: z.ZodEffects<z.ZodObjec
344
326
  optional: z.ZodLiteral<true>;
345
327
  }, "strict", z.ZodTypeAny, {
346
328
  id: string;
347
- handler: string;
348
329
  operations: string[];
349
330
  optional: true;
331
+ handler: string;
350
332
  request: string;
351
333
  produces: "context.indexer.tool-snapshot/v1";
352
334
  }, {
353
335
  id: string;
354
- handler: string;
355
336
  operations: string[];
356
337
  optional: true;
338
+ handler: string;
357
339
  request: string;
358
340
  produces: "context.indexer.tool-snapshot/v1";
359
341
  }>, {
360
342
  id: string;
361
- handler: string;
362
343
  operations: string[];
363
344
  optional: true;
345
+ handler: string;
364
346
  request: string;
365
347
  produces: "context.indexer.tool-snapshot/v1";
366
348
  }, {
367
349
  id: string;
368
- handler: string;
369
350
  operations: string[];
370
351
  optional: true;
352
+ handler: string;
371
353
  request: string;
372
354
  produces: "context.indexer.tool-snapshot/v1";
373
355
  }>;
@@ -437,34 +419,34 @@ export declare const indexerProviderManifestSchema: z.ZodEffects<z.ZodObject<{
437
419
  entry: z.ZodEffects<z.ZodString, string, string>;
438
420
  args: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
439
421
  }, "strict", z.ZodTypeAny, {
440
- entry: string;
441
422
  args: string[];
442
423
  runtime: "node";
443
- }, {
444
424
  entry: string;
425
+ }, {
445
426
  args: string[];
446
427
  runtime: "node";
428
+ entry: string;
447
429
  }>;
448
430
  protocol: z.ZodLiteral<"context.indexer.activation/v1">;
449
431
  capabilities: z.ZodTuple<[z.ZodLiteral<"parser-facts.read">], null>;
450
432
  optional: z.ZodBoolean;
451
433
  }, "strict", z.ZodTypeAny, {
452
- protocol: "context.indexer.activation/v1";
453
434
  optional: boolean;
435
+ protocol: "context.indexer.activation/v1";
454
436
  capabilities: ["parser-facts.read"];
455
437
  execution: {
456
- entry: string;
457
438
  args: string[];
458
439
  runtime: "node";
440
+ entry: string;
459
441
  };
460
442
  }, {
461
- protocol: "context.indexer.activation/v1";
462
443
  optional: boolean;
444
+ protocol: "context.indexer.activation/v1";
463
445
  capabilities: ["parser-facts.read"];
464
446
  execution: {
465
- entry: string;
466
447
  args: string[];
467
448
  runtime: "node";
449
+ entry: string;
468
450
  };
469
451
  }>>;
470
452
  }, "strict", z.ZodTypeAny, {
@@ -483,13 +465,13 @@ export declare const indexerProviderManifestSchema: z.ZodEffects<z.ZodObject<{
483
465
  }[];
484
466
  agent_questions?: string[] | undefined;
485
467
  detector?: {
486
- protocol: "context.indexer.activation/v1";
487
468
  optional: boolean;
469
+ protocol: "context.indexer.activation/v1";
488
470
  capabilities: ["parser-facts.read"];
489
471
  execution: {
490
- entry: string;
491
472
  args: string[];
492
473
  runtime: "node";
474
+ entry: string;
493
475
  };
494
476
  } | undefined;
495
477
  }, {
@@ -508,13 +490,13 @@ export declare const indexerProviderManifestSchema: z.ZodEffects<z.ZodObject<{
508
490
  }[];
509
491
  agent_questions?: string[] | undefined;
510
492
  detector?: {
511
- protocol: "context.indexer.activation/v1";
512
493
  optional: boolean;
494
+ protocol: "context.indexer.activation/v1";
513
495
  capabilities: ["parser-facts.read"];
514
496
  execution: {
515
- entry: string;
516
497
  args: string[];
517
498
  runtime: "node";
499
+ entry: string;
518
500
  };
519
501
  } | undefined;
520
502
  }>, {
@@ -533,13 +515,13 @@ export declare const indexerProviderManifestSchema: z.ZodEffects<z.ZodObject<{
533
515
  }[];
534
516
  agent_questions?: string[] | undefined;
535
517
  detector?: {
536
- protocol: "context.indexer.activation/v1";
537
518
  optional: boolean;
519
+ protocol: "context.indexer.activation/v1";
538
520
  capabilities: ["parser-facts.read"];
539
521
  execution: {
540
- entry: string;
541
522
  args: string[];
542
523
  runtime: "node";
524
+ entry: string;
543
525
  };
544
526
  } | undefined;
545
527
  }, {
@@ -558,52 +540,34 @@ export declare const indexerProviderManifestSchema: z.ZodEffects<z.ZodObject<{
558
540
  }[];
559
541
  agent_questions?: string[] | undefined;
560
542
  detector?: {
561
- protocol: "context.indexer.activation/v1";
562
543
  optional: boolean;
544
+ protocol: "context.indexer.activation/v1";
563
545
  capabilities: ["parser-facts.read"];
564
546
  execution: {
565
- entry: string;
566
547
  args: string[];
567
548
  runtime: "node";
549
+ entry: string;
568
550
  };
569
551
  } | undefined;
570
552
  }>;
571
553
  provides: z.ZodEffects<z.ZodObject<{
572
554
  profiles: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
573
- operations: z.ZodArray<z.ZodDiscriminatedUnion<"id", [z.ZodObject<{
555
+ operations: z.ZodArray<z.ZodObject<{
574
556
  id: z.ZodLiteral<"main-index">;
575
- consumes: z.ZodLiteral<"context.indexer.main-workset/v1">;
557
+ consumes: z.ZodLiteral<"context.indexer.main-workset/v2">;
576
558
  produces: z.ZodLiteral<"context.indexer.main-result/v1">;
577
559
  accepts_layer_fragments: z.ZodOptional<z.ZodArray<z.ZodEnum<["fact-enrichment", "template-variables"]>, "many">>;
578
560
  }, "strict", z.ZodTypeAny, {
579
561
  id: "main-index";
580
- consumes: "context.indexer.main-workset/v1";
562
+ consumes: "context.indexer.main-workset/v2";
581
563
  produces: "context.indexer.main-result/v1";
582
564
  accepts_layer_fragments?: ("fact-enrichment" | "template-variables")[] | undefined;
583
565
  }, {
584
566
  id: "main-index";
585
- consumes: "context.indexer.main-workset/v1";
567
+ consumes: "context.indexer.main-workset/v2";
586
568
  produces: "context.indexer.main-result/v1";
587
569
  accepts_layer_fragments?: ("fact-enrichment" | "template-variables")[] | undefined;
588
- }>, z.ZodObject<{
589
- id: z.ZodLiteral<"material-answer">;
590
- consumes: z.ZodLiteral<"context.indexer.material-question-workset/v1">;
591
- produces: z.ZodLiteral<"context.indexer.material-answer-result/v1">;
592
- supported_evidence_kinds: z.ZodArray<z.ZodEnum<["code", "contract", "configuration", "documentation", "runbook", "decision-record", "test-result", "runtime-observation", "tool-snapshot"]>, "many">;
593
- accepts_layer_fragments: z.ZodOptional<z.ZodArray<z.ZodEnum<["fact-enrichment", "template-variables"]>, "many">>;
594
- }, "strict", z.ZodTypeAny, {
595
- id: "material-answer";
596
- consumes: "context.indexer.material-question-workset/v1";
597
- produces: "context.indexer.material-answer-result/v1";
598
- supported_evidence_kinds: ("contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot")[];
599
- accepts_layer_fragments?: ("fact-enrichment" | "template-variables")[] | undefined;
600
- }, {
601
- id: "material-answer";
602
- consumes: "context.indexer.material-question-workset/v1";
603
- produces: "context.indexer.material-answer-result/v1";
604
- supported_evidence_kinds: ("contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot")[];
605
- accepts_layer_fragments?: ("fact-enrichment" | "template-variables")[] | undefined;
606
- }>]>, "many">;
570
+ }>, "many">;
607
571
  layer_fragments: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
608
572
  kind: z.ZodLiteral<"fact-enrichment">;
609
573
  phase: z.ZodLiteral<"pre-authority">;
@@ -798,30 +762,30 @@ export declare const indexerProviderManifestSchema: z.ZodEffects<z.ZodObject<{
798
762
  optional: z.ZodLiteral<true>;
799
763
  }, "strict", z.ZodTypeAny, {
800
764
  id: string;
801
- handler: string;
802
765
  operations: string[];
803
766
  optional: true;
767
+ handler: string;
804
768
  request: string;
805
769
  produces: "context.indexer.tool-snapshot/v1";
806
770
  }, {
807
771
  id: string;
808
- handler: string;
809
772
  operations: string[];
810
773
  optional: true;
774
+ handler: string;
811
775
  request: string;
812
776
  produces: "context.indexer.tool-snapshot/v1";
813
777
  }>, {
814
778
  id: string;
815
- handler: string;
816
779
  operations: string[];
817
780
  optional: true;
781
+ handler: string;
818
782
  request: string;
819
783
  produces: "context.indexer.tool-snapshot/v1";
820
784
  }, {
821
785
  id: string;
822
- handler: string;
823
786
  operations: string[];
824
787
  optional: true;
788
+ handler: string;
825
789
  request: string;
826
790
  produces: "context.indexer.tool-snapshot/v1";
827
791
  }>, "many">>;
@@ -889,19 +853,6 @@ export declare const indexerProviderManifestSchema: z.ZodEffects<z.ZodObject<{
889
853
  }>;
890
854
  resource: z.ZodEffects<z.ZodString, string, string>;
891
855
  integrity: z.ZodString;
892
- attestation: z.ZodOptional<z.ZodObject<{
893
- protocol: z.ZodLiteral<"context.indexer.overlay-attestation/v1">;
894
- resource: z.ZodEffects<z.ZodString, string, string>;
895
- integrity: z.ZodString;
896
- }, "strict", z.ZodTypeAny, {
897
- protocol: "context.indexer.overlay-attestation/v1";
898
- integrity: string;
899
- resource: string;
900
- }, {
901
- protocol: "context.indexer.overlay-attestation/v1";
902
- integrity: string;
903
- resource: string;
904
- }>>;
905
856
  }, "strict", z.ZodTypeAny, {
906
857
  id: string;
907
858
  protocol: "context.indexer.contract-overlay/v1";
@@ -911,11 +862,6 @@ export declare const indexerProviderManifestSchema: z.ZodEffects<z.ZodObject<{
911
862
  version: string;
912
863
  profile: string;
913
864
  };
914
- attestation?: {
915
- protocol: "context.indexer.overlay-attestation/v1";
916
- integrity: string;
917
- resource: string;
918
- } | undefined;
919
865
  }, {
920
866
  id: string;
921
867
  protocol: "context.indexer.contract-overlay/v1";
@@ -925,25 +871,14 @@ export declare const indexerProviderManifestSchema: z.ZodEffects<z.ZodObject<{
925
871
  version: string;
926
872
  profile: string;
927
873
  };
928
- attestation?: {
929
- protocol: "context.indexer.overlay-attestation/v1";
930
- integrity: string;
931
- resource: string;
932
- } | undefined;
933
874
  }>, "many">>;
934
875
  }, "strict", z.ZodTypeAny, {
935
- operations: ({
876
+ operations: {
936
877
  id: "main-index";
937
- consumes: "context.indexer.main-workset/v1";
878
+ consumes: "context.indexer.main-workset/v2";
938
879
  produces: "context.indexer.main-result/v1";
939
880
  accepts_layer_fragments?: ("fact-enrichment" | "template-variables")[] | undefined;
940
- } | {
941
- id: "material-answer";
942
- consumes: "context.indexer.material-question-workset/v1";
943
- produces: "context.indexer.material-answer-result/v1";
944
- supported_evidence_kinds: ("contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot")[];
945
- accepts_layer_fragments?: ("fact-enrichment" | "template-variables")[] | undefined;
946
- })[];
881
+ }[];
947
882
  profiles: string[];
948
883
  composers?: {
949
884
  id: string;
@@ -982,9 +917,9 @@ export declare const indexerProviderManifestSchema: z.ZodEffects<z.ZodObject<{
982
917
  })[] | undefined;
983
918
  tool_sources?: {
984
919
  id: string;
985
- handler: string;
986
920
  operations: string[];
987
921
  optional: true;
922
+ handler: string;
988
923
  request: string;
989
924
  produces: "context.indexer.tool-snapshot/v1";
990
925
  }[] | undefined;
@@ -1010,25 +945,14 @@ export declare const indexerProviderManifestSchema: z.ZodEffects<z.ZodObject<{
1010
945
  version: string;
1011
946
  profile: string;
1012
947
  };
1013
- attestation?: {
1014
- protocol: "context.indexer.overlay-attestation/v1";
1015
- integrity: string;
1016
- resource: string;
1017
- } | undefined;
1018
948
  }[] | undefined;
1019
949
  }, {
1020
- operations: ({
950
+ operations: {
1021
951
  id: "main-index";
1022
- consumes: "context.indexer.main-workset/v1";
952
+ consumes: "context.indexer.main-workset/v2";
1023
953
  produces: "context.indexer.main-result/v1";
1024
954
  accepts_layer_fragments?: ("fact-enrichment" | "template-variables")[] | undefined;
1025
- } | {
1026
- id: "material-answer";
1027
- consumes: "context.indexer.material-question-workset/v1";
1028
- produces: "context.indexer.material-answer-result/v1";
1029
- supported_evidence_kinds: ("contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot")[];
1030
- accepts_layer_fragments?: ("fact-enrichment" | "template-variables")[] | undefined;
1031
- })[];
955
+ }[];
1032
956
  profiles: string[];
1033
957
  composers?: {
1034
958
  id: string;
@@ -1067,9 +991,9 @@ export declare const indexerProviderManifestSchema: z.ZodEffects<z.ZodObject<{
1067
991
  })[] | undefined;
1068
992
  tool_sources?: {
1069
993
  id: string;
1070
- handler: string;
1071
994
  operations: string[];
1072
995
  optional: true;
996
+ handler: string;
1073
997
  request: string;
1074
998
  produces: "context.indexer.tool-snapshot/v1";
1075
999
  }[] | undefined;
@@ -1095,25 +1019,14 @@ export declare const indexerProviderManifestSchema: z.ZodEffects<z.ZodObject<{
1095
1019
  version: string;
1096
1020
  profile: string;
1097
1021
  };
1098
- attestation?: {
1099
- protocol: "context.indexer.overlay-attestation/v1";
1100
- integrity: string;
1101
- resource: string;
1102
- } | undefined;
1103
1022
  }[] | undefined;
1104
1023
  }>, {
1105
- operations: ({
1024
+ operations: {
1106
1025
  id: "main-index";
1107
- consumes: "context.indexer.main-workset/v1";
1026
+ consumes: "context.indexer.main-workset/v2";
1108
1027
  produces: "context.indexer.main-result/v1";
1109
1028
  accepts_layer_fragments?: ("fact-enrichment" | "template-variables")[] | undefined;
1110
- } | {
1111
- id: "material-answer";
1112
- consumes: "context.indexer.material-question-workset/v1";
1113
- produces: "context.indexer.material-answer-result/v1";
1114
- supported_evidence_kinds: ("contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot")[];
1115
- accepts_layer_fragments?: ("fact-enrichment" | "template-variables")[] | undefined;
1116
- })[];
1029
+ }[];
1117
1030
  profiles: string[];
1118
1031
  composers?: {
1119
1032
  id: string;
@@ -1152,9 +1065,9 @@ export declare const indexerProviderManifestSchema: z.ZodEffects<z.ZodObject<{
1152
1065
  })[] | undefined;
1153
1066
  tool_sources?: {
1154
1067
  id: string;
1155
- handler: string;
1156
1068
  operations: string[];
1157
1069
  optional: true;
1070
+ handler: string;
1158
1071
  request: string;
1159
1072
  produces: "context.indexer.tool-snapshot/v1";
1160
1073
  }[] | undefined;
@@ -1180,25 +1093,14 @@ export declare const indexerProviderManifestSchema: z.ZodEffects<z.ZodObject<{
1180
1093
  version: string;
1181
1094
  profile: string;
1182
1095
  };
1183
- attestation?: {
1184
- protocol: "context.indexer.overlay-attestation/v1";
1185
- integrity: string;
1186
- resource: string;
1187
- } | undefined;
1188
1096
  }[] | undefined;
1189
1097
  }, {
1190
- operations: ({
1098
+ operations: {
1191
1099
  id: "main-index";
1192
- consumes: "context.indexer.main-workset/v1";
1100
+ consumes: "context.indexer.main-workset/v2";
1193
1101
  produces: "context.indexer.main-result/v1";
1194
1102
  accepts_layer_fragments?: ("fact-enrichment" | "template-variables")[] | undefined;
1195
- } | {
1196
- id: "material-answer";
1197
- consumes: "context.indexer.material-question-workset/v1";
1198
- produces: "context.indexer.material-answer-result/v1";
1199
- supported_evidence_kinds: ("contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot")[];
1200
- accepts_layer_fragments?: ("fact-enrichment" | "template-variables")[] | undefined;
1201
- })[];
1103
+ }[];
1202
1104
  profiles: string[];
1203
1105
  composers?: {
1204
1106
  id: string;
@@ -1237,9 +1139,9 @@ export declare const indexerProviderManifestSchema: z.ZodEffects<z.ZodObject<{
1237
1139
  })[] | undefined;
1238
1140
  tool_sources?: {
1239
1141
  id: string;
1240
- handler: string;
1241
1142
  operations: string[];
1242
1143
  optional: true;
1144
+ handler: string;
1243
1145
  request: string;
1244
1146
  produces: "context.indexer.tool-snapshot/v1";
1245
1147
  }[] | undefined;
@@ -1265,11 +1167,6 @@ export declare const indexerProviderManifestSchema: z.ZodEffects<z.ZodObject<{
1265
1167
  version: string;
1266
1168
  profile: string;
1267
1169
  };
1268
- attestation?: {
1269
- protocol: "context.indexer.overlay-attestation/v1";
1270
- integrity: string;
1271
- resource: string;
1272
- } | undefined;
1273
1170
  }[] | undefined;
1274
1171
  }>;
1275
1172
  authoring_inspector: z.ZodOptional<z.ZodEffects<z.ZodObject<{
@@ -1278,13 +1175,13 @@ export declare const indexerProviderManifestSchema: z.ZodEffects<z.ZodObject<{
1278
1175
  entry: z.ZodEffects<z.ZodString, string, string>;
1279
1176
  args: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
1280
1177
  }, "strict", z.ZodTypeAny, {
1281
- entry: string;
1282
1178
  args: string[];
1283
1179
  runtime: "node";
1284
- }, {
1285
1180
  entry: string;
1181
+ }, {
1286
1182
  args: string[];
1287
1183
  runtime: "node";
1184
+ entry: string;
1288
1185
  }>;
1289
1186
  protocol: z.ZodLiteral<"context.indexer.inspector/v1">;
1290
1187
  capabilities: z.ZodArray<z.ZodEnum<["parser-facts.read", "source.read"]>, "many">;
@@ -1294,36 +1191,36 @@ export declare const indexerProviderManifestSchema: z.ZodEffects<z.ZodObject<{
1294
1191
  output: "provider-enrichment-facts";
1295
1192
  capabilities: ("source.read" | "parser-facts.read")[];
1296
1193
  execution: {
1297
- entry: string;
1298
1194
  args: string[];
1299
1195
  runtime: "node";
1196
+ entry: string;
1300
1197
  };
1301
1198
  }, {
1302
1199
  protocol: "context.indexer.inspector/v1";
1303
1200
  output: "provider-enrichment-facts";
1304
1201
  capabilities: ("source.read" | "parser-facts.read")[];
1305
1202
  execution: {
1306
- entry: string;
1307
1203
  args: string[];
1308
1204
  runtime: "node";
1205
+ entry: string;
1309
1206
  };
1310
1207
  }>, {
1311
1208
  protocol: "context.indexer.inspector/v1";
1312
1209
  output: "provider-enrichment-facts";
1313
1210
  capabilities: ("source.read" | "parser-facts.read")[];
1314
1211
  execution: {
1315
- entry: string;
1316
1212
  args: string[];
1317
1213
  runtime: "node";
1214
+ entry: string;
1318
1215
  };
1319
1216
  }, {
1320
1217
  protocol: "context.indexer.inspector/v1";
1321
1218
  output: "provider-enrichment-facts";
1322
1219
  capabilities: ("source.read" | "parser-facts.read")[];
1323
1220
  execution: {
1324
- entry: string;
1325
1221
  args: string[];
1326
1222
  runtime: "node";
1223
+ entry: string;
1327
1224
  };
1328
1225
  }>>;
1329
1226
  provider: z.ZodEffects<z.ZodObject<{
@@ -1333,13 +1230,13 @@ export declare const indexerProviderManifestSchema: z.ZodEffects<z.ZodObject<{
1333
1230
  entry: z.ZodEffects<z.ZodString, string, string>;
1334
1231
  args: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
1335
1232
  }, "strict", z.ZodTypeAny, {
1336
- entry: string;
1337
1233
  args: string[];
1338
1234
  runtime: "node";
1339
- }, {
1340
1235
  entry: string;
1236
+ }, {
1341
1237
  args: string[];
1342
1238
  runtime: "node";
1239
+ entry: string;
1343
1240
  }>;
1344
1241
  protocol: z.ZodLiteral<"context.indexer.program/v1">;
1345
1242
  capabilities: z.ZodArray<z.ZodEnum<["source.read", "parser-facts.read", "indexer-result.write"]>, "many">;
@@ -1347,33 +1244,33 @@ export declare const indexerProviderManifestSchema: z.ZodEffects<z.ZodObject<{
1347
1244
  protocol: "context.indexer.program/v1";
1348
1245
  capabilities: ("source.read" | "parser-facts.read" | "indexer-result.write")[];
1349
1246
  execution: {
1350
- entry: string;
1351
1247
  args: string[];
1352
1248
  runtime: "node";
1249
+ entry: string;
1353
1250
  };
1354
1251
  }, {
1355
1252
  protocol: "context.indexer.program/v1";
1356
1253
  capabilities: ("source.read" | "parser-facts.read" | "indexer-result.write")[];
1357
1254
  execution: {
1358
- entry: string;
1359
1255
  args: string[];
1360
1256
  runtime: "node";
1257
+ entry: string;
1361
1258
  };
1362
1259
  }>, {
1363
1260
  protocol: "context.indexer.program/v1";
1364
1261
  capabilities: ("source.read" | "parser-facts.read" | "indexer-result.write")[];
1365
1262
  execution: {
1366
- entry: string;
1367
1263
  args: string[];
1368
1264
  runtime: "node";
1265
+ entry: string;
1369
1266
  };
1370
1267
  }, {
1371
1268
  protocol: "context.indexer.program/v1";
1372
1269
  capabilities: ("source.read" | "parser-facts.read" | "indexer-result.write")[];
1373
1270
  execution: {
1374
- entry: string;
1375
1271
  args: string[];
1376
1272
  runtime: "node";
1273
+ entry: string;
1377
1274
  };
1378
1275
  }>>;
1379
1276
  instructions: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodObject<{
@@ -1413,9 +1310,9 @@ export declare const indexerProviderManifestSchema: z.ZodEffects<z.ZodObject<{
1413
1310
  protocol: "context.indexer.program/v1";
1414
1311
  capabilities: ("source.read" | "parser-facts.read" | "indexer-result.write")[];
1415
1312
  execution: {
1416
- entry: string;
1417
1313
  args: string[];
1418
1314
  runtime: "node";
1315
+ entry: string;
1419
1316
  };
1420
1317
  } | undefined;
1421
1318
  instructions?: {
@@ -1435,9 +1332,9 @@ export declare const indexerProviderManifestSchema: z.ZodEffects<z.ZodObject<{
1435
1332
  protocol: "context.indexer.program/v1";
1436
1333
  capabilities: ("source.read" | "parser-facts.read" | "indexer-result.write")[];
1437
1334
  execution: {
1438
- entry: string;
1439
1335
  args: string[];
1440
1336
  runtime: "node";
1337
+ entry: string;
1441
1338
  };
1442
1339
  } | undefined;
1443
1340
  instructions?: {
@@ -1457,9 +1354,9 @@ export declare const indexerProviderManifestSchema: z.ZodEffects<z.ZodObject<{
1457
1354
  protocol: "context.indexer.program/v1";
1458
1355
  capabilities: ("source.read" | "parser-facts.read" | "indexer-result.write")[];
1459
1356
  execution: {
1460
- entry: string;
1461
1357
  args: string[];
1462
1358
  runtime: "node";
1359
+ entry: string;
1463
1360
  };
1464
1361
  } | undefined;
1465
1362
  instructions?: {
@@ -1479,9 +1376,9 @@ export declare const indexerProviderManifestSchema: z.ZodEffects<z.ZodObject<{
1479
1376
  protocol: "context.indexer.program/v1";
1480
1377
  capabilities: ("source.read" | "parser-facts.read" | "indexer-result.write")[];
1481
1378
  execution: {
1482
- entry: string;
1483
1379
  args: string[];
1484
1380
  runtime: "node";
1381
+ entry: string;
1485
1382
  };
1486
1383
  } | undefined;
1487
1384
  instructions?: {
@@ -1540,52 +1437,52 @@ export declare const indexerProviderManifestSchema: z.ZodEffects<z.ZodObject<{
1540
1437
  values: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
1541
1438
  required: z.ZodBoolean;
1542
1439
  }, "strict", z.ZodTypeAny, {
1543
- values: string[];
1544
- id: string;
1545
1440
  type: "enum";
1441
+ id: string;
1442
+ values: string[];
1546
1443
  required: boolean;
1547
1444
  }, {
1548
- values: string[];
1549
- id: string;
1550
1445
  type: "enum";
1446
+ id: string;
1447
+ values: string[];
1551
1448
  required: boolean;
1552
1449
  }>, {
1553
- values: string[];
1554
- id: string;
1555
1450
  type: "enum";
1451
+ id: string;
1452
+ values: string[];
1556
1453
  required: boolean;
1557
1454
  }, {
1558
- values: string[];
1559
- id: string;
1560
1455
  type: "enum";
1456
+ id: string;
1457
+ values: string[];
1561
1458
  required: boolean;
1562
1459
  }>, "many">;
1563
1460
  }, "strict", z.ZodTypeAny, {
1564
1461
  axes: {
1565
- values: string[];
1566
- id: string;
1567
1462
  type: "enum";
1463
+ id: string;
1464
+ values: string[];
1568
1465
  required: boolean;
1569
1466
  }[];
1570
1467
  }, {
1571
1468
  axes: {
1572
- values: string[];
1573
- id: string;
1574
1469
  type: "enum";
1470
+ id: string;
1471
+ values: string[];
1575
1472
  required: boolean;
1576
1473
  }[];
1577
1474
  }>, {
1578
1475
  axes: {
1579
- values: string[];
1580
- id: string;
1581
1476
  type: "enum";
1477
+ id: string;
1478
+ values: string[];
1582
1479
  required: boolean;
1583
1480
  }[];
1584
1481
  }, {
1585
1482
  axes: {
1586
- values: string[];
1587
- id: string;
1588
1483
  type: "enum";
1484
+ id: string;
1485
+ values: string[];
1589
1486
  required: boolean;
1590
1487
  }[];
1591
1488
  }>>;
@@ -1686,9 +1583,9 @@ export declare const indexerProviderManifestSchema: z.ZodEffects<z.ZodObject<{
1686
1583
  };
1687
1584
  variant_schema?: {
1688
1585
  axes: {
1689
- values: string[];
1690
- id: string;
1691
1586
  type: "enum";
1587
+ id: string;
1588
+ values: string[];
1692
1589
  required: boolean;
1693
1590
  }[];
1694
1591
  } | undefined;
@@ -1710,9 +1607,9 @@ export declare const indexerProviderManifestSchema: z.ZodEffects<z.ZodObject<{
1710
1607
  };
1711
1608
  variant_schema?: {
1712
1609
  axes: {
1713
- values: string[];
1714
- id: string;
1715
1610
  type: "enum";
1611
+ id: string;
1612
+ values: string[];
1716
1613
  required: boolean;
1717
1614
  }[];
1718
1615
  } | undefined;
@@ -1736,9 +1633,9 @@ export declare const indexerProviderManifestSchema: z.ZodEffects<z.ZodObject<{
1736
1633
  };
1737
1634
  variant_schema?: {
1738
1635
  axes: {
1739
- values: string[];
1740
- id: string;
1741
1636
  type: "enum";
1637
+ id: string;
1638
+ values: string[];
1742
1639
  required: boolean;
1743
1640
  }[];
1744
1641
  } | undefined;
@@ -1762,9 +1659,9 @@ export declare const indexerProviderManifestSchema: z.ZodEffects<z.ZodObject<{
1762
1659
  };
1763
1660
  variant_schema?: {
1764
1661
  axes: {
1765
- values: string[];
1766
- id: string;
1767
1662
  type: "enum";
1663
+ id: string;
1664
+ values: string[];
1768
1665
  required: boolean;
1769
1666
  }[];
1770
1667
  } | undefined;
@@ -1788,9 +1685,9 @@ export declare const indexerProviderManifestSchema: z.ZodEffects<z.ZodObject<{
1788
1685
  };
1789
1686
  variant_schema?: {
1790
1687
  axes: {
1791
- values: string[];
1792
- id: string;
1793
1688
  type: "enum";
1689
+ id: string;
1690
+ values: string[];
1794
1691
  required: boolean;
1795
1692
  }[];
1796
1693
  } | undefined;
@@ -1814,9 +1711,9 @@ export declare const indexerProviderManifestSchema: z.ZodEffects<z.ZodObject<{
1814
1711
  };
1815
1712
  variant_schema?: {
1816
1713
  axes: {
1817
- values: string[];
1818
- id: string;
1819
1714
  type: "enum";
1715
+ id: string;
1716
+ values: string[];
1820
1717
  required: boolean;
1821
1718
  }[];
1822
1719
  } | undefined;
@@ -1830,9 +1727,9 @@ export declare const indexerProviderManifestSchema: z.ZodEffects<z.ZodObject<{
1830
1727
  protocol: "context.indexer.program/v1";
1831
1728
  capabilities: ("source.read" | "parser-facts.read" | "indexer-result.write")[];
1832
1729
  execution: {
1833
- entry: string;
1834
1730
  args: string[];
1835
1731
  runtime: "node";
1732
+ entry: string;
1836
1733
  };
1837
1734
  } | undefined;
1838
1735
  instructions?: {
@@ -1866,29 +1763,23 @@ export declare const indexerProviderManifestSchema: z.ZodEffects<z.ZodObject<{
1866
1763
  }[];
1867
1764
  agent_questions?: string[] | undefined;
1868
1765
  detector?: {
1869
- protocol: "context.indexer.activation/v1";
1870
1766
  optional: boolean;
1767
+ protocol: "context.indexer.activation/v1";
1871
1768
  capabilities: ["parser-facts.read"];
1872
1769
  execution: {
1873
- entry: string;
1874
1770
  args: string[];
1875
1771
  runtime: "node";
1772
+ entry: string;
1876
1773
  };
1877
1774
  } | undefined;
1878
1775
  };
1879
1776
  provides: {
1880
- operations: ({
1777
+ operations: {
1881
1778
  id: "main-index";
1882
- consumes: "context.indexer.main-workset/v1";
1779
+ consumes: "context.indexer.main-workset/v2";
1883
1780
  produces: "context.indexer.main-result/v1";
1884
1781
  accepts_layer_fragments?: ("fact-enrichment" | "template-variables")[] | undefined;
1885
- } | {
1886
- id: "material-answer";
1887
- consumes: "context.indexer.material-question-workset/v1";
1888
- produces: "context.indexer.material-answer-result/v1";
1889
- supported_evidence_kinds: ("contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot")[];
1890
- accepts_layer_fragments?: ("fact-enrichment" | "template-variables")[] | undefined;
1891
- })[];
1782
+ }[];
1892
1783
  profiles: string[];
1893
1784
  composers?: {
1894
1785
  id: string;
@@ -1927,9 +1818,9 @@ export declare const indexerProviderManifestSchema: z.ZodEffects<z.ZodObject<{
1927
1818
  })[] | undefined;
1928
1819
  tool_sources?: {
1929
1820
  id: string;
1930
- handler: string;
1931
1821
  operations: string[];
1932
1822
  optional: true;
1823
+ handler: string;
1933
1824
  request: string;
1934
1825
  produces: "context.indexer.tool-snapshot/v1";
1935
1826
  }[] | undefined;
@@ -1955,11 +1846,6 @@ export declare const indexerProviderManifestSchema: z.ZodEffects<z.ZodObject<{
1955
1846
  version: string;
1956
1847
  profile: string;
1957
1848
  };
1958
- attestation?: {
1959
- protocol: "context.indexer.overlay-attestation/v1";
1960
- integrity: string;
1961
- resource: string;
1962
- } | undefined;
1963
1849
  }[] | undefined;
1964
1850
  };
1965
1851
  customization?: {
@@ -1971,9 +1857,9 @@ export declare const indexerProviderManifestSchema: z.ZodEffects<z.ZodObject<{
1971
1857
  output: "provider-enrichment-facts";
1972
1858
  capabilities: ("source.read" | "parser-facts.read")[];
1973
1859
  execution: {
1974
- entry: string;
1975
1860
  args: string[];
1976
1861
  runtime: "node";
1862
+ entry: string;
1977
1863
  };
1978
1864
  } | undefined;
1979
1865
  quality_guidance?: {
@@ -1999,9 +1885,9 @@ export declare const indexerProviderManifestSchema: z.ZodEffects<z.ZodObject<{
1999
1885
  };
2000
1886
  variant_schema?: {
2001
1887
  axes: {
2002
- values: string[];
2003
- id: string;
2004
1888
  type: "enum";
1889
+ id: string;
1890
+ values: string[];
2005
1891
  required: boolean;
2006
1892
  }[];
2007
1893
  } | undefined;
@@ -2015,9 +1901,9 @@ export declare const indexerProviderManifestSchema: z.ZodEffects<z.ZodObject<{
2015
1901
  protocol: "context.indexer.program/v1";
2016
1902
  capabilities: ("source.read" | "parser-facts.read" | "indexer-result.write")[];
2017
1903
  execution: {
2018
- entry: string;
2019
1904
  args: string[];
2020
1905
  runtime: "node";
1906
+ entry: string;
2021
1907
  };
2022
1908
  } | undefined;
2023
1909
  instructions?: {
@@ -2051,29 +1937,23 @@ export declare const indexerProviderManifestSchema: z.ZodEffects<z.ZodObject<{
2051
1937
  }[];
2052
1938
  agent_questions?: string[] | undefined;
2053
1939
  detector?: {
2054
- protocol: "context.indexer.activation/v1";
2055
1940
  optional: boolean;
1941
+ protocol: "context.indexer.activation/v1";
2056
1942
  capabilities: ["parser-facts.read"];
2057
1943
  execution: {
2058
- entry: string;
2059
1944
  args: string[];
2060
1945
  runtime: "node";
1946
+ entry: string;
2061
1947
  };
2062
1948
  } | undefined;
2063
1949
  };
2064
1950
  provides: {
2065
- operations: ({
1951
+ operations: {
2066
1952
  id: "main-index";
2067
- consumes: "context.indexer.main-workset/v1";
1953
+ consumes: "context.indexer.main-workset/v2";
2068
1954
  produces: "context.indexer.main-result/v1";
2069
1955
  accepts_layer_fragments?: ("fact-enrichment" | "template-variables")[] | undefined;
2070
- } | {
2071
- id: "material-answer";
2072
- consumes: "context.indexer.material-question-workset/v1";
2073
- produces: "context.indexer.material-answer-result/v1";
2074
- supported_evidence_kinds: ("contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot")[];
2075
- accepts_layer_fragments?: ("fact-enrichment" | "template-variables")[] | undefined;
2076
- })[];
1956
+ }[];
2077
1957
  profiles: string[];
2078
1958
  composers?: {
2079
1959
  id: string;
@@ -2112,9 +1992,9 @@ export declare const indexerProviderManifestSchema: z.ZodEffects<z.ZodObject<{
2112
1992
  })[] | undefined;
2113
1993
  tool_sources?: {
2114
1994
  id: string;
2115
- handler: string;
2116
1995
  operations: string[];
2117
1996
  optional: true;
1997
+ handler: string;
2118
1998
  request: string;
2119
1999
  produces: "context.indexer.tool-snapshot/v1";
2120
2000
  }[] | undefined;
@@ -2140,11 +2020,6 @@ export declare const indexerProviderManifestSchema: z.ZodEffects<z.ZodObject<{
2140
2020
  version: string;
2141
2021
  profile: string;
2142
2022
  };
2143
- attestation?: {
2144
- protocol: "context.indexer.overlay-attestation/v1";
2145
- integrity: string;
2146
- resource: string;
2147
- } | undefined;
2148
2023
  }[] | undefined;
2149
2024
  };
2150
2025
  customization?: {
@@ -2156,9 +2031,9 @@ export declare const indexerProviderManifestSchema: z.ZodEffects<z.ZodObject<{
2156
2031
  output: "provider-enrichment-facts";
2157
2032
  capabilities: ("source.read" | "parser-facts.read")[];
2158
2033
  execution: {
2159
- entry: string;
2160
2034
  args: string[];
2161
2035
  runtime: "node";
2036
+ entry: string;
2162
2037
  };
2163
2038
  } | undefined;
2164
2039
  quality_guidance?: {
@@ -2184,9 +2059,9 @@ export declare const indexerProviderManifestSchema: z.ZodEffects<z.ZodObject<{
2184
2059
  };
2185
2060
  variant_schema?: {
2186
2061
  axes: {
2187
- values: string[];
2188
- id: string;
2189
2062
  type: "enum";
2063
+ id: string;
2064
+ values: string[];
2190
2065
  required: boolean;
2191
2066
  }[];
2192
2067
  } | undefined;
@@ -2200,9 +2075,9 @@ export declare const indexerProviderManifestSchema: z.ZodEffects<z.ZodObject<{
2200
2075
  protocol: "context.indexer.program/v1";
2201
2076
  capabilities: ("source.read" | "parser-facts.read" | "indexer-result.write")[];
2202
2077
  execution: {
2203
- entry: string;
2204
2078
  args: string[];
2205
2079
  runtime: "node";
2080
+ entry: string;
2206
2081
  };
2207
2082
  } | undefined;
2208
2083
  instructions?: {
@@ -2236,29 +2111,23 @@ export declare const indexerProviderManifestSchema: z.ZodEffects<z.ZodObject<{
2236
2111
  }[];
2237
2112
  agent_questions?: string[] | undefined;
2238
2113
  detector?: {
2239
- protocol: "context.indexer.activation/v1";
2240
2114
  optional: boolean;
2115
+ protocol: "context.indexer.activation/v1";
2241
2116
  capabilities: ["parser-facts.read"];
2242
2117
  execution: {
2243
- entry: string;
2244
2118
  args: string[];
2245
2119
  runtime: "node";
2120
+ entry: string;
2246
2121
  };
2247
2122
  } | undefined;
2248
2123
  };
2249
2124
  provides: {
2250
- operations: ({
2125
+ operations: {
2251
2126
  id: "main-index";
2252
- consumes: "context.indexer.main-workset/v1";
2127
+ consumes: "context.indexer.main-workset/v2";
2253
2128
  produces: "context.indexer.main-result/v1";
2254
2129
  accepts_layer_fragments?: ("fact-enrichment" | "template-variables")[] | undefined;
2255
- } | {
2256
- id: "material-answer";
2257
- consumes: "context.indexer.material-question-workset/v1";
2258
- produces: "context.indexer.material-answer-result/v1";
2259
- supported_evidence_kinds: ("contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot")[];
2260
- accepts_layer_fragments?: ("fact-enrichment" | "template-variables")[] | undefined;
2261
- })[];
2130
+ }[];
2262
2131
  profiles: string[];
2263
2132
  composers?: {
2264
2133
  id: string;
@@ -2297,9 +2166,9 @@ export declare const indexerProviderManifestSchema: z.ZodEffects<z.ZodObject<{
2297
2166
  })[] | undefined;
2298
2167
  tool_sources?: {
2299
2168
  id: string;
2300
- handler: string;
2301
2169
  operations: string[];
2302
2170
  optional: true;
2171
+ handler: string;
2303
2172
  request: string;
2304
2173
  produces: "context.indexer.tool-snapshot/v1";
2305
2174
  }[] | undefined;
@@ -2325,11 +2194,6 @@ export declare const indexerProviderManifestSchema: z.ZodEffects<z.ZodObject<{
2325
2194
  version: string;
2326
2195
  profile: string;
2327
2196
  };
2328
- attestation?: {
2329
- protocol: "context.indexer.overlay-attestation/v1";
2330
- integrity: string;
2331
- resource: string;
2332
- } | undefined;
2333
2197
  }[] | undefined;
2334
2198
  };
2335
2199
  customization?: {
@@ -2341,9 +2205,9 @@ export declare const indexerProviderManifestSchema: z.ZodEffects<z.ZodObject<{
2341
2205
  output: "provider-enrichment-facts";
2342
2206
  capabilities: ("source.read" | "parser-facts.read")[];
2343
2207
  execution: {
2344
- entry: string;
2345
2208
  args: string[];
2346
2209
  runtime: "node";
2210
+ entry: string;
2347
2211
  };
2348
2212
  } | undefined;
2349
2213
  quality_guidance?: {
@@ -2369,9 +2233,9 @@ export declare const indexerProviderManifestSchema: z.ZodEffects<z.ZodObject<{
2369
2233
  };
2370
2234
  variant_schema?: {
2371
2235
  axes: {
2372
- values: string[];
2373
- id: string;
2374
2236
  type: "enum";
2237
+ id: string;
2238
+ values: string[];
2375
2239
  required: boolean;
2376
2240
  }[];
2377
2241
  } | undefined;
@@ -2385,9 +2249,9 @@ export declare const indexerProviderManifestSchema: z.ZodEffects<z.ZodObject<{
2385
2249
  protocol: "context.indexer.program/v1";
2386
2250
  capabilities: ("source.read" | "parser-facts.read" | "indexer-result.write")[];
2387
2251
  execution: {
2388
- entry: string;
2389
2252
  args: string[];
2390
2253
  runtime: "node";
2254
+ entry: string;
2391
2255
  };
2392
2256
  } | undefined;
2393
2257
  instructions?: {
@@ -2421,29 +2285,23 @@ export declare const indexerProviderManifestSchema: z.ZodEffects<z.ZodObject<{
2421
2285
  }[];
2422
2286
  agent_questions?: string[] | undefined;
2423
2287
  detector?: {
2424
- protocol: "context.indexer.activation/v1";
2425
2288
  optional: boolean;
2289
+ protocol: "context.indexer.activation/v1";
2426
2290
  capabilities: ["parser-facts.read"];
2427
2291
  execution: {
2428
- entry: string;
2429
2292
  args: string[];
2430
2293
  runtime: "node";
2294
+ entry: string;
2431
2295
  };
2432
2296
  } | undefined;
2433
2297
  };
2434
2298
  provides: {
2435
- operations: ({
2299
+ operations: {
2436
2300
  id: "main-index";
2437
- consumes: "context.indexer.main-workset/v1";
2301
+ consumes: "context.indexer.main-workset/v2";
2438
2302
  produces: "context.indexer.main-result/v1";
2439
2303
  accepts_layer_fragments?: ("fact-enrichment" | "template-variables")[] | undefined;
2440
- } | {
2441
- id: "material-answer";
2442
- consumes: "context.indexer.material-question-workset/v1";
2443
- produces: "context.indexer.material-answer-result/v1";
2444
- supported_evidence_kinds: ("contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot")[];
2445
- accepts_layer_fragments?: ("fact-enrichment" | "template-variables")[] | undefined;
2446
- })[];
2304
+ }[];
2447
2305
  profiles: string[];
2448
2306
  composers?: {
2449
2307
  id: string;
@@ -2482,9 +2340,9 @@ export declare const indexerProviderManifestSchema: z.ZodEffects<z.ZodObject<{
2482
2340
  })[] | undefined;
2483
2341
  tool_sources?: {
2484
2342
  id: string;
2485
- handler: string;
2486
2343
  operations: string[];
2487
2344
  optional: true;
2345
+ handler: string;
2488
2346
  request: string;
2489
2347
  produces: "context.indexer.tool-snapshot/v1";
2490
2348
  }[] | undefined;
@@ -2510,11 +2368,6 @@ export declare const indexerProviderManifestSchema: z.ZodEffects<z.ZodObject<{
2510
2368
  version: string;
2511
2369
  profile: string;
2512
2370
  };
2513
- attestation?: {
2514
- protocol: "context.indexer.overlay-attestation/v1";
2515
- integrity: string;
2516
- resource: string;
2517
- } | undefined;
2518
2371
  }[] | undefined;
2519
2372
  };
2520
2373
  customization?: {
@@ -2526,9 +2379,9 @@ export declare const indexerProviderManifestSchema: z.ZodEffects<z.ZodObject<{
2526
2379
  output: "provider-enrichment-facts";
2527
2380
  capabilities: ("source.read" | "parser-facts.read")[];
2528
2381
  execution: {
2529
- entry: string;
2530
2382
  args: string[];
2531
2383
  runtime: "node";
2384
+ entry: string;
2532
2385
  };
2533
2386
  } | undefined;
2534
2387
  quality_guidance?: {
@@ -2554,9 +2407,9 @@ export declare const indexerProviderManifestSchema: z.ZodEffects<z.ZodObject<{
2554
2407
  };
2555
2408
  variant_schema?: {
2556
2409
  axes: {
2557
- values: string[];
2558
- id: string;
2559
2410
  type: "enum";
2411
+ id: string;
2412
+ values: string[];
2560
2413
  required: boolean;
2561
2414
  }[];
2562
2415
  } | undefined;