@c4a/context 0.7.1 → 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 -428
  6. package/docs/guides/agent-guide.md +94 -518
  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 -121
  10. package/docs/reference/indexer-provider-protocol.md +43 -110
  11. package/docs/reference/package-templates.md +2 -3
  12. package/docs/reference/project-api.md +52 -986
  13. package/index.d.ts +10 -8
  14. package/index.js +4739 -7103
  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 +219 -252
  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 +66 -60
  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/indexerContractOverlay.d.ts +10 -10
  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 +491 -287
  55. package/indexerOverlayQuestionApplyProposal.d.ts +1022 -614
  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 -218
  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">>;
@@ -909,18 +873,12 @@ export declare const indexerProviderManifestSchema: z.ZodEffects<z.ZodObject<{
909
873
  };
910
874
  }>, "many">>;
911
875
  }, "strict", z.ZodTypeAny, {
912
- operations: ({
876
+ operations: {
913
877
  id: "main-index";
914
- consumes: "context.indexer.main-workset/v1";
878
+ consumes: "context.indexer.main-workset/v2";
915
879
  produces: "context.indexer.main-result/v1";
916
880
  accepts_layer_fragments?: ("fact-enrichment" | "template-variables")[] | undefined;
917
- } | {
918
- id: "material-answer";
919
- consumes: "context.indexer.material-question-workset/v1";
920
- produces: "context.indexer.material-answer-result/v1";
921
- supported_evidence_kinds: ("contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot")[];
922
- accepts_layer_fragments?: ("fact-enrichment" | "template-variables")[] | undefined;
923
- })[];
881
+ }[];
924
882
  profiles: string[];
925
883
  composers?: {
926
884
  id: string;
@@ -959,9 +917,9 @@ export declare const indexerProviderManifestSchema: z.ZodEffects<z.ZodObject<{
959
917
  })[] | undefined;
960
918
  tool_sources?: {
961
919
  id: string;
962
- handler: string;
963
920
  operations: string[];
964
921
  optional: true;
922
+ handler: string;
965
923
  request: string;
966
924
  produces: "context.indexer.tool-snapshot/v1";
967
925
  }[] | undefined;
@@ -989,18 +947,12 @@ export declare const indexerProviderManifestSchema: z.ZodEffects<z.ZodObject<{
989
947
  };
990
948
  }[] | undefined;
991
949
  }, {
992
- operations: ({
950
+ operations: {
993
951
  id: "main-index";
994
- consumes: "context.indexer.main-workset/v1";
952
+ consumes: "context.indexer.main-workset/v2";
995
953
  produces: "context.indexer.main-result/v1";
996
954
  accepts_layer_fragments?: ("fact-enrichment" | "template-variables")[] | undefined;
997
- } | {
998
- id: "material-answer";
999
- consumes: "context.indexer.material-question-workset/v1";
1000
- produces: "context.indexer.material-answer-result/v1";
1001
- supported_evidence_kinds: ("contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot")[];
1002
- accepts_layer_fragments?: ("fact-enrichment" | "template-variables")[] | undefined;
1003
- })[];
955
+ }[];
1004
956
  profiles: string[];
1005
957
  composers?: {
1006
958
  id: string;
@@ -1039,9 +991,9 @@ export declare const indexerProviderManifestSchema: z.ZodEffects<z.ZodObject<{
1039
991
  })[] | undefined;
1040
992
  tool_sources?: {
1041
993
  id: string;
1042
- handler: string;
1043
994
  operations: string[];
1044
995
  optional: true;
996
+ handler: string;
1045
997
  request: string;
1046
998
  produces: "context.indexer.tool-snapshot/v1";
1047
999
  }[] | undefined;
@@ -1069,18 +1021,12 @@ export declare const indexerProviderManifestSchema: z.ZodEffects<z.ZodObject<{
1069
1021
  };
1070
1022
  }[] | undefined;
