@vincemakes/kiso-tui-cells 0.45.3 → 0.46.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.
@@ -518,4 +518,7 @@ export declare function pickAffordance(state: PickRuntime, axis?: boolean): stri
518
518
  * `pick` and `statusText`, so a second flavour is a name and a
519
519
  * fallback question, not a second mechanism. */
520
520
  export declare function modePickView(spec: PickSpec, statusText: string): PanelView;
521
+ /** ADR-0058 (3e): the `/tasks` list, a task's actions, and the exit
522
+ * question — the same pick panel as /mode and /model, under its name. */
523
+ export declare function namedPickView(name: string, spec: PickSpec, statusText: string, fallbackQuestion: string): PanelView;
521
524
  export declare function modelPickView(spec: PickSpec, statusText: string): PanelView;
@@ -752,6 +752,20 @@ export function modePickView(spec, statusText) {
752
752
  pick: spec,
753
753
  };
754
754
  }
755
+ /** ADR-0058 (3e): the `/tasks` list, a task's actions, and the exit
756
+ * question — the same pick panel as /mode and /model, under its name. */
757
+ export function namedPickView(name, spec, statusText, fallbackQuestion) {
758
+ return {
759
+ flavor: "simple",
760
+ name,
761
+ title: name,
762
+ speaker: "you",
763
+ statusText,
764
+ args: { kind: "text", lines: [] },
765
+ fallbackQuestion,
766
+ pick: spec,
767
+ };
768
+ }
755
769
  export function modelPickView(spec, statusText) {
756
770
  return {
757
771
  flavor: "simple",
package/dist/strings.d.ts CHANGED
@@ -106,7 +106,8 @@ export interface BannerExtension {
106
106
  readonly name: string;
107
107
  readonly connecting?: boolean;
108
108
  /** A fact about the extension in this session, printed in parentheses
109
- * after its name — "ask (off in dontAsk)". `connecting` wins. */
109
+ * after its name — "ask (off in dontAsk)", with the don't-ask switch
110
+ * on. `connecting` wins. */
110
111
  readonly note?: string;
111
112
  }
112
113
  /**
package/dist/strings.js CHANGED
@@ -447,6 +447,8 @@ const HELP_TABLE = [
447
447
  // re-wrapped in place (ADR-0046) — this appends it re-folded.
448
448
  ["/rewrap", "re-print the recent prose at the current width"],
449
449
  ["/copy", "copy the last answer (raw markdown) — ctrl+x does the same"],
450
+ // ADR-0058 (3e): the session's tasks, and the key that makes one
451
+ ["/tasks", "list this session's background tasks; stop one or show its output"],
450
452
  ["/status", "show session id, event count, and context estimate"],
451
453
  // 0.40.6: what kiso runs with, and where each value came from
452
454
  ["/settings", "show the settings in force, each value's source, and how to change it"],
@@ -454,7 +456,11 @@ const HELP_TABLE = [
454
456
  // been dispatchable since TUI2-R1 slice 6 and was never listed here,
455
457
  // so the only way to learn it existed was to read the source.
456
458
  ["/context", "show where the context went — the per-request rent ledger"],
457
- ["/mode", "show the approval tier; /mode <name> switches (default/accept-edits/plan/dontAsk/bypass)"],
459
+ ["/mode", "show the approval tier; /mode <name> switches (default/accept-edits/plan/full-access)"],
460
+ // the modes round: the don't-ask switch, beside the tiers it composes
461
+ // with. `/dont-ask` is nine characters, as `/settings` is, so the
462
+ // computed stop does not move.
463
+ ["/dont-ask", "never stop for you: what would ask is refused — /dont-ask off undoes it"],
458
464
  ["/model", "list model profiles; /model <name|provider/model> switches"],
459
465
  ["/compact", "summarize the older conversation to free context"],
460
466
  ["/clear", "start a fresh conversation (the old session stays resumable)"],
@@ -474,6 +480,9 @@ const HELP_TABLE = [
474
480
  // §2.3: the switch belongs beside ctrl+o's job, and a gesture the
475
481
  // sheet does not name is a gesture nobody uses (DC-30, DC-36).
476
482
  ["ctrl+t", "hide thinking to one line, and show it again (remembered)"],
483
+ // ADR-0058 (3e): beside ctrl+t — the running row teaches it when it
484
+ // applies; this is where it can be found the rest of the time
485
+ ["ctrl+b", "move the running command to the background (twice inside tmux)"],
477
486
  // §2.4: the composer, in your own editor. It names the variables
478
487
  // because that is what a reader has to set for it to work.
479
488
  ["ctrl+g", "edit the composer in $VISUAL or $EDITOR — the text comes back unsent"],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vincemakes/kiso-tui-cells",
3
- "version": "0.45.3",
3
+ "version": "0.46.0",
4
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
5
  "type": "module",
6
6
  "license": "MIT",