Commit graph

40 commits

Author SHA1 Message Date
f3146ab087 feat(lmc): add --git-message and --review modes, standardize args casing 2026-06-16 16:57:51 -04:00
749559e19c fix(tts): sox combination order; refactor input logic flow
- 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
2026-06-12 19:43:24 -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
bbee38be80 refactor(build): switch from esbuild to rolldown 2026-06-05 23:02:25 -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
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
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
efb44c4414 refactor: state rendering 2026-05-08 08:54:57 -04:00
7f0498fc84 fix: improve config loading flow and table column width 2026-05-04 22:02:19 -04:00
3c9a5e625a feat: add interactive config setup and baseURL support 2026-05-03 21:10:39 -04:00
79fd0a93eb fix: model saving 2026-05-03 01:47:10 -04:00
f5c8bdfe99 refactor: conversation into a class 2026-05-02 02:09:43 -04:00
adb0fe234a refactor: rename project from aicl to lmc 2026-04-28 17:17:21 -04:00
3e530f2a03 refactor: allow variadic prompt and add typecheck to scripts 2026-04-21 15:26:04 -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
8a23cf4d42 feat: use comark for final output 2026-04-17 22:53:29 -04:00
c1e03f2464 refactor: move final rendering into Renderer class 2026-04-17 22:52:09 -04:00
cdfafc9d5f feat: separate plain output flags for stdout and stderr 2026-04-17 16:49:45 -04:00
9d599d98bf feat: add --plain flag for unformatted terminal output
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.
2026-04-17 16:16:09 -04:00
4716712a92 refactor: redirect reasoning output to stderr 2026-04-17 03:04:47 -04:00
712666255a feat: add chalk styling for terminal output 2026-04-17 00:13:17 -04:00
4bbe1a38d4 feat: add --save flag; refactor conversation handling 2026-04-16 22:31:30 -04:00
95bec63a59 feat: add config file and short CLI aliases 2026-04-16 19:51:29 -04:00
ce12c51435 fix: render clearing bug and expand containment field 2026-04-16 17:13:12 -04:00
2ec00018bd refactor: convert render module to StreamRenderer class 2026-04-16 16:32:05 -04:00
bcd9771cd5 feat: add args parsing; refactor scripts 2026-04-16 16:04:16 -04:00
993fb143a2 refactor: only write reasoning to file; count line overflow better 2026-04-16 04:00:33 -04:00
7214fad3e7 refactor: stream text directly to glow; add style to stats 2026-04-15 22:35:43 -04:00
55b110a220 feat: basic usage stats 2026-04-15 18:41:54 -04:00
91792bf8bf feat: naive conversation saving 2026-04-15 17:14:31 -04:00
1f59cbca7b feat: write to the same files in homedir everytime 2026-04-15 16:14:11 -04:00
cfc494ba53 refactor: move render logic to it's own module; add build script 2026-04-15 15:56:29 -04:00
ab648271c2 chore: add biome and fix to pass 2026-04-15 15:20:18 -04:00
d29fc20681 feat: display stream for half of terminal until finished, then display 2026-04-15 15:03:33 -04:00
b0e7eb2a3d feat: format thinking better 2026-04-15 12:24:12 -04:00
9d970bca49 feat: send arg as prompt and stream to stdout 2026-04-15 03:25:54 -04:00
ae63c3bb0f init: git and bun 2026-04-15 00:17:57 -04:00