@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
|
@@ -43,13 +43,13 @@ declare const partitionGroupSchema: z.ZodObject<{
|
|
|
43
43
|
local_key: z.ZodEffects<z.ZodString, string, string>;
|
|
44
44
|
}, "strict", z.ZodTypeAny, {
|
|
45
45
|
kind: string;
|
|
46
|
-
protocol: "context.subject-key/v1";
|
|
47
46
|
namespace: string;
|
|
47
|
+
protocol: "context.subject-key/v1";
|
|
48
48
|
local_key: string;
|
|
49
49
|
}, {
|
|
50
50
|
kind: string;
|
|
51
|
-
protocol: "context.subject-key/v1";
|
|
52
51
|
namespace: string;
|
|
52
|
+
protocol: "context.subject-key/v1";
|
|
53
53
|
local_key: string;
|
|
54
54
|
}>;
|
|
55
55
|
subject_intent: z.ZodEnum<["primary", "enrich-or-independent"]>;
|
|
@@ -68,14 +68,14 @@ declare const partitionGroupSchema: z.ZodObject<{
|
|
|
68
68
|
}>, "many">;
|
|
69
69
|
member_ids: z.ZodArray<z.ZodString, "many">;
|
|
70
70
|
}, "strict", z.ZodTypeAny, {
|
|
71
|
-
reader_question_refs: string[];
|
|
72
|
-
logical_unit_ref: string;
|
|
73
71
|
subject_key: {
|
|
74
72
|
kind: string;
|
|
75
|
-
protocol: "context.subject-key/v1";
|
|
76
73
|
namespace: string;
|
|
74
|
+
protocol: "context.subject-key/v1";
|
|
77
75
|
local_key: string;
|
|
78
76
|
};
|
|
77
|
+
reader_question_refs: string[];
|
|
78
|
+
logical_unit_ref: string;
|
|
79
79
|
group_key: string;
|
|
80
80
|
member_ids: string[];
|
|
81
81
|
subject_intent: "primary" | "enrich-or-independent";
|
|
@@ -85,14 +85,14 @@ declare const partitionGroupSchema: z.ZodObject<{
|
|
|
85
85
|
target_ref: string;
|
|
86
86
|
}[];
|
|
87
87
|
}, {
|
|
88
|
-
reader_question_refs: string[];
|
|
89
|
-
logical_unit_ref: string;
|
|
90
88
|
subject_key: {
|
|
91
89
|
kind: string;
|
|
92
|
-
protocol: "context.subject-key/v1";
|
|
93
90
|
namespace: string;
|
|
91
|
+
protocol: "context.subject-key/v1";
|
|
94
92
|
local_key: string;
|
|
95
93
|
};
|
|
94
|
+
reader_question_refs: string[];
|
|
95
|
+
logical_unit_ref: string;
|
|
96
96
|
group_key: string;
|
|
97
97
|
member_ids: string[];
|
|
98
98
|
subject_intent: "primary" | "enrich-or-independent";
|
|
@@ -104,47 +104,47 @@ declare const partitionGroupSchema: z.ZodObject<{
|
|
|
104
104
|
}>;
|
|
105
105
|
declare const memberDispositionSchema: z.ZodUnion<[z.ZodObject<{
|
|
106
106
|
member_id: z.ZodString;
|
|
107
|
-
member_kind: z.ZodEnum<["project", "entry", "route", "component", "service", "method", "example", "protocol-method", "handler", "event-branch", "timer-branch", "downstream-callsite", "store", "state-transition"]>;
|
|
107
|
+
member_kind: z.ZodEnum<["project", "document", "entry", "route", "component", "service", "method", "example", "protocol-method", "handler", "event-branch", "timer-branch", "downstream-callsite", "store", "state-transition"]>;
|
|
108
108
|
inventory_disposition: z.ZodLiteral<"owned">;
|
|
109
109
|
group_key: z.ZodString;
|
|
110
110
|
}, "strict", z.ZodTypeAny, {
|
|
111
111
|
group_key: string;
|
|
112
112
|
member_id: string;
|
|
113
|
-
member_kind: "
|
|
113
|
+
member_kind: "document" | "handler" | "entry" | "project" | "route" | "component" | "service" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
|
|
114
114
|
inventory_disposition: "owned";
|
|
115
115
|
}, {
|
|
116
116
|
group_key: string;
|
|
117
117
|
member_id: string;
|
|
118
|
-
member_kind: "
|
|
118
|
+
member_kind: "document" | "handler" | "entry" | "project" | "route" | "component" | "service" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
|
|
119
119
|
inventory_disposition: "owned";
|
|
120
120
|
}>, z.ZodObject<{
|
|
121
121
|
member_id: z.ZodString;
|
|
122
|
-
member_kind: z.ZodEnum<["project", "entry", "route", "component", "service", "method", "example", "protocol-method", "handler", "event-branch", "timer-branch", "downstream-callsite", "store", "state-transition"]>;
|
|
122
|
+
member_kind: z.ZodEnum<["project", "document", "entry", "route", "component", "service", "method", "example", "protocol-method", "handler", "event-branch", "timer-branch", "downstream-callsite", "store", "state-transition"]>;
|
|
123
123
|
inventory_disposition: z.ZodLiteral<"excluded-with-reason">;
|
|
124
124
|
reason_code: z.ZodEffects<z.ZodString, string, string>;
|
|
125
125
|
}, "strict", z.ZodTypeAny, {
|
|
126
126
|
member_id: string;
|
|
127
|
-
member_kind: "
|
|
127
|
+
member_kind: "document" | "handler" | "entry" | "project" | "route" | "component" | "service" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
|
|
128
128
|
inventory_disposition: "excluded-with-reason";
|
|
129
129
|
reason_code: string;
|
|
130
130
|
}, {
|
|
131
131
|
member_id: string;
|
|
132
|
-
member_kind: "
|
|
132
|
+
member_kind: "document" | "handler" | "entry" | "project" | "route" | "component" | "service" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
|
|
133
133
|
inventory_disposition: "excluded-with-reason";
|
|
134
134
|
reason_code: string;
|
|
135
135
|
}>, z.ZodObject<{
|
|
136
136
|
member_id: z.ZodString;
|
|
137
|
-
member_kind: z.ZodEnum<["project", "entry", "route", "component", "service", "method", "example", "protocol-method", "handler", "event-branch", "timer-branch", "downstream-callsite", "store", "state-transition"]>;
|
|
137
|
+
member_kind: z.ZodEnum<["project", "document", "entry", "route", "component", "service", "method", "example", "protocol-method", "handler", "event-branch", "timer-branch", "downstream-callsite", "store", "state-transition"]>;
|
|
138
138
|
inventory_disposition: z.ZodLiteral<"unsupported">;
|
|
139
139
|
missing_capabilities: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
|
|
140
140
|
}, "strict", z.ZodTypeAny, {
|
|
141
141
|
member_id: string;
|
|
142
|
-
member_kind: "
|
|
142
|
+
member_kind: "document" | "handler" | "entry" | "project" | "route" | "component" | "service" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
|
|
143
143
|
inventory_disposition: "unsupported";
|
|
144
144
|
missing_capabilities: string[];
|
|
145
145
|
}, {
|
|
146
146
|
member_id: string;
|
|
147
|
-
member_kind: "
|
|
147
|
+
member_kind: "document" | "handler" | "entry" | "project" | "route" | "component" | "service" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
|
|
148
148
|
inventory_disposition: "unsupported";
|
|
149
149
|
missing_capabilities: string[];
|
|
150
150
|
}>]>;
|
|
@@ -168,20 +168,19 @@ export declare const indexerPartitionPlanSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
168
168
|
local_key: z.ZodEffects<z.ZodString, string, string>;
|
|
169
169
|
}, "strict", z.ZodTypeAny, {
|
|
170
170
|
kind: string;
|
|
171
|
-
protocol: "context.subject-key/v1";
|
|
172
171
|
namespace: string;
|
|
172
|
+
protocol: "context.subject-key/v1";
|
|
173
173
|
local_key: string;
|
|
174
174
|
}, {
|
|
175
175
|
kind: string;
|
|
176
|
-
protocol: "context.subject-key/v1";
|
|
177
176
|
namespace: string;
|
|
177
|
+
protocol: "context.subject-key/v1";
|
|
178
178
|
local_key: string;
|
|
179
179
|
}>;
|
|
180
180
|
parent_scope_ref: z.ZodString;
|
|
181
181
|
inventory_digest: z.ZodString;
|
|
182
182
|
question_target_inventory_digest: z.ZodString;
|
|
183
183
|
}, "strict", z.ZodTypeAny, {
|
|
184
|
-
source_refs: string[];
|
|
185
184
|
module_ref: string | null;
|
|
186
185
|
requirement_digest: string;
|
|
187
186
|
indexer_id: string;
|
|
@@ -189,17 +188,17 @@ export declare const indexerPartitionPlanSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
189
188
|
subject_key_schema_digest: string;
|
|
190
189
|
partition_subject_key: {
|
|
191
190
|
kind: string;
|
|
192
|
-
protocol: "context.subject-key/v1";
|
|
193
191
|
namespace: string;
|
|
192
|
+
protocol: "context.subject-key/v1";
|
|
194
193
|
local_key: string;
|
|
195
194
|
};
|
|
196
195
|
source_scope_digest: string;
|
|
197
196
|
question_target_inventory_digest: string;
|
|
198
197
|
partition_workset_digest: string;
|
|
199
198
|
indexer_fingerprint: string;
|
|
199
|
+
source_refs: string[];
|
|
200
200
|
parent_scope_ref: string;
|
|
201
201
|
}, {
|
|
202
|
-
source_refs: string[];
|
|
203
202
|
module_ref: string | null;
|
|
204
203
|
requirement_digest: string;
|
|
205
204
|
indexer_id: string;
|
|
@@ -207,14 +206,15 @@ export declare const indexerPartitionPlanSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
207
206
|
subject_key_schema_digest: string;
|
|
208
207
|
partition_subject_key: {
|
|
209
208
|
kind: string;
|
|
210
|
-
protocol: "context.subject-key/v1";
|
|
211
209
|
namespace: string;
|
|
210
|
+
protocol: "context.subject-key/v1";
|
|
212
211
|
local_key: string;
|
|
213
212
|
};
|
|
214
213
|
source_scope_digest: string;
|
|
215
214
|
question_target_inventory_digest: string;
|
|
216
215
|
partition_workset_digest: string;
|
|
217
216
|
indexer_fingerprint: string;
|
|
217
|
+
source_refs: string[];
|
|
218
218
|
parent_scope_ref: string;
|
|
219
219
|
}>;
|
|
220
220
|
strategy_ref: z.ZodUnion<[z.ZodObject<{
|
|
@@ -258,13 +258,13 @@ export declare const indexerPartitionPlanSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
258
258
|
local_key: z.ZodEffects<z.ZodString, string, string>;
|
|
259
259
|
}, "strict", z.ZodTypeAny, {
|
|
260
260
|
kind: string;
|
|
261
|
-
protocol: "context.subject-key/v1";
|
|
262
261
|
namespace: string;
|
|
262
|
+
protocol: "context.subject-key/v1";
|
|
263
263
|
local_key: string;
|
|
264
264
|
}, {
|
|
265
265
|
kind: string;
|
|
266
|
-
protocol: "context.subject-key/v1";
|
|
267
266
|
namespace: string;
|
|
267
|
+
protocol: "context.subject-key/v1";
|
|
268
268
|
local_key: string;
|
|
269
269
|
}>;
|
|
270
270
|
subject_intent: z.ZodEnum<["primary", "enrich-or-independent"]>;
|
|
@@ -283,14 +283,14 @@ export declare const indexerPartitionPlanSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
283
283
|
}>, "many">;
|
|
284
284
|
member_ids: z.ZodArray<z.ZodString, "many">;
|
|
285
285
|
}, "strict", z.ZodTypeAny, {
|
|
286
|
-
reader_question_refs: string[];
|
|
287
|
-
logical_unit_ref: string;
|
|
288
286
|
subject_key: {
|
|
289
287
|
kind: string;
|
|
290
|
-
protocol: "context.subject-key/v1";
|
|
291
288
|
namespace: string;
|
|
289
|
+
protocol: "context.subject-key/v1";
|
|
292
290
|
local_key: string;
|
|
293
291
|
};
|
|
292
|
+
reader_question_refs: string[];
|
|
293
|
+
logical_unit_ref: string;
|
|
294
294
|
group_key: string;
|
|
295
295
|
member_ids: string[];
|
|
296
296
|
subject_intent: "primary" | "enrich-or-independent";
|
|
@@ -300,14 +300,14 @@ export declare const indexerPartitionPlanSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
300
300
|
target_ref: string;
|
|
301
301
|
}[];
|
|
302
302
|
}, {
|
|
303
|
-
reader_question_refs: string[];
|
|
304
|
-
logical_unit_ref: string;
|
|
305
303
|
subject_key: {
|
|
306
304
|
kind: string;
|
|
307
|
-
protocol: "context.subject-key/v1";
|
|
308
305
|
namespace: string;
|
|
306
|
+
protocol: "context.subject-key/v1";
|
|
309
307
|
local_key: string;
|
|
310
308
|
};
|
|
309
|
+
reader_question_refs: string[];
|
|
310
|
+
logical_unit_ref: string;
|
|
311
311
|
group_key: string;
|
|
312
312
|
member_ids: string[];
|
|
313
313
|
subject_intent: "primary" | "enrich-or-independent";
|
|
@@ -319,58 +319,57 @@ export declare const indexerPartitionPlanSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
319
319
|
}>, "many">;
|
|
320
320
|
member_dispositions: z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
|
321
321
|
member_id: z.ZodString;
|
|
322
|
-
member_kind: z.ZodEnum<["project", "entry", "route", "component", "service", "method", "example", "protocol-method", "handler", "event-branch", "timer-branch", "downstream-callsite", "store", "state-transition"]>;
|
|
322
|
+
member_kind: z.ZodEnum<["project", "document", "entry", "route", "component", "service", "method", "example", "protocol-method", "handler", "event-branch", "timer-branch", "downstream-callsite", "store", "state-transition"]>;
|
|
323
323
|
inventory_disposition: z.ZodLiteral<"owned">;
|
|
324
324
|
group_key: z.ZodString;
|
|
325
325
|
}, "strict", z.ZodTypeAny, {
|
|
326
326
|
group_key: string;
|
|
327
327
|
member_id: string;
|
|
328
|
-
member_kind: "
|
|
328
|
+
member_kind: "document" | "handler" | "entry" | "project" | "route" | "component" | "service" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
|
|
329
329
|
inventory_disposition: "owned";
|
|
330
330
|
}, {
|
|
331
331
|
group_key: string;
|
|
332
332
|
member_id: string;
|
|
333
|
-
member_kind: "
|
|
333
|
+
member_kind: "document" | "handler" | "entry" | "project" | "route" | "component" | "service" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
|
|
334
334
|
inventory_disposition: "owned";
|
|
335
335
|
}>, z.ZodObject<{
|
|
336
336
|
member_id: z.ZodString;
|
|
337
|
-
member_kind: z.ZodEnum<["project", "entry", "route", "component", "service", "method", "example", "protocol-method", "handler", "event-branch", "timer-branch", "downstream-callsite", "store", "state-transition"]>;
|
|
337
|
+
member_kind: z.ZodEnum<["project", "document", "entry", "route", "component", "service", "method", "example", "protocol-method", "handler", "event-branch", "timer-branch", "downstream-callsite", "store", "state-transition"]>;
|
|
338
338
|
inventory_disposition: z.ZodLiteral<"excluded-with-reason">;
|
|
339
339
|
reason_code: z.ZodEffects<z.ZodString, string, string>;
|
|
340
340
|
}, "strict", z.ZodTypeAny, {
|
|
341
341
|
member_id: string;
|
|
342
|
-
member_kind: "
|
|
342
|
+
member_kind: "document" | "handler" | "entry" | "project" | "route" | "component" | "service" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
|
|
343
343
|
inventory_disposition: "excluded-with-reason";
|
|
344
344
|
reason_code: string;
|
|
345
345
|
}, {
|
|
346
346
|
member_id: string;
|
|
347
|
-
member_kind: "
|
|
347
|
+
member_kind: "document" | "handler" | "entry" | "project" | "route" | "component" | "service" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
|
|
348
348
|
inventory_disposition: "excluded-with-reason";
|
|
349
349
|
reason_code: string;
|
|
350
350
|
}>, z.ZodObject<{
|
|
351
351
|
member_id: z.ZodString;
|
|
352
|
-
member_kind: z.ZodEnum<["project", "entry", "route", "component", "service", "method", "example", "protocol-method", "handler", "event-branch", "timer-branch", "downstream-callsite", "store", "state-transition"]>;
|
|
352
|
+
member_kind: z.ZodEnum<["project", "document", "entry", "route", "component", "service", "method", "example", "protocol-method", "handler", "event-branch", "timer-branch", "downstream-callsite", "store", "state-transition"]>;
|
|
353
353
|
inventory_disposition: z.ZodLiteral<"unsupported">;
|
|
354
354
|
missing_capabilities: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
|
|
355
355
|
}, "strict", z.ZodTypeAny, {
|
|
356
356
|
member_id: string;
|
|
357
|
-
member_kind: "
|
|
357
|
+
member_kind: "document" | "handler" | "entry" | "project" | "route" | "component" | "service" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
|
|
358
358
|
inventory_disposition: "unsupported";
|
|
359
359
|
missing_capabilities: string[];
|
|
360
360
|
}, {
|
|
361
361
|
member_id: string;
|
|
362
|
-
member_kind: "
|
|
362
|
+
member_kind: "document" | "handler" | "entry" | "project" | "route" | "component" | "service" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
|
|
363
363
|
inventory_disposition: "unsupported";
|
|
364
364
|
missing_capabilities: string[];
|
|
365
365
|
}>]>, "many">;
|
|
366
366
|
canonical_hash: z.ZodString;
|
|
367
367
|
}, "strict", z.ZodTypeAny, {
|
|
368
|
-
protocol: "context.indexer.partition-plan/v1";
|
|
369
368
|
status: "complete";
|
|
369
|
+
protocol: "context.indexer.partition-plan/v1";
|
|
370
370
|
reader_question_refs: string[];
|
|
371
371
|
failure: null;
|
|
372
372
|
binding: {
|
|
373
|
-
source_refs: string[];
|
|
374
373
|
module_ref: string | null;
|
|
375
374
|
requirement_digest: string;
|
|
376
375
|
indexer_id: string;
|
|
@@ -378,14 +377,15 @@ export declare const indexerPartitionPlanSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
378
377
|
subject_key_schema_digest: string;
|
|
379
378
|
partition_subject_key: {
|
|
380
379
|
kind: string;
|
|
381
|
-
protocol: "context.subject-key/v1";
|
|
382
380
|
namespace: string;
|
|
381
|
+
protocol: "context.subject-key/v1";
|
|
383
382
|
local_key: string;
|
|
384
383
|
};
|
|
385
384
|
source_scope_digest: string;
|
|
386
385
|
question_target_inventory_digest: string;
|
|
387
386
|
partition_workset_digest: string;
|
|
388
387
|
indexer_fingerprint: string;
|
|
388
|
+
source_refs: string[];
|
|
389
389
|
parent_scope_ref: string;
|
|
390
390
|
};
|
|
391
391
|
strategy_ref: {
|
|
@@ -402,14 +402,14 @@ export declare const indexerPartitionPlanSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
402
402
|
unit_type: string;
|
|
403
403
|
partition_axis: string;
|
|
404
404
|
groups: {
|
|
405
|
-
reader_question_refs: string[];
|
|
406
|
-
logical_unit_ref: string;
|
|
407
405
|
subject_key: {
|
|
408
406
|
kind: string;
|
|
409
|
-
protocol: "context.subject-key/v1";
|
|
410
407
|
namespace: string;
|
|
408
|
+
protocol: "context.subject-key/v1";
|
|
411
409
|
local_key: string;
|
|
412
410
|
};
|
|
411
|
+
reader_question_refs: string[];
|
|
412
|
+
logical_unit_ref: string;
|
|
413
413
|
group_key: string;
|
|
414
414
|
member_ids: string[];
|
|
415
415
|
subject_intent: "primary" | "enrich-or-independent";
|
|
@@ -422,27 +422,26 @@ export declare const indexerPartitionPlanSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
422
422
|
member_dispositions: ({
|
|
423
423
|
group_key: string;
|
|
424
424
|
member_id: string;
|
|
425
|
-
member_kind: "
|
|
425
|
+
member_kind: "document" | "handler" | "entry" | "project" | "route" | "component" | "service" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
|
|
426
426
|
inventory_disposition: "owned";
|
|
427
427
|
} | {
|
|
428
428
|
member_id: string;
|
|
429
|
-
member_kind: "
|
|
429
|
+
member_kind: "document" | "handler" | "entry" | "project" | "route" | "component" | "service" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
|
|
430
430
|
inventory_disposition: "excluded-with-reason";
|
|
431
431
|
reason_code: string;
|
|
432
432
|
} | {
|
|
433
433
|
member_id: string;
|
|
434
|
-
member_kind: "
|
|
434
|
+
member_kind: "document" | "handler" | "entry" | "project" | "route" | "component" | "service" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
|
|
435
435
|
inventory_disposition: "unsupported";
|
|
436
436
|
missing_capabilities: string[];
|
|
437
437
|
})[];
|
|
438
438
|
canonical_hash: string;
|
|
439
439
|
}, {
|
|
440
|
-
protocol: "context.indexer.partition-plan/v1";
|
|
441
440
|
status: "complete";
|
|
441
|
+
protocol: "context.indexer.partition-plan/v1";
|
|
442
442
|
reader_question_refs: string[];
|
|
443
443
|
failure: null;
|
|
444
444
|
binding: {
|
|
445
|
-
source_refs: string[];
|
|
446
445
|
module_ref: string | null;
|
|
447
446
|
requirement_digest: string;
|
|
448
447
|
indexer_id: string;
|
|
@@ -450,14 +449,15 @@ export declare const indexerPartitionPlanSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
450
449
|
subject_key_schema_digest: string;
|
|
451
450
|
partition_subject_key: {
|
|
452
451
|
kind: string;
|
|
453
|
-
protocol: "context.subject-key/v1";
|
|
454
452
|
namespace: string;
|
|
453
|
+
protocol: "context.subject-key/v1";
|
|
455
454
|
local_key: string;
|
|
456
455
|
};
|
|
457
456
|
source_scope_digest: string;
|
|
458
457
|
question_target_inventory_digest: string;
|
|
459
458
|
partition_workset_digest: string;
|
|
460
459
|
indexer_fingerprint: string;
|
|
460
|
+
source_refs: string[];
|
|
461
461
|
parent_scope_ref: string;
|
|
462
462
|
};
|
|
463
463
|
strategy_ref: {
|
|
@@ -474,14 +474,14 @@ export declare const indexerPartitionPlanSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
474
474
|
unit_type: string;
|
|
475
475
|
partition_axis: string;
|
|
476
476
|
groups: {
|
|
477
|
-
reader_question_refs: string[];
|
|
478
|
-
logical_unit_ref: string;
|
|
479
477
|
subject_key: {
|
|
480
478
|
kind: string;
|
|
481
|
-
protocol: "context.subject-key/v1";
|
|
482
479
|
namespace: string;
|
|
480
|
+
protocol: "context.subject-key/v1";
|
|
483
481
|
local_key: string;
|
|
484
482
|
};
|
|
483
|
+
reader_question_refs: string[];
|
|
484
|
+
logical_unit_ref: string;
|
|
485
485
|
group_key: string;
|
|
486
486
|
member_ids: string[];
|
|
487
487
|
subject_intent: "primary" | "enrich-or-independent";
|
|
@@ -494,16 +494,16 @@ export declare const indexerPartitionPlanSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
494
494
|
member_dispositions: ({
|
|
495
495
|
group_key: string;
|
|
496
496
|
member_id: string;
|
|
497
|
-
member_kind: "
|
|
497
|
+
member_kind: "document" | "handler" | "entry" | "project" | "route" | "component" | "service" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
|
|
498
498
|
inventory_disposition: "owned";
|
|
499
499
|
} | {
|
|
500
500
|
member_id: string;
|
|
501
|
-
member_kind: "
|
|
501
|
+
member_kind: "document" | "handler" | "entry" | "project" | "route" | "component" | "service" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
|
|
502
502
|
inventory_disposition: "excluded-with-reason";
|
|
503
503
|
reason_code: string;
|
|
504
504
|
} | {
|
|
505
505
|
member_id: string;
|
|
506
|
-
member_kind: "
|
|
506
|
+
member_kind: "document" | "handler" | "entry" | "project" | "route" | "component" | "service" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
|
|
507
507
|
inventory_disposition: "unsupported";
|
|
508
508
|
missing_capabilities: string[];
|
|
509
509
|
})[];
|
|
@@ -546,20 +546,19 @@ export declare const indexerPartitionPlanSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
546
546
|
local_key: z.ZodEffects<z.ZodString, string, string>;
|
|
547
547
|
}, "strict", z.ZodTypeAny, {
|
|
548
548
|
kind: string;
|
|
549
|
-
protocol: "context.subject-key/v1";
|
|
550
549
|
namespace: string;
|
|
550
|
+
protocol: "context.subject-key/v1";
|
|
551
551
|
local_key: string;
|
|
552
552
|
}, {
|
|
553
553
|
kind: string;
|
|
554
|
-
protocol: "context.subject-key/v1";
|
|
555
554
|
namespace: string;
|
|
555
|
+
protocol: "context.subject-key/v1";
|
|
556
556
|
local_key: string;
|
|
557
557
|
}>;
|
|
558
558
|
parent_scope_ref: z.ZodString;
|
|
559
559
|
inventory_digest: z.ZodString;
|
|
560
560
|
question_target_inventory_digest: z.ZodString;
|
|
561
561
|
}, "strict", z.ZodTypeAny, {
|
|
562
|
-
source_refs: string[];
|
|
563
562
|
module_ref: string | null;
|
|
564
563
|
requirement_digest: string;
|
|
565
564
|
indexer_id: string;
|
|
@@ -567,17 +566,17 @@ export declare const indexerPartitionPlanSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
567
566
|
subject_key_schema_digest: string;
|
|
568
567
|
partition_subject_key: {
|
|
569
568
|
kind: string;
|
|
570
|
-
protocol: "context.subject-key/v1";
|
|
571
569
|
namespace: string;
|
|
570
|
+
protocol: "context.subject-key/v1";
|
|
572
571
|
local_key: string;
|
|
573
572
|
};
|
|
574
573
|
source_scope_digest: string;
|
|
575
574
|
question_target_inventory_digest: string;
|
|
576
575
|
partition_workset_digest: string;
|
|
577
576
|
indexer_fingerprint: string;
|
|
577
|
+
source_refs: string[];
|
|
578
578
|
parent_scope_ref: string;
|
|
579
579
|
}, {
|
|
580
|
-
source_refs: string[];
|
|
581
580
|
module_ref: string | null;
|
|
582
581
|
requirement_digest: string;
|
|
583
582
|
indexer_id: string;
|
|
@@ -585,14 +584,15 @@ export declare const indexerPartitionPlanSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
585
584
|
subject_key_schema_digest: string;
|
|
586
585
|
partition_subject_key: {
|
|
587
586
|
kind: string;
|
|
588
|
-
protocol: "context.subject-key/v1";
|
|
589
587
|
namespace: string;
|
|
588
|
+
protocol: "context.subject-key/v1";
|
|
590
589
|
local_key: string;
|
|
591
590
|
};
|
|
592
591
|
source_scope_digest: string;
|
|
593
592
|
question_target_inventory_digest: string;
|
|
594
593
|
partition_workset_digest: string;
|
|
595
594
|
indexer_fingerprint: string;
|
|
595
|
+
source_refs: string[];
|
|
596
596
|
parent_scope_ref: string;
|
|
597
597
|
}>;
|
|
598
598
|
strategy_ref: z.ZodUnion<[z.ZodObject<{
|
|
@@ -636,13 +636,13 @@ export declare const indexerPartitionPlanSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
636
636
|
local_key: z.ZodEffects<z.ZodString, string, string>;
|
|
637
637
|
}, "strict", z.ZodTypeAny, {
|
|
638
638
|
kind: string;
|
|
639
|
-
protocol: "context.subject-key/v1";
|
|
640
639
|
namespace: string;
|
|
640
|
+
protocol: "context.subject-key/v1";
|
|
641
641
|
local_key: string;
|
|
642
642
|
}, {
|
|
643
643
|
kind: string;
|
|
644
|
-
protocol: "context.subject-key/v1";
|
|
645
644
|
namespace: string;
|
|
645
|
+
protocol: "context.subject-key/v1";
|
|
646
646
|
local_key: string;
|
|
647
647
|
}>;
|
|
648
648
|
subject_intent: z.ZodEnum<["primary", "enrich-or-independent"]>;
|
|
@@ -661,14 +661,14 @@ export declare const indexerPartitionPlanSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
661
661
|
}>, "many">;
|
|
662
662
|
member_ids: z.ZodArray<z.ZodString, "many">;
|
|
663
663
|
}, "strict", z.ZodTypeAny, {
|
|
664
|
-
reader_question_refs: string[];
|
|
665
|
-
logical_unit_ref: string;
|
|
666
664
|
subject_key: {
|
|
667
665
|
kind: string;
|
|
668
|
-
protocol: "context.subject-key/v1";
|
|
669
666
|
namespace: string;
|
|
667
|
+
protocol: "context.subject-key/v1";
|
|
670
668
|
local_key: string;
|
|
671
669
|
};
|
|
670
|
+
reader_question_refs: string[];
|
|
671
|
+
logical_unit_ref: string;
|
|
672
672
|
group_key: string;
|
|
673
673
|
member_ids: string[];
|
|
674
674
|
subject_intent: "primary" | "enrich-or-independent";
|
|
@@ -678,14 +678,14 @@ export declare const indexerPartitionPlanSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
678
678
|
target_ref: string;
|
|
679
679
|
}[];
|
|
680
680
|
}, {
|
|
681
|
-
reader_question_refs: string[];
|
|
682
|
-
logical_unit_ref: string;
|
|
683
681
|
subject_key: {
|
|
684
682
|
kind: string;
|
|
685
|
-
protocol: "context.subject-key/v1";
|
|
686
683
|
namespace: string;
|
|
684
|
+
protocol: "context.subject-key/v1";
|
|
687
685
|
local_key: string;
|
|
688
686
|
};
|
|
687
|
+
reader_question_refs: string[];
|
|
688
|
+
logical_unit_ref: string;
|
|
689
689
|
group_key: string;
|
|
690
690
|
member_ids: string[];
|
|
691
691
|
subject_intent: "primary" | "enrich-or-independent";
|
|
@@ -697,54 +697,54 @@ export declare const indexerPartitionPlanSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
697
697
|
}>, "many">;
|
|
698
698
|
member_dispositions: z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
|
699
699
|
member_id: z.ZodString;
|
|
700
|
-
member_kind: z.ZodEnum<["project", "entry", "route", "component", "service", "method", "example", "protocol-method", "handler", "event-branch", "timer-branch", "downstream-callsite", "store", "state-transition"]>;
|
|
700
|
+
member_kind: z.ZodEnum<["project", "document", "entry", "route", "component", "service", "method", "example", "protocol-method", "handler", "event-branch", "timer-branch", "downstream-callsite", "store", "state-transition"]>;
|
|
701
701
|
inventory_disposition: z.ZodLiteral<"owned">;
|
|
702
702
|
group_key: z.ZodString;
|
|
703
703
|
}, "strict", z.ZodTypeAny, {
|
|
704
704
|
group_key: string;
|
|
705
705
|
member_id: string;
|
|
706
|
-
member_kind: "
|
|
706
|
+
member_kind: "document" | "handler" | "entry" | "project" | "route" | "component" | "service" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
|
|
707
707
|
inventory_disposition: "owned";
|
|
708
708
|
}, {
|
|
709
709
|
group_key: string;
|
|
710
710
|
member_id: string;
|
|
711
|
-
member_kind: "
|
|
711
|
+
member_kind: "document" | "handler" | "entry" | "project" | "route" | "component" | "service" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
|
|
712
712
|
inventory_disposition: "owned";
|
|
713
713
|
}>, z.ZodObject<{
|
|
714
714
|
member_id: z.ZodString;
|
|
715
|
-
member_kind: z.ZodEnum<["project", "entry", "route", "component", "service", "method", "example", "protocol-method", "handler", "event-branch", "timer-branch", "downstream-callsite", "store", "state-transition"]>;
|
|
715
|
+
member_kind: z.ZodEnum<["project", "document", "entry", "route", "component", "service", "method", "example", "protocol-method", "handler", "event-branch", "timer-branch", "downstream-callsite", "store", "state-transition"]>;
|
|
716
716
|
inventory_disposition: z.ZodLiteral<"excluded-with-reason">;
|
|
717
717
|
reason_code: z.ZodEffects<z.ZodString, string, string>;
|
|
718
718
|
}, "strict", z.ZodTypeAny, {
|
|
719
719
|
member_id: string;
|
|
720
|
-
member_kind: "
|
|
720
|
+
member_kind: "document" | "handler" | "entry" | "project" | "route" | "component" | "service" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
|
|
721
721
|
inventory_disposition: "excluded-with-reason";
|
|
722
722
|
reason_code: string;
|
|
723
723
|
}, {
|
|
724
724
|
member_id: string;
|
|
725
|
-
member_kind: "
|
|
725
|
+
member_kind: "document" | "handler" | "entry" | "project" | "route" | "component" | "service" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
|
|
726
726
|
inventory_disposition: "excluded-with-reason";
|
|
727
727
|
reason_code: string;
|
|
728
728
|
}>, z.ZodObject<{
|
|
729
729
|
member_id: z.ZodString;
|
|
730
|
-
member_kind: z.ZodEnum<["project", "entry", "route", "component", "service", "method", "example", "protocol-method", "handler", "event-branch", "timer-branch", "downstream-callsite", "store", "state-transition"]>;
|
|
730
|
+
member_kind: z.ZodEnum<["project", "document", "entry", "route", "component", "service", "method", "example", "protocol-method", "handler", "event-branch", "timer-branch", "downstream-callsite", "store", "state-transition"]>;
|
|
731
731
|
inventory_disposition: z.ZodLiteral<"unsupported">;
|
|
732
732
|
missing_capabilities: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
|
|
733
733
|
}, "strict", z.ZodTypeAny, {
|
|
734
734
|
member_id: string;
|
|
735
|
-
member_kind: "
|
|
735
|
+
member_kind: "document" | "handler" | "entry" | "project" | "route" | "component" | "service" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
|
|
736
736
|
inventory_disposition: "unsupported";
|
|
737
737
|
missing_capabilities: string[];
|
|
738
738
|
}, {
|
|
739
739
|
member_id: string;
|
|
740
|
-
member_kind: "
|
|
740
|
+
member_kind: "document" | "handler" | "entry" | "project" | "route" | "component" | "service" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
|
|
741
741
|
inventory_disposition: "unsupported";
|
|
742
742
|
missing_capabilities: string[];
|
|
743
743
|
}>]>, "many">;
|
|
744
744
|
canonical_hash: z.ZodString;
|
|
745
745
|
}, "strict", z.ZodTypeAny, {
|
|
746
|
-
protocol: "context.indexer.partition-plan/v1";
|
|
747
746
|
status: "failed";
|
|
747
|
+
protocol: "context.indexer.partition-plan/v1";
|
|
748
748
|
reader_question_refs: string[];
|
|
749
749
|
failure: {
|
|
750
750
|
code: "unsupported-domain" | "no-stable-axis" | "insufficient-identity-facts" | "invalid-input" | "strategy-failed";
|
|
@@ -754,7 +754,6 @@ export declare const indexerPartitionPlanSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
754
754
|
missing_source_refs?: string[] | undefined;
|
|
755
755
|
};
|
|
756
756
|
binding: {
|
|
757
|
-
source_refs: string[];
|
|
758
757
|
module_ref: string | null;
|
|
759
758
|
requirement_digest: string;
|
|
760
759
|
indexer_id: string;
|
|
@@ -762,14 +761,15 @@ export declare const indexerPartitionPlanSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
762
761
|
subject_key_schema_digest: string;
|
|
763
762
|
partition_subject_key: {
|
|
764
763
|
kind: string;
|
|
765
|
-
protocol: "context.subject-key/v1";
|
|
766
764
|
namespace: string;
|
|
765
|
+
protocol: "context.subject-key/v1";
|
|
767
766
|
local_key: string;
|
|
768
767
|
};
|
|
769
768
|
source_scope_digest: string;
|
|
770
769
|
question_target_inventory_digest: string;
|
|
771
770
|
partition_workset_digest: string;
|
|
772
771
|
indexer_fingerprint: string;
|
|
772
|
+
source_refs: string[];
|
|
773
773
|
parent_scope_ref: string;
|
|
774
774
|
};
|
|
775
775
|
strategy_ref: {
|
|
@@ -786,14 +786,14 @@ export declare const indexerPartitionPlanSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
786
786
|
unit_type: string;
|
|
787
787
|
partition_axis: string;
|
|
788
788
|
groups: {
|
|
789
|
-
reader_question_refs: string[];
|
|
790
|
-
logical_unit_ref: string;
|
|
791
789
|
subject_key: {
|
|
792
790
|
kind: string;
|
|
793
|
-
protocol: "context.subject-key/v1";
|
|
794
791
|
namespace: string;
|
|
792
|
+
protocol: "context.subject-key/v1";
|
|
795
793
|
local_key: string;
|
|
796
794
|
};
|
|
795
|
+
reader_question_refs: string[];
|
|
796
|
+
logical_unit_ref: string;
|
|
797
797
|
group_key: string;
|
|
798
798
|
member_ids: string[];
|
|
799
799
|
subject_intent: "primary" | "enrich-or-independent";
|
|
@@ -806,23 +806,23 @@ export declare const indexerPartitionPlanSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
806
806
|
member_dispositions: ({
|
|
807
807
|
group_key: string;
|
|
808
808
|
member_id: string;
|
|
809
|
-
member_kind: "
|
|
809
|
+
member_kind: "document" | "handler" | "entry" | "project" | "route" | "component" | "service" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
|
|
810
810
|
inventory_disposition: "owned";
|
|
811
811
|
} | {
|
|
812
812
|
member_id: string;
|
|
813
|
-
member_kind: "
|
|
813
|
+
member_kind: "document" | "handler" | "entry" | "project" | "route" | "component" | "service" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
|
|
814
814
|
inventory_disposition: "excluded-with-reason";
|
|
815
815
|
reason_code: string;
|
|
816
816
|
} | {
|
|
817
817
|
member_id: string;
|
|
818
|
-
member_kind: "
|
|
818
|
+
member_kind: "document" | "handler" | "entry" | "project" | "route" | "component" | "service" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
|
|
819
819
|
inventory_disposition: "unsupported";
|
|
820
820
|
missing_capabilities: string[];
|
|
821
821
|
})[];
|
|
822
822
|
canonical_hash: string;
|
|
823
823
|
}, {
|
|
824
|
-
protocol: "context.indexer.partition-plan/v1";
|
|
825
824
|
status: "failed";
|
|
825
|
+
protocol: "context.indexer.partition-plan/v1";
|
|
826
826
|
reader_question_refs: string[];
|
|
827
827
|
failure: {
|
|
828
828
|
code: "unsupported-domain" | "no-stable-axis" | "insufficient-identity-facts" | "invalid-input" | "strategy-failed";
|
|
@@ -832,7 +832,6 @@ export declare const indexerPartitionPlanSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
832
832
|
missing_source_refs?: string[] | undefined;
|
|
833
833
|
};
|
|
834
834
|
binding: {
|
|
835
|
-
source_refs: string[];
|
|
836
835
|
module_ref: string | null;
|
|
837
836
|
requirement_digest: string;
|
|
838
837
|
indexer_id: string;
|
|
@@ -840,14 +839,15 @@ export declare const indexerPartitionPlanSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
840
839
|
subject_key_schema_digest: string;
|
|
841
840
|
partition_subject_key: {
|
|
842
841
|
kind: string;
|
|
843
|
-
protocol: "context.subject-key/v1";
|
|
844
842
|
namespace: string;
|
|
843
|
+
protocol: "context.subject-key/v1";
|
|
845
844
|
local_key: string;
|
|
846
845
|
};
|
|
847
846
|
source_scope_digest: string;
|
|
848
847
|
question_target_inventory_digest: string;
|
|
849
848
|
partition_workset_digest: string;
|
|
850
849
|
indexer_fingerprint: string;
|
|
850
|
+
source_refs: string[];
|
|
851
851
|
parent_scope_ref: string;
|
|
852
852
|
};
|
|
853
853
|
strategy_ref: {
|
|
@@ -864,14 +864,14 @@ export declare const indexerPartitionPlanSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
864
864
|
unit_type: string;
|
|
865
865
|
partition_axis: string;
|
|
866
866
|
groups: {
|
|
867
|
-
reader_question_refs: string[];
|
|
868
|
-
logical_unit_ref: string;
|
|
869
867
|
subject_key: {
|
|
870
868
|
kind: string;
|
|
871
|
-
protocol: "context.subject-key/v1";
|
|
872
869
|
namespace: string;
|
|
870
|
+
protocol: "context.subject-key/v1";
|
|
873
871
|
local_key: string;
|
|
874
872
|
};
|
|
873
|
+
reader_question_refs: string[];
|
|
874
|
+
logical_unit_ref: string;
|
|
875
875
|
group_key: string;
|
|
876
876
|
member_ids: string[];
|
|
877
877
|
subject_intent: "primary" | "enrich-or-independent";
|
|
@@ -884,16 +884,16 @@ export declare const indexerPartitionPlanSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
884
884
|
member_dispositions: ({
|
|
885
885
|
group_key: string;
|
|
886
886
|
member_id: string;
|
|
887
|
-
member_kind: "
|
|
887
|
+
member_kind: "document" | "handler" | "entry" | "project" | "route" | "component" | "service" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
|
|
888
888
|
inventory_disposition: "owned";
|
|
889
889
|
} | {
|
|
890
890
|
member_id: string;
|
|
891
|
-
member_kind: "
|
|
891
|
+
member_kind: "document" | "handler" | "entry" | "project" | "route" | "component" | "service" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
|
|
892
892
|
inventory_disposition: "excluded-with-reason";
|
|
893
893
|
reason_code: string;
|
|
894
894
|
} | {
|
|
895
895
|
member_id: string;
|
|
896
|
-
member_kind: "
|
|
896
|
+
member_kind: "document" | "handler" | "entry" | "project" | "route" | "component" | "service" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
|
|
897
897
|
inventory_disposition: "unsupported";
|
|
898
898
|
missing_capabilities: string[];
|
|
899
899
|
})[];
|
|
@@ -904,6 +904,8 @@ export type IndexerPartitionGroup = z.infer<typeof partitionGroupSchema>;
|
|
|
904
904
|
export type IndexerMemberDisposition = z.infer<typeof memberDispositionSchema>;
|
|
905
905
|
export declare function indexerPartitionPlanCanonicalHash(plan: Omit<IndexerPartitionPlan, "canonical_hash">): string;
|
|
906
906
|
export declare function indexerPartitionPlanBindingDigest(plan: IndexerPartitionPlan): string;
|
|
907
|
+
export declare function indexerPartitionGroupBindingDigest(plan: IndexerPartitionPlan, groupKey: string): string;
|
|
908
|
+
export declare function indexerPartitionGroupQuestionTargetInventoryDigest(plan: IndexerPartitionPlan, groupKey: string): string;
|
|
907
909
|
export declare function indexerPartitionGroupProjectionDigest(plan: IndexerPartitionPlan, groupKey: string): string;
|
|
908
910
|
export declare function validateIndexerPartitionPlan(input: {
|
|
909
911
|
plan: unknown;
|