@c4a/context 0.7.1 → 0.7.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (117) hide show
  1. package/README.md +65 -170
  2. package/README.zh-CN.md +52 -129
  3. package/docs/README.md +9 -10
  4. package/docs/README.zh-CN.md +6 -7
  5. package/docs/getting-started.md +73 -428
  6. package/docs/guides/agent-guide.md +94 -518
  7. package/docs/guides/code-indexer-skill-authoring.md +24 -13
  8. package/docs/guides/markdown-indexer-skill-authoring.md +14 -14
  9. package/docs/reference/code-extractors.md +29 -121
  10. package/docs/reference/indexer-provider-protocol.md +43 -110
  11. package/docs/reference/package-templates.md +2 -3
  12. package/docs/reference/project-api.md +52 -986
  13. package/index.d.ts +10 -8
  14. package/index.js +4739 -7103
  15. package/indexerAgentStepProtocol.d.ts +1366 -7649
  16. package/indexerArtifact.d.ts +225 -0
  17. package/indexerArtifactDependencies.d.ts +41 -39
  18. package/indexerArtifactResult.d.ts +219 -252
  19. package/indexerAuthorizedWorksetView.d.ts +368 -0
  20. package/indexerBaseQuestionAmendment.d.ts +484 -280
  21. package/indexerBenchmark.d.ts +16 -16
  22. package/indexerCandidateCompile.d.ts +66 -60
  23. package/indexerCapabilityGroupEvidence.d.ts +6 -6
  24. package/indexerCatalogFallback.d.ts +122 -128
  25. package/indexerCollectionMapping.d.ts +13 -13
  26. package/indexerContentLayers.d.ts +8 -8
  27. package/indexerContractOverlay.d.ts +10 -10
  28. package/indexerControlledInvocation.d.ts +12 -12
  29. package/indexerControlledProgram.d.ts +2467 -2797
  30. package/indexerCoreExports.d.ts +6 -6
  31. package/indexerCustomizationDraft.d.ts +3315 -2091
  32. package/indexerCustomizationLadder.d.ts +2 -2
  33. package/indexerDependencyView.d.ts +108 -108
  34. package/indexerEffectiveArtifact.d.ts +1134 -0
  35. package/indexerEvidenceAdapterAuthorityMerge.d.ts +48 -0
  36. package/indexerEvidenceAdapterResult.d.ts +52 -52
  37. package/indexerExampleDecision.d.ts +128 -128
  38. package/indexerExampleIdentity.d.ts +6 -6
  39. package/indexerGeneratedAuthoringAudit.d.ts +18 -18
  40. package/indexerIncrementalImpact.d.ts +16 -16
  41. package/indexerInspectorWorksetProjection.d.ts +6 -0
  42. package/indexerInventoryDisposition.d.ts +70 -70
  43. package/indexerLayerComposition.d.ts +2139 -373
  44. package/indexerLayoutChange.d.ts +10 -10
  45. package/indexerLayoutProposalSet.d.ts +71 -66
  46. package/indexerLayoutResolver.d.ts +53 -48
  47. package/indexerLayoutTransition.d.ts +0 -50
  48. package/indexerLifecycle.d.ts +0 -13
  49. package/indexerMainLifecycle.d.ts +10 -0
  50. package/indexerMainRunLedger.d.ts +138 -11
  51. package/indexerMainRunProtocol.d.ts +1406 -785
  52. package/indexerMainWorkset.d.ts +460 -206
  53. package/indexerMaterialGapLedger.d.ts +13 -2904
  54. package/indexerOverlayQuestionAmendment.d.ts +491 -287
  55. package/indexerOverlayQuestionApplyProposal.d.ts +1022 -614
  56. package/indexerParserCapabilityCatalog.d.ts +136 -0
  57. package/indexerParserCoordinate.d.ts +16 -16
  58. package/indexerParserDependencyIntent.d.ts +22 -0
  59. package/indexerParserExecutionPlan.d.ts +388 -0
  60. package/indexerParserFactView.d.ts +42 -22
  61. package/indexerPartitionConvergence.d.ts +0 -3
  62. package/indexerPartitionInventory.d.ts +2 -0
  63. package/indexerPartitionPlan.d.ts +101 -99
  64. package/indexerPhysicalArtifactManifest.d.ts +8 -8
  65. package/indexerPostAuthorComposition.d.ts +116 -1156
  66. package/indexerPostAuthorRunLedger.d.ts +1434 -280
  67. package/indexerPrimaryProjection.d.ts +10 -10
  68. package/indexerPrimaryResultView.d.ts +435 -0
  69. package/indexerProfileContract.d.ts +181 -181
  70. package/indexerProgramExecutionAuthorization.d.ts +12 -12
  71. package/indexerProgramRunProtocol.d.ts +2141 -2749
  72. package/indexerProjectProposal.d.ts +496 -292
  73. package/indexerProjectedArtifactFanOutAudit.d.ts +0 -3
  74. package/indexerProtocolCommon.d.ts +4 -1
  75. package/indexerProvider.d.ts +134 -218
  76. package/indexerProviderComposition.d.ts +53 -53
  77. package/indexerProviderResolution.d.ts +12 -12
  78. package/indexerProviderResolutionAction.d.ts +14 -14
  79. package/indexerProviderRouting.d.ts +923 -515
  80. package/indexerProviderSelectionProposal.d.ts +893 -485
  81. package/indexerQuestionAuthority.d.ts +46 -47
  82. package/indexerReaderTargetInventory.d.ts +8 -8
  83. package/indexerRegistry.d.ts +765 -357
  84. package/indexerRequirementConfirmation.d.ts +98 -98
  85. package/indexerRequirementLifecycle.d.ts +224 -224
  86. package/indexerResultReconciliation.d.ts +204 -5919
  87. package/indexerResultReconciliationRun.d.ts +0 -1
  88. package/indexerRunEnvelope.d.ts +20 -20
  89. package/indexerSemanticInput.d.ts +3678 -0
  90. package/indexerStructuredDeclaration.d.ts +57 -53
  91. package/indexerSubjectCatalog.d.ts +14 -14
  92. package/indexerSubjectIdentity.d.ts +2 -2
  93. package/indexerSubjectKeyAuthority.d.ts +31 -30
  94. package/indexerTemplateRendering.d.ts +64 -64
  95. package/indexerToolSnapshot.d.ts +8 -8
  96. package/package.json +1 -1
  97. package/phases.d.ts +3 -183
  98. package/codeIndexPlan.d.ts +0 -158
  99. package/indexerAuditFacts.d.ts +0 -66
  100. package/indexerAuditOverrideReadiness.d.ts +0 -27
  101. package/indexerAuditProtocol.d.ts +0 -238
  102. package/indexerAuditRevision.d.ts +0 -726
  103. package/indexerAuditRevisionActions.d.ts +0 -236
  104. package/indexerMaterialAnswer.d.ts +0 -738
  105. package/indexerMaterialAnswerActualization.d.ts +0 -91
  106. package/indexerMaterialAnswerExecutionPlan.d.ts +0 -2887
  107. package/indexerMaterialAnswerFlow.d.ts +0 -63
  108. package/indexerMaterialAnswerLayout.d.ts +0 -76
  109. package/indexerMaterialAnswerReview.d.ts +0 -217
  110. package/indexerMaterialAnswerReviewRoute.d.ts +0 -6145
  111. package/indexerMaterialAnswerRunLedger.d.ts +0 -918
  112. package/indexerMaterialAnswerRunProtocol.d.ts +0 -1253
  113. package/indexerMaterialQuestionExclusion.d.ts +0 -129
  114. package/indexerMaterialQuestionWorkset.d.ts +0 -508
  115. package/indexerPlannedMaterialAnswer.d.ts +0 -116
  116. package/indexerProfileMetricAudit.d.ts +0 -218
  117. package/indexerWorksetRead.d.ts +0 -287
