Commit graph

68 commits

Author SHA1 Message Date
3c3dab1525 chore: move entry files to src/ directory and update paths 2026-06-17 01:12:40 -04:00
f8e0f9a368 refactor(errors): extract top-level error handling into shared utility 2026-06-17 00:48:19 -04:00
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
4912864a75 chore: update build scripts and refine markdown rendering 2026-06-07 22:01:29 -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
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
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
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
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
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
adb0fe234a refactor: rename project from aicl to lmc 2026-04-28 17:17:21 -04:00
75a87218b0 style: remove backticks from codespans 2026-04-22 22:40:24 -04:00
430e99a972 style: markdown render improvements 2026-04-20 20:21:36 -04:00
d822ba2141 refactor: replace cli-highlight with shiki 2026-04-20 02:06:17 -04:00
9cd8ccd4e2 fix: use :tablesep: for table items and end code blocks with newline 2026-04-19 17:51:31 -04:00
0727c5ebec style: improve markdown rendering output formatting
- Use terminal-link for clickable hyperlinks
- Reduce heading color brightness
- Remove extra trailing newlines from code blocks
- Fix horizontal rule spacing
- Wrap codespan content in backticks
- Suppress language error warnings from highlighter
2026-04-19 17:41:42 -04:00
c0ab652135 refactor: replace comark with custom Bun.markdown 2026-04-19 16:40:12 -04:00
dd0f85a9c8 fix: newline handling in Renderer 2026-04-19 01:45:54 -04:00
845a45cfca feat: add more language support to markdown renderer 2026-04-19 01:45:08 -04:00
6e0b5e507e fix: suppress highlighting error from comark render 2026-04-19 00:07:31 -04:00
9daddd1c8c fix: missing header pound signs 2026-04-18 23:37:59 -04:00
d327ed614a refactor: extract model flag and simplify config return type 2026-04-18 19:10:07 -04:00
6dc55bc3f3 refactor: extract config and conversation handling into separate modules 2026-04-18 19:09:35 -04:00
32bb3acb09 refactor: remove reasoning file persistence and consolidate cursor methods
Remove reasoning-delta/end file writing and merge moveCursor/clearScreenDown
into a single moveClearReset method. Add config save confirmation message.
2026-04-18 06:07:41 -04:00
856a3160fe feat: add streaming markdown rendering with incremental output 2026-04-18 05:04:00 -04:00