Commit graph

31 commits

Author SHA1 Message Date
710d2e7593 build: switch binary bundler to esbuild
- 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
2026-06-15 02:42:20 -04:00
21dac683a2 refactor: migrate from bun to node types and fix discrepancies 2026-06-08 20:17:22 -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
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
91175c70b6 feat: add URL support to TTS for fetching web page text 2026-05-12 00:32:48 -04:00
9da57fe2fc refactor: replace cli-table3 with @cliffy/table 2026-05-03 22:15:08 -04:00
d9bffdec2b feat: spinner while waiting for response 2026-05-03 02:29:27 -04:00
adb0fe234a refactor: rename project from aicl to lmc 2026-04-28 17:17:21 -04:00
6b75836647 feat: add ttsc CLI tool for TTS streaming 2026-04-28 02:49:46 -04:00
3e530f2a03 refactor: allow variadic prompt and add typecheck to scripts 2026-04-21 15:26:04 -04:00
d822ba2141 refactor: replace cli-highlight with shiki 2026-04-20 02:06:17 -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
8a23cf4d42 feat: use comark for final output 2026-04-17 22:53:29 -04:00
712666255a feat: add chalk styling for terminal output 2026-04-17 00:13:17 -04:00
bcd9771cd5 feat: add args parsing; refactor scripts 2026-04-16 16:04:16 -04:00
b3cef4dd03 chore: improve scripts 2026-04-16 04:06:31 -04:00
9f35a2d974 feat: add prod and shebang scripts 2026-04-16 04:01:12 -04:00
8facbb0de2 chore: config bin path and build scripts 2026-04-16 00:24:33 -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
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