@linxiraos/pi-tui 1.4.10 → 1.4.12

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.
Files changed (269) hide show
  1. package/CHANGELOG.md +34 -237
  2. package/README.md +4 -1
  3. package/THIRD-PARTY-NOTICES.txt +99 -0
  4. package/dist/types/apps/shell-visualizer.d.ts +24 -0
  5. package/dist/types/autocomplete.d.ts +20 -0
  6. package/dist/types/chat/cache-invalidation-marker.d.ts +15 -7
  7. package/dist/types/chat/chat-transcript-builder.d.ts +5 -3
  8. package/dist/types/chat/display-preferences.d.ts +2 -0
  9. package/dist/types/chat/extension-types.d.ts +72 -1
  10. package/dist/types/chat/image-loading.d.ts +2 -2
  11. package/dist/types/chat/messages.d.ts +2 -3
  12. package/dist/types/chat/read-tool-group.d.ts +15 -2
  13. package/dist/types/chat/skill-message.d.ts +1 -0
  14. package/dist/types/chat/spotlight.d.ts +203 -0
  15. package/dist/types/chat/tool-execution.d.ts +26 -5
  16. package/dist/types/chat/transcript-actions.d.ts +11 -0
  17. package/dist/types/chat/transcript-browser.d.ts +9 -0
  18. package/dist/types/chat/transcript-presentation.d.ts +164 -0
  19. package/dist/types/chat/ttsr-notification.d.ts +2 -0
  20. package/dist/types/chrome/message-frame.d.ts +2 -0
  21. package/dist/types/chrome/transcript-container.d.ts +27 -6
  22. package/dist/types/components/loader.d.ts +0 -2
  23. package/dist/types/components/markdown.d.ts +11 -1
  24. package/dist/types/components/settings-list.d.ts +12 -2
  25. package/dist/types/frame-rate.d.ts +18 -0
  26. package/dist/types/index.d.ts +3 -0
  27. package/dist/types/keybinding-matchers.d.ts +4 -1
  28. package/dist/types/kitty-graphics.d.ts +1 -1
  29. package/dist/types/motion-effects.d.ts +10 -0
  30. package/dist/types/native/encode.d.ts +2 -0
  31. package/dist/types/native/measure.d.ts +10 -0
  32. package/dist/types/native/overlay.d.ts +1 -1
  33. package/dist/types/native/quiet.d.ts +5 -0
  34. package/dist/types/native/reconcile.d.ts +6 -1
  35. package/dist/types/native/spans.d.ts +6 -0
  36. package/dist/types/native/state.d.ts +4 -0
  37. package/dist/types/overlays/agent-hub.d.ts +6 -0
  38. package/dist/types/overlays/link-browser.d.ts +55 -0
  39. package/dist/types/overlays/running-subagent-badge.d.ts +1 -4
  40. package/dist/types/overlays/settings-selector.d.ts +1 -1
  41. package/dist/types/overlays/snapcompact-shape-preview.d.ts +1 -1
  42. package/dist/types/overlays/spotlight-sheet.d.ts +36 -0
  43. package/dist/types/prompt/composer-attachments.d.ts +5 -2
  44. package/dist/types/prompt/composer-cache.d.ts +7 -2
  45. package/dist/types/prompt/composer.d.ts +6 -11
  46. package/dist/types/prompt/custom-editor.d.ts +8 -2
  47. package/dist/types/prompt/gradient-highlight.d.ts +2 -2
  48. package/dist/types/prompt/magic-keywords.d.ts +2 -0
  49. package/dist/types/prompt/model-mention-autocomplete.d.ts +9 -7
  50. package/dist/types/prompt/model-mention-syntax.d.ts +6 -0
  51. package/dist/types/prompt/prompt-action-autocomplete.d.ts +2 -1
  52. package/dist/types/prompt/welcome.d.ts +19 -0
  53. package/dist/types/render/extension-links.d.ts +0 -6
  54. package/dist/types/render/index.d.ts +1 -0
  55. package/dist/types/render/link-hints.d.ts +78 -0
  56. package/dist/types/render/render-utils.d.ts +0 -2
  57. package/dist/types/setup/scenes/types.d.ts +8 -0
  58. package/dist/types/setup/scenes/updates.d.ts +6 -0
  59. package/dist/types/setup/wizard.d.ts +7 -2
  60. package/dist/types/spinner-clock.d.ts +34 -0
  61. package/dist/types/status-line/component.d.ts +8 -4
  62. package/dist/types/status-line/host.d.ts +62 -0
  63. package/dist/types/status-line/index.d.ts +1 -0
  64. package/dist/types/status-line/prompt-cache.d.ts +14 -0
  65. package/dist/types/status-line/schema.d.ts +1 -1
  66. package/dist/types/status-line/startup.d.ts +6 -0
  67. package/dist/types/status-line/types.d.ts +8 -21
  68. package/dist/types/theme/schema.d.ts +28 -1
  69. package/dist/types/theme/symbols.d.ts +1 -1
  70. package/dist/types/theme/theme-class.d.ts +12 -2
  71. package/dist/types/theme/theme.d.ts +1 -1
  72. package/dist/types/theme/tui-adapters.d.ts +7 -0
  73. package/dist/types/thinking.d.ts +12 -0
  74. package/dist/types/tools/ask.d.ts +1 -1
  75. package/dist/types/tools/bash.d.ts +21 -0
  76. package/dist/types/tools/find.d.ts +9 -1
  77. package/dist/types/tools/grep.d.ts +2 -1
  78. package/dist/types/tools/grouped-file-output.d.ts +17 -0
  79. package/dist/types/tools/job-widget.d.ts +2 -2
  80. package/dist/types/tools/lsp.d.ts +4 -2
  81. package/dist/types/tools/native-view.d.ts +4 -0
  82. package/dist/types/tools/renderer.d.ts +9 -1
  83. package/dist/types/tools/shell-trace.d.ts +10 -0
  84. package/dist/types/tools/shell-viz-render.d.ts +6 -0
  85. package/dist/types/tools/shell-viz.d.ts +16 -0
  86. package/dist/types/tools/wait.d.ts +2 -2
  87. package/dist/types/tools/web-search-types.d.ts +1 -0
  88. package/dist/types/tools/write.d.ts +2 -0
  89. package/dist/types/tui.d.ts +15 -1
  90. package/package.json +15 -11
  91. package/src/apps/shell-visualizer.d.ts +24 -0
  92. package/src/apps/shell-visualizer.ts +167 -0
  93. package/src/autocomplete.d.ts +20 -0
  94. package/src/autocomplete.ts +14 -0
  95. package/src/chat/assistant-message.ts +11 -6
  96. package/src/chat/cache-invalidation-marker.d.ts +15 -7
  97. package/src/chat/cache-invalidation-marker.ts +18 -9
  98. package/src/chat/chat-transcript-builder.d.ts +5 -3
  99. package/src/chat/chat-transcript-builder.ts +16 -12
  100. package/src/chat/display-preferences.d.ts +2 -0
  101. package/src/chat/display-preferences.ts +3 -0
  102. package/src/chat/extension-types.d.ts +72 -1
  103. package/src/chat/extension-types.ts +74 -1
  104. package/src/chat/image-loading.d.ts +2 -2
  105. package/src/chat/image-loading.ts +2 -2
  106. package/src/chat/messages.d.ts +2 -3
  107. package/src/chat/messages.ts +3 -8
  108. package/src/chat/read-tool-group.d.ts +15 -2
  109. package/src/chat/read-tool-group.ts +201 -41
  110. package/src/chat/skill-message.d.ts +1 -0
  111. package/src/chat/skill-message.ts +4 -0
  112. package/src/chat/spotlight.d.ts +203 -0
  113. package/src/chat/spotlight.ts +460 -0
  114. package/src/chat/tool-execution.d.ts +26 -5
  115. package/src/chat/tool-execution.ts +360 -38
  116. package/src/chat/transcript-actions.d.ts +11 -0
  117. package/src/chat/transcript-actions.ts +13 -1
  118. package/src/chat/transcript-browser.d.ts +9 -0
  119. package/src/chat/transcript-browser.ts +18 -0
  120. package/src/chat/transcript-presentation.d.ts +164 -0
  121. package/src/chat/transcript-presentation.ts +642 -0
  122. package/src/chat/ttsr-notification.d.ts +25 -0
  123. package/src/chat/ttsr-notification.ts +5 -0
  124. package/src/chrome/message-frame.d.ts +2 -0
  125. package/src/chrome/message-frame.ts +7 -0
  126. package/src/chrome/message-notice.d.ts +58 -0
  127. package/src/chrome/transcript-container.d.ts +27 -6
  128. package/src/chrome/transcript-container.ts +317 -66
  129. package/src/components/editor.ts +25 -1
  130. package/src/components/loader.d.ts +0 -2
  131. package/src/components/loader.ts +30 -18
  132. package/src/components/markdown.d.ts +11 -1
  133. package/src/components/markdown.ts +41 -16
  134. package/src/components/settings-list.d.ts +12 -2
  135. package/src/components/settings-list.ts +29 -13
  136. package/src/frame-rate.d.ts +18 -0
  137. package/src/frame-rate.ts +36 -0
  138. package/src/hotkeys-markdown.ts +4 -1
  139. package/src/index.d.ts +3 -0
  140. package/src/index.ts +3 -0
  141. package/src/keybinding-matchers.d.ts +4 -1
  142. package/src/keybinding-matchers.ts +13 -12
  143. package/src/kitty-graphics.d.ts +1 -1
  144. package/src/kitty-graphics.ts +3 -2
  145. package/src/motion-effects.d.ts +10 -0
  146. package/src/motion-effects.ts +27 -0
  147. package/src/native/backend.ts +66 -7
  148. package/src/native/encode.d.ts +2 -0
  149. package/src/native/encode.ts +2 -0
  150. package/src/native/measure.d.ts +10 -0
  151. package/src/native/measure.ts +185 -0
  152. package/src/native/overlay.d.ts +1 -1
  153. package/src/native/overlay.ts +1 -1
  154. package/src/native/quiet.d.ts +5 -0
  155. package/src/native/quiet.ts +105 -0
  156. package/src/native/reconcile.d.ts +6 -1
  157. package/src/native/reconcile.ts +16 -10
  158. package/src/native/spans.d.ts +6 -0
  159. package/src/native/spans.ts +40 -0
  160. package/src/native/state.d.ts +4 -0
  161. package/src/native/state.ts +18 -0
  162. package/src/overlays/agent-hub.ts +15 -2
  163. package/src/overlays/ask-dialog.ts +1 -0
  164. package/src/overlays/btw-history-panel.ts +73 -6
  165. package/src/overlays/link-browser.ts +295 -0
  166. package/src/overlays/running-subagent-badge.ts +2 -9
  167. package/src/overlays/settings-defs.ts +2 -1
  168. package/src/overlays/settings-selector.ts +18 -4
  169. package/src/overlays/snapcompact-shape-preview.ts +1 -1
  170. package/src/overlays/spotlight-sheet.ts +478 -0
  171. package/src/overlays/usage-dashboard.ts +6 -5
  172. package/src/prompt/composer-attachments.d.ts +5 -2
  173. package/src/prompt/composer-attachments.ts +6 -6
  174. package/src/prompt/composer-cache.ts +17 -16
  175. package/src/prompt/composer.ts +30 -123
  176. package/src/prompt/custom-editor.ts +17 -13
  177. package/src/prompt/gradient-highlight.d.ts +2 -2
  178. package/src/prompt/gradient-highlight.ts +5 -4
  179. package/src/prompt/magic-keywords.d.ts +2 -0
  180. package/src/prompt/magic-keywords.ts +4 -1
  181. package/src/prompt/model-mention-autocomplete.ts +73 -20
  182. package/src/prompt/model-mention-syntax.d.ts +6 -0
  183. package/src/prompt/model-mention-syntax.ts +9 -0
  184. package/src/prompt/prompt-action-autocomplete.ts +49 -33
  185. package/src/prompt/tips.txt +1 -0
  186. package/src/prompt/welcome.ts +104 -2
  187. package/src/render/extension-links.d.ts +0 -6
  188. package/src/render/extension-links.ts +0 -20
  189. package/src/render/index.d.ts +1 -0
  190. package/src/render/index.ts +1 -0
  191. package/src/render/link-hints.d.ts +78 -0
  192. package/src/render/link-hints.ts +299 -0
  193. package/src/render/render-utils.d.ts +0 -2
  194. package/src/render/render-utils.ts +0 -5
  195. package/src/setup/scenes/glyph.ts +1 -1
  196. package/src/setup/scenes/types.ts +8 -0
  197. package/src/setup/scenes/updates.ts +116 -0
  198. package/src/setup/wizard.ts +19 -8
  199. package/src/spinner-clock.d.ts +34 -0
  200. package/src/spinner-clock.ts +79 -0
  201. package/src/status-line/component.ts +145 -53
  202. package/src/status-line/host.ts +51 -0
  203. package/src/status-line/index.ts +1 -0
  204. package/src/status-line/presets.ts +3 -1
  205. package/src/status-line/prompt-cache.ts +154 -0
  206. package/src/status-line/schema.ts +1 -1
  207. package/src/status-line/segments.ts +33 -22
  208. package/src/status-line/startup.ts +23 -5
  209. package/src/status-line/types.ts +8 -22
  210. package/src/stdin-buffer.ts +89 -46
  211. package/src/terminal-capabilities.ts +3 -3
  212. package/src/terminal.ts +1 -8
  213. package/src/theme/loader.ts +3 -2
  214. package/src/theme/schema-validation.ts +1 -1
  215. package/src/theme/schema.d.ts +28 -1
  216. package/src/theme/schema.ts +30 -1
  217. package/src/theme/symbols.d.ts +1 -1
  218. package/src/theme/symbols.ts +15 -3
  219. package/src/theme/theme-class.d.ts +12 -2
  220. package/src/theme/theme-class.ts +23 -0
  221. package/src/theme/theme-schema.json +1 -1
  222. package/src/theme/theme.d.ts +1 -1
  223. package/src/theme/theme.ts +3 -7
  224. package/src/theme/tui-adapters.d.ts +7 -0
  225. package/src/theme/tui-adapters.ts +33 -1
  226. package/src/thinking.d.ts +12 -0
  227. package/src/thinking.ts +31 -0
  228. package/src/tools/ask.d.ts +1 -1
  229. package/src/tools/ask.ts +99 -38
  230. package/src/tools/ast-edit.ts +51 -32
  231. package/src/tools/ast-grep.ts +31 -19
  232. package/src/tools/bash.d.ts +21 -0
  233. package/src/tools/bash.ts +166 -24
  234. package/src/tools/find.d.ts +9 -1
  235. package/src/tools/find.ts +23 -2
  236. package/src/tools/grep.d.ts +2 -1
  237. package/src/tools/grep.ts +52 -36
  238. package/src/tools/grouped-file-output.d.ts +17 -0
  239. package/src/tools/grouped-file-output.ts +20 -2
  240. package/src/tools/job-widget.d.ts +2 -2
  241. package/src/tools/job-widget.ts +2 -2
  242. package/src/tools/lsp.d.ts +4 -2
  243. package/src/tools/lsp.ts +537 -642
  244. package/src/tools/native-view.d.ts +4 -0
  245. package/src/tools/native-view.ts +8 -2
  246. package/src/tools/renderer.d.ts +9 -1
  247. package/src/tools/renderer.ts +9 -1
  248. package/src/tools/shell-trace.d.ts +10 -0
  249. package/src/tools/shell-trace.ts +80 -0
  250. package/src/tools/shell-viz-render.d.ts +6 -0
  251. package/src/tools/shell-viz-render.ts +156 -0
  252. package/src/tools/shell-viz.d.ts +16 -0
  253. package/src/tools/shell-viz.ts +181 -0
  254. package/src/tools/streaming-output.ts +18 -8
  255. package/src/tools/task.ts +1 -1
  256. package/src/tools/wait.d.ts +2 -2
  257. package/src/tools/wait.ts +39 -34
  258. package/src/tools/web-search-types.d.ts +1 -0
  259. package/src/tools/web-search-types.ts +1 -0
  260. package/src/tools/write.d.ts +2 -0
  261. package/src/tools/write.ts +2 -0
  262. package/src/tui.d.ts +15 -1
  263. package/src/tui.ts +63 -6
  264. package/src/windows-input-mode.ts +7 -1
  265. package/dist/types/chat/collab-prompt-message.d.ts +0 -14
  266. package/dist/types/chrome/collab-qrcode.d.ts +0 -35
  267. package/src/chat/collab-prompt-message.d.ts +0 -14
  268. package/src/chat/collab-prompt-message.ts +0 -46
  269. package/src/chrome/collab-qrcode.ts +0 -99
