@vincemakes/kiso-tui 0.39.0 → 0.39.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/dist/index.d.ts +2 -1
- package/dist/index.js +4 -1
- package/dist/status.js +2 -1
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -19,4 +19,5 @@ export { AT_CAP, AT_SKIP, AT_VISIBLE, atEmbed, atFilter, atPanelRows, atWindow,
|
|
|
19
19
|
export { BADGE_GLYPH, idColumn, sessionAge, sessionBadge, sessionCounterRow, sessionFilter, sessionListFooter, sessionListRow, sessionNote, sessionPickerRows, sessionRow, type SessionCardView, type SessionPickState, } from "./session-picker.js";
|
|
20
20
|
export { ASK_HEADER_CAP, ASK_MAX_OPTIONS, ASK_MAX_QUESTIONS, ASK_MIN_OPTIONS, askAffordance, askAnswers, askBlockRows, askCommitCustom, askDeclineAll, askDeclineList, askKey, askLeadPlain, askStart, askStatus, askView, type AskAnswer, type AskOption, type AskQuestion, type AskResult, type AskRuntime, type AskSpec, type AskStep, } from "./ask-panel.js";
|
|
21
21
|
export { resolveGround, type Ground } from "@vincemakes/kiso-tui-cells";
|
|
22
|
-
export {
|
|
22
|
+
export { settledLabel } from "@vincemakes/kiso-tui-cells";
|
|
23
|
+
export { KEY_BINDINGS, PANEL_KEYS_ROW, displayVerb, extensionsBannerText, helpRows, keysHelpRow, keysSheetRows, slashCommandNames, unansweredAskView, type BannerExtension, type KeyBinding } from "./strings.js";
|
package/dist/index.js
CHANGED
|
@@ -43,4 +43,7 @@ export { ASK_HEADER_CAP, ASK_MAX_OPTIONS, ASK_MAX_QUESTIONS, ASK_MIN_OPTIONS, as
|
|
|
43
43
|
// TUI2-R1 (D): the keys sheet + THE key table — one source for the ?
|
|
44
44
|
// overlay and /help's keys row.
|
|
45
45
|
export { resolveGround } from "@vincemakes/kiso-tui-cells";
|
|
46
|
-
|
|
46
|
+
// one duration form: the CLI's own surfaces label a settled duration the
|
|
47
|
+
// way a settled card does, rather than writing a second one.
|
|
48
|
+
export { settledLabel } from "@vincemakes/kiso-tui-cells";
|
|
49
|
+
export { KEY_BINDINGS, PANEL_KEYS_ROW, displayVerb, extensionsBannerText, helpRows, keysHelpRow, keysSheetRows, slashCommandNames, unansweredAskView } from "./strings.js";
|
package/dist/status.js
CHANGED
|
@@ -22,6 +22,7 @@
|
|
|
22
22
|
* widens to name the new gesture.
|
|
23
23
|
*/
|
|
24
24
|
import { kUnit } from "./lines.js";
|
|
25
|
+
import { elapsedLabel } from "@vincemakes/kiso-tui-cells";
|
|
25
26
|
import { TWINKLE } from "@vincemakes/kiso-tui-cells/render";
|
|
26
27
|
import { displayWidth } from "@vincemakes/kiso-tui-cells/width";
|
|
27
28
|
/**
|
|
@@ -102,7 +103,7 @@ export function runningStatus(glyph, since, outTokens, ctxRatio, tokPerSec = nul
|
|
|
102
103
|
// state, so its row says nothing rather than guessing.
|
|
103
104
|
const rate = tokPerSec !== null ? ` · ${tokPerSec} tok/s` : "";
|
|
104
105
|
const seconds = Math.max(1, Math.round((Date.now() - since) / 1000));
|
|
105
|
-
return `${glyph} working ${seconds}
|
|
106
|
+
return `${glyph} working ${elapsedLabel(seconds)}${out}${rate} · esc stop · alt+⏎ redirect · ${ctxSegment(ctxRatio)}`;
|
|
106
107
|
}
|
|
107
108
|
/** DF-0330-F1 — how far the model id may be squeezed on the ROW. Twenty
|
|
108
109
|
* visible columns keeps a head and a tail: `deepseek-v…s-on-0910` still
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vincemakes/kiso-tui",
|
|
3
|
-
"version": "0.39.
|
|
3
|
+
"version": "0.39.1",
|
|
4
4
|
"description": "kiso tui \u2014 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.39.
|
|
38
|
+
"@vincemakes/kiso-tui-cells": "0.39.1"
|
|
39
39
|
}
|
|
40
40
|
}
|