@vincemakes/kiso-tui 0.39.0 → 0.39.2
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/editor.js +6 -0
- 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/editor.js
CHANGED
|
@@ -116,8 +116,14 @@ export const MENU_ITEMS = [
|
|
|
116
116
|
// the /resume+/clear mini-spec: the session-navigation pair
|
|
117
117
|
{ name: "/clear", desc: "start a fresh conversation (the old session stays resumable)" },
|
|
118
118
|
{ name: "/resume", desc: "switch to another session; /resume <id> goes directly" },
|
|
119
|
+
// 0.39.2: `/reload` has been dispatchable since §2.5 and `/help` lists
|
|
120
|
+
// it, and typing `/` never offered it — the one place a person who does
|
|
121
|
+
// not know a command exists goes to find one. Caught with `/copy` by the
|
|
122
|
+
// gate that now holds the three lists together.
|
|
123
|
+
{ name: "/reload", desc: "reread extensions, skills and config into this session" },
|
|
119
124
|
{ name: "/think", desc: "show the last full thinking block" },
|
|
120
125
|
{ name: "/last", desc: "show the most recent tool call's input and output" },
|
|
126
|
+
{ name: "/copy", desc: "copy the last answer (raw markdown) — ctrl+x does the same" },
|
|
121
127
|
// R4 (C4d): the committed transcript belongs to the terminal and can
|
|
122
128
|
// never be re-wrapped in place (ADR-0046); this appends it re-folded.
|
|
123
129
|
{ name: "/rewrap", desc: "re-print the recent prose at the current width" },
|
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.2",
|
|
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.2"
|
|
39
39
|
}
|
|
40
40
|
}
|