@c4a/context 0.7.9 → 0.7.10-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/articleStructure.d.ts +254 -0
- package/docs/guides/agent-dialogue.md +1 -1
- package/docs/guides/code-indexer-skill-authoring.md +76 -178
- package/docs/guides/indexer-provider-and-customization.md +93 -453
- package/docs/guides/indexer-skill-creation.md +107 -97
- package/docs/guides/knowledge-updates.md +35 -14
- package/docs/guides/markdown-indexer-skill-authoring.md +57 -134
- package/docs/reference/indexer-provider-protocol.md +52 -102
- package/docs/reference/package-templates.md +39 -65
- package/docs/reference/template-variables.md +2 -3
- package/index.d.ts +6 -10
- package/index.js +6441 -8771
- package/indexerAgentStepProtocol.d.ts +0 -910
- package/indexerApprovedKnowledge.d.ts +98 -359
- package/indexerArticlePlan.d.ts +3 -26
- package/indexerArtifact.d.ts +201 -70
- package/indexerArtifactPolicy.d.ts +0 -18
- package/indexerArtifactResult.d.ts +240 -888
- package/indexerAuthoringFixture.d.ts +0 -13
- package/indexerBenchmark.d.ts +2 -2
- package/indexerCandidateCompile.d.ts +123 -167
- package/indexerCatalogFallback.d.ts +32 -374
- package/indexerCollectionMapping.d.ts +2 -2
- package/indexerContentLayers.d.ts +187 -41
- package/indexerContractOverlay.d.ts +30 -44
- package/indexerControlledInvocation.d.ts +6 -6
- package/indexerControlledProgram.d.ts +959 -3020
- package/indexerDependencyView.d.ts +96 -96
- package/indexerEffectiveArtifact.d.ts +381 -242
- package/indexerExampleDecision.d.ts +134 -134
- package/indexerExampleIdentity.d.ts +6 -6
- package/indexerExampleIdentityAudit.d.ts +6 -6
- package/indexerInventoryDisposition.d.ts +0 -39
- package/indexerLayerComposition.d.ts +1378 -852
- package/indexerLayoutChange.d.ts +24 -33
- package/indexerLayoutProposalSet.d.ts +143 -137
- package/indexerLayoutResolver.d.ts +116 -101
- package/indexerLayoutTransition.d.ts +6 -6
- package/indexerMainLifecycle.d.ts +1 -11
- package/indexerMainRunLedger.d.ts +0 -14
- package/indexerMainRunProtocol.d.ts +806 -2530
- package/indexerMainWorkset.d.ts +0 -1212
- package/indexerNavigationArtifactPlan.d.ts +2 -2
- package/indexerOverlayQuestionApplyProposal.d.ts +0 -4
- package/indexerParserCoordinate.d.ts +2 -2
- package/indexerParserExecutionPlan.d.ts +42 -42
- package/indexerPartitionPlan.d.ts +24 -354
- package/indexerPhysicalArtifactManifest.d.ts +12 -27
- package/indexerPostAuthorComposition.d.ts +2 -253
- package/indexerPostAuthorRunLedger.d.ts +860 -562
- package/indexerPrimaryProjection.d.ts +2 -2
- package/indexerPrimaryResultView.d.ts +0 -318
- package/indexerProfileContract.d.ts +200 -549
- package/indexerProgramExecutionAuthorization.d.ts +4 -4
- package/indexerProgramRunProtocol.d.ts +806 -2527
- package/indexerProjectProposal.d.ts +8 -8
- package/indexerProjectedArtifactFanOutAudit.d.ts +8 -8
- package/indexerProjectedArtifactPlan.d.ts +0 -9
- package/indexerProvider.d.ts +46 -288
- package/indexerProviderComposition.d.ts +16 -42
- package/indexerQuestionAuthority.d.ts +2 -82
- package/indexerReaderTargetInventory.d.ts +6 -6
- package/indexerRequirementLifecycle.d.ts +6 -6
- package/indexerResultReconciliation.d.ts +35 -149
- package/indexerSemanticInput.d.ts +10642 -4685
- package/indexerStructuredDeclaration.d.ts +24 -24
- package/indexerTemplateRendering.d.ts +239 -113
- package/knowledgeMap.d.ts +5 -5
- package/package.json +1 -1
- package/templates/package-templates/kb/skills/knowledge-query/SKILL.md +13 -16
- package/templates/package-templates.zh-CN/kb/skills/knowledge-query/SKILL.md +9 -9
- package/indexerArtifactDependencies.d.ts +0 -693
- package/indexerCompositionFactDependencies.d.ts +0 -16
- package/indexerExampleFactDependencies.d.ts +0 -17
- package/indexerIncrementalImpact.d.ts +0 -221
- package/indexerKnowledgeDependency.d.ts +0 -46
- package/indexerSubjectCatalog.d.ts +0 -230
- package/indexerSubjectKeyAuthority.d.ts +0 -786
|
@@ -86,6 +86,12 @@ export declare const indexerPositiveDependencyNodeInputSchema: z.ZodDiscriminate
|
|
|
86
86
|
}, "strict", z.ZodTypeAny, {
|
|
87
87
|
kind: "source-span";
|
|
88
88
|
source_ref: string;
|
|
89
|
+
locator: {
|
|
90
|
+
path: string;
|
|
91
|
+
start_line: number;
|
|
92
|
+
end_line: number;
|
|
93
|
+
};
|
|
94
|
+
content_digest: string;
|
|
89
95
|
targets: ({
|
|
90
96
|
level: "logical-unit";
|
|
91
97
|
} | {
|
|
@@ -96,17 +102,17 @@ export declare const indexerPositiveDependencyNodeInputSchema: z.ZodDiscriminate
|
|
|
96
102
|
artifact_kind: string;
|
|
97
103
|
level: "section";
|
|
98
104
|
})[];
|
|
105
|
+
module_ref: string | null;
|
|
106
|
+
evidence_ref: string;
|
|
107
|
+
}, {
|
|
108
|
+
kind: "source-span";
|
|
109
|
+
source_ref: string;
|
|
99
110
|
locator: {
|
|
100
111
|
path: string;
|
|
101
112
|
start_line: number;
|
|
102
113
|
end_line: number;
|
|
103
114
|
};
|
|
104
115
|
content_digest: string;
|
|
105
|
-
module_ref: string | null;
|
|
106
|
-
evidence_ref: string;
|
|
107
|
-
}, {
|
|
108
|
-
kind: "source-span";
|
|
109
|
-
source_ref: string;
|
|
110
116
|
targets: ({
|
|
111
117
|
level: "logical-unit";
|
|
112
118
|
} | {
|
|
@@ -117,12 +123,6 @@ export declare const indexerPositiveDependencyNodeInputSchema: z.ZodDiscriminate
|
|
|
117
123
|
artifact_kind: string;
|
|
118
124
|
level: "section";
|
|
119
125
|
})[];
|
|
120
|
-
locator: {
|
|
121
|
-
path: string;
|
|
122
|
-
start_line: number;
|
|
123
|
-
end_line: number;
|
|
124
|
-
};
|
|
125
|
-
content_digest: string;
|
|
126
126
|
module_ref: string | null;
|
|
127
127
|
evidence_ref: string;
|
|
128
128
|
}>, z.ZodObject<{
|
|
@@ -282,6 +282,7 @@ export declare const indexerPositiveDependencyNodeInputSchema: z.ZodDiscriminate
|
|
|
282
282
|
}>]>, "many">;
|
|
283
283
|
}, "strict", z.ZodTypeAny, {
|
|
284
284
|
kind: "template-policy-fragment" | "contract-metric" | "approved-knowledge";
|
|
285
|
+
content_digest: string;
|
|
285
286
|
targets: ({
|
|
286
287
|
level: "logical-unit";
|
|
287
288
|
} | {
|
|
@@ -292,10 +293,10 @@ export declare const indexerPositiveDependencyNodeInputSchema: z.ZodDiscriminate
|
|
|
292
293
|
artifact_kind: string;
|
|
293
294
|
level: "section";
|
|
294
295
|
})[];
|
|
295
|
-
content_digest: string;
|
|
296
296
|
target_ref: string;
|
|
297
297
|
}, {
|
|
298
298
|
kind: "template-policy-fragment" | "contract-metric" | "approved-knowledge";
|
|
299
|
+
content_digest: string;
|
|
299
300
|
targets: ({
|
|
300
301
|
level: "logical-unit";
|
|
301
302
|
} | {
|
|
@@ -306,7 +307,6 @@ export declare const indexerPositiveDependencyNodeInputSchema: z.ZodDiscriminate
|
|
|
306
307
|
artifact_kind: string;
|
|
307
308
|
level: "section";
|
|
308
309
|
})[];
|
|
309
|
-
content_digest: string;
|
|
310
310
|
target_ref: string;
|
|
311
311
|
}>]>;
|
|
312
312
|
export declare const indexerNegativeDependencyNodeInputSchema: z.ZodObject<{
|
|
@@ -430,6 +430,12 @@ export declare const indexerSourceSpanDependencyNodeSchema: z.ZodObject<{
|
|
|
430
430
|
}, "strict", z.ZodTypeAny, {
|
|
431
431
|
kind: "source-span";
|
|
432
432
|
source_ref: string;
|
|
433
|
+
locator: {
|
|
434
|
+
path: string;
|
|
435
|
+
start_line: number;
|
|
436
|
+
end_line: number;
|
|
437
|
+
};
|
|
438
|
+
content_digest: string;
|
|
433
439
|
targets: ({
|
|
434
440
|
level: "logical-unit";
|
|
435
441
|
} | {
|
|
@@ -440,18 +446,18 @@ export declare const indexerSourceSpanDependencyNodeSchema: z.ZodObject<{
|
|
|
440
446
|
artifact_kind: string;
|
|
441
447
|
level: "section";
|
|
442
448
|
})[];
|
|
449
|
+
module_ref: string | null;
|
|
450
|
+
evidence_ref: string;
|
|
451
|
+
node_ref: string;
|
|
452
|
+
}, {
|
|
453
|
+
kind: "source-span";
|
|
454
|
+
source_ref: string;
|
|
443
455
|
locator: {
|
|
444
456
|
path: string;
|
|
445
457
|
start_line: number;
|
|
446
458
|
end_line: number;
|
|
447
459
|
};
|
|
448
460
|
content_digest: string;
|
|
449
|
-
module_ref: string | null;
|
|
450
|
-
node_ref: string;
|
|
451
|
-
evidence_ref: string;
|
|
452
|
-
}, {
|
|
453
|
-
kind: "source-span";
|
|
454
|
-
source_ref: string;
|
|
455
461
|
targets: ({
|
|
456
462
|
level: "logical-unit";
|
|
457
463
|
} | {
|
|
@@ -462,15 +468,9 @@ export declare const indexerSourceSpanDependencyNodeSchema: z.ZodObject<{
|
|
|
462
468
|
artifact_kind: string;
|
|
463
469
|
level: "section";
|
|
464
470
|
})[];
|
|
465
|
-
locator: {
|
|
466
|
-
path: string;
|
|
467
|
-
start_line: number;
|
|
468
|
-
end_line: number;
|
|
469
|
-
};
|
|
470
|
-
content_digest: string;
|
|
471
471
|
module_ref: string | null;
|
|
472
|
-
node_ref: string;
|
|
473
472
|
evidence_ref: string;
|
|
473
|
+
node_ref: string;
|
|
474
474
|
}>;
|
|
475
475
|
export declare const indexerSelectedFactDependencyNodeSchema: z.ZodObject<{
|
|
476
476
|
kind: z.ZodLiteral<"selected-fact">;
|
|
@@ -520,9 +520,9 @@ export declare const indexerSelectedFactDependencyNodeSchema: z.ZodObject<{
|
|
|
520
520
|
level: "section";
|
|
521
521
|
})[];
|
|
522
522
|
fact_ref: string;
|
|
523
|
-
node_ref: string;
|
|
524
523
|
fact_digest: string;
|
|
525
524
|
source_span_node_refs: string[];
|
|
525
|
+
node_ref: string;
|
|
526
526
|
}, {
|
|
527
527
|
kind: "selected-fact";
|
|
528
528
|
targets: ({
|
|
@@ -536,9 +536,9 @@ export declare const indexerSelectedFactDependencyNodeSchema: z.ZodObject<{
|
|
|
536
536
|
level: "section";
|
|
537
537
|
})[];
|
|
538
538
|
fact_ref: string;
|
|
539
|
-
node_ref: string;
|
|
540
539
|
fact_digest: string;
|
|
541
540
|
source_span_node_refs: string[];
|
|
541
|
+
node_ref: string;
|
|
542
542
|
}>;
|
|
543
543
|
export declare const indexerLogicalUnitDependencyNodeSchema: z.ZodObject<{
|
|
544
544
|
kind: z.ZodLiteral<"logical-unit">;
|
|
@@ -587,8 +587,8 @@ export declare const indexerLogicalUnitDependencyNodeSchema: z.ZodObject<{
|
|
|
587
587
|
level: "section";
|
|
588
588
|
})[];
|
|
589
589
|
logical_unit_ref: string;
|
|
590
|
-
node_ref: string;
|
|
591
590
|
group_projection_digest: string;
|
|
591
|
+
node_ref: string;
|
|
592
592
|
}, {
|
|
593
593
|
kind: "logical-unit";
|
|
594
594
|
targets: ({
|
|
@@ -602,8 +602,8 @@ export declare const indexerLogicalUnitDependencyNodeSchema: z.ZodObject<{
|
|
|
602
602
|
level: "section";
|
|
603
603
|
})[];
|
|
604
604
|
logical_unit_ref: string;
|
|
605
|
-
node_ref: string;
|
|
606
605
|
group_projection_digest: string;
|
|
606
|
+
node_ref: string;
|
|
607
607
|
}>;
|
|
608
608
|
export declare const indexerResourceDependencyNodeSchema: z.ZodObject<{
|
|
609
609
|
kind: z.ZodEnum<["template-policy-fragment", "contract-metric", "approved-knowledge"]>;
|
|
@@ -641,6 +641,7 @@ export declare const indexerResourceDependencyNodeSchema: z.ZodObject<{
|
|
|
641
641
|
node_ref: z.ZodString;
|
|
642
642
|
}, "strict", z.ZodTypeAny, {
|
|
643
643
|
kind: "template-policy-fragment" | "contract-metric" | "approved-knowledge";
|
|
644
|
+
content_digest: string;
|
|
644
645
|
targets: ({
|
|
645
646
|
level: "logical-unit";
|
|
646
647
|
} | {
|
|
@@ -651,11 +652,11 @@ export declare const indexerResourceDependencyNodeSchema: z.ZodObject<{
|
|
|
651
652
|
artifact_kind: string;
|
|
652
653
|
level: "section";
|
|
653
654
|
})[];
|
|
654
|
-
content_digest: string;
|
|
655
655
|
target_ref: string;
|
|
656
656
|
node_ref: string;
|
|
657
657
|
}, {
|
|
658
658
|
kind: "template-policy-fragment" | "contract-metric" | "approved-knowledge";
|
|
659
|
+
content_digest: string;
|
|
659
660
|
targets: ({
|
|
660
661
|
level: "logical-unit";
|
|
661
662
|
} | {
|
|
@@ -666,7 +667,6 @@ export declare const indexerResourceDependencyNodeSchema: z.ZodObject<{
|
|
|
666
667
|
artifact_kind: string;
|
|
667
668
|
level: "section";
|
|
668
669
|
})[];
|
|
669
|
-
content_digest: string;
|
|
670
670
|
target_ref: string;
|
|
671
671
|
node_ref: string;
|
|
672
672
|
}>;
|
|
@@ -730,6 +730,12 @@ export declare const indexerPositiveDependencyNodeSchema: z.ZodDiscriminatedUnio
|
|
|
730
730
|
}, "strict", z.ZodTypeAny, {
|
|
731
731
|
kind: "source-span";
|
|
732
732
|
source_ref: string;
|
|
733
|
+
locator: {
|
|
734
|
+
path: string;
|
|
735
|
+
start_line: number;
|
|
736
|
+
end_line: number;
|
|
737
|
+
};
|
|
738
|
+
content_digest: string;
|
|
733
739
|
targets: ({
|
|
734
740
|
level: "logical-unit";
|
|
735
741
|
} | {
|
|
@@ -740,18 +746,18 @@ export declare const indexerPositiveDependencyNodeSchema: z.ZodDiscriminatedUnio
|
|
|
740
746
|
artifact_kind: string;
|
|
741
747
|
level: "section";
|
|
742
748
|
})[];
|
|
749
|
+
module_ref: string | null;
|
|
750
|
+
evidence_ref: string;
|
|
751
|
+
node_ref: string;
|
|
752
|
+
}, {
|
|
753
|
+
kind: "source-span";
|
|
754
|
+
source_ref: string;
|
|
743
755
|
locator: {
|
|
744
756
|
path: string;
|
|
745
757
|
start_line: number;
|
|
746
758
|
end_line: number;
|
|
747
759
|
};
|
|
748
760
|
content_digest: string;
|
|
749
|
-
module_ref: string | null;
|
|
750
|
-
node_ref: string;
|
|
751
|
-
evidence_ref: string;
|
|
752
|
-
}, {
|
|
753
|
-
kind: "source-span";
|
|
754
|
-
source_ref: string;
|
|
755
761
|
targets: ({
|
|
756
762
|
level: "logical-unit";
|
|
757
763
|
} | {
|
|
@@ -762,15 +768,9 @@ export declare const indexerPositiveDependencyNodeSchema: z.ZodDiscriminatedUnio
|
|
|
762
768
|
artifact_kind: string;
|
|
763
769
|
level: "section";
|
|
764
770
|
})[];
|
|
765
|
-
locator: {
|
|
766
|
-
path: string;
|
|
767
|
-
start_line: number;
|
|
768
|
-
end_line: number;
|
|
769
|
-
};
|
|
770
|
-
content_digest: string;
|
|
771
771
|
module_ref: string | null;
|
|
772
|
-
node_ref: string;
|
|
773
772
|
evidence_ref: string;
|
|
773
|
+
node_ref: string;
|
|
774
774
|
}>, z.ZodObject<{
|
|
775
775
|
kind: z.ZodLiteral<"selected-fact">;
|
|
776
776
|
fact_ref: z.ZodString;
|
|
@@ -819,9 +819,9 @@ export declare const indexerPositiveDependencyNodeSchema: z.ZodDiscriminatedUnio
|
|
|
819
819
|
level: "section";
|
|
820
820
|
})[];
|
|
821
821
|
fact_ref: string;
|
|
822
|
-
node_ref: string;
|
|
823
822
|
fact_digest: string;
|
|
824
823
|
source_span_node_refs: string[];
|
|
824
|
+
node_ref: string;
|
|
825
825
|
}, {
|
|
826
826
|
kind: "selected-fact";
|
|
827
827
|
targets: ({
|
|
@@ -835,9 +835,9 @@ export declare const indexerPositiveDependencyNodeSchema: z.ZodDiscriminatedUnio
|
|
|
835
835
|
level: "section";
|
|
836
836
|
})[];
|
|
837
837
|
fact_ref: string;
|
|
838
|
-
node_ref: string;
|
|
839
838
|
fact_digest: string;
|
|
840
839
|
source_span_node_refs: string[];
|
|
840
|
+
node_ref: string;
|
|
841
841
|
}>, z.ZodObject<{
|
|
842
842
|
kind: z.ZodLiteral<"logical-unit">;
|
|
843
843
|
logical_unit_ref: z.ZodString;
|
|
@@ -885,8 +885,8 @@ export declare const indexerPositiveDependencyNodeSchema: z.ZodDiscriminatedUnio
|
|
|
885
885
|
level: "section";
|
|
886
886
|
})[];
|
|
887
887
|
logical_unit_ref: string;
|
|
888
|
-
node_ref: string;
|
|
889
888
|
group_projection_digest: string;
|
|
889
|
+
node_ref: string;
|
|
890
890
|
}, {
|
|
891
891
|
kind: "logical-unit";
|
|
892
892
|
targets: ({
|
|
@@ -900,8 +900,8 @@ export declare const indexerPositiveDependencyNodeSchema: z.ZodDiscriminatedUnio
|
|
|
900
900
|
level: "section";
|
|
901
901
|
})[];
|
|
902
902
|
logical_unit_ref: string;
|
|
903
|
-
node_ref: string;
|
|
904
903
|
group_projection_digest: string;
|
|
904
|
+
node_ref: string;
|
|
905
905
|
}>, z.ZodObject<{
|
|
906
906
|
kind: z.ZodEnum<["template-policy-fragment", "contract-metric", "approved-knowledge"]>;
|
|
907
907
|
target_ref: z.ZodString;
|
|
@@ -938,6 +938,7 @@ export declare const indexerPositiveDependencyNodeSchema: z.ZodDiscriminatedUnio
|
|
|
938
938
|
node_ref: z.ZodString;
|
|
939
939
|
}, "strict", z.ZodTypeAny, {
|
|
940
940
|
kind: "template-policy-fragment" | "contract-metric" | "approved-knowledge";
|
|
941
|
+
content_digest: string;
|
|
941
942
|
targets: ({
|
|
942
943
|
level: "logical-unit";
|
|
943
944
|
} | {
|
|
@@ -948,11 +949,11 @@ export declare const indexerPositiveDependencyNodeSchema: z.ZodDiscriminatedUnio
|
|
|
948
949
|
artifact_kind: string;
|
|
949
950
|
level: "section";
|
|
950
951
|
})[];
|
|
951
|
-
content_digest: string;
|
|
952
952
|
target_ref: string;
|
|
953
953
|
node_ref: string;
|
|
954
954
|
}, {
|
|
955
955
|
kind: "template-policy-fragment" | "contract-metric" | "approved-knowledge";
|
|
956
|
+
content_digest: string;
|
|
956
957
|
targets: ({
|
|
957
958
|
level: "logical-unit";
|
|
958
959
|
} | {
|
|
@@ -963,7 +964,6 @@ export declare const indexerPositiveDependencyNodeSchema: z.ZodDiscriminatedUnio
|
|
|
963
964
|
artifact_kind: string;
|
|
964
965
|
level: "section";
|
|
965
966
|
})[];
|
|
966
|
-
content_digest: string;
|
|
967
967
|
target_ref: string;
|
|
968
968
|
node_ref: string;
|
|
969
969
|
}>]>;
|
|
@@ -1013,9 +1013,9 @@ export declare const indexerNegativeDependencyNodeSchema: z.ZodObject<{
|
|
|
1013
1013
|
artifact_kind: string;
|
|
1014
1014
|
level: "section";
|
|
1015
1015
|
})[];
|
|
1016
|
-
node_ref: string;
|
|
1017
1016
|
scope_ref: string;
|
|
1018
1017
|
set_digest: string;
|
|
1018
|
+
node_ref: string;
|
|
1019
1019
|
}, {
|
|
1020
1020
|
kind: "group-input-set" | "directory-membership" | "export-set" | "route-set" | "candidate-pool" | "precedence-winner" | "absence-assertion";
|
|
1021
1021
|
targets: ({
|
|
@@ -1028,9 +1028,9 @@ export declare const indexerNegativeDependencyNodeSchema: z.ZodObject<{
|
|
|
1028
1028
|
artifact_kind: string;
|
|
1029
1029
|
level: "section";
|
|
1030
1030
|
})[];
|
|
1031
|
-
node_ref: string;
|
|
1032
1031
|
scope_ref: string;
|
|
1033
1032
|
set_digest: string;
|
|
1033
|
+
node_ref: string;
|
|
1034
1034
|
}>;
|
|
1035
1035
|
export type IndexerPositiveDependencyNode = z.infer<typeof indexerPositiveDependencyNodeSchema>;
|
|
1036
1036
|
export type IndexerNegativeDependencyNode = z.infer<typeof indexerNegativeDependencyNodeSchema>;
|
|
@@ -1099,6 +1099,12 @@ export declare const indexerAuthorDependencyViewSchema: z.ZodObject<{
|
|
|
1099
1099
|
}, "strict", z.ZodTypeAny, {
|
|
1100
1100
|
kind: "source-span";
|
|
1101
1101
|
source_ref: string;
|
|
1102
|
+
locator: {
|
|
1103
|
+
path: string;
|
|
1104
|
+
start_line: number;
|
|
1105
|
+
end_line: number;
|
|
1106
|
+
};
|
|
1107
|
+
content_digest: string;
|
|
1102
1108
|
targets: ({
|
|
1103
1109
|
level: "logical-unit";
|
|
1104
1110
|
} | {
|
|
@@ -1109,18 +1115,18 @@ export declare const indexerAuthorDependencyViewSchema: z.ZodObject<{
|
|
|
1109
1115
|
artifact_kind: string;
|
|
1110
1116
|
level: "section";
|
|
1111
1117
|
})[];
|
|
1118
|
+
module_ref: string | null;
|
|
1119
|
+
evidence_ref: string;
|
|
1120
|
+
node_ref: string;
|
|
1121
|
+
}, {
|
|
1122
|
+
kind: "source-span";
|
|
1123
|
+
source_ref: string;
|
|
1112
1124
|
locator: {
|
|
1113
1125
|
path: string;
|
|
1114
1126
|
start_line: number;
|
|
1115
1127
|
end_line: number;
|
|
1116
1128
|
};
|
|
1117
1129
|
content_digest: string;
|
|
1118
|
-
module_ref: string | null;
|
|
1119
|
-
node_ref: string;
|
|
1120
|
-
evidence_ref: string;
|
|
1121
|
-
}, {
|
|
1122
|
-
kind: "source-span";
|
|
1123
|
-
source_ref: string;
|
|
1124
1130
|
targets: ({
|
|
1125
1131
|
level: "logical-unit";
|
|
1126
1132
|
} | {
|
|
@@ -1131,15 +1137,9 @@ export declare const indexerAuthorDependencyViewSchema: z.ZodObject<{
|
|
|
1131
1137
|
artifact_kind: string;
|
|
1132
1138
|
level: "section";
|
|
1133
1139
|
})[];
|
|
1134
|
-
locator: {
|
|
1135
|
-
path: string;
|
|
1136
|
-
start_line: number;
|
|
1137
|
-
end_line: number;
|
|
1138
|
-
};
|
|
1139
|
-
content_digest: string;
|
|
1140
1140
|
module_ref: string | null;
|
|
1141
|
-
node_ref: string;
|
|
1142
1141
|
evidence_ref: string;
|
|
1142
|
+
node_ref: string;
|
|
1143
1143
|
}>, z.ZodObject<{
|
|
1144
1144
|
kind: z.ZodLiteral<"selected-fact">;
|
|
1145
1145
|
fact_ref: z.ZodString;
|
|
@@ -1188,9 +1188,9 @@ export declare const indexerAuthorDependencyViewSchema: z.ZodObject<{
|
|
|
1188
1188
|
level: "section";
|
|
1189
1189
|
})[];
|
|
1190
1190
|
fact_ref: string;
|
|
1191
|
-
node_ref: string;
|
|
1192
1191
|
fact_digest: string;
|
|
1193
1192
|
source_span_node_refs: string[];
|
|
1193
|
+
node_ref: string;
|
|
1194
1194
|
}, {
|
|
1195
1195
|
kind: "selected-fact";
|
|
1196
1196
|
targets: ({
|
|
@@ -1204,9 +1204,9 @@ export declare const indexerAuthorDependencyViewSchema: z.ZodObject<{
|
|
|
1204
1204
|
level: "section";
|
|
1205
1205
|
})[];
|
|
1206
1206
|
fact_ref: string;
|
|
1207
|
-
node_ref: string;
|
|
1208
1207
|
fact_digest: string;
|
|
1209
1208
|
source_span_node_refs: string[];
|
|
1209
|
+
node_ref: string;
|
|
1210
1210
|
}>, z.ZodObject<{
|
|
1211
1211
|
kind: z.ZodLiteral<"logical-unit">;
|
|
1212
1212
|
logical_unit_ref: z.ZodString;
|
|
@@ -1254,8 +1254,8 @@ export declare const indexerAuthorDependencyViewSchema: z.ZodObject<{
|
|
|
1254
1254
|
level: "section";
|
|
1255
1255
|
})[];
|
|
1256
1256
|
logical_unit_ref: string;
|
|
1257
|
-
node_ref: string;
|
|
1258
1257
|
group_projection_digest: string;
|
|
1258
|
+
node_ref: string;
|
|
1259
1259
|
}, {
|
|
1260
1260
|
kind: "logical-unit";
|
|
1261
1261
|
targets: ({
|
|
@@ -1269,8 +1269,8 @@ export declare const indexerAuthorDependencyViewSchema: z.ZodObject<{
|
|
|
1269
1269
|
level: "section";
|
|
1270
1270
|
})[];
|
|
1271
1271
|
logical_unit_ref: string;
|
|
1272
|
-
node_ref: string;
|
|
1273
1272
|
group_projection_digest: string;
|
|
1273
|
+
node_ref: string;
|
|
1274
1274
|
}>, z.ZodObject<{
|
|
1275
1275
|
kind: z.ZodEnum<["template-policy-fragment", "contract-metric", "approved-knowledge"]>;
|
|
1276
1276
|
target_ref: z.ZodString;
|
|
@@ -1307,6 +1307,7 @@ export declare const indexerAuthorDependencyViewSchema: z.ZodObject<{
|
|
|
1307
1307
|
node_ref: z.ZodString;
|
|
1308
1308
|
}, "strict", z.ZodTypeAny, {
|
|
1309
1309
|
kind: "template-policy-fragment" | "contract-metric" | "approved-knowledge";
|
|
1310
|
+
content_digest: string;
|
|
1310
1311
|
targets: ({
|
|
1311
1312
|
level: "logical-unit";
|
|
1312
1313
|
} | {
|
|
@@ -1317,11 +1318,11 @@ export declare const indexerAuthorDependencyViewSchema: z.ZodObject<{
|
|
|
1317
1318
|
artifact_kind: string;
|
|
1318
1319
|
level: "section";
|
|
1319
1320
|
})[];
|
|
1320
|
-
content_digest: string;
|
|
1321
1321
|
target_ref: string;
|
|
1322
1322
|
node_ref: string;
|
|
1323
1323
|
}, {
|
|
1324
1324
|
kind: "template-policy-fragment" | "contract-metric" | "approved-knowledge";
|
|
1325
|
+
content_digest: string;
|
|
1325
1326
|
targets: ({
|
|
1326
1327
|
level: "logical-unit";
|
|
1327
1328
|
} | {
|
|
@@ -1332,7 +1333,6 @@ export declare const indexerAuthorDependencyViewSchema: z.ZodObject<{
|
|
|
1332
1333
|
artifact_kind: string;
|
|
1333
1334
|
level: "section";
|
|
1334
1335
|
})[];
|
|
1335
|
-
content_digest: string;
|
|
1336
1336
|
target_ref: string;
|
|
1337
1337
|
node_ref: string;
|
|
1338
1338
|
}>]>, "many">;
|
|
@@ -1382,9 +1382,9 @@ export declare const indexerAuthorDependencyViewSchema: z.ZodObject<{
|
|
|
1382
1382
|
artifact_kind: string;
|
|
1383
1383
|
level: "section";
|
|
1384
1384
|
})[];
|
|
1385
|
-
node_ref: string;
|
|
1386
1385
|
scope_ref: string;
|
|
1387
1386
|
set_digest: string;
|
|
1387
|
+
node_ref: string;
|
|
1388
1388
|
}, {
|
|
1389
1389
|
kind: "group-input-set" | "directory-membership" | "export-set" | "route-set" | "candidate-pool" | "precedence-winner" | "absence-assertion";
|
|
1390
1390
|
targets: ({
|
|
@@ -1397,9 +1397,9 @@ export declare const indexerAuthorDependencyViewSchema: z.ZodObject<{
|
|
|
1397
1397
|
artifact_kind: string;
|
|
1398
1398
|
level: "section";
|
|
1399
1399
|
})[];
|
|
1400
|
-
node_ref: string;
|
|
1401
1400
|
scope_ref: string;
|
|
1402
1401
|
set_digest: string;
|
|
1402
|
+
node_ref: string;
|
|
1403
1403
|
}>, "many">;
|
|
1404
1404
|
} & {
|
|
1405
1405
|
view_digest: z.ZodString;
|
|
@@ -1412,6 +1412,12 @@ export declare const indexerAuthorDependencyViewSchema: z.ZodObject<{
|
|
|
1412
1412
|
positive_nodes: ({
|
|
1413
1413
|
kind: "source-span";
|
|
1414
1414
|
source_ref: string;
|
|
1415
|
+
locator: {
|
|
1416
|
+
path: string;
|
|
1417
|
+
start_line: number;
|
|
1418
|
+
end_line: number;
|
|
1419
|
+
};
|
|
1420
|
+
content_digest: string;
|
|
1415
1421
|
targets: ({
|
|
1416
1422
|
level: "logical-unit";
|
|
1417
1423
|
} | {
|
|
@@ -1422,15 +1428,9 @@ export declare const indexerAuthorDependencyViewSchema: z.ZodObject<{
|
|
|
1422
1428
|
artifact_kind: string;
|
|
1423
1429
|
level: "section";
|
|
1424
1430
|
})[];
|
|
1425
|
-
locator: {
|
|
1426
|
-
path: string;
|
|
1427
|
-
start_line: number;
|
|
1428
|
-
end_line: number;
|
|
1429
|
-
};
|
|
1430
|
-
content_digest: string;
|
|
1431
1431
|
module_ref: string | null;
|
|
1432
|
-
node_ref: string;
|
|
1433
1432
|
evidence_ref: string;
|
|
1433
|
+
node_ref: string;
|
|
1434
1434
|
} | {
|
|
1435
1435
|
kind: "selected-fact";
|
|
1436
1436
|
targets: ({
|
|
@@ -1444,9 +1444,9 @@ export declare const indexerAuthorDependencyViewSchema: z.ZodObject<{
|
|
|
1444
1444
|
level: "section";
|
|
1445
1445
|
})[];
|
|
1446
1446
|
fact_ref: string;
|
|
1447
|
-
node_ref: string;
|
|
1448
1447
|
fact_digest: string;
|
|
1449
1448
|
source_span_node_refs: string[];
|
|
1449
|
+
node_ref: string;
|
|
1450
1450
|
} | {
|
|
1451
1451
|
kind: "logical-unit";
|
|
1452
1452
|
targets: ({
|
|
@@ -1460,10 +1460,11 @@ export declare const indexerAuthorDependencyViewSchema: z.ZodObject<{
|
|
|
1460
1460
|
level: "section";
|
|
1461
1461
|
})[];
|
|
1462
1462
|
logical_unit_ref: string;
|
|
1463
|
-
node_ref: string;
|
|
1464
1463
|
group_projection_digest: string;
|
|
1464
|
+
node_ref: string;
|
|
1465
1465
|
} | {
|
|
1466
1466
|
kind: "template-policy-fragment" | "contract-metric" | "approved-knowledge";
|
|
1467
|
+
content_digest: string;
|
|
1467
1468
|
targets: ({
|
|
1468
1469
|
level: "logical-unit";
|
|
1469
1470
|
} | {
|
|
@@ -1474,7 +1475,6 @@ export declare const indexerAuthorDependencyViewSchema: z.ZodObject<{
|
|
|
1474
1475
|
artifact_kind: string;
|
|
1475
1476
|
level: "section";
|
|
1476
1477
|
})[];
|
|
1477
|
-
content_digest: string;
|
|
1478
1478
|
target_ref: string;
|
|
1479
1479
|
node_ref: string;
|
|
1480
1480
|
})[];
|
|
@@ -1490,9 +1490,9 @@ export declare const indexerAuthorDependencyViewSchema: z.ZodObject<{
|
|
|
1490
1490
|
artifact_kind: string;
|
|
1491
1491
|
level: "section";
|
|
1492
1492
|
})[];
|
|
1493
|
-
node_ref: string;
|
|
1494
1493
|
scope_ref: string;
|
|
1495
1494
|
set_digest: string;
|
|
1495
|
+
node_ref: string;
|
|
1496
1496
|
}[];
|
|
1497
1497
|
}, {
|
|
1498
1498
|
source_ref: string;
|
|
@@ -1503,6 +1503,12 @@ export declare const indexerAuthorDependencyViewSchema: z.ZodObject<{
|
|
|
1503
1503
|
positive_nodes: ({
|
|
1504
1504
|
kind: "source-span";
|
|
1505
1505
|
source_ref: string;
|
|
1506
|
+
locator: {
|
|
1507
|
+
path: string;
|
|
1508
|
+
start_line: number;
|
|
1509
|
+
end_line: number;
|
|
1510
|
+
};
|
|
1511
|
+
content_digest: string;
|
|
1506
1512
|
targets: ({
|
|
1507
1513
|
level: "logical-unit";
|
|
1508
1514
|
} | {
|
|
@@ -1513,15 +1519,9 @@ export declare const indexerAuthorDependencyViewSchema: z.ZodObject<{
|
|
|
1513
1519
|
artifact_kind: string;
|
|
1514
1520
|
level: "section";
|
|
1515
1521
|
})[];
|
|
1516
|
-
locator: {
|
|
1517
|
-
path: string;
|
|
1518
|
-
start_line: number;
|
|
1519
|
-
end_line: number;
|
|
1520
|
-
};
|
|
1521
|
-
content_digest: string;
|
|
1522
1522
|
module_ref: string | null;
|
|
1523
|
-
node_ref: string;
|
|
1524
1523
|
evidence_ref: string;
|
|
1524
|
+
node_ref: string;
|
|
1525
1525
|
} | {
|
|
1526
1526
|
kind: "selected-fact";
|
|
1527
1527
|
targets: ({
|
|
@@ -1535,9 +1535,9 @@ export declare const indexerAuthorDependencyViewSchema: z.ZodObject<{
|
|
|
1535
1535
|
level: "section";
|
|
1536
1536
|
})[];
|
|
1537
1537
|
fact_ref: string;
|
|
1538
|
-
node_ref: string;
|
|
1539
1538
|
fact_digest: string;
|
|
1540
1539
|
source_span_node_refs: string[];
|
|
1540
|
+
node_ref: string;
|
|
1541
1541
|
} | {
|
|
1542
1542
|
kind: "logical-unit";
|
|
1543
1543
|
targets: ({
|
|
@@ -1551,10 +1551,11 @@ export declare const indexerAuthorDependencyViewSchema: z.ZodObject<{
|
|
|
1551
1551
|
level: "section";
|
|
1552
1552
|
})[];
|
|
1553
1553
|
logical_unit_ref: string;
|
|
1554
|
-
node_ref: string;
|
|
1555
1554
|
group_projection_digest: string;
|
|
1555
|
+
node_ref: string;
|
|
1556
1556
|
} | {
|
|
1557
1557
|
kind: "template-policy-fragment" | "contract-metric" | "approved-knowledge";
|
|
1558
|
+
content_digest: string;
|
|
1558
1559
|
targets: ({
|
|
1559
1560
|
level: "logical-unit";
|
|
1560
1561
|
} | {
|
|
@@ -1565,7 +1566,6 @@ export declare const indexerAuthorDependencyViewSchema: z.ZodObject<{
|
|
|
1565
1566
|
artifact_kind: string;
|
|
1566
1567
|
level: "section";
|
|
1567
1568
|
})[];
|
|
1568
|
-
content_digest: string;
|
|
1569
1569
|
target_ref: string;
|
|
1570
1570
|
node_ref: string;
|
|
1571
1571
|
})[];
|
|
@@ -1581,9 +1581,9 @@ export declare const indexerAuthorDependencyViewSchema: z.ZodObject<{
|
|
|
1581
1581
|
artifact_kind: string;
|
|
1582
1582
|
level: "section";
|
|
1583
1583
|
})[];
|
|
1584
|
-
node_ref: string;
|
|
1585
1584
|
scope_ref: string;
|
|
1586
1585
|
set_digest: string;
|
|
1586
|
+
node_ref: string;
|
|
1587
1587
|
}[];
|
|
1588
1588
|
}>;
|
|
1589
1589
|
export type IndexerAuthorDependencyView = z.infer<typeof indexerAuthorDependencyViewSchema>;
|