@vincemakes/kiso-code 0.20.3 → 0.21.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/chat.js CHANGED
@@ -378,7 +378,7 @@ function taskVerdictWords(kind) {
378
378
  }
379
379
  /** W21 — the panel view for a permission_requested: the rule line (the
380
380
  * why-asked speaker + the §3.5 fix hint), the toolTarget title, the
381
- * " run paused" status, and the ALWAYS-verbose args. */
381
+ * " run paused" status, and the ALWAYS-verbose args. */
382
382
  function approvalView(name, ev, amended = false) {
383
383
  const speaker = ev.speaker ?? "kiso";
384
384
  const input = ev.input ?? {};
@@ -396,7 +396,7 @@ function approvalView(name, ev, amended = false) {
396
396
  speaker,
397
397
  ...(hint !== undefined ? { hint } : {}),
398
398
  ...(risk !== null ? { riskHint: risk } : {}),
399
- statusText: " run paused",
399
+ statusText: " run paused",
400
400
  args: approvalArgs(name, input),
401
401
  fallbackQuestion: `approve ${escapeTerminal(name)}? (y/n) `,
402
402
  // TUI2-R3v2 ③: the v4 frame's "(amended)" marker. It says WHY this
@@ -639,7 +639,7 @@ submitTurn) {
639
639
  body.notice(`⚠ ${escapeTerminal(ev.name)} FAILED — the side effect may have applied. ${escapeTerminal(ev.error)}`);
640
640
  break;
641
641
  case "permission_requested": {
642
- // v2d: the ToolCell shows the badge; the question takes over
642
+ // v2d: the ToolCell shows the badge; the question takes over
643
643
  // the dock status position; the answer lands at the input line.
644
644
  // v2e: the mini-diff for edit/write at the approval moment —
645
645
  // the human sees the change BEFORE deciding (auto-allowed tools
@@ -1189,7 +1189,7 @@ export async function chat(session, faux, input, autoCompact, nav) {
1189
1189
  }
1190
1190
  dispatch(line, dispatchCtx);
1191
1191
  });
1192
- // W15: the expand key — the editor forwards ctrl+r; dispatch runs the
1192
+ // W15: the expand key — the editor forwards ctrl+o; dispatch runs the
1193
1193
  // chain action (the sentinel's control char marks the key, so a typed
1194
1194
  // "expand" turn is never intercepted).
1195
1195
  input.onExpand(() => dispatch("\x12expand", dispatchCtx));
package/dist/dispatch.js CHANGED
@@ -79,7 +79,7 @@ export function dispatch(line, ctx) {
79
79
  return;
80
80
  }
81
81
  if (trimmed === "\x12expand") {
82
- // W15: the expand key (ctrl+r) — /last aimed at a chosen cell.
82
+ // W15: the expand key (ctrl+o) — /last aimed at a chosen cell.
83
83
  // The TARGET is picked at press time: a LIVE tool cell toggles
84
84
  // IMMEDIATELY in place (the compositor owns those rows and
85
85
  // redraws them — the approval pause is exactly when the user
@@ -104,7 +104,7 @@ export function dispatch(line, ctx) {
104
104
  // was only true in one of them. A reader who pressed the key
105
105
  // on a ring of one had something to open — they were already
106
106
  // looking at it — and the old line told them the opposite.
107
- bodyLog(r.why === "already-last" ? "[that expansion is already the last thing on screen — ctrl+o opens the transcript]" : "[nothing to expand]");
107
+ bodyLog(r.why === "already-last" ? "[that expansion is already the last thing on screen — ctrl+r opens the transcript]" : "[nothing to expand]");
108
108
  }
109
109
  ctx.input.prompt();
110
110
  };
@@ -198,8 +198,8 @@ export function dispatch(line, ctx) {
198
198
  header: `mode — current: ${current}`,
199
199
  options: MODES.map((name) => ({ label: name, note: [MODE_NOTE[name], ...(name === current ? ["current"] : [])].join(" · ") })),
200
200
  },
201
- // DC-12 (design §4): a panel WAITING ON A HUMAN says ⏸.
202
- ctx.isRunning() ? " run paused" : `▸ ${current}`), (v) => resolve(v.action === "picked" ? v.result : null));
201
+ // DC-12 (design §4): a panel WAITING ON A HUMAN says ❯.
202
+ ctx.isRunning() ? " run paused" : `▸ ${current}`), (v) => resolve(v.action === "picked" ? v.result : null));
203
203
  });
