@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
@@ -28,7 +28,7 @@ export declare const indexerDependencyTargetSchema: z.ZodDiscriminatedUnion<"lev
28
28
  level: "section";
29
29
  }>]>;
30
30
  export type IndexerDependencyTarget = z.infer<typeof indexerDependencyTargetSchema>;
31
- export declare const indexerPositiveDependencyNodeInputSchema: z.ZodUnion<[z.ZodObject<{
31
+ export declare const indexerPositiveDependencyNodeInputSchema: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
32
32
  kind: z.ZodLiteral<"source-span">;
33
33
  evidence_ref: z.ZodString;
34
34
  source_ref: z.ZodString;
@@ -249,7 +249,7 @@ export declare const indexerPositiveDependencyNodeInputSchema: z.ZodUnion<[z.Zod
249
249
  logical_unit_ref: string;
250
250
  group_projection_digest: string;
251
251
  }>, z.ZodObject<{
252
- kind: z.ZodEnum<["template-policy-fragment", "contract-metric"]>;
252
+ kind: z.ZodEnum<["template-policy-fragment", "contract-metric", "approved-knowledge"]>;
253
253
  target_ref: z.ZodString;
254
254
  content_digest: z.ZodString;
255
255
  targets: z.ZodArray<z.ZodDiscriminatedUnion<"level", [z.ZodObject<{
@@ -281,7 +281,7 @@ export declare const indexerPositiveDependencyNodeInputSchema: z.ZodUnion<[z.Zod
281
281
  level: "section";
282
282
  }>]>, "many">;
283
283
  }, "strict", z.ZodTypeAny, {
284
- kind: "template-policy-fragment" | "contract-metric";
284
+ kind: "template-policy-fragment" | "contract-metric" | "approved-knowledge";
285
285
  targets: ({
286
286
  level: "logical-unit";
287
287
  } | {
@@ -295,7 +295,7 @@ export declare const indexerPositiveDependencyNodeInputSchema: z.ZodUnion<[z.Zod
295
295
  content_digest: string;
296
296
  target_ref: string;
297
297
  }, {
298
- kind: "template-policy-fragment" | "contract-metric";
298
+ kind: "template-policy-fragment" | "contract-metric" | "approved-knowledge";
299
299
  targets: ({
300
300
  level: "logical-unit";
301
301
  } | {
@@ -606,7 +606,7 @@ export declare const indexerLogicalUnitDependencyNodeSchema: z.ZodObject<{
606
606
  group_projection_digest: string;
607
607
  }>;
608
608
  export declare const indexerResourceDependencyNodeSchema: z.ZodObject<{
609
- kind: z.ZodEnum<["template-policy-fragment", "contract-metric"]>;
609
+ kind: z.ZodEnum<["template-policy-fragment", "contract-metric", "approved-knowledge"]>;
610
610
  target_ref: z.ZodString;
611
611
  content_digest: z.ZodString;
612
612
  targets: z.ZodArray<z.ZodDiscriminatedUnion<"level", [z.ZodObject<{
@@ -640,7 +640,7 @@ export declare const indexerResourceDependencyNodeSchema: z.ZodObject<{
640
640
  } & {
641
641
  node_ref: z.ZodString;
642
642
  }, "strict", z.ZodTypeAny, {
643
- kind: "template-policy-fragment" | "contract-metric";
643
+ kind: "template-policy-fragment" | "contract-metric" | "approved-knowledge";
644
644
  targets: ({
645
645
  level: "logical-unit";
646
646
  } | {
@@ -655,7 +655,7 @@ export declare const indexerResourceDependencyNodeSchema: z.ZodObject<{
655
655
  target_ref: string;
656
656
  node_ref: string;
657
657
  }, {
658
- kind: "template-policy-fragment" | "contract-metric";
658
+ kind: "template-policy-fragment" | "contract-metric" | "approved-knowledge";
659
659
  targets: ({
660
660
  level: "logical-unit";
661
661
  } | {
@@ -670,7 +670,7 @@ export declare const indexerResourceDependencyNodeSchema: z.ZodObject<{
670
670
  target_ref: string;
671
671
  node_ref: string;
672
672
  }>;
673
- export declare const indexerPositiveDependencyNodeSchema: z.ZodUnion<[z.ZodObject<{
673
+ export declare const indexerPositiveDependencyNodeSchema: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
674
674
  kind: z.ZodLiteral<"source-span">;
675
675
  evidence_ref: z.ZodString;
676
676
  source_ref: z.ZodString;
@@ -903,7 +903,7 @@ export declare const indexerPositiveDependencyNodeSchema: z.ZodUnion<[z.ZodObjec
903
903
  node_ref: string;
904
904
  group_projection_digest: string;
905
905
  }>, z.ZodObject<{
906
- kind: z.ZodEnum<["template-policy-fragment", "contract-metric"]>;
906
+ kind: z.ZodEnum<["template-policy-fragment", "contract-metric", "approved-knowledge"]>;
907
907
  target_ref: z.ZodString;
908
908
  content_digest: z.ZodString;
909
909
  targets: z.ZodArray<z.ZodDiscriminatedUnion<"level", [z.ZodObject<{
@@ -937,7 +937,7 @@ export declare const indexerPositiveDependencyNodeSchema: z.ZodUnion<[z.ZodObjec
937
937
  } & {
938
938
  node_ref: z.ZodString;
939
939
  }, "strict", z.ZodTypeAny, {
940
- kind: "template-policy-fragment" | "contract-metric";
940
+ kind: "template-policy-fragment" | "contract-metric" | "approved-knowledge";
941
941
  targets: ({
942
942
  level: "logical-unit";
943
943
  } | {
@@ -952,7 +952,7 @@ export declare const indexerPositiveDependencyNodeSchema: z.ZodUnion<[z.ZodObjec
952
952
  target_ref: string;
953
953
  node_ref: string;
954
954
  }, {
955
- kind: "template-policy-fragment" | "contract-metric";
955
+ kind: "template-policy-fragment" | "contract-metric" | "approved-knowledge";
956
956
  targets: ({
957
957
  level: "logical-unit";
958
958
  } | {
@@ -1039,7 +1039,7 @@ export declare const indexerAuthorDependencyViewSchema: z.ZodObject<{
1039
1039
  source_ref: z.ZodString;
1040
1040
  module_ref: z.ZodNullable<z.ZodString>;
1041
1041
  logical_unit_ref: z.ZodString;
1042
- positive_nodes: z.ZodArray<z.ZodUnion<[z.ZodObject<{
1042
+ positive_nodes: z.ZodArray<z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
1043
1043
  kind: z.ZodLiteral<"source-span">;
1044
1044
  evidence_ref: z.ZodString;
1045
1045
  source_ref: z.ZodString;
@@ -1272,7 +1272,7 @@ export declare const indexerAuthorDependencyViewSchema: z.ZodObject<{
1272
1272
  node_ref: string;
1273
1273
  group_projection_digest: string;
1274
1274
  }>, z.ZodObject<{
1275
- kind: z.ZodEnum<["template-policy-fragment", "contract-metric"]>;
1275
+ kind: z.ZodEnum<["template-policy-fragment", "contract-metric", "approved-knowledge"]>;
1276
1276
  target_ref: z.ZodString;
1277
1277
  content_digest: z.ZodString;
1278
1278
  targets: z.ZodArray<z.ZodDiscriminatedUnion<"level", [z.ZodObject<{
@@ -1306,7 +1306,7 @@ export declare const indexerAuthorDependencyViewSchema: z.ZodObject<{
1306
1306
  } & {
1307
1307
  node_ref: z.ZodString;
1308
1308
  }, "strict", z.ZodTypeAny, {
1309
- kind: "template-policy-fragment" | "contract-metric";
1309
+ kind: "template-policy-fragment" | "contract-metric" | "approved-knowledge";
1310
1310
  targets: ({
1311
1311
  level: "logical-unit";
1312
1312
  } | {
@@ -1321,7 +1321,7 @@ export declare const indexerAuthorDependencyViewSchema: z.ZodObject<{
1321
1321
  target_ref: string;
1322
1322
  node_ref: string;
1323
1323
  }, {
1324
- kind: "template-policy-fragment" | "contract-metric";
1324
+ kind: "template-policy-fragment" | "contract-metric" | "approved-knowledge";
1325
1325
  targets: ({
1326
1326
  level: "logical-unit";
1327
1327
  } | {
@@ -1463,7 +1463,7 @@ export declare const indexerAuthorDependencyViewSchema: z.ZodObject<{
1463
1463
  node_ref: string;
1464
1464
  group_projection_digest: string;
1465
1465
  } | {
1466
- kind: "template-policy-fragment" | "contract-metric";
1466
+ kind: "template-policy-fragment" | "contract-metric" | "approved-knowledge";
1467
1467
  targets: ({
1468
1468
  level: "logical-unit";
1469
1469
  } | {
@@ -1554,7 +1554,7 @@ export declare const indexerAuthorDependencyViewSchema: z.ZodObject<{
1554
1554
  node_ref: string;
1555
1555
  group_projection_digest: string;
1556
1556
  } | {
1557
- kind: "template-policy-fragment" | "contract-metric";
1557
+ kind: "template-policy-fragment" | "contract-metric" | "approved-knowledge";
1558
1558
  targets: ({
1559
1559
  level: "logical-unit";
1560
1560
  } | {
@@ -277,6 +277,7 @@ export declare const indexerComposedResultEnvelopeSchema: z.ZodObject<{
277
277
  artifact_policy_variant: string;
278
278
  }>, z.ZodObject<{
279
279
  representation: z.ZodLiteral<"sections">;
280
+ template_id: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
280
281
  sections: z.ZodArray<z.ZodObject<{
281
282
  section_key: z.ZodEffects<z.ZodString, string, string>;
282
283
  owner_indexer_id: z.ZodEffects<z.ZodString, string, string>;
@@ -287,17 +288,17 @@ export declare const indexerComposedResultEnvelopeSchema: z.ZodObject<{
287
288
  blocks: z.ZodArray<z.ZodDiscriminatedUnion<"layer", [z.ZodObject<{
288
289
  block_id: z.ZodEffects<z.ZodString, string, string>;
289
290
  layer: z.ZodLiteral<"deterministic-block">;
290
- renderer: z.ZodEnum<["bullet-list", "key-value-table", "json-code-block"]>;
291
+ renderer: z.ZodEnum<["bullet-list", "key-value-table", "multi-column-table", "public-contract-table", "json-code-block"]>;
291
292
  fact_refs: z.ZodArray<z.ZodString, "many">;
292
293
  }, "strict", z.ZodTypeAny, {
293
294
  block_id: string;
294
295
  layer: "deterministic-block";
295
- renderer: "bullet-list" | "key-value-table" | "json-code-block";
296
+ renderer: "bullet-list" | "key-value-table" | "multi-column-table" | "public-contract-table" | "json-code-block";
296
297
  fact_refs: string[];
297
298
  }, {
298
299
  block_id: string;
299
300
  layer: "deterministic-block";
300
- renderer: "bullet-list" | "key-value-table" | "json-code-block";
301
+ renderer: "bullet-list" | "key-value-table" | "multi-column-table" | "public-contract-table" | "json-code-block";
301
302
  fact_refs: string[];
302
303
  }>, z.ZodObject<{
303
304
  block_id: z.ZodEffects<z.ZodString, string, string>;
@@ -324,7 +325,7 @@ export declare const indexerComposedResultEnvelopeSchema: z.ZodObject<{
324
325
  blocks: ({
325
326
  block_id: string;
326
327
  layer: "deterministic-block";
327
- renderer: "bullet-list" | "key-value-table" | "json-code-block";
328
+ renderer: "bullet-list" | "key-value-table" | "multi-column-table" | "public-contract-table" | "json-code-block";
328
329
  fact_refs: string[];
329
330
  } | {
330
331
  evidence_refs: string[];
@@ -341,7 +342,7 @@ export declare const indexerComposedResultEnvelopeSchema: z.ZodObject<{
341
342
  blocks: ({
342
343
  block_id: string;
343
344
  layer: "deterministic-block";
344
- renderer: "bullet-list" | "key-value-table" | "json-code-block";
345
+ renderer: "bullet-list" | "key-value-table" | "multi-column-table" | "public-contract-table" | "json-code-block";
345
346
  fact_refs: string[];
346
347
  } | {
347
348
  evidence_refs: string[];
@@ -367,7 +368,7 @@ export declare const indexerComposedResultEnvelopeSchema: z.ZodObject<{
367
368
  blocks: ({
368
369
  block_id: string;
369
370
  layer: "deterministic-block";
370
- renderer: "bullet-list" | "key-value-table" | "json-code-block";
371
+ renderer: "bullet-list" | "key-value-table" | "multi-column-table" | "public-contract-table" | "json-code-block";
371
372
  fact_refs: string[];
372
373
  } | {
373
374
  evidence_refs: string[];
@@ -376,6 +377,7 @@ export declare const indexerComposedResultEnvelopeSchema: z.ZodObject<{
376
377
  markdown: string;
377
378
  })[];
378
379
  }[];
380
+ template_id?: string | undefined;
379
381
  }, {
380
382
  artifact_kind: string;
381
383
  representation: "sections";
@@ -390,7 +392,7 @@ export declare const indexerComposedResultEnvelopeSchema: z.ZodObject<{
390
392
  blocks: ({
391
393
  block_id: string;
392
394
  layer: "deterministic-block";
393
- renderer: "bullet-list" | "key-value-table" | "json-code-block";
395
+ renderer: "bullet-list" | "key-value-table" | "multi-column-table" | "public-contract-table" | "json-code-block";
394
396
  fact_refs: string[];
395
397
  } | {
396
398
  evidence_refs: string[];
@@ -399,6 +401,7 @@ export declare const indexerComposedResultEnvelopeSchema: z.ZodObject<{
399
401
  markdown: string;
400
402
  })[];
401
403
  }[];
404
+ template_id?: string | undefined;
402
405
  }>]>;
403
406
  evidence_refs: z.ZodEffects<z.ZodArray<z.ZodObject<{
404
407
  ref: z.ZodString;
@@ -461,7 +464,7 @@ export declare const indexerComposedResultEnvelopeSchema: z.ZodObject<{
461
464
  blocks: ({
462
465
  block_id: string;
463
466
  layer: "deterministic-block";
464
- renderer: "bullet-list" | "key-value-table" | "json-code-block";
467
+ renderer: "bullet-list" | "key-value-table" | "multi-column-table" | "public-contract-table" | "json-code-block";
465
468
  fact_refs: string[];
466
469
  } | {
467
470
  evidence_refs: string[];
@@ -470,6 +473,7 @@ export declare const indexerComposedResultEnvelopeSchema: z.ZodObject<{
470
473
  markdown: string;
471
474
  })[];
472
475
  }[];
476
+ template_id?: string | undefined;
473
477
  };
474
478
  }, {
475
479
  evidence_refs: {
@@ -511,7 +515,7 @@ export declare const indexerComposedResultEnvelopeSchema: z.ZodObject<{
511
515
  blocks: ({
512
516
  block_id: string;
513
517
  layer: "deterministic-block";
514
- renderer: "bullet-list" | "key-value-table" | "json-code-block";
518
+ renderer: "bullet-list" | "key-value-table" | "multi-column-table" | "public-contract-table" | "json-code-block";
515
519
  fact_refs: string[];
516
520
  } | {
517
521
  evidence_refs: string[];
@@ -520,6 +524,7 @@ export declare const indexerComposedResultEnvelopeSchema: z.ZodObject<{
520
524
  markdown: string;
521
525
  })[];
522
526
  }[];
527
+ template_id?: string | undefined;
523
528
  };
524
529
  }>, "many">;
525
530
  }, "strict", z.ZodTypeAny, {
@@ -564,7 +569,7 @@ export declare const indexerComposedResultEnvelopeSchema: z.ZodObject<{
564
569
  blocks: ({
565
570
  block_id: string;
566
571
  layer: "deterministic-block";
567
- renderer: "bullet-list" | "key-value-table" | "json-code-block";
572
+ renderer: "bullet-list" | "key-value-table" | "multi-column-table" | "public-contract-table" | "json-code-block";
568
573
  fact_refs: string[];
569
574
  } | {
570
575
  evidence_refs: string[];
@@ -573,6 +578,7 @@ export declare const indexerComposedResultEnvelopeSchema: z.ZodObject<{
573
578
  markdown: string;
574
579
  })[];
575
580
  }[];
581
+ template_id?: string | undefined;
576
582
  };
577
583
  }[];
578
584
  }, {
@@ -617,7 +623,7 @@ export declare const indexerComposedResultEnvelopeSchema: z.ZodObject<{
617
623
  blocks: ({
618
624
  block_id: string;
619
625
  layer: "deterministic-block";
620
- renderer: "bullet-list" | "key-value-table" | "json-code-block";
626
+ renderer: "bullet-list" | "key-value-table" | "multi-column-table" | "public-contract-table" | "json-code-block";
621
627
  fact_refs: string[];
622
628
  } | {
623
629
  evidence_refs: string[];
@@ -626,6 +632,7 @@ export declare const indexerComposedResultEnvelopeSchema: z.ZodObject<{
626
632
  markdown: string;
627
633
  })[];
628
634
  }[];
635
+ template_id?: string | undefined;
629
636
  };
630
637
  }[];
631
638
  }>]>;
@@ -724,7 +731,7 @@ export declare const indexerComposedResultEnvelopeSchema: z.ZodObject<{
724
731
  blocks: ({
725
732
  block_id: string;
726
733
  layer: "deterministic-block";
727
- renderer: "bullet-list" | "key-value-table" | "json-code-block";
734
+ renderer: "bullet-list" | "key-value-table" | "multi-column-table" | "public-contract-table" | "json-code-block";
728
735
  fact_refs: string[];
729
736
  } | {
730
737
  evidence_refs: string[];
@@ -733,6 +740,7 @@ export declare const indexerComposedResultEnvelopeSchema: z.ZodObject<{
733
740
  markdown: string;
734
741
  })[];
735
742
  }[];
743
+ template_id?: string | undefined;
736
744
  };
737
745
  }[];
738
746
  };
@@ -821,7 +829,7 @@ export declare const indexerComposedResultEnvelopeSchema: z.ZodObject<{
821
829
  blocks: ({
822
830
  block_id: string;
823
831
  layer: "deterministic-block";
824
- renderer: "bullet-list" | "key-value-table" | "json-code-block";
832
+ renderer: "bullet-list" | "key-value-table" | "multi-column-table" | "public-contract-table" | "json-code-block";
825
833
  fact_refs: string[];
826
834
  } | {
827
835
  evidence_refs: string[];
@@ -830,6 +838,7 @@ export declare const indexerComposedResultEnvelopeSchema: z.ZodObject<{
830
838
  markdown: string;
831
839
  })[];
832
840
  }[];
841
+ template_id?: string | undefined;
833
842
  };
834
843
  }[];
835
844
  };
@@ -961,7 +970,7 @@ export declare const indexerComposedResultEnvelopeSchema: z.ZodObject<{
961
970
  blocks: ({
962
971
  block_id: string;
963
972
  layer: "deterministic-block";
964
- renderer: "bullet-list" | "key-value-table" | "json-code-block";
973
+ renderer: "bullet-list" | "key-value-table" | "multi-column-table" | "public-contract-table" | "json-code-block";
965
974
  fact_refs: string[];
966
975
  } | {
967
976
  evidence_refs: string[];
@@ -970,6 +979,7 @@ export declare const indexerComposedResultEnvelopeSchema: z.ZodObject<{
970
979
  markdown: string;
971
980
  })[];
972
981
  }[];
982
+ template_id?: string | undefined;
973
983
  };
974
984
  }[];
975
985
  };
@@ -1079,7 +1089,7 @@ export declare const indexerComposedResultEnvelopeSchema: z.ZodObject<{
1079
1089
  blocks: ({
1080
1090
  block_id: string;
1081
1091
  layer: "deterministic-block";
1082
- renderer: "bullet-list" | "key-value-table" | "json-code-block";
1092
+ renderer: "bullet-list" | "key-value-table" | "multi-column-table" | "public-contract-table" | "json-code-block";
1083
1093
  fact_refs: string[];
1084
1094
  } | {
1085
1095
  evidence_refs: string[];
@@ -1088,6 +1098,7 @@ export declare const indexerComposedResultEnvelopeSchema: z.ZodObject<{
1088
1098
  markdown: string;
1089
1099
  })[];
1090
1100
  }[];
1101
+ template_id?: string | undefined;
1091
1102
  };
1092
1103
  }[];
1093
1104
  };
@@ -0,0 +1,17 @@
1
+ import type { IndexerArtifactResult } from "./indexerArtifactResult.js";
2
+ import { type IndexerAuthorDependencyView } from "./indexerDependencyView.js";
3
+ import type { IndexerMainAuthorWorkset } from "./indexerMainWorkset.js";
4
+ /** An Agent can identify a scenario in supplied source. This only attests its
5
+ * source coordinates and identity; it does not verify the example's behavior. */
6
+ export declare function exampleFactDependencies(input: {
7
+ workset: IndexerMainAuthorWorkset;
8
+ dependency_view: IndexerAuthorDependencyView;
9
+ result: IndexerArtifactResult;
10
+ }): {
11
+ node_ref: string;
12
+ kind: "selected-fact";
13
+ fact_ref: string;
14
+ fact_digest: string;
15
+ source_span_node_refs: string[];
16
+ targets: never[];
17
+ }[];
@@ -29,7 +29,6 @@ export declare const indexerExampleIdentityAuditSchema: z.ZodObject<{
29
29
  }, "strict", z.ZodTypeAny, {
30
30
  protocol: "context.indexer.example-identity-audit/v1";
31
31
  inventory_digest: string;
32
- audit_digest: string;
33
32
  collisions: {
34
33
  example_ref: string;
35
34
  public_target_ref: string;
@@ -41,10 +40,10 @@ export declare const indexerExampleIdentityAuditSchema: z.ZodObject<{
41
40
  unique_example_count: number;
42
41
  collision_count: number;
43
42
  pass: boolean;
43
+ audit_digest: string;
44
44
  }, {
45
45
  protocol: "context.indexer.example-identity-audit/v1";
46
46
  inventory_digest: string;
47
- audit_digest: string;
48
47
  collisions: {
49
48
  example_ref: string;
50
49
  public_target_ref: string;
@@ -56,6 +55,7 @@ export declare const indexerExampleIdentityAuditSchema: z.ZodObject<{
56
55
  unique_example_count: number;
57
56
  collision_count: number;
58
57
  pass: boolean;
58
+ audit_digest: string;
59
59
  }>;
60
60
  export type IndexerExampleIdentityAudit = z.infer<typeof indexerExampleIdentityAuditSchema>;
61
61
  export declare function indexerExampleIdentityAuditDigest(value: Omit<IndexerExampleIdentityAudit, "audit_digest">): string;