@c4a/context 0.7.4 → 0.7.5
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 +6 -5
- package/README.zh-CN.md +5 -5
- package/docs/guides/agent-guide.md +15 -5
- package/docs/guides/code-indexer-skill-authoring.md +14 -0
- package/docs/guides/indexer-provider-and-customization.md +32 -20
- package/docs/guides/markdown-indexer-skill-authoring.md +9 -0
- package/index.js +284 -37
- package/indexerAgentStepProtocol.d.ts +1240 -2060
- package/indexerArtifactDependencies.d.ts +2 -0
- package/indexerCompositionFactDependencies.d.ts +16 -0
- package/indexerMainRunLedger.d.ts +4 -0
- package/indexerSemanticInput.d.ts +2801 -685
- package/package.json +1 -1
|
@@ -675,6 +675,7 @@ export declare function buildIndexerArtifactDependencySet(input: {
|
|
|
675
675
|
workset: IndexerMainAuthorWorkset;
|
|
676
676
|
run_envelope: unknown;
|
|
677
677
|
dependency_view: unknown;
|
|
678
|
+
composition_input?: unknown;
|
|
678
679
|
authorized_evidence_targets?: readonly IndexerAuthorizedEvidenceTarget[];
|
|
679
680
|
}): IndexerArtifactDependencySet;
|
|
680
681
|
export declare function validateIndexerArtifactDependencySet(input: {
|
|
@@ -683,6 +684,7 @@ export declare function validateIndexerArtifactDependencySet(input: {
|
|
|
683
684
|
workset: IndexerMainAuthorWorkset;
|
|
684
685
|
run_envelope: unknown;
|
|
685
686
|
dependency_view: unknown;
|
|
687
|
+
composition_input?: unknown;
|
|
686
688
|
authorized_evidence_targets?: readonly IndexerAuthorizedEvidenceTarget[];
|
|
687
689
|
}): IndexerArtifactDependencySet;
|
|
688
690
|
export declare function validateIndexerArtifactDependencyViewBinding(input: {
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { IndexerArtifactResult } from "./indexerArtifactResult.js";
|
|
2
|
+
import { type IndexerAuthorDependencyView } from "./indexerDependencyView.js";
|
|
3
|
+
import type { IndexerMainAuthorWorkset } from "./indexerMainWorkset.js";
|
|
4
|
+
export declare function compositionFactDependencies(input: {
|
|
5
|
+
composition_input: unknown;
|
|
6
|
+
workset: IndexerMainAuthorWorkset;
|
|
7
|
+
dependency_view: IndexerAuthorDependencyView;
|
|
8
|
+
result: IndexerArtifactResult;
|
|
9
|
+
}): {
|
|
10
|
+
node_ref: string;
|
|
11
|
+
kind: "selected-fact";
|
|
12
|
+
fact_ref: string;
|
|
13
|
+
fact_digest: string;
|
|
14
|
+
source_span_node_refs: string[];
|
|
15
|
+
targets: never[];
|
|
16
|
+
}[];
|
|
@@ -995,6 +995,10 @@ export declare function startIndexerMainRun(input: {
|
|
|
995
995
|
ledger: unknown;
|
|
996
996
|
workset_digest: string;
|
|
997
997
|
}): IndexerMainRunLedger;
|
|
998
|
+
export declare function startIndexerMainRuns(input: {
|
|
999
|
+
ledger: unknown;
|
|
1000
|
+
workset_digests: readonly string[];
|
|
1001
|
+
}): IndexerMainRunLedger;
|
|
998
1002
|
export declare function acceptIndexerMainRun(input: {
|
|
999
1003
|
ledger: unknown;
|
|
1000
1004
|
accepted_record: unknown;
|