@openclawbrain/cli 0.4.35 → 0.4.36
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/dist/src/cli.d.ts +69 -1
- package/dist/src/cli.js +817 -4
- package/dist/src/graphify-compiled-artifacts.d.ts +127 -0
- package/dist/src/graphify-compiled-artifacts.js +1185 -0
- package/dist/src/graphify-import-slice.js +1091 -0
- package/dist/src/graphify-lints.js +977 -0
- package/dist/src/graphify-maintenance-diff.d.ts +167 -0
- package/dist/src/graphify-maintenance-diff.js +1288 -0
- package/dist/src/graphify-runner.js +745 -0
- package/dist/src/import-export.d.ts +127 -0
- package/dist/src/import-export.js +938 -26
- package/dist/src/index.js +4 -2
- package/dist/src/session-store.js +37 -0
- package/dist/src/session-tail.js +111 -2
- package/package.json +9 -9
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
export declare const GRAPHIFY_COMPILED_ARTIFACT_KIND_ORDER_V1: readonly ["map_of_territory", "concept_page", "neighborhood_summary", "provenance_gap_report"];
|
|
2
|
+
export declare const GRAPHIFY_COMPILED_ARTIFACT_PACK_LAYOUT_V1: {
|
|
3
|
+
readonly manifest: "pack.manifest.json";
|
|
4
|
+
readonly artifactsDir: "artifacts";
|
|
5
|
+
readonly proposalsDir: "proposals";
|
|
6
|
+
readonly compilerProposal: "proposals/compiler-proposal.json";
|
|
7
|
+
readonly surfaceMap: "surface-map.json";
|
|
8
|
+
readonly proposalReport: "proposal-report.json";
|
|
9
|
+
readonly verdict: "verdict.json";
|
|
10
|
+
};
|
|
11
|
+
export interface GraphifyCompiledArtifactSourceRefV1 {
|
|
12
|
+
sourceKind: string;
|
|
13
|
+
sourceId: string;
|
|
14
|
+
excerpt: string;
|
|
15
|
+
authority: string;
|
|
16
|
+
derivation: string;
|
|
17
|
+
sourceHash?: string;
|
|
18
|
+
}
|
|
19
|
+
export interface GraphifyCompiledArtifactEvidenceV1 extends GraphifyCompiledArtifactSourceRefV1 {
|
|
20
|
+
evidenceId: string;
|
|
21
|
+
}
|
|
22
|
+
export interface GraphifyCompiledArtifactClaimV1 {
|
|
23
|
+
claimId: string;
|
|
24
|
+
text: string;
|
|
25
|
+
confidence: number;
|
|
26
|
+
status: string;
|
|
27
|
+
evidenceIds: string[];
|
|
28
|
+
}
|
|
29
|
+
export interface GraphifyCompiledArtifactSpecV1 {
|
|
30
|
+
artifactId: string;
|
|
31
|
+
kind: (typeof GRAPHIFY_COMPILED_ARTIFACT_KIND_ORDER_V1)[number];
|
|
32
|
+
title: string;
|
|
33
|
+
summary: string;
|
|
34
|
+
subjectIds: string[];
|
|
35
|
+
confidence: number;
|
|
36
|
+
evidence: GraphifyCompiledArtifactEvidenceV1[];
|
|
37
|
+
counterevidence: GraphifyCompiledArtifactEvidenceV1[];
|
|
38
|
+
openQuestions: string[];
|
|
39
|
+
promotionNotes: string[];
|
|
40
|
+
claims: GraphifyCompiledArtifactClaimV1[];
|
|
41
|
+
replaySuites: string[];
|
|
42
|
+
rollbackKey: string;
|
|
43
|
+
sourceRoots: string[];
|
|
44
|
+
createdAt?: string;
|
|
45
|
+
updatedAt?: string;
|
|
46
|
+
proposalLane?: string;
|
|
47
|
+
status?: string;
|
|
48
|
+
packId?: string | null;
|
|
49
|
+
proposalId?: string | null;
|
|
50
|
+
}
|
|
51
|
+
export interface GraphifyCompiledArtifactPackInputV1 {
|
|
52
|
+
bundleStartedAt?: string | Date;
|
|
53
|
+
bundleId?: string | null;
|
|
54
|
+
outputDir?: string | null;
|
|
55
|
+
proposalId?: string | null;
|
|
56
|
+
packId?: string | null;
|
|
57
|
+
graphifyRunId?: string | null;
|
|
58
|
+
graphifyVersion?: string | null;
|
|
59
|
+
graphifyCommand?: string | null;
|
|
60
|
+
sourceBundleId?: string | null;
|
|
61
|
+
sourceBundleHash?: string | null;
|
|
62
|
+
graphHash?: string | null;
|
|
63
|
+
configHash?: string | null;
|
|
64
|
+
labelsHash?: string | null;
|
|
65
|
+
sourceDocs?: string[];
|
|
66
|
+
sourceFixtures?: string[];
|
|
67
|
+
artifactSpecs?: GraphifyCompiledArtifactSpecV1[];
|
|
68
|
+
}
|
|
69
|
+
export interface GraphifyCompiledArtifactPackBuildResultV1 {
|
|
70
|
+
bundleId: string;
|
|
71
|
+
bundleSlug: string;
|
|
72
|
+
bundleStartedAt: string;
|
|
73
|
+
outputDir: string;
|
|
74
|
+
packId: string;
|
|
75
|
+
proposalId: string;
|
|
76
|
+
graphifyRunId: string;
|
|
77
|
+
graphifyRun: Record<string, unknown>;
|
|
78
|
+
packManifest: Record<string, unknown>;
|
|
79
|
+
compilerProposal: Record<string, unknown>;
|
|
80
|
+
surfaceMap: Record<string, unknown>;
|
|
81
|
+
proposalReport: Record<string, unknown>;
|
|
82
|
+
verdict: Record<string, unknown>;
|
|
83
|
+
artifactEntries: Array<{
|
|
84
|
+
artifactId: string;
|
|
85
|
+
kind: string;
|
|
86
|
+
title: string;
|
|
87
|
+
summary: string;
|
|
88
|
+
markdown: string;
|
|
89
|
+
meta: Record<string, unknown>;
|
|
90
|
+
contentHash: string;
|
|
91
|
+
markdownPath: string;
|
|
92
|
+
metaPath: string;
|
|
93
|
+
}>;
|
|
94
|
+
artifactSummaries: Array<Record<string, unknown>>;
|
|
95
|
+
bundlePaths: Record<string, unknown>;
|
|
96
|
+
paths: Record<string, unknown>;
|
|
97
|
+
validation: {
|
|
98
|
+
ok: boolean;
|
|
99
|
+
errors: string[];
|
|
100
|
+
bundleHash: string;
|
|
101
|
+
fileCount: number;
|
|
102
|
+
artifactCount: number;
|
|
103
|
+
};
|
|
104
|
+
digest: {
|
|
105
|
+
bundleId: string;
|
|
106
|
+
packId: string;
|
|
107
|
+
proposalId: string;
|
|
108
|
+
files: Record<string, string>;
|
|
109
|
+
fileCount: number;
|
|
110
|
+
bundleHash: string;
|
|
111
|
+
};
|
|
112
|
+
files: Record<string, string>;
|
|
113
|
+
}
|
|
114
|
+
export interface GraphifyCompiledArtifactPackWriteResultV1 {
|
|
115
|
+
outputDir: string;
|
|
116
|
+
writtenFiles: string[];
|
|
117
|
+
fileCount: number;
|
|
118
|
+
}
|
|
119
|
+
export declare function resolveGraphifyCompiledArtifactPackOutputDir(options?: {
|
|
120
|
+
outputDir?: string | null;
|
|
121
|
+
bundleStartedAt?: Date | string;
|
|
122
|
+
bundleId?: string | null;
|
|
123
|
+
}): string;
|
|
124
|
+
export declare function buildGraphifyCompiledArtifactPack(input?: GraphifyCompiledArtifactPackInputV1): GraphifyCompiledArtifactPackBuildResultV1;
|
|
125
|
+
export declare function writeGraphifyCompiledArtifactPack(outputDir: string, bundle: GraphifyCompiledArtifactPackBuildResultV1): GraphifyCompiledArtifactPackWriteResultV1;
|
|
126
|
+
export declare function buildGraphifyCompiledArtifactPackDigest(bundle: Pick<GraphifyCompiledArtifactPackBuildResultV1, "bundleId" | "packId" | "proposalId" | "files">): GraphifyCompiledArtifactPackBuildResultV1["digest"];
|
|
127
|
+
export declare function validateGraphifyCompiledArtifactPackBundle(bundle: Pick<GraphifyCompiledArtifactPackBuildResultV1, "bundleId" | "packId" | "proposalId" | "packManifest" | "artifactEntries" | "bundlePaths" | "paths" | "files">): GraphifyCompiledArtifactPackBuildResultV1["validation"];
|