Commit graph

101 commits

Author SHA1 Message Date
574ebdc8a1 fix(markdown): handle <br> tokens and adjust codespan text color 2026-06-09 23:30:35 -04:00
21dac683a2 refactor: migrate from bun to node types and fix discrepancies 2026-06-08 20:17:22 -04:00
a03e6e94a9 feat(tts): add --edit flag and fix CLI argument parsing
- 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
2026-06-08 16:10:45 -04:00
39cb573619 refactor(tts): make cjs compatible and add sea config 2026-06-08 15:17:07 -04:00
3235a08633 refactor(tts): replace Bun-specific APIs with execa and Node.js stdlib
- Replace `$` and `Bun.spawn` with `execa` for process execution
- Swap `Bun.JSONL.parse` for native `JSON.parse` and use `node:readline` for stdin handling
2026-06-07 22:13:19 -04:00
4912864a75 chore: update build scripts and refine markdown rendering 2026-06-07 22:01:29 -04:00
bbee38be80 refactor(build): switch from esbuild to rolldown 2026-06-05 23:02:25 -04:00
6392cf3b76 chore: update package.json to reflect reality 2026-06-04 02:24:53 -04:00
43c3402931 chore(deps): consolidate all dependencies into devDependencies and clear production fields
- Move runtime packages from `dependencies` to `devDependencies`
- Remove `peerDependencies` as it is no longer required
2026-06-04 02:24:53 -04:00
f668037582 chore(config): pin @types/bun, tighten TypeScript strictness, and refactor config logic
- 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
2026-06-04 02:24:53 -04:00
d98ddb3ca7 build: migrate to commonjs and add node single executable app support
- 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
2026-06-04 02:24:53 -04:00
cd3749b07e build: replace bun install/build with pnpm/esbuild 2026-06-04 02:24:32 -04:00
3e96007f1f refactor: migrate shiki to core API with dynamic language/theme loading
- Update code block regex to support symbols/numbers in language identifiers
- Adjust codespan background color to a softer shade
2026-06-03 16:50:44 -04:00
6372dfc41f refactor: extract latex symbol replacement into private method 2026-05-31 00:20:05 -04:00
fc4934af4a refactor: move wrapAnsi from blockquote/listitem to text tokens 2026-05-31 00:20:05 -04:00
c277418349 fix: list/blockquote newlines and table width 2026-05-26 16:56:52 -04:00
a887e1b185 fix: improve markdown rendering whitespace and list numbering 2026-05-25 23:21:24 -04:00
0c71e2cd54 refactor: replace Bun APIs with Node.js equivalents
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.
2026-05-25 23:13:16 -04:00
b212fee200 refactor: replace Bun.markdown with marked library and custom renderer 2026-05-25 19:35:47 -04:00
4f9e7a7a1a style: enhance markdown inline formatting colors 2026-05-24 02:01:11 -04:00
03dee78e0c fix: change URL flag from boolean to string type for proper URL passing 2026-05-14 04:34:01 -04:00
7441a9fc19 docs: update README with new flags, examples, and dependencies 2026-05-14 03:08:01 -04:00
0ed6a23334 refactor: simplify renderer drain handling and expand LaTeX arrow replacements 2026-05-14 02:52:49 -04:00
7367cfdfe3 fix: blockquote and list whitespace handling in markdown rendering 2026-05-12 16:34:32 -04:00
af52e89928 fix: improve markdown rendering with proper wide character support 2026-05-12 14:16:07 -04:00
91175c70b6 feat: add URL support to TTS for fetching web page text 2026-05-12 00:32:48 -04:00
8cb1191fde refactor: simplify model selection in config initialization 2026-05-11 19:42:32 -04:00
7578e0ed2a fix: improve markdown rendering and codespan styling 2026-05-11 19:42:10 -04:00
efb44c4414 refactor: state rendering 2026-05-08 08:54:57 -04:00
e91a8a20a1 fix: config improvements 2026-05-07 21:04:36 -04:00
a6422c51aa feat: show reasoning duration after thinking phase 2026-05-05 04:08:00 -04:00
7f0498fc84 fix: improve config loading flow and table column width 2026-05-04 22:02:19 -04:00
decfd2bde0 fix: improve markdown list rendering and show messages for unsupported 2026-05-04 18:28:21 -04:00
c051f340a8 fix: indent wrapped list items and remove codespan padding 2026-05-04 16:45:38 -04:00
22fc4c874f fix: correct markdown rendering column widths and list formatting 2026-05-04 16:44:44 -04:00
ea5b3728a5 feat: wrap TTS output text to terminal width 2026-05-04 00:05:51 -04:00
b9610663a6 refactor: adjust markdown line wrapping 2026-05-03 23:11:12 -04:00
5e733a4e14 refactor: spinner handling and markdown line wrapping 2026-05-03 22:15:37 -04:00
9da57fe2fc refactor: replace cli-table3 with @cliffy/table 2026-05-03 22:15:08 -04:00
8ff27c5de8 fix: only clear spinner when it was actually spinning 2026-05-03 21:21:56 -04:00
3c9a5e625a feat: add interactive config setup and baseURL support 2026-05-03 21:10:39 -04:00
d9bffdec2b feat: spinner while waiting for response 2026-05-03 02:29:27 -04:00
79fd0a93eb fix: model saving 2026-05-03 01:47:10 -04:00
57acb09a18 feat(tts): add processing duration timing 2026-05-02 22:22:09 -04:00
f5c8bdfe99 refactor: conversation into a class 2026-05-02 02:09:43 -04:00
94895aacd5 style: improve codespan styling and checkbox markers 2026-05-01 21:23:21 -04:00
7b730631b2 docs: README with usage, architecture, and dependency info 2026-04-30 16:20:38 -04:00
a9d3db5b94 feat(tts): pause mpv when using --wait flag 2026-04-30 15:49:18 -04:00
aecb3a6c10 fix: pin exact dependency versions in tts/pyproject.toml 2026-04-29 01:00:57 -04:00
adb0fe234a refactor: rename project from aicl to lmc 2026-04-28 17:17:21 -04:00