1071
1023
  }>, {
1072
- operations: ({
1024
+ operations: {
1073
1025
  id: "main-index";
1074
- consumes: "context.indexer.main-workset/v1";
1026
+ consumes: "context.indexer.main-workset/v2";
1075
1027
  produces: "context.indexer.main-result/v1";
1076
1028
  accepts_layer_fragments?: ("fact-enrichment" | "template-variables")[] | undefined;
1077
- } | {
1078
- id: "material-answer";
1079
- consumes: "context.indexer.material-question-workset/v1";
1080
- produces: "context.indexer.material-answer-result/v1";
1081
- supported_evidence_kinds: ("contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot")[];
1082
- accepts_layer_fragments?: ("fact-enrichment" | "template-variables")[] | undefined;
1083
- })[];
1029
+ }[];
1084
1030
  profiles: string[];
1085
1031
  composers?: {
1086
1032
  id: string;
@@ -1119,9 +1065,9 @@ export declare const indexerProviderManifestSchema: z.ZodEffects<z.ZodObject<{
1119
1065
  })[] | undefined;
1120
1066
  tool_sources?: {
1121
1067
  id: string;
1122
- handler: string;
1123
1068
  operations: string[];
1124
1069
  optional: true;
1070
+ handler: string;
1125
1071
  request: string;
1126
1072
  produces: "context.indexer.tool-snapshot/v1";
1127
1073
  }[] | undefined;
@@ -1149,18 +1095,12 @@ export declare const indexerProviderManifestSchema: z.ZodEffects<z.ZodObject<{
1149
1095
  };
1150
1096
  }[] | undefined;
