semantic-atlas 0.1.0
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/.agents/skills/semantic-atlas/SKILL.md +172 -0
- package/.agents/skills/semantic-atlas/references/graph-patch.md +109 -0
- package/.agents/skills/semantic-atlas/references/result-routing.md +91 -0
- package/LICENSE +21 -0
- package/README.md +118 -0
- package/dist/business-flow/business-flow-derivation-service.d.ts +11 -0
- package/dist/business-flow/business-flow-derivation-service.d.ts.map +1 -0
- package/dist/business-flow/business-flow-derivation-service.js +151 -0
- package/dist/business-flow/business-flow-draft.d.ts +16 -0
- package/dist/business-flow/business-flow-draft.d.ts.map +1 -0
- package/dist/business-flow/business-flow-draft.js +150 -0
- package/dist/business-flow/framework-business-strategy.d.ts +7 -0
- package/dist/business-flow/framework-business-strategy.d.ts.map +1 -0
- package/dist/business-flow/framework-business-strategy.js +1 -0
- package/dist/business-flow/strategies/bullmq-business-strategy.d.ts +10 -0
- package/dist/business-flow/strategies/bullmq-business-strategy.d.ts.map +1 -0
- package/dist/business-flow/strategies/bullmq-business-strategy.js +79 -0
- package/dist/business-flow/strategies/called-operation-derivation.d.ts +13 -0
- package/dist/business-flow/strategies/called-operation-derivation.d.ts.map +1 -0
- package/dist/business-flow/strategies/called-operation-derivation.js +32 -0
- package/dist/business-flow/strategies/graphql-business-strategy.d.ts +8 -0
- package/dist/business-flow/strategies/graphql-business-strategy.d.ts.map +1 -0
- package/dist/business-flow/strategies/graphql-business-strategy.js +65 -0
- package/dist/business-flow/strategies/nestjs-business-strategy.d.ts +8 -0
- package/dist/business-flow/strategies/nestjs-business-strategy.d.ts.map +1 -0
- package/dist/business-flow/strategies/nestjs-business-strategy.js +72 -0
- package/dist/business-flow/strategies/strategy-helpers.d.ts +32 -0
- package/dist/business-flow/strategies/strategy-helpers.d.ts.map +1 -0
- package/dist/business-flow/strategies/strategy-helpers.js +49 -0
- package/dist/business-flow/strategies/typeorm-business-strategy.d.ts +10 -0
- package/dist/business-flow/strategies/typeorm-business-strategy.d.ts.map +1 -0
- package/dist/business-flow/strategies/typeorm-business-strategy.js +136 -0
- package/dist/business-flow/strategies/verified-invariant-strategy.d.ts +5 -0
- package/dist/business-flow/strategies/verified-invariant-strategy.d.ts.map +1 -0
- package/dist/business-flow/strategies/verified-invariant-strategy.js +38 -0
- package/dist/business-flow/strategies/verified-test-strategy.d.ts +5 -0
- package/dist/business-flow/strategies/verified-test-strategy.d.ts.map +1 -0
- package/dist/business-flow/strategies/verified-test-strategy.js +26 -0
- package/dist/business-flow/structural-flow-catalog.d.ts +21 -0
- package/dist/business-flow/structural-flow-catalog.d.ts.map +1 -0
- package/dist/business-flow/structural-flow-catalog.js +125 -0
- package/dist/business-flow/types.d.ts +51 -0
- package/dist/business-flow/types.d.ts.map +1 -0
- package/dist/business-flow/types.js +1 -0
- package/dist/cli/argument-parser.d.ts +3 -0
- package/dist/cli/argument-parser.d.ts.map +1 -0
- package/dist/cli/argument-parser.js +174 -0
- package/dist/cli/bin.d.ts +3 -0
- package/dist/cli/bin.d.ts.map +1 -0
- package/dist/cli/bin.js +23 -0
- package/dist/cli/cli-application.d.ts +38 -0
- package/dist/cli/cli-application.d.ts.map +1 -0
- package/dist/cli/cli-application.js +515 -0
- package/dist/cli/cli-error.d.ts +12 -0
- package/dist/cli/cli-error.d.ts.map +1 -0
- package/dist/cli/cli-error.js +44 -0
- package/dist/cli/cli-presenter.d.ts +14 -0
- package/dist/cli/cli-presenter.d.ts.map +1 -0
- package/dist/cli/cli-presenter.js +36 -0
- package/dist/cli/main.d.ts +3 -0
- package/dist/cli/main.d.ts.map +1 -0
- package/dist/cli/main.js +45 -0
- package/dist/cli/types.d.ts +46 -0
- package/dist/cli/types.d.ts.map +1 -0
- package/dist/cli/types.js +1 -0
- package/dist/contracts/cli.d.ts +2139 -0
- package/dist/contracts/cli.d.ts.map +1 -0
- package/dist/contracts/cli.js +232 -0
- package/dist/contracts/graph.d.ts +262 -0
- package/dist/contracts/graph.d.ts.map +1 -0
- package/dist/contracts/graph.js +182 -0
- package/dist/contracts/identifiers.d.ts +4 -0
- package/dist/contracts/identifiers.d.ts.map +1 -0
- package/dist/contracts/identifiers.js +7 -0
- package/dist/contracts/public-contracts.d.ts +4 -0
- package/dist/contracts/public-contracts.d.ts.map +1 -0
- package/dist/contracts/public-contracts.js +3 -0
- package/dist/evaluation/comparison.d.ts +30 -0
- package/dist/evaluation/comparison.d.ts.map +1 -0
- package/dist/evaluation/comparison.js +108 -0
- package/dist/evaluation/contracts.d.ts +204 -0
- package/dist/evaluation/contracts.d.ts.map +1 -0
- package/dist/evaluation/contracts.js +269 -0
- package/dist/graph/graph-store.d.ts +47 -0
- package/dist/graph/graph-store.d.ts.map +1 -0
- package/dist/graph/graph-store.js +719 -0
- package/dist/graph/types.d.ts +168 -0
- package/dist/graph/types.d.ts.map +1 -0
- package/dist/graph/types.js +1 -0
- package/dist/index.d.ts +19 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +9 -0
- package/dist/knowledge/business-knowledge-service.d.ts +24 -0
- package/dist/knowledge/business-knowledge-service.d.ts.map +1 -0
- package/dist/knowledge/business-knowledge-service.js +200 -0
- package/dist/knowledge/graph-patch-conflict-error.d.ts +8 -0
- package/dist/knowledge/graph-patch-conflict-error.d.ts.map +1 -0
- package/dist/knowledge/graph-patch-conflict-error.js +12 -0
- package/dist/knowledge/structural-target-binding.d.ts +14 -0
- package/dist/knowledge/structural-target-binding.d.ts.map +1 -0
- package/dist/knowledge/structural-target-binding.js +11 -0
- package/dist/repository/git-command.d.ts +3 -0
- package/dist/repository/git-command.d.ts.map +1 -0
- package/dist/repository/git-command.js +25 -0
- package/dist/repository/repository-inspector.d.ts +7 -0
- package/dist/repository/repository-inspector.d.ts.map +1 -0
- package/dist/repository/repository-inspector.js +84 -0
- package/dist/repository/repository-language-support.d.ts +14 -0
- package/dist/repository/repository-language-support.d.ts.map +1 -0
- package/dist/repository/repository-language-support.js +64 -0
- package/dist/repository/types.d.ts +9 -0
- package/dist/repository/types.d.ts.map +1 -0
- package/dist/repository/types.js +1 -0
- package/dist/snapshots/repository-snapshot.d.ts +4 -0
- package/dist/snapshots/repository-snapshot.d.ts.map +1 -0
- package/dist/snapshots/repository-snapshot.js +119 -0
- package/dist/snapshots/types.d.ts +30 -0
- package/dist/snapshots/types.d.ts.map +1 -0
- package/dist/snapshots/types.js +1 -0
- package/dist/storage/atlas-database.d.ts +14 -0
- package/dist/storage/atlas-database.d.ts.map +1 -0
- package/dist/storage/atlas-database.js +552 -0
- package/dist/storage/snapshot-store.d.ts +19 -0
- package/dist/storage/snapshot-store.d.ts.map +1 -0
- package/dist/storage/snapshot-store.js +77 -0
- package/dist/structural-backend/codegraph-backend.d.ts +54 -0
- package/dist/structural-backend/codegraph-backend.d.ts.map +1 -0
- package/dist/structural-backend/codegraph-backend.js +1224 -0
- package/dist/structural-backend/codegraph-worker-client.d.ts +5 -0
- package/dist/structural-backend/codegraph-worker-client.d.ts.map +1 -0
- package/dist/structural-backend/codegraph-worker-client.js +118 -0
- package/dist/structural-backend/codegraph-worker-protocol.d.ts +35 -0
- package/dist/structural-backend/codegraph-worker-protocol.d.ts.map +1 -0
- package/dist/structural-backend/codegraph-worker-protocol.js +1 -0
- package/dist/structural-backend/codegraph-worker.d.ts +2 -0
- package/dist/structural-backend/codegraph-worker.d.ts.map +1 -0
- package/dist/structural-backend/codegraph-worker.js +131 -0
- package/dist/structural-backend/process-instance.d.ts +18 -0
- package/dist/structural-backend/process-instance.d.ts.map +1 -0
- package/dist/structural-backend/process-instance.js +207 -0
- package/dist/structural-backend/structural-fact-changes.d.ts +7 -0
- package/dist/structural-backend/structural-fact-changes.d.ts.map +1 -0
- package/dist/structural-backend/structural-fact-changes.js +78 -0
- package/dist/structural-backend/structural-publication.d.ts +12 -0
- package/dist/structural-backend/structural-publication.d.ts.map +1 -0
- package/dist/structural-backend/structural-publication.js +252 -0
- package/dist/structural-backend/structural-write-lock.d.ts +8 -0
- package/dist/structural-backend/structural-write-lock.d.ts.map +1 -0
- package/dist/structural-backend/structural-write-lock.js +415 -0
- package/dist/structural-backend/types.d.ts +144 -0
- package/dist/structural-backend/types.d.ts.map +1 -0
- package/dist/structural-backend/types.js +11 -0
- package/dist/world/types.d.ts +77 -0
- package/dist/world/types.d.ts.map +1 -0
- package/dist/world/types.js +1 -0
- package/dist/world/world-graph-query.d.ts +31 -0
- package/dist/world/world-graph-query.d.ts.map +1 -0
- package/dist/world/world-graph-query.js +453 -0
- package/dist/world/world-model-service.d.ts +21 -0
- package/dist/world/world-model-service.d.ts.map +1 -0
- package/dist/world/world-model-service.js +211 -0
- package/dist/world/world-snapshot-store.d.ts +40 -0
- package/dist/world/world-snapshot-store.d.ts.map +1 -0
- package/dist/world/world-snapshot-store.js +555 -0
- package/docs/architecture/codegraph-backend.md +193 -0
- package/docs/contracts/cli-v1.md +119 -0
- package/docs/contracts/graph-model.md +102 -0
- package/docs/contracts/graph-patch-v1.md +98 -0
- package/docs/evaluation.md +128 -0
- package/docs/product-contract.md +148 -0
- package/package.json +78 -0
- package/schemas/cli-envelope-v1.schema.json +1359 -0
- package/schemas/evaluation-plan-v1.schema.json +211 -0
- package/schemas/evaluation-run-v1.schema.json +365 -0
- package/schemas/graph-patch-v1.schema.json +392 -0
|
@@ -0,0 +1,174 @@
|
|
|
1
|
+
import { contentIdentifierSchema } from "../contracts/identifiers.js";
|
|
2
|
+
import { businessKeySchema, structuralNodeIdSchema } from "../contracts/graph.js";
|
|
3
|
+
import { invalidInput } from "./cli-error.js";
|
|
4
|
+
export function parseCliArguments(arguments_, currentDirectory) {
|
|
5
|
+
const commandName = identifyCommand(arguments_);
|
|
6
|
+
const global = parseGlobalOptions(arguments_, currentDirectory, commandName);
|
|
7
|
+
return {
|
|
8
|
+
repo: global.repo,
|
|
9
|
+
pretty: global.pretty,
|
|
10
|
+
command: parseCommand(global.arguments, commandName),
|
|
11
|
+
};
|
|
12
|
+
}
|
|
13
|
+
function parseGlobalOptions(arguments_, currentDirectory, command) {
|
|
14
|
+
const remaining = [];
|
|
15
|
+
let repo = currentDirectory;
|
|
16
|
+
let pretty = false;
|
|
17
|
+
let hasRepo = false;
|
|
18
|
+
for (let index = 0; index < arguments_.length; index += 1) {
|
|
19
|
+
const argument = arguments_[index];
|
|
20
|
+
if (argument === "--pretty") {
|
|
21
|
+
if (pretty)
|
|
22
|
+
throw invalidInput("--pretty may only be provided once.", command);
|
|
23
|
+
pretty = true;
|
|
24
|
+
continue;
|
|
25
|
+
}
|
|
26
|
+
if (argument === "--repo") {
|
|
27
|
+
if (hasRepo)
|
|
28
|
+
throw invalidInput("--repo may only be provided once.", command);
|
|
29
|
+
const value = arguments_[index + 1];
|
|
30
|
+
if (value === undefined || value.startsWith("-")) {
|
|
31
|
+
throw invalidInput("--repo requires a directory path.", command);
|
|
32
|
+
}
|
|
33
|
+
repo = value;
|
|
34
|
+
hasRepo = true;
|
|
35
|
+
index += 1;
|
|
36
|
+
continue;
|
|
37
|
+
}
|
|
38
|
+
remaining.push(argument);
|
|
39
|
+
}
|
|
40
|
+
return { arguments: remaining, repo, pretty };
|
|
41
|
+
}
|
|
42
|
+
function parseCommand(arguments_, identified) {
|
|
43
|
+
const [command, subcommand, ...rest] = arguments_;
|
|
44
|
+
if (command === "status" || command === "index") {
|
|
45
|
+
requireNoArguments([subcommand, ...rest].filter(isDefined), identified);
|
|
46
|
+
return { name: command };
|
|
47
|
+
}
|
|
48
|
+
if (command === "learn") {
|
|
49
|
+
if (subcommand !== "--stdin" || rest.length !== 0) {
|
|
50
|
+
throw invalidInput("learn requires exactly --stdin.", "learn");
|
|
51
|
+
}
|
|
52
|
+
return { name: "learn" };
|
|
53
|
+
}
|
|
54
|
+
if (command === "changes") {
|
|
55
|
+
return parseChanges([subcommand, ...rest].filter(isDefined));
|
|
56
|
+
}
|
|
57
|
+
if (command === "map") {
|
|
58
|
+
return parseMap(subcommand, rest);
|
|
59
|
+
}
|
|
60
|
+
throw invalidInput("The command arguments are invalid.", identified);
|
|
61
|
+
}
|
|
62
|
+
function parseMap(subcommand, arguments_) {
|
|
63
|
+
if (subcommand === "roots") {
|
|
64
|
+
requireNoArguments(arguments_, "map.roots");
|
|
65
|
+
return { name: "map.roots" };
|
|
66
|
+
}
|
|
67
|
+
if (subcommand === "children") {
|
|
68
|
+
if (arguments_.length !== 1) {
|
|
69
|
+
throw invalidInput("map children requires one node ID.", "map.children");
|
|
70
|
+
}
|
|
71
|
+
return { name: "map.children", nodeId: requireNodeId(arguments_[0], "map.children") };
|
|
72
|
+
}
|
|
73
|
+
if (subcommand === "search") {
|
|
74
|
+
const [query, ...options] = arguments_;
|
|
75
|
+
if (query === undefined || query.trim().length === 0) {
|
|
76
|
+
throw invalidInput("map search requires a lexical query.", "map.search");
|
|
77
|
+
}
|
|
78
|
+
return {
|
|
79
|
+
name: "map.search",
|
|
80
|
+
query,
|
|
81
|
+
limit: parsePositiveIntegerOption(options, "--limit", 20, "map.search"),
|
|
82
|
+
};
|
|
83
|
+
}
|
|
84
|
+
if (subcommand === "show") {
|
|
85
|
+
const [nodeId, ...options] = arguments_;
|
|
86
|
+
if (nodeId === undefined) {
|
|
87
|
+
throw invalidInput("map show requires one node ID.", "map.show");
|
|
88
|
+
}
|
|
89
|
+
return {
|
|
90
|
+
name: "map.show",
|
|
91
|
+
nodeId: requireNodeId(nodeId, "map.show"),
|
|
92
|
+
depth: parsePositiveIntegerOption(options, "--depth", 1, "map.show", 3),
|
|
93
|
+
};
|
|
94
|
+
}
|
|
95
|
+
throw invalidInput("The map command is invalid.", identifyMapCommand(subcommand));
|
|
96
|
+
}
|
|
97
|
+
function parseChanges(arguments_) {
|
|
98
|
+
let fromSnapshotId;
|
|
99
|
+
let toSnapshotId;
|
|
100
|
+
for (let index = 0; index < arguments_.length; index += 2) {
|
|
101
|
+
const option = arguments_[index];
|
|
102
|
+
const value = arguments_[index + 1];
|
|
103
|
+
if ((option !== "--from" && option !== "--to") || value === undefined) {
|
|
104
|
+
throw invalidInput("changes accepts --from and --to snapshot IDs.", "changes");
|
|
105
|
+
}
|
|
106
|
+
const snapshotId = parseSnapshotId(value);
|
|
107
|
+
if (option === "--from") {
|
|
108
|
+
if (fromSnapshotId !== undefined)
|
|
109
|
+
throw invalidInput("--from may only be provided once.", "changes");
|
|
110
|
+
fromSnapshotId = snapshotId;
|
|
111
|
+
}
|
|
112
|
+
else {
|
|
113
|
+
if (toSnapshotId !== undefined)
|
|
114
|
+
throw invalidInput("--to may only be provided once.", "changes");
|
|
115
|
+
toSnapshotId = snapshotId;
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
return {
|
|
119
|
+
name: "changes",
|
|
120
|
+
...(fromSnapshotId === undefined ? {} : { fromSnapshotId }),
|
|
121
|
+
...(toSnapshotId === undefined ? {} : { toSnapshotId }),
|
|
122
|
+
};
|
|
123
|
+
}
|
|
124
|
+
function parsePositiveIntegerOption(arguments_, option, defaultValue, command, maximum) {
|
|
125
|
+
if (arguments_.length === 0)
|
|
126
|
+
return defaultValue;
|
|
127
|
+
if (arguments_.length !== 2 || arguments_[0] !== option) {
|
|
128
|
+
throw invalidInput(`${command} accepts only ${option}.`, command);
|
|
129
|
+
}
|
|
130
|
+
const value = Number(arguments_[1]);
|
|
131
|
+
if (!Number.isInteger(value) || value < 1 || (maximum !== undefined && value > maximum)) {
|
|
132
|
+
const range = maximum === undefined ? "a positive integer" : `an integer from 1 through ${maximum}`;
|
|
133
|
+
throw invalidInput(`${option} must be ${range}.`, command);
|
|
134
|
+
}
|
|
135
|
+
return value;
|
|
136
|
+
}
|
|
137
|
+
function requireNodeId(value, command) {
|
|
138
|
+
const structural = structuralNodeIdSchema.safeParse(value);
|
|
139
|
+
if (structural.success)
|
|
140
|
+
return structural.data;
|
|
141
|
+
const business = businessKeySchema.safeParse(value);
|
|
142
|
+
if (business.success)
|
|
143
|
+
return business.data;
|
|
144
|
+
throw invalidInput("The node ID must be a structural ID or business key.", command);
|
|
145
|
+
}
|
|
146
|
+
function parseSnapshotId(value) {
|
|
147
|
+
const result = contentIdentifierSchema.safeParse(value);
|
|
148
|
+
if (!result.success)
|
|
149
|
+
throw invalidInput("Snapshot IDs must be SHA-256 identifiers.", "changes");
|
|
150
|
+
return result.data;
|
|
151
|
+
}
|
|
152
|
+
function requireNoArguments(arguments_, command) {
|
|
153
|
+
if (arguments_.length > 0)
|
|
154
|
+
throw invalidInput("The command does not accept arguments.", command);
|
|
155
|
+
}
|
|
156
|
+
function identifyCommand(arguments_) {
|
|
157
|
+
const positional = arguments_.filter((argument, index) => (argument !== "--pretty"
|
|
158
|
+
&& argument !== "--repo"
|
|
159
|
+
&& arguments_[index - 1] !== "--repo"));
|
|
160
|
+
const [command, subcommand] = positional;
|
|
161
|
+
if (command === "status" || command === "index" || command === "learn" || command === "changes") {
|
|
162
|
+
return command;
|
|
163
|
+
}
|
|
164
|
+
return command === "map" ? identifyMapCommand(subcommand) : null;
|
|
165
|
+
}
|
|
166
|
+
function identifyMapCommand(subcommand) {
|
|
167
|
+
if (subcommand === "roots" || subcommand === "children" || subcommand === "search" || subcommand === "show") {
|
|
168
|
+
return `map.${subcommand}`;
|
|
169
|
+
}
|
|
170
|
+
return null;
|
|
171
|
+
}
|
|
172
|
+
function isDefined(value) {
|
|
173
|
+
return value !== undefined;
|
|
174
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bin.d.ts","sourceRoot":"","sources":["../../src/cli/bin.ts"],"names":[],"mappings":""}
|
package/dist/cli/bin.js
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
import { spawn } from "node:child_process";
|
|
3
|
+
import { fileURLToPath } from "node:url";
|
|
4
|
+
const arguments_ = process.argv.slice(2);
|
|
5
|
+
if (process.getBuiltinModule("node:sqlite") === undefined) {
|
|
6
|
+
process.exitCode = await runWithExperimentalSqlite(arguments_);
|
|
7
|
+
}
|
|
8
|
+
else {
|
|
9
|
+
const { runCli } = await import("./main.js");
|
|
10
|
+
process.exitCode = await runCli(arguments_, { stdin: process.stdin, stdout: process.stdout, stderr: process.stderr }, process.cwd());
|
|
11
|
+
}
|
|
12
|
+
async function runWithExperimentalSqlite(arguments_) {
|
|
13
|
+
const child = spawn(process.execPath, [
|
|
14
|
+
"--experimental-sqlite",
|
|
15
|
+
"--disable-warning=ExperimentalWarning",
|
|
16
|
+
fileURLToPath(import.meta.url),
|
|
17
|
+
...arguments_,
|
|
18
|
+
], { stdio: "inherit" });
|
|
19
|
+
return new Promise((resolve, reject) => {
|
|
20
|
+
child.once("error", reject);
|
|
21
|
+
child.once("close", (code) => resolve(code ?? 1));
|
|
22
|
+
});
|
|
23
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { type CliEnvelope } from "../contracts/cli.js";
|
|
2
|
+
import { type RepositoryLanguageSupport } from "../repository/repository-language-support.js";
|
|
3
|
+
import type { GitRepository } from "../repository/types.js";
|
|
4
|
+
import type { RepositorySnapshot } from "../snapshots/types.js";
|
|
5
|
+
import { type StoredRepositorySnapshot } from "../storage/snapshot-store.js";
|
|
6
|
+
import type { StructuralIndexState } from "../structural-backend/types.js";
|
|
7
|
+
import type { WorldSnapshotState } from "../world/types.js";
|
|
8
|
+
import type { CliCommandName, CliIo, CommandResult, ParsedCommand } from "./types.js";
|
|
9
|
+
export interface RepositoryContext {
|
|
10
|
+
readonly repository: GitRepository;
|
|
11
|
+
readonly currentSnapshot: RepositorySnapshot;
|
|
12
|
+
readonly structural: StructuralIndexState;
|
|
13
|
+
readonly languages: readonly RepositoryLanguageSupport[];
|
|
14
|
+
readonly state: WorldSnapshotState | null;
|
|
15
|
+
readonly publishedSnapshot: StoredRepositorySnapshot | null;
|
|
16
|
+
}
|
|
17
|
+
export declare class CliApplication {
|
|
18
|
+
private readonly io;
|
|
19
|
+
constructor(io: CliIo);
|
|
20
|
+
openRepository(path: string, command: CliCommandName): Promise<RepositoryContext>;
|
|
21
|
+
execute(command: ParsedCommand, context: RepositoryContext): Promise<CommandResult>;
|
|
22
|
+
envelope(result: CommandResult, context: RepositoryContext): CliEnvelope;
|
|
23
|
+
responseContext(context: RepositoryContext): {
|
|
24
|
+
readonly repository: CliEnvelope["repository"];
|
|
25
|
+
readonly snapshot: CliEnvelope["snapshot"];
|
|
26
|
+
};
|
|
27
|
+
private status;
|
|
28
|
+
private index;
|
|
29
|
+
private mapRoots;
|
|
30
|
+
private mapChildren;
|
|
31
|
+
private mapSearch;
|
|
32
|
+
private mapShow;
|
|
33
|
+
private learn;
|
|
34
|
+
private changes;
|
|
35
|
+
private requireAvailableWorld;
|
|
36
|
+
private requireCurrentWorld;
|
|
37
|
+
}
|
|
38
|
+
//# sourceMappingURL=cli-application.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cli-application.d.ts","sourceRoot":"","sources":["../../src/cli/cli-application.ts"],"names":[],"mappings":"AAEA,OAAO,EAAqB,KAAK,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAK1E,OAAO,EAGL,KAAK,yBAAyB,EAC/B,MAAM,8CAA8C,CAAC;AAItD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AAE5D,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AAChE,OAAO,EAEL,KAAK,wBAAwB,EAC9B,MAAM,8BAA8B,CAAC;AAEtC,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,gCAAgC,CAAC;AAI3E,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAC;AAE5D,OAAO,KAAK,EACV,cAAc,EACd,KAAK,EAEL,aAAa,EACb,aAAa,EACd,MAAM,YAAY,CAAC;AAEpB,MAAM,WAAW,iBAAiB;IAChC,QAAQ,CAAC,UAAU,EAAE,aAAa,CAAC;IACnC,QAAQ,CAAC,eAAe,EAAE,kBAAkB,CAAC;IAC7C,QAAQ,CAAC,UAAU,EAAE,oBAAoB,CAAC;IAC1C,QAAQ,CAAC,SAAS,EAAE,SAAS,yBAAyB,EAAE,CAAC;IACzD,QAAQ,CAAC,KAAK,EAAE,kBAAkB,GAAG,IAAI,CAAC;IAC1C,QAAQ,CAAC,iBAAiB,EAAE,wBAAwB,GAAG,IAAI,CAAC;CAC7D;AAED,qBAAa,cAAc;IACb,OAAO,CAAC,QAAQ,CAAC,EAAE;gBAAF,EAAE,EAAE,KAAK;IAEhC,cAAc,CAAC,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,cAAc,GAAG,OAAO,CAAC,iBAAiB,CAAC;IAoCjF,OAAO,CAAC,OAAO,EAAE,aAAa,EAAE,OAAO,EAAE,iBAAiB,GAAG,OAAO,CAAC,aAAa,CAAC;IAqBzF,QAAQ,CACN,MAAM,EAAE,aAAa,EACrB,OAAO,EAAE,iBAAiB,GACzB,WAAW;IAYd,eAAe,CAAC,OAAO,EAAE,iBAAiB,GAAG;QAC3C,QAAQ,CAAC,UAAU,EAAE,WAAW,CAAC,YAAY,CAAC,CAAC;QAC/C,QAAQ,CAAC,QAAQ,EAAE,WAAW,CAAC,UAAU,CAAC,CAAC;KAC5C;IAOD,OAAO,CAAC,MAAM;YAwBA,KAAK;YAsDL,QAAQ;YAOR,WAAW;YAWX,SAAS;YAWT,OAAO;YAsBP,KAAK;IAwBnB,OAAO,CAAC,OAAO;IAuCf,OAAO,CAAC,qBAAqB;IAS7B,OAAO,CAAC,mBAAmB;CAW5B"}
|