@c4a/context 0.7.5 → 0.7.9
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 +12 -4
- package/README.zh-CN.md +11 -4
- package/docs/README.md +13 -1
- package/docs/README.zh-CN.md +13 -1
- package/docs/getting-started.md +95 -69
- package/docs/guides/agent-dialogue.md +20 -9
- package/docs/guides/agent-guide.md +48 -10
- package/docs/guides/code-indexer-skill-authoring.md +42 -11
- package/docs/guides/indexer-manifest-example.md +103 -0
- package/docs/guides/indexer-provider-and-customization.md +334 -15
- package/docs/guides/indexer-skill-creation.md +99 -0
- package/docs/guides/knowledge-updates.md +422 -0
- package/docs/guides/lark-resources.md +5 -1
- package/docs/guides/markdown-indexer-skill-authoring.md +16 -7
- package/docs/guides/note.md +37 -0
- package/docs/guides/package-outputs.md +231 -60
- package/docs/guides/sessions.md +50 -0
- package/docs/guides/workspace-commit.md +45 -0
- package/docs/guides/workspace-prepare.md +72 -0
- package/docs/guides/workspace-restore.md +59 -0
- package/docs/reference/code-extractors.md +23 -11
- package/docs/reference/indexer-provider-protocol.md +135 -22
- package/docs/reference/package-templates.md +10 -9
- package/docs/reference/project-api.md +100 -13
- package/docs/reference/template-variables.md +7 -7
- package/index.d.ts +15 -0
- package/index.js +1708 -626
- package/indexerAgentStepProtocol.d.ts +44 -0
- package/indexerApprovedKnowledge.d.ts +371 -0
- package/indexerArticlePlan.d.ts +83 -0
- package/indexerArtifact.d.ts +10 -7
- package/indexerArtifactDependencies.d.ts +5 -5
- package/indexerArtifactPolicy.d.ts +12 -12
- package/indexerArtifactResult.d.ts +76 -69
- package/indexerAuthoringFixture.d.ts +8 -8
- package/indexerAuthorizedWorksetView.d.ts +14 -14
- package/indexerBaseQuestionAmendment.d.ts +40 -0
- package/indexerCandidateCompile.d.ts +46 -36
- package/indexerCatalogFallback.d.ts +566 -48
- package/indexerContentLayers.d.ts +6 -4
- package/indexerContractDeclaration.d.ts +3 -0
- package/indexerControlledProgram.d.ts +1039 -238
- package/indexerCustomizationDraft.d.ts +188 -0
- package/indexerDependencyView.d.ts +17 -17
- package/indexerEffectiveArtifact.d.ts +26 -15
- package/indexerExampleFactDependencies.d.ts +17 -0
- package/indexerExampleIdentityAudit.d.ts +2 -2
- package/indexerInventoryDisposition.d.ts +44 -44
- package/indexerKnowledgeDependency.d.ts +46 -0
- package/indexerLayerComposition.d.ts +92 -54
- package/indexerLayoutChange.d.ts +8 -8
- package/indexerLayoutProposalSet.d.ts +15 -10
- package/indexerLayoutResolver.d.ts +15 -6
- package/indexerLayoutTransition.d.ts +8 -8
- package/indexerLifecycle.d.ts +1 -1
- package/indexerMainRunLedger.d.ts +3 -0
- package/indexerMainRunProtocol.d.ts +872 -196
- package/indexerMainWorkset.d.ts +50 -0
- package/indexerNavigationArtifactPlan.d.ts +2 -2
- package/indexerOverlayQuestionAmendment.d.ts +56 -16
- package/indexerOverlayQuestionApplyProposal.d.ts +98 -26
- package/indexerPartitionPlan.d.ts +585 -40
- package/indexerPhysicalArtifactAudit.d.ts +2 -2
- package/indexerPhysicalArtifactManifest.d.ts +24 -24
- package/indexerPostAuthorRunLedger.d.ts +60 -34
- package/indexerPrimaryProjection.d.ts +2 -2
- package/indexerProfileContract.d.ts +28 -28
- package/indexerProgramRunProtocol.d.ts +868 -194
- package/indexerProjectProposal.d.ts +36 -8
- package/indexerProjectedArtifactFanOutAudit.d.ts +2 -2
- package/indexerProtocolHash.d.ts +2 -0
- package/indexerProvider.d.ts +102 -58
- package/indexerProviderComposition.d.ts +4 -4
- package/indexerProviderRouting.d.ts +52 -0
- package/indexerProviderSelectionProposal.d.ts +48 -0
- package/indexerPublicContractFacts.d.ts +7 -0
- package/indexerPublicContractTable.d.ts +11 -0
- package/indexerReaderTargetInventory.d.ts +6 -6
- package/indexerReferenceOnlyAudit.d.ts +2 -2
- package/indexerRegistry.d.ts +658 -0
- package/indexerRequirementConfirmation.d.ts +48 -16
- package/indexerRequirementLifecycle.d.ts +154 -42
- package/indexerResultReconciliation.d.ts +12 -11
- package/indexerSemanticInput.d.ts +27168 -3813
- package/{indexerGeneratedAuthoringAudit.d.ts → indexerStructuredClaims.d.ts} +0 -84
- package/indexerStructuredDeclaration.d.ts +8 -8
- package/indexerTemplateRendering.d.ts +7 -7
- package/indexerToolSnapshot.d.ts +16 -16
- package/knowledgeMap.d.ts +188 -0
- package/managedSources.d.ts +15 -0
- package/package.json +1 -1
- package/packageSite.d.ts +25 -0
- package/phases.d.ts +0 -3
- package/processedScopes.d.ts +75 -0
- package/sessionMetadata.d.ts +49 -0
- package/sources.d.ts +9 -3
- package/templates/package-templates/kb/skills/knowledge-query/SKILL.md +15 -10
- package/templates/package-templates.zh-CN/kb/skills/knowledge-query/SKILL.md +8 -8
|
@@ -6,6 +6,7 @@ export declare const indexerProviderSelectionProposalInputSchema: z.ZodObject<{
|
|
|
6
6
|
protocol: z.ZodLiteral<"context.indexer.registry/v1">;
|
|
7
7
|
requirements: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
8
8
|
id: z.ZodEffects<z.ZodString, string, string>;
|
|
9
|
+
purpose: z.ZodOptional<z.ZodString>;
|
|
9
10
|
reader_goals: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
|
|
10
11
|
coverage_domains: z.ZodRecord<z.ZodEffects<z.ZodString, string, string>, z.ZodEnum<["required", "optional", "out-of-scope"]>>;
|
|
11
12
|
questions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -161,6 +162,7 @@ export declare const indexerProviderSelectionProposalInputSchema: z.ZodObject<{
|
|
|
161
162
|
}[];
|
|
162
163
|
}>;
|
|
163
164
|
reason: z.ZodString;
|
|
165
|
+
paths: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">>;
|
|
164
166
|
}, "strict", z.ZodTypeAny, {
|
|
165
167
|
id: string;
|
|
166
168
|
scope: {
|
|
@@ -170,6 +172,7 @@ export declare const indexerProviderSelectionProposalInputSchema: z.ZodObject<{
|
|
|
170
172
|
}[];
|
|
171
173
|
};
|
|
172
174
|
reason: string;
|
|
175
|
+
paths?: string[] | undefined;
|
|
173
176
|
}, {
|
|
174
177
|
id: string;
|
|
175
178
|
scope: {
|
|
@@ -179,6 +182,7 @@ export declare const indexerProviderSelectionProposalInputSchema: z.ZodObject<{
|
|
|
179
182
|
}[];
|
|
180
183
|
};
|
|
181
184
|
reason: string;
|
|
185
|
+
paths?: string[] | undefined;
|
|
182
186
|
}>, "many">>;
|
|
183
187
|
}, "strict", z.ZodTypeAny, {
|
|
184
188
|
id: string;
|
|
@@ -196,6 +200,7 @@ export declare const indexerProviderSelectionProposalInputSchema: z.ZodObject<{
|
|
|
196
200
|
module_refs: string[];
|
|
197
201
|
}[];
|
|
198
202
|
};
|
|
203
|
+
purpose?: string | undefined;
|
|
199
204
|
questions?: {
|
|
200
205
|
ref: string;
|
|
201
206
|
authority: {
|
|
@@ -215,6 +220,7 @@ export declare const indexerProviderSelectionProposalInputSchema: z.ZodObject<{
|
|
|
215
220
|
}[];
|
|
216
221
|
};
|
|
217
222
|
reason: string;
|
|
223
|
+
paths?: string[] | undefined;
|
|
218
224
|
}[] | undefined;
|
|
219
225
|
}, {
|
|
220
226
|
id: string;
|
|
@@ -232,6 +238,7 @@ export declare const indexerProviderSelectionProposalInputSchema: z.ZodObject<{
|
|
|
232
238
|
module_refs?: string[] | undefined;
|
|
233
239
|
}[];
|
|
234
240
|
};
|
|
241
|
+
purpose?: string | undefined;
|
|
235
242
|
questions?: {
|
|
236
243
|
ref: string;
|
|
237
244
|
authority: {
|
|
@@ -251,6 +258,7 @@ export declare const indexerProviderSelectionProposalInputSchema: z.ZodObject<{
|
|
|
251
258
|
}[];
|
|
252
259
|
};
|
|
253
260
|
reason: string;
|
|
261
|
+
paths?: string[] | undefined;
|
|
254
262
|
}[] | undefined;
|
|
255
263
|
}>, {
|
|
256
264
|
id: string;
|
|
@@ -268,6 +276,7 @@ export declare const indexerProviderSelectionProposalInputSchema: z.ZodObject<{
|
|
|
268
276
|
module_refs: string[];
|
|
269
277
|
}[];
|
|
270
278
|
};
|
|
279
|
+
purpose?: string | undefined;
|
|
271
280
|
questions?: {
|
|
272
281
|
ref: string;
|
|
273
282
|
authority: {
|
|
@@ -287,6 +296,7 @@ export declare const indexerProviderSelectionProposalInputSchema: z.ZodObject<{
|
|
|
287
296
|
}[];
|
|
288
297
|
};
|
|
289
298
|
reason: string;
|
|
299
|
+
paths?: string[] | undefined;
|
|
290
300
|
}[] | undefined;
|
|
291
301
|
}, {
|
|
292
302
|
id: string;
|
|
@@ -304,6 +314,7 @@ export declare const indexerProviderSelectionProposalInputSchema: z.ZodObject<{
|
|
|
304
314
|
module_refs?: string[] | undefined;
|
|
305
315
|
}[];
|
|
306
316
|
};
|
|
317
|
+
purpose?: string | undefined;
|
|
307
318
|
questions?: {
|
|
308
319
|
ref: string;
|
|
309
320
|
authority: {
|
|
@@ -323,6 +334,7 @@ export declare const indexerProviderSelectionProposalInputSchema: z.ZodObject<{
|
|
|
323
334
|
}[];
|
|
324
335
|
};
|
|
325
336
|
reason: string;
|
|
337
|
+
paths?: string[] | undefined;
|
|
326
338
|
}[] | undefined;
|
|
327
339
|
}>, "many">;
|
|
328
340
|
indexers: z.ZodArray<z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
@@ -1216,6 +1228,7 @@ export declare const indexerProviderSelectionProposalInputSchema: z.ZodObject<{
|
|
|
1216
1228
|
module_refs: string[];
|
|
1217
1229
|
}[];
|
|
1218
1230
|
};
|
|
1231
|
+
purpose?: string | undefined;
|
|
1219
1232
|
questions?: {
|
|
1220
1233
|
ref: string;
|
|
1221
1234
|
authority: {
|
|
@@ -1235,6 +1248,7 @@ export declare const indexerProviderSelectionProposalInputSchema: z.ZodObject<{
|
|
|
1235
1248
|
}[];
|
|
1236
1249
|
};
|
|
1237
1250
|
reason: string;
|
|
1251
|
+
paths?: string[] | undefined;
|
|
1238
1252
|
}[] | undefined;
|
|
1239
1253
|
}[];
|
|
1240
1254
|
indexers: {
|
|
@@ -1323,6 +1337,7 @@ export declare const indexerProviderSelectionProposalInputSchema: z.ZodObject<{
|
|
|
1323
1337
|
module_refs?: string[] | undefined;
|
|
1324
1338
|
}[];
|
|
1325
1339
|
};
|
|
1340
|
+
purpose?: string | undefined;
|
|
1326
1341
|
questions?: {
|
|
1327
1342
|
ref: string;
|
|
1328
1343
|
authority: {
|
|
@@ -1342,6 +1357,7 @@ export declare const indexerProviderSelectionProposalInputSchema: z.ZodObject<{
|
|
|
1342
1357
|
}[];
|
|
1343
1358
|
};
|
|
1344
1359
|
reason: string;
|
|
1360
|
+
paths?: string[] | undefined;
|
|
1345
1361
|
}[] | undefined;
|
|
1346
1362
|
}[];
|
|
1347
1363
|
indexers: {
|
|
@@ -1430,6 +1446,7 @@ export declare const indexerProviderSelectionProposalInputSchema: z.ZodObject<{
|
|
|
1430
1446
|
module_refs: string[];
|
|
1431
1447
|
}[];
|
|
1432
1448
|
};
|
|
1449
|
+
purpose?: string | undefined;
|
|
1433
1450
|
questions?: {
|
|
1434
1451
|
ref: string;
|
|
1435
1452
|
authority: {
|
|
@@ -1449,6 +1466,7 @@ export declare const indexerProviderSelectionProposalInputSchema: z.ZodObject<{
|
|
|
1449
1466
|
}[];
|
|
1450
1467
|
};
|
|
1451
1468
|
reason: string;
|
|
1469
|
+
paths?: string[] | undefined;
|
|
1452
1470
|
}[] | undefined;
|
|
1453
1471
|
}[];
|
|
1454
1472
|
indexers: {
|
|
@@ -1537,6 +1555,7 @@ export declare const indexerProviderSelectionProposalInputSchema: z.ZodObject<{
|
|
|
1537
1555
|
module_refs?: string[] | undefined;
|
|
1538
1556
|
}[];
|
|
1539
1557
|
};
|
|
1558
|
+
purpose?: string | undefined;
|
|
1540
1559
|
questions?: {
|
|
1541
1560
|
ref: string;
|
|
1542
1561
|
authority: {
|
|
@@ -1556,6 +1575,7 @@ export declare const indexerProviderSelectionProposalInputSchema: z.ZodObject<{
|
|
|
1556
1575
|
}[];
|
|
1557
1576
|
};
|
|
1558
1577
|
reason: string;
|
|
1578
|
+
paths?: string[] | undefined;
|
|
1559
1579
|
}[] | undefined;
|
|
1560
1580
|
}[];
|
|
1561
1581
|
indexers: {
|
|
@@ -1647,6 +1667,7 @@ export declare const indexerProviderSelectionProposalInputSchema: z.ZodObject<{
|
|
|
1647
1667
|
module_refs: string[];
|
|
1648
1668
|
}[];
|
|
1649
1669
|
};
|
|
1670
|
+
purpose?: string | undefined;
|
|
1650
1671
|
questions?: {
|
|
1651
1672
|
ref: string;
|
|
1652
1673
|
authority: {
|
|
@@ -1666,6 +1687,7 @@ export declare const indexerProviderSelectionProposalInputSchema: z.ZodObject<{
|
|
|
1666
1687
|
}[];
|
|
1667
1688
|
};
|
|
1668
1689
|
reason: string;
|
|
1690
|
+
paths?: string[] | undefined;
|
|
1669
1691
|
}[] | undefined;
|
|
1670
1692
|
}[];
|
|
1671
1693
|
indexers: {
|
|
@@ -1758,6 +1780,7 @@ export declare const indexerProviderSelectionProposalInputSchema: z.ZodObject<{
|
|
|
1758
1780
|
module_refs?: string[] | undefined;
|
|
1759
1781
|
}[];
|
|
1760
1782
|
};
|
|
1783
|
+
purpose?: string | undefined;
|
|
1761
1784
|
questions?: {
|
|
1762
1785
|
ref: string;
|
|
1763
1786
|
authority: {
|
|
@@ -1777,6 +1800,7 @@ export declare const indexerProviderSelectionProposalInputSchema: z.ZodObject<{
|
|
|
1777
1800
|
}[];
|
|
1778
1801
|
};
|
|
1779
1802
|
reason: string;
|
|
1803
|
+
paths?: string[] | undefined;
|
|
1780
1804
|
}[] | undefined;
|
|
1781
1805
|
}[];
|
|
1782
1806
|
indexers: {
|
|
@@ -1860,6 +1884,7 @@ export declare const indexerProviderSelectionProposalSchema: z.ZodObject<{
|
|
|
1860
1884
|
protocol: z.ZodLiteral<"context.indexer.registry/v1">;
|
|
1861
1885
|
requirements: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
1862
1886
|
id: z.ZodEffects<z.ZodString, string, string>;
|
|
1887
|
+
purpose: z.ZodOptional<z.ZodString>;
|
|
1863
1888
|
reader_goals: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
|
|
1864
1889
|
coverage_domains: z.ZodRecord<z.ZodEffects<z.ZodString, string, string>, z.ZodEnum<["required", "optional", "out-of-scope"]>>;
|
|
1865
1890
|
questions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -2015,6 +2040,7 @@ export declare const indexerProviderSelectionProposalSchema: z.ZodObject<{
|
|
|
2015
2040
|
}[];
|
|
2016
2041
|
}>;
|
|
2017
2042
|
reason: z.ZodString;
|
|
2043
|
+
paths: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">>;
|
|
2018
2044
|
}, "strict", z.ZodTypeAny, {
|
|
2019
2045
|
id: string;
|
|
2020
2046
|
scope: {
|
|
@@ -2024,6 +2050,7 @@ export declare const indexerProviderSelectionProposalSchema: z.ZodObject<{
|
|
|
2024
2050
|
}[];
|
|
2025
2051
|
};
|
|
2026
2052
|
reason: string;
|
|
2053
|
+
paths?: string[] | undefined;
|
|
2027
2054
|
}, {
|
|
2028
2055
|
id: string;
|
|
2029
2056
|
scope: {
|
|
@@ -2033,6 +2060,7 @@ export declare const indexerProviderSelectionProposalSchema: z.ZodObject<{
|
|
|
2033
2060
|
}[];
|
|
2034
2061
|
};
|
|
2035
2062
|
reason: string;
|
|
2063
|
+
paths?: string[] | undefined;
|
|
2036
2064
|
}>, "many">>;
|
|
2037
2065
|
}, "strict", z.ZodTypeAny, {
|
|
2038
2066
|
id: string;
|
|
@@ -2050,6 +2078,7 @@ export declare const indexerProviderSelectionProposalSchema: z.ZodObject<{
|
|
|
2050
2078
|
module_refs: string[];
|
|
2051
2079
|
}[];
|
|
2052
2080
|
};
|
|
2081
|
+
purpose?: string | undefined;
|
|
2053
2082
|
questions?: {
|
|
2054
2083
|
ref: string;
|
|
2055
2084
|
authority: {
|
|
@@ -2069,6 +2098,7 @@ export declare const indexerProviderSelectionProposalSchema: z.ZodObject<{
|
|
|
2069
2098
|
}[];
|
|
2070
2099
|
};
|
|
2071
2100
|
reason: string;
|
|
2101
|
+
paths?: string[] | undefined;
|
|
2072
2102
|
}[] | undefined;
|
|
2073
2103
|
}, {
|
|
2074
2104
|
id: string;
|
|
@@ -2086,6 +2116,7 @@ export declare const indexerProviderSelectionProposalSchema: z.ZodObject<{
|
|
|
2086
2116
|
module_refs?: string[] | undefined;
|
|
2087
2117
|
}[];
|
|
2088
2118
|
};
|
|
2119
|
+
purpose?: string | undefined;
|
|
2089
2120
|
questions?: {
|
|
2090
2121
|
ref: string;
|
|
2091
2122
|
authority: {
|
|
@@ -2105,6 +2136,7 @@ export declare const indexerProviderSelectionProposalSchema: z.ZodObject<{
|
|
|
2105
2136
|
}[];
|
|
2106
2137
|
};
|
|
2107
2138
|
reason: string;
|
|
2139
|
+
paths?: string[] | undefined;
|
|
2108
2140
|
}[] | undefined;
|
|
2109
2141
|
}>, {
|
|
2110
2142
|
id: string;
|
|
@@ -2122,6 +2154,7 @@ export declare const indexerProviderSelectionProposalSchema: z.ZodObject<{
|
|
|
2122
2154
|
module_refs: string[];
|
|
2123
2155
|
}[];
|
|
2124
2156
|
};
|
|
2157
|
+
purpose?: string | undefined;
|
|
2125
2158
|
questions?: {
|
|
2126
2159
|
ref: string;
|
|
2127
2160
|
authority: {
|
|
@@ -2141,6 +2174,7 @@ export declare const indexerProviderSelectionProposalSchema: z.ZodObject<{
|
|
|
2141
2174
|
}[];
|
|
2142
2175
|
};
|
|
2143
2176
|
reason: string;
|
|
2177
|
+
paths?: string[] | undefined;
|
|
2144
2178
|
}[] | undefined;
|
|
2145
2179
|
}, {
|
|
2146
2180
|
id: string;
|
|
@@ -2158,6 +2192,7 @@ export declare const indexerProviderSelectionProposalSchema: z.ZodObject<{
|
|
|
2158
2192
|
module_refs?: string[] | undefined;
|
|
2159
2193
|
}[];
|
|
2160
2194
|
};
|
|
2195
|
+
purpose?: string | undefined;
|
|
2161
2196
|
questions?: {
|
|
2162
2197
|
ref: string;
|
|
2163
2198
|
authority: {
|
|
@@ -2177,6 +2212,7 @@ export declare const indexerProviderSelectionProposalSchema: z.ZodObject<{
|
|
|
2177
2212
|
}[];
|
|
2178
2213
|
};
|
|
2179
2214
|
reason: string;
|
|
2215
|
+
paths?: string[] | undefined;
|
|
2180
2216
|
}[] | undefined;
|
|
2181
2217
|
}>, "many">;
|
|
2182
2218
|
indexers: z.ZodArray<z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
@@ -3070,6 +3106,7 @@ export declare const indexerProviderSelectionProposalSchema: z.ZodObject<{
|
|
|
3070
3106
|
module_refs: string[];
|
|
3071
3107
|
}[];
|
|
3072
3108
|
};
|
|
3109
|
+
purpose?: string | undefined;
|
|
3073
3110
|
questions?: {
|
|
3074
3111
|
ref: string;
|
|
3075
3112
|
authority: {
|
|
@@ -3089,6 +3126,7 @@ export declare const indexerProviderSelectionProposalSchema: z.ZodObject<{
|
|
|
3089
3126
|
}[];
|
|
3090
3127
|
};
|
|
3091
3128
|
reason: string;
|
|
3129
|
+
paths?: string[] | undefined;
|
|
3092
3130
|
}[] | undefined;
|
|
3093
3131
|
}[];
|
|
3094
3132
|
indexers: {
|
|
@@ -3177,6 +3215,7 @@ export declare const indexerProviderSelectionProposalSchema: z.ZodObject<{
|
|
|
3177
3215
|
module_refs?: string[] | undefined;
|
|
3178
3216
|
}[];
|
|
3179
3217
|
};
|
|
3218
|
+
purpose?: string | undefined;
|
|
3180
3219
|
questions?: {
|
|
3181
3220
|
ref: string;
|
|
3182
3221
|
authority: {
|
|
@@ -3196,6 +3235,7 @@ export declare const indexerProviderSelectionProposalSchema: z.ZodObject<{
|
|
|
3196
3235
|
}[];
|
|
3197
3236
|
};
|
|
3198
3237
|
reason: string;
|
|
3238
|
+
paths?: string[] | undefined;
|
|
3199
3239
|
}[] | undefined;
|
|
3200
3240
|
}[];
|
|
3201
3241
|
indexers: {
|
|
@@ -3284,6 +3324,7 @@ export declare const indexerProviderSelectionProposalSchema: z.ZodObject<{
|
|
|
3284
3324
|
module_refs: string[];
|
|
3285
3325
|
}[];
|
|
3286
3326
|
};
|
|
3327
|
+
purpose?: string | undefined;
|
|
3287
3328
|
questions?: {
|
|
3288
3329
|
ref: string;
|
|
3289
3330
|
authority: {
|
|
@@ -3303,6 +3344,7 @@ export declare const indexerProviderSelectionProposalSchema: z.ZodObject<{
|
|
|
3303
3344
|
}[];
|
|
3304
3345
|
};
|
|
3305
3346
|
reason: string;
|
|
3347
|
+
paths?: string[] | undefined;
|
|
3306
3348
|
}[] | undefined;
|
|
3307
3349
|
}[];
|
|
3308
3350
|
indexers: {
|
|
@@ -3391,6 +3433,7 @@ export declare const indexerProviderSelectionProposalSchema: z.ZodObject<{
|
|
|
3391
3433
|
module_refs?: string[] | undefined;
|
|
3392
3434
|
}[];
|
|
3393
3435
|
};
|
|
3436
|
+
purpose?: string | undefined;
|
|
3394
3437
|
questions?: {
|
|
3395
3438
|
ref: string;
|
|
3396
3439
|
authority: {
|
|
@@ -3410,6 +3453,7 @@ export declare const indexerProviderSelectionProposalSchema: z.ZodObject<{
|
|
|
3410
3453
|
}[];
|
|
3411
3454
|
};
|
|
3412
3455
|
reason: string;
|
|
3456
|
+
paths?: string[] | undefined;
|
|
3413
3457
|
}[] | undefined;
|
|
3414
3458
|
}[];
|
|
3415
3459
|
indexers: {
|
|
@@ -3502,6 +3546,7 @@ export declare const indexerProviderSelectionProposalSchema: z.ZodObject<{
|
|
|
3502
3546
|
module_refs: string[];
|
|
3503
3547
|
}[];
|
|
3504
3548
|
};
|
|
3549
|
+
purpose?: string | undefined;
|
|
3505
3550
|
questions?: {
|
|
3506
3551
|
ref: string;
|
|
3507
3552
|
authority: {
|
|
@@ -3521,6 +3566,7 @@ export declare const indexerProviderSelectionProposalSchema: z.ZodObject<{
|
|
|
3521
3566
|
}[];
|
|
3522
3567
|
};
|
|
3523
3568
|
reason: string;
|
|
3569
|
+
paths?: string[] | undefined;
|
|
3524
3570
|
}[] | undefined;
|
|
3525
3571
|
}[];
|
|
3526
3572
|
indexers: {
|
|
@@ -3617,6 +3663,7 @@ export declare const indexerProviderSelectionProposalSchema: z.ZodObject<{
|
|
|
3617
3663
|
module_refs?: string[] | undefined;
|
|
3618
3664
|
}[];
|
|
3619
3665
|
};
|
|
3666
|
+
purpose?: string | undefined;
|
|
3620
3667
|
questions?: {
|
|
3621
3668
|
ref: string;
|
|
3622
3669
|
authority: {
|
|
@@ -3636,6 +3683,7 @@ export declare const indexerProviderSelectionProposalSchema: z.ZodObject<{
|
|
|
3636
3683
|
}[];
|
|
3637
3684
|
};
|
|
3638
3685
|
reason: string;
|
|
3686
|
+
paths?: string[] | undefined;
|
|
3639
3687
|
}[] | undefined;
|
|
3640
3688
|
}[];
|
|
3641
3689
|
indexers: {
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { IndexerArtifactFact } from "./indexerContentLayers.js";
|
|
2
|
+
/** Supporting facts may inform a selected Props contract without becoming an
|
|
3
|
+
* additional displayed contract. Only use already accepted same-subject facts. */
|
|
4
|
+
export declare function publicContractSupport(selected: readonly IndexerArtifactFact[], available: readonly IndexerArtifactFact[]): IndexerArtifactFact[];
|
|
5
|
+
/** Reconcile structured parser facts at the shared rendering boundary. Never
|
|
6
|
+
* change accepted facts, read source files, or infer defaults from expressions. */
|
|
7
|
+
export declare function reconcilePublicContractFacts(facts: readonly IndexerArtifactFact[]): IndexerArtifactFact[];
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/** Mechanically project already authorized declarations. No source traversal,
|
|
2
|
+
* runtime evaluation, reader-purpose inference, or behavior classification. */
|
|
3
|
+
export declare function projectIndexerPublicContractTable(fact: {
|
|
4
|
+
value: unknown;
|
|
5
|
+
}): {
|
|
6
|
+
columns: string[];
|
|
7
|
+
rows: string[][];
|
|
8
|
+
declaration?: string;
|
|
9
|
+
declarationName?: string;
|
|
10
|
+
declaration_status: "retained" | "table-complete" | "component-wrapper" | "not-provided";
|
|
11
|
+
} | undefined;
|
|
@@ -17,7 +17,7 @@ declare const readerTargetIdentityObservationSchema: z.ZodObject<{
|
|
|
17
17
|
module_ref: string | null;
|
|
18
18
|
observation_ref: string;
|
|
19
19
|
canonical_identity_ref: string;
|
|
20
|
-
observation_kind: "
|
|
20
|
+
observation_kind: "declaration" | "lightweight-evidence" | "public-export" | "contract-declaration" | "runtime-registration" | "approved-subject" | "partition-subject" | "symbol-reference" | "import-alias" | "re-export-alias" | "internal-helper-reference";
|
|
21
21
|
}, {
|
|
22
22
|
source_ref: string;
|
|
23
23
|
evidence_refs: string[];
|
|
@@ -25,7 +25,7 @@ declare const readerTargetIdentityObservationSchema: z.ZodObject<{
|
|
|
25
25
|
module_ref: string | null;
|
|
26
26
|
observation_ref: string;
|
|
27
27
|
canonical_identity_ref: string;
|
|
28
|
-
observation_kind: "
|
|
28
|
+
observation_kind: "declaration" | "lightweight-evidence" | "public-export" | "contract-declaration" | "runtime-registration" | "approved-subject" | "partition-subject" | "symbol-reference" | "import-alias" | "re-export-alias" | "internal-helper-reference";
|
|
29
29
|
}>;
|
|
30
30
|
export declare const indexerReaderTargetFactInventorySchema: z.ZodObject<{
|
|
31
31
|
protocol: z.ZodLiteral<"context.indexer.reader-target-fact-inventory/v1">;
|
|
@@ -45,7 +45,7 @@ export declare const indexerReaderTargetFactInventorySchema: z.ZodObject<{
|
|
|
45
45
|
module_ref: string | null;
|
|
46
46
|
observation_ref: string;
|
|
47
47
|
canonical_identity_ref: string;
|
|
48
|
-
observation_kind: "
|
|
48
|
+
observation_kind: "declaration" | "lightweight-evidence" | "public-export" | "contract-declaration" | "runtime-registration" | "approved-subject" | "partition-subject" | "symbol-reference" | "import-alias" | "re-export-alias" | "internal-helper-reference";
|
|
49
49
|
}, {
|
|
50
50
|
source_ref: string;
|
|
51
51
|
evidence_refs: string[];
|
|
@@ -53,7 +53,7 @@ export declare const indexerReaderTargetFactInventorySchema: z.ZodObject<{
|
|
|
53
53
|
module_ref: string | null;
|
|
54
54
|
observation_ref: string;
|
|
55
55
|
canonical_identity_ref: string;
|
|
56
|
-
observation_kind: "
|
|
56
|
+
observation_kind: "declaration" | "lightweight-evidence" | "public-export" | "contract-declaration" | "runtime-registration" | "approved-subject" | "partition-subject" | "symbol-reference" | "import-alias" | "re-export-alias" | "internal-helper-reference";
|
|
57
57
|
}>, "many">;
|
|
58
58
|
inventory_digest: z.ZodString;
|
|
59
59
|
}, "strict", z.ZodTypeAny, {
|
|
@@ -67,7 +67,7 @@ export declare const indexerReaderTargetFactInventorySchema: z.ZodObject<{
|
|
|
67
67
|
module_ref: string | null;
|
|
68
68
|
observation_ref: string;
|
|
69
69
|
canonical_identity_ref: string;
|
|
70
|
-
observation_kind: "
|
|
70
|
+
observation_kind: "declaration" | "lightweight-evidence" | "public-export" | "contract-declaration" | "runtime-registration" | "approved-subject" | "partition-subject" | "symbol-reference" | "import-alias" | "re-export-alias" | "internal-helper-reference";
|
|
71
71
|
}[];
|
|
72
72
|
}, {
|
|
73
73
|
protocol: "context.indexer.reader-target-fact-inventory/v1";
|
|
@@ -80,7 +80,7 @@ export declare const indexerReaderTargetFactInventorySchema: z.ZodObject<{
|
|
|
80
80
|
module_ref: string | null;
|
|
81
81
|
observation_ref: string;
|
|
82
82
|
canonical_identity_ref: string;
|
|
83
|
-
observation_kind: "
|
|
83
|
+
observation_kind: "declaration" | "lightweight-evidence" | "public-export" | "contract-declaration" | "runtime-registration" | "approved-subject" | "partition-subject" | "symbol-reference" | "import-alias" | "re-export-alias" | "internal-helper-reference";
|
|
84
84
|
}[];
|
|
85
85
|
}>;
|
|
86
86
|
export declare const indexerReaderTargetProjectionSchema: z.ZodObject<{
|
|
@@ -33,8 +33,8 @@ export declare const indexerReferenceOnlyReaderTargetAuditSchema: z.ZodObject<{
|
|
|
33
33
|
audit_digest: z.ZodString;
|
|
34
34
|
}, "strict", z.ZodTypeAny, {
|
|
35
35
|
protocol: "context.indexer.reference-only-reader-target-audit/v1";
|
|
36
|
-
audit_digest: string;
|
|
37
36
|
pass: boolean;
|
|
37
|
+
audit_digest: string;
|
|
38
38
|
fact_inventory_digest: string;
|
|
39
39
|
target_projection_digest: string;
|
|
40
40
|
target_count: number;
|
|
@@ -53,8 +53,8 @@ export declare const indexerReferenceOnlyReaderTargetAuditSchema: z.ZodObject<{
|
|
|
53
53
|
};
|
|
54
54
|
}, {
|
|
55
55
|
protocol: "context.indexer.reference-only-reader-target-audit/v1";
|
|
56
|
-
audit_digest: string;
|
|
57
56
|
pass: boolean;
|
|
57
|
+
audit_digest: string;
|
|
58
58
|
fact_inventory_digest: string;
|
|
59
59
|
target_projection_digest: string;
|
|
60
60
|
target_count: number;
|