@c4a/context 0.7.0 → 0.7.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +65 -170
- package/README.zh-CN.md +52 -129
- package/docs/README.md +9 -10
- package/docs/README.zh-CN.md +6 -7
- package/docs/getting-started.md +73 -422
- package/docs/guides/agent-guide.md +94 -523
- package/docs/guides/code-indexer-skill-authoring.md +24 -13
- package/docs/guides/markdown-indexer-skill-authoring.md +14 -14
- package/docs/reference/code-extractors.md +29 -136
- package/docs/reference/indexer-provider-protocol.md +60 -138
- package/docs/reference/package-templates.md +2 -3
- package/docs/reference/project-api.md +52 -985
- package/index.d.ts +12 -10
- package/index.js +12749 -15335
- package/indexerAgentStepProtocol.d.ts +1366 -7649
- package/indexerArtifact.d.ts +225 -0
- package/indexerArtifactDependencies.d.ts +41 -39
- package/indexerArtifactResult.d.ts +221 -255
- package/indexerAuthorizedWorksetView.d.ts +368 -0
- package/indexerBaseQuestionAmendment.d.ts +484 -280
- package/indexerBenchmark.d.ts +16 -16
- package/indexerCandidateCompile.d.ts +206 -16
- package/indexerCapabilityGroupEvidence.d.ts +6 -6
- package/indexerCatalogFallback.d.ts +122 -128
- package/indexerCollectionMapping.d.ts +13 -13
- package/indexerContentLayers.d.ts +8 -8
- package/{indexerOverlayTrust.d.ts → indexerContractOverlay.d.ts} +23 -569
- package/indexerControlledInvocation.d.ts +12 -12
- package/indexerControlledProgram.d.ts +2467 -2797
- package/indexerCoreExports.d.ts +6 -6
- package/indexerCustomizationDraft.d.ts +3315 -2091
- package/indexerCustomizationLadder.d.ts +2 -2
- package/indexerDependencyView.d.ts +108 -108
- package/indexerEffectiveArtifact.d.ts +1134 -0
- package/indexerEvidenceAdapterAuthorityMerge.d.ts +48 -0
- package/indexerEvidenceAdapterResult.d.ts +52 -52
- package/indexerExampleDecision.d.ts +128 -128
- package/indexerExampleIdentity.d.ts +6 -6
- package/indexerGeneratedAuthoringAudit.d.ts +18 -18
- package/indexerIncrementalImpact.d.ts +16 -16
- package/indexerInspectorWorksetProjection.d.ts +6 -0
- package/indexerInventoryDisposition.d.ts +70 -70
- package/indexerLayerComposition.d.ts +2139 -373
- package/indexerLayoutChange.d.ts +10 -10
- package/indexerLayoutProposalSet.d.ts +71 -66
- package/indexerLayoutResolver.d.ts +53 -48
- package/indexerLayoutTransition.d.ts +0 -50
- package/indexerLifecycle.d.ts +0 -13
- package/indexerMainLifecycle.d.ts +10 -0
- package/indexerMainRunLedger.d.ts +138 -11
- package/indexerMainRunProtocol.d.ts +1406 -785
- package/indexerMainWorkset.d.ts +460 -206
- package/indexerMaterialGapLedger.d.ts +13 -2904
- package/indexerOverlayQuestionAmendment.d.ts +497 -293
- package/indexerOverlayQuestionApplyProposal.d.ts +1030 -622
- package/indexerParserCapabilityCatalog.d.ts +136 -0
- package/indexerParserCoordinate.d.ts +16 -16
- package/indexerParserDependencyIntent.d.ts +22 -0
- package/indexerParserExecutionPlan.d.ts +388 -0
- package/indexerParserFactView.d.ts +42 -22
- package/indexerPartitionConvergence.d.ts +0 -3
- package/indexerPartitionInventory.d.ts +2 -0
- package/indexerPartitionPlan.d.ts +101 -99
- package/indexerPhysicalArtifactManifest.d.ts +8 -8
- package/indexerPostAuthorComposition.d.ts +116 -1156
- package/indexerPostAuthorRunLedger.d.ts +1434 -280
- package/indexerPrimaryProjection.d.ts +10 -10
- package/indexerPrimaryResultView.d.ts +435 -0
- package/indexerProfileContract.d.ts +181 -181
- package/indexerProgramExecutionAuthorization.d.ts +12 -12
- package/indexerProgramRunProtocol.d.ts +2141 -2749
- package/indexerProjectProposal.d.ts +496 -292
- package/indexerProjectedArtifactFanOutAudit.d.ts +0 -3
- package/indexerProtocolCommon.d.ts +4 -1
- package/indexerProvider.d.ts +134 -281
- package/indexerProviderComposition.d.ts +53 -53
- package/indexerProviderResolution.d.ts +12 -12
- package/indexerProviderResolutionAction.d.ts +14 -14
- package/indexerProviderRouting.d.ts +923 -515
- package/indexerProviderSelectionProposal.d.ts +893 -485
- package/indexerQuestionAuthority.d.ts +46 -47
- package/indexerReaderTargetInventory.d.ts +8 -8
- package/indexerRegistry.d.ts +765 -357
- package/indexerRequirementConfirmation.d.ts +98 -98
- package/indexerRequirementLifecycle.d.ts +224 -224
- package/indexerResultReconciliation.d.ts +204 -5919
- package/indexerResultReconciliationRun.d.ts +0 -1
- package/indexerRunEnvelope.d.ts +20 -20
- package/indexerSemanticInput.d.ts +3678 -0
- package/indexerStructuredDeclaration.d.ts +57 -53
- package/indexerSubjectCatalog.d.ts +14 -14
- package/indexerSubjectIdentity.d.ts +2 -2
- package/indexerSubjectKeyAuthority.d.ts +31 -30
- package/indexerTemplateRendering.d.ts +64 -64
- package/indexerToolSnapshot.d.ts +8 -8
- package/package.json +1 -1
- package/phases.d.ts +3 -183
- package/codeIndexPlan.d.ts +0 -158
- package/indexerAuditFacts.d.ts +0 -66
- package/indexerAuditOverrideReadiness.d.ts +0 -27
- package/indexerAuditProtocol.d.ts +0 -238
- package/indexerAuditRevision.d.ts +0 -726
- package/indexerAuditRevisionActions.d.ts +0 -236
- package/indexerMaterialAnswer.d.ts +0 -738
- package/indexerMaterialAnswerActualization.d.ts +0 -91
- package/indexerMaterialAnswerExecutionPlan.d.ts +0 -2887
- package/indexerMaterialAnswerFlow.d.ts +0 -63
- package/indexerMaterialAnswerLayout.d.ts +0 -76
- package/indexerMaterialAnswerReview.d.ts +0 -217
- package/indexerMaterialAnswerReviewRoute.d.ts +0 -6145
- package/indexerMaterialAnswerRunLedger.d.ts +0 -918
- package/indexerMaterialAnswerRunProtocol.d.ts +0 -1253
- package/indexerMaterialQuestionExclusion.d.ts +0 -129
- package/indexerMaterialQuestionWorkset.d.ts +0 -508
- package/indexerPlannedMaterialAnswer.d.ts +0 -116
- package/indexerProfileMetricAudit.d.ts +0 -218
- package/indexerWorksetRead.d.ts +0 -287
|
@@ -12,17 +12,17 @@ export declare const indexerSectionCollectionSchema: z.ZodObject<{
|
|
|
12
12
|
reader_goal: z.ZodEffects<z.ZodString, string, string>;
|
|
13
13
|
artifact_kind: z.ZodEffects<z.ZodString, string, string>;
|
|
14
14
|
}, "strict", z.ZodTypeAny, {
|
|
15
|
-
artifact_kind: string;
|
|
16
|
-
document_kind: string;
|
|
17
|
-
reader_goal: string;
|
|
18
15
|
section_key: string;
|
|
19
16
|
owner_indexer_id: string;
|
|
20
|
-
}, {
|
|
21
|
-
artifact_kind: string;
|
|
22
17
|
document_kind: string;
|
|
23
18
|
reader_goal: string;
|
|
19
|
+
artifact_kind: string;
|
|
20
|
+
}, {
|
|
24
21
|
section_key: string;
|
|
25
22
|
owner_indexer_id: string;
|
|
23
|
+
document_kind: string;
|
|
24
|
+
reader_goal: string;
|
|
25
|
+
artifact_kind: string;
|
|
26
26
|
}>;
|
|
27
27
|
collection: z.ZodType<import("./contracts.js").TopLevelNamespace, z.ZodTypeDef, import("./contracts.js").TopLevelNamespace>;
|
|
28
28
|
profile_contract_digest: z.ZodString;
|
|
@@ -31,33 +31,33 @@ export declare const indexerSectionCollectionSchema: z.ZodObject<{
|
|
|
31
31
|
resolution_digest: z.ZodString;
|
|
32
32
|
}, "strict", z.ZodTypeAny, {
|
|
33
33
|
protocol: "context.indexer.section-collection/v1";
|
|
34
|
-
collection: import("./contracts.js").TopLevelNamespace;
|
|
35
34
|
profile: string;
|
|
36
35
|
mapping_digest: string;
|
|
36
|
+
collection: import("./contracts.js").TopLevelNamespace;
|
|
37
37
|
profile_contract_digest: string;
|
|
38
38
|
source_role: string;
|
|
39
39
|
resolution_digest: string;
|
|
40
40
|
projection: {
|
|
41
|
-
artifact_kind: string;
|
|
42
|
-
document_kind: string;
|
|
43
|
-
reader_goal: string;
|
|
44
41
|
section_key: string;
|
|
45
42
|
owner_indexer_id: string;
|
|
43
|
+
document_kind: string;
|
|
44
|
+
reader_goal: string;
|
|
45
|
+
artifact_kind: string;
|
|
46
46
|
};
|
|
47
47
|
}, {
|
|
48
48
|
protocol: "context.indexer.section-collection/v1";
|
|
49
|
-
collection: import("./contracts.js").TopLevelNamespace;
|
|
50
49
|
profile: string;
|
|
51
50
|
mapping_digest: string;
|
|
51
|
+
collection: import("./contracts.js").TopLevelNamespace;
|
|
52
52
|
profile_contract_digest: string;
|
|
53
53
|
source_role: string;
|
|
54
54
|
resolution_digest: string;
|
|
55
55
|
projection: {
|
|
56
|
-
artifact_kind: string;
|
|
57
|
-
document_kind: string;
|
|
58
|
-
reader_goal: string;
|
|
59
56
|
section_key: string;
|
|
60
57
|
owner_indexer_id: string;
|
|
58
|
+
document_kind: string;
|
|
59
|
+
reader_goal: string;
|
|
60
|
+
artifact_kind: string;
|
|
61
61
|
};
|
|
62
62
|
}>;
|
|
63
63
|
export type IndexerSectionCollection = z.infer<typeof indexerSectionCollectionSchema>;
|
|
@@ -11,39 +11,39 @@ export declare const indexerArtifactFactSchema: z.ZodObject<{
|
|
|
11
11
|
local_key: z.ZodEffects<z.ZodString, string, string>;
|
|
12
12
|
}, "strict", z.ZodTypeAny, {
|
|
13
13
|
kind: string;
|
|
14
|
-
protocol: "context.subject-key/v1";
|
|
15
14
|
namespace: string;
|
|
15
|
+
protocol: "context.subject-key/v1";
|
|
16
16
|
local_key: string;
|
|
17
17
|
}, {
|
|
18
18
|
kind: string;
|
|
19
|
-
protocol: "context.subject-key/v1";
|
|
20
19
|
namespace: string;
|
|
20
|
+
protocol: "context.subject-key/v1";
|
|
21
21
|
local_key: string;
|
|
22
22
|
}>;
|
|
23
23
|
value: z.ZodType<IndexerJson, z.ZodTypeDef, IndexerJson>;
|
|
24
24
|
evidence_refs: z.ZodArray<z.ZodString, "many">;
|
|
25
25
|
}, "strict", z.ZodTypeAny, {
|
|
26
26
|
value: IndexerJson;
|
|
27
|
-
evidence_refs: string[];
|
|
28
27
|
fact_ref: string;
|
|
29
28
|
fact_kind: string;
|
|
30
29
|
subject_key: {
|
|
31
30
|
kind: string;
|
|
32
|
-
protocol: "context.subject-key/v1";
|
|
33
31
|
namespace: string;
|
|
32
|
+
protocol: "context.subject-key/v1";
|
|
34
33
|
local_key: string;
|
|
35
34
|
};
|
|
35
|
+
evidence_refs: string[];
|
|
36
36
|
}, {
|
|
37
37
|
value: IndexerJson;
|
|
38
|
-
evidence_refs: string[];
|
|
39
38
|
fact_ref: string;
|
|
40
39
|
fact_kind: string;
|
|
41
40
|
subject_key: {
|
|
42
41
|
kind: string;
|
|
43
|
-
protocol: "context.subject-key/v1";
|
|
44
42
|
namespace: string;
|
|
43
|
+
protocol: "context.subject-key/v1";
|
|
45
44
|
local_key: string;
|
|
46
45
|
};
|
|
46
|
+
evidence_refs: string[];
|
|
47
47
|
}>;
|
|
48
48
|
export declare const indexerDeterministicBlockRendererSchema: z.ZodEnum<["bullet-list", "key-value-table", "json-code-block"]>;
|
|
49
49
|
export declare const indexerArtifactContentBlockSchema: z.ZodDiscriminatedUnion<"layer", [z.ZodObject<{
|
|
@@ -102,16 +102,16 @@ export declare const indexerRenderedContentBlockSchema: z.ZodObject<{
|
|
|
102
102
|
content_digest: z.ZodString;
|
|
103
103
|
}, "strict", z.ZodTypeAny, {
|
|
104
104
|
evidence_refs: string[];
|
|
105
|
-
content_digest: string;
|
|
106
105
|
layer: "deterministic-block" | "semantic-prose";
|
|
107
106
|
fact_refs: string[];
|
|
108
107
|
markdown: string;
|
|
108
|
+
content_digest: string;
|
|
109
109
|
}, {
|
|
110
110
|
evidence_refs: string[];
|
|
111
|
-
content_digest: string;
|
|
112
111
|
layer: "deterministic-block" | "semantic-prose";
|
|
113
112
|
fact_refs: string[];
|
|
114
113
|
markdown: string;
|
|
114
|
+
content_digest: string;
|
|
115
115
|
}>;
|
|
116
116
|
export type IndexerArtifactFact = z.infer<typeof indexerArtifactFactSchema>;
|
|
117
117
|
export type IndexerArtifactContentBlock = z.infer<typeof indexerArtifactContentBlockSchema>;
|