204
204
  ctx.paintIdle();
205
205
  if (picked === null) {
@@ -271,10 +271,10 @@ export function dispatch(line, ctx) {
271
271
  // the path spelled out
272
272
  ...(names.length === 0 ? { emptyNote: "no profiles — define models in ~/.kiso/config.json" } : {}),
273
273
  },
274
- // DC-12 (design §4): a panel WAITING ON A HUMAN says ⏸. The
274
+ // DC-12 (design §4): a panel WAITING ON A HUMAN says ❯. The
275
275
  // else-branch keeps ▸ — it names the current tier, which is
276
276
  // what ▸ means everywhere else.
277
- ctx.isRunning() ? " run paused" : `▸ ${getMode()}`), (v) => resolve(v.action === "picked" ? v.result : null));
277
+ ctx.isRunning() ? " run paused" : `▸ ${getMode()}`), (v) => resolve(v.action === "picked" ? v.result : null));
278
278
  });
279
279
  ctx.paintIdle();
280
280
  if (picked === null) {
package/dist/index.js CHANGED
@@ -80,7 +80,7 @@ function readlineInput(rl) {
80
80
  /* readline has no bare-Esc semantics — ignored. */
81
81
  },
82
82
  onExpand() {
83
- /* readline has no ctrl+r binding — ignored (W15 rides the
83
+ /* readline has no ctrl+o binding — ignored (W15 rides the
84
84
  * editor path only). */
85
85
  },
86
86
  question(query, cb) {
package/dist/state.d.ts CHANGED
@@ -67,7 +67,7 @@ export interface LineInput {
67
67
  onSigint(cb: () => void): void;
68
68
  onEot(cb: () => void): void;
69
69
  onEscape(cb: () => void): void;
70
- /** W15: the expand key (ctrl+r) — the chain-level action, never the
70
+ /** W15: the expand key (ctrl+o) — the chain-level action, never the
71
71
  * editor's own interpretation. */
72
72
  onExpand(cb: () => void): void;
73
73
  /** KC2 §2: the redirect gesture (Alt+Enter / Ctrl+Enter) — the
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vincemakes/kiso-code",
3
- "version": "0.20.3",
3
+ "version": "0.21.0",
4
4
  "description": "kiso CLI — the durable coding agent that survives kill -9: kiso chat / kiso resume / kiso sessions.",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -18,19 +18,19 @@
18
18
  "test": "vitest run"
19
19
  },
20
20
  "dependencies": {
21
- "@vincemakes/kiso-ask-ext": "0.20.3",
22
- "@vincemakes/kiso-core": "0.20.3",
23
- "@vincemakes/kiso-evals": "0.20.3",
24
- "@vincemakes/kiso-mcp-ext": "0.20.3",
25
- "@vincemakes/kiso-provider-anthropic": "0.20.3",
26
- "@vincemakes/kiso-provider-openai": "0.20.3",
27
- "@vincemakes/kiso-runtime": "0.20.3",
28
- "@vincemakes/kiso-skills-ext": "0.20.3",
29
- "@vincemakes/kiso-subagent-ext": "0.20.3",
30
- "@vincemakes/kiso-task-ext": "0.20.3",
31
- "@vincemakes/kiso-tools-node": "0.20.3",
32
- "@vincemakes/kiso-tui": "0.20.3",
33
- "@vincemakes/kiso-tui-cells": "0.20.3"
21
+ "@vincemakes/kiso-ask-ext": "0.21.0",
22
+ "@vincemakes/kiso-core": "0.21.0",
23
+ "@vincemakes/kiso-evals": "0.21.0",
24
+ "@vincemakes/kiso-mcp-ext": "0.21.0",
25
+ "@vincemakes/kiso-provider-anthropic": "0.21.0",
26
+ "@vincemakes/kiso-provider-openai": "0.21.0",
27
+ "@vincemakes/kiso-runtime": "0.21.0",
28
+ "@vincemakes/kiso-skills-ext": "0.21.0",
29
+ "@vincemakes/kiso-subagent-ext": "0.21.0",
30
+ "@vincemakes/kiso-task-ext": "0.21.0",
31
+ "@vincemakes/kiso-tools-node": "0.21.0",
32
+ "@vincemakes/kiso-tui": "0.21.0",
33
+ "@vincemakes/kiso-tui-cells": "0.21.0"
34
34
  },
35
35
  "devDependencies": {
36
36
  "@types/node": "^26.1.2",