- 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
- Add explicit `--format=esm` flag to `build`
- Update `rolldown` to ^1.1.1 and add `esbuild` ^0.28.1 as a dependency
- Create `pnpm-workspace.yaml` with `allowBuilds: esbuild` to support native prebuilt binaries across platforms
- 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
- Replace `$` and `Bun.spawn` with `execa` for process execution
- Swap `Bun.JSONL.parse` for native `JSON.parse` and use `node:readline` for stdin handling
- Pin `@types/bun` to `^1.3.14` for reproducible builds instead of using `latest`
- Update `tsconfig.json` with stricter type-checking flags and reorganize compiler options
- Refactor `initConfig` to DRY up the model default logic and add a null guard before process exit
- 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.