@corenel/term 0.2.8 → 0.3.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.
@@ -4,12 +4,23 @@ export interface TermCommand {
4
4
  summary: string;
5
5
  }
6
6
  export declare const TERM_COMMANDS: TermCommand[];
7
+ /** `/help`'s text rendering -- the readline face's answer to `/help`, shared
8
+ * the way mcpText.ts's `formatMcpServers` is. Derived from `TERM_COMMANDS`
9
+ * rather than a hand-written constant, so it cannot fall behind the commands
10
+ * it documents: an earlier hand-written version of this text was still
11
+ * missing `/model` a whole branch after `/model` was added (see
12
+ * ink/HelpOverlay.tsx, the Ink face's overlay over this same table). The
13
+ * preamble and the Ctrl-C/Ctrl-D/esc line aren't derivable from the table, so
14
+ * they're carried here as the only hand-written parts left. */
15
+ export declare function formatHelpText(): string;
7
16
  export type ParsedCommand = {
8
17
  cmd: 'help';
9
18
  } | {
10
19
  cmd: 'tools';
11
20
  } | {
12
21
  cmd: 'policy';
22
+ } | {
23
+ cmd: 'context';
13
24
  } | {
14
25
  cmd: 'expand';
15
26
  ord?: number;
@@ -20,6 +31,9 @@ export type ParsedCommand = {
20
31
  cmd: 'clear';
21
32
  } | {
22
33
  cmd: 'exit';
34
+ } | {
35
+ cmd: 'model';
36
+ id?: string;
23
37
  } | {
24
38
  cmd: 'mode';
25
39
  id?: string;
@@ -32,7 +46,32 @@ export type ParsedCommand = {
32
46
  } | {
33
47
  cmd: 'strategy';
34
48
  id?: string;
49
+ } | {
50
+ cmd: 'mcp';
51
+ sub?: 'list' | 'add' | 'remove' | 'login' | 'refresh' | 'forget';
52
+ args?: string[];
53
+ unknown?: string;
35
54
  };
55
+ /** Every top-level word `parseCommand` actually dispatches -- the table names
56
+ * plus their aliases. Used by `TermSession.submit` (session.ts) to tell "a
57
+ * genuinely unknown slash word" apart from a known command whose ARGUMENT
58
+ * parsing simply failed (there is no such case today, but the check is by
59
+ * word, not by whether `parseCommand` returned non-null, so it can never
60
+ * drift from what the switch above actually handles). */
61
+ export declare function isKnownCommandWord(word: string): boolean;
62
+ /** The closest known command to a mistyped word, or null when nothing is
63
+ * genuinely close -- a confident wrong guess ("did you mean /exit?" for
64
+ * "/usr/bin/env") is worse than no guess at all, so this only returns a name
65
+ * within edit distance 2 AND strictly less than the longer of the two words'
66
+ * lengths (rules out a short typo "matching" a long, unrelated command
67
+ * mostly by both being short). Kept beside `TERM_COMMANDS` so a new command
68
+ * added there is automatically a candidate, never a second hand-maintained
69
+ * list. */
70
+ export declare function suggestCommand(word: string): string | null;
71
+ /** `/help`'s answer to a mistyped command -- shared so the warn note (Ink and
72
+ * readline alike, see session.ts's `submit`) and any future rendering of it
73
+ * say the same thing. */
74
+ export declare function unknownCommandMessage(word: string): string;
36
75
  export declare function parseCommand(line: string): ParsedCommand | null;
37
76
  /** Commands whose name starts with what has been typed after the slash. */
38
77
  export declare function filterCommands(input: string): TermCommand[];
@@ -1 +1 @@
1
- {"version":3,"file":"commands.d.ts","sourceRoot":"","sources":["../src/commands.ts"],"names":[],"mappings":"AAOA,MAAM,WAAW,WAAW;IAC1B,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,eAAO,MAAM,aAAa,EAAE,WAAW,EAetC,CAAC;AAEF,MAAM,MAAM,aAAa,GACrB;IAAE,GAAG,EAAE,MAAM,CAAA;CAAE,GACf;IAAE,GAAG,EAAE,OAAO,CAAA;CAAE,GAChB;IAAE,GAAG,EAAE,QAAQ,CAAA;CAAE,GACjB;IAAE,GAAG,EAAE,QAAQ,CAAC;IAAC,GAAG,CAAC,EAAE,MAAM,CAAA;CAAE,GAC/B;IAAE,GAAG,EAAE,QAAQ,CAAC;IAAC,EAAE,CAAC,EAAE,MAAM,CAAA;CAAE,GAC9B;IAAE,GAAG,EAAE,OAAO,CAAA;CAAE,GAChB;IAAE,GAAG,EAAE,MAAM,CAAA;CAAE,GACf;IAAE,GAAG,EAAE,MAAM,CAAC;IAAC,EAAE,CAAC,EAAE,MAAM,CAAA;CAAE,GAC5B;IAAE,GAAG,EAAE,SAAS,CAAC;IAAC,EAAE,CAAC,EAAE,MAAM,CAAA;CAAE,GAC/B;IAAE,GAAG,EAAE,OAAO,CAAC;IAAC,EAAE,CAAC,EAAE,MAAM,CAAA;CAAE,GAC7B;IAAE,GAAG,EAAE,UAAU,CAAC;IAAC,EAAE,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC;AAQrC,wBAAgB,YAAY,CAAC,IAAI,EAAE,MAAM,GAAG,aAAa,GAAG,IAAI,CAuB/D;AAED,2EAA2E;AAC3E,wBAAgB,cAAc,CAAC,KAAK,EAAE,MAAM,GAAG,WAAW,EAAE,CAK3D"}
1
+ {"version":3,"file":"commands.d.ts","sourceRoot":"","sources":["../src/commands.ts"],"names":[],"mappings":"AAOA,MAAM,WAAW,WAAW;IAC1B,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,eAAO,MAAM,aAAa,EAAE,WAAW,EAkBtC,CAAC;AAEF;;;;;;;+DAO+D;AAC/D,wBAAgB,cAAc,IAAI,MAAM,CAiBvC;AAED,MAAM,MAAM,aAAa,GACrB;IAAE,GAAG,EAAE,MAAM,CAAA;CAAE,GACf;IAAE,GAAG,EAAE,OAAO,CAAA;CAAE,GAChB;IAAE,GAAG,EAAE,QAAQ,CAAA;CAAE,GACjB;IAAE,GAAG,EAAE,SAAS,CAAA;CAAE,GAClB;IAAE,GAAG,EAAE,QAAQ,CAAC;IAAC,GAAG,CAAC,EAAE,MAAM,CAAA;CAAE,GAC/B;IAAE,GAAG,EAAE,QAAQ,CAAC;IAAC,EAAE,CAAC,EAAE,MAAM,CAAA;CAAE,GAC9B;IAAE,GAAG,EAAE,OAAO,CAAA;CAAE,GAChB;IAAE,GAAG,EAAE,MAAM,CAAA;CAAE,GACf;IAAE,GAAG,EAAE,OAAO,CAAC;IAAC,EAAE,CAAC,EAAE,MAAM,CAAA;CAAE,GAC7B;IAAE,GAAG,EAAE,MAAM,CAAC;IAAC,EAAE,CAAC,EAAE,MAAM,CAAA;CAAE,GAC5B;IAAE,GAAG,EAAE,SAAS,CAAC;IAAC,EAAE,CAAC,EAAE,MAAM,CAAA;CAAE,GAC/B;IAAE,GAAG,EAAE,OAAO,CAAC;IAAC,EAAE,CAAC,EAAE,MAAM,CAAA;CAAE,GAC7B;IAAE,GAAG,EAAE,UAAU,CAAC;IAAC,EAAE,CAAC,EAAE,MAAM,CAAA;CAAE,GAChC;IAAE,GAAG,EAAE,KAAK,CAAC;IAAC,GAAG,CAAC,EAAE,MAAM,GAAG,KAAK,GAAG,QAAQ,GAAG,OAAO,GAAG,SAAS,GAAG,QAAQ,CAAC;IAAC,IAAI,CAAC,EAAE,MAAM,EAAE,CAAC;IAAC,OAAO,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC;AAQxH;;;;;yDAKyD;AACzD,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAGxD;AAkBD;;;;;;;WAOW;AACX,wBAAgB,cAAc,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAU1D;AAED;;yBAEyB;AACzB,wBAAgB,qBAAqB,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAG1D;AAED,wBAAgB,YAAY,CAAC,IAAI,EAAE,MAAM,GAAG,aAAa,GAAG,IAAI,CAwC/D;AAED,2EAA2E;AAC3E,wBAAgB,cAAc,CAAC,KAAK,EAAE,MAAM,GAAG,WAAW,EAAE,CAK3D"}
package/dist/commands.js CHANGED
@@ -1,10 +1,18 @@
1
1
  import {
2
2
  TERM_COMMANDS,
3
3
  filterCommands,
4
- parseCommand
5
- } from "./chunk-VTJEWHM3.js";
4
+ formatHelpText,
5
+ isKnownCommandWord,
6
+ parseCommand,
7
+ suggestCommand,
8
+ unknownCommandMessage
9
+ } from "./chunk-5RPHYXND.js";
6
10
  export {
7
11
  TERM_COMMANDS,
8
12
  filterCommands,
9
- parseCommand
13
+ formatHelpText,
14
+ isKnownCommandWord,
15
+ parseCommand,
16
+ suggestCommand,
17
+ unknownCommandMessage
10
18
  };
@@ -0,0 +1,37 @@
1
+ export interface ContextOffload {
2
+ id: string;
3
+ name: string;
4
+ bytes: number;
5
+ }
6
+ export interface ContextCheckpoint {
7
+ collapsed: number;
8
+ checkpoint: string;
9
+ }
10
+ export interface ContextSnapshot {
11
+ /** What was actually sent on the LAST model call -- not an accumulated
12
+ * total across the conversation (see TuiState.usage for that). `null`
13
+ * before any model call has completed this conversation. */
14
+ sentTokens: number | null;
15
+ /** The model's context window, or `null` when nothing prices/sizes it for
16
+ * this model -- see TermSessionDeps.contextWindow's field doc. HONESTY
17
+ * RULE: `null` here means the fill fraction/percentage is not shown at
18
+ * all, never a percentage computed against a guess. */
19
+ contextWindow: number | null;
20
+ /** Tool results offloaded to save context, oldest first -- recallable with
21
+ * `/expand`. */
22
+ offloaded: ContextOffload[];
23
+ /** Compaction seams -- history collapsed into a checkpoint -- oldest first. */
24
+ checkpoints: ContextCheckpoint[];
25
+ /** The static tool set size (`deps.tools.length`) -- context too, and
26
+ * distinct from `loadedToolNames`, which is the MCP set that can grow or
27
+ * shrink mid-conversation. */
28
+ toolCount: number;
29
+ /** The MCP tool set's current names, as of the last `tools-loaded` event --
30
+ * empty when no MCP tools have been loaded (or none are configured). */
31
+ loadedToolNames: string[];
32
+ }
33
+ /** A read-only window over what TermSession has accumulated -- no control
34
+ * over what is included (per-turn attribution and inclusion controls are
35
+ * OUT OF SCOPE, see docs/BACKLOG.md section 5). */
36
+ export declare function formatContext(s: ContextSnapshot): string;
37
+ //# sourceMappingURL=contextText.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"contextText.d.ts","sourceRoot":"","sources":["../src/contextText.ts"],"names":[],"mappings":"AAUA,MAAM,WAAW,cAAc;IAC7B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,iBAAiB;IAChC,SAAS,EAAE,MAAM,CAAC;IAClB,UAAU,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,WAAW,eAAe;IAC9B;;gEAE4D;IAC5D,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B;;;2DAGuD;IACvD,aAAa,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B;oBACgB;IAChB,SAAS,EAAE,cAAc,EAAE,CAAC;IAC5B,+EAA+E;IAC/E,WAAW,EAAE,iBAAiB,EAAE,CAAC;IACjC;;kCAE8B;IAC9B,SAAS,EAAE,MAAM,CAAC;IAClB;4EACwE;IACxE,eAAe,EAAE,MAAM,EAAE,CAAC;CAC3B;AAMD;;mDAEmD;AACnD,wBAAgB,aAAa,CAAC,CAAC,EAAE,eAAe,GAAG,MAAM,CAmCxD"}
package/dist/ink/App.d.ts CHANGED
@@ -2,6 +2,11 @@ import React from 'react';
2
2
  import type { TuiState } from '../state';
3
3
  export interface AppProps {
4
4
  state: TuiState;
5
+ /** The model at LAUNCH -- seeds `TuiState.model` (see session.ts's
6
+ * constructor) but is not itself read by the status row any more: `/model`
7
+ * mutates state, not this prop, so a stale prop must never be the thing
8
+ * rendered. Kept on the type for callers (index.tsx still hands it
9
+ * through), same rule as `version` below. */
5
10
  model: string;
6
11
  cwd: string;
7
12
  /** A launch fact (`--version` reports it), not steady-state metadata -- kept
@@ -9,6 +14,15 @@ export interface AppProps {
9
14
  * itself. */
10
15
  version: string;
11
16
  toolCount: number;
17
+ /** The model's context window in tokens, or null when nothing sizes it --
18
+ * for `/context`'s fill fraction (see @corenel/term's
19
+ * TermSessionDeps.contextWindow field doc). Read once per render, the same
20
+ * way `toolCount` above is: whatever the host's getter returns THIS
21
+ * render, never cached across renders here. Optional so a test rendering
22
+ * <App> directly with hand-built props (none of which open `/context`)
23
+ * doesn't have to invent one -- defaults to null, same as an absent
24
+ * `deps.contextWindow` getter would produce. */
25
+ contextWindow?: number | null;
12
26
  approveAll: boolean;
13
27
  value: string;
14
28
  onChange: (v: string) => void;
@@ -1 +1 @@
1
- {"version":3,"file":"App.d.ts","sourceRoot":"","sources":["../../src/ink/App.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAInD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAC;AAoCzC,MAAM,WAAW,QAAQ;IACvB,KAAK,EAAE,QAAQ,CAAC;IAChB,KAAK,EAAE,MAAM,CAAC;IACd,GAAG,EAAE,MAAM,CAAC;IACZ;;iBAEa;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,EAAE,MAAM,CAAC;IAClB,UAAU,EAAE,OAAO,CAAC;IACpB,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,CAAC,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;IAC9B,QAAQ,EAAE,CAAC,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;IAC9B,QAAQ,EAAE,CAAC,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;IAC9B;;;;;oDAKgD;IAChD,KAAK,EAAE,OAAO,CAAC;IACf;uDACmD;IACnD,eAAe,EAAE,MAAM,CAAC;IACxB;;;;;;;;;;2EAUuE;IACvE,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,4EAA4E;AAC5E,wBAAgB,GAAG,CAAC,KAAK,EAAE,QAAQ,GAAG,KAAK,CAAC,YAAY,CAmGvD"}
1
+ {"version":3,"file":"App.d.ts","sourceRoot":"","sources":["../../src/ink/App.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAInD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAC;AAuCzC,MAAM,WAAW,QAAQ;IACvB,KAAK,EAAE,QAAQ,CAAC;IAChB;;;;iDAI6C;IAC7C,KAAK,EAAE,MAAM,CAAC;IACd,GAAG,EAAE,MAAM,CAAC;IACZ;;iBAEa;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,EAAE,MAAM,CAAC;IAClB;;;;;;;oDAOgD;IAChD,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B,UAAU,EAAE,OAAO,CAAC;IACpB,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,CAAC,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;IAC9B,QAAQ,EAAE,CAAC,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;IAC9B,QAAQ,EAAE,CAAC,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;IAC9B;;;;;oDAKgD;IAChD,KAAK,EAAE,OAAO,CAAC;IACf;uDACmD;IACnD,eAAe,EAAE,MAAM,CAAC;IACxB;;;;;;;;;;2EAUuE;IACvE,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,4EAA4E;AAC5E,wBAAgB,GAAG,CAAC,KAAK,EAAE,QAAQ,GAAG,KAAK,CAAC,YAAY,CAsHvD"}
@@ -0,0 +1,18 @@
1
+ import React from 'react';
2
+ import type { TuiState } from '../state';
3
+ import { type ContextSnapshot } from '../contextText';
4
+ /** `/context`, as an Ink overlay -- pure presentation over `TermSession`'s
5
+ * own `contextSnapshot`/`formatContext` (see contextText.ts's module doc),
6
+ * not a second copy of it. It holds no state of its own: `snapshot` is
7
+ * recomputed by the caller (App.tsx) on every render from live `TuiState`,
8
+ * so a turn that lands while this is open updates the numbers on the very
9
+ * next frame with no re-fetch and no re-open -- unlike the `/mcp` manager,
10
+ * there is nothing here that needs fetching in the first place. */
11
+ export declare function ContextOverlay({ snapshot }: {
12
+ snapshot: ContextSnapshot;
13
+ }): React.ReactElement;
14
+ /** Build the overlay's data straight off live `TuiState` and the two
15
+ * host-supplied static facts -- exported so App.tsx can assemble it without
16
+ * duplicating this shape, and so a test can pin it without a session. */
17
+ export declare function contextSnapshotFromState(state: TuiState, contextWindow: number | null, toolCount: number): ContextSnapshot;
18
+ //# sourceMappingURL=ContextOverlay.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ContextOverlay.d.ts","sourceRoot":"","sources":["../../src/ink/ContextOverlay.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAC;AACzC,OAAO,EAAiB,KAAK,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAGrE;;;;;;mEAMmE;AACnE,wBAAgB,cAAc,CAAC,EAAE,QAAQ,EAAE,EAAE;IAAE,QAAQ,EAAE,eAAe,CAAA;CAAE,GAAG,KAAK,CAAC,YAAY,CAa9F;AAED;;yEAEyE;AACzE,wBAAgB,wBAAwB,CAAC,KAAK,EAAE,QAAQ,EAAE,aAAa,EAAE,MAAM,GAAG,IAAI,EAAE,SAAS,EAAE,MAAM,GAAG,eAAe,CAS1H"}
@@ -0,0 +1,12 @@
1
+ import React from 'react';
2
+ /** `/help`, as an Ink overlay instead of a `note` printed into the transcript
3
+ * -- a note scrolls away from the person who just said they don't know the
4
+ * commands (see commands.ts's `formatHelpText`, which the readline face
5
+ * still prints as text, since it has no overlay to open).
6
+ *
7
+ * Rendered FROM `TERM_COMMANDS` -- the same table `parseCommand` dispatches
8
+ * against, the palette filters, and `formatHelpText` renders as text --
9
+ * rather than from a hand-written constant, so this list cannot fall behind
10
+ * the commands it documents. */
11
+ export declare function HelpOverlay(): React.ReactElement;
12
+ //# sourceMappingURL=HelpOverlay.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"HelpOverlay.d.ts","sourceRoot":"","sources":["../../src/ink/HelpOverlay.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B;;;;;;;;gCAQgC;AAChC,wBAAgB,WAAW,IAAI,KAAK,CAAC,YAAY,CAqBhD"}
@@ -0,0 +1,12 @@
1
+ import React from 'react';
2
+ import type { McpManager } from '../state';
3
+ /** The `/mcp` manager, as an Ink overlay -- pure presentation over
4
+ * `TermSession`'s own `/mcp` dispatch (see mcpText.ts's module comment). It
5
+ * holds no server list, connection state, or login state of its own; every
6
+ * field it renders comes straight off `modal`, which the session owns and
7
+ * refreshes after a mutation, the same way the text `/mcp` commands already
8
+ * do. See ink/index.tsx's `useInput` for what a/x/l/esc/arrows actually run. */
9
+ export declare function McpOverlay({ modal }: {
10
+ modal: McpManager;
11
+ }): React.ReactElement;
12
+ //# sourceMappingURL=McpOverlay.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"McpOverlay.d.ts","sourceRoot":"","sources":["../../src/ink/McpOverlay.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAa3C;;;;;gFAKgF;AAChF,wBAAgB,UAAU,CAAC,EAAE,KAAK,EAAE,EAAE;IAAE,KAAK,EAAE,UAAU,CAAA;CAAE,GAAG,KAAK,CAAC,YAAY,CA+C/E"}
@@ -1,6 +1,11 @@
1
1
  import React from 'react';
2
- import type { Modal } from '../state';
2
+ import type { PermissionAsk, UserAsk } from '../state';
3
+ /** The permission ask and the free-text/choice ask -- the two modals that
4
+ * pause a turn waiting on the user. `McpManager` and `HelpView` are NOT this
5
+ * component's job: App.tsx routes those to their own views (McpOverlay.tsx;
6
+ * a help view, Task 10) before this is ever called, so this stays narrowed
7
+ * to the two `Modal` variants it actually knows how to draw. */
3
8
  export declare function ModalView({ modal }: {
4
- modal: Modal;
9
+ modal: PermissionAsk | UserAsk;
5
10
  }): React.ReactElement;
6
11
  //# sourceMappingURL=Modal.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Modal.d.ts","sourceRoot":"","sources":["../../src/ink/Modal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AAuDtC,wBAAgB,SAAS,CAAC,EAAE,KAAK,EAAE,EAAE;IAAE,KAAK,EAAE,KAAK,CAAA;CAAE,GAAG,KAAK,CAAC,YAAY,CAiCzE"}
1
+ {"version":3,"file":"Modal.d.ts","sourceRoot":"","sources":["../../src/ink/Modal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,KAAK,EAAE,aAAa,EAAE,OAAO,EAAE,MAAM,UAAU,CAAC;AAuDvD;;;;gEAIgE;AAChE,wBAAgB,SAAS,CAAC,EAAE,KAAK,EAAE,EAAE;IAAE,KAAK,EAAE,aAAa,GAAG,OAAO,CAAA;CAAE,GAAG,KAAK,CAAC,YAAY,CAiC3F"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/ink/index.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAsD,MAAM,OAAO,CAAC;AAK3E,OAAO,EAAE,WAAW,EAAE,KAAK,eAAe,EAAE,MAAM,YAAY,CAAC;AAM/D,MAAM,WAAW,OAAQ,SAAQ,eAAe;IAC9C,OAAO,EAAE,MAAM,CAAC;IAChB,qDAAqD;IACrD,MAAM,CAAC,EAAE;QAAE,EAAE,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC;CAS1B;AAED;;wEAEwE;AACxE,wBAAgB,IAAI,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,EAAE;IAAE,OAAO,EAAE,WAAW,CAAC;IAAC,IAAI,EAAE,OAAO,CAAA;CAAE,GAAG,KAAK,CAAC,YAAY,CA8JnG;AAED,wBAAsB,MAAM,CAAC,IAAI,EAAE,OAAO,GAAG,OAAO,CAAC,MAAM,CAAC,CAyD3D"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/ink/index.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAsD,MAAM,OAAO,CAAC;AAK3E,OAAO,EAAE,WAAW,EAAE,KAAK,eAAe,EAAE,MAAM,YAAY,CAAC;AAM/D,MAAM,WAAW,OAAQ,SAAQ,eAAe;IAC9C,OAAO,EAAE,MAAM,CAAC;IAChB,qDAAqD;IACrD,MAAM,CAAC,EAAE;QAAE,EAAE,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC;CAS1B;AAED;;wEAEwE;AACxE,wBAAgB,IAAI,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,EAAE;IAAE,OAAO,EAAE,WAAW,CAAC;IAAC,IAAI,EAAE,OAAO,CAAA;CAAE,GAAG,KAAK,CAAC,YAAY,CAwPnG;AAED,wBAAsB,MAAM,CAAC,IAAI,EAAE,OAAO,GAAG,OAAO,CAAC,MAAM,CAAC,CAyD3D"}