@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.
Files changed (98) hide show
  1. package/README.md +12 -4
  2. package/README.zh-CN.md +11 -4
  3. package/docs/README.md +13 -1
  4. package/docs/README.zh-CN.md +13 -1
  5. package/docs/getting-started.md +95 -69
  6. package/docs/guides/agent-dialogue.md +20 -9
  7. package/docs/guides/agent-guide.md +48 -10
  8. package/docs/guides/code-indexer-skill-authoring.md +42 -11
  9. package/docs/guides/indexer-manifest-example.md +103 -0
  10. package/docs/guides/indexer-provider-and-customization.md +334 -15
  11. package/docs/guides/indexer-skill-creation.md +99 -0
  12. package/docs/guides/knowledge-updates.md +422 -0
  13. package/docs/guides/lark-resources.md +5 -1
  14. package/docs/guides/markdown-indexer-skill-authoring.md +16 -7
  15. package/docs/guides/note.md +37 -0
  16. package/docs/guides/package-outputs.md +231 -60
  17. package/docs/guides/sessions.md +50 -0
  18. package/docs/guides/workspace-commit.md +45 -0
  19. package/docs/guides/workspace-prepare.md +72 -0
  20. package/docs/guides/workspace-restore.md +59 -0
  21. package/docs/reference/code-extractors.md +23 -11
  22. package/docs/reference/indexer-provider-protocol.md +135 -22
  23. package/docs/reference/package-templates.md +10 -9
  24. package/docs/reference/project-api.md +100 -13
  25. package/docs/reference/template-variables.md +7 -7
  26. package/index.d.ts +15 -0
  27. package/index.js +1708 -626
  28. package/indexerAgentStepProtocol.d.ts +44 -0
  29. package/indexerApprovedKnowledge.d.ts +371 -0
  30. package/indexerArticlePlan.d.ts +83 -0
  31. package/indexerArtifact.d.ts +10 -7
  32. package/indexerArtifactDependencies.d.ts +5 -5
  33. package/indexerArtifactPolicy.d.ts +12 -12
  34. package/indexerArtifactResult.d.ts +76 -69
  35. package/indexerAuthoringFixture.d.ts +8 -8
  36. package/indexerAuthorizedWorksetView.d.ts +14 -14
  37. package/indexerBaseQuestionAmendment.d.ts +40 -0
  38. package/indexerCandidateCompile.d.ts +46 -36
  39. package/indexerCatalogFallback.d.ts +566 -48
  40. package/indexerContentLayers.d.ts +6 -4
  41. package/indexerContractDeclaration.d.ts +3 -0
  42. package/indexerControlledProgram.d.ts +1039 -238
  43. package/indexerCustomizationDraft.d.ts +188 -0
  44. package/indexerDependencyView.d.ts +17 -17
  45. package/indexerEffectiveArtifact.d.ts +26 -15
  46. package/indexerExampleFactDependencies.d.ts +17 -0
  47. package/indexerExampleIdentityAudit.d.ts +2 -2
  48. package/indexerInventoryDisposition.d.ts +44 -44
  49. package/indexerKnowledgeDependency.d.ts +46 -0
  50. package/indexerLayerComposition.d.ts +92 -54
  51. package/indexerLayoutChange.d.ts +8 -8
  52. package/indexerLayoutProposalSet.d.ts +15 -10
  53. package/indexerLayoutResolver.d.ts +15 -6
  54. package/indexerLayoutTransition.d.ts +8 -8
  55. package/indexerLifecycle.d.ts +1 -1
  56. package/indexerMainRunLedger.d.ts +3 -0
  57. package/indexerMainRunProtocol.d.ts +872 -196
  58. package/indexerMainWorkset.d.ts +50 -0
  59. package/indexerNavigationArtifactPlan.d.ts +2 -2
  60. package/indexerOverlayQuestionAmendment.d.ts +56 -16
  61. package/indexerOverlayQuestionApplyProposal.d.ts +98 -26
  62. package/indexerPartitionPlan.d.ts +585 -40
  63. package/indexerPhysicalArtifactAudit.d.ts +2 -2
  64. package/indexerPhysicalArtifactManifest.d.ts +24 -24
  65. package/indexerPostAuthorRunLedger.d.ts +60 -34
  66. package/indexerPrimaryProjection.d.ts +2 -2
  67. package/indexerProfileContract.d.ts +28 -28
  68. package/indexerProgramRunProtocol.d.ts +868 -194
  69. package/indexerProjectProposal.d.ts +36 -8
  70. package/indexerProjectedArtifactFanOutAudit.d.ts +2 -2
  71. package/indexerProtocolHash.d.ts +2 -0
  72. package/indexerProvider.d.ts +102 -58
  73. package/indexerProviderComposition.d.ts +4 -4
  74. package/indexerProviderRouting.d.ts +52 -0
  75. package/indexerProviderSelectionProposal.d.ts +48 -0
  76. package/indexerPublicContractFacts.d.ts +7 -0
  77. package/indexerPublicContractTable.d.ts +11 -0
  78. package/indexerReaderTargetInventory.d.ts +6 -6
  79. package/indexerReferenceOnlyAudit.d.ts +2 -2
  80. package/indexerRegistry.d.ts +658 -0
  81. package/indexerRequirementConfirmation.d.ts +48 -16
  82. package/indexerRequirementLifecycle.d.ts +154 -42
  83. package/indexerResultReconciliation.d.ts +12 -11
  84. package/indexerSemanticInput.d.ts +27168 -3813
  85. package/{indexerGeneratedAuthoringAudit.d.ts → indexerStructuredClaims.d.ts} +0 -84
  86. package/indexerStructuredDeclaration.d.ts +8 -8
  87. package/indexerTemplateRendering.d.ts +7 -7
  88. package/indexerToolSnapshot.d.ts +16 -16
  89. package/knowledgeMap.d.ts +188 -0
  90. package/managedSources.d.ts +15 -0
  91. package/package.json +1 -1
  92. package/packageSite.d.ts +25 -0
  93. package/phases.d.ts +0 -3
  94. package/processedScopes.d.ts +75 -0
  95. package/sessionMetadata.d.ts +49 -0
  96. package/sources.d.ts +9 -3
  97. package/templates/package-templates/kb/skills/knowledge-query/SKILL.md +15 -10
  98. package/templates/package-templates.zh-CN/kb/skills/knowledge-query/SKILL.md +8 -8
