@vincemakes/kiso-tui 0.13.0 → 0.14.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.
@@ -573,7 +573,10 @@ export class Body {
573
573
  const turn = this.#turns.length - 1;
574
574
  const last = this.#cells[this.#cells.length - 1];
575
575
  if (last !== undefined && last.kind === "checklist" && !last.done && last.turn === turn) {
576
- if (!sameTask(last.items, items)) {
576
+ // TV-1B: the header participates in the change detection — the
577
+ // settle verdict is a header-only update over the same items,
578
+ // and an items-only guard would swallow it silently.
579
+ if (last.header !== header || !sameTask(last.items, items)) {
577
580
  Object.assign(last, { header, items });
578
581
  this.#mark();
579
582
  }
package/dist/index.d.ts CHANGED
@@ -14,7 +14,7 @@ export { bannerLines, COLOR_OFF, COLOR_ON, escapeTerminal, foldResult, foldThink
14
14
  export { editFileDiff, truncateDiff, writeFileDiff, type DiffLine, type DiffResult } from "./diff.js";
15
15
  export { STATUS_GLYPHS, cacheHitPct, idleStatus, runningStatus, type StatusMeter } from "./status.js";
16
16
  export { contextRows, contextUnavailableRows, type ContextLedger } from "./context-ledger.js";
17
- export { interactivePrompt, projectTrustRows, projectTrustView, projectUntrustedNote, uncertainView, type TrustArtifact } from "./strings.js";
17
+ export { interactivePrompt, projectTrustRows, projectTrustView, projectUntrustedNote, uncertainView, verifyOfferView, type TrustArtifact } from "./strings.js";
18
18
  export { AT_CAP, AT_SKIP, AT_VISIBLE, atEmbed, atFilter, atPanelRows, atWindow, bandHeader, longestRun, type AtItem, type AtMatch } from "./at-picker.js";
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";
package/dist/index.js CHANGED
@@ -26,7 +26,7 @@ export { contextRows, contextUnavailableRows } from "./context-ledger.js";
26
26
  // KC3 §1 (the extraction): the human-facing strings — the prompt, the
27
27
  // project-trust listing/view/note, the uncertain execution's view. The
28
28
  // FLOW (who is asked, what a verdict means) stays in the cli.
29
- export { interactivePrompt, projectTrustRows, projectTrustView, projectUntrustedNote, uncertainView } from "./strings.js";
29
+ export { interactivePrompt, projectTrustRows, projectTrustView, projectUntrustedNote, uncertainView, verifyOfferView } from "./strings.js";
30
30
  // KC3 §3/§5: the @ file picker's pure half — the subsequence filter, the
31
31
  // deterministic rank, and the ONE cap the CLI's file source shares.
32
32
  export { AT_CAP, AT_SKIP, AT_VISIBLE, atEmbed, atFilter, atPanelRows, atWindow, bandHeader, longestRun } from "./at-picker.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vincemakes/kiso-tui",
3
- "version": "0.13.0",
3
+ "version": "0.14.0",
4
4
  "description": "kiso tui — 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.13.0"
38
+ "@vincemakes/kiso-tui-cells": "0.14.0"
39
39
  }
40
40
  }