@c4a/context 0.7.8 → 0.7.10-alpha.1
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/articleStructure.d.ts +254 -0
- package/docs/guides/agent-dialogue.md +6 -5
- package/docs/guides/agent-guide.md +11 -5
- package/docs/guides/code-indexer-skill-authoring.md +76 -178
- package/docs/guides/indexer-provider-and-customization.md +93 -398
- package/docs/guides/indexer-skill-creation.md +107 -97
- package/docs/guides/knowledge-updates.md +137 -18
- package/docs/guides/markdown-indexer-skill-authoring.md +57 -134
- package/docs/guides/package-outputs.md +213 -47
- package/docs/reference/indexer-provider-protocol.md +71 -102
- package/docs/reference/package-templates.md +39 -65
- package/docs/reference/project-api.md +53 -0
- package/docs/reference/template-variables.md +2 -3
- package/index.d.ts +11 -11
- package/index.js +5826 -8062
- package/indexerAgentStepProtocol.d.ts +0 -910
- package/indexerApprovedKnowledge.d.ts +98 -359
- package/indexerArticlePlan.d.ts +3 -26
- package/indexerArtifact.d.ts +201 -70
- package/indexerArtifactPolicy.d.ts +4 -22
- package/indexerArtifactResult.d.ts +240 -888
- package/indexerAuthoringFixture.d.ts +0 -13
- package/indexerBenchmark.d.ts +2 -2
- package/indexerCandidateCompile.d.ts +123 -167
- package/indexerCatalogFallback.d.ts +32 -374
- package/indexerCollectionMapping.d.ts +2 -2
- package/indexerContentLayers.d.ts +187 -41
- package/indexerContractOverlay.d.ts +30 -44
- package/indexerControlledInvocation.d.ts +6 -6
- package/indexerControlledProgram.d.ts +959 -3020
- package/indexerDependencyView.d.ts +96 -96
- package/indexerEffectiveArtifact.d.ts +381 -242
- package/indexerExampleDecision.d.ts +134 -134
- package/indexerExampleIdentity.d.ts +6 -6
- package/indexerExampleIdentityAudit.d.ts +6 -6
- package/indexerInventoryDisposition.d.ts +0 -39
- package/indexerLayerComposition.d.ts +1378 -852
- package/indexerLayoutChange.d.ts +24 -33
- package/indexerLayoutProposalSet.d.ts +143 -137
- package/indexerLayoutResolver.d.ts +116 -101
- package/indexerLayoutTransition.d.ts +6 -6
- package/indexerMainLifecycle.d.ts +1 -11
- package/indexerMainRunLedger.d.ts +0 -14
- package/indexerMainRunProtocol.d.ts +806 -2530
- package/indexerMainWorkset.d.ts +0 -1212
- package/indexerNavigationArtifactPlan.d.ts +2 -2
- package/indexerOverlayQuestionApplyProposal.d.ts +0 -4
- package/indexerParserCoordinate.d.ts +2 -2
- package/indexerParserExecutionPlan.d.ts +42 -42
- package/indexerPartitionPlan.d.ts +24 -354
- package/indexerPhysicalArtifactManifest.d.ts +12 -27
- package/indexerPostAuthorComposition.d.ts +2 -253
- package/indexerPostAuthorRunLedger.d.ts +860 -562
- package/indexerPrimaryProjection.d.ts +2 -2
- package/indexerPrimaryResultView.d.ts +0 -318
- package/indexerProfileContract.d.ts +200 -549
- package/indexerProgramExecutionAuthorization.d.ts +4 -4
- package/indexerProgramRunProtocol.d.ts +806 -2527
- package/indexerProjectProposal.d.ts +8 -8
- package/indexerProjectedArtifactFanOutAudit.d.ts +8 -8
- package/indexerProjectedArtifactPlan.d.ts +0 -9
- package/indexerProtocolHash.d.ts +2 -0
- package/indexerProvider.d.ts +76 -318
- package/indexerProviderComposition.d.ts +16 -42
- package/indexerQuestionAuthority.d.ts +2 -82
- package/indexerReaderTargetInventory.d.ts +6 -6
- package/indexerRegistry.d.ts +606 -0
- package/indexerRequirementLifecycle.d.ts +6 -6
- package/indexerResultReconciliation.d.ts +35 -149
- package/indexerSemanticInput.d.ts +10926 -5665
- package/indexerStructuredDeclaration.d.ts +24 -24
- package/indexerTemplateRendering.d.ts +239 -113
- package/{readingStructure.d.ts → knowledgeMap.d.ts} +21 -21
- package/package.json +1 -1
- package/packageSite.d.ts +25 -0
- package/templates/package-templates/kb/skills/knowledge-query/SKILL.md +13 -16
- package/templates/package-templates.zh-CN/kb/skills/knowledge-query/SKILL.md +9 -9
- package/indexerArtifactDependencies.d.ts +0 -693
- package/indexerCompositionFactDependencies.d.ts +0 -16
- package/indexerExampleFactDependencies.d.ts +0 -17
- package/indexerIncrementalImpact.d.ts +0 -221
- package/indexerKnowledgeDependency.d.ts +0 -46
- package/indexerSubjectCatalog.d.ts +0 -230
- package/indexerSubjectKeyAuthority.d.ts +0 -786
|
@@ -18,16 +18,13 @@ export declare const indexerAuthoringFixtureSchema: z.ZodObject<{
|
|
|
18
18
|
artifact_kind: z.ZodEffects<z.ZodString, string, string>;
|
|
19
19
|
purpose: z.ZodEnum<["required", "discretionary"]>;
|
|
20
20
|
reader_question_refs: z.ZodArray<z.ZodString, "many">;
|
|
21
|
-
evidence_refs: z.ZodArray<z.ZodString, "many">;
|
|
22
21
|
}, "strict", z.ZodTypeAny, {
|
|
23
22
|
purpose: "required" | "discretionary";
|
|
24
|
-
evidence_refs: string[];
|
|
25
23
|
artifact_kind: string;
|
|
26
24
|
artifact_id: string;
|
|
27
25
|
reader_question_refs: string[];
|
|
28
26
|
}, {
|
|
29
27
|
purpose: "required" | "discretionary";
|
|
30
|
-
evidence_refs: string[];
|
|
31
28
|
artifact_kind: string;
|
|
32
29
|
artifact_id: string;
|
|
33
30
|
reader_question_refs: string[];
|
|
@@ -36,7 +33,6 @@ export declare const indexerAuthoringFixtureSchema: z.ZodObject<{
|
|
|
36
33
|
artifact_kind: z.ZodEffects<z.ZodString, string, string>;
|
|
37
34
|
purpose: z.ZodLiteral<"semantic-split">;
|
|
38
35
|
reader_question_refs: z.ZodArray<z.ZodString, "many">;
|
|
39
|
-
evidence_refs: z.ZodArray<z.ZodString, "many">;
|
|
40
36
|
split_of: z.ZodEffects<z.ZodString, string, string>;
|
|
41
37
|
boundary: z.ZodObject<{
|
|
42
38
|
axis: z.ZodEffects<z.ZodString, string, string>;
|
|
@@ -53,7 +49,6 @@ export declare const indexerAuthoringFixtureSchema: z.ZodObject<{
|
|
|
53
49
|
}>;
|
|
54
50
|
}, "strict", z.ZodTypeAny, {
|
|
55
51
|
purpose: "semantic-split";
|
|
56
|
-
evidence_refs: string[];
|
|
57
52
|
artifact_kind: string;
|
|
58
53
|
artifact_id: string;
|
|
59
54
|
reader_question_refs: string[];
|
|
@@ -65,7 +60,6 @@ export declare const indexerAuthoringFixtureSchema: z.ZodObject<{
|
|
|
65
60
|
};
|
|
66
61
|
}, {
|
|
67
62
|
purpose: "semantic-split";
|
|
68
|
-
evidence_refs: string[];
|
|
69
63
|
artifact_kind: string;
|
|
70
64
|
artifact_id: string;
|
|
71
65
|
reader_question_refs: string[];
|
|
@@ -76,22 +70,18 @@ export declare const indexerAuthoringFixtureSchema: z.ZodObject<{
|
|
|
76
70
|
end_key: string;
|
|
77
71
|
};
|
|
78
72
|
}>]>, "many">;
|
|
79
|
-
evidence_refs: z.ZodArray<z.ZodString, "many">;
|
|
80
73
|
}, "strict", z.ZodTypeAny, {
|
|
81
74
|
id: string;
|
|
82
75
|
protocol: "context.indexer.authoring-fixture/v1";
|
|
83
76
|
profile: string;
|
|
84
|
-
evidence_refs: string[];
|
|
85
77
|
artifact_policy_variant: string;
|
|
86
78
|
artifacts: ({
|
|
87
79
|
purpose: "required" | "discretionary";
|
|
88
|
-
evidence_refs: string[];
|
|
89
80
|
artifact_kind: string;
|
|
90
81
|
artifact_id: string;
|
|
91
82
|
reader_question_refs: string[];
|
|
92
83
|
} | {
|
|
93
84
|
purpose: "semantic-split";
|
|
94
|
-
evidence_refs: string[];
|
|
95
85
|
artifact_kind: string;
|
|
96
86
|
artifact_id: string;
|
|
97
87
|
reader_question_refs: string[];
|
|
@@ -111,17 +101,14 @@ export declare const indexerAuthoringFixtureSchema: z.ZodObject<{
|
|
|
111
101
|
id: string;
|
|
112
102
|
protocol: "context.indexer.authoring-fixture/v1";
|
|
113
103
|
profile: string;
|
|
114
|
-
evidence_refs: string[];
|
|
115
104
|
artifact_policy_variant: string;
|
|
116
105
|
artifacts: ({
|
|
117
106
|
purpose: "required" | "discretionary";
|
|
118
|
-
evidence_refs: string[];
|
|
119
107
|
artifact_kind: string;
|
|
120
108
|
artifact_id: string;
|
|
121
109
|
reader_question_refs: string[];
|
|
122
110
|
} | {
|
|
123
111
|
purpose: "semantic-split";
|
|
124
|
-
evidence_refs: string[];
|
|
125
112
|
artifact_kind: string;
|
|
126
113
|
artifact_id: string;
|
|
127
114
|
reader_question_refs: string[];
|
package/indexerBenchmark.d.ts
CHANGED
|
@@ -109,8 +109,8 @@ export declare const indexerBenchmarkManifestSchema: z.ZodObject<{
|
|
|
109
109
|
context_cli: string;
|
|
110
110
|
parser_set_digest: string;
|
|
111
111
|
};
|
|
112
|
-
requirement_digest: string;
|
|
113
112
|
manifest_digest: string;
|
|
113
|
+
requirement_digest: string;
|
|
114
114
|
registry_digest: string;
|
|
115
115
|
workload_id: string;
|
|
116
116
|
source_snapshots: {
|
|
@@ -127,8 +127,8 @@ export declare const indexerBenchmarkManifestSchema: z.ZodObject<{
|
|
|
127
127
|
context_cli: string;
|
|
128
128
|
parser_set_digest: string;
|
|
129
129
|
};
|
|
130
|
-
requirement_digest: string;
|
|
131
130
|
manifest_digest: string;
|
|
131
|
+
requirement_digest: string;
|
|
132
132
|
registry_digest: string;
|
|
133
133
|
workload_id: string;
|
|
134
134
|
source_snapshots: {
|
|
@@ -98,69 +98,11 @@ export declare const indexerCandidateCompileSchema: z.ZodObject<{
|
|
|
98
98
|
}>, "many">;
|
|
99
99
|
files: z.ZodArray<z.ZodObject<{
|
|
100
100
|
artifact_ref: z.ZodString;
|
|
101
|
-
node_ref: z.ZodString;
|
|
102
|
-
internal_view_ref: z.ZodString;
|
|
103
101
|
collection: z.ZodType<import("./contracts.js").TopLevelNamespace, z.ZodTypeDef, import("./contracts.js").TopLevelNamespace>;
|
|
104
102
|
artifact_kind: z.ZodEffects<z.ZodString, string, string>;
|
|
105
103
|
output_path: z.ZodEffects<z.ZodString, string, string>;
|
|
106
104
|
indexer_id: z.ZodEffects<z.ZodString, string, string>;
|
|
107
105
|
source_ref: z.ZodString;
|
|
108
|
-
evidence_bindings: z.ZodArray<z.ZodObject<{
|
|
109
|
-
evidence_ref: z.ZodString;
|
|
110
|
-
kind: z.ZodEnum<["code", "contract", "configuration", "documentation", "runbook", "decision-record", "test-result", "runtime-observation", "tool-snapshot"]>;
|
|
111
|
-
source_ref: z.ZodString;
|
|
112
|
-
module_ref: z.ZodNullable<z.ZodString>;
|
|
113
|
-
locator: z.ZodEffects<z.ZodObject<{
|
|
114
|
-
path: z.ZodEffects<z.ZodString, string, string>;
|
|
115
|
-
start_line: z.ZodNumber;
|
|
116
|
-
end_line: z.ZodNumber;
|
|
117
|
-
}, "strict", z.ZodTypeAny, {
|
|
118
|
-
path: string;
|
|
119
|
-
start_line: number;
|
|
120
|
-
end_line: number;
|
|
121
|
-
}, {
|
|
122
|
-
path: string;
|
|
123
|
-
start_line: number;
|
|
124
|
-
end_line: number;
|
|
125
|
-
}>, {
|
|
126
|
-
path: string;
|
|
127
|
-
start_line: number;
|
|
128
|
-
end_line: number;
|
|
129
|
-
}, {
|
|
130
|
-
path: string;
|
|
131
|
-
start_line: number;
|
|
132
|
-
end_line: number;
|
|
133
|
-
}>;
|
|
134
|
-
content_digest: z.ZodString;
|
|
135
|
-
coverage_tier: z.ZodEnum<["ast-catalog", "lightweight-evidence"]>;
|
|
136
|
-
binding_digest: z.ZodString;
|
|
137
|
-
}, "strict", z.ZodTypeAny, {
|
|
138
|
-
kind: "code" | "contract" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
139
|
-
source_ref: string;
|
|
140
|
-
locator: {
|
|
141
|
-
path: string;
|
|
142
|
-
start_line: number;
|
|
143
|
-
end_line: number;
|
|
144
|
-
};
|
|
145
|
-
content_digest: string;
|
|
146
|
-
module_ref: string | null;
|
|
147
|
-
coverage_tier: "ast-catalog" | "lightweight-evidence";
|
|
148
|
-
evidence_ref: string;
|
|
149
|
-
binding_digest: string;
|
|
150
|
-
}, {
|
|
151
|
-
kind: "code" | "contract" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
152
|
-
source_ref: string;
|
|
153
|
-
locator: {
|
|
154
|
-
path: string;
|
|
155
|
-
start_line: number;
|
|
156
|
-
end_line: number;
|
|
157
|
-
};
|
|
158
|
-
content_digest: string;
|
|
159
|
-
module_ref: string | null;
|
|
160
|
-
coverage_tier: "ast-catalog" | "lightweight-evidence";
|
|
161
|
-
evidence_ref: string;
|
|
162
|
-
binding_digest: string;
|
|
163
|
-
}>, "many">;
|
|
164
106
|
acceptance_digest: z.ZodString;
|
|
165
107
|
indexer_result_digest: z.ZodString;
|
|
166
108
|
artifact_result_digest: z.ZodString;
|
|
@@ -171,17 +113,73 @@ export declare const indexerCandidateCompileSchema: z.ZodObject<{
|
|
|
171
113
|
sections: z.ZodArray<z.ZodObject<{
|
|
172
114
|
section_ref: z.ZodString;
|
|
173
115
|
section_key: z.ZodEffects<z.ZodString, string, string>;
|
|
174
|
-
|
|
116
|
+
references: z.ZodArray<z.ZodObject<{
|
|
117
|
+
source_ref: z.ZodString;
|
|
118
|
+
locator: z.ZodEffects<z.ZodObject<{
|
|
119
|
+
path: z.ZodEffects<z.ZodString, string, string>;
|
|
120
|
+
start_line: z.ZodNumber;
|
|
121
|
+
end_line: z.ZodNumber;
|
|
122
|
+
}, "strict", z.ZodTypeAny, {
|
|
123
|
+
path: string;
|
|
124
|
+
start_line: number;
|
|
125
|
+
end_line: number;
|
|
126
|
+
}, {
|
|
127
|
+
path: string;
|
|
128
|
+
start_line: number;
|
|
129
|
+
end_line: number;
|
|
130
|
+
}>, {
|
|
131
|
+
path: string;
|
|
132
|
+
start_line: number;
|
|
133
|
+
end_line: number;
|
|
134
|
+
}, {
|
|
135
|
+
path: string;
|
|
136
|
+
start_line: number;
|
|
137
|
+
end_line: number;
|
|
138
|
+
}>;
|
|
139
|
+
content_digest: z.ZodString;
|
|
140
|
+
}, "strict", z.ZodTypeAny, {
|
|
141
|
+
source_ref: string;
|
|
142
|
+
locator: {
|
|
143
|
+
path: string;
|
|
144
|
+
start_line: number;
|
|
145
|
+
end_line: number;
|
|
146
|
+
};
|
|
147
|
+
content_digest: string;
|
|
148
|
+
}, {
|
|
149
|
+
source_ref: string;
|
|
150
|
+
locator: {
|
|
151
|
+
path: string;
|
|
152
|
+
start_line: number;
|
|
153
|
+
end_line: number;
|
|
154
|
+
};
|
|
155
|
+
content_digest: string;
|
|
156
|
+
}>, "many">;
|
|
175
157
|
markdown: z.ZodString;
|
|
176
158
|
markdown_digest: z.ZodString;
|
|
177
159
|
}, "strict", z.ZodTypeAny, {
|
|
178
|
-
|
|
160
|
+
references: {
|
|
161
|
+
source_ref: string;
|
|
162
|
+
locator: {
|
|
163
|
+
path: string;
|
|
164
|
+
start_line: number;
|
|
165
|
+
end_line: number;
|
|
166
|
+
};
|
|
167
|
+
content_digest: string;
|
|
168
|
+
}[];
|
|
179
169
|
markdown: string;
|
|
180
170
|
section_key: string;
|
|
181
171
|
section_ref: string;
|
|
182
172
|
markdown_digest: string;
|
|
183
173
|
}, {
|
|
184
|
-
|
|
174
|
+
references: {
|
|
175
|
+
source_ref: string;
|
|
176
|
+
locator: {
|
|
177
|
+
path: string;
|
|
178
|
+
start_line: number;
|
|
179
|
+
end_line: number;
|
|
180
|
+
};
|
|
181
|
+
content_digest: string;
|
|
182
|
+
}[];
|
|
185
183
|
markdown: string;
|
|
186
184
|
section_key: string;
|
|
187
185
|
section_ref: string;
|
|
@@ -193,39 +191,31 @@ export declare const indexerCandidateCompileSchema: z.ZodObject<{
|
|
|
193
191
|
file_digest: z.ZodString;
|
|
194
192
|
}, "strict", z.ZodTypeAny, {
|
|
195
193
|
source_ref: string;
|
|
196
|
-
|
|
197
|
-
markdown: string;
|
|
198
|
-
artifact_kind: string;
|
|
194
|
+
collection: import("./contracts.js").TopLevelNamespace;
|
|
199
195
|
sections: {
|
|
200
|
-
|
|
196
|
+
references: {
|
|
197
|
+
source_ref: string;
|
|
198
|
+
locator: {
|
|
199
|
+
path: string;
|
|
200
|
+
start_line: number;
|
|
201
|
+
end_line: number;
|
|
202
|
+
};
|
|
203
|
+
content_digest: string;
|
|
204
|
+
}[];
|
|
201
205
|
markdown: string;
|
|
202
206
|
section_key: string;
|
|
203
207
|
section_ref: string;
|
|
204
208
|
markdown_digest: string;
|
|
205
209
|
}[];
|
|
206
|
-
|
|
210
|
+
output_path: string;
|
|
211
|
+
markdown: string;
|
|
212
|
+
artifact_kind: string;
|
|
207
213
|
indexer_id: string;
|
|
208
|
-
node_ref: string;
|
|
209
|
-
evidence_bindings: {
|
|
210
|
-
kind: "code" | "contract" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
211
|
-
source_ref: string;
|
|
212
|
-
locator: {
|
|
213
|
-
path: string;
|
|
214
|
-
start_line: number;
|
|
215
|
-
end_line: number;
|
|
216
|
-
};
|
|
217
|
-
content_digest: string;
|
|
218
|
-
module_ref: string | null;
|
|
219
|
-
coverage_tier: "ast-catalog" | "lightweight-evidence";
|
|
220
|
-
evidence_ref: string;
|
|
221
|
-
binding_digest: string;
|
|
222
|
-
}[];
|
|
223
214
|
artifact_ref: string;
|
|
224
|
-
section_refs: string[];
|
|
225
215
|
acceptance_digest: string;
|
|
226
216
|
artifact_result_digest: string;
|
|
227
|
-
internal_view_ref: string;
|
|
228
217
|
shared_artifact_fingerprint_digest: string;
|
|
218
|
+
section_refs: string[];
|
|
229
219
|
markdown_digest: string;
|
|
230
220
|
indexer_result_digest: string;
|
|
231
221
|
layout_proposal_digest: string;
|
|
@@ -233,39 +223,31 @@ export declare const indexerCandidateCompileSchema: z.ZodObject<{
|
|
|
233
223
|
file_digest: string;
|
|
234
224
|
}, {
|
|
235
225
|
source_ref: string;
|
|
236
|
-
|
|
237
|
-
markdown: string;
|
|
238
|
-
artifact_kind: string;
|
|
226
|
+
collection: import("./contracts.js").TopLevelNamespace;
|
|
239
227
|
sections: {
|
|
240
|
-
|
|
228
|
+
references: {
|
|
229
|
+
source_ref: string;
|
|
230
|
+
locator: {
|
|
231
|
+
path: string;
|
|
232
|
+
start_line: number;
|
|
233
|
+
end_line: number;
|
|
234
|
+
};
|
|
235
|
+
content_digest: string;
|
|
236
|
+
}[];
|
|
241
237
|
markdown: string;
|
|
242
238
|
section_key: string;
|
|
243
239
|
section_ref: string;
|
|
244
240
|
markdown_digest: string;
|
|
245
241
|
}[];
|
|
246
|
-
|
|
242
|
+
output_path: string;
|
|
243
|
+
markdown: string;
|
|
244
|
+
artifact_kind: string;
|
|
247
245
|
indexer_id: string;
|
|
248
|
-
node_ref: string;
|
|
249
|
-
evidence_bindings: {
|
|
250
|
-
kind: "code" | "contract" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
251
|
-
source_ref: string;
|
|
252
|
-
locator: {
|
|
253
|
-
path: string;
|
|
254
|
-
start_line: number;
|
|
255
|
-
end_line: number;
|
|
256
|
-
};
|
|
257
|
-
content_digest: string;
|
|
258
|
-
module_ref: string | null;
|
|
259
|
-
coverage_tier: "ast-catalog" | "lightweight-evidence";
|
|
260
|
-
evidence_ref: string;
|
|
261
|
-
binding_digest: string;
|
|
262
|
-
}[];
|
|
263
246
|
artifact_ref: string;
|
|
264
|
-
section_refs: string[];
|
|
265
247
|
acceptance_digest: string;
|
|
266
248
|
artifact_result_digest: string;
|
|
267
|
-
internal_view_ref: string;
|
|
268
249
|
shared_artifact_fingerprint_digest: string;
|
|
250
|
+
section_refs: string[];
|
|
269
251
|
markdown_digest: string;
|
|
270
252
|
indexer_result_digest: string;
|
|
271
253
|
layout_proposal_digest: string;
|
|
@@ -285,7 +267,6 @@ export declare const indexerCandidateCompileSchema: z.ZodObject<{
|
|
|
285
267
|
owner: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
|
|
286
268
|
kind: z.ZodLiteral<"logical-unit">;
|
|
287
269
|
logical_unit_ref: z.ZodString;
|
|
288
|
-
node_ref: z.ZodString;
|
|
289
270
|
artifact_ref: z.ZodString;
|
|
290
271
|
artifact_id: z.ZodEffects<z.ZodString, string, string>;
|
|
291
272
|
artifact_kind: z.ZodEffects<z.ZodString, string, string>;
|
|
@@ -302,7 +283,6 @@ export declare const indexerCandidateCompileSchema: z.ZodObject<{
|
|
|
302
283
|
split_of: string | null;
|
|
303
284
|
logical_unit_ref: string;
|
|
304
285
|
bundle_digest: string;
|
|
305
|
-
node_ref: string;
|
|
306
286
|
artifact_ref: string;
|
|
307
287
|
section_refs: string[];
|
|
308
288
|
material_state: "blocked" | "ready";
|
|
@@ -314,7 +294,6 @@ export declare const indexerCandidateCompileSchema: z.ZodObject<{
|
|
|
314
294
|
split_of: string | null;
|
|
315
295
|
logical_unit_ref: string;
|
|
316
296
|
bundle_digest: string;
|
|
317
|
-
node_ref: string;
|
|
318
297
|
artifact_ref: string;
|
|
319
298
|
section_refs: string[];
|
|
320
299
|
material_state: "blocked" | "ready";
|
|
@@ -330,16 +309,16 @@ export declare const indexerCandidateCompileSchema: z.ZodObject<{
|
|
|
330
309
|
kind: "navigation";
|
|
331
310
|
artifact_kind: string;
|
|
332
311
|
artifact_id: string;
|
|
333
|
-
artifact_ref: string;
|
|
334
312
|
plan_digest: string;
|
|
313
|
+
artifact_ref: string;
|
|
335
314
|
navigation_ref: string;
|
|
336
315
|
child_artifact_refs: string[];
|
|
337
316
|
}, {
|
|
338
317
|
kind: "navigation";
|
|
339
318
|
artifact_kind: string;
|
|
340
319
|
artifact_id: string;
|
|
341
|
-
artifact_ref: string;
|
|
342
320
|
plan_digest: string;
|
|
321
|
+
artifact_ref: string;
|
|
343
322
|
navigation_ref: string;
|
|
344
323
|
child_artifact_refs: string[];
|
|
345
324
|
}>, z.ZodObject<{
|
|
@@ -363,7 +342,6 @@ export declare const indexerCandidateCompileSchema: z.ZodObject<{
|
|
|
363
342
|
split_of: string | null;
|
|
364
343
|
logical_unit_ref: string;
|
|
365
344
|
bundle_digest: string;
|
|
366
|
-
node_ref: string;
|
|
367
345
|
artifact_ref: string;
|
|
368
346
|
section_refs: string[];
|
|
369
347
|
material_state: "blocked" | "ready";
|
|
@@ -371,8 +349,8 @@ export declare const indexerCandidateCompileSchema: z.ZodObject<{
|
|
|
371
349
|
kind: "navigation";
|
|
372
350
|
artifact_kind: string;
|
|
373
351
|
artifact_id: string;
|
|
374
|
-
artifact_ref: string;
|
|
375
352
|
plan_digest: string;
|
|
353
|
+
artifact_ref: string;
|
|
376
354
|
navigation_ref: string;
|
|
377
355
|
child_artifact_refs: string[];
|
|
378
356
|
} | {
|
|
@@ -394,7 +372,6 @@ export declare const indexerCandidateCompileSchema: z.ZodObject<{
|
|
|
394
372
|
split_of: string | null;
|
|
395
373
|
logical_unit_ref: string;
|
|
396
374
|
bundle_digest: string;
|
|
397
|
-
node_ref: string;
|
|
398
375
|
artifact_ref: string;
|
|
399
376
|
section_refs: string[];
|
|
400
377
|
material_state: "blocked" | "ready";
|
|
@@ -402,8 +379,8 @@ export declare const indexerCandidateCompileSchema: z.ZodObject<{
|
|
|
402
379
|
kind: "navigation";
|
|
403
380
|
artifact_kind: string;
|
|
404
381
|
artifact_id: string;
|
|
405
|
-
artifact_ref: string;
|
|
406
382
|
plan_digest: string;
|
|
383
|
+
artifact_ref: string;
|
|
407
384
|
navigation_ref: string;
|
|
408
385
|
child_artifact_refs: string[];
|
|
409
386
|
} | {
|
|
@@ -429,7 +406,6 @@ export declare const indexerCandidateCompileSchema: z.ZodObject<{
|
|
|
429
406
|
split_of: string | null;
|
|
430
407
|
logical_unit_ref: string;
|
|
431
408
|
bundle_digest: string;
|
|
432
|
-
node_ref: string;
|
|
433
409
|
artifact_ref: string;
|
|
434
410
|
section_refs: string[];
|
|
435
411
|
material_state: "blocked" | "ready";
|
|
@@ -437,8 +413,8 @@ export declare const indexerCandidateCompileSchema: z.ZodObject<{
|
|
|
437
413
|
kind: "navigation";
|
|
438
414
|
artifact_kind: string;
|
|
439
415
|
artifact_id: string;
|
|
440
|
-
artifact_ref: string;
|
|
441
416
|
plan_digest: string;
|
|
417
|
+
artifact_ref: string;
|
|
442
418
|
navigation_ref: string;
|
|
443
419
|
child_artifact_refs: string[];
|
|
444
420
|
} | {
|
|
@@ -465,7 +441,6 @@ export declare const indexerCandidateCompileSchema: z.ZodObject<{
|
|
|
465
441
|
split_of: string | null;
|
|
466
442
|
logical_unit_ref: string;
|
|
467
443
|
bundle_digest: string;
|
|
468
|
-
node_ref: string;
|
|
469
444
|
artifact_ref: string;
|
|
470
445
|
section_refs: string[];
|
|
471
446
|
material_state: "blocked" | "ready";
|
|
@@ -473,8 +448,8 @@ export declare const indexerCandidateCompileSchema: z.ZodObject<{
|
|
|
473
448
|
kind: "navigation";
|
|
474
449
|
artifact_kind: string;
|
|
475
450
|
artifact_id: string;
|
|
476
|
-
artifact_ref: string;
|
|
477
451
|
plan_digest: string;
|
|
452
|
+
artifact_ref: string;
|
|
478
453
|
navigation_ref: string;
|
|
479
454
|
child_artifact_refs: string[];
|
|
480
455
|
} | {
|
|
@@ -672,39 +647,31 @@ export declare const indexerCandidateCompileSchema: z.ZodObject<{
|
|
|
672
647
|
}, "strict", z.ZodTypeAny, {
|
|
673
648
|
files: {
|
|
674
649
|
source_ref: string;
|
|
675
|
-
|
|
676
|
-
markdown: string;
|
|
677
|
-
artifact_kind: string;
|
|
650
|
+
collection: import("./contracts.js").TopLevelNamespace;
|
|
678
651
|
sections: {
|
|
679
|
-
|
|
652
|
+
references: {
|
|
653
|
+
source_ref: string;
|
|
654
|
+
locator: {
|
|
655
|
+
path: string;
|
|
656
|
+
start_line: number;
|
|
657
|
+
end_line: number;
|
|
658
|
+
};
|
|
659
|
+
content_digest: string;
|
|
660
|
+
}[];
|
|
680
661
|
markdown: string;
|
|
681
662
|
section_key: string;
|
|
682
663
|
section_ref: string;
|
|
683
664
|
markdown_digest: string;
|
|
684
665
|
}[];
|
|
685
|
-
|
|
666
|
+
output_path: string;
|
|
667
|
+
markdown: string;
|
|
668
|
+
artifact_kind: string;
|
|
686
669
|
indexer_id: string;
|
|
687
|
-
node_ref: string;
|
|
688
|
-
evidence_bindings: {
|
|
689
|
-
kind: "code" | "contract" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
690
|
-
source_ref: string;
|
|
691
|
-
locator: {
|
|
692
|
-
path: string;
|
|
693
|
-
start_line: number;
|
|
694
|
-
end_line: number;
|
|
695
|
-
};
|
|
696
|
-
content_digest: string;
|
|
697
|
-
module_ref: string | null;
|
|
698
|
-
coverage_tier: "ast-catalog" | "lightweight-evidence";
|
|
699
|
-
evidence_ref: string;
|
|
700
|
-
binding_digest: string;
|
|
701
|
-
}[];
|
|
702
670
|
artifact_ref: string;
|
|
703
|
-
section_refs: string[];
|
|
704
671
|
acceptance_digest: string;
|
|
705
672
|
artifact_result_digest: string;
|
|
706
|
-
internal_view_ref: string;
|
|
707
673
|
shared_artifact_fingerprint_digest: string;
|
|
674
|
+
section_refs: string[];
|
|
708
675
|
markdown_digest: string;
|
|
709
676
|
indexer_result_digest: string;
|
|
710
677
|
layout_proposal_digest: string;
|
|
@@ -753,7 +720,6 @@ export declare const indexerCandidateCompileSchema: z.ZodObject<{
|
|
|
753
720
|
split_of: string | null;
|
|
754
721
|
logical_unit_ref: string;
|
|
755
722
|
bundle_digest: string;
|
|
756
|
-
node_ref: string;
|
|
757
723
|
artifact_ref: string;
|
|
758
724
|
section_refs: string[];
|
|
759
725
|
material_state: "blocked" | "ready";
|
|
@@ -761,8 +727,8 @@ export declare const indexerCandidateCompileSchema: z.ZodObject<{
|
|
|
761
727
|
kind: "navigation";
|
|
762
728
|
artifact_kind: string;
|
|
763
729
|
artifact_id: string;
|
|
764
|
-
artifact_ref: string;
|
|
765
730
|
plan_digest: string;
|
|
731
|
+
artifact_ref: string;
|
|
766
732
|
navigation_ref: string;
|
|
767
733
|
child_artifact_refs: string[];
|
|
768
734
|
} | {
|
|
@@ -822,39 +788,31 @@ export declare const indexerCandidateCompileSchema: z.ZodObject<{
|
|
|
822
788
|
}, {
|
|
823
789
|
files: {
|
|
824
790
|
source_ref: string;
|
|
825
|
-
|
|
826
|
-
markdown: string;
|
|
827
|
-
artifact_kind: string;
|
|
791
|
+
collection: import("./contracts.js").TopLevelNamespace;
|
|
828
792
|
sections: {
|
|
829
|
-
|
|
793
|
+
references: {
|
|
794
|
+
source_ref: string;
|
|
795
|
+
locator: {
|
|
796
|
+
path: string;
|
|
797
|
+
start_line: number;
|
|
798
|
+
end_line: number;
|
|
799
|
+
};
|
|
800
|
+
content_digest: string;
|
|
801
|
+
}[];
|
|
830
802
|
markdown: string;
|
|
831
803
|
section_key: string;
|
|
832
804
|
section_ref: string;
|
|
833
805
|
markdown_digest: string;
|
|
834
806
|
}[];
|
|
835
|
-
|
|
807
|
+
output_path: string;
|
|
808
|
+
markdown: string;
|
|
809
|
+
artifact_kind: string;
|
|
836
810
|
indexer_id: string;
|
|
837
|
-
node_ref: string;
|
|
838
|
-
evidence_bindings: {
|
|
839
|
-
kind: "code" | "contract" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
840
|
-
source_ref: string;
|
|
841
|
-
locator: {
|
|
842
|
-
path: string;
|
|
843
|
-
start_line: number;
|
|
844
|
-
end_line: number;
|
|
845
|
-
};
|
|
846
|
-
content_digest: string;
|
|
847
|
-
module_ref: string | null;
|
|
848
|
-
coverage_tier: "ast-catalog" | "lightweight-evidence";
|
|
849
|
-
evidence_ref: string;
|
|
850
|
-
binding_digest: string;
|
|
851
|
-
}[];
|
|
852
811
|
artifact_ref: string;
|
|
853
|
-
section_refs: string[];
|
|
854
812
|
acceptance_digest: string;
|
|
855
813
|
artifact_result_digest: string;
|
|
856
|
-
internal_view_ref: string;
|
|
857
814
|
shared_artifact_fingerprint_digest: string;
|
|
815
|
+
section_refs: string[];
|
|
858
816
|
markdown_digest: string;
|
|
859
817
|
indexer_result_digest: string;
|
|
860
818
|
layout_proposal_digest: string;
|
|
@@ -903,7 +861,6 @@ export declare const indexerCandidateCompileSchema: z.ZodObject<{
|
|
|
903
861
|
split_of: string | null;
|
|
904
862
|
logical_unit_ref: string;
|
|
905
863
|
bundle_digest: string;
|
|
906
|
-
node_ref: string;
|
|
907
864
|
artifact_ref: string;
|
|
908
865
|
section_refs: string[];
|
|
909
866
|
material_state: "blocked" | "ready";
|
|
@@ -911,8 +868,8 @@ export declare const indexerCandidateCompileSchema: z.ZodObject<{
|
|
|
911
868
|
kind: "navigation";
|
|
912
869
|
artifact_kind: string;
|
|
913
870
|
artifact_id: string;
|
|
914
|
-
artifact_ref: string;
|
|
915
871
|
plan_digest: string;
|
|
872
|
+
artifact_ref: string;
|
|
916
873
|
navigation_ref: string;
|
|
917
874
|
child_artifact_refs: string[];
|
|
918
875
|
} | {
|
|
@@ -994,7 +951,6 @@ export declare function buildIndexerCandidateCompile(input: {
|
|
|
994
951
|
accepted_results: readonly IndexerAcceptedAuthorResultInput[];
|
|
995
952
|
profile_contract: unknown;
|
|
996
953
|
operator_contract: unknown;
|
|
997
|
-
subject_key_schema_set: unknown;
|
|
998
954
|
}): IndexerCandidateCompile;
|
|
999
955
|
export declare function validateIndexerCandidateCompile(input: Parameters<typeof buildIndexerCandidateCompile>[0] & {
|
|
1000
956
|
compile: unknown;
|