@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
@@ -11,19 +11,19 @@ export declare const indexerSkillCapabilitySchema: z.ZodObject<{
11
11
  domains: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
12
12
  profiles: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
13
13
  operations: z.ZodArray<z.ZodObject<{
14
- id: z.ZodEnum<["main-index", "material-answer"]>;
14
+ id: z.ZodLiteral<"main-index">;
15
15
  consumes: z.ZodString;
16
16
  produces: z.ZodString;
17
17
  accepts_layer_fragments: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
18
18
  supported_evidence_kinds: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
19
19
  }, "strict", z.ZodTypeAny, {
20
- id: "main-index" | "material-answer";
20
+ id: "main-index";
21
21
  consumes: string;
22
22
  produces: string;
23
23
  accepts_layer_fragments: string[];
24
24
  supported_evidence_kinds: string[];
25
25
  }, {
26
- id: "main-index" | "material-answer";
26
+ id: "main-index";
27
27
  consumes: string;
28
28
  produces: string;
29
29
  accepts_layer_fragments: string[];
@@ -52,30 +52,30 @@ export declare const indexerSkillCapabilitySchema: z.ZodObject<{
52
52
  optional: z.ZodLiteral<true>;
53
53
  }, "strict", z.ZodTypeAny, {
54
54
  id: string;
55
- handler: string;
56
55
  operations: string[];
57
56
  optional: true;
57
+ handler: string;
58
58
  request: string;
59
59
  produces: "context.indexer.tool-snapshot/v1";
60
60
  }, {
61
61
  id: string;
62
- handler: string;
63
62
  operations: string[];
64
63
  optional: true;
64
+ handler: string;
65
65
  request: string;
66
66
  produces: "context.indexer.tool-snapshot/v1";
67
67
  }>, {
68
68
  id: string;
69
- handler: string;
70
69
  operations: string[];
71
70
  optional: true;
71
+ handler: string;
72
72
  request: string;
73
73
  produces: "context.indexer.tool-snapshot/v1";
74
74
  }, {
75
75
  id: string;
76
- handler: string;
77
76
  operations: string[];
78
77
  optional: true;
78
+ handler: string;
79
79
  request: string;
80
80
  produces: "context.indexer.tool-snapshot/v1";
81
81
  }>, "many">;
@@ -247,14 +247,14 @@ export declare const indexerSkillCapabilitySchema: z.ZodObject<{
247
247
  } & {
248
248
  capability_digest: z.ZodString;
249
249
  }, "strict", z.ZodTypeAny, {
250
- protocol: "context.indexer.skill-capability/v1";
251
250
  operations: {
252
- id: "main-index" | "material-answer";
251
+ id: "main-index";
253
252
  consumes: string;
254
253
  produces: string;
255
254
  accepts_layer_fragments: string[];
256
255
  supported_evidence_kinds: string[];
257
256
  }[];
257
+ protocol: "context.indexer.skill-capability/v1";
258
258
  skill: string;
259
259
  version: string;
260
260
  composers: {
@@ -287,9 +287,9 @@ export declare const indexerSkillCapabilitySchema: z.ZodObject<{
287
287
  }[];
288
288
  tool_sources: {
289
289
  id: string;
290
- handler: string;
291
290
  operations: string[];
292
291
  optional: true;
292
+ handler: string;
293
293
  request: string;
294
294
  produces: "context.indexer.tool-snapshot/v1";
295
295
  }[];
@@ -304,14 +304,14 @@ export declare const indexerSkillCapabilitySchema: z.ZodObject<{
304
304
  customization_capabilities: string[];
305
305
  capability_digest: string;
306
306
  }, {
307
- protocol: "context.indexer.skill-capability/v1";
308
307
  operations: {
309
- id: "main-index" | "material-answer";
308
+ id: "main-index";
310
309
  consumes: string;
311
310
  produces: string;
312
311
  accepts_layer_fragments: string[];
313
312
  supported_evidence_kinds: string[];
314
313
  }[];
314
+ protocol: "context.indexer.skill-capability/v1";
315
315
  skill: string;
316
316
  version: string;
317
317
  composers: {
@@ -344,9 +344,9 @@ export declare const indexerSkillCapabilitySchema: z.ZodObject<{
344
344
  }[];
345
345
  tool_sources: {
346
346
  id: string;
347
- handler: string;
348
347
  operations: string[];
349
348
  optional: true;
349
+ handler: string;
350
350
  request: string;
351
351
  produces: "context.indexer.tool-snapshot/v1";
352
352
  }[];
@@ -395,19 +395,19 @@ export declare const indexerProviderCompositionPlanSchema: z.ZodObject<{
395
395
  domains: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
396
396
  profiles: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
397
397
  operations: z.ZodArray<z.ZodObject<{
398
- id: z.ZodEnum<["main-index", "material-answer"]>;
398
+ id: z.ZodLiteral<"main-index">;
399
399
  consumes: z.ZodString;
400
400
  produces: z.ZodString;
401
401
  accepts_layer_fragments: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
402
402
  supported_evidence_kinds: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
403
403
  }, "strict", z.ZodTypeAny, {
404
- id: "main-index" | "material-answer";
404
+ id: "main-index";
405
405
  consumes: string;
406
406
  produces: string;
407
407
  accepts_layer_fragments: string[];
408
408
  supported_evidence_kinds: string[];
409
409
  }, {
410
- id: "main-index" | "material-answer";
410
+ id: "main-index";
411
411
  consumes: string;
412
412
  produces: string;
413
413
  accepts_layer_fragments: string[];
@@ -436,30 +436,30 @@ export declare const indexerProviderCompositionPlanSchema: z.ZodObject<{
436
436
  optional: z.ZodLiteral<true>;
437
437
  }, "strict", z.ZodTypeAny, {
438
438
  id: string;
439
- handler: string;
440
439
  operations: string[];
441
440
  optional: true;
441
+ handler: string;
442
442
  request: string;
443
443
  produces: "context.indexer.tool-snapshot/v1";
444
444
  }, {
445
445
  id: string;
446
- handler: string;
447
446
  operations: string[];
448
447
  optional: true;
448
+ handler: string;
449
449
  request: string;
450
450
  produces: "context.indexer.tool-snapshot/v1";
451
451
  }>, {
452
452
  id: string;
453
- handler: string;
454
453
  operations: string[];
455
454
  optional: true;
455
+ handler: string;
456
456
  request: string;
457
457
  produces: "context.indexer.tool-snapshot/v1";
458
458
  }, {
459
459
  id: string;
460
- handler: string;
461
460
  operations: string[];
462
461
  optional: true;
462
+ handler: string;
463
463
  request: string;
464
464
  produces: "context.indexer.tool-snapshot/v1";
465
465
  }>, "many">;
@@ -631,14 +631,14 @@ export declare const indexerProviderCompositionPlanSchema: z.ZodObject<{
631
631
  } & {
632
632
  capability_digest: z.ZodString;
633
633
  }, "strict", z.ZodTypeAny, {
634
- protocol: "context.indexer.skill-capability/v1";
635
634
  operations: {
636
- id: "main-index" | "material-answer";
635
+ id: "main-index";
637
636
  consumes: string;
638
637
  produces: string;
639
638
  accepts_layer_fragments: string[];
640
639
  supported_evidence_kinds: string[];
641
640
  }[];
641
+ protocol: "context.indexer.skill-capability/v1";
642
642
  skill: string;
643
643
  version: string;
644
644
  composers: {
@@ -671,9 +671,9 @@ export declare const indexerProviderCompositionPlanSchema: z.ZodObject<{
671
671
  }[];
672
672
  tool_sources: {
673
673
  id: string;
674
- handler: string;
675
674
  operations: string[];
676
675
  optional: true;
676
+ handler: string;
677
677
  request: string;
678
678
  produces: "context.indexer.tool-snapshot/v1";
679
679
  }[];
@@ -688,14 +688,14 @@ export declare const indexerProviderCompositionPlanSchema: z.ZodObject<{
688
688
  customization_capabilities: string[];
689
689
  capability_digest: string;
690
690
  }, {
691
- protocol: "context.indexer.skill-capability/v1";
692
691
  operations: {
693
- id: "main-index" | "material-answer";
692
+ id: "main-index";
694
693
  consumes: string;
695
694
  produces: string;
696
695
  accepts_layer_fragments: string[];
697
696
  supported_evidence_kinds: string[];
698
697
  }[];
698
+ protocol: "context.indexer.skill-capability/v1";
699
699
  skill: string;
700
700
  version: string;
701
701
  composers: {
@@ -728,9 +728,9 @@ export declare const indexerProviderCompositionPlanSchema: z.ZodObject<{
728
728
  }[];
729
729
  tool_sources: {
730
730
  id: string;
731
- handler: string;
732
731
  operations: string[];
733
732
  optional: true;
733
+ handler: string;
734
734
  request: string;
735
735
  produces: "context.indexer.tool-snapshot/v1";
736
736
  }[];
@@ -747,14 +747,14 @@ export declare const indexerProviderCompositionPlanSchema: z.ZodObject<{
747
747
  }>;
748
748
  }, "strict", z.ZodTypeAny, {
749
749
  capability: {
750
- protocol: "context.indexer.skill-capability/v1";
751
750
  operations: {
752
- id: "main-index" | "material-answer";
751
+ id: "main-index";
753
752
  consumes: string;
754
753
  produces: string;
755
754
  accepts_layer_fragments: string[];
756
755
  supported_evidence_kinds: string[];
757
756
  }[];
757
+ protocol: "context.indexer.skill-capability/v1";
758
758
  skill: string;
759
759
  version: string;
760
760
  composers: {
@@ -787,9 +787,9 @@ export declare const indexerProviderCompositionPlanSchema: z.ZodObject<{
787
787
  }[];
788
788
  tool_sources: {
789
789
  id: string;
790
- handler: string;
791
790
  operations: string[];
792
791
  optional: true;
792
+ handler: string;
793
793
  request: string;
794
794
  produces: "context.indexer.tool-snapshot/v1";
795
795
  }[];
@@ -809,14 +809,14 @@ export declare const indexerProviderCompositionPlanSchema: z.ZodObject<{
809
809
  provider_layer_id: string;
810
810
  }, {
811
811
  capability: {
812
- protocol: "context.indexer.skill-capability/v1";
813
812
  operations: {
814
- id: "main-index" | "material-answer";
813
+ id: "main-index";
815
814
  consumes: string;
816
815
  produces: string;
817
816
  accepts_layer_fragments: string[];
818
817
  supported_evidence_kinds: string[];
819
818
  }[];
819
+ protocol: "context.indexer.skill-capability/v1";
820
820
  skill: string;
821
821
  version: string;
822
822
  composers: {
@@ -849,9 +849,9 @@ export declare const indexerProviderCompositionPlanSchema: z.ZodObject<{
849
849
  }[];
850
850
  tool_sources: {
851
851
  id: string;
852
- handler: string;
853
852
  operations: string[];
854
853
  optional: true;
854
+ handler: string;
855
855
  request: string;
856
856
  produces: "context.indexer.tool-snapshot/v1";
857
857
  }[];
@@ -871,15 +871,15 @@ export declare const indexerProviderCompositionPlanSchema: z.ZodObject<{
871
871
  provider_layer_id: string;
872
872
  }>, "many">;
873
873
  operation_authorities: z.ZodArray<z.ZodObject<{
874
- operation: z.ZodEnum<["main-index", "material-answer"]>;
874
+ operation: z.ZodLiteral<"main-index">;
875
875
  final_authority_layer_id: z.ZodEffects<z.ZodString, string, string>;
876
876
  accepts_layer_fragments: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
877
877
  }, "strict", z.ZodTypeAny, {
878
- operation: "main-index" | "material-answer";
878
+ operation: "main-index";
879
879
  accepts_layer_fragments: string[];
880
880
  final_authority_layer_id: string;
881
881
  }, {
882
- operation: "main-index" | "material-answer";
882
+ operation: "main-index";
883
883
  accepts_layer_fragments: string[];
884
884
  final_authority_layer_id: string;
885
885
  }>, "many">;
@@ -904,30 +904,30 @@ export declare const indexerProviderCompositionPlanSchema: z.ZodObject<{
904
904
  optional: z.ZodLiteral<true>;
905
905
  }, "strict", z.ZodTypeAny, {
906
906
  id: string;
907
- handler: string;
908
907
  operations: string[];
909
908
  optional: true;
909
+ handler: string;
910
910
  request: string;
911
911
  produces: "context.indexer.tool-snapshot/v1";
912
912
  }, {
913
913
  id: string;
914
- handler: string;
915
914
  operations: string[];
916
915
  optional: true;
916
+ handler: string;
917
917
  request: string;
918
918
  produces: "context.indexer.tool-snapshot/v1";
919
919
  }>, {
920
920
  id: string;
921
- handler: string;
922
921
  operations: string[];
923
922
  optional: true;
923
+ handler: string;
924
924
  request: string;
925
925
  produces: "context.indexer.tool-snapshot/v1";
926
926
  }, {
927
927
  id: string;
928
- handler: string;
929
928
  operations: string[];
930
929
  optional: true;
930
+ handler: string;
931
931
  request: string;
932
932
  produces: "context.indexer.tool-snapshot/v1";
933
933
  }>;
@@ -935,9 +935,9 @@ export declare const indexerProviderCompositionPlanSchema: z.ZodObject<{
935
935
  provider_layer_id: string;
936
936
  declaration: {
937
937
  id: string;
938
- handler: string;
939
938
  operations: string[];
940
939
  optional: true;
940
+ handler: string;
941
941
  request: string;
942
942
  produces: "context.indexer.tool-snapshot/v1";
943
943
  };
@@ -945,9 +945,9 @@ export declare const indexerProviderCompositionPlanSchema: z.ZodObject<{
945
945
  provider_layer_id: string;
946
946
  declaration: {
947
947
  id: string;
948
- handler: string;
949
948
  operations: string[];
950
949
  optional: true;
950
+ handler: string;
951
951
  request: string;
952
952
  produces: "context.indexer.tool-snapshot/v1";
953
953
  };
@@ -1085,9 +1085,9 @@ export declare const indexerProviderCompositionPlanSchema: z.ZodObject<{
1085
1085
  provider_layer_id: string;
1086
1086
  declaration: {
1087
1087
  id: string;
1088
- handler: string;
1089
1088
  operations: string[];
1090
1089
  optional: true;
1090
+ handler: string;
1091
1091
  request: string;
1092
1092
  produces: "context.indexer.tool-snapshot/v1";
1093
1093
  };
@@ -1116,23 +1116,23 @@ export declare const indexerProviderCompositionPlanSchema: z.ZodObject<{
1116
1116
  project_path?: string | undefined;
1117
1117
  }[];
1118
1118
  indexer_id: string;
1119
- primary_layer_id: string;
1120
1119
  active_profiles: {
1121
1120
  id: string;
1122
1121
  kind: "primary" | "supporting" | "extension";
1123
1122
  variants: Record<string, string>;
1124
1123
  provider_layer_id: string;
1125
1124
  }[];
1125
+ primary_layer_id: string;
1126
1126
  skill_capabilities: {
1127
1127
  capability: {
1128
- protocol: "context.indexer.skill-capability/v1";
1129
1128
  operations: {
1130
- id: "main-index" | "material-answer";
1129
+ id: "main-index";
1131
1130
  consumes: string;
1132
1131
  produces: string;
1133
1132
  accepts_layer_fragments: string[];
1134
1133
  supported_evidence_kinds: string[];
1135
1134
  }[];
1135
+ protocol: "context.indexer.skill-capability/v1";
1136
1136
  skill: string;
1137
1137
  version: string;
1138
1138
  composers: {
@@ -1165,9 +1165,9 @@ export declare const indexerProviderCompositionPlanSchema: z.ZodObject<{
1165
1165
  }[];
1166
1166
  tool_sources: {
1167
1167
  id: string;
1168
- handler: string;
1169
1168
  operations: string[];
1170
1169
  optional: true;
1170
+ handler: string;
1171
1171
  request: string;
1172
1172
  produces: "context.indexer.tool-snapshot/v1";
1173
1173
  }[];
@@ -1187,7 +1187,7 @@ export declare const indexerProviderCompositionPlanSchema: z.ZodObject<{
1187
1187
  provider_layer_id: string;
1188
1188
  }[];
1189
1189
  operation_authorities: {
1190
- operation: "main-index" | "material-answer";
1190
+ operation: "main-index";
1191
1191
  accepts_layer_fragments: string[];
1192
1192
  final_authority_layer_id: string;
1193
1193
  }[];
@@ -1219,9 +1219,9 @@ export declare const indexerProviderCompositionPlanSchema: z.ZodObject<{
1219
1219
  provider_layer_id: string;
1220
1220
  declaration: {
1221
1221
  id: string;
1222
- handler: string;
1223
1222
  operations: string[];
1224
1223
  optional: true;
1224
+ handler: string;
1225
1225
  request: string;
1226
1226
  produces: "context.indexer.tool-snapshot/v1";
1227
1227
  };
@@ -1250,23 +1250,23 @@ export declare const indexerProviderCompositionPlanSchema: z.ZodObject<{
1250
1250
  project_path?: string | undefined;
1251
1251
  }[];
1252
1252
  indexer_id: string;
1253
- primary_layer_id: string;
1254
1253
  active_profiles: {
1255
1254
  id: string;
1256
1255
  kind: "primary" | "supporting" | "extension";
1257
1256
  variants: Record<string, string>;
1258
1257
  provider_layer_id: string;
1259
1258
  }[];
1259
+ primary_layer_id: string;
1260
1260
  skill_capabilities: {
1261
1261
  capability: {
1262
- protocol: "context.indexer.skill-capability/v1";
1263
1262
  operations: {
1264
- id: "main-index" | "material-answer";
1263
+ id: "main-index";
1265
1264
  consumes: string;
1266
1265
  produces: string;
1267
1266
  accepts_layer_fragments: string[];
1268
1267
  supported_evidence_kinds: string[];
1269
1268
  }[];
1269
+ protocol: "context.indexer.skill-capability/v1";
1270
1270
  skill: string;
1271
1271
  version: string;
1272
1272
  composers: {
@@ -1299,9 +1299,9 @@ export declare const indexerProviderCompositionPlanSchema: z.ZodObject<{
1299
1299
  }[];
1300
1300
  tool_sources: {
1301
1301
  id: string;
1302
- handler: string;
1303
1302
  operations: string[];
1304
1303
  optional: true;
1304
+ handler: string;
1305
1305
  request: string;
1306
1306
  produces: "context.indexer.tool-snapshot/v1";
1307
1307
  }[];
@@ -1321,7 +1321,7 @@ export declare const indexerProviderCompositionPlanSchema: z.ZodObject<{
1321
1321
  provider_layer_id: string;
1322
1322
  }[];
1323
1323
  operation_authorities: {
1324
- operation: "main-index" | "material-answer";
1324
+ operation: "main-index";
1325
1325
  accepts_layer_fragments: string[];
1326
1326
  final_authority_layer_id: string;
1327
1327
  }[];
@@ -272,12 +272,12 @@ export declare const resolvedProviderBundleSchema: z.ZodEffects<z.ZodObject<{
272
272
  path: z.ZodEffects<z.ZodString, string, string>;
273
273
  expires_at: z.ZodString;
274
274
  }, "strict", z.ZodTypeAny, {
275
- kind: "directory" | "archive";
276
275
  path: string;
276
+ kind: "directory" | "archive";
277
277
  expires_at: string;
278
278
  }, {
279
- kind: "directory" | "archive";
280
279
  path: string;
280
+ kind: "directory" | "archive";
281
281
  expires_at: string;
282
282
  }>;
283
283
  files: z.ZodArray<z.ZodObject<{
@@ -307,11 +307,11 @@ export declare const resolvedProviderBundleSchema: z.ZodEffects<z.ZodObject<{
307
307
  resolved_at: string;
308
308
  }>;
309
309
  }, "strict", z.ZodTypeAny, {
310
- protocol: "context.indexer.resolved-provider-bundle/v1";
311
310
  files: {
312
311
  path: string;
313
312
  digest: string;
314
313
  }[];
314
+ protocol: "context.indexer.resolved-provider-bundle/v1";
315
315
  request: {
316
316
  skill: string;
317
317
  version: string;
@@ -341,8 +341,8 @@ export declare const resolvedProviderBundleSchema: z.ZodEffects<z.ZodObject<{
341
341
  trust: "first-party" | "verified" | "project-authorized" | "untrusted";
342
342
  };
343
343
  transport: {
344
- kind: "directory" | "archive";
345
344
  path: string;
345
+ kind: "directory" | "archive";
346
346
  expires_at: string;
347
347
  };
348
348
  receipt: {
@@ -352,11 +352,11 @@ export declare const resolvedProviderBundleSchema: z.ZodEffects<z.ZodObject<{
352
352
  resolved_at: string;
353
353
  };
354
354
  }, {
355
- protocol: "context.indexer.resolved-provider-bundle/v1";
356
355
  files: {
357
356
  path: string;
358
357
  digest: string;
359
358
  }[];
359
+ protocol: "context.indexer.resolved-provider-bundle/v1";
360
360
  request: {
361
361
  skill: string;
362
362
  version: string;
@@ -386,8 +386,8 @@ export declare const resolvedProviderBundleSchema: z.ZodEffects<z.ZodObject<{
386
386
  trust: "first-party" | "verified" | "project-authorized" | "untrusted";
387
387
  };
388
388
  transport: {
389
- kind: "directory" | "archive";
390
389
  path: string;
390
+ kind: "directory" | "archive";
391
391
  expires_at: string;
392
392
  };
393
393
  receipt: {
@@ -397,11 +397,11 @@ export declare const resolvedProviderBundleSchema: z.ZodEffects<z.ZodObject<{
397
397
  resolved_at: string;
398
398
  };
399
399
  }>, {
400
- protocol: "context.indexer.resolved-provider-bundle/v1";
401
400
  files: {
402
401
  path: string;
403
402
  digest: string;
404
403
  }[];
404
+ protocol: "context.indexer.resolved-provider-bundle/v1";
405
405
  request: {
406
406
  skill: string;
407
407
  version: string;
@@ -431,8 +431,8 @@ export declare const resolvedProviderBundleSchema: z.ZodEffects<z.ZodObject<{
431
431
  trust: "first-party" | "verified" | "project-authorized" | "untrusted";
432
432
  };
433
433
  transport: {
434
- kind: "directory" | "archive";
435
434
  path: string;
435
+ kind: "directory" | "archive";
436
436
  expires_at: string;
437
437
  };
438
438
  receipt: {
@@ -442,11 +442,11 @@ export declare const resolvedProviderBundleSchema: z.ZodEffects<z.ZodObject<{
442
442
  resolved_at: string;
443
443
  };
444
444
  }, {
445
- protocol: "context.indexer.resolved-provider-bundle/v1";
446
445
  files: {
447
446
  path: string;
448
447
  digest: string;
449
448
  }[];
449
+ protocol: "context.indexer.resolved-provider-bundle/v1";
450
450
  request: {
451
451
  skill: string;
452
452
  version: string;
@@ -476,8 +476,8 @@ export declare const resolvedProviderBundleSchema: z.ZodEffects<z.ZodObject<{
476
476
  trust: "first-party" | "verified" | "project-authorized" | "untrusted";
477
477
  };
478
478
  transport: {
479
- kind: "directory" | "archive";
480
479
  path: string;
480
+ kind: "directory" | "archive";
481
481
  expires_at: string;
482
482
  };
483
483
  receipt: {
@@ -642,13 +642,13 @@ export declare const indexerHostExecutionCapabilitiesSchema: z.ZodObject<{
642
642
  adapter_version: z.ZodString;
643
643
  sandboxed_program: z.ZodLiteral<false>;
644
644
  }, "strict", z.ZodTypeAny, {
645
- adapter: string;
646
645
  protocol: "context.indexer.host-execution-capabilities/v1";
646
+ adapter: string;
647
647
  adapter_version: string;
648
648
  sandboxed_program: false;
649
649
  }, {
650
- adapter: string;
651
650
  protocol: "context.indexer.host-execution-capabilities/v1";
651
+ adapter: string;
652
652
  adapter_version: string;
653
653
  sandboxed_program: false;
654
654
  }>;