@vincemakes/kiso-tui 0.10.0 → 0.12.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/dist/ask-panel.d.ts +30 -6
- package/dist/ask-panel.js +40 -15
- package/dist/compositor.d.ts +15 -0
- package/dist/compositor.js +135 -19
- package/dist/editor.d.ts +25 -2
- package/dist/editor.js +442 -91
- package/dist/index.d.ts +3 -2
- package/dist/index.js +3 -2
- package/dist/status.d.ts +3 -1
- package/dist/status.js +3 -1
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* kiso-tui — the PURE terminal layer, extracted from the CLI (the
|
|
3
|
-
* ADR-
|
|
3
|
+
* escape hatch of ADR-0043, which supersedes ADR-0041). Zero runtime
|
|
4
|
+
* dependencies: input is data,
|
|
4
5
|
* output is bytes. TUI v6 (ADR-0046): the ONE compositor (the single
|
|
5
6
|
* writer — body.ts + dock.ts retired), the component tree, the raw-mode
|
|
6
7
|
* editor, the diff renderer, and the palette.
|
|
7
8
|
*/
|
|
8
9
|
export { Body, Dock, CURSOR_MARKER, type BodyOptions } from "./compositor.js";
|
|
9
|
-
export { panelAffordance, panelBlockRows, panelLead, panelLeadPlain, panelLeadWidth, panelStatus, PICK_MAX, modelPickView, pickAffordance, pickBlockRows, pickLeadPlain, type PickOption, type PickResult, type PickRuntime, type PickSpec, type PanelArgs, type PanelFlavor, type PanelPhase, type
|
|
10
|
+
export { panelAffordance, panelBlockRows, panelLead, panelLeadPlain, panelLeadWidth, panelStatus, PICK_MAX, modelPickView, pickAffordance, pickBlockRows, pickLeadPlain, type PickOption, type PickResult, type PickRuntime, type PickSpec, type PanelArgs, type PanelFlavor, type PanelPhase, deletionRiskHint, SAFER_BACK, SAFER_DEGRADED, type SaferOption, type SaferRuntime, panelOptions, type PanelOption, type PanelOptionKind, type PanelState, type PanelVerdict, type PanelView, } from "./approval-panel.js";
|
|
10
11
|
export { Container, foldLine, foldWords, visibleWidth, SPINNER, type Component, type FrameCtx } from "./components.js";
|
|
11
12
|
export { Editor, MENU_ITEMS, PROMPT, PROMPT_WIDTH, displayWidth, charWidth, widthOf, type MenuItem, } from "./editor.js";
|
|
12
13
|
export { bannerLines, COLOR_OFF, COLOR_ON, escapeTerminal, foldResult, foldThinking, kUnit, palette, renderEvent, renderRecap, renderResumeList, renderSessionLine, renderStatusLine, relativeTime, renderTerminalGap, renderToolSummary, TAGLINE, toolTarget, truncateRow, type Palette, type PathResolver, type RecapStats, type ResumeMeta, type RenderInput, type RenderResult, type RunUsage, } from "./render.js";
|
package/dist/index.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* kiso-tui — the PURE terminal layer, extracted from the CLI (the
|
|
3
|
-
* ADR-
|
|
3
|
+
* escape hatch of ADR-0043, which supersedes ADR-0041). Zero runtime
|
|
4
|
+
* dependencies: input is data,
|
|
4
5
|
* output is bytes. TUI v6 (ADR-0046): the ONE compositor (the single
|
|
5
6
|
* writer — body.ts + dock.ts retired), the component tree, the raw-mode
|
|
6
7
|
* editor, the diff renderer, and the palette.
|
|
@@ -11,7 +12,7 @@ export { Body, Dock, CURSOR_MARKER } from "./compositor.js";
|
|
|
11
12
|
// approval is pending (the shape authority is the committed preview).
|
|
12
13
|
export { panelAffordance, panelBlockRows, panelLead, panelLeadPlain, panelLeadWidth, panelStatus,
|
|
13
14
|
// TUI2-R2 ④: the pick payload — the panel slot's third occupant.
|
|
14
|
-
PICK_MAX, modelPickView, pickAffordance, pickBlockRows, pickLeadPlain, } from "./approval-panel.js";
|
|
15
|
+
PICK_MAX, modelPickView, pickAffordance, pickBlockRows, pickLeadPlain, deletionRiskHint, SAFER_BACK, SAFER_DEGRADED, panelOptions, } from "./approval-panel.js";
|
|
15
16
|
export { Container, foldLine, foldWords, visibleWidth, SPINNER } from "./components.js";
|
|
16
17
|
export { Editor, MENU_ITEMS, PROMPT, PROMPT_WIDTH, displayWidth, charWidth, widthOf, } from "./editor.js";
|
|
17
18
|
export { bannerLines, COLOR_OFF, COLOR_ON, escapeTerminal, foldResult, foldThinking, kUnit, palette, renderEvent, renderRecap, renderResumeList, renderSessionLine, renderStatusLine, relativeTime, renderTerminalGap, renderToolSummary, TAGLINE, toolTarget, truncateRow, } from "./render.js";
|
package/dist/status.d.ts
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* KC2 §5 — the status line's FORMATTERS, extracted from the CLI (the
|
|
3
|
-
*
|
|
3
|
+
* escape hatch of ADR-0043, which supersedes ADR-0041 — this comment
|
|
4
|
+
* cited the superseded ADR as current AND repeated its retired "never a
|
|
5
|
+
* fifth raise" promise; ADR-0043 governs the ceiling now). The split is
|
|
4
6
|
* the one the ADR names: the CLI keeps the STATE (the rotating glyph,
|
|
5
7
|
* the run's start instant, the live usage, whether the dock is up) and
|
|
6
8
|
* the REPAINT; what a status row SAYS is presentation, and presentation
|
package/dist/status.js
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* KC2 §5 — the status line's FORMATTERS, extracted from the CLI (the
|
|
3
|
-
*
|
|
3
|
+
* escape hatch of ADR-0043, which supersedes ADR-0041 — this comment
|
|
4
|
+
* cited the superseded ADR as current AND repeated its retired "never a
|
|
5
|
+
* fifth raise" promise; ADR-0043 governs the ceiling now). The split is
|
|
4
6
|
* the one the ADR names: the CLI keeps the STATE (the rotating glyph,
|
|
5
7
|
* the run's start instant, the live usage, whether the dock is up) and
|
|
6
8
|
* the REPAINT; what a status row SAYS is presentation, and presentation
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vincemakes/kiso-tui",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.12.0",
|
|
4
4
|
"description": "kiso tui — the pure terminal layer (cell renderer, dock, raw editor, diff, palette). Zero runtime dependencies: input is data, output is bytes.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -35,6 +35,6 @@
|
|
|
35
35
|
},
|
|
36
36
|
"homepage": "https://github.com/vincemakes/kiso/tree/main/packages/tui#readme",
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@vincemakes/kiso-tui-cells": "0.
|
|
38
|
+
"@vincemakes/kiso-tui-cells": "0.12.0"
|
|
39
39
|
}
|
|
40
40
|
}
|