@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.
Files changed (84) hide show
  1. package/articleStructure.d.ts +254 -0
  2. package/docs/guides/agent-dialogue.md +6 -5
  3. package/docs/guides/agent-guide.md +11 -5
  4. package/docs/guides/code-indexer-skill-authoring.md +76 -178
  5. package/docs/guides/indexer-provider-and-customization.md +93 -398
  6. package/docs/guides/indexer-skill-creation.md +107 -97
  7. package/docs/guides/knowledge-updates.md +137 -18
  8. package/docs/guides/markdown-indexer-skill-authoring.md +57 -134
  9. package/docs/guides/package-outputs.md +213 -47
  10. package/docs/reference/indexer-provider-protocol.md +71 -102
  11. package/docs/reference/package-templates.md +39 -65
  12. package/docs/reference/project-api.md +53 -0
  13. package/docs/reference/template-variables.md +2 -3
  14. package/index.d.ts +11 -11
  15. package/index.js +5826 -8062
  16. package/indexerAgentStepProtocol.d.ts +0 -910
  17. package/indexerApprovedKnowledge.d.ts +98 -359
  18. package/indexerArticlePlan.d.ts +3 -26
  19. package/indexerArtifact.d.ts +201 -70
  20. package/indexerArtifactPolicy.d.ts +4 -22
  21. package/indexerArtifactResult.d.ts +240 -888
  22. package/indexerAuthoringFixture.d.ts +0 -13
  23. package/indexerBenchmark.d.ts +2 -2
  24. package/indexerCandidateCompile.d.ts +123 -167
  25. package/indexerCatalogFallback.d.ts +32 -374
  26. package/indexerCollectionMapping.d.ts +2 -2
  27. package/indexerContentLayers.d.ts +187 -41
  28. package/indexerContractOverlay.d.ts +30 -44
  29. package/indexerControlledInvocation.d.ts +6 -6
  30. package/indexerControlledProgram.d.ts +959 -3020
  31. package/indexerDependencyView.d.ts +96 -96
  32. package/indexerEffectiveArtifact.d.ts +381 -242
  33. package/indexerExampleDecision.d.ts +134 -134
  34. package/indexerExampleIdentity.d.ts +6 -6
  35. package/indexerExampleIdentityAudit.d.ts +6 -6
  36. package/indexerInventoryDisposition.d.ts +0 -39
  37. package/indexerLayerComposition.d.ts +1378 -852
  38. package/indexerLayoutChange.d.ts +24 -33
  39. package/indexerLayoutProposalSet.d.ts +143 -137
  40. package/indexerLayoutResolver.d.ts +116 -101
  41. package/indexerLayoutTransition.d.ts +6 -6
  42. package/indexerMainLifecycle.d.ts +1 -11
  43. package/indexerMainRunLedger.d.ts +0 -14
  44. package/indexerMainRunProtocol.d.ts +806 -2530
  45. package/indexerMainWorkset.d.ts +0 -1212
  46. package/indexerNavigationArtifactPlan.d.ts +2 -2
  47. package/indexerOverlayQuestionApplyProposal.d.ts +0 -4
  48. package/indexerParserCoordinate.d.ts +2 -2
  49. package/indexerParserExecutionPlan.d.ts +42 -42
  50. package/indexerPartitionPlan.d.ts +24 -354
  51. package/indexerPhysicalArtifactManifest.d.ts +12 -27
  52. package/indexerPostAuthorComposition.d.ts +2 -253
  53. package/indexerPostAuthorRunLedger.d.ts +860 -562
  54. package/indexerPrimaryProjection.d.ts +2 -2
  55. package/indexerPrimaryResultView.d.ts +0 -318
  56. package/indexerProfileContract.d.ts +200 -549
  57. package/indexerProgramExecutionAuthorization.d.ts +4 -4
  58. package/indexerProgramRunProtocol.d.ts +806 -2527
  59. package/indexerProjectProposal.d.ts +8 -8
  60. package/indexerProjectedArtifactFanOutAudit.d.ts +8 -8
  61. package/indexerProjectedArtifactPlan.d.ts +0 -9
  62. package/indexerProtocolHash.d.ts +2 -0
  63. package/indexerProvider.d.ts +76 -318
  64. package/indexerProviderComposition.d.ts +16 -42
  65. package/indexerQuestionAuthority.d.ts +2 -82
  66. package/indexerReaderTargetInventory.d.ts +6 -6
  67. package/indexerRegistry.d.ts +606 -0
  68. package/indexerRequirementLifecycle.d.ts +6 -6
  69. package/indexerResultReconciliation.d.ts +35 -149
  70. package/indexerSemanticInput.d.ts +10926 -5665
  71. package/indexerStructuredDeclaration.d.ts +24 -24
  72. package/indexerTemplateRendering.d.ts +239 -113
  73. package/{readingStructure.d.ts → knowledgeMap.d.ts} +21 -21
  74. package/package.json +1 -1
  75. package/packageSite.d.ts +25 -0
  76. package/templates/package-templates/kb/skills/knowledge-query/SKILL.md +13 -16
  77. package/templates/package-templates.zh-CN/kb/skills/knowledge-query/SKILL.md +9 -9
  78. package/indexerArtifactDependencies.d.ts +0 -693
  79. package/indexerCompositionFactDependencies.d.ts +0 -16
  80. package/indexerExampleFactDependencies.d.ts +0 -17
  81. package/indexerIncrementalImpact.d.ts +0 -221
  82. package/indexerKnowledgeDependency.d.ts +0 -46
  83. package/indexerSubjectCatalog.d.ts +0 -230
  84. package/indexerSubjectKeyAuthority.d.ts +0 -786
