@rotorsoft/act-diagram 0.3.10 → 1.0.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/README.md +117 -152
- package/dist/.tsbuildinfo +1 -1
- package/dist/@types/cli/colors.d.ts +19 -0
- package/dist/@types/cli/colors.d.ts.map +1 -0
- package/dist/@types/cli/contract-index.d.ts +57 -0
- package/dist/@types/cli/contract-index.d.ts.map +1 -0
- package/dist/@types/cli/format.d.ts +22 -0
- package/dist/@types/cli/format.d.ts.map +1 -0
- package/dist/@types/cli/index.d.ts +32 -0
- package/dist/@types/cli/index.d.ts.map +1 -0
- package/dist/@types/cli/json-schema.d.ts +13 -0
- package/dist/@types/cli/json-schema.d.ts.map +1 -0
- package/dist/@types/cli/load-project.d.ts +15 -0
- package/dist/@types/cli/load-project.d.ts.map +1 -0
- package/dist/@types/cli/markdown.d.ts +3 -0
- package/dist/@types/cli/markdown.d.ts.map +1 -0
- package/dist/@types/cli/open-editor.d.ts +23 -0
- package/dist/@types/cli/open-editor.d.ts.map +1 -0
- package/dist/@types/cli/repl.d.ts +3 -0
- package/dist/@types/cli/repl.d.ts.map +1 -0
- package/dist/@types/cli/vim-keys.d.ts +34 -0
- package/dist/@types/cli/vim-keys.d.ts.map +1 -0
- package/dist/@types/client/components/Diagram.d.ts.map +1 -1
- package/dist/@types/client/lib/build-model.d.ts.map +1 -1
- package/dist/@types/client/lib/layout.d.ts +6 -0
- package/dist/@types/client/lib/layout.d.ts.map +1 -1
- package/dist/@types/client/lib/schema-extract.d.ts +37 -0
- package/dist/@types/client/lib/schema-extract.d.ts.map +1 -0
- package/dist/@types/client/types/domain-model.d.ts +15 -0
- package/dist/@types/client/types/domain-model.d.ts.map +1 -1
- package/dist/cli/act.js +3324 -0
- package/dist/cli/act.js.map +1 -0
- package/dist/index.cjs +413 -39
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +413 -39
- package/dist/index.js.map +1 -1
- package/dist/styles.css +2 -2
- package/package.json +14 -8
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export declare const bold: import("picocolors/types.js").Formatter;
|
|
2
|
+
export declare const red: import("picocolors/types.js").Formatter;
|
|
3
|
+
export declare const green: import("picocolors/types.js").Formatter;
|
|
4
|
+
export declare const cyan: import("picocolors/types.js").Formatter;
|
|
5
|
+
/** Secondary metadata. Brighter than SGR-2 dim so detail dialogs stay legible. */
|
|
6
|
+
export declare const muted: (s: string) => string;
|
|
7
|
+
/** Compat alias — older callers still import `dim`; map it to `muted`. */
|
|
8
|
+
export declare const dim: (s: string) => string;
|
|
9
|
+
export declare const orange: (s: string) => string;
|
|
10
|
+
export declare const cornflower: (s: string) => string;
|
|
11
|
+
export declare const amber: (s: string) => string;
|
|
12
|
+
export declare const violet: (s: string) => string;
|
|
13
|
+
export declare const emerald: (s: string) => string;
|
|
14
|
+
export declare const fuchsia: (s: string) => string;
|
|
15
|
+
/** Backwards-compat: legacy aliases pointing at the action color. */
|
|
16
|
+
export declare const lilac: (s: string) => string;
|
|
17
|
+
export declare const pink: (s: string) => string;
|
|
18
|
+
export declare const kindColor: Record<"event" | "action" | "state" | "slice" | "projection" | "reaction", (s: string) => string>;
|
|
19
|
+
//# sourceMappingURL=colors.d.ts.map
|
|
@@ -0,0 +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,SAAS,EAAE,MAAM,CAC5B,OAAO,GAAG,QAAQ,GAAG,OAAO,GAAG,OAAO,GAAG,YAAY,GAAG,UAAU,EAClE,CAAC,CAAC,EAAE,MAAM,KAAK,MAAM,CAQtB,CAAC"}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Search index built from a parsed DomainModel.
|
|
3
|
+
*
|
|
4
|
+
* Walks the model once, materializes one IndexEntry per discoverable
|
|
5
|
+
* symbol (events, actions, slices, projections, states, reactions),
|
|
6
|
+
* and exposes a fuzzy lookup over them.
|
|
7
|
+
*
|
|
8
|
+
* Event status is derived from the `_v<digits>` convention documented
|
|
9
|
+
* in CLAUDE.md and ACT-403: an event `Foo` is deprecated when any
|
|
10
|
+
* `Foo_v<n>` with a higher version exists.
|
|
11
|
+
*/
|
|
12
|
+
import type { DomainModel } from "../client/types/index.js";
|
|
13
|
+
export type Kind = "event" | "action" | "slice" | "projection" | "state" | "reaction";
|
|
14
|
+
export type IndexEntry = {
|
|
15
|
+
kind: Kind;
|
|
16
|
+
name: string;
|
|
17
|
+
/** Disambiguator when names repeat across kinds or scopes. */
|
|
18
|
+
qualifier?: string;
|
|
19
|
+
file?: string;
|
|
20
|
+
line?: number;
|
|
21
|
+
};
|
|
22
|
+
export type ContractIndex = {
|
|
23
|
+
entries: IndexEntry[];
|
|
24
|
+
model: DomainModel;
|
|
25
|
+
/** All event names that appear anywhere in the model. */
|
|
26
|
+
allEventNames: Set<string>;
|
|
27
|
+
};
|
|
28
|
+
/** Strip `_v<digits>` suffix and return logical (base, version). */
|
|
29
|
+
export declare function decomposeEventName(name: string): {
|
|
30
|
+
base: string;
|
|
31
|
+
version: number;
|
|
32
|
+
};
|
|
33
|
+
export type EventStatus = {
|
|
34
|
+
status: "active" | "deprecated";
|
|
35
|
+
supersededBy?: string;
|
|
36
|
+
};
|
|
37
|
+
/**
|
|
38
|
+
* Return active/deprecated for an event name given the universe of
|
|
39
|
+
* known event names. `Foo` is deprecated if any `Foo_v<n>` with a
|
|
40
|
+
* higher version exists; the latest version wins.
|
|
41
|
+
*/
|
|
42
|
+
export declare function eventStatus(name: string, allNames: Iterable<string>): EventStatus;
|
|
43
|
+
export declare function buildContractIndex(model: DomainModel): ContractIndex;
|
|
44
|
+
/**
|
|
45
|
+
* Map a category keyword (typed at the REPL prompt) to its kind.
|
|
46
|
+
* Accepts singular and plural forms.
|
|
47
|
+
*/
|
|
48
|
+
export declare const CATEGORY_KEYWORDS: Record<string, Kind>;
|
|
49
|
+
/** Return every entry of a given kind, sorted by name. */
|
|
50
|
+
export declare function listByKind(idx: ContractIndex, kind: Kind): IndexEntry[];
|
|
51
|
+
/**
|
|
52
|
+
* Fuzzy substring search across the index. Case-insensitive. Ranks
|
|
53
|
+
* exact matches above prefix matches above generic substring matches.
|
|
54
|
+
* Returns up to `limit` entries (default 20).
|
|
55
|
+
*/
|
|
56
|
+
export declare function search(idx: ContractIndex, query: string, limit?: number): IndexEntry[];
|
|
57
|
+
//# sourceMappingURL=contract-index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"contract-index.d.ts","sourceRoot":"","sources":["../../../src/cli/contract-index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;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,CACpB,GAAG,EAAE,aAAa,EAClB,KAAK,EAAE,MAAM,EACb,KAAK,SAAK,GACT,UAAU,EAAE,CAoBd"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Pretty-printers for the `act` CLI.
|
|
3
|
+
*
|
|
4
|
+
* Each detail view returns a multi-line string. Colors are applied
|
|
5
|
+
* unconditionally — picocolors no-ops when stdout doesn't support color,
|
|
6
|
+
* so test snapshots can drop ANSI escapes if needed.
|
|
7
|
+
*/
|
|
8
|
+
import { type ContractIndex, type IndexEntry } from "./contract-index.js";
|
|
9
|
+
/** Format a "matches" list view (multiple search results). */
|
|
10
|
+
export declare function formatMatches(query: string, matches: IndexEntry[]): string;
|
|
11
|
+
/** Detailed event view: schema, producers, consumers, deprecation. */
|
|
12
|
+
export declare function formatEvent(idx: ContractIndex, entry: IndexEntry): string;
|
|
13
|
+
export declare function formatAction(idx: ContractIndex, entry: IndexEntry): string;
|
|
14
|
+
export declare function formatState(idx: ContractIndex, entry: IndexEntry): string;
|
|
15
|
+
export declare function formatSlice(idx: ContractIndex, entry: IndexEntry): string;
|
|
16
|
+
export declare function formatProjection(idx: ContractIndex, entry: IndexEntry): string;
|
|
17
|
+
export declare function formatReaction(idx: ContractIndex, entry: IndexEntry): string;
|
|
18
|
+
export declare const formatters: Record<string, (idx: ContractIndex, entry: IndexEntry) => string>;
|
|
19
|
+
export declare function formatDetail(idx: ContractIndex, entry: IndexEntry): string;
|
|
20
|
+
/** Header summary printed once at CLI startup. */
|
|
21
|
+
export declare function formatSummary(idx: ContractIndex): string;
|
|
22
|
+
//# sourceMappingURL=format.d.ts.map
|
|
@@ -0,0 +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,aAAa,CAAC,KAAK,EAAE,MAAM,EAAE,OAAO,EAAE,UAAU,EAAE,GAAG,MAAM,CAY1E;AAmFD,sEAAsE;AACtE,wBAAgB,WAAW,CAAC,GAAG,EAAE,aAAa,EAAE,KAAK,EAAE,UAAU,GAAG,MAAM,CA+DzE;AAED,wBAAgB,YAAY,CAAC,GAAG,EAAE,aAAa,EAAE,KAAK,EAAE,UAAU,GAAG,MAAM,CAkC1E;AAED,wBAAgB,WAAW,CAAC,GAAG,EAAE,aAAa,EAAE,KAAK,EAAE,UAAU,GAAG,MAAM,CAqBzE;AAED,wBAAgB,WAAW,CAAC,GAAG,EAAE,aAAa,EAAE,KAAK,EAAE,UAAU,GAAG,MAAM,CA4BzE;AAED,wBAAgB,gBAAgB,CAC9B,GAAG,EAAE,aAAa,EAClB,KAAK,EAAE,UAAU,GAChB,MAAM,CAWR;AAED,wBAAgB,cAAc,CAAC,GAAG,EAAE,aAAa,EAAE,KAAK,EAAE,UAAU,GAAG,MAAM,CAwC5E;AAED,eAAO,MAAM,UAAU,EAAE,MAAM,CAC7B,MAAM,EACN,CAAC,GAAG,EAAE,aAAa,EAAE,KAAK,EAAE,UAAU,KAAK,MAAM,CAQlD,CAAC;AAEF,wBAAgB,YAAY,CAAC,GAAG,EAAE,aAAa,EAAE,KAAK,EAAE,UAAU,GAAG,MAAM,CAG1E;AAED,kDAAkD;AAClD,wBAAgB,aAAa,CAAC,GAAG,EAAE,aAAa,GAAG,MAAM,CAaxD"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
import { buildContractIndex } from "./contract-index.js";
|
|
3
|
+
export type CliArgs = {
|
|
4
|
+
cwd?: string;
|
|
5
|
+
help: boolean;
|
|
6
|
+
version: boolean;
|
|
7
|
+
maxFiles?: number;
|
|
8
|
+
/** Non-interactive: print detail for the named entity and exit. */
|
|
9
|
+
query?: string;
|
|
10
|
+
/** Non-interactive: print the full registry as Markdown and exit. */
|
|
11
|
+
markdown?: boolean;
|
|
12
|
+
/** Non-interactive: print the full registry as JSON Schema and exit. */
|
|
13
|
+
jsonSchema?: boolean;
|
|
14
|
+
};
|
|
15
|
+
export declare function parseArgs(argv: readonly string[]): CliArgs;
|
|
16
|
+
export type RunDeps = {
|
|
17
|
+
input: NodeJS.ReadableStream;
|
|
18
|
+
output: NodeJS.WritableStream;
|
|
19
|
+
errorOutput: NodeJS.WritableStream;
|
|
20
|
+
isTTY: boolean;
|
|
21
|
+
argv: readonly string[];
|
|
22
|
+
versionString: string;
|
|
23
|
+
defaultDir?: string;
|
|
24
|
+
/**
|
|
25
|
+
* Override for the interactive flow. Defaults to `runInteractive`.
|
|
26
|
+
* Exposed so tests can drive the non-`-q` code path without hanging
|
|
27
|
+
* on real clack prompts.
|
|
28
|
+
*/
|
|
29
|
+
runInteractive?: (idx: ReturnType<typeof buildContractIndex>, rootDir: string) => Promise<void>;
|
|
30
|
+
};
|
|
31
|
+
export declare function main(deps: RunDeps): Promise<number>;
|
|
32
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/cli/index.ts"],"names":[],"mappings":";AAcA,OAAO,EAAE,kBAAkB,EAAU,MAAM,qBAAqB,CAAC;AAOjE,MAAM,MAAM,OAAO,GAAG;IACpB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,OAAO,CAAC;IACd,OAAO,EAAE,OAAO,CAAC;IACjB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,mEAAmE;IACnE,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,qEAAqE;IACrE,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,wEAAwE;IACxE,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB,CAAC;AAEF,wBAAgB,SAAS,CAAC,IAAI,EAAE,SAAS,MAAM,EAAE,GAAG,OAAO,CAuB1D;AAqBD,MAAM,MAAM,OAAO,GAAG;IACpB,KAAK,EAAE,MAAM,CAAC,cAAc,CAAC;IAC7B,MAAM,EAAE,MAAM,CAAC,cAAc,CAAC;IAC9B,WAAW,EAAE,MAAM,CAAC,cAAc,CAAC;IACnC,KAAK,EAAE,OAAO,CAAC;IACf,IAAI,EAAE,SAAS,MAAM,EAAE,CAAC;IACxB,aAAa,EAAE,MAAM,CAAC;IACtB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;;;OAIG;IACH,cAAc,CAAC,EAAE,CACf,GAAG,EAAE,UAAU,CAAC,OAAO,kBAAkB,CAAC,EAC1C,OAAO,EAAE,MAAM,KACZ,OAAO,CAAC,IAAI,CAAC,CAAC;CACpB,CAAC;AAEF,wBAAsB,IAAI,CAAC,IAAI,EAAE,OAAO,GAAG,OAAO,CAAC,MAAM,CAAC,CA0FzD"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { type ContractIndex } from "./contract-index.js";
|
|
2
|
+
/**
|
|
3
|
+
* Best-effort Zod → JSON Schema conversion. Returns either a schema or
|
|
4
|
+
* an error string; never throws.
|
|
5
|
+
*/
|
|
6
|
+
export declare function toJsonSchemaSafe(zod: unknown): {
|
|
7
|
+
schema: unknown;
|
|
8
|
+
error?: undefined;
|
|
9
|
+
} | {
|
|
10
|
+
error: string;
|
|
11
|
+
};
|
|
12
|
+
export declare function formatJsonSchema(idx: ContractIndex): string;
|
|
13
|
+
//# sourceMappingURL=json-schema.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"json-schema.d.ts","sourceRoot":"","sources":["../../../src/cli/json-schema.ts"],"names":[],"mappings":"AAiBA,OAAO,EAAE,KAAK,aAAa,EAAe,MAAM,qBAAqB,CAAC;AAkGtE;;;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,gBAAgB,CAAC,GAAG,EAAE,aAAa,GAAG,MAAM,CAqC3D"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { FileTab } from "../client/types/file-tab.js";
|
|
2
|
+
export type LoadOptions = {
|
|
3
|
+
/** Maximum number of files to read. Default 5000 — protects against runaway scans. */
|
|
4
|
+
maxFiles?: number;
|
|
5
|
+
};
|
|
6
|
+
export type LoadResult = {
|
|
7
|
+
files: FileTab[];
|
|
8
|
+
truncated: boolean;
|
|
9
|
+
};
|
|
10
|
+
/**
|
|
11
|
+
* Walk `rootDir` and return every `.ts` file that survives the skip rules.
|
|
12
|
+
* Returned `FileTab.path` values are project-relative (POSIX separators).
|
|
13
|
+
*/
|
|
14
|
+
export declare function loadProject(rootDir: string, opts?: LoadOptions): Promise<LoadResult>;
|
|
15
|
+
//# sourceMappingURL=load-project.d.ts.map
|
|
@@ -0,0 +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,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB,CAAC;AAEF,MAAM,MAAM,UAAU,GAAG;IACvB,KAAK,EAAE,OAAO,EAAE,CAAC;IACjB,SAAS,EAAE,OAAO,CAAC;CACpB,CAAC;AAEF;;;GAGG;AACH,wBAAsB,WAAW,CAC/B,OAAO,EAAE,MAAM,EACf,IAAI,GAAE,WAAgB,GACrB,OAAO,CAAC,UAAU,CAAC,CAiDrB"}
|
|
@@ -0,0 +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,cAAc,CAAC,GAAG,EAAE,aAAa,GAAG,MAAM,CAuNzD"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
export type EditorDeps = {
|
|
2
|
+
/** Project root the file path is relative to. */
|
|
3
|
+
rootDir: string;
|
|
4
|
+
/** Override the editor command (mainly for tests). */
|
|
5
|
+
editor?: string;
|
|
6
|
+
/** Override stdio (mainly for tests). */
|
|
7
|
+
stdio?: "inherit" | "ignore";
|
|
8
|
+
};
|
|
9
|
+
/** Resolve which editor to invoke. Exposed for testing. */
|
|
10
|
+
export declare function pickEditor(env: NodeJS.ProcessEnv, override?: string): string;
|
|
11
|
+
/**
|
|
12
|
+
* Build the argv passed to the editor. Public for testing.
|
|
13
|
+
*
|
|
14
|
+
* vim/nvim/nano/emacs → `+<line> <file>`
|
|
15
|
+
* code/cursor → `--goto <file>:<line>`
|
|
16
|
+
*/
|
|
17
|
+
export declare function editorArgs(editor: string, file: string, line?: number): string[];
|
|
18
|
+
/** Open `file` (project-relative) at `line` in the user's editor. */
|
|
19
|
+
export declare function openInEditor(file: string, line: number | undefined, deps: EditorDeps): Promise<{
|
|
20
|
+
ok: boolean;
|
|
21
|
+
reason?: string;
|
|
22
|
+
}>;
|
|
23
|
+
//# sourceMappingURL=open-editor.d.ts.map
|
|
@@ -0,0 +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,OAAO,EAAE,MAAM,CAAC;IAChB,sDAAsD;IACtD,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,yCAAyC;IACzC,KAAK,CAAC,EAAE,SAAS,GAAG,QAAQ,CAAC;CAC9B,CAAC;AAMF,2DAA2D;AAC3D,wBAAgB,UAAU,CAAC,GAAG,EAAE,MAAM,CAAC,UAAU,EAAE,QAAQ,CAAC,EAAE,MAAM,GAAG,MAAM,CAG5E;AAED;;;;;GAKG;AACH,wBAAgB,UAAU,CACxB,MAAM,EAAE,MAAM,EACd,IAAI,EAAE,MAAM,EACZ,IAAI,CAAC,EAAE,MAAM,GACZ,MAAM,EAAE,CAIV;AAED,qEAAqE;AACrE,wBAAsB,YAAY,CAChC,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"}
|
|
@@ -0,0 +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,cAAc,CAClC,GAAG,EAAE,aAAa,EAClB,OAAO,EAAE,MAAM,GACd,OAAO,CAAC,IAAI,CAAC,CAef"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Patch a tty input stream so vim users can drive @clack/prompts.
|
|
3
|
+
*
|
|
4
|
+
* j → cursor down (\x1b[B)
|
|
5
|
+
* k → cursor up (\x1b[A)
|
|
6
|
+
* q → ESC (clack treats ESC as cancel, which doubles as "back")
|
|
7
|
+
* / → fires the registered "slash" callback AND emits ESC so
|
|
8
|
+
* the currently-active prompt cancels; the loop checks the
|
|
9
|
+
* callback's pending flag to decide whether to jump to
|
|
10
|
+
* search instead of going one level up.
|
|
11
|
+
*
|
|
12
|
+
* Arrow keys and every other byte pass through unchanged. `pause()`
|
|
13
|
+
* disables translation entirely — used during text-input prompts so
|
|
14
|
+
* `j`, `k`, `/`, etc. are typed literally.
|
|
15
|
+
*/
|
|
16
|
+
type Direction = "down" | "up" | "cancel" | "slash" | null;
|
|
17
|
+
/** Classify a chunk into one of our handled directions, or null. */
|
|
18
|
+
export declare function classify(chunk: Buffer): Direction;
|
|
19
|
+
type StreamLike = {
|
|
20
|
+
emit: (event: string, ...args: unknown[]) => boolean;
|
|
21
|
+
};
|
|
22
|
+
export type VimKeysHandle = {
|
|
23
|
+
/** Remove the patch entirely. Idempotent. */
|
|
24
|
+
restore: () => void;
|
|
25
|
+
/** Temporarily stop translating bytes (e.g. during a text-input prompt). */
|
|
26
|
+
pause: () => void;
|
|
27
|
+
/** Resume translating bytes after a `pause()`. */
|
|
28
|
+
resume: () => void;
|
|
29
|
+
/** Register a callback fired when `/` is pressed. Returns an unsubscribe fn. */
|
|
30
|
+
onSlash: (cb: () => void) => () => void;
|
|
31
|
+
};
|
|
32
|
+
export declare function enableVimKeys(stdin: StreamLike): VimKeysHandle;
|
|
33
|
+
export {};
|
|
34
|
+
//# sourceMappingURL=vim-keys.d.ts.map
|
|
@@ -0,0 +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,OAAO,EAAE,CAAC,EAAE,EAAE,MAAM,IAAI,KAAK,MAAM,IAAI,CAAC;CACzC,CAAC;AAEF,wBAAgB,aAAa,CAAC,KAAK,EAAE,UAAU,GAAG,aAAa,CAyC9D"}
|
|
@@ -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,2CAoxBP"}
|
|
@@ -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;
|
|
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,UAAU,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;CACjC,CAAC;AAIF,wBAAgB,UAAU,CACxB,MAAM,EAAE,aAAa,EACrB,KAAK,EAAE,OAAO,EAAE,EAChB,cAAc,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,GAClC;IAAE,KAAK,EAAE,WAAW,CAAC;IAAC,KAAK,CAAC,EAAE,MAAM,CAAA;CAAE,CA8SxC"}
|
|
@@ -47,6 +47,12 @@ export type N = {
|
|
|
47
47
|
projections?: string[];
|
|
48
48
|
guards?: string[];
|
|
49
49
|
reactions?: string[];
|
|
50
|
+
/** Best-effort Zod source text for event nodes (see EventNode.schema). */
|
|
51
|
+
schema?: string;
|
|
52
|
+
/** Events this action emits — shown in action-node tooltips. */
|
|
53
|
+
emits?: string[];
|
|
54
|
+
/** Events this projection handles — shown in projection-node tooltips. */
|
|
55
|
+
handles?: string[];
|
|
50
56
|
};
|
|
51
57
|
export type E = {
|
|
52
58
|
from: Pos;
|
|
@@ -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;
|
|
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,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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,aAAa,CAAC,SAAS,EAAE,WAAW,GAAG,MAAM,CA4kB5D"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Best-effort capture of Zod schema source text for each event declared
|
|
3
|
+
* in `.emits({ ... })` blocks. The extractor walks the original source
|
|
4
|
+
* (not the transpiled JS), tracks strings/comments/templates, and slices
|
|
5
|
+
* out each value expression by balanced-bracket matching.
|
|
6
|
+
*
|
|
7
|
+
* Returned text is whatever the user wrote — `z.object({...})`,
|
|
8
|
+
* `z.string()`, `OrderPlacedSchema`, even a multi-line expression. The
|
|
9
|
+
* intent is fidelity to author intent rather than canonical form.
|
|
10
|
+
*/
|
|
11
|
+
/**
|
|
12
|
+
* Build a map of every top-level identifier assignment in `src`.
|
|
13
|
+
*
|
|
14
|
+
* const Foo = z.object({...}); → Foo → "z.object({...})"
|
|
15
|
+
* export const Bar: T = someExpr; → Bar → "someExpr"
|
|
16
|
+
* let Baz = "literal"; → Baz → "\"literal\""
|
|
17
|
+
*
|
|
18
|
+
* Used so cross-file shorthand `.emits({ TicketOpened })` can resolve
|
|
19
|
+
* to the actual Zod expression defined in another module.
|
|
20
|
+
*/
|
|
21
|
+
export declare function extractIdentifierAssignments(src: string): Map<string, string>;
|
|
22
|
+
/**
|
|
23
|
+
* Find every `.emits( ... )` call in `src` and extract the Zod source
|
|
24
|
+
* text for any event name in `eventNames`. Resolves three indirection
|
|
25
|
+
* patterns:
|
|
26
|
+
*
|
|
27
|
+
* .emits({ Foo: z.object(...) }) → direct value capture
|
|
28
|
+
* .emits({ Foo }) → shorthand → chase `Foo` to its
|
|
29
|
+
* definition, locally or via
|
|
30
|
+
* `external` (cross-file)
|
|
31
|
+
* .emits(EventsObj) → chase the identifier to its
|
|
32
|
+
* `const EventsObj = { ... }`
|
|
33
|
+
*
|
|
34
|
+
* Returns a map keyed by event name; missing events stay absent.
|
|
35
|
+
*/
|
|
36
|
+
export declare function extractSchemasFromSource(src: string, eventNames: Set<string>, external?: Map<string, string>): Map<string, string>;
|
|
37
|
+
//# sourceMappingURL=schema-extract.d.ts.map
|
|
@@ -0,0 +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,4BAA4B,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAyB7E;AA+BD;;;;;;;;;;;;;GAaG;AACH,wBAAgB,wBAAwB,CACtC,GAAG,EAAE,MAAM,EACX,UAAU,EAAE,GAAG,CAAC,MAAM,CAAC,EACvB,QAAQ,CAAC,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,GAC7B,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAkCrB"}
|
|
@@ -32,6 +32,19 @@ export type EventNode = {
|
|
|
32
32
|
name: string;
|
|
33
33
|
hasCustomPatch: boolean;
|
|
34
34
|
line?: number;
|
|
35
|
+
/**
|
|
36
|
+
* Best-effort source text of the Zod schema expression as written in
|
|
37
|
+
* `.emits({ EventName: <expr> })`. Captured by re-scanning the source
|
|
38
|
+
* file after evaluation. Absent when the event was found but no source
|
|
39
|
+
* match could be made (synthetic events, unparseable blocks).
|
|
40
|
+
*/
|
|
41
|
+
schema?: string;
|
|
42
|
+
/**
|
|
43
|
+
* Runtime Zod schema object captured during evaluation. Only present
|
|
44
|
+
* after parsing — never serialized. The act-contracts CLI uses this
|
|
45
|
+
* to emit JSON Schema via `z.toJSONSchema()`.
|
|
46
|
+
*/
|
|
47
|
+
zod?: unknown;
|
|
35
48
|
};
|
|
36
49
|
export type ActionNode = {
|
|
37
50
|
name: string;
|
|
@@ -53,12 +66,14 @@ export type ProjectionNode = {
|
|
|
53
66
|
name: string;
|
|
54
67
|
varName: string;
|
|
55
68
|
handles: string[];
|
|
69
|
+
file?: string;
|
|
56
70
|
line?: number;
|
|
57
71
|
};
|
|
58
72
|
export type ReactionNode = {
|
|
59
73
|
event: string;
|
|
60
74
|
handlerName: string;
|
|
61
75
|
dispatches: string[];
|
|
76
|
+
file?: string;
|
|
62
77
|
line?: number;
|
|
63
78
|
};
|
|
64
79
|
export type ValidationWarning = {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"domain-model.d.ts","sourceRoot":"","sources":["../../../../src/client/types/domain-model.ts"],"names":[],"mappings":"AAAA,mDAAmD;AAEnD,MAAM,MAAM,OAAO,GAAG;IACpB,MAAM,EAAE,MAAM,EAAE,CAAC;IACjB,WAAW,EAAE,MAAM,EAAE,CAAC;IACtB,MAAM,EAAE,MAAM,EAAE,CAAC;IACjB,IAAI,CAAC,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,MAAM,MAAM,UAAU,GAAG;IACvB,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,SAAS,EAAE,CAAC;IACpB,MAAM,EAAE,SAAS,EAAE,CAAC;IACpB,WAAW,EAAE,cAAc,EAAE,CAAC;IAC9B,SAAS,EAAE,YAAY,EAAE,CAAC;CAC3B,CAAC;AAEF,MAAM,MAAM,WAAW,GAAG;IACxB,OAAO,EAAE,UAAU,EAAE,CAAC;IAEtB,MAAM,EAAE,SAAS,EAAE,CAAC;IACpB,MAAM,EAAE,SAAS,EAAE,CAAC;IACpB,WAAW,EAAE,cAAc,EAAE,CAAC;IAC9B,SAAS,EAAE,YAAY,EAAE,CAAC;IAC1B,YAAY,CAAC,EAAE,OAAO,CAAC;CACxB,CAAC;AAEF,MAAM,MAAM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