package/CHANGELOG.md CHANGED
@@ -1,8 +1,23 @@
1
1
  ## [Unreleased]
2
2
 
3
- ## [1.4.10] - 2026-11-05
3
+ ## [1.4.12] - 2026-11-08
4
4
 
5
- - Released as part of Zeta 1.4.10; no package-specific user-visible changes.
5
+ - Synced with upstream OMP v18.18.0.
6
+ - Released as part of Zeta 1.4.12; no package-specific user-visible changes.
7
+
8
+ ### Added
9
+
10
+ - Added configurable editor padding via `editorPaddingX` theme option
11
+ - Added `inputCursor` symbol for customizing the text input cursor character
12
+
13
+ ### Changed
14
+
15
+ - Settings list descriptions now wrap to the available width instead of truncating
16
+ - Changed Editor component to use proper box borders with vertical side borders instead of horizontal-only borders
17
+
18
+ ### Fixed
19
+
20
+ - TUI now filters out key release events by default, preventing double-processing of keys in editors and other components
6
21
 
7
22
  ## [9.4.0] - 2026-01-31
8
23
 
@@ -48,10 +63,6 @@
48
63
 
49
64
  ## [5.6.7] - 2026-01-18
50
65
 
51
- ### Added
52
-
53
- - Added configurable editor padding via `editorPaddingX` theme option
54
-
55
66
  ### Changed
