@rotorsoft/act-diagram 0.4.0 → 1.0.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/README.md +110 -171
- package/dist/.tsbuildinfo +1 -1
- package/dist/@types/cli/colors.d.ts +1 -1
- package/dist/@types/cli/colors.d.ts.map +1 -1
- package/dist/@types/cli/contract-index.d.ts +6 -6
- package/dist/@types/cli/contract-index.d.ts.map +1 -1
- package/dist/@types/cli/format.d.ts +9 -9
- package/dist/@types/cli/format.d.ts.map +1 -1
- package/dist/@types/cli/index.d.ts +9 -9
- package/dist/@types/cli/index.d.ts.map +1 -1
- package/dist/@types/cli/json-schema.d.ts +1 -1
- package/dist/@types/cli/json-schema.d.ts.map +1 -1
- package/dist/@types/cli/load-project.d.ts +3 -3
- package/dist/@types/cli/load-project.d.ts.map +1 -1
- package/dist/@types/cli/markdown.d.ts +1 -1
- package/dist/@types/cli/markdown.d.ts.map +1 -1
- package/dist/@types/cli/open-editor.d.ts +4 -4
- package/dist/@types/cli/open-editor.d.ts.map +1 -1
- package/dist/@types/cli/repl.d.ts +1 -1
- package/dist/@types/cli/repl.d.ts.map +1 -1
- package/dist/@types/cli/vim-keys.d.ts +1 -1
- package/dist/@types/cli/vim-keys.d.ts.map +1 -1
- package/dist/@types/client/components/ActDiagram.d.ts +1 -1
- package/dist/@types/client/components/ActDiagram.d.ts.map +1 -1
- package/dist/@types/client/components/AiBar.d.ts +1 -1
- package/dist/@types/client/components/AiBar.d.ts.map +1 -1
- package/dist/@types/client/components/CodePreview.d.ts +2 -2
- package/dist/@types/client/components/CodePreview.d.ts.map +1 -1
- package/dist/@types/client/components/Diagram.d.ts +1 -1
- package/dist/@types/client/components/Diagram.d.ts.map +1 -1
- package/dist/@types/client/components/Logo.d.ts +1 -1
- package/dist/@types/client/components/Logo.d.ts.map +1 -1
- package/dist/@types/client/components/Tooltip.d.ts +1 -1
- package/dist/@types/client/components/Tooltip.d.ts.map +1 -1
- package/dist/@types/client/lib/build-model.d.ts +2 -2
- package/dist/@types/client/lib/build-model.d.ts.map +1 -1
- package/dist/@types/client/lib/evaluate.d.ts +2 -2
- package/dist/@types/client/lib/evaluate.d.ts.map +1 -1
- package/dist/@types/client/lib/layout.d.ts +1 -1
- package/dist/@types/client/lib/layout.d.ts.map +1 -1
- package/dist/@types/client/lib/mock-builders.d.ts +6 -6
- package/dist/@types/client/lib/mock-builders.d.ts.map +1 -1
- package/dist/@types/client/lib/navigate.d.ts +1 -1
- package/dist/@types/client/lib/navigate.d.ts.map +1 -1
- package/dist/@types/client/lib/schema-extract.d.ts +4 -4
- package/dist/@types/client/lib/schema-extract.d.ts.map +1 -1
- package/dist/@types/client/lib/sort.d.ts +1 -1
- package/dist/@types/client/lib/sort.d.ts.map +1 -1
- package/dist/@types/client/lib/strip-fences.d.ts +3 -3
- package/dist/@types/client/lib/strip-fences.d.ts.map +1 -1
- package/dist/@types/index.d.ts +0 -6
- package/dist/@types/index.d.ts.map +1 -1
- package/dist/cli/act.js +1515 -1310
- package/dist/cli/act.js.map +1 -1
- package/dist/index.cjs +640 -704
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +640 -696
- package/dist/index.js.map +1 -1
- package/dist/styles.css +1 -1
- package/package.json +12 -12
|
@@ -15,5 +15,5 @@ export declare const fuchsia: (s: string) => string;
|
|
|
15
15
|
/** Backwards-compat: legacy aliases pointing at the action color. */
|
|
16
16
|
export declare const lilac: (s: string) => string;
|
|
17
17
|
export declare const pink: (s: string) => string;
|
|
18
|
-
export declare const
|
|
18
|
+
export declare const kind_color: Record<"event" | "action" | "state" | "slice" | "projection" | "reaction", (s: string) => string>;
|
|
19
19
|
//# sourceMappingURL=colors.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"colors.d.ts","sourceRoot":"","sources":["../../../src/cli/colors.ts"],"names":[],"mappings":"AA8CA,eAAO,MAAM,IAAI,yCAAU,CAAC;AAC5B,eAAO,MAAM,GAAG,yCAAS,CAAC;AAC1B,eAAO,MAAM,KAAK,yCAAW,CAAC;AAC9B,eAAO,MAAM,IAAI,yCAAU,CAAC;AAC5B,kFAAkF;AAClF,eAAO,MAAM,KAAK,GAAI,GAAG,MAAM,KAAG,MACY,CAAC;AAC/C,0EAA0E;AAC1E,eAAO,MAAM,GAAG,MAHS,MAAM,KAAG,MAGV,CAAC;AAEzB,eAAO,MAAM,MAAM,GAAI,GAAG,MAAM,KAAG,MAAqB,CAAC;AACzD,eAAO,MAAM,UAAU,GAAI,GAAG,MAAM,KAAG,MAAoB,CAAC;AAC5D,eAAO,MAAM,KAAK,GAAI,GAAG,MAAM,KAAG,MAAqB,CAAC;AACxD,eAAO,MAAM,MAAM,GAAI,GAAG,MAAM,KAAG,MAAqB,CAAC;AACzD,eAAO,MAAM,OAAO,GAAI,GAAG,MAAM,KAAG,MAAoB,CAAC;AACzD,eAAO,MAAM,OAAO,GAAI,GAAG,MAAM,KAAG,MAAqB,CAAC;AAC1D,qEAAqE;AACrE,eAAO,MAAM,KAAK,MANY,MAAM,KAAG,MAMR,CAAC;AAChC,eAAO,MAAM,IAAI,MAPa,MAAM,KAAG,MAOT,CAAC;AAE/B,eAAO,MAAM,
|
|
1
|
+
{"version":3,"file":"colors.d.ts","sourceRoot":"","sources":["../../../src/cli/colors.ts"],"names":[],"mappings":"AA8CA,eAAO,MAAM,IAAI,yCAAU,CAAC;AAC5B,eAAO,MAAM,GAAG,yCAAS,CAAC;AAC1B,eAAO,MAAM,KAAK,yCAAW,CAAC;AAC9B,eAAO,MAAM,IAAI,yCAAU,CAAC;AAC5B,kFAAkF;AAClF,eAAO,MAAM,KAAK,GAAI,GAAG,MAAM,KAAG,MACY,CAAC;AAC/C,0EAA0E;AAC1E,eAAO,MAAM,GAAG,MAHS,MAAM,KAAG,MAGV,CAAC;AAEzB,eAAO,MAAM,MAAM,GAAI,GAAG,MAAM,KAAG,MAAqB,CAAC;AACzD,eAAO,MAAM,UAAU,GAAI,GAAG,MAAM,KAAG,MAAoB,CAAC;AAC5D,eAAO,MAAM,KAAK,GAAI,GAAG,MAAM,KAAG,MAAqB,CAAC;AACxD,eAAO,MAAM,MAAM,GAAI,GAAG,MAAM,KAAG,MAAqB,CAAC;AACzD,eAAO,MAAM,OAAO,GAAI,GAAG,MAAM,KAAG,MAAoB,CAAC;AACzD,eAAO,MAAM,OAAO,GAAI,GAAG,MAAM,KAAG,MAAqB,CAAC;AAC1D,qEAAqE;AACrE,eAAO,MAAM,KAAK,MANY,MAAM,KAAG,MAMR,CAAC;AAChC,eAAO,MAAM,IAAI,MAPa,MAAM,KAAG,MAOT,CAAC;AAE/B,eAAO,MAAM,UAAU,EAAE,MAAM,CAC7B,OAAO,GAAG,QAAQ,GAAG,OAAO,GAAG,OAAO,GAAG,YAAY,GAAG,UAAU,EAClE,CAAC,CAAC,EAAE,MAAM,KAAK,MAAM,CAQtB,CAAC"}
|
|
@@ -23,31 +23,31 @@ export type ContractIndex = {
|
|
|
23
23
|
entries: IndexEntry[];
|
|
24
24
|
model: DomainModel;
|
|
25
25
|
/** All event names that appear anywhere in the model. */
|
|
26
|
-
|
|
26
|
+
all_event_names: Set<string>;
|
|
27
27
|
};
|
|
28
28
|
/** Strip `_v<digits>` suffix and return logical (base, version). */
|
|
29
|
-
export declare function
|
|
29
|
+
export declare function decompose_event_name(name: string): {
|
|
30
30
|
base: string;
|
|
31
31
|
version: number;
|
|
32
32
|
};
|
|
33
33
|
export type EventStatus = {
|
|
34
34
|
status: "active" | "deprecated";
|
|
35
|
-
|
|
35
|
+
superseded_by?: string;
|
|
36
36
|
};
|
|
37
37
|
/**
|
|
38
38
|
* Return active/deprecated for an event name given the universe of
|
|
39
39
|
* known event names. `Foo` is deprecated if any `Foo_v<n>` with a
|
|
40
40
|
* higher version exists; the latest version wins.
|
|
41
41
|
*/
|
|
42
|
-
export declare function
|
|
43
|
-
export declare function
|
|
42
|
+
export declare function event_status(name: string, all_names: Iterable<string>): EventStatus;
|
|
43
|
+
export declare function build_contract_index(model: DomainModel): ContractIndex;
|
|
44
44
|
/**
|
|
45
45
|
* Map a category keyword (typed at the REPL prompt) to its kind.
|
|
46
46
|
* Accepts singular and plural forms.
|
|
47
47
|
*/
|
|
48
48
|
export declare const CATEGORY_KEYWORDS: Record<string, Kind>;
|
|
49
49
|
/** Return every entry of a given kind, sorted by name. */
|
|
50
|
-
export declare function
|
|
50
|
+
export declare function list_by_kind(idx: ContractIndex, kind: Kind): IndexEntry[];
|
|
51
51
|
/**
|
|
52
52
|
* Fuzzy substring search across the index. Case-insensitive. Ranks
|
|
53
53
|
* exact matches above prefix matches above generic substring matches.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"contract-index.d.ts","sourceRoot":"","sources":["../../../src/cli/contract-index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AACH,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAE5D,MAAM,MAAM,IAAI,GACZ,OAAO,GACP,QAAQ,GACR,OAAO,GACP,YAAY,GACZ,OAAO,GACP,UAAU,CAAC;AAEf,MAAM,MAAM,UAAU,GAAG;IACvB,IAAI,EAAE,IAAI,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,8DAA8D;IAC9D,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,MAAM,MAAM,aAAa,GAAG;IAC1B,OAAO,EAAE,UAAU,EAAE,CAAC;IACtB,KAAK,EAAE,WAAW,CAAC;IACnB,yDAAyD;IACzD,
|
|
1
|
+
{"version":3,"file":"contract-index.d.ts","sourceRoot":"","sources":["../../../src/cli/contract-index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AACH,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAE5D,MAAM,MAAM,IAAI,GACZ,OAAO,GACP,QAAQ,GACR,OAAO,GACP,YAAY,GACZ,OAAO,GACP,UAAU,CAAC;AAEf,MAAM,MAAM,UAAU,GAAG;IACvB,IAAI,EAAE,IAAI,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,8DAA8D;IAC9D,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,MAAM,MAAM,aAAa,GAAG;IAC1B,OAAO,EAAE,UAAU,EAAE,CAAC;IACtB,KAAK,EAAE,WAAW,CAAC;IACnB,yDAAyD;IACzD,eAAe,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;CAC9B,CAAC;AAEF,oEAAoE;AACpE,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,MAAM,GAAG;IAClD,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;CACjB,CAIA;AAED,MAAM,MAAM,WAAW,GAAG;IACxB,MAAM,EAAE,QAAQ,GAAG,YAAY,CAAC;IAChC,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB,CAAC;AAEF;;;;GAIG;AACH,wBAAgB,YAAY,CAC1B,IAAI,EAAE,MAAM,EACZ,SAAS,EAAE,QAAQ,CAAC,MAAM,CAAC,GAC1B,WAAW,CAeb;AAED,wBAAgB,oBAAoB,CAAC,KAAK,EAAE,WAAW,GAAG,aAAa,CAsEtE;AAED;;;GAGG;AACH,eAAO,MAAM,iBAAiB,EAAE,MAAM,CAAC,MAAM,EAAE,IAAI,CAalD,CAAC;AAEF,0DAA0D;AAC1D,wBAAgB,YAAY,CAAC,GAAG,EAAE,aAAa,EAAE,IAAI,EAAE,IAAI,GAAG,UAAU,EAAE,CAIzE;AAED;;;;GAIG;AACH,wBAAgB,MAAM,CACpB,GAAG,EAAE,aAAa,EAClB,KAAK,EAAE,MAAM,EACb,KAAK,SAAK,GACT,UAAU,EAAE,CAoBd"}
|
|
@@ -7,16 +7,16 @@
|
|
|
7
7
|
*/
|
|
8
8
|
import { type ContractIndex, type IndexEntry } from "./contract-index.js";
|
|
9
9
|
/** Format a "matches" list view (multiple search results). */
|
|
10
|
-
export declare function
|
|
10
|
+
export declare function format_matches(query: string, matches: IndexEntry[]): string;
|
|
11
11
|
/** Detailed event view: schema, producers, consumers, deprecation. */
|
|
12
|
-
export declare function
|
|
13
|
-
export declare function
|
|
14
|
-
export declare function
|
|
15
|
-
export declare function
|
|
16
|
-
export declare function
|
|
17
|
-
export declare function
|
|
12
|
+
export declare function format_event(idx: ContractIndex, entry: IndexEntry): string;
|
|
13
|
+
export declare function format_action(idx: ContractIndex, entry: IndexEntry): string;
|
|
14
|
+
export declare function format_state(idx: ContractIndex, entry: IndexEntry): string;
|
|
15
|
+
export declare function format_slice(idx: ContractIndex, entry: IndexEntry): string;
|
|
16
|
+
export declare function format_projection(idx: ContractIndex, entry: IndexEntry): string;
|
|
17
|
+
export declare function format_reaction(idx: ContractIndex, entry: IndexEntry): string;
|
|
18
18
|
export declare const formatters: Record<string, (idx: ContractIndex, entry: IndexEntry) => string>;
|
|
19
|
-
export declare function
|
|
19
|
+
export declare function format_detail(idx: ContractIndex, entry: IndexEntry): string;
|
|
20
20
|
/** Header summary printed once at CLI startup. */
|
|
21
|
-
export declare function
|
|
21
|
+
export declare function format_summary(idx: ContractIndex): string;
|
|
22
22
|
//# sourceMappingURL=format.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"format.d.ts","sourceRoot":"","sources":["../../../src/cli/format.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAgBH,OAAO,EACL,KAAK,aAAa,EAElB,KAAK,UAAU,EAChB,MAAM,qBAAqB,CAAC;AAiB7B,8DAA8D;AAC9D,wBAAgB,
|
|
1
|
+
{"version":3,"file":"format.d.ts","sourceRoot":"","sources":["../../../src/cli/format.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAgBH,OAAO,EACL,KAAK,aAAa,EAElB,KAAK,UAAU,EAChB,MAAM,qBAAqB,CAAC;AAiB7B,8DAA8D;AAC9D,wBAAgB,cAAc,CAAC,KAAK,EAAE,MAAM,EAAE,OAAO,EAAE,UAAU,EAAE,GAAG,MAAM,CAY3E;AAmFD,sEAAsE;AACtE,wBAAgB,YAAY,CAAC,GAAG,EAAE,aAAa,EAAE,KAAK,EAAE,UAAU,GAAG,MAAM,CA+D1E;AAED,wBAAgB,aAAa,CAAC,GAAG,EAAE,aAAa,EAAE,KAAK,EAAE,UAAU,GAAG,MAAM,CAoC3E;AAED,wBAAgB,YAAY,CAAC,GAAG,EAAE,aAAa,EAAE,KAAK,EAAE,UAAU,GAAG,MAAM,CAqB1E;AAED,wBAAgB,YAAY,CAAC,GAAG,EAAE,aAAa,EAAE,KAAK,EAAE,UAAU,GAAG,MAAM,CA4B1E;AAED,wBAAgB,iBAAiB,CAC/B,GAAG,EAAE,aAAa,EAClB,KAAK,EAAE,UAAU,GAChB,MAAM,CAWR;AAED,wBAAgB,eAAe,CAAC,GAAG,EAAE,aAAa,EAAE,KAAK,EAAE,UAAU,GAAG,MAAM,CAwC7E;AAED,eAAO,MAAM,UAAU,EAAE,MAAM,CAC7B,MAAM,EACN,CAAC,GAAG,EAAE,aAAa,EAAE,KAAK,EAAE,UAAU,KAAK,MAAM,CAQlD,CAAC;AAEF,wBAAgB,aAAa,CAAC,GAAG,EAAE,aAAa,EAAE,KAAK,EAAE,UAAU,GAAG,MAAM,CAG3E;AAED,kDAAkD;AAClD,wBAAgB,cAAc,CAAC,GAAG,EAAE,aAAa,GAAG,MAAM,CAazD"}
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import {
|
|
2
|
+
import { build_contract_index } from "./contract-index.js";
|
|
3
3
|
export type CliArgs = {
|
|
4
4
|
cwd?: string;
|
|
5
5
|
help: boolean;
|
|
6
6
|
version: boolean;
|
|
7
|
-
|
|
7
|
+
max_files?: number;
|
|
8
8
|
/** Non-interactive: print detail for the named entity and exit. */
|
|
9
9
|
query?: string;
|
|
10
10
|
/** Non-interactive: print the full registry as Markdown and exit. */
|
|
11
11
|
markdown?: boolean;
|
|
12
12
|
/** Non-interactive: print the full registry as JSON Schema and exit. */
|
|
13
|
-
|
|
13
|
+
json_schema?: boolean;
|
|
14
14
|
};
|
|
15
|
-
export declare function
|
|
15
|
+
export declare function parse_args(argv: readonly string[]): CliArgs;
|
|
16
16
|
export type RunDeps = {
|
|
17
17
|
input: NodeJS.ReadableStream;
|
|
18
18
|
output: NodeJS.WritableStream;
|
|
19
|
-
|
|
19
|
+
error_output: NodeJS.WritableStream;
|
|
20
20
|
isTTY: boolean;
|
|
21
21
|
argv: readonly string[];
|
|
22
|
-
|
|
23
|
-
|
|
22
|
+
version_string: string;
|
|
23
|
+
default_dir?: string;
|
|
24
24
|
/**
|
|
25
|
-
* Override for the interactive flow. Defaults to `
|
|
25
|
+
* Override for the interactive flow. Defaults to `run_interactive`.
|
|
26
26
|
* Exposed so tests can drive the non-`-q` code path without hanging
|
|
27
27
|
* on real clack prompts.
|
|
28
28
|
*/
|
|
29
|
-
|
|
29
|
+
run_interactive?: (idx: ReturnType<typeof build_contract_index>, root_dir: string) => Promise<void>;
|
|
30
30
|
};
|
|
31
31
|
export declare function main(deps: RunDeps): Promise<number>;
|
|
32
32
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/cli/index.ts"],"names":[],"mappings":";AAcA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/cli/index.ts"],"names":[],"mappings":";AAcA,OAAO,EAAE,oBAAoB,EAAU,MAAM,qBAAqB,CAAC;AAOnE,MAAM,MAAM,OAAO,GAAG;IACpB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,OAAO,CAAC;IACd,OAAO,EAAE,OAAO,CAAC;IACjB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,mEAAmE;IACnE,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,qEAAqE;IACrE,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,wEAAwE;IACxE,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB,CAAC;AAEF,wBAAgB,UAAU,CAAC,IAAI,EAAE,SAAS,MAAM,EAAE,GAAG,OAAO,CAuB3D;AAqBD,MAAM,MAAM,OAAO,GAAG;IACpB,KAAK,EAAE,MAAM,CAAC,cAAc,CAAC;IAC7B,MAAM,EAAE,MAAM,CAAC,cAAc,CAAC;IAC9B,YAAY,EAAE,MAAM,CAAC,cAAc,CAAC;IACpC,KAAK,EAAE,OAAO,CAAC;IACf,IAAI,EAAE,SAAS,MAAM,EAAE,CAAC;IACxB,cAAc,EAAE,MAAM,CAAC;IACvB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,eAAe,CAAC,EAAE,CAChB,GAAG,EAAE,UAAU,CAAC,OAAO,oBAAoB,CAAC,EAC5C,QAAQ,EAAE,MAAM,KACb,OAAO,CAAC,IAAI,CAAC,CAAC;CACpB,CAAC;AAEF,wBAAsB,IAAI,CAAC,IAAI,EAAE,OAAO,GAAG,OAAO,CAAC,MAAM,CAAC,CA0FzD"}
|
|
@@ -9,5 +9,5 @@ export declare function toJsonSchemaSafe(zod: unknown): {
|
|
|
9
9
|
} | {
|
|
10
10
|
error: string;
|
|
11
11
|
};
|
|
12
|
-
export declare function
|
|
12
|
+
export declare function format_json_schema(idx: ContractIndex): string;
|
|
13
13
|
//# sourceMappingURL=json-schema.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"json-schema.d.ts","sourceRoot":"","sources":["../../../src/cli/json-schema.ts"],"names":[],"mappings":"AAiBA,OAAO,EAAE,KAAK,aAAa,
|
|
1
|
+
{"version":3,"file":"json-schema.d.ts","sourceRoot":"","sources":["../../../src/cli/json-schema.ts"],"names":[],"mappings":"AAiBA,OAAO,EAAE,KAAK,aAAa,EAAgB,MAAM,qBAAqB,CAAC;AAkGvE;;;GAGG;AACH,wBAAgB,gBAAgB,CAC9B,GAAG,EAAE,OAAO,GACX;IAAE,MAAM,EAAE,OAAO,CAAC;IAAC,KAAK,CAAC,EAAE,SAAS,CAAA;CAAE,GAAG;IAAE,KAAK,EAAE,MAAM,CAAA;CAAE,CAc5D;AAED,wBAAgB,kBAAkB,CAAC,GAAG,EAAE,aAAa,GAAG,MAAM,CAqC7D"}
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import type { FileTab } from "../client/types/file-tab.js";
|
|
2
2
|
export type LoadOptions = {
|
|
3
3
|
/** Maximum number of files to read. Default 5000 — protects against runaway scans. */
|
|
4
|
-
|
|
4
|
+
max_files?: number;
|
|
5
5
|
};
|
|
6
6
|
export type LoadResult = {
|
|
7
7
|
files: FileTab[];
|
|
8
8
|
truncated: boolean;
|
|
9
9
|
};
|
|
10
10
|
/**
|
|
11
|
-
* Walk `
|
|
11
|
+
* Walk `root_dir` and return every `.ts` file that survives the skip rules.
|
|
12
12
|
* Returned `FileTab.path` values are project-relative (POSIX separators).
|
|
13
13
|
*/
|
|
14
|
-
export declare function
|
|
14
|
+
export declare function load_project(root_dir: string, opts?: LoadOptions): Promise<LoadResult>;
|
|
15
15
|
//# sourceMappingURL=load-project.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"load-project.d.ts","sourceRoot":"","sources":["../../../src/cli/load-project.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,6BAA6B,CAAC;AA4B3D,MAAM,MAAM,WAAW,GAAG;IACxB,sFAAsF;IACtF,
|
|
1
|
+
{"version":3,"file":"load-project.d.ts","sourceRoot":"","sources":["../../../src/cli/load-project.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,6BAA6B,CAAC;AA4B3D,MAAM,MAAM,WAAW,GAAG;IACxB,sFAAsF;IACtF,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF,MAAM,MAAM,UAAU,GAAG;IACvB,KAAK,EAAE,OAAO,EAAE,CAAC;IACjB,SAAS,EAAE,OAAO,CAAC;CACpB,CAAC;AAEF;;;GAGG;AACH,wBAAsB,YAAY,CAChC,QAAQ,EAAE,MAAM,EAChB,IAAI,GAAE,WAAgB,GACrB,OAAO,CAAC,UAAU,CAAC,CAiDrB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"markdown.d.ts","sourceRoot":"","sources":["../../../src/cli/markdown.ts"],"names":[],"mappings":"AAUA,OAAO,EACL,KAAK,aAAa,EAGnB,MAAM,qBAAqB,CAAC;AAoG7B,wBAAgB,
|
|
1
|
+
{"version":3,"file":"markdown.d.ts","sourceRoot":"","sources":["../../../src/cli/markdown.ts"],"names":[],"mappings":"AAUA,OAAO,EACL,KAAK,aAAa,EAGnB,MAAM,qBAAqB,CAAC;AAoG7B,wBAAgB,eAAe,CAAC,GAAG,EAAE,aAAa,GAAG,MAAM,CAuN1D"}
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
export type EditorDeps = {
|
|
2
2
|
/** Project root the file path is relative to. */
|
|
3
|
-
|
|
3
|
+
root_dir: string;
|
|
4
4
|
/** Override the editor command (mainly for tests). */
|
|
5
5
|
editor?: string;
|
|
6
6
|
/** Override stdio (mainly for tests). */
|
|
7
7
|
stdio?: "inherit" | "ignore";
|
|
8
8
|
};
|
|
9
9
|
/** Resolve which editor to invoke. Exposed for testing. */
|
|
10
|
-
export declare function
|
|
10
|
+
export declare function pick_editor(env: NodeJS.ProcessEnv, override?: string): string;
|
|
11
11
|
/**
|
|
12
12
|
* Build the argv passed to the editor. Public for testing.
|
|
13
13
|
*
|
|
14
14
|
* vim/nvim/nano/emacs → `+<line> <file>`
|
|
15
15
|
* code/cursor → `--goto <file>:<line>`
|
|
16
16
|
*/
|
|
17
|
-
export declare function
|
|
17
|
+
export declare function editor_args(editor: string, file: string, line?: number): string[];
|
|
18
18
|
/** Open `file` (project-relative) at `line` in the user's editor. */
|
|
19
|
-
export declare function
|
|
19
|
+
export declare function open_in_editor(file: string, line: number | undefined, deps: EditorDeps): Promise<{
|
|
20
20
|
ok: boolean;
|
|
21
21
|
reason?: string;
|
|
22
22
|
}>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"open-editor.d.ts","sourceRoot":"","sources":["../../../src/cli/open-editor.ts"],"names":[],"mappings":"AAWA,MAAM,MAAM,UAAU,GAAG;IACvB,iDAAiD;IACjD,
|
|
1
|
+
{"version":3,"file":"open-editor.d.ts","sourceRoot":"","sources":["../../../src/cli/open-editor.ts"],"names":[],"mappings":"AAWA,MAAM,MAAM,UAAU,GAAG;IACvB,iDAAiD;IACjD,QAAQ,EAAE,MAAM,CAAC;IACjB,sDAAsD;IACtD,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,yCAAyC;IACzC,KAAK,CAAC,EAAE,SAAS,GAAG,QAAQ,CAAC;CAC9B,CAAC;AAMF,2DAA2D;AAC3D,wBAAgB,WAAW,CAAC,GAAG,EAAE,MAAM,CAAC,UAAU,EAAE,QAAQ,CAAC,EAAE,MAAM,GAAG,MAAM,CAG7E;AAED;;;;;GAKG;AACH,wBAAgB,WAAW,CACzB,MAAM,EAAE,MAAM,EACd,IAAI,EAAE,MAAM,EACZ,IAAI,CAAC,EAAE,MAAM,GACZ,MAAM,EAAE,CAIV;AAED,qEAAqE;AACrE,wBAAsB,cAAc,CAClC,IAAI,EAAE,MAAM,EACZ,IAAI,EAAE,MAAM,GAAG,SAAS,EACxB,IAAI,EAAE,UAAU,GACf,OAAO,CAAC;IAAE,EAAE,EAAE,OAAO,CAAC;IAAC,MAAM,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC,CAmB3C"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { type ContractIndex } from "./contract-index.js";
|
|
2
|
-
export declare function
|
|
2
|
+
export declare function run_interactive(idx: ContractIndex, root_dir: string): Promise<void>;
|
|
3
3
|
//# sourceMappingURL=repl.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"repl.d.ts","sourceRoot":"","sources":["../../../src/cli/repl.ts"],"names":[],"mappings":"AAUA,OAAO,EAEL,KAAK,aAAa,EAKnB,MAAM,qBAAqB,CAAC;AAyL7B,wBAAsB,
|
|
1
|
+
{"version":3,"file":"repl.d.ts","sourceRoot":"","sources":["../../../src/cli/repl.ts"],"names":[],"mappings":"AAUA,OAAO,EAEL,KAAK,aAAa,EAKnB,MAAM,qBAAqB,CAAC;AAyL7B,wBAAsB,eAAe,CACnC,GAAG,EAAE,aAAa,EAClB,QAAQ,EAAE,MAAM,GACf,OAAO,CAAC,IAAI,CAAC,CAef"}
|
|
@@ -27,7 +27,7 @@ export type VimKeysHandle = {
|
|
|
27
27
|
/** Resume translating bytes after a `pause()`. */
|
|
28
28
|
resume: () => void;
|
|
29
29
|
/** Register a callback fired when `/` is pressed. Returns an unsubscribe fn. */
|
|
30
|
-
|
|
30
|
+
on_slash: (cb: () => void) => () => void;
|
|
31
31
|
};
|
|
32
32
|
export declare function enableVimKeys(stdin: StreamLike): VimKeysHandle;
|
|
33
33
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vim-keys.d.ts","sourceRoot":"","sources":["../../../src/cli/vim-keys.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AASH,KAAK,SAAS,GAAG,MAAM,GAAG,IAAI,GAAG,QAAQ,GAAG,OAAO,GAAG,IAAI,CAAC;AAE3D,oEAAoE;AACpE,wBAAgB,QAAQ,CAAC,KAAK,EAAE,MAAM,GAAG,SAAS,CAMjD;AAED,KAAK,UAAU,GAAG;IAChB,IAAI,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,GAAG,IAAI,EAAE,OAAO,EAAE,KAAK,OAAO,CAAC;CACtD,CAAC;AAEF,MAAM,MAAM,aAAa,GAAG;IAC1B,6CAA6C;IAC7C,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,4EAA4E;IAC5E,KAAK,EAAE,MAAM,IAAI,CAAC;IAClB,kDAAkD;IAClD,MAAM,EAAE,MAAM,IAAI,CAAC;IACnB,gFAAgF;IAChF,
|
|
1
|
+
{"version":3,"file":"vim-keys.d.ts","sourceRoot":"","sources":["../../../src/cli/vim-keys.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AASH,KAAK,SAAS,GAAG,MAAM,GAAG,IAAI,GAAG,QAAQ,GAAG,OAAO,GAAG,IAAI,CAAC;AAE3D,oEAAoE;AACpE,wBAAgB,QAAQ,CAAC,KAAK,EAAE,MAAM,GAAG,SAAS,CAMjD;AAED,KAAK,UAAU,GAAG;IAChB,IAAI,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,GAAG,IAAI,EAAE,OAAO,EAAE,KAAK,OAAO,CAAC;CACtD,CAAC;AAEF,MAAM,MAAM,aAAa,GAAG;IAC1B,6CAA6C;IAC7C,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,4EAA4E;IAC5E,KAAK,EAAE,MAAM,IAAI,CAAC;IAClB,kDAAkD;IAClD,MAAM,EAAE,MAAM,IAAI,CAAC;IACnB,gFAAgF;IAChF,QAAQ,EAAE,CAAC,EAAE,EAAE,MAAM,IAAI,KAAK,MAAM,IAAI,CAAC;CAC1C,CAAC;AAEF,wBAAgB,aAAa,CAAC,KAAK,EAAE,UAAU,GAAG,aAAa,CAyC9D"}
|
|
@@ -12,6 +12,6 @@ type Props = {
|
|
|
12
12
|
/** Whether AI is generating */
|
|
13
13
|
generating?: boolean;
|
|
14
14
|
};
|
|
15
|
-
export declare function ActDiagram({ files: propFiles, onNavigate, usePostMessage, onAiRequest, generating, }: Props): import("react
|
|
15
|
+
export declare function ActDiagram({ files: propFiles, onNavigate, usePostMessage, onAiRequest, generating, }: Props): import("react").JSX.Element;
|
|
16
16
|
export {};
|
|
17
17
|
//# sourceMappingURL=ActDiagram.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ActDiagram.d.ts","sourceRoot":"","sources":["../../../../src/client/components/ActDiagram.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAEV,OAAO,EAGR,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAS,KAAK,SAAS,EAAE,MAAM,YAAY,CAAC;AA0DnD,KAAK,KAAK,GAAG;IACX,4BAA4B;IAC5B,KAAK,CAAC,EAAE,OAAO,EAAE,CAAC;IAClB,yFAAyF;IACzF,UAAU,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;IAC9E,oDAAoD;IACpD,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,2BAA2B;IAC3B,WAAW,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,OAAO,EAAE,EAAE,OAAO,EAAE,SAAS,KAAK,IAAI,CAAC;IAC7E,+BAA+B;IAC/B,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB,CAAC;AAEF,wBAAgB,UAAU,CAAC,EACzB,KAAK,EAAE,SAAS,EAChB,UAAU,EACV,cAAc,EACd,WAAW,EACX,UAAU,GACX,EAAE,KAAK
|
|
1
|
+
{"version":3,"file":"ActDiagram.d.ts","sourceRoot":"","sources":["../../../../src/client/components/ActDiagram.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAEV,OAAO,EAGR,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAS,KAAK,SAAS,EAAE,MAAM,YAAY,CAAC;AA0DnD,KAAK,KAAK,GAAG;IACX,4BAA4B;IAC5B,KAAK,CAAC,EAAE,OAAO,EAAE,CAAC;IAClB,yFAAyF;IACzF,UAAU,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;IAC9E,oDAAoD;IACpD,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,2BAA2B;IAC3B,WAAW,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,OAAO,EAAE,EAAE,OAAO,EAAE,SAAS,KAAK,IAAI,CAAC;IAC7E,+BAA+B;IAC/B,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB,CAAC;AAEF,wBAAgB,UAAU,CAAC,EACzB,KAAK,EAAE,SAAS,EAChB,UAAU,EACV,cAAc,EACd,WAAW,EACX,UAAU,GACX,EAAE,KAAK,+BAyEP"}
|
|
@@ -6,6 +6,6 @@ type Props = {
|
|
|
6
6
|
onSubmit: (prompt: string, options: AiOptions) => void;
|
|
7
7
|
generating?: boolean;
|
|
8
8
|
};
|
|
9
|
-
export declare function AiBar({ onSubmit, generating }: Props): import("react
|
|
9
|
+
export declare function AiBar({ onSubmit, generating }: Props): import("react").JSX.Element;
|
|
10
10
|
export {};
|
|
11
11
|
//# sourceMappingURL=AiBar.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AiBar.d.ts","sourceRoot":"","sources":["../../../../src/client/components/AiBar.tsx"],"names":[],"mappings":"AAgBA,MAAM,MAAM,SAAS,GAAG;IACtB,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,MAAM,CAAC;CACnB,CAAC;AAEF,KAAK,KAAK,GAAG;IACX,QAAQ,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,OAAO,EAAE,SAAS,KAAK,IAAI,CAAC;IACvD,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB,CAAC;AAEF,wBAAgB,KAAK,CAAC,EAAE,QAAQ,EAAE,UAAU,EAAE,EAAE,KAAK
|
|
1
|
+
{"version":3,"file":"AiBar.d.ts","sourceRoot":"","sources":["../../../../src/client/components/AiBar.tsx"],"names":[],"mappings":"AAgBA,MAAM,MAAM,SAAS,GAAG;IACtB,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,MAAM,CAAC;CACnB,CAAC;AAEF,KAAK,KAAK,GAAG;IACX,QAAQ,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,OAAO,EAAE,SAAS,KAAK,IAAI,CAAC;IACvD,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB,CAAC;AAEF,wBAAgB,KAAK,CAAC,EAAE,QAAQ,EAAE,UAAU,EAAE,EAAE,KAAK,+BAmEpD"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
type Props = {
|
|
2
|
-
|
|
2
|
+
file_path: string;
|
|
3
3
|
content: string;
|
|
4
4
|
targetLine: number;
|
|
5
5
|
elementType?: string;
|
|
6
6
|
onClose: () => void;
|
|
7
7
|
};
|
|
8
|
-
export declare function CodePreview({
|
|
8
|
+
export declare function CodePreview({ file_path, content, targetLine, elementType, onClose, }: Props): import("react").JSX.Element;
|
|
9
9
|
export {};
|
|
10
10
|
//# sourceMappingURL=CodePreview.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CodePreview.d.ts","sourceRoot":"","sources":["../../../../src/client/components/CodePreview.tsx"],"names":[],"mappings":"AAYA,KAAK,KAAK,GAAG;IACX,
|
|
1
|
+
{"version":3,"file":"CodePreview.d.ts","sourceRoot":"","sources":["../../../../src/client/components/CodePreview.tsx"],"names":[],"mappings":"AAYA,KAAK,KAAK,GAAG;IACX,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE,MAAM,CAAC;IAChB,UAAU,EAAE,MAAM,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB,CAAC;AAEF,wBAAgB,WAAW,CAAC,EAC1B,SAAS,EACT,OAAO,EACP,UAAU,EACV,WAAW,EACX,OAAO,GACR,EAAE,KAAK,+BAiFP"}
|
|
@@ -6,6 +6,6 @@ type Props = {
|
|
|
6
6
|
onFixWithAi?: (prompt: string) => void;
|
|
7
7
|
toolbarExtra?: React.ReactNode;
|
|
8
8
|
};
|
|
9
|
-
export declare function Diagram({ model, warnings, onClickElement, onFixWithAi, toolbarExtra, }: Props): import("react
|
|
9
|
+
export declare function Diagram({ model, warnings, onClickElement, onFixWithAi, toolbarExtra, }: Props): import("react").JSX.Element;
|
|
10
10
|
export {};
|
|
11
11
|
//# sourceMappingURL=Diagram.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Diagram.d.ts","sourceRoot":"","sources":["../../../../src/client/components/Diagram.tsx"],"names":[],"mappings":"AAUA,OAAO,KAAK,EACV,WAAW,EAEX,iBAAiB,EAClB,MAAM,mBAAmB,CAAC;AAmG3B,KAAK,KAAK,GAAG;IACX,KAAK,EAAE,WAAW,CAAC;IACnB,QAAQ,EAAE,iBAAiB,EAAE,CAAC;IAC9B,cAAc,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;IACtE,WAAW,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;IACvC,YAAY,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAChC,CAAC;AAEF,wBAAgB,OAAO,CAAC,EACtB,KAAK,EACL,QAAQ,EACR,cAAc,EACd,WAAW,EACX,YAAY,GACb,EAAE,KAAK
|
|
1
|
+
{"version":3,"file":"Diagram.d.ts","sourceRoot":"","sources":["../../../../src/client/components/Diagram.tsx"],"names":[],"mappings":"AAUA,OAAO,KAAK,EACV,WAAW,EAEX,iBAAiB,EAClB,MAAM,mBAAmB,CAAC;AAmG3B,KAAK,KAAK,GAAG;IACX,KAAK,EAAE,WAAW,CAAC;IACnB,QAAQ,EAAE,iBAAiB,EAAE,CAAC;IAC9B,cAAc,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;IACtE,WAAW,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;IACvC,YAAY,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAChC,CAAC;AAEF,wBAAgB,OAAO,CAAC,EACtB,KAAK,EACL,QAAQ,EACR,cAAc,EACd,WAAW,EACX,YAAY,GACb,EAAE,KAAK,+BAoxBP"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Logo.d.ts","sourceRoot":"","sources":["../../../../src/client/components/Logo.tsx"],"names":[],"mappings":"AAAA,KAAK,SAAS,GAAG;IACf,IAAI,CAAC,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,wBAAgB,IAAI,CAAC,EAAE,IAAS,EAAE,EAAE,SAAS
|
|
1
|
+
{"version":3,"file":"Logo.d.ts","sourceRoot":"","sources":["../../../../src/client/components/Logo.tsx"],"names":[],"mappings":"AAAA,KAAK,SAAS,GAAG;IACf,IAAI,CAAC,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,wBAAgB,IAAI,CAAC,EAAE,IAAS,EAAE,EAAE,SAAS,+BAqE5C"}
|
|
@@ -11,6 +11,6 @@ type Props = {
|
|
|
11
11
|
position?: "top" | "bottom";
|
|
12
12
|
align?: "center" | "right" | "left";
|
|
13
13
|
};
|
|
14
|
-
export declare function Tooltip({ title, description, details, children, position, align, }: Props): import("react
|
|
14
|
+
export declare function Tooltip({ title, description, details, children, position, align, }: Props): import("react").JSX.Element;
|
|
15
15
|
export {};
|
|
16
16
|
//# sourceMappingURL=Tooltip.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Tooltip.d.ts","sourceRoot":"","sources":["../../../../src/client/components/Tooltip.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAiC,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAGtE,KAAK,UAAU,GAAG;IAChB,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;CACd,CAAC;AAEF,KAAK,KAAK,GAAG;IACX,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,OAAO,CAAC,EAAE,UAAU,EAAE,CAAC;IACvB,QAAQ,EAAE,SAAS,CAAC;IACpB,QAAQ,CAAC,EAAE,KAAK,GAAG,QAAQ,CAAC;IAC5B,KAAK,CAAC,EAAE,QAAQ,GAAG,OAAO,GAAG,MAAM,CAAC;CACrC,CAAC;AAEF,wBAAgB,OAAO,CAAC,EACtB,KAAK,EACL,WAAW,EACX,OAAO,EACP,QAAQ,EACR,QAAmB,EACnB,KAAgB,GACjB,EAAE,KAAK
|
|
1
|
+
{"version":3,"file":"Tooltip.d.ts","sourceRoot":"","sources":["../../../../src/client/components/Tooltip.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAiC,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAGtE,KAAK,UAAU,GAAG;IAChB,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;CACd,CAAC;AAEF,KAAK,KAAK,GAAG;IACX,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,OAAO,CAAC,EAAE,UAAU,EAAE,CAAC;IACvB,QAAQ,EAAE,SAAS,CAAC;IACpB,QAAQ,CAAC,EAAE,KAAK,GAAG,QAAQ,CAAC;IAC5B,KAAK,CAAC,EAAE,QAAQ,GAAG,OAAO,GAAG,MAAM,CAAC;CACrC,CAAC;AAEF,wBAAgB,OAAO,CAAC,EACtB,KAAK,EACL,WAAW,EACX,OAAO,EACP,QAAQ,EACR,QAAmB,EACnB,KAAgB,GACjB,EAAE,KAAK,+BAuFP"}
|
|
@@ -12,9 +12,9 @@ export type ExecuteResult = {
|
|
|
12
12
|
projections: any[];
|
|
13
13
|
acts: any[];
|
|
14
14
|
error?: string;
|
|
15
|
-
|
|
15
|
+
file_errors: Map<string, string>;
|
|
16
16
|
};
|
|
17
|
-
export declare function
|
|
17
|
+
export declare function build_model(result: ExecuteResult, files: FileTab[], expected_slices: Map<string, string>): {
|
|
18
18
|
model: DomainModel;
|
|
19
19
|
error?: string;
|
|
20
20
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"build-model.d.ts","sourceRoot":"","sources":["../../../../src/client/lib/build-model.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,OAAO,KAAK,EAGV,WAAW,EAEX,OAAO,EAGR,MAAM,mBAAmB,CAAC;AA4F3B,MAAM,MAAM,aAAa,GAAG;IAC1B,MAAM,EAAE,GAAG,EAAE,CAAC;IACd,MAAM,EAAE,GAAG,EAAE,CAAC;IACd,WAAW,EAAE,GAAG,EAAE,CAAC;IACnB,IAAI,EAAE,GAAG,EAAE,CAAC;IACZ,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,
|
|
1
|
+
{"version":3,"file":"build-model.d.ts","sourceRoot":"","sources":["../../../../src/client/lib/build-model.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,OAAO,KAAK,EAGV,WAAW,EAEX,OAAO,EAGR,MAAM,mBAAmB,CAAC;AA4F3B,MAAM,MAAM,aAAa,GAAG;IAC1B,MAAM,EAAE,GAAG,EAAE,CAAC;IACd,MAAM,EAAE,GAAG,EAAE,CAAC;IACd,WAAW,EAAE,GAAG,EAAE,CAAC;IACnB,IAAI,EAAE,GAAG,EAAE,CAAC;IACZ,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;CAClC,CAAC;AAIF,wBAAgB,WAAW,CACzB,MAAM,EAAE,aAAa,EACrB,KAAK,EAAE,OAAO,EAAE,EAChB,eAAe,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,GACnC;IAAE,KAAK,EAAE,WAAW,CAAC;IAAC,KAAK,CAAC,EAAE,MAAM,CAAA;CAAE,CAgTxC"}
|
|
@@ -2,8 +2,8 @@ import type { DomainModel, FileTab } from "../types/index.js";
|
|
|
2
2
|
/** Replace non-executable content with same-length whitespace (preserving offsets).
|
|
3
3
|
* `level: "full"` strips comments + strings + template literals (for scanning).
|
|
4
4
|
* `level: "nav"` strips comments + template literals only (for navigation). */
|
|
5
|
-
export declare const
|
|
6
|
-
export declare function
|
|
5
|
+
export declare const strip_non_code: (src: string, level?: "full" | "nav") => string;
|
|
6
|
+
export declare function extract_model(files: FileTab[]): {
|
|
7
7
|
model: DomainModel;
|
|
8
8
|
error?: string;
|
|
9
9
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"evaluate.d.ts","sourceRoot":"","sources":["../../../../src/client/lib/evaluate.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,WAAW,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAK9D;;gFAEgF;AAChF,eAAO,MAAM,
|
|
1
|
+
{"version":3,"file":"evaluate.d.ts","sourceRoot":"","sources":["../../../../src/client/lib/evaluate.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,WAAW,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAK9D;;gFAEgF;AAChF,eAAO,MAAM,cAAc,GAAI,KAAK,MAAM,EAAE,QAAO,MAAM,GAAG,KAAc,WAYzE,CAAC;AAgOF,wBAAgB,aAAa,CAAC,KAAK,EAAE,OAAO,EAAE,GAAG;IAC/C,KAAK,EAAE,WAAW,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAGA"}
|
|
@@ -77,6 +77,6 @@ export type Layout = {
|
|
|
77
77
|
width: number;
|
|
78
78
|
height: number;
|
|
79
79
|
};
|
|
80
|
-
export declare function
|
|
80
|
+
export declare function compute_layout(view_model: DomainModel): Layout;
|
|
81
81
|
export {};
|
|
82
82
|
//# sourceMappingURL=layout.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"layout.d.ts","sourceRoot":"","sources":["../../../../src/client/lib/layout.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,KAAK,EAAE,WAAW,EAAa,MAAM,mBAAmB,CAAC;AAGhE,eAAO,MAAM,CAAC,MAAM,EAClB,CAAC,KAAK,EACN,OAAO,KAAK,EACZ,OAAO,KAAK,EACZ,GAAG,KAAK,EACR,GAAG,KAAK,EACR,SAAS,KAAK,EACd,WAAW,KAAK,EAChB,SAAS,KAAK,EACd,MAAM,KAAK,CAAC;AAEd,QAAA,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;CAMX,CAAC;AAGF,MAAM,MAAM,GAAG,GAAG;IAAE,CAAC,EAAE,MAAM,CAAC;IAAC,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC;AAC3C,MAAM,MAAM,CAAC,GAAG;IACd,GAAG,EAAE,MAAM,CAAC;IACZ,GAAG,EAAE,GAAG,CAAC;IACT,IAAI,EAAE,MAAM,OAAO,MAAM,CAAC;IAC1B,KAAK,EAAE,MAAM,CAAC;IACd,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,EAAE,CAAC;IACvB,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,EAAE,CAAC;IACrB,0EAA0E;IAC1E,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,gEAAgE;IAChE,KAAK,CAAC,EAAE,MAAM,EAAE,CAAC;IACjB,0EAA0E;IAC1E,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;CACpB,CAAC;AACF,MAAM,MAAM,CAAC,GAAG;IAAE,IAAI,EAAE,GAAG,CAAC;IAAC,EAAE,EAAE,GAAG,CAAC;IAAC,KAAK,EAAE,MAAM,CAAC;IAAC,IAAI,CAAC,EAAE,OAAO,CAAA;CAAE,CAAC;AACtE,MAAM,MAAM,GAAG,GAAG;IAChB,KAAK,EAAE,MAAM,CAAC;IACd,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;IACV,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC;AACF,MAAM,MAAM,MAAM,GAAG;IACnB,EAAE,EAAE,CAAC,EAAE,CAAC;IACR,EAAE,EAAE,CAAC,EAAE,CAAC;IACR,KAAK,EAAE,GAAG,EAAE,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;CAChB,CAAC;AAoNF,wBAAgB,
|
|
1
|
+
{"version":3,"file":"layout.d.ts","sourceRoot":"","sources":["../../../../src/client/lib/layout.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,KAAK,EAAE,WAAW,EAAa,MAAM,mBAAmB,CAAC;AAGhE,eAAO,MAAM,CAAC,MAAM,EAClB,CAAC,KAAK,EACN,OAAO,KAAK,EACZ,OAAO,KAAK,EACZ,GAAG,KAAK,EACR,GAAG,KAAK,EACR,SAAS,KAAK,EACd,WAAW,KAAK,EAChB,SAAS,KAAK,EACd,MAAM,KAAK,CAAC;AAEd,QAAA,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;CAMX,CAAC;AAGF,MAAM,MAAM,GAAG,GAAG;IAAE,CAAC,EAAE,MAAM,CAAC;IAAC,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC;AAC3C,MAAM,MAAM,CAAC,GAAG;IACd,GAAG,EAAE,MAAM,CAAC;IACZ,GAAG,EAAE,GAAG,CAAC;IACT,IAAI,EAAE,MAAM,OAAO,MAAM,CAAC;IAC1B,KAAK,EAAE,MAAM,CAAC;IACd,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,EAAE,CAAC;IACvB,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,EAAE,CAAC;IACrB,0EAA0E;IAC1E,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,gEAAgE;IAChE,KAAK,CAAC,EAAE,MAAM,EAAE,CAAC;IACjB,0EAA0E;IAC1E,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;CACpB,CAAC;AACF,MAAM,MAAM,CAAC,GAAG;IAAE,IAAI,EAAE,GAAG,CAAC;IAAC,EAAE,EAAE,GAAG,CAAC;IAAC,KAAK,EAAE,MAAM,CAAC;IAAC,IAAI,CAAC,EAAE,OAAO,CAAA;CAAE,CAAC;AACtE,MAAM,MAAM,GAAG,GAAG;IAChB,KAAK,EAAE,MAAM,CAAC;IACd,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;IACV,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC;AACF,MAAM,MAAM,MAAM,GAAG;IACnB,EAAE,EAAE,CAAC,EAAE,CAAC;IACR,EAAE,EAAE,CAAC,EAAE,CAAC;IACR,KAAK,EAAE,GAAG,EAAE,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;CAChB,CAAC;AAoNF,wBAAgB,cAAc,CAAC,UAAU,EAAE,WAAW,GAAG,MAAM,CAilB9D"}
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
/** Shared no-op function used as Proxy targets (body is never reached through the proxy) */
|
|
2
|
-
export declare function
|
|
3
|
-
export declare function
|
|
2
|
+
export declare function proxy_target(): void;
|
|
3
|
+
export declare function mock_state(entry: Record<string, any>, on_build?: (info: any) => void): {
|
|
4
4
|
init: (_initFn?: any) => {
|
|
5
5
|
emits(events: Record<string, any>): any;
|
|
6
6
|
};
|
|
7
7
|
};
|
|
8
|
-
export declare function
|
|
9
|
-
export declare function
|
|
10
|
-
export declare function
|
|
8
|
+
export declare function mock_slice(on_build?: (info: any) => void): any;
|
|
9
|
+
export declare function mock_projection(target?: string, on_build?: (info: any) => void): any;
|
|
10
|
+
export declare function mock_act(on_build?: (info: any) => void): any;
|
|
11
11
|
/** Module map for the evaluator's require() */
|
|
12
12
|
export declare const MODULES: Record<string, Record<string, unknown>>;
|
|
13
13
|
/**
|
|
14
14
|
* Returns a deep Proxy for unknown modules — any property access
|
|
15
15
|
* returns a no-op function that also acts as a Proxy.
|
|
16
16
|
*/
|
|
17
|
-
export declare function
|
|
17
|
+
export declare function unknown_module_proxy(): Record<string, unknown>;
|
|
18
18
|
//# sourceMappingURL=mock-builders.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mock-builders.d.ts","sourceRoot":"","sources":["../../../../src/client/lib/mock-builders.ts"],"names":[],"mappings":"AAQA,4FAA4F;AAC5F,wBAAgB,
|
|
1
|
+
{"version":3,"file":"mock-builders.d.ts","sourceRoot":"","sources":["../../../../src/client/lib/mock-builders.ts"],"names":[],"mappings":"AAQA,4FAA4F;AAC5F,wBAAgB,YAAY,SAAK;AA2DjC,wBAAgB,UAAU,CACxB,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EAC1B,QAAQ,CAAC,EAAE,CAAC,IAAI,EAAE,GAAG,KAAK,IAAI;qBAyCX,GAAG;sBACJ,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC;;EAatC;AA4DD,wBAAgB,UAAU,CAAC,QAAQ,CAAC,EAAE,CAAC,IAAI,EAAE,GAAG,KAAK,IAAI,OA4CxD;AAED,wBAAgB,eAAe,CAC7B,MAAM,CAAC,EAAE,MAAM,EACf,QAAQ,CAAC,EAAE,CAAC,IAAI,EAAE,GAAG,KAAK,IAAI,OA8B/B;AAED,wBAAgB,QAAQ,CAAC,QAAQ,CAAC,EAAE,CAAC,IAAI,EAAE,GAAG,KAAK,IAAI,OAgEtD;AAWD,+CAA+C;AAC/C,eAAO,MAAM,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAoB3D,CAAC;AAEF;;;GAGG;AACH,wBAAgB,oBAAoB,IAAI,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAmB9D"}
|
|
@@ -11,6 +11,6 @@ type NavigateResult = {
|
|
|
11
11
|
line: number;
|
|
12
12
|
col: number;
|
|
13
13
|
};
|
|
14
|
-
export declare function
|
|
14
|
+
export declare function navigate_to_code(files: FileTab[], name: string, type?: string, target_file?: string): NavigateResult | undefined;
|
|
15
15
|
export {};
|
|
16
16
|
//# sourceMappingURL=navigate.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"navigate.d.ts","sourceRoot":"","sources":["../../../../src/client/lib/navigate.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAoFjD,KAAK,cAAc,GAAG;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,MAAM,CAAC;IAAC,GAAG,EAAE,MAAM,CAAA;CAAE,CAAC;AAElE,wBAAgB,
|
|
1
|
+
{"version":3,"file":"navigate.d.ts","sourceRoot":"","sources":["../../../../src/client/lib/navigate.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAoFjD,KAAK,cAAc,GAAG;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,MAAM,CAAC;IAAC,GAAG,EAAE,MAAM,CAAA;CAAE,CAAC;AAElE,wBAAgB,gBAAgB,CAC9B,KAAK,EAAE,OAAO,EAAE,EAChB,IAAI,EAAE,MAAM,EACZ,IAAI,CAAC,EAAE,MAAM,EACb,WAAW,CAAC,EAAE,MAAM,GACnB,cAAc,GAAG,SAAS,CA+J5B"}
|
|
@@ -12,16 +12,16 @@
|
|
|
12
12
|
* Build a map of every top-level identifier assignment in `src`.
|
|
13
13
|
*
|
|
14
14
|
* const Foo = z.object({...}); → Foo → "z.object({...})"
|
|
15
|
-
* export const Bar: T =
|
|
15
|
+
* export const Bar: T = some_expr; → Bar → "some_expr"
|
|
16
16
|
* let Baz = "literal"; → Baz → "\"literal\""
|
|
17
17
|
*
|
|
18
18
|
* Used so cross-file shorthand `.emits({ TicketOpened })` can resolve
|
|
19
19
|
* to the actual Zod expression defined in another module.
|
|
20
20
|
*/
|
|
21
|
-
export declare function
|
|
21
|
+
export declare function extract_identifier_assignments(src: string): Map<string, string>;
|
|
22
22
|
/**
|
|
23
23
|
* Find every `.emits( ... )` call in `src` and extract the Zod source
|
|
24
|
-
* text for any event name in `
|
|
24
|
+
* text for any event name in `event_names`. Resolves three indirection
|
|
25
25
|
* patterns:
|
|
26
26
|
*
|
|
27
27
|
* .emits({ Foo: z.object(...) }) → direct value capture
|
|
@@ -33,5 +33,5 @@ export declare function extractIdentifierAssignments(src: string): Map<string, s
|
|
|
33
33
|
*
|
|
34
34
|
* Returns a map keyed by event name; missing events stay absent.
|
|
35
35
|
*/
|
|
36
|
-
export declare function
|
|
36
|
+
export declare function extract_schemas_from_source(src: string, event_names: Set<string>, external?: Map<string, string>): Map<string, string>;
|
|
37
37
|
//# sourceMappingURL=schema-extract.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schema-extract.d.ts","sourceRoot":"","sources":["../../../../src/client/lib/schema-extract.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AA+PH;;;;;;;;;GASG;AACH,wBAAgB,
|
|
1
|
+
{"version":3,"file":"schema-extract.d.ts","sourceRoot":"","sources":["../../../../src/client/lib/schema-extract.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AA+PH;;;;;;;;;GASG;AACH,wBAAgB,8BAA8B,CAC5C,GAAG,EAAE,MAAM,GACV,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAyBrB;AA+BD;;;;;;;;;;;;;GAaG;AACH,wBAAgB,2BAA2B,CACzC,GAAG,EAAE,MAAM,EACX,WAAW,EAAE,GAAG,CAAC,MAAM,CAAC,EACxB,QAAQ,CAAC,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,GAC7B,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAkCrB"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import type { FileTab } from "../types/index.js";
|
|
2
2
|
/** Topological sort: files that are imported come before files that import them */
|
|
3
|
-
export declare function
|
|
3
|
+
export declare function topo_sort(ts_files: FileTab[]): FileTab[];
|
|
4
4
|
//# sourceMappingURL=sort.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sort.d.ts","sourceRoot":"","sources":["../../../../src/client/lib/sort.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAEjD,mFAAmF;AACnF,wBAAgB,
|
|
1
|
+
{"version":3,"file":"sort.d.ts","sourceRoot":"","sources":["../../../../src/client/lib/sort.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAEjD,mFAAmF;AACnF,wBAAgB,SAAS,CAAC,QAAQ,EAAE,OAAO,EAAE,GAAG,OAAO,EAAE,CA+DxD"}
|
|
@@ -4,8 +4,8 @@ import type { FileTab } from "../types/index.js";
|
|
|
4
4
|
* Format: ```typescript:src/states.ts\n...code...\n```
|
|
5
5
|
* Falls back to a single src/app.ts file if no path annotations found.
|
|
6
6
|
*/
|
|
7
|
-
export declare function
|
|
8
|
-
export declare function
|
|
7
|
+
export declare function parse_multi_file_response(raw: string): FileTab[];
|
|
8
|
+
export declare function strip_fences(code: string): string;
|
|
9
9
|
/** Derive a project name from the prompt or generated code */
|
|
10
|
-
export declare function
|
|
10
|
+
export declare function derive_project_name(prompt: string, code?: string): string;
|
|
11
11
|
//# sourceMappingURL=strip-fences.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"strip-fences.d.ts","sourceRoot":"","sources":["../../../../src/client/lib/strip-fences.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAEjD;;;;GAIG;AACH,wBAAgB,
|
|
1
|
+
{"version":3,"file":"strip-fences.d.ts","sourceRoot":"","sources":["../../../../src/client/lib/strip-fences.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAEjD;;;;GAIG;AACH,wBAAgB,yBAAyB,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,EAAE,CAmBhE;AAED,wBAAgB,YAAY,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAqBjD;AAED,8DAA8D;AAC9D,wBAAgB,mBAAmB,CAAC,MAAM,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,CAiBzE"}
|
package/dist/@types/index.d.ts
CHANGED
|
@@ -3,12 +3,6 @@ export { AiBar, type AiOptions } from "./client/components/AiBar.js";
|
|
|
3
3
|
export { Diagram } from "./client/components/Diagram.js";
|
|
4
4
|
export { Logo } from "./client/components/Logo.js";
|
|
5
5
|
export { Tooltip } from "./client/components/Tooltip.js";
|
|
6
|
-
export { buildModel, type ExecuteResult } from "./client/lib/build-model.js";
|
|
7
|
-
export { extractModel } from "./client/lib/evaluate.js";
|
|
8
|
-
export { computeLayout } from "./client/lib/layout.js";
|
|
9
|
-
export { navigateToCode } from "./client/lib/navigate.js";
|
|
10
|
-
export { topoSort } from "./client/lib/sort.js";
|
|
11
|
-
export { deriveProjectName, parseMultiFileResponse, stripFences, } from "./client/lib/strip-fences.js";
|
|
12
6
|
export { validate } from "./client/lib/validate.js";
|
|
13
7
|
export type { ActionNode, ActNode, DomainModel, EntryPoint, EventNode, ProjectionNode, ReactionNode, SliceNode, StateNode, ValidationWarning, } from "./client/types/domain-model.js";
|
|
14
8
|
export { emptyModel } from "./client/types/domain-model.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,mCAAmC,CAAC;AAC/D,OAAO,EAAE,KAAK,EAAE,KAAK,SAAS,EAAE,MAAM,8BAA8B,CAAC;AACrE,OAAO,EAAE,OAAO,EAAE,MAAM,gCAAgC,CAAC;AACzD,OAAO,EAAE,IAAI,EAAE,MAAM,6BAA6B,CAAC;AACnD,OAAO,EAAE,OAAO,EAAE,MAAM,gCAAgC,CAAC;AACzD,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,mCAAmC,CAAC;AAC/D,OAAO,EAAE,KAAK,EAAE,KAAK,SAAS,EAAE,MAAM,8BAA8B,CAAC;AACrE,OAAO,EAAE,OAAO,EAAE,MAAM,gCAAgC,CAAC;AACzD,OAAO,EAAE,IAAI,EAAE,MAAM,6BAA6B,CAAC;AACnD,OAAO,EAAE,OAAO,EAAE,MAAM,gCAAgC,CAAC;AACzD,OAAO,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AACpD,YAAY,EACV,UAAU,EACV,OAAO,EACP,WAAW,EACX,UAAU,EACV,SAAS,EACT,cAAc,EACd,YAAY,EACZ,SAAS,EACT,SAAS,EACT,iBAAiB,GAClB,MAAM,gCAAgC,CAAC;AACxC,OAAO,EAAE,UAAU,EAAE,MAAM,gCAAgC,CAAC;AAC5D,YAAY,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAC;AAC1D,YAAY,EAAE,cAAc,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAC"}
|