@@ -1,5 +1,6 @@
1
1
  import { z } from "zod";
2
2
  import { DEFAULT_INDEXER_REGISTRY_PATH } from "./indexerProtocolCommon.js";
3
+ export declare const indexerJsonSchema: z.ZodType<IndexerJson>;
3
4
  export type IndexerJson = null | boolean | number | string | IndexerJson[] | {
4
5
  [key: string]: IndexerJson;
5
6
  };
@@ -928,6 +929,611 @@ export declare const indexerDistributionSchema: z.ZodEffects<z.ZodDiscriminatedU
928
929
  kind: "marketplace";
929
930
  locator: string;
930
931
  }>;
932
+ export declare const indexerRegistryEntryInputSchema: z.ZodObject<{
933
+ id: z.ZodEffects<z.ZodString, string, string>;
934
+ operations: z.ZodDefault<z.ZodArray<z.ZodEnum<["main-index"]>, "many">>;
935
+ requirement_bindings: z.ZodArray<z.ZodEffects<z.ZodEffects<z.ZodObject<{
936
+ requirement_ref: z.ZodEffects<z.ZodString, string, string>;
937
+ coverage_domains: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
938
+ owned_scope: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
939
+ ref: z.ZodString;
940
+ }, "strict", z.ZodTypeAny, {
941
+ ref: string;
942
+ }, {
943
+ ref: string;
944
+ }>, z.ZodEffects<z.ZodObject<{
945
+ targets: z.ZodArray<z.ZodEffects<z.ZodObject<{
946
+ source_ref: z.ZodString;
947
+ module_refs: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
948
+ }, "strict", z.ZodTypeAny, {
949
+ source_ref: string;
950
+ module_refs: string[];
951
+ }, {
952
+ source_ref: string;
953
+ module_refs?: string[] | undefined;
954
+ }>, {
955
+ source_ref: string;
956
+ module_refs: string[];
957
+ }, {
958
+ source_ref: string;
959
+ module_refs?: string[] | undefined;
960
+ }>, "many">;
961
+ }, "strict", z.ZodTypeAny, {
962
+ targets: {
963
+ source_ref: string;
964
+ module_refs: string[];
965
+ }[];
966
+ }, {
967
+ targets: {
968
+ source_ref: string;
969
+ module_refs?: string[] | undefined;
970
+ }[];
971
+ }>, {
972
+ targets: {
973
+ source_ref: string;
974
+ module_refs: string[];
975
+ }[];
976
+ }, {
977
+ targets: {
978
+ source_ref: string;
979
+ module_refs?: string[] | undefined;
980
+ }[];
981
+ }>]>>;
982
+ role: z.ZodEnum<["primary", "enricher"]>;
983
+ }, "strict", z.ZodTypeAny, {
984
+ coverage_domains: string[];
985
+ requirement_ref: string;
986
+ role: "primary" | "enricher";
987
+ owned_scope?: {
988
+ targets: {
989
+ source_ref: string;
990
+ module_refs: string[];
991
+ }[];
992
+ } | {
993
+ ref: string;
994
+ } | undefined;
995
+ }, {
996
+ coverage_domains: string[];
997
+ requirement_ref: string;
998
+ role: "primary" | "enricher";
999
+ owned_scope?: {
1000
+ targets: {
1001
+ source_ref: string;
1002
+ module_refs?: string[] | undefined;
1003
+ }[];
1004
+ } | {
1005
+ ref: string;
1006
+ } | undefined;
1007
+ }>, {
1008
+ owned_scope: {
1009
+ targets: {
1010
+ source_ref: string;
1011
+ module_refs: string[];
1012
+ }[];
1013
+ } | {
1014
+ ref: string;
1015
+ };
1016
+ coverage_domains: string[];
1017
+ requirement_ref: string;
1018
+ role: "primary" | "enricher";
1019
+ }, {
1020
+ coverage_domains: string[];
1021
+ requirement_ref: string;
1022
+ role: "primary" | "enricher";
1023
+ owned_scope?: {
1024
+ targets: {
1025
+ source_ref: string;
1026
+ module_refs?: string[] | undefined;
1027
+ }[];
1028
+ } | {
1029
+ ref: string;
1030
+ } | undefined;
1031
+ }>, {
1032
+ owned_scope: {
1033
+ targets: {
1034
+ source_ref: string;
1035
+ module_refs: string[];
1036
+ }[];
1037
+ } | {
1038
+ ref: string;
1039
+ };
1040
+ coverage_domains: string[];
1041
+ requirement_ref: string;
1042
+ role: "primary" | "enricher";
1043
+ }, {
1044
+ coverage_domains: string[];
1045
+ requirement_ref: string;
1046
+ role: "primary" | "enricher";
1047
+ owned_scope?: {
1048
+ targets: {
1049
+ source_ref: string;
1050
+ module_refs?: string[] | undefined;
1051
+ }[];
1052
+ } | {
1053
+ ref: string;
1054
+ } | undefined;
1055
+ }>, "many">;
1056
+ read_scope: z.ZodOptional<z.ZodEffects<z.ZodObject<{
1057
+ refs: z.ZodArray<z.ZodString, "many">;
1058
+ extra_targets: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodObject<{
1059
+ source_ref: z.ZodString;
1060
+ module_refs: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
1061
+ }, "strict", z.ZodTypeAny, {
1062
+ source_ref: string;
1063
+ module_refs: string[];
1064
+ }, {
1065
+ source_ref: string;
1066
+ module_refs?: string[] | undefined;
1067
+ }>, {
1068
+ source_ref: string;
1069
+ module_refs: string[];
1070
+ }, {
1071
+ source_ref: string;
1072
+ module_refs?: string[] | undefined;
1073
+ }>, "many">>;
1074
+ }, "strict", z.ZodTypeAny, {
1075
+ refs: string[];
1076
+ extra_targets?: {
1077
+ source_ref: string;
1078
+ module_refs: string[];
1079
+ }[] | undefined;
1080
+ }, {
1081
+ refs: string[];
1082
+ extra_targets?: {
1083
+ source_ref: string;
1084
+ module_refs?: string[] | undefined;
1085
+ }[] | undefined;
1086
+ }>, {
1087
+ refs: string[];
1088
+ extra_targets?: {
1089
+ source_ref: string;
1090
+ module_refs: string[];
1091
+ }[] | undefined;
1092
+ }, {
1093
+ refs: string[];
1094
+ extra_targets?: {
1095
+ source_ref: string;
1096
+ module_refs?: string[] | undefined;
1097
+ }[] | undefined;
1098
+ }>>;
1099
+ profile: z.ZodObject<{
1100
+ primary: z.ZodObject<{
1101
+ id: z.ZodEffects<z.ZodString, string, string>;
1102
+ provider: z.ZodEffects<z.ZodString, string, string>;
1103
+ variants: z.ZodOptional<z.ZodRecord<z.ZodEffects<z.ZodString, string, string>, z.ZodEffects<z.ZodString, string, string>>>;
1104
+ }, "strict", z.ZodTypeAny, {
1105
+ id: string;
1106
+ provider: string;
1107
+ variants?: Record<string, string> | undefined;
1108
+ }, {
1109
+ id: string;
1110
+ provider: string;
1111
+ variants?: Record<string, string> | undefined;
1112
+ }>;
1113
+ additional: z.ZodOptional<z.ZodArray<z.ZodObject<{
1114
+ id: z.ZodEffects<z.ZodString, string, string>;
1115
+ provider: z.ZodEffects<z.ZodString, string, string>;
1116
+ variants: z.ZodOptional<z.ZodRecord<z.ZodEffects<z.ZodString, string, string>, z.ZodEffects<z.ZodString, string, string>>>;
1117
+ } & {
1118
+ kind: z.ZodEnum<["supporting", "extension"]>;
1119
+ }, "strict", z.ZodTypeAny, {
1120
+ id: string;
1121
+ kind: "supporting" | "extension";
1122
+ provider: string;
1123
+ variants?: Record<string, string> | undefined;
1124
+ }, {
1125
+ id: string;
1126
+ kind: "supporting" | "extension";
1127
+ provider: string;
1128
+ variants?: Record<string, string> | undefined;
1129
+ }>, "many">>;
1130
+ composers: z.ZodOptional<z.ZodArray<z.ZodObject<{
1131
+ id: z.ZodEffects<z.ZodString, string, string>;
1132
+ provider: z.ZodEffects<z.ZodString, string, string>;
1133
+ }, "strict", z.ZodTypeAny, {
1134
+ id: string;
1135
+ provider: string;
1136
+ }, {
1137
+ id: string;
1138
+ provider: string;
1139
+ }>, "many">>;
1140
+ }, "strict", z.ZodTypeAny, {
1141
+ primary: {
1142
+ id: string;
1143
+ provider: string;
1144
+ variants?: Record<string, string> | undefined;
1145
+ };
1146
+ additional?: {
1147
+ id: string;
1148
+ kind: "supporting" | "extension";
1149
+ provider: string;
1150
+ variants?: Record<string, string> | undefined;
1151
+ }[] | undefined;
1152
+ composers?: {
1153
+ id: string;
1154
+ provider: string;
1155
+ }[] | undefined;
1156
+ }, {
1157
+ primary: {
1158
+ id: string;
1159
+ provider: string;
1160
+ variants?: Record<string, string> | undefined;
1161
+ };
1162
+ additional?: {
1163
+ id: string;
1164
+ kind: "supporting" | "extension";
1165
+ provider: string;
1166
+ variants?: Record<string, string> | undefined;
1167
+ }[] | undefined;
1168
+ composers?: {
1169
+ id: string;
1170
+ provider: string;
1171
+ }[] | undefined;
1172
+ }>;
1173
+ providers: z.ZodArray<z.ZodEffects<z.ZodEffects<z.ZodObject<{
1174
+ id: z.ZodEffects<z.ZodString, string, string>;
1175
+ role: z.ZodDefault<z.ZodEnum<["primary", "extension"]>>;
1176
+ skill: z.ZodEffects<z.ZodString, string, string>;
1177
+ version: z.ZodString;
1178
+ integrity: z.ZodString;
1179
+ distribution: z.ZodOptional<z.ZodEffects<z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
1180
+ kind: z.ZodLiteral<"cli-bundled">;
1181
+ locator: z.ZodString;
1182
+ }, "strict", z.ZodTypeAny, {
1183
+ kind: "cli-bundled";
1184
+ locator: string;
1185
+ }, {
1186
+ kind: "cli-bundled";
1187
+ locator: string;
1188
+ }>, z.ZodObject<{
1189
+ kind: z.ZodLiteral<"bundled">;
1190
+ locator: z.ZodString;
1191
+ }, "strict", z.ZodTypeAny, {
1192
+ kind: "bundled";
1193
+ locator: string;
1194
+ }, {
1195
+ kind: "bundled";
1196
+ locator: string;
1197
+ }>, z.ZodObject<{
1198
+ kind: z.ZodLiteral<"workspace">;
1199
+ locator: z.ZodString;
1200
+ }, "strict", z.ZodTypeAny, {
1201
+ kind: "workspace";
1202
+ locator: string;
1203
+ }, {
1204
+ kind: "workspace";
1205
+ locator: string;
1206
+ }>, z.ZodObject<{
1207
+ kind: z.ZodLiteral<"package">;
1208
+ locator: z.ZodString;
1209
+ }, "strict", z.ZodTypeAny, {
1210
+ kind: "package";
1211
+ locator: string;
1212
+ }, {
1213
+ kind: "package";
1214
+ locator: string;
1215
+ }>, z.ZodObject<{
1216
+ kind: z.ZodLiteral<"marketplace">;
1217
+ locator: z.ZodString;
1218
+ }, "strict", z.ZodTypeAny, {
1219
+ kind: "marketplace";
1220
+ locator: string;
1221
+ }, {
1222
+ kind: "marketplace";
1223
+ locator: string;
1224
+ }>]>, {
1225
+ kind: "cli-bundled";
1226
+ locator: string;
1227
+ } | {
1228
+ kind: "bundled";
1229
+ locator: string;
1230
+ } | {
1231
+ kind: "workspace";
1232
+ locator: string;
1233
+ } | {
1234
+ kind: "package";
1235
+ locator: string;
1236
+ } | {
1237
+ kind: "marketplace";
1238
+ locator: string;
1239
+ }, {
1240
+ kind: "cli-bundled";
1241
+ locator: string;
1242
+ } | {
1243
+ kind: "bundled";
1244
+ locator: string;
1245
+ } | {
1246
+ kind: "workspace";
1247
+ locator: string;
1248
+ } | {
1249
+ kind: "package";
1250
+ locator: string;
1251
+ } | {
1252
+ kind: "marketplace";
1253
+ locator: string;
1254
+ }>>;
1255
+ config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<IndexerJson, z.ZodTypeDef, IndexerJson>>>;
1256
+ }, "strict", z.ZodTypeAny, {
1257
+ id: string;
1258
+ role: "primary" | "extension";
1259
+ skill: string;
1260
+ version: string;
1261
+ integrity: string;
1262
+ distribution?: {
1263
+ kind: "cli-bundled";
1264
+ locator: string;
1265
+ } | {
1266
+ kind: "bundled";
1267
+ locator: string;
1268
+ } | {
1269
+ kind: "workspace";
1270
+ locator: string;
1271
+ } | {
1272
+ kind: "package";
1273
+ locator: string;
1274
+ } | {
1275
+ kind: "marketplace";
1276
+ locator: string;
1277
+ } | undefined;
1278
+ config?: Record<string, IndexerJson> | undefined;
1279
+ }, {
1280
+ id: string;
1281
+ skill: string;
1282
+ version: string;
1283
+ integrity: string;
1284
+ role?: "primary" | "extension" | undefined;
1285
+ distribution?: {
1286
+ kind: "cli-bundled";
1287
+ locator: string;
1288
+ } | {
1289
+ kind: "bundled";
1290
+ locator: string;
1291
+ } | {
1292
+ kind: "workspace";
1293
+ locator: string;
1294
+ } | {
1295
+ kind: "package";
1296
+ locator: string;
1297
+ } | {
1298
+ kind: "marketplace";
1299
+ locator: string;
1300
+ } | undefined;
1301
+ config?: Record<string, IndexerJson> | undefined;
1302
+ }>, {
1303
+ distribution: {
1304
+ kind: "cli-bundled";
1305
+ locator: string;
1306
+ } | {
1307
+ kind: "bundled";
1308
+ locator: string;
1309
+ } | {
1310
+ kind: "workspace";
1311
+ locator: string;
1312
+ } | {
1313
+ kind: "package";
1314
+ locator: string;
1315
+ } | {
1316
+ kind: "marketplace";
1317
+ locator: string;
1318
+ };
1319
+ id: string;
1320
+ role: "primary" | "extension";
1321
+ skill: string;
1322
+ version: string;
1323
+ integrity: string;
1324
+ config?: Record<string, IndexerJson> | undefined;
1325
+ }, {
1326
+ id: string;
1327
+ skill: string;
1328
+ version: string;
1329
+ integrity: string;
1330
+ role?: "primary" | "extension" | undefined;
1331
+ distribution?: {
1332
+ kind: "cli-bundled";
1333
+ locator: string;
1334
+ } | {
1335
+ kind: "bundled";
1336
+ locator: string;
1337
+ } | {
1338
+ kind: "workspace";
1339
+ locator: string;
1340
+ } | {
1341
+ kind: "package";
1342
+ locator: string;
1343
+ } | {
1344
+ kind: "marketplace";
1345
+ locator: string;
1346
+ } | undefined;
1347
+ config?: Record<string, IndexerJson> | undefined;
1348
+ }>, {
1349
+ distribution: {
1350
+ kind: "cli-bundled";
1351
+ locator: string;
1352
+ } | {
1353
+ kind: "bundled";
1354
+ locator: string;
1355
+ } | {
1356
+ kind: "workspace";
1357
+ locator: string;
1358
+ } | {
1359
+ kind: "package";
1360
+ locator: string;
1361
+ } | {
1362
+ kind: "marketplace";
1363
+ locator: string;
1364
+ };
1365
+ id: string;
1366
+ role: "primary" | "extension";
1367
+ skill: string;
1368
+ version: string;
1369
+ integrity: string;
1370
+ config?: Record<string, IndexerJson> | undefined;
1371
+ }, {
1372
+ id: string;
1373
+ skill: string;
1374
+ version: string;
1375
+ integrity: string;
1376
+ role?: "primary" | "extension" | undefined;
1377
+ distribution?: {
1378
+ kind: "cli-bundled";
1379
+ locator: string;
1380
+ } | {
1381
+ kind: "bundled";
1382
+ locator: string;
1383
+ } | {
1384
+ kind: "workspace";
1385
+ locator: string;
1386
+ } | {
1387
+ kind: "package";
1388
+ locator: string;
1389
+ } | {
1390
+ kind: "marketplace";
1391
+ locator: string;
1392
+ } | undefined;
1393
+ config?: Record<string, IndexerJson> | undefined;
1394
+ }>, "many">;
1395
+ customization: z.ZodOptional<z.ZodObject<{
1396
+ mode: z.ZodEnum<["extend", "replace"]>;
1397
+ }, "strict", z.ZodTypeAny, {
1398
+ mode: "replace" | "extend";
1399
+ }, {
1400
+ mode: "replace" | "extend";
1401
+ }>>;
1402
+ }, "strict", z.ZodTypeAny, {
1403
+ id: string;
1404
+ operations: "main-index"[];
1405
+ requirement_bindings: {
1406
+ owned_scope: {
1407
+ targets: {
1408
+ source_ref: string;
1409
+ module_refs: string[];
1410
+ }[];
1411
+ } | {
1412
+ ref: string;
1413
+ };
1414
+ coverage_domains: string[];
1415
+ requirement_ref: string;
1416
+ role: "primary" | "enricher";
1417
+ }[];
1418
+ profile: {
1419
+ primary: {
1420
+ id: string;
1421
+ provider: string;
1422
+ variants?: Record<string, string> | undefined;
1423
+ };
1424
+ additional?: {
1425
+ id: string;
1426
+ kind: "supporting" | "extension";
1427
+ provider: string;
1428
+ variants?: Record<string, string> | undefined;
1429
+ }[] | undefined;
1430
+ composers?: {
1431
+ id: string;
1432
+ provider: string;
1433
+ }[] | undefined;
1434
+ };
1435
+ providers: {
1436
+ distribution: {
1437
+ kind: "cli-bundled";
1438
+ locator: string;
1439
+ } | {
1440
+ kind: "bundled";
1441
+ locator: string;
1442
+ } | {
1443
+ kind: "workspace";
1444
+ locator: string;
1445
+ } | {
1446
+ kind: "package";
1447
+ locator: string;
1448
+ } | {
1449
+ kind: "marketplace";
1450
+ locator: string;
1451
+ };
1452
+ id: string;
1453
+ role: "primary" | "extension";
1454
+ skill: string;
1455
+ version: string;
1456
+ integrity: string;
1457
+ config?: Record<string, IndexerJson> | undefined;
1458
+ }[];
1459
+ read_scope?: {
1460
+ refs: string[];
1461
+ extra_targets?: {
1462
+ source_ref: string;
1463
+ module_refs: string[];
1464
+ }[] | undefined;
1465
+ } | undefined;
1466
+ customization?: {
1467
+ mode: "replace" | "extend";
1468
+ } | undefined;
1469
+ }, {
1470
+ id: string;
1471
+ requirement_bindings: {
1472
+ coverage_domains: string[];
1473
+ requirement_ref: string;
1474
+ role: "primary" | "enricher";
1475
+ owned_scope?: {
1476
+ targets: {
1477
+ source_ref: string;
1478
+ module_refs?: string[] | undefined;
1479
+ }[];
1480
+ } | {
1481
+ ref: string;
1482
+ } | undefined;
1483
+ }[];
1484
+ profile: {
1485
+ primary: {
1486
+ id: string;
1487
+ provider: string;
1488
+ variants?: Record<string, string> | undefined;
1489
+ };
1490
+ additional?: {
1491
+ id: string;
1492
+ kind: "supporting" | "extension";
1493
+ provider: string;
1494
+ variants?: Record<string, string> | undefined;
1495
+ }[] | undefined;
1496
+ composers?: {
1497
+ id: string;
1498
+ provider: string;
1499
+ }[] | undefined;
1500
+ };
1501
+ providers: {
1502
+ id: string;
1503
+ skill: string;
1504
+ version: string;
1505
+ integrity: string;
1506
+ role?: "primary" | "extension" | undefined;
1507
+ distribution?: {
1508
+ kind: "cli-bundled";
1509
+ locator: string;
1510
+ } | {
1511
+ kind: "bundled";
1512
+ locator: string;
1513
+ } | {
1514
+ kind: "workspace";
1515
+ locator: string;
1516
+ } | {
1517
+ kind: "package";
1518
+ locator: string;
1519
+ } | {
1520
+ kind: "marketplace";
1521
+ locator: string;
1522
+ } | undefined;
1523
+ config?: Record<string, IndexerJson> | undefined;
1524
+ }[];
1525
+ operations?: "main-index"[] | undefined;
1526
+ read_scope?: {
1527
+ refs: string[];
1528
+ extra_targets?: {
1529
+ source_ref: string;
1530
+ module_refs?: string[] | undefined;
1531
+ }[] | undefined;
1532
+ } | undefined;
1533
+ customization?: {
1534
+ mode: "replace" | "extend";
1535
+ } | undefined;
1536
+ }>;
931
1537
  export declare const indexerRegistryEntrySchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