56
67
 
57
68
  - Updated tab bar rendering to wrap text across multiple lines when content exceeds available width
@@ -96,26 +107,10 @@
96
107
 
97
108
  ## [3.20.0] - 2026-01-06
98
109
 
99
- ### Changed
100
-
101
- - Settings list descriptions now wrap to the available width instead of truncating
102
-
103
110
  ### Fixed
104
111
 
105
112
  - Fixed Shift+Enter detection in legacy terminals that send ESC+CR sequence
106
113
 
107
- ## [3.15.0] - 2026-01-05
108
-
109
- ### Added
110
-
111
- - Added `inputCursor` symbol for customizing the text input cursor character
112
-
113
- ## [3.9.1337] - 2026-01-04
114
-
115
- ### Changed
116
-
117
- - Changed Editor component to use proper box borders with vertical side borders instead of horizontal-only borders
118
-
119
114
  ## [1.500.0] - 2026-01-03
120
115
 
121
116
  ### Added
@@ -126,226 +121,25 @@
126
121
 
127
122
  Initial release under @oh-my-pi scope. See previous releases at [badlogic/pi-mono](https://github.com/badlogic/pi-mono).
128
123
 
129
- ## [1.4.9] - 2026-11-03
130
-
131
- - Synced with upstream OMP v18.16.0: composer predictions, status glyph changes, and TUI link handling.
132
-
133
- ### Breaking Changes
134
-
135
- - Removed `KeyEventType` export from public API
136
- - `Editor` constructor now requires `TUI` as first parameter: `new Editor(tui, theme)`. This enables automatic vertical scrolling when content exceeds terminal height. ([#732](https://github.com/badlogic/pi-mono/issues/732))
137
- - Removed `Key` helper object from public API; use string literals like `"ctrl+c"` instead of `Key.ctrl("c")`
138
- - **Key detection functions removed**: All `isXxx()` key detection functions (`isEnter()`, `isEscape()`, `isCtrlC()`, etc.) have been removed. Use `matchesKey(data, keyId)` instead (e.g., `matchesKey(data, "enter")`, `matchesKey(data, "ctrl+c")`). This affects hooks and custom tools that use `ctx.ui.custom()` with keyboard input handling. ([#405](https://github.com/badlogic/pi-mono/pull/405))
124
+ ## [1.4.11] - 2026-11-06
139
125
 
140
- ### Added
141
-
142
- - Added `Alt+D` keybinding to delete words forward
143
- - Added `Ctrl+Y` keybinding to yank from kill ring
144
- - Added `waitForRender()` method to await pending renders
145
- - Added Focusable interface and hardware cursor marker support for IME positioning
146
- - Added support for shifted symbol keys in keybindings
147
- - Added `symbols` property to `EditorTheme`, `MarkdownTheme`, and `SelectListTheme` interfaces for component-level symbol customization
148
- - Overlay compositing via `TUI.showOverlay()` and `TUI.hideOverlay()` for `ctx.ui.custom()` with `{ overlay: true }`
149
- - Kitty keyboard protocol flag 2 support for key release events (`isKeyRelease()`, `isKeyRepeat()`, `KeyEventType`)
150
- - `setKittyProtocolActive()`, `isKittyProtocolActive()` for Kitty protocol state management
151
- - `kittyProtocolActive` property on Terminal interface to query Kitty protocol state
152
- - `Component.wantsKeyRelease` property to opt-in to key release events (default false)
153
- - Input component `onEscape` callback for handling escape key presses
154
- - Emergency terminal restore to prevent corrupted state on crashes
155
- - Overhauled UI with welcome screen and powerline footer
156
- - Theme-configurable HTML export colors
157
- - `ctx.ui.theme` getter for styling status text with theme colors
158
- - Added `PI_TUI_WRITE_LOG` environment variable to capture raw ANSI output for debugging
159
- - Added legacy Alt+letter handling and Alt+D delete word forward support in the editor keymap. ([#810](https://github.com/badlogic/pi-mono/pull/810) by [@Perlence](https://github.com/Perlence))
160
- - `showOverlay()` now returns `OverlayHandle` with `hide()`, `setHidden(boolean)`, `isHidden()` for programmatic visibility control ([#667](https://github.com/badlogic/pi-mono/pull/667) by [@nicobailon](https://github.com/nicobailon))
161
- - New exported types: `OverlayAnchor`, `OverlayHandle`, `OverlayMargin`, `OverlayOptions`, `SizeValue` ([#667](https://github.com/badlogic/pi-mono/pull/667) by [@nicobailon](https://github.com/nicobailon))
162
- - `truncateToWidth()` now accepts optional `pad` parameter to pad result with spaces to exactly `maxWidth` ([#667](https://github.com/badlogic/pi-mono/pull/667) by [@nicobailon](https://github.com/nicobailon))
163
- - **Experimental:** Overlay compositing for `ctx.ui.custom()` with `{ overlay: true }` option ([#558](https://github.com/badlogic/pi-mono/pull/558) by [@nicobailon](https://github.com/nicobailon))
164
- - `EditorComponent` interface for custom editor implementations
165
- - `StdinBuffer` class to split batched stdin into individual sequences (adapted from [OpenTUI](https://github.com/anomalyco/opentui), MIT license)
166
- - `Editor.getExpandedText()` method that returns text with paste markers expanded to their actual content ([#444](https://github.com/badlogic/pi-mono/pull/444) by [@aliou](https://github.com/aliou))
167
- - Added mermaid block extraction and deduplication utilities (extractMermaidBlocks)
168
- - Added `Alt+Delete` as a delete-word-forward shortcut
169
- - Added configurable code block indentation for Markdown rendering
170
- - Added undo support in the editor via `Ctrl+-`.
171
- - Added configurable code block indentation for Markdown rendering.
172
- - Added `Alt+Delete` as a delete-word-forward shortcut.
173
- - Added `isPageUp()` and `isPageDown()` helper functions
174
- - Added `SizeValue` type for CSS-like overlay sizing (absolute or percentage strings like `"50%"`)
175
- - Added `OverlayHandle` interface with `hide()`, `setHidden()`, `isHidden()` methods for overlay visibility control
176
- - Added `visible` callback to `OverlayOptions` for dynamic visibility based on terminal dimensions
177
- - Added `pad` parameter to `truncateToWidth()` for padding result with spaces to exact width
178
- - `StdinBuffer` class to split batched stdin into individual sequences
179
- - Added `isCtrlY` helper function for detecting Ctrl+Y keyboard input
180
- - Added configurable editor keybindings with typed key identifiers and action matching
181
- - Added word-wrapped editor rendering for long lines
182
- - Added `getText()` method to Text component for retrieving current text content
183
- - Added `fullRedraws` readonly property to TUI class for tracking full screen redraws
184
- - Added `showHardwareCursor` getter and setter to control cursor visibility while keeping IME positioning active. ([#800](https://github.com/badlogic/pi-mono/pull/800) by [@ghoulr](https://github.com/ghoulr))
185
- - Added Emacs-style kill ring editing with yank and yank-pop keybindings. ([#810](https://github.com/badlogic/pi-mono/pull/810) by [@Perlence](https://github.com/Perlence))
186
- - `EditorOptions` with optional `paddingX` for horizontal content padding, plus `getPaddingX()`/`setPaddingX()` methods ([#791](https://github.com/badlogic/pi-mono/pull/791) by [@ferologics](https://github.com/ferologics))
187
- - Expanded keymap coverage for terminal compatibility: added support for Home/End keys in tmux, additional modifier combinations, and improved key sequence parsing ([#752](https://github.com/badlogic/pi-mono/pull/752) by [@richardgill](https://github.com/richardgill))
188
- - `OverlayOptions.visible` callback for responsive overlays - receives terminal dimensions, return false to hide ([#667](https://github.com/badlogic/pi-mono/pull/667) by [@nicobailon](https://github.com/nicobailon))
189
- - `pageUp` and `pageDown` key support with `selectPageUp`/`selectPageDown` editor actions ([#662](https://github.com/badlogic/pi-mono/pull/662) by [@aliou](https://github.com/aliou))
190
- - `fuzzyFilter()` and `fuzzyMatch()` utilities for fuzzy text matching
191
- - Slash command autocomplete now uses fuzzy matching instead of prefix matching
192
- - Added setAutocompleteMaxVisible() configuration (3-20 items)
193
- - Added image detection to terminal capabilities (containsImage method)
194
- - Added stdin monitoring to detect stalled input events and log warnings
195
- - Added `pageUp` and `pageDown` key support with `selectPageUp`/`selectPageDown` editor actions
196
- - Add `getExpandedText()` to editor for expanding paste markers
197
- - Added `SymbolTheme` interface for customizing UI symbols including cursors, borders, spinners, and box-drawing characters
198
- - Added support for custom spinner frames in the Loader component
199
- - Added `setTopBorder()` method to Editor component for displaying custom status content in the top border
200
- - Added `getWidth()` method to TUI class for retrieving terminal width
201
- - Added rounded corner box-drawing characters to Editor component borders
202
- - Added legacy terminal support for Ctrl+symbol keys (Ctrl+\, Ctrl+], Ctrl+-) and their Ctrl+Alt variants. ([#831](https://github.com/badlogic/pi-mono/pull/831) by [@Perlence](https://github.com/Perlence))
203
- - Kitty keyboard protocol flag 2 support for key release events. New exports: `isKeyRelease(data)`, `isKeyRepeat(data)`, `KeyEventType` type. Terminals supporting Kitty protocol (Kitty, Ghostty, WezTerm) now send proper key-up events.
204
- - `SettingsListOptions` with `enableSearch` for fuzzy filtering in `SettingsList` ([#643](https://github.com/badlogic/pi-mono/pull/643) by [@ninlds](https://github.com/ninlds))
205
- - `Editor.insertTextAtCursor(text)` method for programmatic text insertion ([#419](https://github.com/badlogic/pi-mono/issues/419))
206
- - `EditorKeybindingsManager` for configurable editor keybindings. Components now use `matchesKey()` and keybindings manager instead of individual `isXxx()` functions. ([#405](https://github.com/badlogic/pi-mono/pull/405) by [@hjanuschka](https://github.com/hjanuschka))
207
- - Symbol key support in keybinding system: `SymbolKey` type with 32 symbol keys, `Key` constants (e.g., `Key.backtick`, `Key.comma`), updated `matchesKey()` and `parseKey()` to handle symbol input ([#450](https://github.com/badlogic/pi-mono/pull/450) by [@kaofelix](https://github.com/kaofelix))
208
- - Editor now supports Page Up/Down keys (Fn+Up/Down on MacBook) for scrolling through large content ([#732](https://github.com/badlogic/pi-mono/issues/732))
209
- - Added terminal graphics encoding (iTerm2/Kitty) for mermaid diagrams with automatic width scaling
210
- - Added `setMaxHeight()` method to limit editor height with scrolling
211
- - Added Emacs-style kill ring for text deletion operations
212
- - Added `isCapsLock` helper function for detecting Caps Lock key press via Kitty protocol
213
- - TabBar component for horizontal tab navigation
214
- - `AssistantMessageComponent`'s native turn footer leads with a Copy icon (`zeta.turn.copy`) and a dot instead of the clock icon; it copies the answer's text and shows when the host handles transcript actions
215
- - Add backslash+enter newline fallback for terminals without Kitty protocol
216
- - `codeBlockIndent` property on `MarkdownTheme` to customize code block content indentation (default: 2 spaces) ([#855](https://github.com/badlogic/pi-mono/pull/855) by [@terrorobe](https://github.com/terrorobe))
217
- - Added Alt+Delete as hotkey for delete word forwards ([#878](https://github.com/badlogic/pi-mono/pull/878) by [@Perlence](https://github.com/Perlence))
126
+ - Released as part of Zeta 1.4.11; no package-specific user-visible changes.
218
127
 
219
- ### Changed
220
-
221
- - Updated TypeScript configuration for better publish-time configuration handling with tsconfig.publish.json
222
- - `UserMessageComponent`'s native hover toolbar (`zeta.user.tools`) leads with Copy and Rewind icon buttons (`copy`, `rewind`) instead of text labels, then a dot and the time, like the turn usage footer
223
- - `ContextUsageView`'s native body (on terminals with `meter`) leads with the tokens used and the room left before auto-compaction, then one stacked bar ticked at the threshold, the breakdown as rows (`zeta.context.cat`, `.cat.free`, `.cat.buffer`: swatch, name, tokens, share; the exact count in the row's `title`) and the snapcompact estimate as labelled rows (`zeta.context.snap`); the blocks meter and legend `kv` are gone, and `contextUsageHead` no longer repeats the window size
224
- - `AskDialogComponent`'s native root is `zeta.editor.ask` (collapsed: `zeta.editor.ask.hidden`, the countdown, the question as `zeta.ask.summary`, Skip and Show): a chosen answer is the `accent`-toned row (a check also carries the check icon) instead of the highlighted one; multi-select Other… is `zeta.ask.other.check`; the question tabs check answered questions and say their keys in the strip's `title`; the countdown moves from the head to the action bar beside Hide; the preview is `zeta.ask.preview`; the Review tab leads with `zeta.ask.notice` and lists answers (`zeta.ask.answers`) by question name with inline code mono and no `(Recommended)` suffix; option descriptions run inline code mono, notes ride the row's detail as `em`; Submit/Next's tooltip names only Enter (and Space on a multi-select)
225
- - `MCPAddWizard`'s native sheet asks one question per step: a phase strip (`zeta.mcpAdd.progress` of `zeta.mcpAdd.phase`, toned done/current/upcoming and `neutral` when no auth was needed), the question and its lead (`zeta.mcpAdd.title`, `zeta.mcpAdd.tag` for optional fields, `zeta.mcpAdd.lead`), then a mono field with a placeholder and its rule or refusal (`zeta.mcpAdd.field`, `tone: "error"`; `zeta.mcpAdd.note`), choice rows with icons and mono tags (`zeta.mcpAdd.choices`), status lines (`zeta.mcpAdd.status`, `zeta.mcpAdd.checks`, `zeta.mcpAdd.error`) or the review rows (`zeta.mcpAdd.summary`). Cancel, Back and Continue / Save server buttons run Ctrl+C, Esc and Enter instead of a key-hint strip. The connection test shows its own busy step, the OAuth client secret field is masked, and the review saves on Enter (no Yes/No choice)
226
- - `ReportPanel`'s native body carries the role `zeta.report.body`
227
- - `HookInputComponent` describes a dock sheet (`zeta.overlay.hook-input` col) like `HookEditorComponent`'s: the title's first line (`zeta.hook-input.title`, the countdown as `zeta.hook-input.timer`) over its further lines (`zeta.hook-input.detail`), the field (`zeta.hook-input.field`, `tone: "error"` while a submit was refused) with its placeholder, and Cancel / Submit buttons that run Esc / Enter; the key legend under the field is terminal-only
228
- - `JobsSheet`'s native body is a master–detail split (`zeta.jobs.split`: `zeta.jobs.master` | `zeta.jobs.detail`): the job list grouped Running / Recent (`zeta.jobs.group` labels), each row a type icon tinted by status with its duration, beside the selected job's status pill, live elapsed and Cancel job (`zeta.jobs.status`), its task title or command (`zeta.jobs.title` / `zeta.jobs.command`), facts (`zeta.jobs.facts`: agent, directory, pids, exit code, artifact) and output (`zeta.jobs.out`, `zeta.jobs.nooutput`); the footer counts running and recent jobs (`zeta.jobs.summary`), and no jobs shows an empty state (`zeta.jobs.empty`). Task jobs no longer draw an `agent` node here
229
- - `BtwHistoryPanel`'s native sheet is centered and reads like a mail reader: the questions as two-line rows (`zeta.btw.history`, list `zeta.btw.list` / `zeta.btw.list.idle` while the answer has the keys) beside the selected thread (`zeta.btw.reader` › `zeta.btw.thread` › `zeta.btw.turn`: `zeta.btw.question` / `zeta.btw.followup`, `zeta.btw.meta`, `zeta.btw.answer`, `zeta.btw.error`), the follow-up field under the last answer (`zeta.btw.composer`), and footer buttons Stop answer, Copy answer, Close and Follow up (Cancel and Send while composing) in place of the focus labels and key-hint strip; an empty history is an `md` sheet (`zeta.btw.empty`)
230
- - The `wait` tool's native job rows (`zeta.wait.job`) are a single `row`: badge, id and label, progress and clock, without the output preview or capture notice beneath
231
- - The native bash run foot reads In background with a live clock (`zeta.run.time` without `stopped`) while a parked job's frames stream (`details.async.state === "running"`, partial), instead of Running
232
- - Moved `wrapTextWithAnsi` export to `@linxiraos/pi-natives` package
233
- - Default editor `newLine` binding now uses `shift+enter` only
234
- - Hardware cursor is now disabled by default for better terminal compatibility. Set `PI_HARDWARE_CURSOR=1` to enable (replaces `PI_NO_HARDWARE_CURSOR=1` which disabled it).
235
- - Migrated key parsing and matching logic to native implementation for improved performance
236
- - Simplified `isKeyRelease()` and `isKeyRepeat()` to use regex pattern matching instead of string inclusion checks
237
- - Refactored `visibleWidth` function to use caching wrapper around new `visibleWidthRaw` implementation for improved performance
238
- - Improved performance of key ID parsing with optimized cache lookup strategy
239
- - Simplified `visibleWidth` calculation to use consistent Bun.stringWidth approach for all string lengths
240
- - Replaced external `fd` binary with native fuzzy path search for `@`-prefixed autocomplete
241
- - Restructured terminal capabilities from interface-based to class-based model
242
- - Improved table column width calculation with word-aware wrapping
243
- - Refactored text utilities to use native WASM implementations for strings >256 chars with JS fast path
244
- - Added Ctrl+Backspace as a delete-word-backward keybinding and improved modified backspace matching
245
- - Migrated file system operations from synchronous to asynchronous APIs in autocomplete provider for non-blocking I/O
246
- - Migrated node module imports from named to namespace imports across all packages for consistency with project guidelines
247
- - Normalized keybinding definitions to lowercase internally
248
- - Improved fuzzy matching to handle alphanumeric swaps.
249
- - Normalized keybinding definitions to lowercase internally.
250
- - Changed `showOverlay()` to return `OverlayHandle` for controlling overlay visibility
251
- - Removed `widthPercent`, `maxHeightPercent`, `rowPercent`, `colPercent` from `OverlayOptions` (use percentage strings instead)
252
- - Improved file autocomplete to show directory listing when typing `@` with no query, and fall back to prefix matching when fuzzy search returns no results
253
- - Terminal startup now queries Kitty protocol support before enabling event reporting
254
- - Changed cursor style from block to thin blinking bar (▏) at end of line
255
- - Editor component now uses word wrapping instead of character-level wrapping for better readability ([#382](https://github.com/badlogic/pi-mono/pull/382) by [@nickseelert](https://github.com/nickseelert))
256
- - Renamed `EllipsisKind` enum to `Ellipsis` for clearer API naming
257
- - Changed hardcoded ellipsis character from theme-configurable to literal "…" in editor truncation
258
- - Improved blockquote rendering with text wrapping in Markdown component
259
- - Expanded Kitty keyboard protocol coverage for non-Latin layouts and legacy Alt sequences
260
- - Improved cursor positioning with safer bounds checking
261
- - Updated editor layout to respect configurable padding
262
- - Refactored scrolling logic for better viewport management
263
- - Key detection refactored: consolidated `is*()` functions into generic `matchesKey(data, keyId)` function that accepts key identifiers like `"ctrl+c"`, `"shift+enter"`, `"alt+left"`, etc.
264
- - Forked to @oh-my-pi scope with unified versioning across all packages
265
- - Fuzzy matching now scores consecutive matches higher and penalizes gaps more heavily for better relevance ([#860](https://github.com/badlogic/pi-mono/pull/860) by [@mitsuhiko](https://github.com/mitsuhiko))
266
- - Improved fuzzy file search performance by using native implementation instead of spawning external process
267
-
268
- ### Fixed
128
+ ## [1.4.10] - 2026-11-05
269
129
 
270
- - Crash on Unicode format characters in `visibleWidth()`
271
- - Markdown code block syntax highlighting
272
- - Fixed width overflow protection in overlay compositing to prevent TUI crashes
273
- - Key presses no longer dropped when batched with other events over SSH
274
- - Fixed `fd` tool detection to automatically find `fd` or `fdfind` in PATH when not explicitly configured
275
- - Fixed editor multi-line insertion handling and lastAction tracking ([#945](https://github.com/badlogic/pi-mono/pull/945) by [@Perlence](https://github.com/Perlence))
276
- - Fixed editor word wrapping to reserve a cursor column ([#934](https://github.com/badlogic/pi-mono/pull/934) by [@Perlence](https://github.com/Perlence))
277
- - Fixed editor word wrapping to use single-pass backtracking for whitespace handling ([#924](https://github.com/badlogic/pi-mono/pull/924) by [@Perlence](https://github.com/Perlence))
278
- - Fixed Kitty image ID allocation and cleanup to prevent image ID collisions between modules
279
- - Fixed viewport tracking and cursor positioning for overlays and content shrink scenarios
280
- - Autocomplete now allows searches with `/` characters (e.g., `folder1/folder2`) ([#882](https://github.com/badlogic/pi-mono/pull/882) by [@richardgill](https://github.com/richardgill))
281
- - Directory completions for `@` file attachments no longer add trailing space, allowing continued autocomplete into subdirectories
282
- - `visibleWidth()` and `extractAnsiCode()` now handle APC escape sequences (`ESC _ ... BEL`), fixing width calculation and string slicing for strings containing cursor markers
283
- - SelectList now handles multi-line descriptions by replacing newlines with spaces ([#728](https://github.com/badlogic/pi-mono/pull/728) by [@richardgill](https://github.com/richardgill))
284
- - Reset ANSI styles after each rendered line to prevent style leakage
285
- - Cursor position tracking when content shrinks with unchanged remaining lines
286
- - TUI renders with wrong dimensions after suspend/resume if terminal was resized while suspended ([#599](https://github.com/badlogic/pi-mono/issues/599))
287
- - Pasted content containing Kitty key release patterns (e.g., `:3F` in MAC addresses) was incorrectly filtered out ([#623](https://github.com/badlogic/pi-mono/pull/623) by [@ogulcancelik](https://github.com/ogulcancelik))
288
- - `visibleWidth()` now strips OSC 8 hyperlink sequences, fixing text wrapping for clickable links ([#396](https://github.com/badlogic/pi-mono/pull/396) by [@Cursivez](https://github.com/Cursivez))
289
-
290
- Older entries are archived in [packages/tui/CHANGELOG.md@9caccab691ce](https://github.com/can1357/oh-my-pi/blob/9caccab691ce575007f4b6bcbaf8f944723d5457/packages/tui/CHANGELOG.md).
291
- Older entries are archived in [packages/tui/CHANGELOG.md@58141d4e5fa8](https://github.com/can1357/oh-my-pi/blob/58141d4e5fa892166024e2168866c45e0baacde3/packages/tui/CHANGELOG.md).
292
- - Corrected editor end-of-line cursor rendering assertion to use includes() instead of endsWith()
293
- - Fixed potential errors during emergency terminal restore when terminal is already dead
294
- - Fixed autocomplete race condition by tracking request ID to prevent stale suggestion results
295
- - Added legacy terminal support for `Ctrl+` symbol key combinations
296
- - Added legacy terminal support for `Ctrl+` symbol key combinations.
297
- - Fixed backspace handling with additional codepoint support
298
- - Fixed Alt+letter key combinations for better recognition
299
- - TUI now filters out key release events by default, preventing double-processing of keys
300
- - `matchesKey()` now correctly matches Kitty protocol sequences for unmodified letter keys
301
- - Crash when pasting text with trailing whitespace exceeding terminal width through Markdown rendering
302
- - Slash command menu now only triggers when the editor input is otherwise empty ([#904](https://github.com/badlogic/pi-mono/issues/904))
303
- - Center-anchored overlays now stay vertically centered when resizing the terminal taller after a shrink ([#950](https://github.com/badlogic/pi-mono/pull/950) by [@nicobailon](https://github.com/nicobailon))
304
- - Shift+Space, Shift+Backspace, and Shift+Delete now work correctly in Kitty-protocol terminals (Kitty, WezTerm, etc.) instead of being silently ignored ([#411](https://github.com/badlogic/pi-mono/pull/411) by [@nathyong](https://github.com/nathyong))
305
- - Improved Kitty terminal key sequence parsing to correctly handle text field codepoints in CSI-u sequences
306
- - Fixed handling of private use Unicode codepoints (U+E000 to U+F8FF) in Kitty key decoding to prevent invalid character interpretation
307
- - Simplified terminal write error handling to mark terminal as dead on any write failure
308
- - Fixed multi-line strings in renderOutputBlock causing width overflow
309
- - Fixed slash command autocomplete applying stale completion when typing quickly
310
- - Reserved cursor space for zero padding and corrected end-of-line cursor rendering to prevent wrap glitches
311
- - Fixed viewport tracking after partial renders to prevent autocomplete list artifacts
312
- - Rendering optimizations: only re-render changed lines
313
- - Refactor input component to use keybindings manager
314
- - Fixed editor cursor blinking by allowing terminal cursor positioning when enabled.
315
- - Editor no longer corrupts terminal display when text exceeds screen height. Content now scrolls vertically with indicators showing lines above/below the viewport. Max height is 30% of terminal (minimum 5 lines). ([#732](https://github.com/badlogic/pi-mono/issues/732))
316
- - Cursor now moves to end of content on exit, preventing status line from being overwritten ([#629](https://github.com/badlogic/pi-mono/pull/629) by [@tallshort](https://github.com/tallshort))
317
- - Slash command autocomplete now triggers for commands starting with `.`, `-`, or `_` (e.g., `/.land`, `/-foo`) ([#422](https://github.com/badlogic/pi-mono/issues/422))
318
- - Numbered list items showing "1." for all items when code blocks break list continuity ([#660](https://github.com/badlogic/pi-mono/pull/660) by [@ogulcancelik](https://github.com/ogulcancelik))
319
- - Reduced flicker by only re-rendering changed lines ([#617](https://github.com/badlogic/pi-mono/pull/617) by [@ogulcancelik](https://github.com/ogulcancelik))
320
- - Crash when pasting text with trailing whitespace exceeding terminal width through Markdown rendering ([#457](https://github.com/badlogic/pi-mono/pull/457) by [@robinwander](https://github.com/robinwander))
321
- - Fixed rendering issues on Windows by preventing re-entrant renders
322
- - Remove Kitty protocol query timeout that caused shift+enter delays
323
- - Add bracketed paste check to prevent false key release/repeat detection
324
- - Strip OSC 8 hyperlink sequences in `visibleWidth()`
325
- - Remove trailing space padding from Text, Markdown, and TruncatedText components when no background color is set (fixes copied text including unwanted whitespace)
326
- - Fixed Ctrl+Enter sequences to insert new lines in the editor
327
- - Fixed appended lines not being committed to scrollback, causing earlier content to be overwritten when viewport fills ([#954](https://github.com/badlogic/pi-mono/issues/954))
328
- - Autolinked emails no longer display redundant `(mailto:...)` suffix in markdown output ([#888](https://github.com/badlogic/pi-mono/pull/888) by [@terrorobe](https://github.com/terrorobe))
329
- - `matchesKey()` now correctly matches Kitty protocol sequences for unmodified letter keys (needed for key release events)
330
- - Key presses no longer dropped when batched with other events over SSH ([#538](https://github.com/badlogic/pi-mono/pull/538))
130
+ - Released as part of Zeta 1.4.10; no package-specific user-visible changes.
331
131
 
332
- ### Removed
132
+ ## [1.4.9] - 2026-11-03
333
133
 
334
- - The welcome/splash brand art is now generated with the standard FIGlet tool instead of being drawn by hand: `ZETA_LOGO` renders the mark `Z` (the ASCII form of `Ζ`), `ZETA_WORDMARK` renders `Zeta` (both in the standard `ANSI Shadow` font) and `ZETA_SUBLINE` renders the `Linxira-Zeta` identity line in `mini`, with the version under the wordmark. `bun scripts/brand/generate-logo-art.ts` regenerates the three constants from the vendored fonts, and the brand guard fails on any hand-edited glyph.
335
- - Removed `ellipsis` property from `SymbolTheme` interface
336
- - Removed `extractAnsiCode` function from public API
337
- - Removed TUI layout engine exports from public API (BoxNode, ColumnNode, LayoutNode, etc.)
338
- - Removed `visibleWidth` benchmark file in favor of Kitty sequence benchmarking
339
- - Removed `truncateToWidth`, `sliceWithWidth`, and `extractSegments` functions from public API (now re-exported directly from @linxiraos/pi-natives)
340
- - `SingleResult` (and the task tool's settled payload) carries the failure diagnostics an agent-driven model switch needs: optional `failureClass` (`usage-limit` / `auth` / `account-policy` / `context-overflow` / `transient` / `aborted` / `unknown`), optional `fallbackCandidates` (other selectors this session could run), and optional `modelChange` (`{ source: "spawn-param" | "wake-param", from?, to }`) recording that a caller-supplied model replaced the default one. All three stay absent unless a run actually reports them.
134
+ - Synced with upstream OMP v18.18.0.
341
135
 
342
136
  ## [1.4.7] - 2026-10-30
343
137
 
344
- - Synced with upstream OMP v18.14.0; no package-specific user-visible changes.
138
+ - Synced with upstream OMP v18.18.0.
345
139
 
346
140
  ## [1.4.5] - 2026-10-28
347
141
 
348
- - Synced with upstream OMP v18.13.2: `/context` is now a context viewer (overview + detail); the legacy grid renderer is gone.
142
+ - Synced with upstream OMP v18.18.0.
349
143
 
350
144
  ## [1.4.4] - 2026-10-26
351
145
 
@@ -567,12 +361,6 @@ Older entries are archived in [packages/tui/CHANGELOG.md@58141d4e5fa8](https://g
567
361
 
568
362
  - Overlay compositing crash when rendered lines exceed terminal width due to complex ANSI/OSC sequences (e.g., hyperlinks in subagent output) ([#667](https://github.com/badlogic/pi-mono/pull/667) by [@nicobailon](https://github.com/nicobailon))
569
363
 
570
- ## [0.37.8] - 2026-01-07
571
-
572
- ### Fixed
573
-
574
- - TUI now filters out key release events by default, preventing double-processing of keys in editors and other components
575
-
576
364
  ## [0.31.1] - 2026-01-02
577
365
 
578
366
  Older entries are archived in [packages/tui/CHANGELOG.md@fa14205f838f](https://github.com/can1357/oh-my-pi/blob/fa14205f838f282fcea048c64fca74026789a492/packages/tui/CHANGELOG.md).
@@ -583,3 +371,12 @@ Older entries are archived in [packages/tui/CHANGELOG.md@89ad0a77d575](https://g
583
371
  - Fixed TUI shutdown leaving paint-time terminal state and Kitty image data behind by restoring synchronized-output/autowrap modes and purging all transmitted Kitty image ids on stop.
584
372
  - Fixed stdin buffering splitting surrogate-pair text into UTF-16 halves and reduced timing sensitivity for incomplete escape sequences.
585
373
  - Fixed terminal content not reflowing after a resize on terminals using DEC 2048 in-band resize (kitty/Ghostty/iTerm2/WezTerm). `ProcessTerminal.columns`/`rows` returned the last cached in-band report even after the OS already knew the new size, so a SIGWINCH whose in-band report was dropped or malformed (split past the stdin flush window, `:`-subparameter fields) re-rendered the whole transcript at the stale width. OS resize events now reconcile cached in-band geometry against the live `process.stdout` dimensions, dropping a stale cached value so the next render uses the true size; a valid in-band report still re-seeds pixel sizing.
374
+ - Fixed focus-changing in-place menus leaving stale Working/menu rows and parking the hardware cursor in the old menu viewport on terminals without a scroll-position oracle.
375
+ - Fixed redundant terminal cursor updates so repeated renders that do not change the cursor row, column, or visibility no longer emit ANSI move/hide sequences
376
+ - Fixed repeated cursor updates during no-op re-renders by reusing the last known cursor state, preventing unnecessary cursor position changes and hide/show sequences
377
+ - Fixed the kitty keyboard progressive-enhancement probe to honor the `CSI ? <flags> u` reply even when the terminal answers the DA1 sentinel first. Previously the kitty reply was discarded once the DA1-driven `modifyOtherKeys` fallback engaged, so terminals like Superset/xterm-on-Electron stayed on the fallback and delivered Shift+Enter as a bare `\r` ([#2042](https://github.com/can1357/oh-my-pi/issues/2042)).
378
+ - Bounded TUI line fitting for oversized raw rows so ANSI-heavy subagent output and zero-width-heavy text cannot grow render buffers independently of the viewport or hide visible suffix text ([#2045](https://github.com/can1357/oh-my-pi/issues/2045)).
379
+ - Fixed tmux offscreen-shrink frames to skip repainting when the visible tail is unchanged, avoiding intermittent blank/refresh flashes in pane terminals ([#2046](https://github.com/can1357/oh-my-pi/issues/2046)).
380
+ - Fixed Windows ConPTY hosts (Windows Terminal, Tabby, Hyper, VS Code) parking the viewport at the top of a full paint after a `/resume` or any long-session repaint. `ProcessTerminal#safeWrite` now splits oversized writes into ≤ 8 KiB pieces at line boundaries on `win32` and inside WSL (where stdout still crosses ConPTY at the `wslhost` boundary) so each underlying `WriteFile` stays below the ~32 KiB threshold where ConPTY stops tracking the cursor; the data was always delivered, but the host UI's scroll position would not follow until any focus event forced a re-query. ([#2034](https://github.com/can1357/oh-my-pi/issues/2034))
381
+
382
+ Older entries are archived in [packages/tui/CHANGELOG.md@bdbb5c920f69](https://github.com/can1357/oh-my-pi/blob/bdbb5c920f693caff287c50996c116e42e37992b/packages/tui/CHANGELOG.md).
package/README.md CHANGED
@@ -318,7 +318,7 @@ Renders markdown with syntax highlighting and theming support.
318
318
 
319
319
  ```typescript
320
320
  interface MarkdownTheme {
321
- heading: (text: string) => string;
321
+ heading: (text: string, depth: number) => string; // depth 1–6
322
322
  link: (text: string) => string;
323
323
  linkUrl: (text: string) => string;
324
324
  code: (text: string) => string;
@@ -332,6 +332,9 @@ interface MarkdownTheme {
332
332
  italic: (text: string) => string;
333
333
  strikethrough: (text: string) => string;
334
334
  underline: (text: string) => string;
335
+ strong?: (text: string) => string; // **strong**; defaults to bold
336
+ emphasis?: (text: string) => string; // *emphasis*; defaults to italic
337
+ tableHeader?: (text: string) => string; // defaults to bold
335
338
  highlightCode?: (code: string, lang?: string) => string[];
336
339
  symbols: SymbolTheme;
337
340
  }
@@ -5,6 +5,49 @@ This generated, self-contained aggregate accompanies Zeta release artifacts.
5
5
  It does not replace package-level license files. First-party licensing grants
6
6
  no rights in third-party code, fonts, data, or marks identified below.
7
7
 
8
+ ZETA IS A FORK AND REDISTRIBUTION
9
+ =================================
10
+
11
+ Zeta is a downstream distribution of oh-my-pi (OMP), and it also contains forks
12
+ of OMP Web, OMP Studio and TermIDE. Upstream copyright notices stay with their
13
+ files and are not restated here. This section states, for every forked or
14
+ vendored application tree, where it came from, what Zeta changed, and why.
15
+ Upstream URLs are the ones configured in `.git/config`; the per-tree deviation
16
+ ledgers are authoritative for details.
17
+
18
+ Forked application trees:
19
+
20
+ | Path | Upstream | Snapshot | License | What Zeta changed |
21
+ |---|---|---|---|---|
22
+ | `packages/ main/ crates/ python/ lsp/ sdk/ types/ skills/` | oh-my-pi (OMP), https://github.com/can1357/oh-my-pi | integrated through tag `v18.15.0` (`document/upstream-sync.md`) | see upstream files | product name, paths, command names and env prefixes; branded assets; internal identifiers renamed to `__zeta*` |
23
+ | `web-ui/` | OMP Web, https://github.com/17380936778/omp-web | frozen snapshot, **abandoned 2026-11-05** (`document/upstream-sync.md`) | see upstream files | third-party UI, not maintained by Zeta: frozen as received, no builds, no fixes; the product renderer is `web-app/` (`Differences from Upstream` in README) |
24
+ | `web-app/` (`src/studio`, `src/vendor/*`) | OMP Studio 0.1.17, https://github.com/the-snowpear/omp-studio | `0.1.17`, ported into the product renderer | MIT | maintained by Zeta now: the host contract is reimplemented in `studio-host` (pair/CSRF/query/command/events), the renderer was rebranded (`zeta-studio` wire name, Zeta links/fixtures), and Zeta adds windowed transcripts, precompressed static serving, the plugin registry, and the usage dashboard |
25
+ | `termide/` | TermIDE, https://github.com/termide/termide | tag `0.46.0` = `a027ca788cd4c9d24f060cdcd3195ca2e475617b` | MIT | deviations listed in `termide/VENDOR.md` (28 entries) |
26
+ | `editor/npm/*` (`@linxiraos/editor*`) | TermIDE `panel-editor` | same tree as `termide/` | MIT | built as the editor-only bin `termide-editor` (`editor/npm/editor/VENDOR.md`) |
27
+ | `plugins/official/*` | per plugin | per plugin | per plugin | each directory carries `plugin.json`, README with source, and its license |
28
+
29
+ Why the fork renames things at all: the upstream licenses and the product
30
+ identity both require that a downstream distribution not present itself as the
31
+ upstream. Renames therefore cover the product name, command names
32
+ (`zetawork` / `zetacode` / `zetaide`), the `zeta://` scheme, the npm scope
33
+ `@linxiraos/*`, and release asset names (`zeta-cli-*`). User-visible
34
+ configuration keeps accepting the legacy names during the transition, so an
35
+ existing installation does not silently break.
36
+
37
+ Brand and assets:
38
+
39
+ * Product marks — name, logos, app icons, wordmarks, splash art — are Zeta's own
40
+ and are not redistributed from any upstream. Upstream marks are not shipped.
41
+ * Assets that do come from an upstream are enumerated in the per-tree ledgers
42
+ above; each keeps its upstream license notice in place.
43
+
44
+ Frozen counterpart constants (interoperability, not branding):
45
+
46
+ * Stencil OIDC `client-id "omp"`, its issuer and scopes; `catalog.stencil.so`;
47
+ `docs.stencil.so/tern/protocol/`; the `__omp_judgment_images` upload key.
48
+ These are wire-compatible identifiers Zeta must keep, listed here so that a
49
+ brand sweep does not break them.
50
+
8
51
  PYTHON DEPENDENCY DISTRIBUTION ROLE
9
52
  ===================================
10
53
 
@@ -385,6 +428,62 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
385
428
  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
386
429
  SOFTWARE.
387
430
 
431
+ -------------------------------------------------------------------------------
432
+ web-app/src/studio + web-app/src/vendor/* + web-ui/components/studio +
433
+ web-ui/styles/studio + web-ui/lib/studio-protocol
434
+
435
+ Ported UI surface and protocol types from OMP Studio 0.1.17 (MIT).
436
+
437
+ - `web-ui/components/studio/` and `web-ui/styles/studio/` are derived from the
438
+ OMP Studio renderer (`apps/renderer/src`).
439
+ - `web-ui/lib/studio-protocol/` vendors the type and validation surface of
440
+ `@omp-studio/client-contract` and `@omp-studio/studio-protocol` (78 files, no
441
+ runtime dependency), so the ported renderer keeps its own read models.
442
+ - `web-ui/lib/studio-client/` is Zeta's own implementation of the
443
+ `StudioClient` interface over the Zeta gateway; it is not derived from
444
+ `@omp-studio/client`.
445
+
446
+ The data plumbing, transport and packaging are Zeta's own and are not part of
447
+ that derivation.
448
+
449
+ Copyright (c) 2026 snowpear and OMP Studio contributors
450
+ Copyright (c) 2026 Linxira-OS and Zeta contributors (Zeta modifications and additions)
451
+
452
+ Local modifications: the product renderer moved to `web-app/` (Vite 7) with
453
+ its own node project, and the host contract is Zeta's `studio-host` rather than
454
+ Studio's server. `@omp-studio/client-contract` and
455
+ `@omp-studio/studio-protocol` imports were rewritten to the vendored copies in
456
+ both trees; `@omp-studio/client` is replaced by `web-ui/lib/studio-client` (the
457
+ frozen snapshot) and by the host-backed transport in `web-app/`. The wire
458
+ protocol name is `zeta-studio`, the desktop bridge global is
459
+ `zetaStudioChrome`, Studio's design tokens were rebound to Zeta's theme alias
460
+ layer (`--studio-*` → `--zeta-alias-*`), and surfaces with no Zeta backend were
461
+ dropped rather than ported. Zeta-only additions: windowed transcript
462
+ pagination, precompressed static assets, the real plugin registry, the usage
463
+ dashboard, and the brand sweep. The MIT notice above covers the unmodified
464
+ upstream portions; Zeta's changes are additionally under
465
+ `Copyright (c) 2026 Linxira-OS and Zeta contributors`.
466
+
467
+ MIT License
468
+
469
+ Permission is hereby granted, free of charge, to any person obtaining a copy
470
+ of this software and associated documentation files (the "Software"), to deal
471
+ in the Software without restriction, including without limitation the rights
472
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
473
+ copies of the Software, and to permit persons to whom the Software is
474
+ furnished to do so, subject to the following conditions:
475
+
476
+ The above copyright notice and this permission notice shall be included in all
477
+ copies or substantial portions of the Software.
478
+
479
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
480
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
481
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
482
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
483
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
484
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
485
+ SOFTWARE.
486
+
388
487
  -------------------------------------------------------------------------------
389
488
  packages/coding-agent/src/export/html/vendor/NOTICE
390
489
 
@@ -0,0 +1,24 @@
1
+ import type { ShellVizPresentation } from "@linxiraos/pi-wire";
2
+ import type { DescribeContext, NativeNode, NativeUiEvent } from "../native/node.js";
3
+ import type { Component } from "../tui.js";
4
+ /** Focused inspector host; state and replay timers remain owned by the transcript tool call. */
5
+ export interface ShellVisualizerHost {
6
+ presentation(): ShellVizPresentation | undefined;
7
+ replayEpoch(): number;
8
+ liveOrigin(): boolean;
9
+ action(value: string): void;
10
+ close(): void;
11
+ requestRender(): void;
12
+ height(): number;
13
+ }
14
+ /** Keyboard and native inspector for the exact presentation shown in the transcript. */
15
+ export declare class ShellVisualizer implements Component {
16
+ #private;
17
+ readonly host: ShellVisualizerHost;
18
+ constructor(host: ShellVisualizerHost);
19
+ invalidate(): void;
20
+ handleInput(data: string): void;
21
+ handleNativeEvent(event: NativeUiEvent): void;
22
+ describe(cx: DescribeContext): NativeNode;
23
+ render(width: number): string[];
24
+ }
@@ -47,6 +47,21 @@ export interface AutocompleteItem {
47
47
  descriptionMatch?: boolean;
48
48
  }
49
49
  type Awaitable<T> = T | Promise<T>;
50
+ /**
51
+ * `^` model mention completion at the cursor. `unhandled` means no mention token there, or
52
+ * another completion outranks it, so the async {@link AutocompleteProvider.getSuggestions} decides.
53
+ */
54
+ export type ModelMentionCompletion = {
55
+ kind: "unhandled";
56
+ } | {
57
+ kind: "no-match";
58
+ } | {
59
+ kind: "matched";
60
+ suggestions: {
61
+ items: AutocompleteItem[];
62
+ prefix: string;
63
+ };
64
+ };
50
65
  export interface SlashCommand {
51
66
  name: string;
52
67
  aliases?: string[];
@@ -94,6 +109,11 @@ export interface AutocompleteProvider {
94
109
  items: AutocompleteItem[];
95
110
  prefix: string;
96
111
  } | null;
112
+ /**
113
+ * Synchronously list `^` model mention completions for the token at the cursor, so a
114
+ * shown mention popup never lags the typed text.
115
+ */
116
+ trySyncModelMentionCompletion?(lines: string[], cursorLine: number, cursorCol: number): ModelMentionCompletion;
97
117
  /**
98
118
  * Synchronously try to expand text immediately before the cursor (no async I/O).
99
119
  * Called after every single-character insert. Implementations MUST cheaply
@@ -10,11 +10,16 @@ export interface CacheInvalidation {
10
10
  * reusing.
11
11
  *
12
12
  * The provider reports a warm prefix as `cacheRead`; a model/thinking/tool/
13
- * system-prompt change (or a history rewrite) breaks the prefix, so the next
14
- * request reads nothing from cache and re-pays for the whole prompt. We flag
13
+ * system-prompt change, a history rewrite or an expired entry breaks the
14
+ * prefix, so the next request re-pays for the prompt past the break. We flag
15
15
  * only the transition where a demonstrably warm cache goes cold: the previous
16
- * turn must have actually READ a meaningful prefix back, and this turn's
17
- * `cacheRead` collapsed to zero while it still reprocessed a non-trivial prompt.
16
+ * turn must have actually READ a meaningful prefix back, and this turn read
17
+ * back less than half of it while it still reprocessed a non-trivial prompt.
18
+ *
19
+ * A collapse need not reach zero: the leading system/tool block is shared with
20
+ * every concurrent session on the same prompt, which keeps it warm while this
21
+ * session's history expires, so a cold turn still reads that block (~15k
22
+ * tokens) back while re-writing hundreds of thousands behind it.
18
23
  *
19
24
  * Requiring a prior warm read is deliberate. A turn that merely WROTE the prefix
20
25
  * (`cacheRead` 0) has not proven the cache is live — that is the session's first
@@ -23,11 +28,14 @@ export interface CacheInvalidation {
23
28
  * call outliving the provider's 5-minute cache TTL surfaced a spurious "cache
24
29
  * miss" right under the opening message). It also collapses a run of consecutive
25
30
  * cold turns to the single marker at the moment the cache actually broke, instead
26
- * of repeating the banner on every turn while it re-warms.
31
+ * of repeating the banner on every turn while it re-warms. Measuring the loss
32
+ * against what the predecessor READ (not what it wrote) keeps both guarantees
33
+ * when only the shared block was warm: nothing proven live was lost.
27
34
  *
28
35
  * Returns `undefined` (no marker) for the first turn, turns whose predecessor
29
- * never read a warm prefix, tiny contexts, turns that reused any cache, and —
30
- * crucially — turns on providers with *implicit* best-effort caching. Only an
36
+ * never read a warm prefix, tiny contexts, turns that read back at least half
37
+ * of the predecessor's warm prefix, and — crucially — turns on providers with
38
+ * *implicit* best-effort caching. Only an
31
39
  * explicit, prefix-controlled cache (Anthropic / Bedrock `cache_control`)
32
40
  * re-creates the prefix on a cold turn (`cacheWrite > 0`); implicit caches
33
41
  * (Google / OpenAI / Fireworks) report `cacheWrite: 0` and drop `cacheRead` to
@@ -2,8 +2,8 @@
2
2
  * Builds transcript components from persisted session message entries — the
3
3
  * file/remote-backed counterpart to {@link UiHelpers.addMessageToChat} (which is
4
4
  * bound to the live InteractiveModeContext). Used by the fullscreen transcript
5
- * viewer ({@link AgentTranscriptViewer}) to render a parked subagent / advisor /
6
- * collab-guest transcript that has no live session.
5
+ * viewer ({@link AgentTranscriptViewer}) to render a parked subagent or advisor
6
+ * transcript that has no live session.
7
7
  *
8
8
  * Unlike incremental transcript sync, {@link ChatTranscriptBuilder.rebuild}
9
9
  * always discards prior components and rebuilds the whole transcript from the
@@ -13,7 +13,7 @@
13
13
  */
14
14
  import type { AgentTool } from "@linxiraos/pi-agent-core";
15
15
  import { type TUI } from "../tui.js";
16
- import type { MessageRenderer } from "./extension-types.js";
16
+ import type { AssistantTextRenderer, MessageRenderer } from "./extension-types.js";
17
17
  import { type TranscriptEntryLike as TranscriptEntry } from "./transcript-entry.js";
18
18
  import { TranscriptContainer } from "../chrome/transcript-container.js";
19
19
  export interface ChatTranscriptBuilderDeps {
@@ -30,6 +30,8 @@ export interface ChatTranscriptBuilderDeps {
30
30
  linkTargets?: ReadonlyMap<string, string>;
31
31
  /** Draw charts under numeric tables; false for transcripts that are not the main session's. Default: true. */
32
32
  tableCharts?: boolean;
33
+ /** Extension assistant text renderers the replayed replies draw with, as the live transcript does. */
34
+ textRenderers?: readonly AssistantTextRenderer[];
33
35
  requestRender: () => void;
34
36
  }
35
37
  export declare class ChatTranscriptBuilder {
@@ -1,6 +1,8 @@
1
1
  /** Process-wide display preferences applied by the host settings hooks. */
2
2
  export interface ChatTranscriptDisplayPreferences {
3
3
  hideToolActivity: boolean;
4
+ /** Show the interactive shell execution visualization instead of the plain command. */
5
+ shellVisualization: boolean;
4
6
  readToolResultPreview: boolean;
5
7
  showImages: boolean;
6
8
  cacheMissMarker: boolean;