@@ -386,31 +386,31 @@ export declare const indexerProviderManifestSchema: z.ZodEffects<z.ZodObject<{
386
386
  id: z.ZodEffects<z.ZodString, string, string>;
387
387
  description: z.ZodString;
388
388
  }, "strict", z.ZodTypeAny, {
389
- id: string;
390
389
  description: string;
391
- }, {
392
390
  id: string;
391
+ }, {
393
392
  description: string;
393
+ id: string;
394
394
  }>, "many">;
395
395
  supporting_signals: z.ZodArray<z.ZodObject<{
396
396
  id: z.ZodEffects<z.ZodString, string, string>;
397
397
  description: z.ZodString;
398
398
  }, "strict", z.ZodTypeAny, {
399
- id: string;
400
399
  description: string;
401
- }, {
402
400
  id: string;
401
+ }, {
403
402
  description: string;
403
+ id: string;
404
404
  }>, "many">;
405
405
  negative_signals: z.ZodArray<z.ZodObject<{
406
406
  id: z.ZodEffects<z.ZodString, string, string>;
407
407
  description: z.ZodString;
408
408
  }, "strict", z.ZodTypeAny, {
409
- id: string;
410
409
  description: string;
411
- }, {
412
410
  id: string;
411
+ }, {
413
412
  description: string;
413
+ id: string;
414
414
  }>, "many">;
415
415
  agent_questions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