1151
1097
  }, {
1152
- operations: ({
1098
+ operations: {
1153
1099
  id: "main-index";
1154
- consumes: "context.indexer.main-workset/v1";
1100
+ consumes: "context.indexer.main-workset/v2";
1155
1101
  produces: "context.indexer.main-result/v1";
1156
1102
  accepts_layer_fragments?: ("fact-enrichment" | "template-variables")[] | undefined;
1157
- } | {
1158
- id: "material-answer";
1159
- consumes: "context.indexer.material-question-workset/v1";
1160
- produces: "context.indexer.material-answer-result/v1";
1161
- supported_evidence_kinds: ("contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot")[];
1162
- accepts_layer_fragments?: ("fact-enrichment" | "template-variables")[] | undefined;
1163
- })[];
1103
+ }[];
1164
1104
  profiles: string[];
1165
1105
  composers?: {
1166
1106
  id: string;
@@ -1199,9 +1139,9 @@ export declare const indexerProviderManifestSchema: z.ZodEffects<z.ZodObject<{
1199
1139
  })[] | undefined;
1200
1140
  tool_sources?: {
1201
1141
  id: string;
1202
- handler: string;
1203
1142
  operations: string[];
1204
1143
  optional: true;
1144
+ handler: string;
1205
1145
  request: string;
1206
1146
  produces: "context.indexer.tool-snapshot/v1";
1207
1147
  }[] | undefined;
@@ -1235,13 +1175,13 @@ export declare const indexerProviderManifestSchema: z.ZodEffects<z.ZodObject<{
1235
1175
  entry: z.ZodEffects<z.ZodString, string, string>;
1236
1176
  args: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
1237
1177
  }, "strict", z.ZodTypeAny, {
1238
- entry: string;
1239
1178
  args: string[];
1240
1179
  runtime: "node";
1241
- }, {
1242
1180
  entry: string;
1181
+ }, {
1243
1182
  args: string[];
1244
1183
  runtime: "node";
1184
+ entry: string;
1245
1185
  }>;
1246
1186
  protocol: z.ZodLiteral<"context.indexer.inspector/v1">;
1247
1187
  capabilities: z.ZodArray<z.ZodEnum<["parser-facts.read", "source.read"]>, "many">;
@@ -1251,36 +1191,36 @@ export declare const indexerProviderManifestSchema: z.ZodEffects<z.ZodObject<{
1251
1191
  output: "provider-enrichment-facts";
1252
1192
  capabilities: ("source.read" | "parser-facts.read")[];
1253
1193
  execution: {
1254
- entry: string;
1255
1194
  args: string[];
1256
1195
  runtime: "node";
1196
+ entry: string;
1257
1197
  };
1258
1198
  }, {
1259
1199
  protocol: "context.indexer.inspector/v1";
1260
1200
  output: "provider-enrichment-facts";
1261
1201
  capabilities: ("source.read" | "parser-facts.read")[];
1262
1202
  execution: {
1263
- entry: string;
1264
1203
  args: string[];
1265
1204
  runtime: "node";
1205
+ entry: string;
1266
1206
  };
1267
1207
  }>, {
1268
1208
  protocol: "context.indexer.inspector/v1";
1269
1209
  output: "provider-enrichment-facts";
1270
1210
  capabilities: ("source.read" | "parser-facts.read")[];
1271
1211
  execution: {
1272
- entry: string;
1273
1212
  args: string[];
1274
1213
  runtime: "node";
1214
+ entry: string;
1275
1215
  };
1276
1216
  }, {
1277
1217
  protocol: "context.indexer.inspector/v1";
1278
1218
  output: "provider-enrichment-facts";
1279
1219
  capabilities: ("source.read" | "parser-facts.read")[];
1280
1220
  execution: {
1281
- entry: string;
1282
1221
  args: string[];
1283
1222
  runtime: "node";
1223
+ entry: string;
1284
1224
  };
1285
1225
  }>>;
1286
1226
  provider: z.ZodEffects<z.ZodObject<{
@@ -1290,13 +1230,13 @@ export declare const indexerProviderManifestSchema: z.ZodEffects<z.ZodObject<{
1290
1230
  entry: z.ZodEffects<z.ZodString, string, string>;
1291
1231
  args: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
1292
1232
  }, "strict", z.ZodTypeAny, {
1293
- entry: string;
1294
1233
  args: string[];
1295
1234
  runtime: "node";
1296
- }, {
1297
1235
  entry: string;
1236
+ }, {
1298
1237
  args: string[];
1299
1238
  runtime: "node";
1239
+ entry: string;
1300
1240
  }>;
1301
1241
  protocol: z.ZodLiteral<"context.indexer.program/v1">;
1302
1242
  capabilities: z.ZodArray<z.ZodEnum<["source.read", "parser-facts.read", "indexer-result.write"]>, "many">;
@@ -1304,33 +1244,33 @@ export declare const indexerProviderManifestSchema: z.ZodEffects<z.ZodObject<{
1304
1244
  protocol: "context.indexer.program/v1";
1305
1245
  capabilities: ("source.read" | "parser-facts.read" | "indexer-result.write")[];
1306
1246
  execution: {
1307
- entry: string;
1308
1247
  args: string[];
1309
1248
  runtime: "node";
1249
+ entry: string;
1310
1250
  };
1311
1251
  }, {
1312
1252
  protocol: "context.indexer.program/v1";
1313
1253
  capabilities: ("source.read" | "parser-facts.read" | "indexer-result.write")[];
1314
1254
  execution: {
1315
- entry: string;
1316
1255
  args: string[];
1317
1256
  runtime: "node";
1257
+ entry: string;
1318
1258
  };
1319
1259
  }>, {
1320
1260
  protocol: "context.indexer.program/v1";
1321
1261
  capabilities: ("source.read" | "parser-facts.read" | "indexer-result.write")[];
1322
1262
  execution: {
1323
- entry: string;
1324
1263
  args: string[];
1325
1264
  runtime: "node";
1265
+ entry: string;
1326
1266
  };
1327
1267
  }, {
1328
1268
  protocol: "context.indexer.program/v1";
1329
1269
  capabilities: ("source.read" | "parser-facts.read" | "indexer-result.write")[];
1330
1270
  execution: {
1331
- entry: string;
1332
1271
  args: string[];
1333
1272
  runtime: "node";
1273
+ entry: string;
1334
1274
  };
1335
1275
  }>>;
1336
1276
  instructions: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodObject<{
@@ -1370,9 +1310,9 @@ export declare const indexerProviderManifestSchema: z.ZodEffects<z.ZodObject<{
1370
1310
  protocol: "context.indexer.program/v1";
1371
1311
  capabilities: ("source.read" | "parser-facts.read" | "indexer-result.write")[];
1372
1312
  execution: {
1373
- entry: string;
1374
1313
  args: string[];
1375
1314
  runtime: "node";
1315
+ entry: string;
1376
1316
  };
1377
1317
  } | undefined;
1378
1318
  instructions?: {
@@ -1392,9 +1332,9 @@ export declare const indexerProviderManifestSchema: z.ZodEffects<z.ZodObject<{
1392
1332
  protocol: "context.indexer.program/v1";
1393
1333
  capabilities: ("source.read" | "parser-facts.read" | "indexer-result.write")[];
1394
1334
  execution: {
1395
- entry: string;
1396
1335
  args: string[];
1397
1336
  runtime: "node";
1337
+ entry: string;
1398
1338
  };
1399
1339
  } | undefined;
1400
1340
  instructions?: {
@@ -1414,9 +1354,9 @@ export declare const indexerProviderManifestSchema: z.ZodEffects<z.ZodObject<{
1414
1354
  protocol: "context.indexer.program/v1";
1415
1355
  capabilities: ("source.read" | "parser-facts.read" | "indexer-result.write")[];
1416
1356
  execution: {
1417
- entry: string;
1418
1357
  args: string[];
1419
1358
  runtime: "node";
1359
+ entry: string;
1420
1360
  };
1421
1361
  } | undefined;
1422
1362
  instructions?: {
@@ -1436,9 +1376,9 @@ export declare const indexerProviderManifestSchema: z.ZodEffects<z.ZodObject<{
1436
1376
  protocol: "context.indexer.program/v1";
1437
1377
  capabilities: ("source.read" | "parser-facts.read" | "indexer-result.write")[];
1438
1378
  execution: {
1439
- entry: string;
1440
1379
  args: string[];
1441
1380
  runtime: "node";
1381
+ entry: string;
1442
1382
  };
1443
1383
  } | undefined;
1444
1384
  instructions?: {
@@ -1497,52 +1437,52 @@ export declare const indexerProviderManifestSchema: z.ZodEffects<z.ZodObject<{
1497
1437
  values: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
1498
1438
  required: z.ZodBoolean;
1499
1439
  }, "strict", z.ZodTypeAny, {
1500
- values: string[];
1501
- id: string;
1502
1440
  type: "enum";
1441
+ id: string;
1442
+ values: string[];
1503
1443
  required: boolean;
1504
1444
  }, {
1505
- values: string[];
1506
- id: string;
1507
1445
  type: "enum";
1446
+ id: string;
1447
+ values: string[];
1508
1448
  required: boolean;
1509
1449
  }>, {
1510
- values: string[];
1511
- id: string;
1512
1450
  type: "enum";
1451
+ id: string;
1452
+ values: string[];
1513
1453
  required: boolean;
1514
1454
  }, {
1515
- values: string[];
1516
- id: string;
1517
1455
  type: "enum";
1456
+ id: string;
1457
+ values: string[];
1518
1458
  required: boolean;
1519
1459
  }>, "many">;
1520
1460
  }, "strict", z.ZodTypeAny, {
1521
1461
  axes: {
1522
- values: string[];
1523
- id: string;
1524
1462
  type: "enum";
1463
+ id: string;
1464
+ values: string[];
1525
1465
  required: boolean;
1526
1466
  }[];
1527
1467
  }, {
1528
1468
  axes: {
1529
- values: string[];
1530
- id: string;
1531
1469
  type: "enum";
1470
+ id: string;
1471
+ values: string[];
1532
1472
  required: boolean;
1533
1473
  }[];
1534
1474
  }>, {
1535
1475
  axes: {
1536
- values: string[];
1537
- id: string;
1538
1476
  type: "enum";
1477
+ id: string;
1478
+ values: string[];
1539
1479
  required: boolean;
1540
1480
  }[];
1541
1481
  }, {
1542
1482
  axes: {
1543
- values: string[];
1544
- id: string;
1545
1483
  type: "enum";
1484
+ id: string;
1485
+ values: string[];
1546
1486
  required: boolean;
1547
1487
  }[];
1548
1488
  }>>;
@@ -1643,9 +1583,9 @@ export declare const indexerProviderManifestSchema: z.ZodEffects<z.ZodObject<{
1643
1583
  };
1644
1584
  variant_schema?: {
1645
1585
  axes: {
1646
- values: string[];
1647
- id: string;
1648
1586
  type: "enum";
1587
+ id: string;
1588
+ values: string[];
1649
1589
  required: boolean;
1650
1590
  }[];
1651
1591
  } | undefined;
@@ -1667,9 +1607,9 @@ export declare const indexerProviderManifestSchema: z.ZodEffects<z.ZodObject<{
1667
1607
  };
1668
1608
  variant_schema?: {
1669
1609
  axes: {
1670
- values: string[];
1671
- id: string;
1672
1610
  type: "enum";
1611
+ id: string;
1612
+ values: string[];
1673
1613
  required: boolean;
1674
1614
  }[];
1675
1615
  } | undefined;
@@ -1693,9 +1633,9 @@ export declare const indexerProviderManifestSchema: z.ZodEffects<z.ZodObject<{
1693
1633
  };
1694
1634
  variant_schema?: {
1695
1635
  axes: {
1696
- values: string[];
1697
- id: string;
1698
1636
  type: "enum";
1637
+ id: string;
1638
+ values: string[];
1699
1639
  required: boolean;
1700
1640
  }[];
1701
1641
  } | undefined;
@@ -1719,9 +1659,9 @@ export declare const indexerProviderManifestSchema: z.ZodEffects<z.ZodObject<{
1719
1659
  };
1720
1660
  variant_schema?: {
1721
1661
  axes: {
1722
- values: string[];
1723
- id: string;
1724
1662
  type: "enum";
1663
+ id: string;
1664
+ values: string[];
1725
1665
  required: boolean;
1726
1666
  }[];
1727
1667
  } | undefined;
@@ -1745,9 +1685,9 @@ export declare const indexerProviderManifestSchema: z.ZodEffects<z.ZodObject<{
1745
1685
  };
1746
1686
  variant_schema?: {
1747
1687
  axes: {
1748
- values: string[];
1749
- id: string;
1750
1688
  type: "enum";
1689
+ id: string;
1690
+ values: string[];
1751
1691
  required: boolean;
1752
1692
  }[];
1753
1693
  } | undefined;
@@ -1771,9 +1711,9 @@ export declare const indexerProviderManifestSchema: z.ZodEffects<z.ZodObject<{
1771
1711
  };
1772
1712
  variant_schema?: {
1773
1713
  axes: {
1774
- values: string[];
1775
- id: string;
1776
1714
  type: "enum";
1715
+ id: string;
1716
+ values: string[];
1777
1717
  required: boolean;
1778
1718
  }[];
1779
1719
  } | undefined;
@@ -1787,9 +1727,9 @@ export declare const indexerProviderManifestSchema: z.ZodEffects<z.ZodObject<{
1787
1727
  protocol: "context.indexer.program/v1";
1788
1728
  capabilities: ("source.read" | "parser-facts.read" | "indexer-result.write")[];
1789
1729
  execution: {
1790
- entry: string;
1791
1730
  args: string[];
1792
1731
  runtime: "node";
1732
+ entry: string;
1793
1733
  };
1794
1734
  } | undefined;
1795
1735
  instructions?: {
@@ -1823,29 +1763,23 @@ export declare const indexerProviderManifestSchema: z.ZodEffects<z.ZodObject<{
1823
1763
  }[];
1824
1764
  agent_questions?: string[] | undefined;
1825
1765
  detector?: {
1826
- protocol: "context.indexer.activation/v1";
1827
1766
  optional: boolean;
1767
+ protocol: "context.indexer.activation/v1";
1828
1768
  capabilities: ["parser-facts.read"];
1829
1769
  execution: {
1830
- entry: string;
1831
1770
  args: string[];
1832
1771
  runtime: "node";
1772
+ entry: string;
1833
1773
  };
1834
1774
  } | undefined;
1835
1775
  };
1836
1776
  provides: {
1837
- operations: ({
1777
+ operations: {
1838
1778
  id: "main-index";
1839
- consumes: "context.indexer.main-workset/v1";
1779
+ consumes: "context.indexer.main-workset/v2";
1840
1780
  produces: "context.indexer.main-result/v1";
1841
1781
  accepts_layer_fragments?: ("fact-enrichment" | "template-variables")[] | undefined;
1842
- } | {
1843
- id: "material-answer";
1844
- consumes: "context.indexer.material-question-workset/v1";
1845
- produces: "context.indexer.material-answer-result/v1";
1846
- supported_evidence_kinds: ("contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot")[];
1847
- accepts_layer_fragments?: ("fact-enrichment" | "template-variables")[] | undefined;
1848
- })[];
1782
+ }[];
1849
1783
  profiles: string[];
1850
1784
  composers?: {
1851
1785
  id: string;
@@ -1884,9 +1818,9 @@ export declare const indexerProviderManifestSchema: z.ZodEffects<z.ZodObject<{
1884
1818
  })[] | undefined;
1885
1819
  tool_sources?: {
1886
1820
  id: string;
1887
- handler: string;
1888
1821
  operations: string[];
1889
1822
  optional: true;
1823
+ handler: string;
1890
1824
  request: string;
1891
1825
  produces: "context.indexer.tool-snapshot/v1";
1892
1826
  }[] | undefined;
@@ -1923,9 +1857,9 @@ export declare const indexerProviderManifestSchema: z.ZodEffects<z.ZodObject<{
1923
1857
  output: "provider-enrichment-facts";
1924
1858
  capabilities: ("source.read" | "parser-facts.read")[];
1925
1859
  execution: {
1926
- entry: string;
1927
1860
  args: string[];
1928
1861
  runtime: "node";
1862
+ entry: string;
1929
1863
  };
1930
1864
  } | undefined;
1931
1865
  quality_guidance?: {
@@ -1951,9 +1885,9 @@ export declare const indexerProviderManifestSchema: z.ZodEffects<z.ZodObject<{
1951
1885
  };
1952
1886
  variant_schema?: {
1953
1887
  axes: {
1954
- values: string[];
1955
- id: string;
1956
1888
  type: "enum";
1889
+ id: string;
1890
+ values: string[];
1957
1891
  required: boolean;
1958
1892
  }[];
1959
1893
  } | undefined;
@@ -1967,9 +1901,9 @@ export declare const indexerProviderManifestSchema: z.ZodEffects<z.ZodObject<{
1967
1901
  protocol: "context.indexer.program/v1";
1968
1902
  capabilities: ("source.read" | "parser-facts.read" | "indexer-result.write")[];
1969
1903
  execution: {
1970
- entry: string;
1971
1904
  args: string[];
1972
1905
  runtime: "node";
1906
+ entry: string;
1973
1907
  };
1974
1908
  } | undefined;
1975
1909
  instructions?: {
@@ -2003,29 +1937,23 @@ export declare const indexerProviderManifestSchema: z.ZodEffects<z.ZodObject<{
2003
1937
  }[];
2004
1938
  agent_questions?: string[] | undefined;
2005
1939
  detector?: {
2006
- protocol: "context.indexer.activation/v1";
2007
1940
  optional: boolean;
1941
+ protocol: "context.indexer.activation/v1";
2008
1942
  capabilities: ["parser-facts.read"];
2009
1943
  execution: {
2010
- entry: string;
2011
1944
  args: string[];
2012
1945
  runtime: "node";
1946
+ entry: string;
2013
1947
  };
2014
1948
  } | undefined;
2015
1949
  };
2016
1950
  provides: {
2017
- operations: ({
1951
+ operations: {
2018
1952
  id: "main-index";
2019
- consumes: "context.indexer.main-workset/v1";
1953
+ consumes: "context.indexer.main-workset/v2";
2020
1954
  produces: "context.indexer.main-result/v1";
2021
1955
  accepts_layer_fragments?: ("fact-enrichment" | "template-variables")[] | undefined;
2022
- } | {
2023
- id: "material-answer";
2024
- consumes: "context.indexer.material-question-workset/v1";
2025
- produces: "context.indexer.material-answer-result/v1";
2026
- supported_evidence_kinds: ("contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot")[];
2027
- accepts_layer_fragments?: ("fact-enrichment" | "template-variables")[] | undefined;
2028
- })[];
1956
+ }[];
2029
1957
  profiles: string[];
2030
1958
  composers?: {
2031
1959
  id: string;
@@ -2064,9 +1992,9 @@ export declare const indexerProviderManifestSchema: z.ZodEffects<z.ZodObject<{
2064
1992
  })[] | undefined;
2065
1993
  tool_sources?: {
2066
1994
  id: string;
2067
- handler: string;
2068
1995
  operations: string[];
2069
1996
  optional: true;
1997
+ handler: string;
2070
1998
  request: string;
2071
1999
  produces: "context.indexer.tool-snapshot/v1";
2072
2000
  }[] | undefined;
@@ -2103,9 +2031,9 @@ export declare const indexerProviderManifestSchema: z.ZodEffects<z.ZodObject<{
2103
2031
  output: "provider-enrichment-facts";
2104
2032
  capabilities: ("source.read" | "parser-facts.read")[];
2105
2033
  execution: {
2106
- entry: string;
2107
2034
  args: string[];
2108
2035
  runtime: "node";
2036
+ entry: string;
2109
2037
  };
2110
2038
  } | undefined;
2111
2039
  quality_guidance?: {
@@ -2131,9 +2059,9 @@ export declare const indexerProviderManifestSchema: z.ZodEffects<z.ZodObject<{
2131
2059
  };
2132
2060
  variant_schema?: {
2133
2061
  axes: {
2134
- values: string[];
2135
- id: string;
2136
2062
  type: "enum";
2063
+ id: string;
2064
+ values: string[];
2137
2065
  required: boolean;
2138
2066
  }[];
2139
2067
  } | undefined;
@@ -2147,9 +2075,9 @@ export declare const indexerProviderManifestSchema: z.ZodEffects<z.ZodObject<{
2147
2075
  protocol: "context.indexer.program/v1";
2148
2076
  capabilities: ("source.read" | "parser-facts.read" | "indexer-result.write")[];
2149
2077
  execution: {
2150
- entry: string;
2151
2078
  args: string[];
2152
2079
  runtime: "node";
2080
+ entry: string;
2153
2081
  };
2154
2082
  } | undefined;
2155
2083
  instructions?: {
@@ -2183,29 +2111,23 @@ export declare const indexerProviderManifestSchema: z.ZodEffects<z.ZodObject<{
2183
2111
  }[];
2184
2112
  agent_questions?: string[] | undefined;
2185
2113
  detector?: {
2186
- protocol: "context.indexer.activation/v1";
2187
2114
  optional: boolean;
2115
+ protocol: "context.indexer.activation/v1";
2188
2116
  capabilities: ["parser-facts.read"];
2189
2117
  execution: {
2190
- entry: string;
2191
2118
  args: string[];
2192
2119
  runtime: "node";
2120
+ entry: string;
2193
2121
  };
2194
2122
  } | undefined;
2195
2123
  };
2196
2124
  provides: {
2197
- operations: ({
2125
+ operations: {
2198
2126
  id: "main-index";
2199
- consumes: "context.indexer.main-workset/v1";
2127
+ consumes: "context.indexer.main-workset/v2";
2200
2128
  produces: "context.indexer.main-result/v1";
2201
2129
  accepts_layer_fragments?: ("fact-enrichment" | "template-variables")[] | undefined;
2202
- } | {
2203
- id: "material-answer";
2204
- consumes: "context.indexer.material-question-workset/v1";
2205
- produces: "context.indexer.material-answer-result/v1";
2206
- supported_evidence_kinds: ("contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot")[];
2207
- accepts_layer_fragments?: ("fact-enrichment" | "template-variables")[] | undefined;
2208
- })[];
2130
+ }[];
2209
2131
  profiles: string[];
2210
2132
  composers?: {
2211
2133
  id: string;
@@ -2244,9 +2166,9 @@ export declare const indexerProviderManifestSchema: z.ZodEffects<z.ZodObject<{
2244
2166
  })[] | undefined;
2245
2167
  tool_sources?: {
2246
2168
  id: string;
2247
- handler: string;
2248
2169
  operations: string[];
2249
2170
  optional: true;
2171
+ handler: string;
2250
2172
  request: string;
2251
2173
  produces: "context.indexer.tool-snapshot/v1";
2252
2174
  }[] | undefined;
@@ -2283,9 +2205,9 @@ export declare const indexerProviderManifestSchema: z.ZodEffects<z.ZodObject<{
2283
2205
  output: "provider-enrichment-facts";
2284
2206
  capabilities: ("source.read" | "parser-facts.read")[];
2285
2207
  execution: {
2286
- entry: string;
2287
2208
  args: string[];
2288
2209
  runtime: "node";
2210
+ entry: string;
2289
2211
  };
2290
2212
  } | undefined;
2291
2213
  quality_guidance?: {
@@ -2311,9 +2233,9 @@ export declare const indexerProviderManifestSchema: z.ZodEffects<z.ZodObject<{
2311
2233
  };
2312
2234
  variant_schema?: {
2313
2235
  axes: {
2314
- values: string[];
2315
- id: string;
2316
2236
  type: "enum";
2237
+ id: string;
2238
+ values: string[];
2317
2239
  required: boolean;
2318
2240
  }[];
2319
2241
  } | undefined;
@@ -2327,9 +2249,9 @@ export declare const indexerProviderManifestSchema: z.ZodEffects<z.ZodObject<{
2327
2249
  protocol: "context.indexer.program/v1";
2328
2250
  capabilities: ("source.read" | "parser-facts.read" | "indexer-result.write")[];
2329
2251
  execution: {
2330
- entry: string;
2331
2252
  args: string[];
2332
2253
  runtime: "node";
2254
+ entry: string;
2333
2255
  };
2334
2256
  } | undefined;
2335
2257
  instructions?: {
@@ -2363,29 +2285,23 @@ export declare const indexerProviderManifestSchema: z.ZodEffects<z.ZodObject<{
2363
2285
  }[];
2364
2286
  agent_questions?: string[] | undefined;
2365
2287
  detector?: {
2366
- protocol: "context.indexer.activation/v1";
2367
2288
  optional: boolean;
2289
+ protocol: "context.indexer.activation/v1";
2368
2290
  capabilities: ["parser-facts.read"];
2369
2291
  execution: {
2370
- entry: string;
2371
2292
  args: string[];
2372
2293
  runtime: "node";
2294
+ entry: string;
2373
2295
  };
2374
2296
  } | undefined;
2375
2297
  };
2376
2298
  provides: {
2377
- operations: ({
2299
+ operations: {
2378
2300
  id: "main-index";
2379
- consumes: "context.indexer.main-workset/v1";
2301
+ consumes: "context.indexer.main-workset/v2";
2380
2302
  produces: "context.indexer.main-result/v1";
2381
2303
  accepts_layer_fragments?: ("fact-enrichment" | "template-variables")[] | undefined;
2382
- } | {
2383
- id: "material-answer";
2384
- consumes: "context.indexer.material-question-workset/v1";
2385
- produces: "context.indexer.material-answer-result/v1";
2386
- supported_evidence_kinds: ("contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot")[];
2387
- accepts_layer_fragments?: ("fact-enrichment" | "template-variables")[] | undefined;
2388
- })[];
2304
+ }[];
2389
2305
  profiles: string[];
2390
2306
  composers?: {
2391
2307
  id: string;
@@ -2424,9 +2340,9 @@ export declare const indexerProviderManifestSchema: z.ZodEffects<z.ZodObject<{
2424
2340
  })[] | undefined;
2425
2341
  tool_sources?: {
2426
2342
  id: string;
2427
- handler: string;
2428
2343
  operations: string[];
2429
2344
  optional: true;
2345
+ handler: string;
2430
2346
  request: string;
2431
2347
  produces: "context.indexer.tool-snapshot/v1";
2432
2348
  }[] | undefined;
@@ -2463,9 +2379,9 @@ export declare const indexerProviderManifestSchema: z.ZodEffects<z.ZodObject<{
2463
2379
  output: "provider-enrichment-facts";
2464
2380
  capabilities: ("source.read" | "parser-facts.read")[];
2465
2381
  execution: {
2466
- entry: string;
2467
2382
  args: string[];
2468
2383
  runtime: "node";
2384
+ entry: string;
2469
2385
  };
2470
2386
  } | undefined;
2471
2387
  quality_guidance?: {
@@ -2491,9 +2407,9 @@ export declare const indexerProviderManifestSchema: z.ZodEffects<z.ZodObject<{
2491
2407
  };
2492
2408
  variant_schema?: {
2493
2409
  axes: {
2494
- values: string[];
2495
- id: string;
2496
2410
  type: "enum";
2411
+ id: string;
2412
+ values: string[];
2497
2413
  required: boolean;
2498
2414
  }[];
2499
2415
  } | undefined;