@vincemakes/kiso-tui 0.25.0 → 0.26.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.js +1 -1
- package/dist/at-picker.js +1 -1
- package/dist/components.d.ts +1 -1
- package/dist/components.js +1 -1
- package/dist/compositor.d.ts +22 -42
- package/dist/compositor.js +265 -924
- package/dist/context-ledger.js +1 -1
- package/dist/editor.d.ts +6 -7
- package/dist/editor.js +376 -786
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/{render.js → lines.js} +3 -3
- package/dist/panel-input.d.ts +105 -0
- package/dist/panel-input.js +468 -0
- package/dist/pick-input.d.ts +34 -0
- package/dist/pick-input.js +100 -0
- package/dist/session-picker.js +1 -1
- package/dist/status.js +1 -1
- package/dist/transcript.js +4 -27
- package/package.json +2 -2
- /package/dist/{render.d.ts → lines.d.ts} +0 -0
package/dist/context-ledger.js
CHANGED
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
* Every number is a count the ledger already carries. Nothing here
|
|
18
18
|
* estimates, projects, or predicts.
|
|
19
19
|
*/
|
|
20
|
-
import { palette } from "./
|
|
20
|
+
import { palette } from "./lines.js";
|
|
21
21
|
const BAR_CELLS = 12;
|
|
22
22
|
/** k-units for the ledger's columns: 25700 → 25.7k, 300 → 300, 11 → 11.
|
|
23
23
|
*
|
package/dist/editor.d.ts
CHANGED
|
@@ -83,6 +83,8 @@ export declare class Editor {
|
|
|
83
83
|
/** R3a — Shift+Tab: the approval-tier cycle. The MEANING lives in the
|
|
84
84
|
* CLI (which tier follows which); the editor only reports the key. */
|
|
85
85
|
onModeCycle(cb: () => void): void;
|
|
86
|
+
/** E1 §3 — the copy key (ctrl+x). */
|
|
87
|
+
onCopy(cb: () => void): void;
|
|
86
88
|
onExpand(cb: () => void): void;
|
|
87
89
|
/** KC2 §2: the redirect chain — the gesture hands the buffer's text
|
|
88
90
|
* over while the run is told to stop. Mirrors onEscape (a list, so
|
|
@@ -145,10 +147,7 @@ export declare class Editor {
|
|
|
145
147
|
selected: number;
|
|
146
148
|
capped: boolean;
|
|
147
149
|
} | null;
|
|
148
|
-
/** Open the picker on a bound card source
|
|
149
|
-
* (the buffer becomes the filter query) and `onPick` receives the
|
|
150
|
-
* chosen id — or null when the human leaves without picking, which
|
|
151
|
-
* is a first-class outcome and not an error. */
|
|
150
|
+
/** Open the picker on a bound card source (PickInput, S5). */
|
|
152
151
|
beginPick(cards: () => readonly SessionCardView[], onPick: (id: string | null) => void): void;
|
|
153
152
|
pickState(): SessionPickState | null;
|
|
154
153
|
/** One-shot question mode: the NEXT submit answers, not a turn. */
|
|
@@ -156,9 +155,9 @@ export declare class Editor {
|
|
|
156
155
|
/** Cancel a pending question — the buffer stays (its text becomes the
|
|
157
156
|
* next turn on Enter, the readline re-emit equivalent). */
|
|
158
157
|
cancelQuestion(): void;
|
|
159
|
-
/** W21: open the approval panel
|
|
160
|
-
*
|
|
161
|
-
*
|
|
158
|
+
/** W21: open the approval panel (PanelInput, S5): the buffer is
|
|
159
|
+
* stashed and restored at close, the panel takes the keys and the
|
|
160
|
+
* input row's lead, the composer's own bands close. */
|
|
162
161
|
beginPanel(view: PanelView, onCommit: (v: PanelVerdict) => void, opts?: {
|
|
163
162
|
safer?: () => Promise<SaferAnswer>;
|
|
164
163
|
}): void;
|