@c4a/context 0.6.19 → 0.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (120) hide show
  1. package/README.md +1 -1
  2. package/README.zh-CN.md +1 -1
  3. package/codeIndexPlan.d.ts +34 -0
  4. package/docs/README.md +7 -0
  5. package/docs/README.zh-CN.md +5 -0
  6. package/docs/guides/code-indexer-skill-authoring.md +124 -0
  7. package/docs/guides/indexer-provider-and-customization.md +140 -0
  8. package/docs/guides/markdown-indexer-skill-authoring.md +118 -0
  9. package/docs/reference/code-extractors.md +2 -2
  10. package/docs/reference/indexer-provider-protocol.md +819 -0
  11. package/docs/reference/project-api.md +2 -2
  12. package/index.d.ts +47 -1
  13. package/index.js +28239 -3952
  14. package/indexerAgentStepProtocol.d.ts +9391 -0
  15. package/indexerArtifactDependencies.d.ts +689 -0
  16. package/indexerArtifactPolicy.d.ts +335 -0
  17. package/indexerArtifactResult.d.ts +2010 -0
  18. package/indexerAuditFacts.d.ts +66 -0
  19. package/indexerAuditOverrideReadiness.d.ts +27 -0
  20. package/indexerAuditProtocol.d.ts +238 -0
  21. package/indexerAuditRevision.d.ts +726 -0
  22. package/indexerAuditRevisionActions.d.ts +236 -0
  23. package/indexerAuthoringFixture.d.ts +152 -0
  24. package/indexerBaseQuestionAmendment.d.ts +2403 -0
  25. package/indexerBenchmark.d.ts +1062 -0
  26. package/indexerCandidateCompile.d.ts +801 -0
  27. package/indexerCapabilityGroupEvidence.d.ts +129 -0
  28. package/indexerCatalogFallback.d.ts +1262 -0
  29. package/indexerCollectionMapping.d.ts +75 -0
  30. package/indexerContentLayers.d.ts +137 -0
  31. package/indexerControlledInvocation.d.ts +512 -0
  32. package/indexerControlledProgram.d.ts +12535 -0
  33. package/indexerCoreExports.d.ts +21 -0
  34. package/indexerCustomizationDraft.d.ts +13800 -0
  35. package/indexerCustomizationLadder.d.ts +103 -0
  36. package/indexerDependencyView.d.ts +1610 -0
  37. package/indexerEvidenceAdapterResult.d.ts +504 -0
  38. package/indexerExampleDecision.d.ts +1606 -0
  39. package/indexerExampleIdentity.d.ts +132 -0
  40. package/indexerExampleIdentityAudit.d.ts +70 -0
  41. package/indexerExampleLinkageAudit.d.ts +80 -0
  42. package/indexerGeneratedAuthoringAudit.d.ts +208 -0
  43. package/indexerIncrementalImpact.d.ts +221 -0
  44. package/indexerInventoryDisposition.d.ts +443 -0
  45. package/indexerLayerComposition.d.ts +1652 -0
  46. package/indexerLayoutChange.d.ts +329 -0
  47. package/indexerLayoutProposalSet.d.ts +447 -0
  48. package/indexerLayoutResolver.d.ts +342 -0
  49. package/indexerLayoutTransition.d.ts +247 -0
  50. package/indexerLifecycle.d.ts +53 -0
  51. package/indexerMainLifecycle.d.ts +258 -0
  52. package/indexerMainRunLedger.d.ts +888 -0
  53. package/indexerMainRunProtocol.d.ts +6471 -0
  54. package/indexerMainWorkset.d.ts +2141 -0
  55. package/indexerMaterialAnswer.d.ts +738 -0
  56. package/indexerMaterialAnswerActualization.d.ts +91 -0
  57. package/indexerMaterialAnswerExecutionPlan.d.ts +2887 -0
  58. package/indexerMaterialAnswerFlow.d.ts +63 -0
  59. package/indexerMaterialAnswerLayout.d.ts +76 -0
  60. package/indexerMaterialAnswerReview.d.ts +217 -0
  61. package/indexerMaterialAnswerReviewRoute.d.ts +6145 -0
  62. package/indexerMaterialAnswerRunLedger.d.ts +918 -0
  63. package/indexerMaterialAnswerRunProtocol.d.ts +1253 -0
  64. package/indexerMaterialGapLedger.d.ts +3111 -0
  65. package/indexerMaterialQuestionExclusion.d.ts +129 -0
  66. package/indexerMaterialQuestionWorkset.d.ts +508 -0
  67. package/indexerNavigationArtifactGraph.d.ts +5 -0
  68. package/indexerNavigationArtifactPlan.d.ts +39 -0
  69. package/indexerOverlayQuestionAmendment.d.ts +2551 -0
  70. package/indexerOverlayQuestionApplyProposal.d.ts +4697 -0
  71. package/indexerOverlayTrust.d.ts +1425 -0
  72. package/indexerParserCoordinate.d.ts +222 -0
  73. package/indexerParserFactView.d.ts +503 -0
  74. package/indexerPartitionConvergence.d.ts +496 -0
  75. package/indexerPartitionPlan.d.ts +919 -0
  76. package/indexerPartitionStrategyResolution.d.ts +594 -0
  77. package/indexerPhysicalArtifactAudit.d.ts +247 -0
  78. package/indexerPhysicalArtifactManifest.d.ts +449 -0
  79. package/indexerPlannedMaterialAnswer.d.ts +116 -0
  80. package/indexerPostAuthorComposition.d.ts +2000 -0
  81. package/indexerPostAuthorRunLedger.d.ts +1972 -0
  82. package/indexerPrimaryProjection.d.ts +262 -0
  83. package/indexerProfileContract.d.ts +3034 -0
  84. package/indexerProfileMetricAudit.d.ts +218 -0
  85. package/indexerProgramExecutionAuthorization.d.ts +227 -0
  86. package/indexerProgramRunProtocol.d.ts +7642 -0
  87. package/indexerProjectProposal.d.ts +2807 -0
  88. package/indexerProjectedArtifactFanOutAudit.d.ts +159 -0
  89. package/indexerProjectedArtifactPlan.d.ts +217 -0
  90. package/indexerProtocolCommon.d.ts +29 -0
  91. package/indexerProvider.d.ts +2573 -0
  92. package/indexerProviderComposition.d.ts +1357 -0
  93. package/indexerProviderContractReferences.d.ts +13 -0
  94. package/indexerProviderProfileResolution.d.ts +20 -0
  95. package/indexerProviderResolution.d.ts +752 -0
  96. package/indexerProviderResolutionAction.d.ts +678 -0
  97. package/indexerProviderRouting.d.ts +3909 -0
  98. package/indexerProviderSelectionProposal.d.ts +3311 -0
  99. package/indexerQuestionAuthority.d.ts +419 -0
  100. package/indexerReaderTargetInventory.d.ts +161 -0
  101. package/indexerReferenceOnlyAudit.d.ts +90 -0
  102. package/indexerRegistry.d.ts +3019 -0
  103. package/indexerRequirementComparison.d.ts +44 -0
  104. package/indexerRequirementConfirmation.d.ts +1193 -0
  105. package/indexerRequirementLifecycle.d.ts +3314 -0
  106. package/indexerRestrictedSelector.d.ts +63 -0
  107. package/indexerResultReconciliation.d.ts +6844 -0
  108. package/indexerResultReconciliationRun.d.ts +15 -0
  109. package/indexerRunEnvelope.d.ts +384 -0
  110. package/indexerRunProtocolCommon.d.ts +21 -0
  111. package/indexerSharedArtifactFingerprint.d.ts +33 -0
  112. package/indexerStructuredDeclaration.d.ts +513 -0
  113. package/indexerSubjectCatalog.d.ts +230 -0
  114. package/indexerSubjectIdentity.d.ts +19 -0
  115. package/indexerSubjectKeyAuthority.d.ts +785 -0
  116. package/indexerTemplateRendering.d.ts +485 -0
  117. package/indexerToolSnapshot.d.ts +431 -0
  118. package/indexerWorksetRead.d.ts +287 -0
  119. package/package.json +1 -1
  120. package/phases.d.ts +1 -1
