@noobdemon/noob-cli 1.12.12 → 1.12.13
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 +5 -0
- package/package.json +1 -1
- package/src/tui.js +1 -0
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
Tất cả thay đổi đáng kể của `@noobdemon/noob-cli` được ghi vào file này.
|
|
4
4
|
|
|
5
|
+
## [1.12.13] - 2026-06-14
|
|
6
|
+
|
|
7
|
+
### Fixed
|
|
8
|
+
- **DUMB-mode boot crash `tui.setTodos is not a function` (nghiêm trọng — non-TTY user chết ngay launch)** (`src/tui.js`): object TUI chế độ DUMB (non-TTY / `NOOB_TUI=0`: pipe, CI, terminal lạ) thiếu method `setTodos` — chỉ rich TTY object (tui.js:814) có. `startFresh` (repl.js:394) gọi `tui.setTodos([])` mỗi phiên mới → non-TTY nổ ngay. Bug có sẵn từ trước, lộ ra khi verify real-REPL bằng `NOOB_TUI=0`. Fix: thêm `setTodos() {}` no-op vào DUMB object, khớp full method set với rich object (print/status/setBusy/setMeta/setTodos/setPrompt/read/close/start). Verify: boot sạch cả 2 mode (TTY + NOOB_TUI=0), banner in + exit 0.
|
|
9
|
+
|
|
5
10
|
## [1.12.12] - 2026-06-14
|
|
6
11
|
|
|
7
12
|
### Fixed
|
package/package.json
CHANGED
package/src/tui.js
CHANGED