@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,678 @@
1
+ import { z } from "zod";
2
+ import { type ExpectedProviderResolution } from "./indexerProviderResolution.js";
3
+ export declare const indexerProviderResolutionActionInputSchema: z.ZodObject<{
4
+ protocol: z.ZodLiteral<"context.indexer.resolve-provider-input/v1">;
5
+ project_ref: z.ZodString;
6
+ selection_proposal_digest: z.ZodString;
7
+ static_report_digest: z.ZodString;
8
+ provider: z.ZodObject<{
9
+ indexer_id: z.ZodEffects<z.ZodString, string, string>;
10
+ provider_id: z.ZodEffects<z.ZodString, string, string>;
11
+ skill: z.ZodEffects<z.ZodString, string, string>;
12
+ version: z.ZodString;
13
+ distribution: z.ZodEffects<z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
14
+ kind: z.ZodLiteral<"cli-bundled">;
15
+ locator: z.ZodString;
16
+ }, "strict", z.ZodTypeAny, {
17
+ kind: "cli-bundled";
18
+ locator: string;
19
+ }, {
20
+ kind: "cli-bundled";
21
+ locator: string;
22
+ }>, z.ZodObject<{
23
+ kind: z.ZodLiteral<"bundled">;
24
+ locator: z.ZodString;
25
+ }, "strict", z.ZodTypeAny, {
26
+ kind: "bundled";
27
+ locator: string;
28
+ }, {
29
+ kind: "bundled";
30
+ locator: string;
31
+ }>, z.ZodObject<{
32
+ kind: z.ZodLiteral<"workspace">;
33
+ locator: z.ZodString;
34
+ }, "strict", z.ZodTypeAny, {
35
+ kind: "workspace";
36
+ locator: string;
37
+ }, {
38
+ kind: "workspace";
39
+ locator: string;
40
+ }>, z.ZodObject<{
41
+ kind: z.ZodLiteral<"package">;
42
+ locator: z.ZodString;
43
+ }, "strict", z.ZodTypeAny, {
44
+ kind: "package";
45
+ locator: string;
46
+ }, {
47
+ kind: "package";
48
+ locator: string;
49
+ }>, z.ZodObject<{
50
+ kind: z.ZodLiteral<"marketplace">;
51
+ locator: z.ZodString;
52
+ }, "strict", z.ZodTypeAny, {
53
+ kind: "marketplace";
54
+ locator: string;
55
+ }, {
56
+ kind: "marketplace";
57
+ locator: string;
58
+ }>]>, {
59
+ kind: "cli-bundled";
60
+ locator: string;
61
+ } | {
62
+ kind: "bundled";
63
+ locator: string;
64
+ } | {
65
+ kind: "workspace";
66
+ locator: string;
67
+ } | {
68
+ kind: "package";
69
+ locator: string;
70
+ } | {
71
+ kind: "marketplace";
72
+ locator: string;
73
+ }, {
74
+ kind: "cli-bundled";
75
+ locator: string;
76
+ } | {
77
+ kind: "bundled";
78
+ locator: string;
79
+ } | {
80
+ kind: "workspace";
81
+ locator: string;
82
+ } | {
83
+ kind: "package";
84
+ locator: string;
85
+ } | {
86
+ kind: "marketplace";
87
+ locator: string;
88
+ }>;
89
+ } & {
90
+ integrity: z.ZodString;
91
+ }, "strict", z.ZodTypeAny, {
92
+ skill: string;
93
+ version: string;
94
+ integrity: string;
95
+ distribution: {
96
+ kind: "cli-bundled";
97
+ locator: string;
98
+ } | {
99
+ kind: "bundled";
100
+ locator: string;
101
+ } | {
102
+ kind: "workspace";
103
+ locator: string;
104
+ } | {
105
+ kind: "package";
106
+ locator: string;
107
+ } | {
108
+ kind: "marketplace";
109
+ locator: string;
110
+ };
111
+ indexer_id: string;
112
+ provider_id: string;
113
+ }, {
114
+ skill: string;
115
+ version: string;
116
+ integrity: string;
117
+ distribution: {
118
+ kind: "cli-bundled";
119
+ locator: string;
120
+ } | {
121
+ kind: "bundled";
122
+ locator: string;
123
+ } | {
124
+ kind: "workspace";
125
+ locator: string;
126
+ } | {
127
+ kind: "package";
128
+ locator: string;
129
+ } | {
130
+ kind: "marketplace";
131
+ locator: string;
132
+ };
133
+ indexer_id: string;
134
+ provider_id: string;
135
+ }>;
136
+ } & {
137
+ request_digest: z.ZodString;
138
+ }, "strict", z.ZodTypeAny, {
139
+ protocol: "context.indexer.resolve-provider-input/v1";
140
+ provider: {
141
+ skill: string;
142
+ version: string;
143
+ integrity: string;
144
+ distribution: {
145
+ kind: "cli-bundled";
146
+ locator: string;
147
+ } | {
148
+ kind: "bundled";
149
+ locator: string;
150
+ } | {
151
+ kind: "workspace";
152
+ locator: string;
153
+ } | {
154
+ kind: "package";
155
+ locator: string;
156
+ } | {
157
+ kind: "marketplace";
158
+ locator: string;
159
+ };
160
+ indexer_id: string;
161
+ provider_id: string;
162
+ };
163
+ request_digest: string;
164
+ project_ref: string;
165
+ selection_proposal_digest: string;
166
+ static_report_digest: string;
167
+ }, {
168
+ protocol: "context.indexer.resolve-provider-input/v1";
169
+ provider: {
170
+ skill: string;
171
+ version: string;
172
+ integrity: string;
173
+ distribution: {
174
+ kind: "cli-bundled";
175
+ locator: string;
176
+ } | {
177
+ kind: "bundled";
178
+ locator: string;
179
+ } | {
180
+ kind: "workspace";
181
+ locator: string;
182
+ } | {
183
+ kind: "package";
184
+ locator: string;
185
+ } | {
186
+ kind: "marketplace";
187
+ locator: string;
188
+ };
189
+ indexer_id: string;
190
+ provider_id: string;
191
+ };
192
+ request_digest: string;
193
+ project_ref: string;
194
+ selection_proposal_digest: string;
195
+ static_report_digest: string;
196
+ }>;
197
+ export declare const indexerProviderResolutionActionOutputSchema: z.ZodObject<{
198
+ protocol: z.ZodLiteral<"context.indexer.resolve-provider-output/v1">;
199
+ request_digest: z.ZodString;
200
+ envelope: z.ZodEffects<z.ZodObject<{
201
+ protocol: z.ZodLiteral<"context.indexer.resolved-provider-bundle/v1">;
202
+ request: z.ZodObject<{
203
+ indexer_id: z.ZodEffects<z.ZodString, string, string>;
204
+ provider_id: z.ZodEffects<z.ZodString, string, string>;
205
+ skill: z.ZodEffects<z.ZodString, string, string>;
206
+ version: z.ZodString;
207
+ distribution: z.ZodEffects<z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
208
+ kind: z.ZodLiteral<"cli-bundled">;
209
+ locator: z.ZodString;
210
+ }, "strict", z.ZodTypeAny, {
211
+ kind: "cli-bundled";
212
+ locator: string;
213
+ }, {
214
+ kind: "cli-bundled";
215
+ locator: string;
216
+ }>, z.ZodObject<{
217
+ kind: z.ZodLiteral<"bundled">;
218
+ locator: z.ZodString;
219
+ }, "strict", z.ZodTypeAny, {
220
+ kind: "bundled";
221
+ locator: string;
222
+ }, {
223
+ kind: "bundled";
224
+ locator: string;
225
+ }>, z.ZodObject<{
226
+ kind: z.ZodLiteral<"workspace">;
227
+ locator: z.ZodString;
228
+ }, "strict", z.ZodTypeAny, {
229
+ kind: "workspace";
230
+ locator: string;
231
+ }, {
232
+ kind: "workspace";
233
+ locator: string;
234
+ }>, z.ZodObject<{
235
+ kind: z.ZodLiteral<"package">;
236
+ locator: z.ZodString;
237
+ }, "strict", z.ZodTypeAny, {
238
+ kind: "package";
239
+ locator: string;
240
+ }, {
241
+ kind: "package";
242
+ locator: string;
243
+ }>, z.ZodObject<{
244
+ kind: z.ZodLiteral<"marketplace">;
245
+ locator: z.ZodString;
246
+ }, "strict", z.ZodTypeAny, {
247
+ kind: "marketplace";
248
+ locator: string;
249
+ }, {
250
+ kind: "marketplace";
251
+ locator: string;
252
+ }>]>, {
253
+ kind: "cli-bundled";
254
+ locator: string;
255
+ } | {
256
+ kind: "bundled";
257
+ locator: string;
258
+ } | {
259
+ kind: "workspace";
260
+ locator: string;
261
+ } | {
262
+ kind: "package";
263
+ locator: string;
264
+ } | {
265
+ kind: "marketplace";
266
+ locator: string;
267
+ }, {
268
+ kind: "cli-bundled";
269
+ locator: string;
270
+ } | {
271
+ kind: "bundled";
272
+ locator: string;
273
+ } | {
274
+ kind: "workspace";
275
+ locator: string;
276
+ } | {
277
+ kind: "package";
278
+ locator: string;
279
+ } | {
280
+ kind: "marketplace";
281
+ locator: string;
282
+ }>;
283
+ }, "strict", z.ZodTypeAny, {
284
+ skill: string;
285
+ version: string;
286
+ distribution: {
287
+ kind: "cli-bundled";
288
+ locator: string;
289
+ } | {
290
+ kind: "bundled";
291
+ locator: string;
292
+ } | {
293
+ kind: "workspace";
294
+ locator: string;
295
+ } | {
296
+ kind: "package";
297
+ locator: string;
298
+ } | {
299
+ kind: "marketplace";
300
+ locator: string;
301
+ };
302
+ indexer_id: string;
303
+ provider_id: string;
304
+ }, {
305
+ skill: string;
306
+ version: string;
307
+ distribution: {
308
+ kind: "cli-bundled";
309
+ locator: string;
310
+ } | {
311
+ kind: "bundled";
312
+ locator: string;
313
+ } | {
314
+ kind: "workspace";
315
+ locator: string;
316
+ } | {
317
+ kind: "package";
318
+ locator: string;
319
+ } | {
320
+ kind: "marketplace";
321
+ locator: string;
322
+ };
323
+ indexer_id: string;
324
+ provider_id: string;
325
+ }>;
326
+ resolved: z.ZodObject<{
327
+ integrity: z.ZodString;
328
+ manifest_digest: z.ZodString;
329
+ issuer: z.ZodEffects<z.ZodString, string, string>;
330
+ trust: z.ZodEnum<["first-party", "verified", "project-authorized", "untrusted"]>;
331
+ }, "strict", z.ZodTypeAny, {
332
+ integrity: string;
333
+ manifest_digest: string;
334
+ issuer: string;
335
+ trust: "first-party" | "verified" | "project-authorized" | "untrusted";
336
+ }, {
337
+ integrity: string;
338
+ manifest_digest: string;
339
+ issuer: string;
340
+ trust: "first-party" | "verified" | "project-authorized" | "untrusted";
341
+ }>;
342
+ transport: z.ZodObject<{
343
+ kind: z.ZodEnum<["directory", "archive"]>;
344
+ path: z.ZodEffects<z.ZodString, string, string>;
345
+ expires_at: z.ZodString;
346
+ }, "strict", z.ZodTypeAny, {
347
+ kind: "directory" | "archive";
348
+ path: string;
349
+ expires_at: string;
350
+ }, {
351
+ kind: "directory" | "archive";
352
+ path: string;
353
+ expires_at: string;
354
+ }>;
355
+ files: z.ZodArray<z.ZodObject<{
356
+ path: z.ZodEffects<z.ZodString, string, string>;
357
+ digest: z.ZodString;
358
+ }, "strict", z.ZodTypeAny, {
359
+ path: string;
360
+ digest: string;
361
+ }, {
362
+ path: string;
363
+ digest: string;
364
+ }>, "many">;
365
+ receipt: z.ZodObject<{
366
+ resolver: z.ZodEffects<z.ZodString, string, string>;
367
+ resolved_at: z.ZodString;
368
+ authority_ref: z.ZodString;
369
+ receipt_digest: z.ZodString;
370
+ }, "strict", z.ZodTypeAny, {
371
+ authority_ref: string;
372
+ receipt_digest: string;
373
+ resolver: string;
374
+ resolved_at: string;
375
+ }, {
376
+ authority_ref: string;
377
+ receipt_digest: string;
378
+ resolver: string;
379
+ resolved_at: string;
380
+ }>;
381
+ }, "strict", z.ZodTypeAny, {
382
+ protocol: "context.indexer.resolved-provider-bundle/v1";
383
+ files: {
384
+ path: string;
385
+ digest: string;
386
+ }[];
387
+ request: {
388
+ skill: string;
389
+ version: string;
390
+ distribution: {
391
+ kind: "cli-bundled";
392
+ locator: string;
393
+ } | {
394
+ kind: "bundled";
395
+ locator: string;
396
+ } | {
397
+ kind: "workspace";
398
+ locator: string;
399
+ } | {
400
+ kind: "package";
401
+ locator: string;
402
+ } | {
403
+ kind: "marketplace";
404
+ locator: string;
405
+ };
406
+ indexer_id: string;
407
+ provider_id: string;
408
+ };
409
+ resolved: {
410
+ integrity: string;
411
+ manifest_digest: string;
412
+ issuer: string;
413
+ trust: "first-party" | "verified" | "project-authorized" | "untrusted";
414
+ };
415
+ transport: {
416
+ kind: "directory" | "archive";
417
+ path: string;
418
+ expires_at: string;
419
+ };
420
+ receipt: {
421
+ authority_ref: string;
422
+ receipt_digest: string;
423
+ resolver: string;
424
+ resolved_at: string;
425
+ };
426
+ }, {
427
+ protocol: "context.indexer.resolved-provider-bundle/v1";
428
+ files: {
429
+ path: string;
430
+ digest: string;
431
+ }[];
432
+ request: {
433
+ skill: string;
434
+ version: string;
435
+ distribution: {
436
+ kind: "cli-bundled";
437
+ locator: string;
438
+ } | {
439
+ kind: "bundled";
440
+ locator: string;
441
+ } | {
442
+ kind: "workspace";
443
+ locator: string;
444
+ } | {
445
+ kind: "package";
446
+ locator: string;
447
+ } | {
448
+ kind: "marketplace";
449
+ locator: string;
450
+ };
451
+ indexer_id: string;
452
+ provider_id: string;
453
+ };
454
+ resolved: {
455
+ integrity: string;
456
+ manifest_digest: string;
457
+ issuer: string;
458
+ trust: "first-party" | "verified" | "project-authorized" | "untrusted";
459
+ };
460
+ transport: {
461
+ kind: "directory" | "archive";
462
+ path: string;
463
+ expires_at: string;
464
+ };
465
+ receipt: {
466
+ authority_ref: string;
467
+ receipt_digest: string;
468
+ resolver: string;
469
+ resolved_at: string;
470
+ };
471
+ }>, {
472
+ protocol: "context.indexer.resolved-provider-bundle/v1";
473
+ files: {
474
+ path: string;
475
+ digest: string;
476
+ }[];
477
+ request: {
478
+ skill: string;
479
+ version: string;
480
+ distribution: {
481
+ kind: "cli-bundled";
482
+ locator: string;
483
+ } | {
484
+ kind: "bundled";
485
+ locator: string;
486
+ } | {
487
+ kind: "workspace";
488
+ locator: string;
489
+ } | {
490
+ kind: "package";
491
+ locator: string;
492
+ } | {
493
+ kind: "marketplace";
494
+ locator: string;
495
+ };
496
+ indexer_id: string;
497
+ provider_id: string;
498
+ };
499
+ resolved: {
500
+ integrity: string;
501
+ manifest_digest: string;
502
+ issuer: string;
503
+ trust: "first-party" | "verified" | "project-authorized" | "untrusted";
504
+ };
505
+ transport: {
506
+ kind: "directory" | "archive";
507
+ path: string;
508
+ expires_at: string;
509
+ };
510
+ receipt: {
511
+ authority_ref: string;
512
+ receipt_digest: string;
513
+ resolver: string;
514
+ resolved_at: string;
515
+ };
516
+ }, {
517
+ protocol: "context.indexer.resolved-provider-bundle/v1";
518
+ files: {
519
+ path: string;
520
+ digest: string;
521
+ }[];
522
+ request: {
523
+ skill: string;
524
+ version: string;
525
+ distribution: {
526
+ kind: "cli-bundled";
527
+ locator: string;
528
+ } | {
529
+ kind: "bundled";
530
+ locator: string;
531
+ } | {
532
+ kind: "workspace";
533
+ locator: string;
534
+ } | {
535
+ kind: "package";
536
+ locator: string;
537
+ } | {
538
+ kind: "marketplace";
539
+ locator: string;
540
+ };
541
+ indexer_id: string;
542
+ provider_id: string;
543
+ };
544
+ resolved: {
545
+ integrity: string;
546
+ manifest_digest: string;
547
+ issuer: string;
548
+ trust: "first-party" | "verified" | "project-authorized" | "untrusted";
549
+ };
550
+ transport: {
551
+ kind: "directory" | "archive";
552
+ path: string;
553
+ expires_at: string;
554
+ };
555
+ receipt: {
556
+ authority_ref: string;
557
+ receipt_digest: string;
558
+ resolver: string;
559
+ resolved_at: string;
560
+ };
561
+ }>;
562
+ output_digest: z.ZodString;
563
+ }, "strict", z.ZodTypeAny, {
564
+ protocol: "context.indexer.resolve-provider-output/v1";
565
+ output_digest: string;
566
+ request_digest: string;
567
+ envelope: {
568
+ protocol: "context.indexer.resolved-provider-bundle/v1";
569
+ files: {
570
+ path: string;
571
+ digest: string;
572
+ }[];
573
+ request: {
574
+ skill: string;
575
+ version: string;
576
+ distribution: {
577
+ kind: "cli-bundled";
578
+ locator: string;
579
+ } | {
580
+ kind: "bundled";
581
+ locator: string;
582
+ } | {
583
+ kind: "workspace";
584
+ locator: string;
585
+ } | {
586
+ kind: "package";
587
+ locator: string;
588
+ } | {
589
+ kind: "marketplace";
590
+ locator: string;
591
+ };
592
+ indexer_id: string;
593
+ provider_id: string;
594
+ };
595
+ resolved: {
596
+ integrity: string;
597
+ manifest_digest: string;
598
+ issuer: string;
599
+ trust: "first-party" | "verified" | "project-authorized" | "untrusted";
600
+ };
601
+ transport: {
602
+ kind: "directory" | "archive";
603
+ path: string;
604
+ expires_at: string;
605
+ };
606
+ receipt: {
607
+ authority_ref: string;
608
+ receipt_digest: string;
609
+ resolver: string;
610
+ resolved_at: string;
611
+ };
612
+ };
613
+ }, {
614
+ protocol: "context.indexer.resolve-provider-output/v1";
615
+ output_digest: string;
616
+ request_digest: string;
617
+ envelope: {
618
+ protocol: "context.indexer.resolved-provider-bundle/v1";
619
+ files: {
620
+ path: string;
621
+ digest: string;
622
+ }[];
623
+ request: {
624
+ skill: string;
625
+ version: string;
626
+ distribution: {
627
+ kind: "cli-bundled";
628
+ locator: string;
629
+ } | {
630
+ kind: "bundled";
631
+ locator: string;
632
+ } | {
633
+ kind: "workspace";
634
+ locator: string;
635
+ } | {
636
+ kind: "package";
637
+ locator: string;
638
+ } | {
639
+ kind: "marketplace";
640
+ locator: string;
641
+ };
642
+ indexer_id: string;
643
+ provider_id: string;
644
+ };
645
+ resolved: {
646
+ integrity: string;
647
+ manifest_digest: string;
648
+ issuer: string;
649
+ trust: "first-party" | "verified" | "project-authorized" | "untrusted";
650
+ };
651
+ transport: {
652
+ kind: "directory" | "archive";
653
+ path: string;
654
+ expires_at: string;
655
+ };
656
+ receipt: {
657
+ authority_ref: string;
658
+ receipt_digest: string;
659
+ resolver: string;
660
+ resolved_at: string;
661
+ };
662
+ };
663
+ }>;
664
+ export type IndexerProviderResolutionActionInput = z.infer<typeof indexerProviderResolutionActionInputSchema>;
665
+ export type IndexerProviderResolutionActionOutput = z.infer<typeof indexerProviderResolutionActionOutputSchema>;
666
+ export declare function buildIndexerProviderResolutionActionInput(value: unknown): IndexerProviderResolutionActionInput;
667
+ export declare function validateIndexerProviderResolutionActionInput(value: unknown): IndexerProviderResolutionActionInput;
668
+ export declare function expectedProviderResolutionFromAction(value: IndexerProviderResolutionActionInput): ExpectedProviderResolution;
669
+ export declare function buildIndexerProviderResolutionActionOutput(input: {
670
+ request: unknown;
671
+ envelope: unknown;
672
+ now?: Date;
673
+ }): IndexerProviderResolutionActionOutput;
674
+ export declare function validateIndexerProviderResolutionActionOutput(input: {
675
+ request: unknown;
676
+ output: unknown;
677
+ now?: Date;
678
+ }): IndexerProviderResolutionActionOutput;