@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.
- package/README.md +65 -170
- package/README.zh-CN.md +52 -129
- package/docs/README.md +9 -10
- package/docs/README.zh-CN.md +6 -7
- package/docs/getting-started.md +73 -428
- package/docs/guides/agent-guide.md +94 -518
- package/docs/guides/code-indexer-skill-authoring.md +24 -13
- package/docs/guides/markdown-indexer-skill-authoring.md +14 -14
- package/docs/reference/code-extractors.md +29 -121
- package/docs/reference/indexer-provider-protocol.md +43 -110
- package/docs/reference/package-templates.md +2 -3
- package/docs/reference/project-api.md +52 -986
- package/index.d.ts +10 -8
- package/index.js +4739 -7103
- package/indexerAgentStepProtocol.d.ts +1366 -7649
- package/indexerArtifact.d.ts +225 -0
- package/indexerArtifactDependencies.d.ts +41 -39
- package/indexerArtifactResult.d.ts +219 -252
- package/indexerAuthorizedWorksetView.d.ts +368 -0
- package/indexerBaseQuestionAmendment.d.ts +484 -280
- package/indexerBenchmark.d.ts +16 -16
- package/indexerCandidateCompile.d.ts +66 -60
- package/indexerCapabilityGroupEvidence.d.ts +6 -6
- package/indexerCatalogFallback.d.ts +122 -128
- package/indexerCollectionMapping.d.ts +13 -13
- package/indexerContentLayers.d.ts +8 -8
- package/indexerContractOverlay.d.ts +10 -10
- package/indexerControlledInvocation.d.ts +12 -12
- package/indexerControlledProgram.d.ts +2467 -2797
- package/indexerCoreExports.d.ts +6 -6
- package/indexerCustomizationDraft.d.ts +3315 -2091
- package/indexerCustomizationLadder.d.ts +2 -2
- package/indexerDependencyView.d.ts +108 -108
- package/indexerEffectiveArtifact.d.ts +1134 -0
- package/indexerEvidenceAdapterAuthorityMerge.d.ts +48 -0
- package/indexerEvidenceAdapterResult.d.ts +52 -52
- package/indexerExampleDecision.d.ts +128 -128
- package/indexerExampleIdentity.d.ts +6 -6
- package/indexerGeneratedAuthoringAudit.d.ts +18 -18
- package/indexerIncrementalImpact.d.ts +16 -16
- package/indexerInspectorWorksetProjection.d.ts +6 -0
- package/indexerInventoryDisposition.d.ts +70 -70
- package/indexerLayerComposition.d.ts +2139 -373
- package/indexerLayoutChange.d.ts +10 -10
- package/indexerLayoutProposalSet.d.ts +71 -66
- package/indexerLayoutResolver.d.ts +53 -48
- package/indexerLayoutTransition.d.ts +0 -50
- package/indexerLifecycle.d.ts +0 -13
- package/indexerMainLifecycle.d.ts +10 -0
- package/indexerMainRunLedger.d.ts +138 -11
- package/indexerMainRunProtocol.d.ts +1406 -785
- package/indexerMainWorkset.d.ts +460 -206
- package/indexerMaterialGapLedger.d.ts +13 -2904
- package/indexerOverlayQuestionAmendment.d.ts +491 -287
- package/indexerOverlayQuestionApplyProposal.d.ts +1022 -614
- package/indexerParserCapabilityCatalog.d.ts +136 -0
- package/indexerParserCoordinate.d.ts +16 -16
- package/indexerParserDependencyIntent.d.ts +22 -0
- package/indexerParserExecutionPlan.d.ts +388 -0
- package/indexerParserFactView.d.ts +42 -22
- package/indexerPartitionConvergence.d.ts +0 -3
- package/indexerPartitionInventory.d.ts +2 -0
- package/indexerPartitionPlan.d.ts +101 -99
- package/indexerPhysicalArtifactManifest.d.ts +8 -8
- package/indexerPostAuthorComposition.d.ts +116 -1156
- package/indexerPostAuthorRunLedger.d.ts +1434 -280
- package/indexerPrimaryProjection.d.ts +10 -10
- package/indexerPrimaryResultView.d.ts +435 -0
- package/indexerProfileContract.d.ts +181 -181
- package/indexerProgramExecutionAuthorization.d.ts +12 -12
- package/indexerProgramRunProtocol.d.ts +2141 -2749
- package/indexerProjectProposal.d.ts +496 -292
- package/indexerProjectedArtifactFanOutAudit.d.ts +0 -3
- package/indexerProtocolCommon.d.ts +4 -1
- package/indexerProvider.d.ts +134 -218
- package/indexerProviderComposition.d.ts +53 -53
- package/indexerProviderResolution.d.ts +12 -12
- package/indexerProviderResolutionAction.d.ts +14 -14
- package/indexerProviderRouting.d.ts +923 -515
- package/indexerProviderSelectionProposal.d.ts +893 -485
- package/indexerQuestionAuthority.d.ts +46 -47
- package/indexerReaderTargetInventory.d.ts +8 -8
- package/indexerRegistry.d.ts +765 -357
- package/indexerRequirementConfirmation.d.ts +98 -98
- package/indexerRequirementLifecycle.d.ts +224 -224
- package/indexerResultReconciliation.d.ts +204 -5919
- package/indexerResultReconciliationRun.d.ts +0 -1
- package/indexerRunEnvelope.d.ts +20 -20
- package/indexerSemanticInput.d.ts +3678 -0
- package/indexerStructuredDeclaration.d.ts +57 -53
- package/indexerSubjectCatalog.d.ts +14 -14
- package/indexerSubjectIdentity.d.ts +2 -2
- package/indexerSubjectKeyAuthority.d.ts +31 -30
- package/indexerTemplateRendering.d.ts +64 -64
- package/indexerToolSnapshot.d.ts +8 -8
- package/package.json +1 -1
- package/phases.d.ts +3 -183
- package/codeIndexPlan.d.ts +0 -158
- package/indexerAuditFacts.d.ts +0 -66
- package/indexerAuditOverrideReadiness.d.ts +0 -27
- package/indexerAuditProtocol.d.ts +0 -238
- package/indexerAuditRevision.d.ts +0 -726
- package/indexerAuditRevisionActions.d.ts +0 -236
- package/indexerMaterialAnswer.d.ts +0 -738
- package/indexerMaterialAnswerActualization.d.ts +0 -91
- package/indexerMaterialAnswerExecutionPlan.d.ts +0 -2887
- package/indexerMaterialAnswerFlow.d.ts +0 -63
- package/indexerMaterialAnswerLayout.d.ts +0 -76
- package/indexerMaterialAnswerReview.d.ts +0 -217
- package/indexerMaterialAnswerReviewRoute.d.ts +0 -6145
- package/indexerMaterialAnswerRunLedger.d.ts +0 -918
- package/indexerMaterialAnswerRunProtocol.d.ts +0 -1253
- package/indexerMaterialQuestionExclusion.d.ts +0 -129
- package/indexerMaterialQuestionWorkset.d.ts +0 -508
- package/indexerPlannedMaterialAnswer.d.ts +0 -116
- package/indexerProfileMetricAudit.d.ts +0 -218
- package/indexerWorksetRead.d.ts +0 -287
package/indexerMainWorkset.d.ts
CHANGED
|
@@ -15,34 +15,34 @@ export declare const indexerTargetResolutionViewSchema: z.ZodEffects<z.ZodObject
|
|
|
15
15
|
local_key: z.ZodEffects<z.ZodString, string, string>;
|
|
16
16
|
}, "strict", z.ZodTypeAny, {
|
|
17
17
|
kind: string;
|
|
18
|
-
protocol: "context.subject-key/v1";
|
|
19
18
|
namespace: string;
|
|
19
|
+
protocol: "context.subject-key/v1";
|
|
20
20
|
local_key: string;
|
|
21
21
|
}, {
|
|
22
22
|
kind: string;
|
|
23
|
-
protocol: "context.subject-key/v1";
|
|
24
23
|
namespace: string;
|
|
24
|
+
protocol: "context.subject-key/v1";
|
|
25
25
|
local_key: string;
|
|
26
26
|
}>;
|
|
27
27
|
node_ref: z.ZodString;
|
|
28
28
|
}, "strict", z.ZodTypeAny, {
|
|
29
|
-
state: "resolved";
|
|
30
29
|
subject_key: {
|
|
31
30
|
kind: string;
|
|
32
|
-
protocol: "context.subject-key/v1";
|
|
33
31
|
namespace: string;
|
|
32
|
+
protocol: "context.subject-key/v1";
|
|
34
33
|
local_key: string;
|
|
35
34
|
};
|
|
35
|
+
state: "resolved";
|
|
36
36
|
query_ref: string;
|
|
37
37
|
node_ref: string;
|
|
38
38
|
}, {
|
|
39
|
-
state: "resolved";
|
|
40
39
|
subject_key: {
|
|
41
40
|
kind: string;
|
|
42
|
-
protocol: "context.subject-key/v1";
|
|
43
41
|
namespace: string;
|
|
42
|
+
protocol: "context.subject-key/v1";
|
|
44
43
|
local_key: string;
|
|
45
44
|
};
|
|
45
|
+
state: "resolved";
|
|
46
46
|
query_ref: string;
|
|
47
47
|
node_ref: string;
|
|
48
48
|
}>, z.ZodObject<{
|
|
@@ -77,13 +77,13 @@ export declare const indexerTargetResolutionViewSchema: z.ZodEffects<z.ZodObject
|
|
|
77
77
|
}>]>, "many">;
|
|
78
78
|
}, "strict", z.ZodTypeAny, {
|
|
79
79
|
entries: ({
|
|
80
|
-
state: "resolved";
|
|
81
80
|
subject_key: {
|
|
82
81
|
kind: string;
|
|
83
|
-
protocol: "context.subject-key/v1";
|
|
84
82
|
namespace: string;
|
|
83
|
+
protocol: "context.subject-key/v1";
|
|
85
84
|
local_key: string;
|
|
86
85
|
};
|
|
86
|
+
state: "resolved";
|
|
87
87
|
query_ref: string;
|
|
88
88
|
node_ref: string;
|
|
89
89
|
} | {
|
|
@@ -101,13 +101,13 @@ export declare const indexerTargetResolutionViewSchema: z.ZodEffects<z.ZodObject
|
|
|
101
101
|
query_digest: string;
|
|
102
102
|
}, {
|
|
103
103
|
entries: ({
|
|
104
|
-
state: "resolved";
|
|
105
104
|
subject_key: {
|
|
106
105
|
kind: string;
|
|
107
|
-
protocol: "context.subject-key/v1";
|
|
108
106
|
namespace: string;
|
|
107
|
+
protocol: "context.subject-key/v1";
|
|
109
108
|
local_key: string;
|
|
110
109
|
};
|
|
110
|
+
state: "resolved";
|
|
111
111
|
query_ref: string;
|
|
112
112
|
node_ref: string;
|
|
113
113
|
} | {
|
|
@@ -125,13 +125,13 @@ export declare const indexerTargetResolutionViewSchema: z.ZodEffects<z.ZodObject
|
|
|
125
125
|
query_digest: string;
|
|
126
126
|
}>, {
|
|
127
127
|
entries: ({
|
|
128
|
-
state: "resolved";
|
|
129
128
|
subject_key: {
|
|
130
129
|
kind: string;
|
|
131
|
-
protocol: "context.subject-key/v1";
|
|
132
130
|
namespace: string;
|
|
131
|
+
protocol: "context.subject-key/v1";
|
|
133
132
|
local_key: string;
|
|
134
133
|
};
|
|
134
|
+
state: "resolved";
|
|
135
135
|
query_ref: string;
|
|
136
136
|
node_ref: string;
|
|
137
137
|
} | {
|
|
@@ -149,13 +149,13 @@ export declare const indexerTargetResolutionViewSchema: z.ZodEffects<z.ZodObject
|
|
|
149
149
|
query_digest: string;
|
|
150
150
|
}, {
|
|
151
151
|
entries: ({
|
|
152
|
-
state: "resolved";
|
|
153
152
|
subject_key: {
|
|
154
153
|
kind: string;
|
|
155
|
-
protocol: "context.subject-key/v1";
|
|
156
154
|
namespace: string;
|
|
155
|
+
protocol: "context.subject-key/v1";
|
|
157
156
|
local_key: string;
|
|
158
157
|
};
|
|
158
|
+
state: "resolved";
|
|
159
159
|
query_ref: string;
|
|
160
160
|
node_ref: string;
|
|
161
161
|
} | {
|
|
@@ -176,6 +176,26 @@ export type IndexerTargetResolutionView = z.infer<typeof indexerTargetResolution
|
|
|
176
176
|
export declare function indexerTargetResolutionViewDigest(value: Omit<IndexerTargetResolutionView, "view_digest">): string;
|
|
177
177
|
export declare function buildIndexerTargetResolutionView(input: Omit<IndexerTargetResolutionView, "protocol" | "view_digest">): IndexerTargetResolutionView;
|
|
178
178
|
export declare function validateIndexerTargetResolutionView(value: unknown): IndexerTargetResolutionView;
|
|
179
|
+
export declare const indexerRepairIntentSchema: z.ZodObject<{
|
|
180
|
+
target_ref: z.ZodString;
|
|
181
|
+
instruction: z.ZodString;
|
|
182
|
+
} & {
|
|
183
|
+
intent_digest: z.ZodString;
|
|
184
|
+
}, "strict", z.ZodTypeAny, {
|
|
185
|
+
target_ref: string;
|
|
186
|
+
instruction: string;
|
|
187
|
+
intent_digest: string;
|
|
188
|
+
}, {
|
|
189
|
+
target_ref: string;
|
|
190
|
+
instruction: string;
|
|
191
|
+
intent_digest: string;
|
|
192
|
+
}>;
|
|
193
|
+
export type IndexerRepairIntent = z.infer<typeof indexerRepairIntentSchema>;
|
|
194
|
+
export declare function buildIndexerRepairIntent(input: {
|
|
195
|
+
target_ref: string;
|
|
196
|
+
instruction: string;
|
|
197
|
+
}): IndexerRepairIntent;
|
|
198
|
+
export declare function validateIndexerRepairIntent(value: unknown): IndexerRepairIntent;
|
|
179
199
|
declare const partitionWorksetSchema: z.ZodEffects<z.ZodObject<{
|
|
180
200
|
stage: z.ZodLiteral<"partition">;
|
|
181
201
|
partition_subject_key: z.ZodObject<{
|
|
@@ -185,13 +205,13 @@ declare const partitionWorksetSchema: z.ZodEffects<z.ZodObject<{
|
|
|
185
205
|
local_key: z.ZodEffects<z.ZodString, string, string>;
|
|
186
206
|
}, "strict", z.ZodTypeAny, {
|
|
187
207
|
kind: string;
|
|
188
|
-
protocol: "context.subject-key/v1";
|
|
189
208
|
namespace: string;
|
|
209
|
+
protocol: "context.subject-key/v1";
|
|
190
210
|
local_key: string;
|
|
191
211
|
}, {
|
|
192
212
|
kind: string;
|
|
193
|
-
protocol: "context.subject-key/v1";
|
|
194
213
|
namespace: string;
|
|
214
|
+
protocol: "context.subject-key/v1";
|
|
195
215
|
local_key: string;
|
|
196
216
|
}>;
|
|
197
217
|
strategy_set_digest: z.ZodString;
|
|
@@ -199,7 +219,7 @@ declare const partitionWorksetSchema: z.ZodEffects<z.ZodObject<{
|
|
|
199
219
|
partition_input_digests: z.ZodArray<z.ZodString, "many">;
|
|
200
220
|
partition_inventory_digest: z.ZodString;
|
|
201
221
|
allowed_question_target_refs: z.ZodArray<z.ZodString, "many">;
|
|
202
|
-
protocol: z.ZodLiteral<"context.indexer.main-workset/
|
|
222
|
+
protocol: z.ZodLiteral<"context.indexer.main-workset/v2">;
|
|
203
223
|
workset_digest: z.ZodString;
|
|
204
224
|
operation: z.ZodLiteral<"main-index">;
|
|
205
225
|
indexer_id: z.ZodEffects<z.ZodString, string, string>;
|
|
@@ -213,16 +233,30 @@ declare const partitionWorksetSchema: z.ZodEffects<z.ZodObject<{
|
|
|
213
233
|
profile_contract_digest: z.ZodString;
|
|
214
234
|
subject_key_schema_digest: z.ZodString;
|
|
215
235
|
source_scope_digest: z.ZodString;
|
|
216
|
-
|
|
236
|
+
source_binding_digest: z.ZodString;
|
|
217
237
|
primary_resource_binding_digest: z.ZodString;
|
|
218
238
|
question_target_inventory_digest: z.ZodString;
|
|
239
|
+
repair_intent: z.ZodOptional<z.ZodObject<{
|
|
240
|
+
target_ref: z.ZodString;
|
|
241
|
+
instruction: z.ZodString;
|
|
242
|
+
} & {
|
|
243
|
+
intent_digest: z.ZodString;
|
|
244
|
+
}, "strict", z.ZodTypeAny, {
|
|
245
|
+
target_ref: string;
|
|
246
|
+
instruction: string;
|
|
247
|
+
intent_digest: string;
|
|
248
|
+
}, {
|
|
249
|
+
target_ref: string;
|
|
250
|
+
instruction: string;
|
|
251
|
+
intent_digest: string;
|
|
252
|
+
}>>;
|
|
219
253
|
}, "strict", z.ZodTypeAny, {
|
|
220
254
|
source_ref: string;
|
|
221
|
-
|
|
222
|
-
protocol: "context.indexer.main-workset/v1";
|
|
255
|
+
protocol: "context.indexer.main-workset/v2";
|
|
223
256
|
requirement_ref: string;
|
|
224
257
|
workset_digest: string;
|
|
225
258
|
module_ref: string | null;
|
|
259
|
+
operation: "main-index";
|
|
226
260
|
indexer_id: string;
|
|
227
261
|
profile_contract_digest: string;
|
|
228
262
|
reader_question_refs: string[];
|
|
@@ -230,8 +264,8 @@ declare const partitionWorksetSchema: z.ZodEffects<z.ZodObject<{
|
|
|
230
264
|
stage: "partition";
|
|
231
265
|
partition_subject_key: {
|
|
232
266
|
kind: string;
|
|
233
|
-
protocol: "context.subject-key/v1";
|
|
234
267
|
namespace: string;
|
|
268
|
+
protocol: "context.subject-key/v1";
|
|
235
269
|
local_key: string;
|
|
236
270
|
};
|
|
237
271
|
strategy_set_digest: string;
|
|
@@ -243,16 +277,21 @@ declare const partitionWorksetSchema: z.ZodEffects<z.ZodObject<{
|
|
|
243
277
|
requirement_set_digest: string;
|
|
244
278
|
primary_execution_fingerprint: string;
|
|
245
279
|
source_scope_digest: string;
|
|
246
|
-
|
|
280
|
+
source_binding_digest: string;
|
|
247
281
|
primary_resource_binding_digest: string;
|
|
248
282
|
question_target_inventory_digest: string;
|
|
283
|
+
repair_intent?: {
|
|
284
|
+
target_ref: string;
|
|
285
|
+
instruction: string;
|
|
286
|
+
intent_digest: string;
|
|
287
|
+
} | undefined;
|
|
249
288
|
}, {
|
|
250
289
|
source_ref: string;
|
|
251
|
-
|
|
252
|
-
protocol: "context.indexer.main-workset/v1";
|
|
290
|
+
protocol: "context.indexer.main-workset/v2";
|
|
253
291
|
requirement_ref: string;
|
|
254
292
|
workset_digest: string;
|
|
255
293
|
module_ref: string | null;
|
|
294
|
+
operation: "main-index";
|
|
256
295
|
indexer_id: string;
|
|
257
296
|
profile_contract_digest: string;
|
|
258
297
|
reader_question_refs: string[];
|
|
@@ -260,8 +299,8 @@ declare const partitionWorksetSchema: z.ZodEffects<z.ZodObject<{
|
|
|
260
299
|
stage: "partition";
|
|
261
300
|
partition_subject_key: {
|
|
262
301
|
kind: string;
|
|
263
|
-
protocol: "context.subject-key/v1";
|
|
264
302
|
namespace: string;
|
|
303
|
+
protocol: "context.subject-key/v1";
|
|
265
304
|
local_key: string;
|
|
266
305
|
};
|
|
267
306
|
strategy_set_digest: string;
|
|
@@ -273,16 +312,21 @@ declare const partitionWorksetSchema: z.ZodEffects<z.ZodObject<{
|
|
|
273
312
|
requirement_set_digest: string;
|
|
274
313
|
primary_execution_fingerprint: string;
|
|
275
314
|
source_scope_digest: string;
|
|
276
|
-
|
|
315
|
+
source_binding_digest: string;
|
|
277
316
|
primary_resource_binding_digest: string;
|
|
278
317
|
question_target_inventory_digest: string;
|
|
318
|
+
repair_intent?: {
|
|
319
|
+
target_ref: string;
|
|
320
|
+
instruction: string;
|
|
321
|
+
intent_digest: string;
|
|
322
|
+
} | undefined;
|
|
279
323
|
}>, {
|
|
280
324
|
source_ref: string;
|
|
281
|
-
|
|
282
|
-
protocol: "context.indexer.main-workset/v1";
|
|
325
|
+
protocol: "context.indexer.main-workset/v2";
|
|
283
326
|
requirement_ref: string;
|
|
284
327
|
workset_digest: string;
|
|
285
328
|
module_ref: string | null;
|
|
329
|
+
operation: "main-index";
|
|
286
330
|
indexer_id: string;
|
|
287
331
|
profile_contract_digest: string;
|
|
288
332
|
reader_question_refs: string[];
|
|
@@ -290,8 +334,8 @@ declare const partitionWorksetSchema: z.ZodEffects<z.ZodObject<{
|
|
|
290
334
|
stage: "partition";
|
|
291
335
|
partition_subject_key: {
|
|
292
336
|
kind: string;
|
|
293
|
-
protocol: "context.subject-key/v1";
|
|
294
337
|
namespace: string;
|
|
338
|
+
protocol: "context.subject-key/v1";
|
|
295
339
|
local_key: string;
|
|
296
340
|
};
|
|
297
341
|
strategy_set_digest: string;
|
|
@@ -303,16 +347,21 @@ declare const partitionWorksetSchema: z.ZodEffects<z.ZodObject<{
|
|
|
303
347
|
requirement_set_digest: string;
|
|
304
348
|
primary_execution_fingerprint: string;
|
|
305
349
|
source_scope_digest: string;
|
|
306
|
-
|
|
350
|
+
source_binding_digest: string;
|
|
307
351
|
primary_resource_binding_digest: string;
|
|
308
352
|
question_target_inventory_digest: string;
|
|
353
|
+
repair_intent?: {
|
|
354
|
+
target_ref: string;
|
|
355
|
+
instruction: string;
|
|
356
|
+
intent_digest: string;
|
|
357
|
+
} | undefined;
|
|
309
358
|
}, {
|
|
310
359
|
source_ref: string;
|
|
311
|
-
|
|
312
|
-
protocol: "context.indexer.main-workset/v1";
|
|
360
|
+
protocol: "context.indexer.main-workset/v2";
|
|
313
361
|
requirement_ref: string;
|
|
314
362
|
workset_digest: string;
|
|
315
363
|
module_ref: string | null;
|
|
364
|
+
operation: "main-index";
|
|
316
365
|
indexer_id: string;
|
|
317
366
|
profile_contract_digest: string;
|
|
318
367
|
reader_question_refs: string[];
|
|
@@ -320,8 +369,8 @@ declare const partitionWorksetSchema: z.ZodEffects<z.ZodObject<{
|
|
|
320
369
|
stage: "partition";
|
|
321
370
|
partition_subject_key: {
|
|
322
371
|
kind: string;
|
|
323
|
-
protocol: "context.subject-key/v1";
|
|
324
372
|
namespace: string;
|
|
373
|
+
protocol: "context.subject-key/v1";
|
|
325
374
|
local_key: string;
|
|
326
375
|
};
|
|
327
376
|
strategy_set_digest: string;
|
|
@@ -333,9 +382,14 @@ declare const partitionWorksetSchema: z.ZodEffects<z.ZodObject<{
|
|
|
333
382
|
requirement_set_digest: string;
|
|
334
383
|
primary_execution_fingerprint: string;
|
|
335
384
|
source_scope_digest: string;
|
|
336
|
-
|
|
385
|
+
source_binding_digest: string;
|
|
337
386
|
primary_resource_binding_digest: string;
|
|
338
387
|
question_target_inventory_digest: string;
|
|
388
|
+
repair_intent?: {
|
|
389
|
+
target_ref: string;
|
|
390
|
+
instruction: string;
|
|
391
|
+
intent_digest: string;
|
|
392
|
+
} | undefined;
|
|
339
393
|
}>;
|
|
340
394
|
declare const authorWorksetSchema: z.ZodEffects<z.ZodObject<{
|
|
341
395
|
stage: z.ZodLiteral<"author">;
|
|
@@ -362,34 +416,34 @@ declare const authorWorksetSchema: z.ZodEffects<z.ZodObject<{
|
|
|
362
416
|
local_key: z.ZodEffects<z.ZodString, string, string>;
|
|
363
417
|
}, "strict", z.ZodTypeAny, {
|
|
364
418
|
kind: string;
|
|
365
|
-
protocol: "context.subject-key/v1";
|
|
366
419
|
namespace: string;
|
|
420
|
+
protocol: "context.subject-key/v1";
|
|
367
421
|
local_key: string;
|
|
368
422
|
}, {
|
|
369
423
|
kind: string;
|
|
370
|
-
protocol: "context.subject-key/v1";
|
|
371
424
|
namespace: string;
|
|
425
|
+
protocol: "context.subject-key/v1";
|
|
372
426
|
local_key: string;
|
|
373
427
|
}>;
|
|
374
428
|
node_ref: z.ZodString;
|
|
375
429
|
}, "strict", z.ZodTypeAny, {
|
|
376
|
-
state: "resolved";
|
|
377
430
|
subject_key: {
|
|
378
431
|
kind: string;
|
|
379
|
-
protocol: "context.subject-key/v1";
|
|
380
432
|
namespace: string;
|
|
433
|
+
protocol: "context.subject-key/v1";
|
|
381
434
|
local_key: string;
|
|
382
435
|
};
|
|
436
|
+
state: "resolved";
|
|
383
437
|
query_ref: string;
|
|
384
438
|
node_ref: string;
|
|
385
439
|
}, {
|
|
386
|
-
state: "resolved";
|
|
387
440
|
subject_key: {
|
|
388
441
|
kind: string;
|
|
389
|
-
protocol: "context.subject-key/v1";
|
|
390
442
|
namespace: string;
|
|
443
|
+
protocol: "context.subject-key/v1";
|
|
391
444
|
local_key: string;
|
|
392
445
|
};
|
|
446
|
+
state: "resolved";
|
|
393
447
|
query_ref: string;
|
|
394
448
|
node_ref: string;
|
|
395
449
|
}>, z.ZodObject<{
|
|
@@ -424,13 +478,13 @@ declare const authorWorksetSchema: z.ZodEffects<z.ZodObject<{
|
|
|
424
478
|
}>]>, "many">;
|
|
425
479
|
}, "strict", z.ZodTypeAny, {
|
|
426
480
|
entries: ({
|
|
427
|
-
state: "resolved";
|
|
428
481
|
subject_key: {
|
|
429
482
|
kind: string;
|
|
430
|
-
protocol: "context.subject-key/v1";
|
|
431
483
|
namespace: string;
|
|
484
|
+
protocol: "context.subject-key/v1";
|
|
432
485
|
local_key: string;
|
|
433
486
|
};
|
|
487
|
+
state: "resolved";
|
|
434
488
|
query_ref: string;
|
|
435
489
|
node_ref: string;
|
|
436
490
|
} | {
|
|
@@ -448,13 +502,13 @@ declare const authorWorksetSchema: z.ZodEffects<z.ZodObject<{
|
|
|
448
502
|
query_digest: string;
|
|
449
503
|
}, {
|
|
450
504
|
entries: ({
|
|
451
|
-
state: "resolved";
|
|
452
505
|
subject_key: {
|
|
453
506
|
kind: string;
|
|
454
|
-
protocol: "context.subject-key/v1";
|
|
455
507
|
namespace: string;
|
|
508
|
+
protocol: "context.subject-key/v1";
|
|
456
509
|
local_key: string;
|
|
457
510
|
};
|
|
511
|
+
state: "resolved";
|
|
458
512
|
query_ref: string;
|
|
459
513
|
node_ref: string;
|
|
460
514
|
} | {
|
|
@@ -472,13 +526,13 @@ declare const authorWorksetSchema: z.ZodEffects<z.ZodObject<{
|
|
|
472
526
|
query_digest: string;
|
|
473
527
|
}>, {
|
|
474
528
|
entries: ({
|
|
475
|
-
state: "resolved";
|
|
476
529
|
subject_key: {
|
|
477
530
|
kind: string;
|
|
478
|
-
protocol: "context.subject-key/v1";
|
|
479
531
|
namespace: string;
|
|
532
|
+
protocol: "context.subject-key/v1";
|
|
480
533
|
local_key: string;
|
|
481
534
|
};
|
|
535
|
+
state: "resolved";
|
|
482
536
|
query_ref: string;
|
|
483
537
|
node_ref: string;
|
|
484
538
|
} | {
|
|
@@ -496,13 +550,13 @@ declare const authorWorksetSchema: z.ZodEffects<z.ZodObject<{
|
|
|
496
550
|
query_digest: string;
|
|
497
551
|
}, {
|
|
498
552
|
entries: ({
|
|
499
|
-
state: "resolved";
|
|
500
553
|
subject_key: {
|
|
501
554
|
kind: string;
|
|
502
|
-
protocol: "context.subject-key/v1";
|
|
503
555
|
namespace: string;
|
|
556
|
+
protocol: "context.subject-key/v1";
|
|
504
557
|
local_key: string;
|
|
505
558
|
};
|
|
559
|
+
state: "resolved";
|
|
506
560
|
query_ref: string;
|
|
507
561
|
node_ref: string;
|
|
508
562
|
} | {
|
|
@@ -521,7 +575,7 @@ declare const authorWorksetSchema: z.ZodEffects<z.ZodObject<{
|
|
|
521
575
|
}>>;
|
|
522
576
|
allowed_artifact_policy_variants: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
|
|
523
577
|
artifact_policy_eligibility_digest: z.ZodString;
|
|
524
|
-
protocol: z.ZodLiteral<"context.indexer.main-workset/
|
|
578
|
+
protocol: z.ZodLiteral<"context.indexer.main-workset/v2">;
|
|
525
579
|
workset_digest: z.ZodString;
|
|
526
580
|
operation: z.ZodLiteral<"main-index">;
|
|
527
581
|
indexer_id: z.ZodEffects<z.ZodString, string, string>;
|
|
@@ -535,16 +589,30 @@ declare const authorWorksetSchema: z.ZodEffects<z.ZodObject<{
|
|
|
535
589
|
profile_contract_digest: z.ZodString;
|
|
536
590
|
subject_key_schema_digest: z.ZodString;
|
|
537
591
|
source_scope_digest: z.ZodString;
|
|
538
|
-
|
|
592
|
+
source_binding_digest: z.ZodString;
|
|
539
593
|
primary_resource_binding_digest: z.ZodString;
|
|
540
594
|
question_target_inventory_digest: z.ZodString;
|
|
595
|
+
repair_intent: z.ZodOptional<z.ZodObject<{
|
|
596
|
+
target_ref: z.ZodString;
|
|
597
|
+
instruction: z.ZodString;
|
|
598
|
+
} & {
|
|
599
|
+
intent_digest: z.ZodString;
|
|
600
|
+
}, "strict", z.ZodTypeAny, {
|
|
601
|
+
target_ref: string;
|
|
602
|
+
instruction: string;
|
|
603
|
+
intent_digest: string;
|
|
604
|
+
}, {
|
|
605
|
+
target_ref: string;
|
|
606
|
+
instruction: string;
|
|
607
|
+
intent_digest: string;
|
|
608
|
+
}>>;
|
|
541
609
|
}, "strict", z.ZodTypeAny, {
|
|
542
610
|
source_ref: string;
|
|
543
|
-
|
|
544
|
-
protocol: "context.indexer.main-workset/v1";
|
|
611
|
+
protocol: "context.indexer.main-workset/v2";
|
|
545
612
|
requirement_ref: string;
|
|
546
613
|
workset_digest: string;
|
|
547
614
|
module_ref: string | null;
|
|
615
|
+
operation: "main-index";
|
|
548
616
|
indexer_id: string;
|
|
549
617
|
profile_contract_digest: string;
|
|
550
618
|
logical_unit_ref: string;
|
|
@@ -555,7 +623,7 @@ declare const authorWorksetSchema: z.ZodEffects<z.ZodObject<{
|
|
|
555
623
|
requirement_set_digest: string;
|
|
556
624
|
primary_execution_fingerprint: string;
|
|
557
625
|
source_scope_digest: string;
|
|
558
|
-
|
|
626
|
+
source_binding_digest: string;
|
|
559
627
|
primary_resource_binding_digest: string;
|
|
560
628
|
question_target_inventory_digest: string;
|
|
561
629
|
partition_plan_binding_digest: string;
|
|
@@ -566,15 +634,20 @@ declare const authorWorksetSchema: z.ZodEffects<z.ZodObject<{
|
|
|
566
634
|
group_dependency_view_digest: string;
|
|
567
635
|
allowed_artifact_policy_variants: string[];
|
|
568
636
|
artifact_policy_eligibility_digest: string;
|
|
637
|
+
repair_intent?: {
|
|
638
|
+
target_ref: string;
|
|
639
|
+
instruction: string;
|
|
640
|
+
intent_digest: string;
|
|
641
|
+
} | undefined;
|
|
569
642
|
target_resolution_view?: {
|
|
570
643
|
entries: ({
|
|
571
|
-
state: "resolved";
|
|
572
644
|
subject_key: {
|
|
573
645
|
kind: string;
|
|
574
|
-
protocol: "context.subject-key/v1";
|
|
575
646
|
namespace: string;
|
|
647
|
+
protocol: "context.subject-key/v1";
|
|
576
648
|
local_key: string;
|
|
577
649
|
};
|
|
650
|
+
state: "resolved";
|
|
578
651
|
query_ref: string;
|
|
579
652
|
node_ref: string;
|
|
580
653
|
} | {
|
|
@@ -593,11 +666,11 @@ declare const authorWorksetSchema: z.ZodEffects<z.ZodObject<{
|
|
|
593
666
|
} | undefined;
|
|
594
667
|
}, {
|
|
595
668
|
source_ref: string;
|
|
596
|
-
|
|
597
|
-
protocol: "context.indexer.main-workset/v1";
|
|
669
|
+
protocol: "context.indexer.main-workset/v2";
|
|
598
670
|
requirement_ref: string;
|
|
599
671
|
workset_digest: string;
|
|
600
672
|
module_ref: string | null;
|
|
673
|
+
operation: "main-index";
|
|
601
674
|
indexer_id: string;
|
|
602
675
|
profile_contract_digest: string;
|
|
603
676
|
logical_unit_ref: string;
|
|
@@ -608,7 +681,7 @@ declare const authorWorksetSchema: z.ZodEffects<z.ZodObject<{
|
|
|
608
681
|
requirement_set_digest: string;
|
|
609
682
|
primary_execution_fingerprint: string;
|
|
610
683
|
source_scope_digest: string;
|
|
611
|
-
|
|
684
|
+
source_binding_digest: string;
|
|
612
685
|
primary_resource_binding_digest: string;
|
|
613
686
|
question_target_inventory_digest: string;
|
|
614
687
|
partition_plan_binding_digest: string;
|
|
@@ -619,15 +692,20 @@ declare const authorWorksetSchema: z.ZodEffects<z.ZodObject<{
|
|
|
619
692
|
group_dependency_view_digest: string;
|
|
620
693
|
allowed_artifact_policy_variants: string[];
|
|
621
694
|
artifact_policy_eligibility_digest: string;
|
|
695
|
+
repair_intent?: {
|
|
696
|
+
target_ref: string;
|
|
697
|
+
instruction: string;
|
|
698
|
+
intent_digest: string;
|
|
699
|
+
} | undefined;
|
|
622
700
|
target_resolution_view?: {
|
|
623
701
|
entries: ({
|
|
624
|
-
state: "resolved";
|
|
625
702
|
subject_key: {
|
|
626
703
|
kind: string;
|
|
627
|
-
protocol: "context.subject-key/v1";
|
|
628
704
|
namespace: string;
|
|
705
|
+
protocol: "context.subject-key/v1";
|
|
629
706
|
local_key: string;
|
|
630
707
|
};
|
|
708
|
+
state: "resolved";
|
|
631
709
|
query_ref: string;
|
|
632
710
|
node_ref: string;
|
|
633
711
|
} | {
|
|
@@ -646,11 +724,11 @@ declare const authorWorksetSchema: z.ZodEffects<z.ZodObject<{
|
|
|
646
724
|
} | undefined;
|
|
647
725
|
}>, {
|
|
648
726
|
source_ref: string;
|
|
649
|
-
|
|
650
|
-
protocol: "context.indexer.main-workset/v1";
|
|
727
|
+
protocol: "context.indexer.main-workset/v2";
|
|
651
728
|
requirement_ref: string;
|
|
652
729
|
workset_digest: string;
|
|
653
730
|
module_ref: string | null;
|
|
731
|
+
operation: "main-index";
|
|
654
732
|
indexer_id: string;
|
|
655
733
|
profile_contract_digest: string;
|
|
656
734
|
logical_unit_ref: string;
|
|
@@ -661,7 +739,7 @@ declare const authorWorksetSchema: z.ZodEffects<z.ZodObject<{
|
|
|
661
739
|
requirement_set_digest: string;
|
|
662
740
|
primary_execution_fingerprint: string;
|
|
663
741
|
source_scope_digest: string;
|
|
664
|
-
|
|
742
|
+
source_binding_digest: string;
|
|
665
743
|
primary_resource_binding_digest: string;
|
|
666
744
|
question_target_inventory_digest: string;
|
|
667
745
|
partition_plan_binding_digest: string;
|
|
@@ -672,15 +750,20 @@ declare const authorWorksetSchema: z.ZodEffects<z.ZodObject<{
|
|
|
672
750
|
group_dependency_view_digest: string;
|
|
673
751
|
allowed_artifact_policy_variants: string[];
|
|
674
752
|
artifact_policy_eligibility_digest: string;
|
|
753
|
+
repair_intent?: {
|
|
754
|
+
target_ref: string;
|
|
755
|
+
instruction: string;
|
|
756
|
+
intent_digest: string;
|
|
757
|
+
} | undefined;
|
|
675
758
|
target_resolution_view?: {
|
|
676
759
|
entries: ({
|
|
677
|
-
state: "resolved";
|
|
678
760
|
subject_key: {
|
|
679
761
|
kind: string;
|
|
680
|
-
protocol: "context.subject-key/v1";
|
|
681
762
|
namespace: string;
|
|
763
|
+
protocol: "context.subject-key/v1";
|
|
682
764
|
local_key: string;
|
|
683
765
|
};
|
|
766
|
+
state: "resolved";
|
|
684
767
|
query_ref: string;
|
|
685
768
|
node_ref: string;
|
|
686
769
|
} | {
|
|
@@ -699,11 +782,11 @@ declare const authorWorksetSchema: z.ZodEffects<z.ZodObject<{
|
|
|
699
782
|
} | undefined;
|
|
700
783
|
}, {
|
|
701
784
|
source_ref: string;
|
|
702
|
-
|
|
703
|
-
protocol: "context.indexer.main-workset/v1";
|
|
785
|
+
protocol: "context.indexer.main-workset/v2";
|
|
704
786
|
requirement_ref: string;
|
|
705
787
|
workset_digest: string;
|
|
706
788
|
module_ref: string | null;
|
|
789
|
+
operation: "main-index";
|
|
707
790
|
indexer_id: string;
|
|
708
791
|
profile_contract_digest: string;
|
|
709
792
|
logical_unit_ref: string;
|
|
@@ -714,7 +797,7 @@ declare const authorWorksetSchema: z.ZodEffects<z.ZodObject<{
|
|
|
714
797
|
requirement_set_digest: string;
|
|
715
798
|
primary_execution_fingerprint: string;
|
|
716
799
|
source_scope_digest: string;
|
|
717
|
-
|
|
800
|
+
source_binding_digest: string;
|
|
718
801
|
primary_resource_binding_digest: string;
|
|
719
802
|
question_target_inventory_digest: string;
|
|
720
803
|
partition_plan_binding_digest: string;
|
|
@@ -725,15 +808,20 @@ declare const authorWorksetSchema: z.ZodEffects<z.ZodObject<{
|
|
|
725
808
|
group_dependency_view_digest: string;
|
|
726
809
|
allowed_artifact_policy_variants: string[];
|
|
727
810
|
artifact_policy_eligibility_digest: string;
|
|
811
|
+
repair_intent?: {
|
|
812
|
+
target_ref: string;
|
|
813
|
+
instruction: string;
|
|
814
|
+
intent_digest: string;
|
|
815
|
+
} | undefined;
|
|
728
816
|
target_resolution_view?: {
|
|
729
817
|
entries: ({
|
|
730
|
-
state: "resolved";
|
|
731
818
|
subject_key: {
|
|
732
819
|
kind: string;
|
|
733
|
-
protocol: "context.subject-key/v1";
|
|
734
820
|
namespace: string;
|
|
821
|
+
protocol: "context.subject-key/v1";
|
|
735
822
|
local_key: string;
|
|
736
823
|
};
|
|
824
|
+
state: "resolved";
|
|
737
825
|
query_ref: string;
|
|
738
826
|
node_ref: string;
|
|
739
827
|
} | {
|
|
@@ -760,13 +848,13 @@ export declare const indexerMainWorksetSchema: z.ZodUnion<[z.ZodEffects<z.ZodObj
|
|
|
760
848
|
local_key: z.ZodEffects<z.ZodString, string, string>;
|
|
761
849
|
}, "strict", z.ZodTypeAny, {
|
|
762
850
|
kind: string;
|
|
763
|
-
protocol: "context.subject-key/v1";
|
|
764
851
|
namespace: string;
|
|
852
|
+
protocol: "context.subject-key/v1";
|
|
765
853
|
local_key: string;
|
|
766
854
|
}, {
|
|
767
855
|
kind: string;
|
|
768
|
-
protocol: "context.subject-key/v1";
|
|
769
856
|
namespace: string;
|
|
857
|
+
protocol: "context.subject-key/v1";
|
|
770
858
|
local_key: string;
|
|
771
859
|
}>;
|
|
772
860
|
strategy_set_digest: z.ZodString;
|
|
@@ -774,7 +862,7 @@ export declare const indexerMainWorksetSchema: z.ZodUnion<[z.ZodEffects<z.ZodObj
|
|
|
774
862
|
partition_input_digests: z.ZodArray<z.ZodString, "many">;
|
|
775
863
|
partition_inventory_digest: z.ZodString;
|
|
776
864
|
allowed_question_target_refs: z.ZodArray<z.ZodString, "many">;
|
|
777
|
-
protocol: z.ZodLiteral<"context.indexer.main-workset/
|
|
865
|
+
protocol: z.ZodLiteral<"context.indexer.main-workset/v2">;
|
|
778
866
|
workset_digest: z.ZodString;
|
|
779
867
|
operation: z.ZodLiteral<"main-index">;
|
|
780
868
|
indexer_id: z.ZodEffects<z.ZodString, string, string>;
|
|
@@ -788,16 +876,30 @@ export declare const indexerMainWorksetSchema: z.ZodUnion<[z.ZodEffects<z.ZodObj
|
|
|
788
876
|
profile_contract_digest: z.ZodString;
|
|
789
877
|
subject_key_schema_digest: z.ZodString;
|
|
790
878
|
source_scope_digest: z.ZodString;
|
|
791
|
-
|
|
879
|
+
source_binding_digest: z.ZodString;
|
|
792
880
|
primary_resource_binding_digest: z.ZodString;
|
|
793
881
|
question_target_inventory_digest: z.ZodString;
|
|
882
|
+
repair_intent: z.ZodOptional<z.ZodObject<{
|
|
883
|
+
target_ref: z.ZodString;
|
|
884
|
+
instruction: z.ZodString;
|
|
885
|
+
} & {
|
|
886
|
+
intent_digest: z.ZodString;
|
|
887
|
+
}, "strict", z.ZodTypeAny, {
|
|
888
|
+
target_ref: string;
|
|
889
|
+
instruction: string;
|
|
890
|
+
intent_digest: string;
|
|
891
|
+
}, {
|
|
892
|
+
target_ref: string;
|
|
893
|
+
instruction: string;
|
|
894
|
+
intent_digest: string;
|
|
895
|
+
}>>;
|
|
794
896
|
}, "strict", z.ZodTypeAny, {
|
|
795
897
|
source_ref: string;
|
|
796
|
-
|
|
797
|
-
protocol: "context.indexer.main-workset/v1";
|
|
898
|
+
protocol: "context.indexer.main-workset/v2";
|
|
798
899
|
requirement_ref: string;
|
|
799
900
|
workset_digest: string;
|
|
800
901
|
module_ref: string | null;
|
|
902
|
+
operation: "main-index";
|
|
801
903
|
indexer_id: string;
|
|
802
904
|
profile_contract_digest: string;
|
|
803
905
|
reader_question_refs: string[];
|
|
@@ -805,8 +907,8 @@ export declare const indexerMainWorksetSchema: z.ZodUnion<[z.ZodEffects<z.ZodObj
|
|
|
805
907
|
stage: "partition";
|
|
806
908
|
partition_subject_key: {
|
|
807
909
|
kind: string;
|
|
808
|
-
protocol: "context.subject-key/v1";
|
|
809
910
|
namespace: string;
|
|
911
|
+
protocol: "context.subject-key/v1";
|
|
810
912
|
local_key: string;
|
|
811
913
|
};
|
|
812
914
|
strategy_set_digest: string;
|
|
@@ -818,16 +920,21 @@ export declare const indexerMainWorksetSchema: z.ZodUnion<[z.ZodEffects<z.ZodObj
|
|
|
818
920
|
requirement_set_digest: string;
|
|
819
921
|
primary_execution_fingerprint: string;
|
|
820
922
|
source_scope_digest: string;
|
|
821
|
-
|
|
923
|
+
source_binding_digest: string;
|
|
822
924
|
primary_resource_binding_digest: string;
|
|
823
925
|
question_target_inventory_digest: string;
|
|
926
|
+
repair_intent?: {
|
|
927
|
+
target_ref: string;
|
|
928
|
+
instruction: string;
|
|
929
|
+
intent_digest: string;
|
|
930
|
+
} | undefined;
|
|
824
931
|
}, {
|
|
825
932
|
source_ref: string;
|
|
826
|
-
|
|
827
|
-
protocol: "context.indexer.main-workset/v1";
|
|
933
|
+
protocol: "context.indexer.main-workset/v2";
|
|
828
934
|
requirement_ref: string;
|
|
829
935
|
workset_digest: string;
|
|
830
936
|
module_ref: string | null;
|
|
937
|
+
operation: "main-index";
|
|
831
938
|
indexer_id: string;
|
|
832
939
|
profile_contract_digest: string;
|
|
833
940
|
reader_question_refs: string[];
|
|
@@ -835,8 +942,8 @@ export declare const indexerMainWorksetSchema: z.ZodUnion<[z.ZodEffects<z.ZodObj
|
|
|
835
942
|
stage: "partition";
|
|
836
943
|
partition_subject_key: {
|
|
837
944
|
kind: string;
|
|
838
|
-
protocol: "context.subject-key/v1";
|
|
839
945
|
namespace: string;
|
|
946
|
+
protocol: "context.subject-key/v1";
|
|
840
947
|
local_key: string;
|
|
841
948
|
};
|
|
842
949
|
strategy_set_digest: string;
|
|
@@ -848,16 +955,21 @@ export declare const indexerMainWorksetSchema: z.ZodUnion<[z.ZodEffects<z.ZodObj
|
|
|
848
955
|
requirement_set_digest: string;
|
|
849
956
|
primary_execution_fingerprint: string;
|
|
850
957
|
source_scope_digest: string;
|
|
851
|
-
|
|
958
|
+
source_binding_digest: string;
|
|
852
959
|
primary_resource_binding_digest: string;
|
|
853
960
|
question_target_inventory_digest: string;
|
|
961
|
+
repair_intent?: {
|
|
962
|
+
target_ref: string;
|
|
963
|
+
instruction: string;
|
|
964
|
+
intent_digest: string;
|
|
965
|
+
} | undefined;
|
|
854
966
|
}>, {
|
|
855
967
|
source_ref: string;
|
|
856
|
-
|
|
857
|
-
protocol: "context.indexer.main-workset/v1";
|
|
968
|
+
protocol: "context.indexer.main-workset/v2";
|
|
858
969
|
requirement_ref: string;
|
|
859
970
|
workset_digest: string;
|
|
860
971
|
module_ref: string | null;
|
|
972
|
+
operation: "main-index";
|
|
861
973
|
indexer_id: string;
|
|
862
974
|
profile_contract_digest: string;
|
|
863
975
|
reader_question_refs: string[];
|
|
@@ -865,8 +977,8 @@ export declare const indexerMainWorksetSchema: z.ZodUnion<[z.ZodEffects<z.ZodObj
|
|
|
865
977
|
stage: "partition";
|
|
866
978
|
partition_subject_key: {
|
|
867
979
|
kind: string;
|
|
868
|
-
protocol: "context.subject-key/v1";
|
|
869
980
|
namespace: string;
|
|
981
|
+
protocol: "context.subject-key/v1";
|
|
870
982
|
local_key: string;
|
|
871
983
|
};
|
|
872
984
|
strategy_set_digest: string;
|
|
@@ -878,16 +990,21 @@ export declare const indexerMainWorksetSchema: z.ZodUnion<[z.ZodEffects<z.ZodObj
|
|
|
878
990
|
requirement_set_digest: string;
|
|
879
991
|
primary_execution_fingerprint: string;
|
|
880
992
|
source_scope_digest: string;
|
|
881
|
-
|
|
993
|
+
source_binding_digest: string;
|
|
882
994
|
primary_resource_binding_digest: string;
|
|
883
995
|
question_target_inventory_digest: string;
|
|
996
|
+
repair_intent?: {
|
|
997
|
+
target_ref: string;
|
|
998
|
+
instruction: string;
|
|
999
|
+
intent_digest: string;
|
|
1000
|
+
} | undefined;
|
|
884
1001
|
}, {
|
|
885
1002
|
source_ref: string;
|
|
886
|
-
|
|
887
|
-
protocol: "context.indexer.main-workset/v1";
|
|
1003
|
+
protocol: "context.indexer.main-workset/v2";
|
|
888
1004
|
requirement_ref: string;
|
|
889
1005
|
workset_digest: string;
|
|
890
1006
|
module_ref: string | null;
|
|
1007
|
+
operation: "main-index";
|
|
891
1008
|
indexer_id: string;
|
|
892
1009
|
profile_contract_digest: string;
|
|
893
1010
|
reader_question_refs: string[];
|
|
@@ -895,8 +1012,8 @@ export declare const indexerMainWorksetSchema: z.ZodUnion<[z.ZodEffects<z.ZodObj
|
|
|
895
1012
|
stage: "partition";
|
|
896
1013
|
partition_subject_key: {
|
|
897
1014
|
kind: string;
|
|
898
|
-
protocol: "context.subject-key/v1";
|
|
899
1015
|
namespace: string;
|
|
1016
|
+
protocol: "context.subject-key/v1";
|
|
900
1017
|
local_key: string;
|
|
901
1018
|
};
|
|
902
1019
|
strategy_set_digest: string;
|
|
@@ -908,9 +1025,14 @@ export declare const indexerMainWorksetSchema: z.ZodUnion<[z.ZodEffects<z.ZodObj
|
|
|
908
1025
|
requirement_set_digest: string;
|
|
909
1026
|
primary_execution_fingerprint: string;
|
|
910
1027
|
source_scope_digest: string;
|
|
911
|
-
|
|
1028
|
+
source_binding_digest: string;
|
|
912
1029
|
primary_resource_binding_digest: string;
|
|
913
1030
|
question_target_inventory_digest: string;
|
|
1031
|
+
repair_intent?: {
|
|
1032
|
+
target_ref: string;
|
|
1033
|
+
instruction: string;
|
|
1034
|
+
intent_digest: string;
|
|
1035
|
+
} | undefined;
|
|
914
1036
|
}>, z.ZodEffects<z.ZodObject<{
|
|
915
1037
|
stage: z.ZodLiteral<"author">;
|
|
916
1038
|
partition_plan_binding_digest: z.ZodString;
|
|
@@ -936,34 +1058,34 @@ export declare const indexerMainWorksetSchema: z.ZodUnion<[z.ZodEffects<z.ZodObj
|
|
|
936
1058
|
local_key: z.ZodEffects<z.ZodString, string, string>;
|
|
937
1059
|
}, "strict", z.ZodTypeAny, {
|
|
938
1060
|
kind: string;
|
|
939
|
-
protocol: "context.subject-key/v1";
|
|
940
1061
|
namespace: string;
|
|
1062
|
+
protocol: "context.subject-key/v1";
|
|
941
1063
|
local_key: string;
|
|
942
1064
|
}, {
|
|
943
1065
|
kind: string;
|
|
944
|
-
protocol: "context.subject-key/v1";
|
|
945
1066
|
namespace: string;
|
|
1067
|
+
protocol: "context.subject-key/v1";
|
|
946
1068
|
local_key: string;
|
|
947
1069
|
}>;
|
|
948
1070
|
node_ref: z.ZodString;
|
|
949
1071
|
}, "strict", z.ZodTypeAny, {
|
|
950
|
-
state: "resolved";
|
|
951
1072
|
subject_key: {
|
|
952
1073
|
kind: string;
|
|
953
|
-
protocol: "context.subject-key/v1";
|
|
954
1074
|
namespace: string;
|
|
1075
|
+
protocol: "context.subject-key/v1";
|
|
955
1076
|
local_key: string;
|
|
956
1077
|
};
|
|
1078
|
+
state: "resolved";
|
|
957
1079
|
query_ref: string;
|
|
958
1080
|
node_ref: string;
|
|
959
1081
|
}, {
|
|
960
|
-
state: "resolved";
|
|
961
1082
|
subject_key: {
|
|
962
1083
|
kind: string;
|
|
963
|
-
protocol: "context.subject-key/v1";
|
|
964
1084
|
namespace: string;
|
|
1085
|
+
protocol: "context.subject-key/v1";
|
|
965
1086
|
local_key: string;
|
|
966
1087
|
};
|
|
1088
|
+
state: "resolved";
|
|
967
1089
|
query_ref: string;
|
|
968
1090
|
node_ref: string;
|
|
969
1091
|
}>, z.ZodObject<{
|
|
@@ -998,13 +1120,13 @@ export declare const indexerMainWorksetSchema: z.ZodUnion<[z.ZodEffects<z.ZodObj
|
|
|
998
1120
|
}>]>, "many">;
|
|
999
1121
|
}, "strict", z.ZodTypeAny, {
|
|
1000
1122
|
entries: ({
|
|
1001
|
-
state: "resolved";
|
|
1002
1123
|
subject_key: {
|
|
1003
1124
|
kind: string;
|
|
1004
|
-
protocol: "context.subject-key/v1";
|
|
1005
1125
|
namespace: string;
|
|
1126
|
+
protocol: "context.subject-key/v1";
|
|
1006
1127
|
local_key: string;
|
|
1007
1128
|
};
|
|
1129
|
+
state: "resolved";
|
|
1008
1130
|
query_ref: string;
|
|
1009
1131
|
node_ref: string;
|
|
1010
1132
|
} | {
|
|
@@ -1022,13 +1144,13 @@ export declare const indexerMainWorksetSchema: z.ZodUnion<[z.ZodEffects<z.ZodObj
|
|
|
1022
1144
|
query_digest: string;
|
|
1023
1145
|
}, {
|
|
1024
1146
|
entries: ({
|
|
1025
|
-
state: "resolved";
|
|
1026
1147
|
subject_key: {
|
|
1027
1148
|
kind: string;
|
|
1028
|
-
protocol: "context.subject-key/v1";
|
|
1029
1149
|
namespace: string;
|
|
1150
|
+
protocol: "context.subject-key/v1";
|
|
1030
1151
|
local_key: string;
|
|
1031
1152
|
};
|
|
1153
|
+
state: "resolved";
|
|
1032
1154
|
query_ref: string;
|
|
1033
1155
|
node_ref: string;
|
|
1034
1156
|
} | {
|
|
@@ -1046,13 +1168,13 @@ export declare const indexerMainWorksetSchema: z.ZodUnion<[z.ZodEffects<z.ZodObj
|
|
|
1046
1168
|
query_digest: string;
|
|
1047
1169
|
}>, {
|
|
1048
1170
|
entries: ({
|
|
1049
|
-
state: "resolved";
|
|
1050
1171
|
subject_key: {
|
|
1051
1172
|
kind: string;
|
|
1052
|
-
protocol: "context.subject-key/v1";
|
|
1053
1173
|
namespace: string;
|
|
1174
|
+
protocol: "context.subject-key/v1";
|
|
1054
1175
|
local_key: string;
|
|
1055
1176
|
};
|
|
1177
|
+
state: "resolved";
|
|
1056
1178
|
query_ref: string;
|
|
1057
1179
|
node_ref: string;
|
|
1058
1180
|
} | {
|
|
@@ -1070,13 +1192,13 @@ export declare const indexerMainWorksetSchema: z.ZodUnion<[z.ZodEffects<z.ZodObj
|
|
|
1070
1192
|
query_digest: string;
|
|
1071
1193
|
}, {
|
|
1072
1194
|
entries: ({
|
|
1073
|
-
state: "resolved";
|
|
1074
1195
|
subject_key: {
|
|
1075
1196
|
kind: string;
|
|
1076
|
-
protocol: "context.subject-key/v1";
|
|
1077
1197
|
namespace: string;
|
|
1198
|
+
protocol: "context.subject-key/v1";
|
|
1078
1199
|
local_key: string;
|
|
1079
1200
|
};
|
|
1201
|
+
state: "resolved";
|
|
1080
1202
|
query_ref: string;
|
|
1081
1203
|
node_ref: string;
|
|
1082
1204
|
} | {
|
|
@@ -1095,7 +1217,7 @@ export declare const indexerMainWorksetSchema: z.ZodUnion<[z.ZodEffects<z.ZodObj
|
|
|
1095
1217
|
}>>;
|
|
1096
1218
|
allowed_artifact_policy_variants: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
|
|
1097
1219
|
artifact_policy_eligibility_digest: z.ZodString;
|
|
1098
|
-
protocol: z.ZodLiteral<"context.indexer.main-workset/
|
|
1220
|
+
protocol: z.ZodLiteral<"context.indexer.main-workset/v2">;
|
|
1099
1221
|
workset_digest: z.ZodString;
|
|
1100
1222
|
operation: z.ZodLiteral<"main-index">;
|
|
1101
1223
|
indexer_id: z.ZodEffects<z.ZodString, string, string>;
|
|
@@ -1109,16 +1231,30 @@ export declare const indexerMainWorksetSchema: z.ZodUnion<[z.ZodEffects<z.ZodObj
|
|
|
1109
1231
|
profile_contract_digest: z.ZodString;
|
|
1110
1232
|
subject_key_schema_digest: z.ZodString;
|
|
1111
1233
|
source_scope_digest: z.ZodString;
|
|
1112
|
-
|
|
1234
|
+
source_binding_digest: z.ZodString;
|
|
1113
1235
|
primary_resource_binding_digest: z.ZodString;
|
|
1114
1236
|
question_target_inventory_digest: z.ZodString;
|
|
1237
|
+
repair_intent: z.ZodOptional<z.ZodObject<{
|
|
1238
|
+
target_ref: z.ZodString;
|
|
1239
|
+
instruction: z.ZodString;
|
|
1240
|
+
} & {
|
|
1241
|
+
intent_digest: z.ZodString;
|
|
1242
|
+
}, "strict", z.ZodTypeAny, {
|
|
1243
|
+
target_ref: string;
|
|
1244
|
+
instruction: string;
|
|
1245
|
+
intent_digest: string;
|
|
1246
|
+
}, {
|
|
1247
|
+
target_ref: string;
|
|
1248
|
+
instruction: string;
|
|
1249
|
+
intent_digest: string;
|
|
1250
|
+
}>>;
|
|
1115
1251
|
}, "strict", z.ZodTypeAny, {
|
|
1116
1252
|
source_ref: string;
|
|
1117
|
-
|
|
1118
|
-
protocol: "context.indexer.main-workset/v1";
|
|
1253
|
+
protocol: "context.indexer.main-workset/v2";
|
|
1119
1254
|
requirement_ref: string;
|
|
1120
1255
|
workset_digest: string;
|
|
1121
1256
|
module_ref: string | null;
|
|
1257
|
+
operation: "main-index";
|
|
1122
1258
|
indexer_id: string;
|
|
1123
1259
|
profile_contract_digest: string;
|
|
1124
1260
|
logical_unit_ref: string;
|
|
@@ -1129,7 +1265,7 @@ export declare const indexerMainWorksetSchema: z.ZodUnion<[z.ZodEffects<z.ZodObj
|
|
|
1129
1265
|
requirement_set_digest: string;
|
|
1130
1266
|
primary_execution_fingerprint: string;
|
|
1131
1267
|
source_scope_digest: string;
|
|
1132
|
-
|
|
1268
|
+
source_binding_digest: string;
|
|
1133
1269
|
primary_resource_binding_digest: string;
|
|
1134
1270
|
question_target_inventory_digest: string;
|
|
1135
1271
|
partition_plan_binding_digest: string;
|
|
@@ -1140,15 +1276,20 @@ export declare const indexerMainWorksetSchema: z.ZodUnion<[z.ZodEffects<z.ZodObj
|
|
|
1140
1276
|
group_dependency_view_digest: string;
|
|
1141
1277
|
allowed_artifact_policy_variants: string[];
|
|
1142
1278
|
artifact_policy_eligibility_digest: string;
|
|
1279
|
+
repair_intent?: {
|
|
1280
|
+
target_ref: string;
|
|
1281
|
+
instruction: string;
|
|
1282
|
+
intent_digest: string;
|
|
1283
|
+
} | undefined;
|
|
1143
1284
|
target_resolution_view?: {
|
|
1144
1285
|
entries: ({
|
|
1145
|
-
state: "resolved";
|
|
1146
1286
|
subject_key: {
|
|
1147
1287
|
kind: string;
|
|
1148
|
-
protocol: "context.subject-key/v1";
|
|
1149
1288
|
namespace: string;
|
|
1289
|
+
protocol: "context.subject-key/v1";
|
|
1150
1290
|
local_key: string;
|
|
1151
1291
|
};
|
|
1292
|
+
state: "resolved";
|
|
1152
1293
|
query_ref: string;
|
|
1153
1294
|
node_ref: string;
|
|
1154
1295
|
} | {
|
|
@@ -1167,11 +1308,11 @@ export declare const indexerMainWorksetSchema: z.ZodUnion<[z.ZodEffects<z.ZodObj
|
|
|
1167
1308
|
} | undefined;
|
|
1168
1309
|
}, {
|
|
1169
1310
|
source_ref: string;
|
|
1170
|
-
|
|
1171
|
-
protocol: "context.indexer.main-workset/v1";
|
|
1311
|
+
protocol: "context.indexer.main-workset/v2";
|
|
1172
1312
|
requirement_ref: string;
|
|
1173
1313
|
workset_digest: string;
|
|
1174
1314
|
module_ref: string | null;
|
|
1315
|
+
operation: "main-index";
|
|
1175
1316
|
indexer_id: string;
|
|
1176
1317
|
profile_contract_digest: string;
|
|
1177
1318
|
logical_unit_ref: string;
|
|
@@ -1182,7 +1323,7 @@ export declare const indexerMainWorksetSchema: z.ZodUnion<[z.ZodEffects<z.ZodObj
|
|
|
1182
1323
|
requirement_set_digest: string;
|
|
1183
1324
|
primary_execution_fingerprint: string;
|
|
1184
1325
|
source_scope_digest: string;
|
|
1185
|
-
|
|
1326
|
+
source_binding_digest: string;
|
|
1186
1327
|
primary_resource_binding_digest: string;
|
|
1187
1328
|
question_target_inventory_digest: string;
|
|
1188
1329
|
partition_plan_binding_digest: string;
|
|
@@ -1193,15 +1334,20 @@ export declare const indexerMainWorksetSchema: z.ZodUnion<[z.ZodEffects<z.ZodObj
|
|
|
1193
1334
|
group_dependency_view_digest: string;
|
|
1194
1335
|
allowed_artifact_policy_variants: string[];
|
|
1195
1336
|
artifact_policy_eligibility_digest: string;
|
|
1337
|
+
repair_intent?: {
|
|
1338
|
+
target_ref: string;
|
|
1339
|
+
instruction: string;
|
|
1340
|
+
intent_digest: string;
|
|
1341
|
+
} | undefined;
|
|
1196
1342
|
target_resolution_view?: {
|
|
1197
1343
|
entries: ({
|
|
1198
|
-
state: "resolved";
|
|
1199
1344
|
subject_key: {
|
|
1200
1345
|
kind: string;
|
|
1201
|
-
protocol: "context.subject-key/v1";
|
|
1202
1346
|
namespace: string;
|
|
1347
|
+
protocol: "context.subject-key/v1";
|
|
1203
1348
|
local_key: string;
|
|
1204
1349
|
};
|
|
1350
|
+
state: "resolved";
|
|
1205
1351
|
query_ref: string;
|
|
1206
1352
|
node_ref: string;
|
|
1207
1353
|
} | {
|
|
@@ -1220,11 +1366,11 @@ export declare const indexerMainWorksetSchema: z.ZodUnion<[z.ZodEffects<z.ZodObj
|
|
|
1220
1366
|
} | undefined;
|
|
1221
1367
|
}>, {
|
|
1222
1368
|
source_ref: string;
|
|
1223
|
-
|
|
1224
|
-
protocol: "context.indexer.main-workset/v1";
|
|
1369
|
+
protocol: "context.indexer.main-workset/v2";
|
|
1225
1370
|
requirement_ref: string;
|
|
1226
1371
|
workset_digest: string;
|
|
1227
1372
|
module_ref: string | null;
|
|
1373
|
+
operation: "main-index";
|
|
1228
1374
|
indexer_id: string;
|
|
1229
1375
|
profile_contract_digest: string;
|
|
1230
1376
|
logical_unit_ref: string;
|
|
@@ -1235,7 +1381,7 @@ export declare const indexerMainWorksetSchema: z.ZodUnion<[z.ZodEffects<z.ZodObj
|
|
|
1235
1381
|
requirement_set_digest: string;
|
|
1236
1382
|
primary_execution_fingerprint: string;
|
|
1237
1383
|
source_scope_digest: string;
|
|
1238
|
-
|
|
1384
|
+
source_binding_digest: string;
|
|
1239
1385
|
primary_resource_binding_digest: string;
|
|
1240
1386
|
question_target_inventory_digest: string;
|
|
1241
1387
|
partition_plan_binding_digest: string;
|
|
@@ -1246,15 +1392,20 @@ export declare const indexerMainWorksetSchema: z.ZodUnion<[z.ZodEffects<z.ZodObj
|
|
|
1246
1392
|
group_dependency_view_digest: string;
|
|
1247
1393
|
allowed_artifact_policy_variants: string[];
|
|
1248
1394
|
artifact_policy_eligibility_digest: string;
|
|
1395
|
+
repair_intent?: {
|
|
1396
|
+
target_ref: string;
|
|
1397
|
+
instruction: string;
|
|
1398
|
+
intent_digest: string;
|
|
1399
|
+
} | undefined;
|
|
1249
1400
|
target_resolution_view?: {
|
|
1250
1401
|
entries: ({
|
|
1251
|
-
state: "resolved";
|
|
1252
1402
|
subject_key: {
|
|
1253
1403
|
kind: string;
|
|
1254
|
-
protocol: "context.subject-key/v1";
|
|
1255
1404
|
namespace: string;
|
|
1405
|
+
protocol: "context.subject-key/v1";
|
|
1256
1406
|
local_key: string;
|
|
1257
1407
|
};
|
|
1408
|
+
state: "resolved";
|
|
1258
1409
|
query_ref: string;
|
|
1259
1410
|
node_ref: string;
|
|
1260
1411
|
} | {
|
|
@@ -1273,11 +1424,11 @@ export declare const indexerMainWorksetSchema: z.ZodUnion<[z.ZodEffects<z.ZodObj
|
|
|
1273
1424
|
} | undefined;
|
|
1274
1425
|
}, {
|
|
1275
1426
|
source_ref: string;
|
|
1276
|
-
|
|
1277
|
-
protocol: "context.indexer.main-workset/v1";
|
|
1427
|
+
protocol: "context.indexer.main-workset/v2";
|
|
1278
1428
|
requirement_ref: string;
|
|
1279
1429
|
workset_digest: string;
|
|
1280
1430
|
module_ref: string | null;
|
|
1431
|
+
operation: "main-index";
|
|
1281
1432
|
indexer_id: string;
|
|
1282
1433
|
profile_contract_digest: string;
|
|
1283
1434
|
logical_unit_ref: string;
|
|
@@ -1288,7 +1439,7 @@ export declare const indexerMainWorksetSchema: z.ZodUnion<[z.ZodEffects<z.ZodObj
|
|
|
1288
1439
|
requirement_set_digest: string;
|
|
1289
1440
|
primary_execution_fingerprint: string;
|
|
1290
1441
|
source_scope_digest: string;
|
|
1291
|
-
|
|
1442
|
+
source_binding_digest: string;
|
|
1292
1443
|
primary_resource_binding_digest: string;
|
|
1293
1444
|
question_target_inventory_digest: string;
|
|
1294
1445
|
partition_plan_binding_digest: string;
|
|
@@ -1299,15 +1450,20 @@ export declare const indexerMainWorksetSchema: z.ZodUnion<[z.ZodEffects<z.ZodObj
|
|
|
1299
1450
|
group_dependency_view_digest: string;
|
|
1300
1451
|
allowed_artifact_policy_variants: string[];
|
|
1301
1452
|
artifact_policy_eligibility_digest: string;
|
|
1453
|
+
repair_intent?: {
|
|
1454
|
+
target_ref: string;
|
|
1455
|
+
instruction: string;
|
|
1456
|
+
intent_digest: string;
|
|
1457
|
+
} | undefined;
|
|
1302
1458
|
target_resolution_view?: {
|
|
1303
1459
|
entries: ({
|
|
1304
|
-
state: "resolved";
|
|
1305
1460
|
subject_key: {
|
|
1306
1461
|
kind: string;
|
|
1307
|
-
protocol: "context.subject-key/v1";
|
|
1308
1462
|
namespace: string;
|
|
1463
|
+
protocol: "context.subject-key/v1";
|
|
1309
1464
|
local_key: string;
|
|
1310
1465
|
};
|
|
1466
|
+
state: "resolved";
|
|
1311
1467
|
query_ref: string;
|
|
1312
1468
|
node_ref: string;
|
|
1313
1469
|
} | {
|
|
@@ -1341,13 +1497,15 @@ export declare function indexerOwnerCohortRef(input: {
|
|
|
1341
1497
|
owner_cell_refs: readonly string[];
|
|
1342
1498
|
}): string;
|
|
1343
1499
|
export declare const indexerMainWorksetSetSchema: z.ZodObject<{
|
|
1344
|
-
protocol: z.ZodLiteral<"context.indexer.main-workset-set/
|
|
1500
|
+
protocol: z.ZodLiteral<"context.indexer.main-workset-set/v2">;
|
|
1345
1501
|
workset_set_digest: z.ZodString;
|
|
1346
1502
|
items: z.ZodArray<z.ZodObject<{
|
|
1347
1503
|
workset_digest: z.ZodString;
|
|
1348
1504
|
stage: z.ZodEnum<["partition", "author"]>;
|
|
1349
1505
|
indexer_id: z.ZodEffects<z.ZodString, string, string>;
|
|
1350
1506
|
owner_cohort_ref: z.ZodString;
|
|
1507
|
+
partition_key: z.ZodOptional<z.ZodString>;
|
|
1508
|
+
partition_binding_digest: z.ZodOptional<z.ZodString>;
|
|
1351
1509
|
group_key: z.ZodOptional<z.ZodString>;
|
|
1352
1510
|
}, "strict", z.ZodTypeAny, {
|
|
1353
1511
|
workset_digest: string;
|
|
@@ -1355,15 +1513,19 @@ export declare const indexerMainWorksetSetSchema: z.ZodObject<{
|
|
|
1355
1513
|
stage: "partition" | "author";
|
|
1356
1514
|
owner_cohort_ref: string;
|
|
1357
1515
|
group_key?: string | undefined;
|
|
1516
|
+
partition_key?: string | undefined;
|
|
1517
|
+
partition_binding_digest?: string | undefined;
|
|
1358
1518
|
}, {
|
|
1359
1519
|
workset_digest: string;
|
|
1360
1520
|
indexer_id: string;
|
|
1361
1521
|
stage: "partition" | "author";
|
|
1362
1522
|
owner_cohort_ref: string;
|
|
1363
1523
|
group_key?: string | undefined;
|
|
1524
|
+
partition_key?: string | undefined;
|
|
1525
|
+
partition_binding_digest?: string | undefined;
|
|
1364
1526
|
}>, "many">;
|
|
1365
1527
|
}, "strict", z.ZodTypeAny, {
|
|
1366
|
-
protocol: "context.indexer.main-workset-set/
|
|
1528
|
+
protocol: "context.indexer.main-workset-set/v2";
|
|
1367
1529
|
workset_set_digest: string;
|
|
1368
1530
|
items: {
|
|
1369
1531
|
workset_digest: string;
|
|
@@ -1371,9 +1533,11 @@ export declare const indexerMainWorksetSetSchema: z.ZodObject<{
|
|
|
1371
1533
|
stage: "partition" | "author";
|
|
1372
1534
|
owner_cohort_ref: string;
|
|
1373
1535
|
group_key?: string | undefined;
|
|
1536
|
+
partition_key?: string | undefined;
|
|
1537
|
+
partition_binding_digest?: string | undefined;
|
|
1374
1538
|
}[];
|
|
1375
1539
|
}, {
|
|
1376
|
-
protocol: "context.indexer.main-workset-set/
|
|
1540
|
+
protocol: "context.indexer.main-workset-set/v2";
|
|
1377
1541
|
workset_set_digest: string;
|
|
1378
1542
|
items: {
|
|
1379
1543
|
workset_digest: string;
|
|
@@ -1381,6 +1545,8 @@ export declare const indexerMainWorksetSetSchema: z.ZodObject<{
|
|
|
1381
1545
|
stage: "partition" | "author";
|
|
1382
1546
|
owner_cohort_ref: string;
|
|
1383
1547
|
group_key?: string | undefined;
|
|
1548
|
+
partition_key?: string | undefined;
|
|
1549
|
+
partition_binding_digest?: string | undefined;
|
|
1384
1550
|
}[];
|
|
1385
1551
|
}>;
|
|
1386
1552
|
export type IndexerMainWorksetSet = z.infer<typeof indexerMainWorksetSetSchema>;
|
|
@@ -1388,7 +1554,7 @@ export declare function indexerMainWorksetSetDigest(value: Omit<IndexerMainWorks
|
|
|
1388
1554
|
export declare function buildIndexerMainWorksetSet(values: readonly IndexerMainWorkset[]): IndexerMainWorksetSet;
|
|
1389
1555
|
export declare function validateIndexerMainWorksetSet(value: unknown): IndexerMainWorksetSet;
|
|
1390
1556
|
export declare const indexerMainTransportBatchSchema: z.ZodObject<{
|
|
1391
|
-
protocol: z.ZodLiteral<"context.indexer.main-transport-batch/
|
|
1557
|
+
protocol: z.ZodLiteral<"context.indexer.main-transport-batch/v2">;
|
|
1392
1558
|
worksets: z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodObject<{
|
|
1393
1559
|
stage: z.ZodLiteral<"partition">;
|
|
1394
1560
|
partition_subject_key: z.ZodObject<{
|
|
@@ -1398,13 +1564,13 @@ export declare const indexerMainTransportBatchSchema: z.ZodObject<{
|
|
|
1398
1564
|
local_key: z.ZodEffects<z.ZodString, string, string>;
|
|
1399
1565
|
}, "strict", z.ZodTypeAny, {
|
|
1400
1566
|
kind: string;
|
|
1401
|
-
protocol: "context.subject-key/v1";
|
|
1402
1567
|
namespace: string;
|
|
1568
|
+
protocol: "context.subject-key/v1";
|
|
1403
1569
|
local_key: string;
|
|
1404
1570
|
}, {
|
|
1405
1571
|
kind: string;
|
|
1406
|
-
protocol: "context.subject-key/v1";
|
|
1407
1572
|
namespace: string;
|
|
1573
|
+
protocol: "context.subject-key/v1";
|
|
1408
1574
|
local_key: string;
|
|
1409
1575
|
}>;
|
|
1410
1576
|
strategy_set_digest: z.ZodString;
|
|
@@ -1412,7 +1578,7 @@ export declare const indexerMainTransportBatchSchema: z.ZodObject<{
|
|
|
1412
1578
|
partition_input_digests: z.ZodArray<z.ZodString, "many">;
|
|
1413
1579
|
partition_inventory_digest: z.ZodString;
|
|
1414
1580
|
allowed_question_target_refs: z.ZodArray<z.ZodString, "many">;
|
|
1415
|
-
protocol: z.ZodLiteral<"context.indexer.main-workset/
|
|
1581
|
+
protocol: z.ZodLiteral<"context.indexer.main-workset/v2">;
|
|
1416
1582
|
workset_digest: z.ZodString;
|
|
1417
1583
|
operation: z.ZodLiteral<"main-index">;
|
|
1418
1584
|
indexer_id: z.ZodEffects<z.ZodString, string, string>;
|
|
@@ -1426,16 +1592,30 @@ export declare const indexerMainTransportBatchSchema: z.ZodObject<{
|
|
|
1426
1592
|
profile_contract_digest: z.ZodString;
|
|
1427
1593
|
subject_key_schema_digest: z.ZodString;
|
|
1428
1594
|
source_scope_digest: z.ZodString;
|
|
1429
|
-
|
|
1595
|
+
source_binding_digest: z.ZodString;
|
|
1430
1596
|
primary_resource_binding_digest: z.ZodString;
|
|
1431
1597
|
question_target_inventory_digest: z.ZodString;
|
|
1598
|
+
repair_intent: z.ZodOptional<z.ZodObject<{
|
|
1599
|
+
target_ref: z.ZodString;
|
|
1600
|
+
instruction: z.ZodString;
|
|
1601
|
+
} & {
|
|
1602
|
+
intent_digest: z.ZodString;
|
|
1603
|
+
}, "strict", z.ZodTypeAny, {
|
|
1604
|
+
target_ref: string;
|
|
1605
|
+
instruction: string;
|
|
1606
|
+
intent_digest: string;
|
|
1607
|
+
}, {
|
|
1608
|
+
target_ref: string;
|
|
1609
|
+
instruction: string;
|
|
1610
|
+
intent_digest: string;
|
|
1611
|
+
}>>;
|
|
1432
1612
|
}, "strict", z.ZodTypeAny, {
|
|
1433
1613
|
source_ref: string;
|
|
1434
|
-
|
|
1435
|
-
protocol: "context.indexer.main-workset/v1";
|
|
1614
|
+
protocol: "context.indexer.main-workset/v2";
|
|
1436
1615
|
requirement_ref: string;
|
|
1437
1616
|
workset_digest: string;
|
|
1438
1617
|
module_ref: string | null;
|
|
1618
|
+
operation: "main-index";
|
|
1439
1619
|
indexer_id: string;
|
|
1440
1620
|
profile_contract_digest: string;
|
|
1441
1621
|
reader_question_refs: string[];
|
|
@@ -1443,8 +1623,8 @@ export declare const indexerMainTransportBatchSchema: z.ZodObject<{
|
|
|
1443
1623
|
stage: "partition";
|
|
1444
1624
|
partition_subject_key: {
|
|
1445
1625
|
kind: string;
|
|
1446
|
-
protocol: "context.subject-key/v1";
|
|
1447
1626
|
namespace: string;
|
|
1627
|
+
protocol: "context.subject-key/v1";
|
|
1448
1628
|
local_key: string;
|
|
1449
1629
|
};
|
|
1450
1630
|
strategy_set_digest: string;
|
|
@@ -1456,16 +1636,21 @@ export declare const indexerMainTransportBatchSchema: z.ZodObject<{
|
|
|
1456
1636
|
requirement_set_digest: string;
|
|
1457
1637
|
primary_execution_fingerprint: string;
|
|
1458
1638
|
source_scope_digest: string;
|
|
1459
|
-
|
|
1639
|
+
source_binding_digest: string;
|
|
1460
1640
|
primary_resource_binding_digest: string;
|
|
1461
1641
|
question_target_inventory_digest: string;
|
|
1642
|
+
repair_intent?: {
|
|
1643
|
+
target_ref: string;
|
|
1644
|
+
instruction: string;
|
|
1645
|
+
intent_digest: string;
|
|
1646
|
+
} | undefined;
|
|
1462
1647
|
}, {
|
|
1463
1648
|
source_ref: string;
|
|
1464
|
-
|
|
1465
|
-
protocol: "context.indexer.main-workset/v1";
|
|
1649
|
+
protocol: "context.indexer.main-workset/v2";
|
|
1466
1650
|
requirement_ref: string;
|
|
1467
1651
|
workset_digest: string;
|
|
1468
1652
|
module_ref: string | null;
|
|
1653
|
+
operation: "main-index";
|
|
1469
1654
|
indexer_id: string;
|
|
1470
1655
|
profile_contract_digest: string;
|
|
1471
1656
|
reader_question_refs: string[];
|
|
@@ -1473,8 +1658,8 @@ export declare const indexerMainTransportBatchSchema: z.ZodObject<{
|
|
|
1473
1658
|
stage: "partition";
|
|
1474
1659
|
partition_subject_key: {
|
|
1475
1660
|
kind: string;
|
|
1476
|
-
protocol: "context.subject-key/v1";
|
|
1477
1661
|
namespace: string;
|
|
1662
|
+
protocol: "context.subject-key/v1";
|
|
1478
1663
|
local_key: string;
|
|
1479
1664
|
};
|
|
1480
1665
|
strategy_set_digest: string;
|
|
@@ -1486,16 +1671,21 @@ export declare const indexerMainTransportBatchSchema: z.ZodObject<{
|
|
|
1486
1671
|
requirement_set_digest: string;
|
|
1487
1672
|
primary_execution_fingerprint: string;
|
|
1488
1673
|
source_scope_digest: string;
|
|
1489
|
-
|
|
1674
|
+
source_binding_digest: string;
|
|
1490
1675
|
primary_resource_binding_digest: string;
|
|
1491
1676
|
question_target_inventory_digest: string;
|
|
1677
|
+
repair_intent?: {
|
|
1678
|
+
target_ref: string;
|
|
1679
|
+
instruction: string;
|
|
1680
|
+
intent_digest: string;
|
|
1681
|
+
} | undefined;
|
|
1492
1682
|
}>, {
|
|
1493
1683
|
source_ref: string;
|
|
1494
|
-
|
|
1495
|
-
protocol: "context.indexer.main-workset/v1";
|
|
1684
|
+
protocol: "context.indexer.main-workset/v2";
|
|
1496
1685
|
requirement_ref: string;
|
|
1497
1686
|
workset_digest: string;
|
|
1498
1687
|
module_ref: string | null;
|
|
1688
|
+
operation: "main-index";
|
|
1499
1689
|
indexer_id: string;
|
|
1500
1690
|
profile_contract_digest: string;
|
|
1501
1691
|
reader_question_refs: string[];
|
|
@@ -1503,8 +1693,8 @@ export declare const indexerMainTransportBatchSchema: z.ZodObject<{
|
|
|
1503
1693
|
stage: "partition";
|
|
1504
1694
|
partition_subject_key: {
|
|
1505
1695
|
kind: string;
|
|
1506
|
-
protocol: "context.subject-key/v1";
|
|
1507
1696
|
namespace: string;
|
|
1697
|
+
protocol: "context.subject-key/v1";
|
|
1508
1698
|
local_key: string;
|
|
1509
1699
|
};
|
|
1510
1700
|
strategy_set_digest: string;
|
|
@@ -1516,16 +1706,21 @@ export declare const indexerMainTransportBatchSchema: z.ZodObject<{
|
|
|
1516
1706
|
requirement_set_digest: string;
|
|
1517
1707
|
primary_execution_fingerprint: string;
|
|
1518
1708
|
source_scope_digest: string;
|
|
1519
|
-
|
|
1709
|
+
source_binding_digest: string;
|
|
1520
1710
|
primary_resource_binding_digest: string;
|
|
1521
1711
|
question_target_inventory_digest: string;
|
|
1712
|
+
repair_intent?: {
|
|
1713
|
+
target_ref: string;
|
|
1714
|
+
instruction: string;
|
|
1715
|
+
intent_digest: string;
|
|
1716
|
+
} | undefined;
|
|
1522
1717
|
}, {
|
|
1523
1718
|
source_ref: string;
|
|
1524
|
-
|
|
1525
|
-
protocol: "context.indexer.main-workset/v1";
|
|
1719
|
+
protocol: "context.indexer.main-workset/v2";
|
|
1526
1720
|
requirement_ref: string;
|
|
1527
1721
|
workset_digest: string;
|
|
1528
1722
|
module_ref: string | null;
|
|
1723
|
+
operation: "main-index";
|
|
1529
1724
|
indexer_id: string;
|
|
1530
1725
|
profile_contract_digest: string;
|
|
1531
1726
|
reader_question_refs: string[];
|
|
@@ -1533,8 +1728,8 @@ export declare const indexerMainTransportBatchSchema: z.ZodObject<{
|
|
|
1533
1728
|
stage: "partition";
|
|
1534
1729
|
partition_subject_key: {
|
|
1535
1730
|
kind: string;
|
|
1536
|
-
protocol: "context.subject-key/v1";
|
|
1537
1731
|
namespace: string;
|
|
1732
|
+
protocol: "context.subject-key/v1";
|
|
1538
1733
|
local_key: string;
|
|
1539
1734
|
};
|
|
1540
1735
|
strategy_set_digest: string;
|
|
@@ -1546,9 +1741,14 @@ export declare const indexerMainTransportBatchSchema: z.ZodObject<{
|
|
|
1546
1741
|
requirement_set_digest: string;
|
|
1547
1742
|
primary_execution_fingerprint: string;
|
|
1548
1743
|
source_scope_digest: string;
|
|
1549
|
-
|
|
1744
|
+
source_binding_digest: string;
|
|
1550
1745
|
primary_resource_binding_digest: string;
|
|
1551
1746
|
question_target_inventory_digest: string;
|
|
1747
|
+
repair_intent?: {
|
|
1748
|
+
target_ref: string;
|
|
1749
|
+
instruction: string;
|
|
1750
|
+
intent_digest: string;
|
|
1751
|
+
} | undefined;
|
|
1552
1752
|
}>, z.ZodEffects<z.ZodObject<{
|
|
1553
1753
|
stage: z.ZodLiteral<"author">;
|
|
1554
1754
|
partition_plan_binding_digest: z.ZodString;
|
|
@@ -1574,34 +1774,34 @@ export declare const indexerMainTransportBatchSchema: z.ZodObject<{
|
|
|
1574
1774
|
local_key: z.ZodEffects<z.ZodString, string, string>;
|
|
1575
1775
|
}, "strict", z.ZodTypeAny, {
|
|
1576
1776
|
kind: string;
|
|
1577
|
-
protocol: "context.subject-key/v1";
|
|
1578
1777
|
namespace: string;
|
|
1778
|
+
protocol: "context.subject-key/v1";
|
|
1579
1779
|
local_key: string;
|
|
1580
1780
|
}, {
|
|
1581
1781
|
kind: string;
|
|
1582
|
-
protocol: "context.subject-key/v1";
|
|
1583
1782
|
namespace: string;
|
|
1783
|
+
protocol: "context.subject-key/v1";
|
|
1584
1784
|
local_key: string;
|
|
1585
1785
|
}>;
|
|
1586
1786
|
node_ref: z.ZodString;
|
|
1587
1787
|
}, "strict", z.ZodTypeAny, {
|
|
1588
|
-
state: "resolved";
|
|
1589
1788
|
subject_key: {
|
|
1590
1789
|
kind: string;
|
|
1591
|
-
protocol: "context.subject-key/v1";
|
|
1592
1790
|
namespace: string;
|
|
1791
|
+
protocol: "context.subject-key/v1";
|
|
1593
1792
|
local_key: string;
|
|
1594
1793
|
};
|
|
1794
|
+
state: "resolved";
|
|
1595
1795
|
query_ref: string;
|
|
1596
1796
|
node_ref: string;
|
|
1597
1797
|
}, {
|
|
1598
|
-
state: "resolved";
|
|
1599
1798
|
subject_key: {
|
|
1600
1799
|
kind: string;
|
|
1601
|
-
protocol: "context.subject-key/v1";
|
|
1602
1800
|
namespace: string;
|
|
1801
|
+
protocol: "context.subject-key/v1";
|
|
1603
1802
|
local_key: string;
|
|
1604
1803
|
};
|
|
1804
|
+
state: "resolved";
|
|
1605
1805
|
query_ref: string;
|
|
1606
1806
|
node_ref: string;
|
|
1607
1807
|
}>, z.ZodObject<{
|
|
@@ -1636,13 +1836,13 @@ export declare const indexerMainTransportBatchSchema: z.ZodObject<{
|
|
|
1636
1836
|
}>]>, "many">;
|
|
1637
1837
|
}, "strict", z.ZodTypeAny, {
|
|
1638
1838
|
entries: ({
|
|
1639
|
-
state: "resolved";
|
|
1640
1839
|
subject_key: {
|
|
1641
1840
|
kind: string;
|
|
1642
|
-
protocol: "context.subject-key/v1";
|
|
1643
1841
|
namespace: string;
|
|
1842
|
+
protocol: "context.subject-key/v1";
|
|
1644
1843
|
local_key: string;
|
|
1645
1844
|
};
|
|
1845
|
+
state: "resolved";
|
|
1646
1846
|
query_ref: string;
|
|
1647
1847
|
node_ref: string;
|
|
1648
1848
|
} | {
|
|
@@ -1660,13 +1860,13 @@ export declare const indexerMainTransportBatchSchema: z.ZodObject<{
|
|
|
1660
1860
|
query_digest: string;
|
|
1661
1861
|
}, {
|
|
1662
1862
|
entries: ({
|
|
1663
|
-
state: "resolved";
|
|
1664
1863
|
subject_key: {
|
|
1665
1864
|
kind: string;
|
|
1666
|
-
protocol: "context.subject-key/v1";
|
|
1667
1865
|
namespace: string;
|
|
1866
|
+
protocol: "context.subject-key/v1";
|
|
1668
1867
|
local_key: string;
|
|
1669
1868
|
};
|
|
1869
|
+
state: "resolved";
|
|
1670
1870
|
query_ref: string;
|
|
1671
1871
|
node_ref: string;
|
|
1672
1872
|
} | {
|
|
@@ -1684,13 +1884,13 @@ export declare const indexerMainTransportBatchSchema: z.ZodObject<{
|
|
|
1684
1884
|
query_digest: string;
|
|
1685
1885
|
}>, {
|
|
1686
1886
|
entries: ({
|
|
1687
|
-
state: "resolved";
|
|
1688
1887
|
subject_key: {
|
|
1689
1888
|
kind: string;
|
|
1690
|
-
protocol: "context.subject-key/v1";
|
|
1691
1889
|
namespace: string;
|
|
1890
|
+
protocol: "context.subject-key/v1";
|
|
1692
1891
|
local_key: string;
|
|
1693
1892
|
};
|
|
1893
|
+
state: "resolved";
|
|
1694
1894
|
query_ref: string;
|
|
1695
1895
|
node_ref: string;
|
|
1696
1896
|
} | {
|
|
@@ -1708,13 +1908,13 @@ export declare const indexerMainTransportBatchSchema: z.ZodObject<{
|
|
|
1708
1908
|
query_digest: string;
|
|
1709
1909
|
}, {
|
|
1710
1910
|
entries: ({
|
|
1711
|
-
state: "resolved";
|
|
1712
1911
|
subject_key: {
|
|
1713
1912
|
kind: string;
|
|
1714
|
-
protocol: "context.subject-key/v1";
|
|
1715
1913
|
namespace: string;
|
|
1914
|
+
protocol: "context.subject-key/v1";
|
|
1716
1915
|
local_key: string;
|
|
1717
1916
|
};
|
|
1917
|
+
state: "resolved";
|
|
1718
1918
|
query_ref: string;
|
|
1719
1919
|
node_ref: string;
|
|
1720
1920
|
} | {
|
|
@@ -1733,7 +1933,7 @@ export declare const indexerMainTransportBatchSchema: z.ZodObject<{
|
|
|
1733
1933
|
}>>;
|
|
1734
1934
|
allowed_artifact_policy_variants: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
|
|
1735
1935
|
artifact_policy_eligibility_digest: z.ZodString;
|
|
1736
|
-
protocol: z.ZodLiteral<"context.indexer.main-workset/
|
|
1936
|
+
protocol: z.ZodLiteral<"context.indexer.main-workset/v2">;
|
|
1737
1937
|
workset_digest: z.ZodString;
|
|
1738
1938
|
operation: z.ZodLiteral<"main-index">;
|
|
1739
1939
|
indexer_id: z.ZodEffects<z.ZodString, string, string>;
|
|
@@ -1747,16 +1947,30 @@ export declare const indexerMainTransportBatchSchema: z.ZodObject<{
|
|
|
1747
1947
|
profile_contract_digest: z.ZodString;
|
|
1748
1948
|
subject_key_schema_digest: z.ZodString;
|
|
1749
1949
|
source_scope_digest: z.ZodString;
|
|
1750
|
-
|
|
1950
|
+
source_binding_digest: z.ZodString;
|
|
1751
1951
|
primary_resource_binding_digest: z.ZodString;
|
|
1752
1952
|
question_target_inventory_digest: z.ZodString;
|
|
1953
|
+
repair_intent: z.ZodOptional<z.ZodObject<{
|
|
1954
|
+
target_ref: z.ZodString;
|
|
1955
|
+
instruction: z.ZodString;
|
|
1956
|
+
} & {
|
|
1957
|
+
intent_digest: z.ZodString;
|
|
1958
|
+
}, "strict", z.ZodTypeAny, {
|
|
1959
|
+
target_ref: string;
|
|
1960
|
+
instruction: string;
|
|
1961
|
+
intent_digest: string;
|
|
1962
|
+
}, {
|
|
1963
|
+
target_ref: string;
|
|
1964
|
+
instruction: string;
|
|
1965
|
+
intent_digest: string;
|
|
1966
|
+
}>>;
|
|
1753
1967
|
}, "strict", z.ZodTypeAny, {
|
|
1754
1968
|
source_ref: string;
|
|
1755
|
-
|
|
1756
|
-
protocol: "context.indexer.main-workset/v1";
|
|
1969
|
+
protocol: "context.indexer.main-workset/v2";
|
|
1757
1970
|
requirement_ref: string;
|
|
1758
1971
|
workset_digest: string;
|
|
1759
1972
|
module_ref: string | null;
|
|
1973
|
+
operation: "main-index";
|
|
1760
1974
|
indexer_id: string;
|
|
1761
1975
|
profile_contract_digest: string;
|
|
1762
1976
|
logical_unit_ref: string;
|
|
@@ -1767,7 +1981,7 @@ export declare const indexerMainTransportBatchSchema: z.ZodObject<{
|
|
|
1767
1981
|
requirement_set_digest: string;
|
|
1768
1982
|
primary_execution_fingerprint: string;
|
|
1769
1983
|
source_scope_digest: string;
|
|
1770
|
-
|
|
1984
|
+
source_binding_digest: string;
|
|
1771
1985
|
primary_resource_binding_digest: string;
|
|
1772
1986
|
question_target_inventory_digest: string;
|
|
1773
1987
|
partition_plan_binding_digest: string;
|
|
@@ -1778,15 +1992,20 @@ export declare const indexerMainTransportBatchSchema: z.ZodObject<{
|
|
|
1778
1992
|
group_dependency_view_digest: string;
|
|
1779
1993
|
allowed_artifact_policy_variants: string[];
|
|
1780
1994
|
artifact_policy_eligibility_digest: string;
|
|
1995
|
+
repair_intent?: {
|
|
1996
|
+
target_ref: string;
|
|
1997
|
+
instruction: string;
|
|
1998
|
+
intent_digest: string;
|
|
1999
|
+
} | undefined;
|
|
1781
2000
|
target_resolution_view?: {
|
|
1782
2001
|
entries: ({
|
|
1783
|
-
state: "resolved";
|
|
1784
2002
|
subject_key: {
|
|
1785
2003
|
kind: string;
|
|
1786
|
-
protocol: "context.subject-key/v1";
|
|
1787
2004
|
namespace: string;
|
|
2005
|
+
protocol: "context.subject-key/v1";
|
|
1788
2006
|
local_key: string;
|
|
1789
2007
|
};
|
|
2008
|
+
state: "resolved";
|
|
1790
2009
|
query_ref: string;
|
|
1791
2010
|
node_ref: string;
|
|
1792
2011
|
} | {
|
|
@@ -1805,11 +2024,11 @@ export declare const indexerMainTransportBatchSchema: z.ZodObject<{
|
|
|
1805
2024
|
} | undefined;
|
|
1806
2025
|
}, {
|
|
1807
2026
|
source_ref: string;
|
|
1808
|
-
|
|
1809
|
-
protocol: "context.indexer.main-workset/v1";
|
|
2027
|
+
protocol: "context.indexer.main-workset/v2";
|
|
1810
2028
|
requirement_ref: string;
|
|
1811
2029
|
workset_digest: string;
|
|
1812
2030
|
module_ref: string | null;
|
|
2031
|
+
operation: "main-index";
|
|
1813
2032
|
indexer_id: string;
|
|
1814
2033
|
profile_contract_digest: string;
|
|
1815
2034
|
logical_unit_ref: string;
|
|
@@ -1820,7 +2039,7 @@ export declare const indexerMainTransportBatchSchema: z.ZodObject<{
|
|
|
1820
2039
|
requirement_set_digest: string;
|
|
1821
2040
|
primary_execution_fingerprint: string;
|
|
1822
2041
|
source_scope_digest: string;
|
|
1823
|
-
|
|
2042
|
+
source_binding_digest: string;
|
|
1824
2043
|
primary_resource_binding_digest: string;
|
|
1825
2044
|
question_target_inventory_digest: string;
|
|
1826
2045
|
partition_plan_binding_digest: string;
|
|
@@ -1831,15 +2050,20 @@ export declare const indexerMainTransportBatchSchema: z.ZodObject<{
|
|
|
1831
2050
|
group_dependency_view_digest: string;
|
|
1832
2051
|
allowed_artifact_policy_variants: string[];
|
|
1833
2052
|
artifact_policy_eligibility_digest: string;
|
|
2053
|
+
repair_intent?: {
|
|
2054
|
+
target_ref: string;
|
|
2055
|
+
instruction: string;
|
|
2056
|
+
intent_digest: string;
|
|
2057
|
+
} | undefined;
|
|
1834
2058
|
target_resolution_view?: {
|
|
1835
2059
|
entries: ({
|
|
1836
|
-
state: "resolved";
|
|
1837
2060
|
subject_key: {
|
|
1838
2061
|
kind: string;
|
|
1839
|
-
protocol: "context.subject-key/v1";
|
|
1840
2062
|
namespace: string;
|
|
2063
|
+
protocol: "context.subject-key/v1";
|
|
1841
2064
|
local_key: string;
|
|
1842
2065
|
};
|
|
2066
|
+
state: "resolved";
|
|
1843
2067
|
query_ref: string;
|
|
1844
2068
|
node_ref: string;
|
|
1845
2069
|
} | {
|
|
@@ -1858,11 +2082,11 @@ export declare const indexerMainTransportBatchSchema: z.ZodObject<{
|
|
|
1858
2082
|
} | undefined;
|
|
1859
2083
|
}>, {
|
|
1860
2084
|
source_ref: string;
|
|
1861
|
-
|
|
1862
|
-
protocol: "context.indexer.main-workset/v1";
|
|
2085
|
+
protocol: "context.indexer.main-workset/v2";
|
|
1863
2086
|
requirement_ref: string;
|
|
1864
2087
|
workset_digest: string;
|
|
1865
2088
|
module_ref: string | null;
|
|
2089
|
+
operation: "main-index";
|
|
1866
2090
|
indexer_id: string;
|
|
1867
2091
|
profile_contract_digest: string;
|
|
1868
2092
|
logical_unit_ref: string;
|
|
@@ -1873,7 +2097,7 @@ export declare const indexerMainTransportBatchSchema: z.ZodObject<{
|
|
|
1873
2097
|
requirement_set_digest: string;
|
|
1874
2098
|
primary_execution_fingerprint: string;
|
|
1875
2099
|
source_scope_digest: string;
|
|
1876
|
-
|
|
2100
|
+
source_binding_digest: string;
|
|
1877
2101
|
primary_resource_binding_digest: string;
|
|
1878
2102
|
question_target_inventory_digest: string;
|
|
1879
2103
|
partition_plan_binding_digest: string;
|
|
@@ -1884,15 +2108,20 @@ export declare const indexerMainTransportBatchSchema: z.ZodObject<{
|
|
|
1884
2108
|
group_dependency_view_digest: string;
|
|
1885
2109
|
allowed_artifact_policy_variants: string[];
|
|
1886
2110
|
artifact_policy_eligibility_digest: string;
|
|
2111
|
+
repair_intent?: {
|
|
2112
|
+
target_ref: string;
|
|
2113
|
+
instruction: string;
|
|
2114
|
+
intent_digest: string;
|
|
2115
|
+
} | undefined;
|
|
1887
2116
|
target_resolution_view?: {
|
|
1888
2117
|
entries: ({
|
|
1889
|
-
state: "resolved";
|
|
1890
2118
|
subject_key: {
|
|
1891
2119
|
kind: string;
|
|
1892
|
-
protocol: "context.subject-key/v1";
|
|
1893
2120
|
namespace: string;
|
|
2121
|
+
protocol: "context.subject-key/v1";
|
|
1894
2122
|
local_key: string;
|
|
1895
2123
|
};
|
|
2124
|
+
state: "resolved";
|
|
1896
2125
|
query_ref: string;
|
|
1897
2126
|
node_ref: string;
|
|
1898
2127
|
} | {
|
|
@@ -1911,11 +2140,11 @@ export declare const indexerMainTransportBatchSchema: z.ZodObject<{
|
|
|
1911
2140
|
} | undefined;
|
|
1912
2141
|
}, {
|
|
1913
2142
|
source_ref: string;
|
|
1914
|
-
|
|
1915
|
-
protocol: "context.indexer.main-workset/v1";
|
|
2143
|
+
protocol: "context.indexer.main-workset/v2";
|
|
1916
2144
|
requirement_ref: string;
|
|
1917
2145
|
workset_digest: string;
|
|
1918
2146
|
module_ref: string | null;
|
|
2147
|
+
operation: "main-index";
|
|
1919
2148
|
indexer_id: string;
|
|
1920
2149
|
profile_contract_digest: string;
|
|
1921
2150
|
logical_unit_ref: string;
|
|
@@ -1926,7 +2155,7 @@ export declare const indexerMainTransportBatchSchema: z.ZodObject<{
|
|
|
1926
2155
|
requirement_set_digest: string;
|
|
1927
2156
|
primary_execution_fingerprint: string;
|
|
1928
2157
|
source_scope_digest: string;
|
|
1929
|
-
|
|
2158
|
+
source_binding_digest: string;
|
|
1930
2159
|
primary_resource_binding_digest: string;
|
|
1931
2160
|
question_target_inventory_digest: string;
|
|
1932
2161
|
partition_plan_binding_digest: string;
|
|
@@ -1937,15 +2166,20 @@ export declare const indexerMainTransportBatchSchema: z.ZodObject<{
|
|
|
1937
2166
|
group_dependency_view_digest: string;
|
|
1938
2167
|
allowed_artifact_policy_variants: string[];
|
|
1939
2168
|
artifact_policy_eligibility_digest: string;
|
|
2169
|
+
repair_intent?: {
|
|
2170
|
+
target_ref: string;
|
|
2171
|
+
instruction: string;
|
|
2172
|
+
intent_digest: string;
|
|
2173
|
+
} | undefined;
|
|
1940
2174
|
target_resolution_view?: {
|
|
1941
2175
|
entries: ({
|
|
1942
|
-
state: "resolved";
|
|
1943
2176
|
subject_key: {
|
|
1944
2177
|
kind: string;
|
|
1945
|
-
protocol: "context.subject-key/v1";
|
|
1946
2178
|
namespace: string;
|
|
2179
|
+
protocol: "context.subject-key/v1";
|
|
1947
2180
|
local_key: string;
|
|
1948
2181
|
};
|
|
2182
|
+
state: "resolved";
|
|
1949
2183
|
query_ref: string;
|
|
1950
2184
|
node_ref: string;
|
|
1951
2185
|
} | {
|
|
@@ -1964,14 +2198,14 @@ export declare const indexerMainTransportBatchSchema: z.ZodObject<{
|
|
|
1964
2198
|
} | undefined;
|
|
1965
2199
|
}>]>, "many">;
|
|
1966
2200
|
}, "strict", z.ZodTypeAny, {
|
|
1967
|
-
protocol: "context.indexer.main-transport-batch/
|
|
2201
|
+
protocol: "context.indexer.main-transport-batch/v2";
|
|
1968
2202
|
worksets: ({
|
|
1969
2203
|
source_ref: string;
|
|
1970
|
-
|
|
1971
|
-
protocol: "context.indexer.main-workset/v1";
|
|
2204
|
+
protocol: "context.indexer.main-workset/v2";
|
|
1972
2205
|
requirement_ref: string;
|
|
1973
2206
|
workset_digest: string;
|
|
1974
2207
|
module_ref: string | null;
|
|
2208
|
+
operation: "main-index";
|
|
1975
2209
|
indexer_id: string;
|
|
1976
2210
|
profile_contract_digest: string;
|
|
1977
2211
|
reader_question_refs: string[];
|
|
@@ -1979,8 +2213,8 @@ export declare const indexerMainTransportBatchSchema: z.ZodObject<{
|
|
|
1979
2213
|
stage: "partition";
|
|
1980
2214
|
partition_subject_key: {
|
|
1981
2215
|
kind: string;
|
|
1982
|
-
protocol: "context.subject-key/v1";
|
|
1983
2216
|
namespace: string;
|
|
2217
|
+
protocol: "context.subject-key/v1";
|
|
1984
2218
|
local_key: string;
|
|
1985
2219
|
};
|
|
1986
2220
|
strategy_set_digest: string;
|
|
@@ -1992,16 +2226,21 @@ export declare const indexerMainTransportBatchSchema: z.ZodObject<{
|
|
|
1992
2226
|
requirement_set_digest: string;
|
|
1993
2227
|
primary_execution_fingerprint: string;
|
|
1994
2228
|
source_scope_digest: string;
|
|
1995
|
-
|
|
2229
|
+
source_binding_digest: string;
|
|
1996
2230
|
primary_resource_binding_digest: string;
|
|
1997
2231
|
question_target_inventory_digest: string;
|
|
2232
|
+
repair_intent?: {
|
|
2233
|
+
target_ref: string;
|
|
2234
|
+
instruction: string;
|
|
2235
|
+
intent_digest: string;
|
|
2236
|
+
} | undefined;
|
|
1998
2237
|
} | {
|
|
1999
2238
|
source_ref: string;
|
|
2000
|
-
|
|
2001
|
-
protocol: "context.indexer.main-workset/v1";
|
|
2239
|
+
protocol: "context.indexer.main-workset/v2";
|
|
2002
2240
|
requirement_ref: string;
|
|
2003
2241
|
workset_digest: string;
|
|
2004
2242
|
module_ref: string | null;
|
|
2243
|
+
operation: "main-index";
|
|
2005
2244
|
indexer_id: string;
|
|
2006
2245
|
profile_contract_digest: string;
|
|
2007
2246
|
logical_unit_ref: string;
|
|
@@ -2012,7 +2251,7 @@ export declare const indexerMainTransportBatchSchema: z.ZodObject<{
|
|
|
2012
2251
|
requirement_set_digest: string;
|
|
2013
2252
|
primary_execution_fingerprint: string;
|
|
2014
2253
|
source_scope_digest: string;
|
|
2015
|
-
|
|
2254
|
+
source_binding_digest: string;
|
|
2016
2255
|
primary_resource_binding_digest: string;
|
|
2017
2256
|
question_target_inventory_digest: string;
|
|
2018
2257
|
partition_plan_binding_digest: string;
|
|
@@ -2023,15 +2262,20 @@ export declare const indexerMainTransportBatchSchema: z.ZodObject<{
|
|
|
2023
2262
|
group_dependency_view_digest: string;
|
|
2024
2263
|
allowed_artifact_policy_variants: string[];
|
|
2025
2264
|
artifact_policy_eligibility_digest: string;
|
|
2265
|
+
repair_intent?: {
|
|
2266
|
+
target_ref: string;
|
|
2267
|
+
instruction: string;
|
|
2268
|
+
intent_digest: string;
|
|
2269
|
+
} | undefined;
|
|
2026
2270
|
target_resolution_view?: {
|
|
2027
2271
|
entries: ({
|
|
2028
|
-
state: "resolved";
|
|
2029
2272
|
subject_key: {
|
|
2030
2273
|
kind: string;
|
|
2031
|
-
protocol: "context.subject-key/v1";
|
|
2032
2274
|
namespace: string;
|
|
2275
|
+
protocol: "context.subject-key/v1";
|
|
2033
2276
|
local_key: string;
|
|
2034
2277
|
};
|
|
2278
|
+
state: "resolved";
|
|
2035
2279
|
query_ref: string;
|
|
2036
2280
|
node_ref: string;
|
|
2037
2281
|
} | {
|
|
@@ -2050,14 +2294,14 @@ export declare const indexerMainTransportBatchSchema: z.ZodObject<{
|
|
|
2050
2294
|
} | undefined;
|
|
2051
2295
|
})[];
|
|
2052
2296
|
}, {
|
|
2053
|
-
protocol: "context.indexer.main-transport-batch/
|
|
2297
|
+
protocol: "context.indexer.main-transport-batch/v2";
|
|
2054
2298
|
worksets: ({
|
|
2055
2299
|
source_ref: string;
|
|
2056
|
-
|
|
2057
|
-
protocol: "context.indexer.main-workset/v1";
|
|
2300
|
+
protocol: "context.indexer.main-workset/v2";
|
|
2058
2301
|
requirement_ref: string;
|
|
2059
2302
|
workset_digest: string;
|
|
2060
2303
|
module_ref: string | null;
|
|
2304
|
+
operation: "main-index";
|
|
2061
2305
|
indexer_id: string;
|
|
2062
2306
|
profile_contract_digest: string;
|
|
2063
2307
|
reader_question_refs: string[];
|
|
@@ -2065,8 +2309,8 @@ export declare const indexerMainTransportBatchSchema: z.ZodObject<{
|
|
|
2065
2309
|
stage: "partition";
|
|
2066
2310
|
partition_subject_key: {
|
|
2067
2311
|
kind: string;
|
|
2068
|
-
protocol: "context.subject-key/v1";
|
|
2069
2312
|
namespace: string;
|
|
2313
|
+
protocol: "context.subject-key/v1";
|
|
2070
2314
|
local_key: string;
|
|
2071
2315
|
};
|
|
2072
2316
|
strategy_set_digest: string;
|
|
@@ -2078,16 +2322,21 @@ export declare const indexerMainTransportBatchSchema: z.ZodObject<{
|
|
|
2078
2322
|
requirement_set_digest: string;
|
|
2079
2323
|
primary_execution_fingerprint: string;
|
|
2080
2324
|
source_scope_digest: string;
|
|
2081
|
-
|
|
2325
|
+
source_binding_digest: string;
|
|
2082
2326
|
primary_resource_binding_digest: string;
|
|
2083
2327
|
question_target_inventory_digest: string;
|
|
2328
|
+
repair_intent?: {
|
|
2329
|
+
target_ref: string;
|
|
2330
|
+
instruction: string;
|
|
2331
|
+
intent_digest: string;
|
|
2332
|
+
} | undefined;
|
|
2084
2333
|
} | {
|
|
2085
2334
|
source_ref: string;
|
|
2086
|
-
|
|
2087
|
-
protocol: "context.indexer.main-workset/v1";
|
|
2335
|
+
protocol: "context.indexer.main-workset/v2";
|
|
2088
2336
|
requirement_ref: string;
|
|
2089
2337
|
workset_digest: string;
|
|
2090
2338
|
module_ref: string | null;
|
|
2339
|
+
operation: "main-index";
|
|
2091
2340
|
indexer_id: string;
|
|
2092
2341
|
profile_contract_digest: string;
|
|
2093
2342
|
logical_unit_ref: string;
|
|
@@ -2098,7 +2347,7 @@ export declare const indexerMainTransportBatchSchema: z.ZodObject<{
|
|
|
2098
2347
|
requirement_set_digest: string;
|
|
2099
2348
|
primary_execution_fingerprint: string;
|
|
2100
2349
|
source_scope_digest: string;
|
|
2101
|
-
|
|
2350
|
+
source_binding_digest: string;
|
|
2102
2351
|
primary_resource_binding_digest: string;
|
|
2103
2352
|
question_target_inventory_digest: string;
|
|
2104
2353
|
partition_plan_binding_digest: string;
|
|
@@ -2109,15 +2358,20 @@ export declare const indexerMainTransportBatchSchema: z.ZodObject<{
|
|
|
2109
2358
|
group_dependency_view_digest: string;
|
|
2110
2359
|
allowed_artifact_policy_variants: string[];
|
|
2111
2360
|
artifact_policy_eligibility_digest: string;
|
|
2361
|
+
repair_intent?: {
|
|
2362
|
+
target_ref: string;
|
|
2363
|
+
instruction: string;
|
|
2364
|
+
intent_digest: string;
|
|
2365
|
+
} | undefined;
|
|
2112
2366
|
target_resolution_view?: {
|
|
2113
2367
|
entries: ({
|
|
2114
|
-
state: "resolved";
|
|
2115
2368
|
subject_key: {
|
|
2116
2369
|
kind: string;
|
|
2117
|
-
protocol: "context.subject-key/v1";
|
|
2118
2370
|
namespace: string;
|
|
2371
|
+
protocol: "context.subject-key/v1";
|
|
2119
2372
|
local_key: string;
|
|
2120
2373
|
};
|
|
2374
|
+
state: "resolved";
|
|
2121
2375
|
query_ref: string;
|
|
2122
2376
|
node_ref: string;
|
|
2123
2377
|
} | {
|