932
1538
  id: z.ZodEffects<z.ZodString, string, string>;
933
1539
  operations: z.ZodDefault<z.ZodArray<z.ZodEnum<["main-index"]>, "many">>;
@@ -23,8 +23,8 @@ declare const requirementSummarySchema: z.ZodObject<{
23
23
  coverage_domain: string;
24
24
  obligation: "required" | "optional" | "out-of-scope";
25
25
  }[];
26
- evidence_kinds: ("code" | "contract" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot")[];
27
26
  scenario: string;
27
+ evidence_kinds: ("code" | "contract" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot")[];
28
28
  target_source_refs: string[];
29
29
  evidence_source_refs: string[];
30
30
  }, {
@@ -33,8 +33,8 @@ declare const requirementSummarySchema: z.ZodObject<{
33
33
  coverage_domain: string;
34
34
  obligation: "required" | "optional" | "out-of-scope";
35
35
  }[];
36
- evidence_kinds: ("code" | "contract" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot")[];
37
36
  scenario: string;
37
+ evidence_kinds: ("code" | "contract" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot")[];
38
38
  target_source_refs: string[];
39
39
  evidence_source_refs: string[];
40
40
  }>;
@@ -1122,8 +1122,8 @@ export declare const indexerRequirementInspectionSchema: z.ZodObject<{
1122
1122
  coverage_domain: string;
1123
1123
  obligation: "required" | "optional" | "out-of-scope";
1124
1124
  }[];
1125
- evidence_kinds: ("code" | "contract" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot")[];
1126
1125
  scenario: string;
1126
+ evidence_kinds: ("code" | "contract" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot")[];
1127
1127
  target_source_refs: string[];
1128
1128
  evidence_source_refs: string[];
1129
1129
  }, {
@@ -1132,8 +1132,8 @@ export declare const indexerRequirementInspectionSchema: z.ZodObject<{
1132
1132
  coverage_domain: string;
1133
1133
  obligation: "required" | "optional" | "out-of-scope";
1134
1134
  }[];
1135
- evidence_kinds: ("code" | "contract" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot")[];
1136
1135
  scenario: string;
1136
+ evidence_kinds: ("code" | "contract" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot")[];
1137
1137
  target_source_refs: string[];
1138
1138
  evidence_source_refs: string[];
1139
1139
  }>, "many">;
@@ -1206,8 +1206,8 @@ export declare const indexerRequirementInspectionSchema: z.ZodObject<{
1206
1206
  coverage_domain: string;
1207
1207
  obligation: "required" | "optional" | "out-of-scope";
1208
1208
  }[];
1209
- evidence_kinds: ("code" | "contract" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot")[];
1210
1209
  scenario: string;
1210
+ evidence_kinds: ("code" | "contract" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot")[];
1211
1211
  target_source_refs: string[];
1212
1212
  evidence_source_refs: string[];
1213
1213
  }[];
@@ -1280,8 +1280,8 @@ export declare const indexerRequirementInspectionSchema: z.ZodObject<{
1280
1280
  coverage_domain: string;
1281
1281
  obligation: "required" | "optional" | "out-of-scope";
1282
1282
  }[];
1283
- evidence_kinds: ("code" | "contract" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot")[];
1284
1283
  scenario: string;
1284
+ evidence_kinds: ("code" | "contract" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot")[];
1285
1285
  target_source_refs: string[];
1286
1286
  evidence_source_refs: string[];
1287
1287
  }[];