@oh-my-pi/pi-tui 18.8.0 → 18.8.1

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/CHANGELOG.md CHANGED
@@ -2,6 +2,12 @@
2
2
 
3
3
  ## [Unreleased]
4
4
 
5
+ ## [18.8.1] - 2026-10-07
6
+
7
+ ### Fixed
8
+
9
+ - Fixed the native ask dialog on TSP surfaces so it replaces the composer instead of opening as a modal over the transcript, keeping the transcript readable and scrollable.
10
+
5
11
  ## [18.8.0] - 2026-10-07
6
12
 
7
13
  ### Added
@@ -101,8 +101,11 @@ export declare class AskDialogComponent implements Component {
101
101
  handleInput(keyData: string): void;
102
102
  render(width: number): readonly string[];
103
103
  /**
104
- * A bottom-anchored glass sheet over the composer (the `overlay` hoists into
105
- * the terminal's layer; the dialog's own slot in the dock stays empty).
104
+ * In the dock, in the composer's place and framed as the composer is: a
105
+ * `col` with the prompt editor's root role (`omp.editor`), so the terminal
106
+ * gives it the composer's insets and spacing. Not a modal `overlay` sheet:
107
+ * one anchored at the bottom covered the transcript rows that explain the
108
+ * question and blocked scrolling until the question was answered.
106
109
  */
107
110
  describe(cx: DescribeContext): NativeNode;
108
111
  /**
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "type": "module",
3
3
  "name": "@oh-my-pi/pi-tui",
4
- "version": "18.8.0",
4
+ "version": "18.8.1",
5
5
  "description": "Terminal User Interface library with differential rendering for efficient text-based applications",
6
6
  "homepage": "https://omp.sh",
7
7
  "author": {
@@ -41,14 +41,14 @@
41
41
  "gen:glyphs": "bun scripts/gen-glyphs.ts"
42
42
  },
43
43
  "dependencies": {
44
- "@oh-my-pi/omptype": "18.8.0",
45
- "@oh-my-pi/pi-agent-core": "18.8.0",
46
- "@oh-my-pi/pi-ai": "18.8.0",
47
- "@oh-my-pi/pi-catalog": "18.8.0",
48
- "@oh-my-pi/pi-natives": "18.8.0",
49
- "@oh-my-pi/pi-utils": "18.8.0",
50
- "@oh-my-pi/pi-wire": "18.8.0",
51
- "@oh-my-pi/snapcompact": "18.8.0"
44
+ "@oh-my-pi/omptype": "18.8.1",
45
+ "@oh-my-pi/pi-agent-core": "18.8.1",
46
+ "@oh-my-pi/pi-ai": "18.8.1",
47
+ "@oh-my-pi/pi-catalog": "18.8.1",
48
+ "@oh-my-pi/pi-natives": "18.8.1",
49
+ "@oh-my-pi/pi-utils": "18.8.1",
50
+ "@oh-my-pi/pi-wire": "18.8.1",
51
+ "@oh-my-pi/snapcompact": "18.8.1"
52
52
  },
53
53
  "devDependencies": {
54
54
  "kitty-vt-wasm": "^0.2.0"
@@ -711,8 +711,11 @@ export class AskDialogComponent implements Component {
711
711
  }
712
712
 
713
713
  /**
714
- * A bottom-anchored glass sheet over the composer (the `overlay` hoists into
715
- * the terminal's layer; the dialog's own slot in the dock stays empty).
714
+ * In the dock, in the composer's place and framed as the composer is: a
715
+ * `col` with the prompt editor's root role (`omp.editor`), so the terminal
716
+ * gives it the composer's insets and spacing. Not a modal `overlay` sheet:
717
+ * one anchored at the bottom covered the transcript rows that explain the
718
+ * question and blocked scrolling until the question was answered.
716
719
  */
717
720
  describe(cx: DescribeContext): NativeNode {
718
721
  const inputGuard = this.options.inputGuard;
@@ -728,13 +731,7 @@ export class AskDialogComponent implements Component {
728
731
  if (this.#isSubmitTab()) this.#describeSubmitBody(children);
729
732
  else this.#describeQuestionBody(children);
730
733
  children.push(this.#describeActions(blocked));
731
- const sheet = node(
732
- "overlay",
733
- { role: "omp.overlay.ask", anchor: "bottom", size: "md", modal: true },
734
- [col(children, { gap: "md" })],
735
- "sheet",
736
- );
737
- this.#native = col([sheet]);
734
+ this.#native = col(children, { role: "omp.editor", gap: "md" });
738
735
  this.#nativeBlocked = blocked;
739
736
  return this.#native;
740
737
  }