@@ -9,6 +9,7 @@ export declare const indexerLayoutProposalSchema: z.ZodObject<{
9
9
  subject_key_schema_set_digest: z.ZodString;
10
10
  subject_key_schema_digest: z.ZodString;
11
11
  artifact_result_digest: z.ZodString;
12
+ post_author_composition_fingerprint: z.ZodNullable<z.ZodString>;
12
13
  shared_artifact_fingerprint: z.ZodObject<{
13
14
  protocol: z.ZodLiteral<"context.indexer.shared-artifact-fingerprint/v1">;
14
15
  indexer_id: z.ZodEffects<z.ZodString, string, string>;
@@ -41,28 +42,28 @@ export declare const indexerLayoutProposalSchema: z.ZodObject<{
41
42
  local_key: z.ZodEffects<z.ZodString, string, string>;
42
43
  }, "strict", z.ZodTypeAny, {
43
44
  kind: string;
44
- protocol: "context.subject-key/v1";
45
45
  namespace: string;
46
+ protocol: "context.subject-key/v1";
46
47
  local_key: string;
47
48
  }, {
48
49
  kind: string;
49
- protocol: "context.subject-key/v1";
50
50
  namespace: string;
51
+ protocol: "context.subject-key/v1";
51
52
  local_key: string;
52
53
  }>;
53
54
  }, "strict", z.ZodTypeAny, {
54
55
  subject_key: {
55
56
  kind: string;
56
- protocol: "context.subject-key/v1";
57
57
  namespace: string;
58
+ protocol: "context.subject-key/v1";
58
59
  local_key: string;
59
60
  };
60
61
  node_ref: string;
61
62
  }, {
62
63
  subject_key: {
63
64
  kind: string;
64
- protocol: "context.subject-key/v1";
65
65
  namespace: string;
66
+ protocol: "context.subject-key/v1";
66
67
  local_key: string;
67
68
  };
68
69
  node_ref: string;
@@ -106,52 +107,52 @@ export declare const indexerLayoutProposalSchema: z.ZodObject<{
106
107
  collection_resolution_digest: z.ZodString;
107
108
  }, "strict", z.ZodTypeAny, {
108
109
  evidence_refs: string[];
109
- artifact_kind: string;
110
- state: "material-gap" | "structured" | "rendered";
111
- document_kind: string;
112
- reader_goal: string;
113
110
  content_digest: string | null;
114
111
  section_key: string;
115
- material_question_proposal_ref: string | null;
116
112
  owner_indexer_id: string;
113
+ document_kind: string;
114
+ reader_goal: string;
115
+ artifact_kind: string;
116
+ state: "material-gap" | "structured" | "rendered";
117
+ material_question_proposal_ref: string | null;
117
118
  section_ref: string;
118
119
  section_identity_ref: string;
119
120
  collection_resolution_digest: string;
120
121
  }, {
121
122
  evidence_refs: string[];
122
- artifact_kind: string;
123
- state: "material-gap" | "structured" | "rendered";
124
- document_kind: string;
125
- reader_goal: string;
126
123
  content_digest: string | null;
127
124
  section_key: string;
128
- material_question_proposal_ref: string | null;
129
125
  owner_indexer_id: string;
126
+ document_kind: string;
127
+ reader_goal: string;
128
+ artifact_kind: string;
129
+ state: "material-gap" | "structured" | "rendered";
130
+ material_question_proposal_ref: string | null;
130
131
  section_ref: string;
131
132
  section_identity_ref: string;
132
133
  collection_resolution_digest: string;
133
134
  }>, "many">;
134
135
  }, "strict", z.ZodTypeAny, {
135
- collection: import("./contracts.js").TopLevelNamespace;
136
136
  output_path: string;
137
137
  artifact_kind: string;
138
138
  artifact_id: string;
139
- purpose: "required" | "discretionary" | "semantic-split";
140
- node_ref: string;
141
139
  sections: {
142
140
  evidence_refs: string[];
143
- artifact_kind: string;
144
- state: "material-gap" | "structured" | "rendered";
145
- document_kind: string;
146
- reader_goal: string;
147
141
  content_digest: string | null;
148
142
  section_key: string;
149
- material_question_proposal_ref: string | null;
150
143
  owner_indexer_id: string;
144
+ document_kind: string;
145
+ reader_goal: string;
146
+ artifact_kind: string;
147
+ state: "material-gap" | "structured" | "rendered";
148
+ material_question_proposal_ref: string | null;
151
149
  section_ref: string;
152
150
  section_identity_ref: string;
153
151
  collection_resolution_digest: string;
154
152
  }[];
153
+ collection: import("./contracts.js").TopLevelNamespace;
154
+ purpose: "required" | "discretionary" | "semantic-split";
155
+ node_ref: string;
155
156
  artifact_ref: string;
156
157
  internal_view_ref: string;
157
158
  shared_artifact_fingerprint_digest: string;
@@ -162,26 +163,26 @@ export declare const indexerLayoutProposalSchema: z.ZodObject<{
162
163
  end_key: string;
163
164
  } | null;
164
165
  }, {
165
- collection: import("./contracts.js").TopLevelNamespace;
166
166
  output_path: string;
167
167
  artifact_kind: string;
168
168
  artifact_id: string;
169
- purpose: "required" | "discretionary" | "semantic-split";
170
- node_ref: string;
171
169
  sections: {
172
170
  evidence_refs: string[];
173
- artifact_kind: string;
174
- state: "material-gap" | "structured" | "rendered";
175
- document_kind: string;
176
- reader_goal: string;
177
171
  content_digest: string | null;
178
172
  section_key: string;
179
- material_question_proposal_ref: string | null;
180
173
  owner_indexer_id: string;
174
+ document_kind: string;
175
+ reader_goal: string;
176
+ artifact_kind: string;
177
+ state: "material-gap" | "structured" | "rendered";
178
+ material_question_proposal_ref: string | null;
181
179
  section_ref: string;
182
180
  section_identity_ref: string;
183
181
  collection_resolution_digest: string;
184
182
  }[];
183
+ collection: import("./contracts.js").TopLevelNamespace;
184
+ purpose: "required" | "discretionary" | "semantic-split";
185
+ node_ref: string;
185
186
  artifact_ref: string;
186
187
  internal_view_ref: string;
187
188
  shared_artifact_fingerprint_digest: string;
@@ -201,33 +202,33 @@ export declare const indexerLayoutProposalSchema: z.ZodObject<{
201
202
  node: {
202
203
  subject_key: {
203
204
  kind: string;
204
- protocol: "context.subject-key/v1";
205
205
  namespace: string;
206
+ protocol: "context.subject-key/v1";
206
207
  local_key: string;
207
208
  };
208
209
  node_ref: string;
209
210
  };
210
211
  artifacts: {
211
- collection: import("./contracts.js").TopLevelNamespace;
212
212
  output_path: string;
213
213
  artifact_kind: string;
214
214
  artifact_id: string;
215
- purpose: "required" | "discretionary" | "semantic-split";
216
- node_ref: string;
217
215
  sections: {
218
216
  evidence_refs: string[];
219
- artifact_kind: string;
220
- state: "material-gap" | "structured" | "rendered";
221
- document_kind: string;
222
- reader_goal: string;
223
217
  content_digest: string | null;
224
218
  section_key: string;
225
- material_question_proposal_ref: string | null;
226
219
  owner_indexer_id: string;
220
+ document_kind: string;
221
+ reader_goal: string;
222
+ artifact_kind: string;
223
+ state: "material-gap" | "structured" | "rendered";
224
+ material_question_proposal_ref: string | null;
227
225
  section_ref: string;
228
226
  section_identity_ref: string;
229
227
  collection_resolution_digest: string;
230
228
  }[];
229
+ collection: import("./contracts.js").TopLevelNamespace;
230
+ purpose: "required" | "discretionary" | "semantic-split";
231
+ node_ref: string;
231
232
  artifact_ref: string;
232
233
  internal_view_ref: string;
233
234
  shared_artifact_fingerprint_digest: string;
@@ -252,6 +253,7 @@ export declare const indexerLayoutProposalSchema: z.ZodObject<{
252
253
  };
253
254
  proposal_digest: string;
254
255
  subject_key_schema_set_digest: string;
256
+ post_author_composition_fingerprint: string | null;
255
257
  }, {
256
258
  source_ref: string;
257
259
  protocol: "context.indexer.layout-proposal/v1";
@@ -259,33 +261,33 @@ export declare const indexerLayoutProposalSchema: z.ZodObject<{
259
261
  node: {
260
262
  subject_key: {
261
263
  kind: string;
262
- protocol: "context.subject-key/v1";
263
264
  namespace: string;
265
+ protocol: "context.subject-key/v1";
264
266
  local_key: string;
265
267
  };
266
268
  node_ref: string;
267
269
  };
268
270
  artifacts: {
269
- collection: import("./contracts.js").TopLevelNamespace;
270
271
  output_path: string;
271
272
  artifact_kind: string;
272
273
  artifact_id: string;
273
- purpose: "required" | "discretionary" | "semantic-split";
274
- node_ref: string;
275
274
  sections: {
276
275
  evidence_refs: string[];
277
- artifact_kind: string;
278
- state: "material-gap" | "structured" | "rendered";
279
- document_kind: string;
280
- reader_goal: string;
281
276
  content_digest: string | null;
282
277
  section_key: string;
283
- material_question_proposal_ref: string | null;
284
278
  owner_indexer_id: string;
279
+ document_kind: string;
280
+ reader_goal: string;
281
+ artifact_kind: string;
282
+ state: "material-gap" | "structured" | "rendered";
283
+ material_question_proposal_ref: string | null;
285
284
  section_ref: string;
286
285
  section_identity_ref: string;
287
286
  collection_resolution_digest: string;
288
287
  }[];
288
+ collection: import("./contracts.js").TopLevelNamespace;
289
+ purpose: "required" | "discretionary" | "semantic-split";
290
+ node_ref: string;
289
291
  artifact_ref: string;
290
292
  internal_view_ref: string;
291
293
  shared_artifact_fingerprint_digest: string;
@@ -310,6 +312,7 @@ export declare const indexerLayoutProposalSchema: z.ZodObject<{
310
312
  };
311
313
  proposal_digest: string;
312
314
  subject_key_schema_set_digest: string;
315
+ post_author_composition_fingerprint: string | null;
313
316
  }>;
314
317
  export type IndexerLayoutProposal = z.infer<typeof indexerLayoutProposalSchema>;
315
318
  export declare function indexerLayoutArtifactRef(nodeRef: string, artifact: {
@@ -325,6 +328,7 @@ export declare function indexerLayoutSectionIdentityRef(input: {
325
328
  export declare function indexerLayoutSectionRef(currentArtifactRef: string, sectionIdentityRef: string): string;
326
329
  export declare function resolveIndexerLayout(input: {
327
330
  artifact_result: unknown;
331
+ post_author_envelope?: unknown | null;
328
332
  profile: string;
329
333
  profile_contract: unknown;
330
334
  operator_contract: unknown;
@@ -335,6 +339,7 @@ export declare function resolveIndexerLayout(input: {
335
339
  export declare function validateIndexerLayoutProposal(input: {
336
340
  proposal: unknown;
337
341
  artifact_result: unknown;
342
+ post_author_envelope?: unknown | null;
338
343
  profile_contract: unknown;
339
344
  operator_contract: unknown;
340
345
  subject_key_schema_set: unknown;
@@ -3,31 +3,6 @@ export declare const indexerLayoutTransitionSchema: z.ZodObject<{
3
3
  protocol: z.ZodLiteral<"context.indexer.layout-transition/v1">;
4
4
  layout_proposal_set_digest: z.ZodString;
5
5
  base_projection_digests: z.ZodArray<z.ZodString, "many">;
6
- planned_output: z.ZodDiscriminatedUnion<"state", [z.ZodObject<{
7
- state: z.ZodLiteral<"not-required">;
8
- actualization_digest: z.ZodNull;
9
- landing_mapping_count: z.ZodLiteral<0>;
10
- }, "strict", z.ZodTypeAny, {
11
- state: "not-required";
12
- actualization_digest: null;
13
- landing_mapping_count: 0;
14
- }, {
15
- state: "not-required";
16
- actualization_digest: null;
17
- landing_mapping_count: 0;
18
- }>, z.ZodObject<{
19
- state: z.ZodLiteral<"actualized">;
20
- actualization_digest: z.ZodString;
21
- landing_mapping_count: z.ZodNumber;
22
- }, "strict", z.ZodTypeAny, {
23
- state: "actualized";
24
- actualization_digest: string;
25
- landing_mapping_count: number;
26
- }, {
27
- state: "actualized";
28
- actualization_digest: string;
29
- landing_mapping_count: number;
30
- }>]>;
31
6
  change_reports: z.ZodArray<z.ZodObject<{
32
7
  protocol: z.ZodLiteral<"context.indexer.layout-change-report/v1">;
33
8
  base_projection_digest: z.ZodNullable<z.ZodString>;
@@ -153,15 +128,6 @@ export declare const indexerLayoutTransitionSchema: z.ZodObject<{
153
128
  requires_confirmation: boolean;
154
129
  layout_proposal_set_digest: string;
155
130
  base_projection_digests: string[];
156
- planned_output: {
157
- state: "not-required";
158
- actualization_digest: null;
159
- landing_mapping_count: 0;
160
- } | {
161
- state: "actualized";
162
- actualization_digest: string;
163
- landing_mapping_count: number;
164
- };
165
131
  change_reports: {
166
132
  protocol: "context.indexer.layout-change-report/v1";
167
133
  report_digest: string;
@@ -197,15 +163,6 @@ export declare const indexerLayoutTransitionSchema: z.ZodObject<{
197
163
  requires_confirmation: boolean;
198
164
  layout_proposal_set_digest: string;
199
165
  base_projection_digests: string[];
200
- planned_output: {
201
- state: "not-required";
202
- actualization_digest: null;
203
- landing_mapping_count: 0;
204
- } | {
205
- state: "actualized";
206
- actualization_digest: string;
207
- landing_mapping_count: number;
208
- };
209
166
  change_reports: {
210
167
  protocol: "context.indexer.layout-change-report/v1";
211
168
  report_digest: string;
@@ -233,15 +190,8 @@ export declare const indexerLayoutTransitionSchema: z.ZodObject<{
233
190
  transition_digest: string;
234
191
  }>;
235
192
  export type IndexerLayoutTransition = z.infer<typeof indexerLayoutTransitionSchema>;
236
- export type IndexerPlannedOutputActualization = {
237
- state: "not-required";
238
- } | {
239
- state: "actualized";
240
- proposal: unknown;
241
- };
242
193
  export declare function buildIndexerLayoutTransition(input: {
243
194
  layout_proposal_set: unknown;
244
195
  base_projections: readonly unknown[];
245
- planned_output: IndexerPlannedOutputActualization;
246
196
  }): IndexerLayoutTransition;
247
197
  export declare function validateIndexerLayoutTransition(value: unknown): IndexerLayoutTransition;
@@ -33,21 +33,8 @@ export * from "./indexerMainRunProtocol.js";
33
33
  export * from "./indexerMainRunLedger.js";
34
34
  export * from "./indexerPrimaryProjection.js";
35
35
  export * from "./indexerPostAuthorRunLedger.js";
36
- export * from "./indexerWorksetRead.js";
37
36
  export * from "./indexerRestrictedSelector.js";
38
37
  export * from "./indexerQuestionAuthority.js";
39
- export * from "./indexerMaterialQuestionWorkset.js";
40
- export * from "./indexerMaterialAnswer.js";
41
- export * from "./indexerMaterialAnswerReview.js";
42
- export * from "./indexerMaterialAnswerReviewRoute.js";
43
- export * from "./indexerMaterialAnswerLayout.js";
44
- export * from "./indexerPlannedMaterialAnswer.js";
45
- export * from "./indexerMaterialAnswerActualization.js";
46
- export * from "./indexerMaterialAnswerFlow.js";
47
38
  export * from "./indexerRunProtocolCommon.js";
48
- export * from "./indexerMaterialAnswerRunProtocol.js";
49
- export * from "./indexerMaterialAnswerExecutionPlan.js";
50
- export * from "./indexerMaterialAnswerRunLedger.js";
51
39
  export * from "./indexerProgramRunProtocol.js";
52
40
  export * from "./indexerMaterialGapLedger.js";
53
- export * from "./indexerMaterialQuestionExclusion.js";
@@ -188,6 +188,8 @@ export declare const indexerMainWorksetStatusSchema: z.ZodObject<{
188
188
  stage: z.ZodEnum<["partition", "author"]>;
189
189
  indexer_id: z.ZodEffects<z.ZodString, string, string>;
190
190
  owner_cohort_ref: z.ZodString;
191
+ partition_key: z.ZodOptional<z.ZodString>;
192
+ partition_binding_digest: z.ZodOptional<z.ZodString>;
191
193
  group_key: z.ZodOptional<z.ZodString>;
192
194
  state: z.ZodEnum<["pending", "failed", "stale"]>;
193
195
  }, "strict", z.ZodTypeAny, {
@@ -197,6 +199,8 @@ export declare const indexerMainWorksetStatusSchema: z.ZodObject<{
197
199
  stage: "partition" | "author";
198
200
  owner_cohort_ref: string;
199
201
  group_key?: string | undefined;
202
+ partition_key?: string | undefined;
203
+ partition_binding_digest?: string | undefined;
200
204
  }, {
201
205
  workset_digest: string;
202
206
  state: "failed" | "pending" | "stale";
@@ -204,6 +208,8 @@ export declare const indexerMainWorksetStatusSchema: z.ZodObject<{
204
208
  stage: "partition" | "author";
205
209
  owner_cohort_ref: string;
206
210
  group_key?: string | undefined;
211
+ partition_key?: string | undefined;
212
+ partition_binding_digest?: string | undefined;
207
213
  }>, "many">;
208
214
  accepted_result_set_digest: z.ZodString;
209
215
  outcome: z.ZodEnum<["complete", "index-main-workset-pending", "index-main-workset-failed", "index-main-workset-stale"]>;
@@ -225,6 +231,8 @@ export declare const indexerMainWorksetStatusSchema: z.ZodObject<{
225
231
  stage: "partition" | "author";
226
232
  owner_cohort_ref: string;
227
233
  group_key?: string | undefined;
234
+ partition_key?: string | undefined;
235
+ partition_binding_digest?: string | undefined;
228
236
  }[];
229
237
  accepted_result_set_digest: string;
230
238
  can_advance: boolean;
@@ -245,6 +253,8 @@ export declare const indexerMainWorksetStatusSchema: z.ZodObject<{
245
253
  stage: "partition" | "author";
246
254
  owner_cohort_ref: string;
247
255
  group_key?: string | undefined;
256
+ partition_key?: string | undefined;
257
+ partition_binding_digest?: string | undefined;
248
258
  }[];
249
259
  accepted_result_set_digest: string;
250
260
  can_advance: boolean;