@@ -0,0 +1,218 @@
1
+ import { z } from "zod";
2
+ export declare const indexerProfileMetricResultSchema: z.ZodObject<{
3
+ metric_id: z.ZodEffects<z.ZodString, string, string>;
4
+ operator: z.ZodEffects<z.ZodString, string, string>;
5
+ unit: z.ZodEnum<["count", "ratio"]>;
6
+ numerator: z.ZodNumber;
7
+ denominator: z.ZodNumber;
8
+ actual: z.ZodNumber;
9
+ recommended: z.ZodObject<{
10
+ min: z.ZodNullable<z.ZodNumber>;
11
+ max: z.ZodNullable<z.ZodNumber>;
12
+ }, "strict", z.ZodTypeAny, {
13
+ min: number | null;
14
+ max: number | null;
15
+ }, {
16
+ min: number | null;
17
+ max: number | null;
18
+ }>;
19
+ hard: z.ZodObject<{
20
+ min: z.ZodNullable<z.ZodNumber>;
21
+ max: z.ZodNullable<z.ZodNumber>;
22
+ }, "strict", z.ZodTypeAny, {
23
+ min: number | null;
24
+ max: number | null;
25
+ }, {
26
+ min: number | null;
27
+ max: number | null;
28
+ }>;
29
+ status: z.ZodEnum<["passed", "warning", "failed"]>;
30
+ evidence: z.ZodArray<z.ZodString, "many">;
31
+ missing: z.ZodArray<z.ZodString, "many">;
32
+ repair_guidance: z.ZodArray<z.ZodString, "many">;
33
+ }, "strict", z.ZodTypeAny, {
34
+ status: "passed" | "warning" | "failed";
35
+ denominator: number;
36
+ operator: string;
37
+ unit: "count" | "ratio";
38
+ recommended: {
39
+ min: number | null;
40
+ max: number | null;
41
+ };
42
+ missing: string[];
43
+ metric_id: string;
44
+ evidence: string[];
45
+ numerator: number;
46
+ actual: number;
47
+ hard: {
48
+ min: number | null;
49
+ max: number | null;
50
+ };
51
+ repair_guidance: string[];
52
+ }, {
53
+ status: "passed" | "warning" | "failed";
54
+ denominator: number;
55
+ operator: string;
56
+ unit: "count" | "ratio";
57
+ recommended: {
58
+ min: number | null;
59
+ max: number | null;
60
+ };
61
+ missing: string[];
62
+ metric_id: string;
63
+ evidence: string[];
64
+ numerator: number;
65
+ actual: number;
66
+ hard: {
67
+ min: number | null;
68
+ max: number | null;
69
+ };
70
+ repair_guidance: string[];
71
+ }>;
72
+ export declare const indexerProfileMetricAuditSchema: z.ZodObject<{
73
+ protocol: z.ZodLiteral<"context.indexer.profile-metric-audit/v1">;
74
+ profile_id: z.ZodEffects<z.ZodString, string, string>;
75
+ profile_contract_digest: z.ZodString;
76
+ artifact_policy_variant_id: z.ZodEffects<z.ZodString, string, string>;
77
+ metrics: z.ZodArray<z.ZodObject<{
78
+ metric_id: z.ZodEffects<z.ZodString, string, string>;
79
+ operator: z.ZodEffects<z.ZodString, string, string>;
80
+ unit: z.ZodEnum<["count", "ratio"]>;
81
+ numerator: z.ZodNumber;
82
+ denominator: z.ZodNumber;
83
+ actual: z.ZodNumber;
84
+ recommended: z.ZodObject<{
85
+ min: z.ZodNullable<z.ZodNumber>;
86
+ max: z.ZodNullable<z.ZodNumber>;
87
+ }, "strict", z.ZodTypeAny, {
88
+ min: number | null;
89
+ max: number | null;
90
+ }, {
91
+ min: number | null;
92
+ max: number | null;
93
+ }>;
94
+ hard: z.ZodObject<{
95
+ min: z.ZodNullable<z.ZodNumber>;
96
+ max: z.ZodNullable<z.ZodNumber>;
97
+ }, "strict", z.ZodTypeAny, {
98
+ min: number | null;
99
+ max: number | null;
100
+ }, {
101
+ min: number | null;
102
+ max: number | null;
103
+ }>;
104
+ status: z.ZodEnum<["passed", "warning", "failed"]>;
105
+ evidence: z.ZodArray<z.ZodString, "many">;
106
+ missing: z.ZodArray<z.ZodString, "many">;
107
+ repair_guidance: z.ZodArray<z.ZodString, "many">;
108
+ }, "strict", z.ZodTypeAny, {
109
+ status: "passed" | "warning" | "failed";
110
+ denominator: number;
111
+ operator: string;
112
+ unit: "count" | "ratio";
113
+ recommended: {
114
+ min: number | null;
115
+ max: number | null;
116
+ };
117
+ missing: string[];
118
+ metric_id: string;
119
+ evidence: string[];
120
+ numerator: number;
121
+ actual: number;
122
+ hard: {
123
+ min: number | null;
124
+ max: number | null;
125
+ };
126
+ repair_guidance: string[];
127
+ }, {
128
+ status: "passed" | "warning" | "failed";
129
+ denominator: number;
130
+ operator: string;
131
+ unit: "count" | "ratio";
132
+ recommended: {
133
+ min: number | null;
134
+ max: number | null;
135
+ };
136
+ missing: string[];
137
+ metric_id: string;
138
+ evidence: string[];
139
+ numerator: number;
140
+ actual: number;
141
+ hard: {
142
+ min: number | null;
143
+ max: number | null;
144
+ };
145
+ repair_guidance: string[];
146
+ }>, "many">;
147
+ failed_metric_ids: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
148
+ audit_digest: z.ZodString;
149
+ }, "strict", z.ZodTypeAny, {
150
+ protocol: "context.indexer.profile-metric-audit/v1";
151
+ metrics: {
152
+ status: "passed" | "warning" | "failed";
153
+ denominator: number;
154
+ operator: string;
155
+ unit: "count" | "ratio";
156
+ recommended: {
157
+ min: number | null;
158
+ max: number | null;
159
+ };
160
+ missing: string[];
161
+ metric_id: string;
162
+ evidence: string[];
163
+ numerator: number;
164
+ actual: number;
165
+ hard: {
166
+ min: number | null;
167
+ max: number | null;
168
+ };
169
+ repair_guidance: string[];
170
+ }[];
171
+ profile_id: string;
172
+ profile_contract_digest: string;
173
+ audit_digest: string;
174
+ failed_metric_ids: string[];
175
+ artifact_policy_variant_id: string;
176
+ }, {
177
+ protocol: "context.indexer.profile-metric-audit/v1";
178
+ metrics: {
179
+ status: "passed" | "warning" | "failed";
180
+ denominator: number;
181
+ operator: string;
182
+ unit: "count" | "ratio";
183
+ recommended: {
184
+ min: number | null;
185
+ max: number | null;
186
+ };
187
+ missing: string[];
188
+ metric_id: string;
189
+ evidence: string[];
190
+ numerator: number;
191
+ actual: number;
192
+ hard: {
193
+ min: number | null;
194
+ max: number | null;
195
+ };
196
+ repair_guidance: string[];
197
+ }[];
198
+ profile_id: string;
199
+ profile_contract_digest: string;
200
+ audit_digest: string;
201
+ failed_metric_ids: string[];
202
+ artifact_policy_variant_id: string;
203
+ }>;
204
+ export type IndexerProfileMetricResult = z.infer<typeof indexerProfileMetricResultSchema>;
205
+ export type IndexerProfileMetricAudit = z.infer<typeof indexerProfileMetricAuditSchema>;
206
+ export declare function validateIndexerProfileMetricAudit(value: unknown): IndexerProfileMetricAudit;
207
+ export declare function validateCurrentIndexerProfileMetricAudit(input: {
208
+ audit: unknown;
209
+ profile_id: string;
210
+ profile_contract_digest: string;
211
+ artifact_policy_variant_id: string;
212
+ }): IndexerProfileMetricAudit;
213
+ export declare function buildIndexerProfileMetricAudit(input: {
214
+ profile_id: string;
215
+ profile_contract_digest: string;
216
+ artifact_policy_variant_id: string;
217
+ metrics: IndexerProfileMetricResult[];
218
+ }): IndexerProfileMetricAudit;
@@ -0,0 +1,227 @@
1
+ import { z } from "zod";
2
+ import { type IndexerExecution, type IndexerProviderManifest } from "./indexerProvider.js";
3
+ import { type IndexerProgramAuthorization, type ResolvedProviderBundle } from "./indexerProviderResolution.js";
4
+ export declare const indexerProgramExecutionAuthorizationReportSchema: z.ZodObject<{
5
+ protocol: z.ZodLiteral<"context.indexer.program-execution-authorization-report/v1">;
6
+ project_ref: z.ZodString;
7
+ provider: z.ZodObject<{
8
+ indexer_id: z.ZodEffects<z.ZodString, string, string>;
9
+ provider_id: z.ZodEffects<z.ZodString, string, string>;
10
+ skill: z.ZodEffects<z.ZodString, string, string>;
11
+ version: z.ZodString;
12
+ bundle_integrity: z.ZodString;
13
+ manifest_digest: z.ZodString;
14
+ provider_fingerprint: z.ZodString;
15
+ issuer: z.ZodEffects<z.ZodString, string, string>;
16
+ declared_trust: z.ZodEnum<["first-party", "verified", "project-authorized", "untrusted"]>;
17
+ }, "strict", z.ZodTypeAny, {
18
+ skill: string;
19
+ version: string;
20
+ indexer_id: string;
21
+ provider_id: string;
22
+ manifest_digest: string;
23
+ issuer: string;
24
+ provider_fingerprint: string;
25
+ bundle_integrity: string;
26
+ declared_trust: "first-party" | "verified" | "project-authorized" | "untrusted";
27
+ }, {
28
+ skill: string;
29
+ version: string;
30
+ indexer_id: string;
31
+ provider_id: string;
32
+ manifest_digest: string;
33
+ issuer: string;
34
+ provider_fingerprint: string;
35
+ bundle_integrity: string;
36
+ declared_trust: "first-party" | "verified" | "project-authorized" | "untrusted";
37
+ }>;
38
+ resource: z.ZodLiteral<"program">;
39
+ program: z.ZodDiscriminatedUnion<"origin", [z.ZodObject<{
40
+ origin: z.ZodLiteral<"provider-bundle">;
41
+ path: z.ZodEffects<z.ZodString, string, string>;
42
+ content_digest: z.ZodString;
43
+ program_digest: z.ZodString;
44
+ }, "strict", z.ZodTypeAny, {
45
+ path: string;
46
+ program_digest: string;
47
+ origin: "provider-bundle";
48
+ content_digest: string;
49
+ }, {
50
+ path: string;
51
+ program_digest: string;
52
+ origin: "provider-bundle";
53
+ content_digest: string;
54
+ }>, z.ZodObject<{
55
+ origin: z.ZodLiteral<"project-local">;
56
+ path: z.ZodEffects<z.ZodString, string, string>;
57
+ content_digest: z.ZodString;
58
+ program_digest: z.ZodString;
59
+ }, "strict", z.ZodTypeAny, {
60
+ path: string;
61
+ program_digest: string;
62
+ origin: "project-local";
63
+ content_digest: string;
64
+ }, {
65
+ path: string;
66
+ program_digest: string;
67
+ origin: "project-local";
68
+ content_digest: string;
69
+ }>]>;
70
+ execution: z.ZodObject<{
71
+ runtime: z.ZodLiteral<"node">;
72
+ entry: z.ZodEffects<z.ZodString, string, string>;
73
+ args: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
74
+ }, "strict", z.ZodTypeAny, {
75
+ entry: string;
76
+ args: string[];
77
+ runtime: "node";
78
+ }, {
79
+ entry: string;
80
+ args: string[];
81
+ runtime: "node";
82
+ }>;
83
+ execution_digest: z.ZodString;
84
+ capabilities: z.ZodArray<z.ZodEnum<["source.read", "parser-facts.read", "indexer-result.write"]>, "many">;
85
+ capability_set_digest: z.ZodString;
86
+ dependency_set_digest: z.ZodString;
87
+ scope_digest: z.ZodString;
88
+ limits: z.ZodObject<{
89
+ timeout_ms: z.ZodNumber;
90
+ max_stdin_bytes: z.ZodNumber;
91
+ max_stdout_bytes: z.ZodNumber;
92
+ max_stderr_bytes: z.ZodNumber;
93
+ }, "strict", z.ZodTypeAny, {
94
+ timeout_ms: number;
95
+ max_stdin_bytes: number;
96
+ max_stdout_bytes: number;
97
+ max_stderr_bytes: number;
98
+ }, {
99
+ timeout_ms: number;
100
+ max_stdin_bytes: number;
101
+ max_stdout_bytes: number;
102
+ max_stderr_bytes: number;
103
+ }>;
104
+ execution_policy_digest: z.ZodString;
105
+ requested_level: z.ZodLiteral<"trusted-program">;
106
+ sandboxed_program: z.ZodLiteral<false>;
107
+ report_digest: z.ZodString;
108
+ }, "strict", z.ZodTypeAny, {
109
+ protocol: "context.indexer.program-execution-authorization-report/v1";
110
+ provider: {
111
+ skill: string;
112
+ version: string;
113
+ indexer_id: string;
114
+ provider_id: string;
115
+ manifest_digest: string;
116
+ issuer: string;
117
+ provider_fingerprint: string;
118
+ bundle_integrity: string;
119
+ declared_trust: "first-party" | "verified" | "project-authorized" | "untrusted";
120
+ };
121
+ capabilities: ("source.read" | "parser-facts.read" | "indexer-result.write")[];
122
+ scope_digest: string;
123
+ resource: "program";
124
+ execution: {
125
+ entry: string;
126
+ args: string[];
127
+ runtime: "node";
128
+ };
129
+ program: {
130
+ path: string;
131
+ program_digest: string;
132
+ origin: "provider-bundle";
133
+ content_digest: string;
134
+ } | {
135
+ path: string;
136
+ program_digest: string;
137
+ origin: "project-local";
138
+ content_digest: string;
139
+ };
140
+ sandboxed_program: false;
141
+ project_ref: string;
142
+ execution_digest: string;
143
+ capability_set_digest: string;
144
+ dependency_set_digest: string;
145
+ execution_policy_digest: string;
146
+ report_digest: string;
147
+ limits: {
148
+ timeout_ms: number;
149
+ max_stdin_bytes: number;
150
+ max_stdout_bytes: number;
151
+ max_stderr_bytes: number;
152
+ };
153
+ requested_level: "trusted-program";
154
+ }, {
155
+ protocol: "context.indexer.program-execution-authorization-report/v1";
156
+ provider: {
157
+ skill: string;
158
+ version: string;
159
+ indexer_id: string;
160
+ provider_id: string;
161
+ manifest_digest: string;
162
+ issuer: string;
163
+ provider_fingerprint: string;
164
+ bundle_integrity: string;
165
+ declared_trust: "first-party" | "verified" | "project-authorized" | "untrusted";
166
+ };
167
+ capabilities: ("source.read" | "parser-facts.read" | "indexer-result.write")[];
168
+ scope_digest: string;
169
+ resource: "program";
170
+ execution: {
171
+ entry: string;
172
+ args: string[];
173
+ runtime: "node";
174
+ };
175
+ program: {
176
+ path: string;
177
+ program_digest: string;
178
+ origin: "provider-bundle";
179
+ content_digest: string;
180
+ } | {
181
+ path: string;
182
+ program_digest: string;
183
+ origin: "project-local";
184
+ content_digest: string;
185
+ };
186
+ sandboxed_program: false;
187
+ project_ref: string;
188
+ execution_digest: string;
189
+ capability_set_digest: string;
190
+ dependency_set_digest: string;
191
+ execution_policy_digest: string;
192
+ report_digest: string;
193
+ limits: {
194
+ timeout_ms: number;
195
+ max_stdin_bytes: number;
196
+ max_stdout_bytes: number;
197
+ max_stderr_bytes: number;
198
+ };
199
+ requested_level: "trusted-program";
200
+ }>;
201
+ export type IndexerProgramExecutionAuthorizationReport = z.infer<typeof indexerProgramExecutionAuthorizationReportSchema>;
202
+ export declare function validateIndexerProgramExecutionAuthorizationReport(value: unknown): IndexerProgramExecutionAuthorizationReport;
203
+ export declare function buildIndexerProgramExecutionAuthorizationReport(input: {
204
+ project_ref: string;
205
+ manifest: IndexerProviderManifest;
206
+ bundle: ResolvedProviderBundle;
207
+ dependency_set_digest: string;
208
+ scope_digest: string;
209
+ limits: IndexerProgramExecutionAuthorizationReport["limits"];
210
+ }): IndexerProgramExecutionAuthorizationReport;
211
+ export declare function buildProjectLocalIndexerProgramExecutionAuthorizationReport(input: {
212
+ project_ref: string;
213
+ base_manifest: IndexerProviderManifest;
214
+ base_bundle: ResolvedProviderBundle;
215
+ program_path: string;
216
+ program_content_digest: string;
217
+ execution: IndexerExecution;
218
+ capabilities: IndexerProgramExecutionAuthorizationReport["capabilities"];
219
+ dependency_set_digest: string;
220
+ scope_digest: string;
221
+ limits: IndexerProgramExecutionAuthorizationReport["limits"];
222
+ }): IndexerProgramExecutionAuthorizationReport;
223
+ export declare function authorizeIndexerProgramExecution(input: {
224
+ report: unknown;
225
+ authority_ref: string;
226
+ authority_scope_digest: string;
227
+ }): IndexerProgramAuthorization;