@vincemakes/kiso-tui-cells 0.15.0 → 0.15.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/strings.d.ts +12 -1
- package/dist/strings.js +16 -3
- package/package.json +59 -59
package/dist/strings.d.ts
CHANGED
|
@@ -60,7 +60,18 @@ export declare function projectUntrustedNote(count: number, root: string): strin
|
|
|
60
60
|
* stay true — the digits moved, and copy naming a digit it does not own
|
|
61
61
|
* goes stale silently. The tool name is escaped for the dock-less
|
|
62
62
|
* fallback question because it reaches the terminal as raw text there;
|
|
63
|
-
* the panel's own rows are escaped by the panel renderer.
|
|
63
|
+
* the panel's own rows are escaped by the panel renderer.
|
|
64
|
+
*
|
|
65
|
+
* RD1B-F1 (the answer-inversion fix, 2026-08-24) — both questions ask
|
|
66
|
+
* the ACTION now, not the state. They used to read "did it apply?",
|
|
67
|
+
* which the dock-less path turns into an inversion: askPanel maps `y`
|
|
68
|
+
* to allow and resolveUncertains maps allow to rerun, so the TRUTHFUL
|
|
69
|
+
* answer from a human who checked the workspace ("yes, it applied")
|
|
70
|
+
* re-ran the effect that had already applied — RD-1B's C3 double-deploy,
|
|
71
|
+
* both runs. The rule line still carries the uncertainty ("may have
|
|
72
|
+
* applied"); what follows it is the action the answer performs. The
|
|
73
|
+
* invariant a test now holds for every simple view: the dock-less
|
|
74
|
+
* question names `simpleOptions[0]`, the action `y` performs. */
|
|
64
75
|
/**
|
|
65
76
|
* TV-1B — the verification offer (the thin task driver's one question):
|
|
66
77
|
* shown at a NORMAL settle when every item is claimed done and no
|
package/dist/strings.js
CHANGED
|
@@ -71,7 +71,18 @@ export function projectUntrustedNote(count, root) {
|
|
|
71
71
|
* stay true — the digits moved, and copy naming a digit it does not own
|
|
72
72
|
* goes stale silently. The tool name is escaped for the dock-less
|
|
73
73
|
* fallback question because it reaches the terminal as raw text there;
|
|
74
|
-
* the panel's own rows are escaped by the panel renderer.
|
|
74
|
+
* the panel's own rows are escaped by the panel renderer.
|
|
75
|
+
*
|
|
76
|
+
* RD1B-F1 (the answer-inversion fix, 2026-08-24) — both questions ask
|
|
77
|
+
* the ACTION now, not the state. They used to read "did it apply?",
|
|
78
|
+
* which the dock-less path turns into an inversion: askPanel maps `y`
|
|
79
|
+
* to allow and resolveUncertains maps allow to rerun, so the TRUTHFUL
|
|
80
|
+
* answer from a human who checked the workspace ("yes, it applied")
|
|
81
|
+
* re-ran the effect that had already applied — RD-1B's C3 double-deploy,
|
|
82
|
+
* both runs. The rule line still carries the uncertainty ("may have
|
|
83
|
+
* applied"); what follows it is the action the answer performs. The
|
|
84
|
+
* invariant a test now holds for every simple view: the dock-less
|
|
85
|
+
* question names `simpleOptions[0]`, the action `y` performs. */
|
|
75
86
|
/**
|
|
76
87
|
* TV-1B — the verification offer (the thin task driver's one question):
|
|
77
88
|
* shown at a NORMAL settle when every item is claimed done and no
|
|
@@ -100,9 +111,9 @@ export function uncertainView(name, executionId) {
|
|
|
100
111
|
speaker: "kiso",
|
|
101
112
|
statusText: "▸ uncertain execution",
|
|
102
113
|
args: { kind: "text", lines: [executionId] },
|
|
103
|
-
ruleOverride: "
|
|
114
|
+
ruleOverride: "an interrupted execution may have applied — rerun it?",
|
|
104
115
|
simpleOptions: ["rerun it", "abandon it"],
|
|
105
|
-
fallbackQuestion: `⚠ interrupted execution: ${escapeTerminal(name)} (${executionId}) —
|
|
116
|
+
fallbackQuestion: `⚠ interrupted execution: ${escapeTerminal(name)} (${executionId}) — rerun it? (y)es / (n)o `,
|
|
106
117
|
};
|
|
107
118
|
}
|
|
108
119
|
/**
|
|
@@ -338,6 +349,8 @@ export function helpRows() {
|
|
|
338
349
|
cmd("/mode", "show the approval tier; /mode <name> switches (manual/default/accept-edits/plan/bypass)"),
|
|
339
350
|
cmd("/model", "list model profiles; /model <name|provider/model> switches"),
|
|
340
351
|
cmd("/compact", "summarize the older conversation to free context"),
|
|
352
|
+
cmd("/clear", "start a fresh conversation (the old session stays resumable)"),
|
|
353
|
+
cmd("/resume", "switch to another session; /resume <id> goes directly"),
|
|
341
354
|
// TUI2-R1 (D): DELIBERATELY UNCHANGED. Deriving this sentence from
|
|
342
355
|
// KEY_BINDINGS would be an improvement and it would also move an
|
|
343
356
|
// assertion outside the round's two declared supersession classes,
|
package/package.json
CHANGED
|
@@ -1,61 +1,61 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
2
|
+
"name": "@vincemakes/kiso-tui-cells",
|
|
3
|
+
"version": "0.15.2",
|
|
4
|
+
"description": "kiso tui-cells \u2014 the components cell renderer (components, diff, width, the render slice). Zero runtime dependencies: input is data, output is bytes.",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"license": "MIT",
|
|
7
|
+
"exports": {
|
|
8
|
+
".": {
|
|
9
|
+
"types": "./dist/index.d.ts",
|
|
10
|
+
"default": "./dist/index.js"
|
|
11
|
+
},
|
|
12
|
+
"./components": {
|
|
13
|
+
"types": "./dist/components.d.ts",
|
|
14
|
+
"default": "./dist/components.js"
|
|
15
|
+
},
|
|
16
|
+
"./diff": {
|
|
17
|
+
"types": "./dist/diff.d.ts",
|
|
18
|
+
"default": "./dist/diff.js"
|
|
19
|
+
},
|
|
20
|
+
"./approval-panel": {
|
|
21
|
+
"types": "./dist/approval-panel.d.ts",
|
|
22
|
+
"default": "./dist/approval-panel.js"
|
|
23
|
+
},
|
|
24
|
+
"./width": {
|
|
25
|
+
"types": "./dist/width.d.ts",
|
|
26
|
+
"default": "./dist/width.js"
|
|
27
|
+
},
|
|
28
|
+
"./render": {
|
|
29
|
+
"types": "./dist/render.d.ts",
|
|
30
|
+
"default": "./dist/render.js"
|
|
31
|
+
},
|
|
32
|
+
"./strings": {
|
|
33
|
+
"types": "./dist/strings.d.ts",
|
|
34
|
+
"default": "./dist/strings.js"
|
|
35
|
+
}
|
|
36
|
+
},
|
|
37
|
+
"files": [
|
|
38
|
+
"dist",
|
|
39
|
+
"README.md",
|
|
40
|
+
"LICENSE"
|
|
41
|
+
],
|
|
42
|
+
"scripts": {
|
|
43
|
+
"build": "tsc -p tsconfig.build.json",
|
|
44
|
+
"typecheck": "tsc -p tsconfig.json",
|
|
45
|
+
"test": "vitest run"
|
|
46
|
+
},
|
|
47
|
+
"devDependencies": {
|
|
48
|
+
"@types/node": "^26.1.2",
|
|
49
|
+
"typescript": "^5.7.2",
|
|
50
|
+
"vitest": "^3.0.0"
|
|
51
|
+
},
|
|
52
|
+
"repository": {
|
|
53
|
+
"type": "git",
|
|
54
|
+
"url": "https://github.com/vincemakes/kiso.git",
|
|
55
|
+
"directory": "packages/tui-cells"
|
|
56
|
+
},
|
|
57
|
+
"bugs": {
|
|
58
|
+
"url": "https://github.com/vincemakes/kiso/issues"
|
|
59
|
+
},
|
|
60
|
+
"homepage": "https://github.com/vincemakes/kiso/tree/main/packages/tui-cells#readme"
|
|
61
61
|
}
|