416
416
  detector: z.ZodOptional<z.ZodObject<{
@@ -452,16 +452,16 @@ export declare const indexerProviderManifestSchema: z.ZodEffects<z.ZodObject<{
452
452
  }, "strict", z.ZodTypeAny, {
453
453
  target_kinds: string[];
454
454
  required_signals: {
455
- id: string;
456
455
  description: string;
456
+ id: string;
457
457
  }[];
458
458
  supporting_signals: {
459
- id: string;
460
459
  description: string;
460
+ id: string;
461
461
  }[];
462
462
  negative_signals: {
463
- id: string;
464
463
  description: string;
464
+ id: string;
465
465
  }[];
466
466
  agent_questions?: string[] | undefined;
467
467
  detector?: {
@@ -477,16 +477,16 @@ export declare const indexerProviderManifestSchema: z.ZodEffects<z.ZodObject<{
477
477
  }, {
478
478
  target_kinds: string[];
479
479
  required_signals: {
480
- id: string;
481
480
  description: string;
481
+ id: string;
482
482
  }[];
483
483
  supporting_signals: {
484
- id: string;
485
484
  description: string;
485
+ id: string;
486
486
  }[];
487
487
  negative_signals: {
488
- id: string;
489
488
  description: string;
489
+ id: string;
490
490
  }[];
491
491
  agent_questions?: string[] | undefined;
492
492
  detector?: {
@@ -502,16 +502,16 @@ export declare const indexerProviderManifestSchema: z.ZodEffects<z.ZodObject<{
502
502
  }>, {
503
503
  target_kinds: string[];
504
504
  required_signals: {
505
- id: string;
506
505
  description: string;
506
+ id: string;
507
507
  }[];
508
508
  supporting_signals: {
509
- id: string;
510
509
  description: string;
510
+ id: string;
511
511
  }[];
512
512
  negative_signals: {
513
- id: string;
514
513
  description: string;
514
+ id: string;
515
515
  }[];
516
516
  agent_questions?: string[] | undefined;
517
517
  detector?: {
@@ -527,16 +527,16 @@ export declare const indexerProviderManifestSchema: z.ZodEffects<z.ZodObject<{
527
527
  }, {
528
528
  target_kinds: string[];
529
529
  required_signals: {
530
- id: string;
531
530
  description: string;
531
+ id: string;
532
532
  }[];
533
533
  supporting_signals: {
534
- id: string;
535
534
  description: string;
535
+ id: string;
536
536
  }[];
537
537
  negative_signals: {
538
- id: string;
539
538
  description: string;
539
+ id: string;
540
540
  }[];
541
541
  agent_questions?: string[] | undefined;
542
542
  detector?: {
@@ -1290,17 +1290,29 @@ export declare const indexerProviderManifestSchema: z.ZodEffects<z.ZodObject<{
1290
1290
  profiles: string[];
1291
1291
  }>, "many">>;
1292
1292
  templates: z.ZodOptional<z.ZodArray<z.ZodObject<{
1293
+ kind: z.ZodOptional<z.ZodEnum<["procedure", "page-program"]>>;
1293
1294
  id: z.ZodEffects<z.ZodString, string, string>;
1294
1295
  profile: z.ZodEffects<z.ZodString, string, string>;
1295
1296
  path: z.ZodEffects<z.ZodString, string, string>;
1297
+ reader_goal: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
1298
+ guidance_path: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
1299
+ delivery: z.ZodOptional<z.ZodEnum<["profile", "selected"]>>;
1296
1300
  }, "strict", z.ZodTypeAny, {
1297
- id: string;
1298
1301
  path: string;
1302
+ id: string;
1299
1303
  profile: string;
1304
+ kind?: "procedure" | "page-program" | undefined;
1305
+ reader_goal?: string | undefined;
1306
+ guidance_path?: string | undefined;
1307
+ delivery?: "profile" | "selected" | undefined;
1300
1308
  }, {
1301
- id: string;
1302
1309
  path: string;
1310
+ id: string;
1303
1311
  profile: string;
1312
+ kind?: "procedure" | "page-program" | undefined;
1313
+ reader_goal?: string | undefined;
1314
+ guidance_path?: string | undefined;
1315
+ delivery?: "profile" | "selected" | undefined;
1304
1316
  }>, "many">>;
1305
1317
  config_schema: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
1306
1318
  forbidden_fallbacks: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">>;
@@ -1320,9 +1332,13 @@ export declare const indexerProviderManifestSchema: z.ZodEffects<z.ZodObject<{
1320
1332
  profiles: string[];
1321
1333
  }[] | undefined;
1322
1334
  templates?: {
1323
- id: string;
1324
1335
  path: string;
1336
+ id: string;
1325
1337
  profile: string;
1338
+ kind?: "procedure" | "page-program" | undefined;
1339
+ reader_goal?: string | undefined;
1340
+ guidance_path?: string | undefined;
1341
+ delivery?: "profile" | "selected" | undefined;
1326
1342
  }[] | undefined;
1327
1343
  config_schema?: string | undefined;
1328
1344
  forbidden_fallbacks?: string[] | undefined;
@@ -1342,9 +1358,13 @@ export declare const indexerProviderManifestSchema: z.ZodEffects<z.ZodObject<{
1342
1358
  profiles: string[];
1343
1359
  }[] | undefined;
1344
1360
  templates?: {
1345
- id: string;
1346
1361
  path: string;
1362
+ id: string;
1347
1363
  profile: string;
1364
+ kind?: "procedure" | "page-program" | undefined;
1365
+ reader_goal?: string | undefined;
1366
+ guidance_path?: string | undefined;
1367
+ delivery?: "profile" | "selected" | undefined;
1348
1368
  }[] | undefined;
1349
1369
  config_schema?: string | undefined;
1350
1370
  forbidden_fallbacks?: string[] | undefined;
@@ -1364,9 +1384,13 @@ export declare const indexerProviderManifestSchema: z.ZodEffects<z.ZodObject<{
1364
1384
  profiles: string[];
1365
1385
  }[] | undefined;
1366
1386
  templates?: {
1367
- id: string;
1368
1387
  path: string;
1388
+ id: string;
1369
1389
  profile: string;
1390
+ kind?: "procedure" | "page-program" | undefined;
1391
+ reader_goal?: string | undefined;
1392
+ guidance_path?: string | undefined;
1393
+ delivery?: "profile" | "selected" | undefined;
1370
1394
  }[] | undefined;
1371
1395
  config_schema?: string | undefined;
1372
1396
  forbidden_fallbacks?: string[] | undefined;
@@ -1386,9 +1410,13 @@ export declare const indexerProviderManifestSchema: z.ZodEffects<z.ZodObject<{
1386
1410
  profiles: string[];
1387
1411
  }[] | undefined;
1388
1412
  templates?: {
1389
- id: string;
1390
1413
  path: string;
1414
+ id: string;
1391
1415
  profile: string;
1416
+ kind?: "procedure" | "page-program" | undefined;
1417
+ reader_goal?: string | undefined;
1418
+ guidance_path?: string | undefined;
1419
+ delivery?: "profile" | "selected" | undefined;
1392
1420
  }[] | undefined;
1393
1421
  config_schema?: string | undefined;
1394
1422
  forbidden_fallbacks?: string[] | undefined;
@@ -1438,51 +1466,51 @@ export declare const indexerProviderManifestSchema: z.ZodEffects<z.ZodObject<{
1438
1466
  required: z.ZodBoolean;
1439
1467
  }, "strict", z.ZodTypeAny, {
1440
1468
  type: "enum";
1441
- id: string;
1442
1469
  values: string[];
1470
+ id: string;
1443
1471
  required: boolean;
1444
1472
  }, {
1445
1473
  type: "enum";
1446
- id: string;
1447
1474
  values: string[];
1475
+ id: string;
1448
1476
  required: boolean;
1449
1477
  }>, {
1450
1478
  type: "enum";
1451
- id: string;
1452
1479
  values: string[];
1480
+ id: string;
1453
1481
  required: boolean;
1454
1482
  }, {
1455
1483
  type: "enum";
1456
- id: string;
1457
1484
  values: string[];
1485
+ id: string;
1458
1486
  required: boolean;
1459
1487
  }>, "many">;
1460
1488
  }, "strict", z.ZodTypeAny, {
1461
1489
  axes: {
1462
1490
  type: "enum";
1463
- id: string;
1464
1491
  values: string[];
1492
+ id: string;
1465
1493
  required: boolean;
1466
1494
  }[];
1467
1495
  }, {
1468
1496
  axes: {
1469
1497
  type: "enum";
1470
- id: string;
1471
1498
  values: string[];
1499
+ id: string;
1472
1500
  required: boolean;
1473
1501
  }[];
1474
1502
  }>, {
1475
1503
  axes: {
1476
1504
  type: "enum";
1477
- id: string;
1478
1505
  values: string[];
1506
+ id: string;
1479
1507
  required: boolean;
1480
1508
  }[];
1481
1509
  }, {
1482
1510
  axes: {
1483
1511
  type: "enum";
1484
- id: string;
1485
1512
  values: string[];
1513
+ id: string;
1486
1514
  required: boolean;
1487
1515
  }[];
1488
1516
  }>>;
@@ -1584,8 +1612,8 @@ export declare const indexerProviderManifestSchema: z.ZodEffects<z.ZodObject<{
1584
1612
  variant_schema?: {
1585
1613
  axes: {
1586
1614
  type: "enum";
1587
- id: string;
1588
1615
  values: string[];
1616
+ id: string;
1589
1617
  required: boolean;
1590
1618
  }[];
1591
1619
  } | undefined;
@@ -1608,8 +1636,8 @@ export declare const indexerProviderManifestSchema: z.ZodEffects<z.ZodObject<{
1608
1636
  variant_schema?: {
1609
1637
  axes: {
1610
1638
  type: "enum";
1611
- id: string;
1612
1639
  values: string[];
1640
+ id: string;
1613
1641
  required: boolean;
1614
1642
  }[];
1615
1643
  } | undefined;
@@ -1634,8 +1662,8 @@ export declare const indexerProviderManifestSchema: z.ZodEffects<z.ZodObject<{
1634
1662
  variant_schema?: {
1635
1663
  axes: {
1636
1664
  type: "enum";
1637
- id: string;
1638
1665
  values: string[];
1666
+ id: string;
1639
1667
  required: boolean;
1640
1668
  }[];
1641
1669
  } | undefined;
@@ -1660,8 +1688,8 @@ export declare const indexerProviderManifestSchema: z.ZodEffects<z.ZodObject<{
1660
1688
  variant_schema?: {
1661
1689
  axes: {
1662
1690
  type: "enum";
1663
- id: string;
1664
1691
  values: string[];
1692
+ id: string;
1665
1693
  required: boolean;
1666
1694
  }[];
1667
1695
  } | undefined;
@@ -1686,8 +1714,8 @@ export declare const indexerProviderManifestSchema: z.ZodEffects<z.ZodObject<{
1686
1714
  variant_schema?: {
1687
1715
  axes: {
1688
1716
  type: "enum";
1689
- id: string;
1690
1717
  values: string[];
1718
+ id: string;
1691
1719
  required: boolean;
1692
1720
  }[];
1693
1721
  } | undefined;
@@ -1712,8 +1740,8 @@ export declare const indexerProviderManifestSchema: z.ZodEffects<z.ZodObject<{
1712
1740
  variant_schema?: {
1713
1741
  axes: {
1714
1742
  type: "enum";
1715
- id: string;
1716
1743
  values: string[];
1744
+ id: string;
1717
1745
  required: boolean;
1718
1746
  }[];
1719
1747
  } | undefined;
@@ -1737,9 +1765,13 @@ export declare const indexerProviderManifestSchema: z.ZodEffects<z.ZodObject<{
1737
1765
  profiles: string[];
1738
1766
  }[] | undefined;
1739
1767
  templates?: {
1740
- id: string;
1741
1768
  path: string;
1769
+ id: string;
1742
1770
  profile: string;
1771
+ kind?: "procedure" | "page-program" | undefined;
1772
+ reader_goal?: string | undefined;
1773
+ guidance_path?: string | undefined;
1774
+ delivery?: "profile" | "selected" | undefined;
1743
1775
  }[] | undefined;
1744
1776
  config_schema?: string | undefined;
1745
1777
  forbidden_fallbacks?: string[] | undefined;
@@ -1750,16 +1782,16 @@ export declare const indexerProviderManifestSchema: z.ZodEffects<z.ZodObject<{
1750
1782
  activation: {
1751
1783
  target_kinds: string[];
1752
1784
  required_signals: {
1753
- id: string;
1754
1785
  description: string;
1786
+ id: string;
1755
1787
  }[];
1756
1788
  supporting_signals: {
1757
- id: string;
1758
1789
  description: string;
1790
+ id: string;
1759
1791
  }[];
1760
1792
  negative_signals: {
1761
- id: string;
1762
1793
  description: string;
1794
+ id: string;
1763
1795
  }[];
1764
1796
  agent_questions?: string[] | undefined;
1765
1797
  detector?: {
@@ -1886,8 +1918,8 @@ export declare const indexerProviderManifestSchema: z.ZodEffects<z.ZodObject<{
1886
1918
  variant_schema?: {
1887
1919
  axes: {
1888
1920
  type: "enum";
1889
- id: string;
1890
1921
  values: string[];
1922
+ id: string;
1891
1923
  required: boolean;
1892
1924
  }[];
1893
1925
  } | undefined;
@@ -1911,9 +1943,13 @@ export declare const indexerProviderManifestSchema: z.ZodEffects<z.ZodObject<{
1911
1943
  profiles: string[];
1912
1944
  }[] | undefined;
1913
1945
  templates?: {
1914
- id: string;
1915
1946
  path: string;
1947
+ id: string;
1916
1948
  profile: string;
1949
+ kind?: "procedure" | "page-program" | undefined;
1950
+ reader_goal?: string | undefined;
1951
+ guidance_path?: string | undefined;
1952
+ delivery?: "profile" | "selected" | undefined;
1917
1953
  }[] | undefined;
1918
1954
  config_schema?: string | undefined;
1919
1955
  forbidden_fallbacks?: string[] | undefined;
@@ -1924,16 +1960,16 @@ export declare const indexerProviderManifestSchema: z.ZodEffects<z.ZodObject<{
1924
1960
  activation: {
1925
1961
  target_kinds: string[];
1926
1962
  required_signals: {
1927
- id: string;
1928
1963
  description: string;
1964
+ id: string;
1929
1965
  }[];
1930
1966
  supporting_signals: {
1931
- id: string;
1932
1967
  description: string;
1968
+ id: string;
1933
1969
  }[];
1934
1970
  negative_signals: {
1935
- id: string;
1936
1971
  description: string;
1972
+ id: string;
1937
1973
  }[];
1938
1974
  agent_questions?: string[] | undefined;
1939
1975
  detector?: {
@@ -2060,8 +2096,8 @@ export declare const indexerProviderManifestSchema: z.ZodEffects<z.ZodObject<{
2060
2096
  variant_schema?: {
2061
2097
  axes: {
2062
2098
  type: "enum";
2063
- id: string;
2064
2099
  values: string[];
2100
+ id: string;
2065
2101
  required: boolean;
2066
2102
  }[];
2067
2103
  } | undefined;
@@ -2085,9 +2121,13 @@ export declare const indexerProviderManifestSchema: z.ZodEffects<z.ZodObject<{
2085
2121
  profiles: string[];
2086
2122
  }[] | undefined;
2087
2123
  templates?: {
2088
- id: string;
2089
2124
  path: string;
2125
+ id: string;
2090
2126
  profile: string;
2127
+ kind?: "procedure" | "page-program" | undefined;
2128
+ reader_goal?: string | undefined;
2129
+ guidance_path?: string | undefined;
2130
+ delivery?: "profile" | "selected" | undefined;
2091
2131
  }[] | undefined;
2092
2132
  config_schema?: string | undefined;
2093
2133
  forbidden_fallbacks?: string[] | undefined;
@@ -2098,16 +2138,16 @@ export declare const indexerProviderManifestSchema: z.ZodEffects<z.ZodObject<{
2098
2138
  activation: {
2099
2139
  target_kinds: string[];
2100
2140
  required_signals: {
2101
- id: string;
2102
2141
  description: string;
2142
+ id: string;
2103
2143
  }[];
2104
2144
  supporting_signals: {
2105
- id: string;
2106
2145
  description: string;
2146
+ id: string;
2107
2147
  }[];
2108
2148
  negative_signals: {
2109
- id: string;
2110
2149
  description: string;
2150
+ id: string;
2111
2151
  }[];
2112
2152
  agent_questions?: string[] | undefined;
2113
2153
  detector?: {
@@ -2234,8 +2274,8 @@ export declare const indexerProviderManifestSchema: z.ZodEffects<z.ZodObject<{
2234
2274
  variant_schema?: {
2235
2275
  axes: {
2236
2276
  type: "enum";
2237
- id: string;
2238
2277
  values: string[];
2278
+ id: string;
2239
2279
  required: boolean;
2240
2280
  }[];
2241
2281
  } | undefined;
@@ -2259,9 +2299,13 @@ export declare const indexerProviderManifestSchema: z.ZodEffects<z.ZodObject<{
2259
2299
  profiles: string[];
2260
2300
  }[] | undefined;
2261
2301
  templates?: {
2262
- id: string;
2263
2302
  path: string;
2303
+ id: string;
2264
2304
  profile: string;
2305
+ kind?: "procedure" | "page-program" | undefined;
2306
+ reader_goal?: string | undefined;
2307
+ guidance_path?: string | undefined;
2308
+ delivery?: "profile" | "selected" | undefined;
2265
2309
  }[] | undefined;
2266
2310
  config_schema?: string | undefined;
2267
2311
  forbidden_fallbacks?: string[] | undefined;
@@ -2272,16 +2316,16 @@ export declare const indexerProviderManifestSchema: z.ZodEffects<z.ZodObject<{
2272
2316
  activation: {
2273
2317
  target_kinds: string[];
2274
2318
  required_signals: {
2275
- id: string;
2276
2319
  description: string;
2320
+ id: string;
2277
2321
  }[];
2278
2322
  supporting_signals: {
2279
- id: string;
2280
2323
  description: string;
2324
+ id: string;
2281
2325
  }[];
2282
2326
  negative_signals: {
2283
- id: string;
2284
2327
  description: string;
2328
+ id: string;
2285
2329
  }[];
2286
2330
  agent_questions?: string[] | undefined;
2287
2331
  detector?: {
@@ -2408,8 +2452,8 @@ export declare const indexerProviderManifestSchema: z.ZodEffects<z.ZodObject<{
2408
2452
  variant_schema?: {
2409
2453
  axes: {
2410
2454
  type: "enum";
2411
- id: string;
2412
2455
  values: string[];
2456
+ id: string;
2413
2457
  required: boolean;
2414
2458
  }[];
2415
2459
  } | undefined;
@@ -932,7 +932,6 @@ export declare const indexerProviderCompositionPlanSchema: z.ZodObject<{
932
932
  produces: "context.indexer.tool-snapshot/v1";
933
933
  }>;
934
934
  }, "strict", z.ZodTypeAny, {
935
- provider_layer_id: string;
936
935
  declaration: {
937
936
  id: string;
938
937
  operations: string[];
@@ -941,8 +940,8 @@ export declare const indexerProviderCompositionPlanSchema: z.ZodObject<{
941
940
  request: string;
942
941
  produces: "context.indexer.tool-snapshot/v1";
943
942
  };
944
- }, {
945
943
  provider_layer_id: string;
944
+ }, {
946
945
  declaration: {
947
946
  id: string;
948
947
  operations: string[];
@@ -951,6 +950,7 @@ export declare const indexerProviderCompositionPlanSchema: z.ZodObject<{
951
950
  request: string;
952
951
  produces: "context.indexer.tool-snapshot/v1";
953
952
  };
953
+ provider_layer_id: string;
954
954
  }>, "many">;
955
955
  logical_units: z.ZodArray<z.ZodObject<{
956
956
  id: z.ZodEffects<z.ZodString, string, string>;
@@ -1082,7 +1082,6 @@ export declare const indexerProviderCompositionPlanSchema: z.ZodObject<{
1082
1082
  provider_layer_ids: string[];
1083
1083
  }[];
1084
1084
  tool_sources: {
1085
- provider_layer_id: string;
1086
1085
  declaration: {
1087
1086
  id: string;
1088
1087
  operations: string[];
@@ -1091,6 +1090,7 @@ export declare const indexerProviderCompositionPlanSchema: z.ZodObject<{
1091
1090
  request: string;
1092
1091
  produces: "context.indexer.tool-snapshot/v1";
1093
1092
  };
1093
+ provider_layer_id: string;
1094
1094
  }[];
1095
1095
  logical_units: {
1096
1096
  id: string;
@@ -1216,7 +1216,6 @@ export declare const indexerProviderCompositionPlanSchema: z.ZodObject<{
1216
1216
  provider_layer_ids: string[];
1217
1217
  }[];
1218
1218
  tool_sources: {
1219
- provider_layer_id: string;
1220
1219
  declaration: {
1221
1220
  id: string;
1222
1221
  operations: string[];
@@ -1225,6 +1224,7 @@ export declare const indexerProviderCompositionPlanSchema: z.ZodObject<{
1225
1224
  request: string;
1226
1225
  produces: "context.indexer.tool-snapshot/v1";
1227
1226
  };
1227
+ provider_layer_id: string;
1228
1228
  }[];
1229
1229
  logical_units: {
1230
1230
  id: string;