Releases: nbtca/Prompt
Releases · nbtca/Prompt
v1.3.2
Full Changelog: v1.3.1...v1.3.2
v1.3.1
Full Changelog: v1.3.0...v1.3.1
v1.3.0
Full Changelog: v1.2.0...v1.3.0
v1.2.0
Full Changelog: v1.1.3...v1.2.0
v1.1.3
Full Changelog: v1.1.2...v1.1.3
v1.1.2
Full Changelog: v1.1.1...v1.1.2
v1.1.1
What's Changed
Full Changelog: v1.1.0...v1.1.1
v1.1.0
v1.0.26
Bug Fixes
i18n completeness
--helpoutput now respects language setting (was hardcoded English)- All 6 CLI error messages now bilingual (unknown command, unknown flag, invalid flag, invalid language, invalid --next, requires TTY)
- About dialog description moved to i18n (was hardcoded Chinese)
Safety & correctness
- Remove
hvim-key mapping that mapped to SIGINT, preventing accidental exit from main menu status --jsonnow returns exit code 0 when data is successfully retrieved, even if some services are down (fixesjqpipeline breakage)- Cross-platform
commandExists()usingwhereon Windows,whichon POSIX
Polish
- CLI
aboutdialog aligned with TUI version (added description, email, license) - Search results from cached content now show actual document category instead of generic "results found"
- Replaced fragile
.replace('...','')with dedicated i18n keyloadingFile
Full Changelog: v1.0.25...v1.0.26
v1.0.25
What's Changed
Comprehensive modernization of the CLI tool — infrastructure, dependencies, and UX.
Infrastructure
- XDG config support — config at
$XDG_CONFIG_HOME/nbtca/with~/.nbtca/legacy fallback - Cross-platform build — Node.js
copy-assets.jsreplaces shell-based postbuild - CI improvements — added test step, removed redundant type-check pass
Dependencies
- Removed
axios— all HTTP calls now use nativefetch+AbortController - Upgraded
marked11→15,typescript5.3→5.9,open10→11 - Upgraded
@clack/prompts1.0→1.2,chalk5.4→5.6,ical.js2.0→2.2 - Dev deps:
@types/node20→22,tsx4.7→4.21
Code Quality
- i18n
fmt()template helper replacing.replace()chains catch(err: unknown)type safety throughout- Removed dead code from
links.ts - Converted recursive directory browsing to iterative loops
- Shared
handleGracefulExit()for consistent SIGINT handling - Clear "Request timed out" messages instead of cryptic abort errors
UX Improvements
- Vim-keys context toggle — disabled during text input to prevent conflicts
- Calendar shows full
YYYY-MM-DDfor cross-year events - Cache eviction with size limits (30 dirs, 50 files, 50 renders)
- Content-aware document search
- Extended CJK character width detection (Unicode Extensions B-K)
Full Changelog: v1.0.24...v1.0.25