- Relocate `util.parseArgs()` inside the main function for cleaner
scoping
- Update `.catch` handlers in `index.ts` and `tts.ts` to wrap text to
terminal width and colorize errors in red
- Replace manual `process.stdin` listeners with `events.once()`
- Switch from `process.exit()` to `return` for cleaner async execution paths
- Update Node.js module imports to use default exports consistently
- Improved input trimming and console output formatting in `tts.ts`
- Updated codespan colors in the markdown renderer for better visual contrast
- Disabled `noPropertyAccessFromIndexSignature` in tsconfig.json
- Switch module type to commonjs in package.json
- Update esbuild target to node22 and remove explicit ESM format flag
- Add `bin` script for building a native binary using `node --build-sea`
- Introduce sea-config.json with code cache enabled for faster startup
Replace Bun.argv with process.argv, Bun.file() with fs/promises,
Bun.stringWidth with string-width package, and Bun.wrapAnsi with
wrap-ansi package for better compatibility.
Remove reasoning-delta/end file writing and merge moveCursor/clearScreenDown
into a single moveClearReset method. Add config save confirmation message.
Rename StreamRenderer to Renderer and move stats rendering into the
class. Support plain mode that skips ANSI formatting and glow preview
when output is not a TTY.