refactor: rename project from aicl to lmc
This commit is contained in:
parent
b3fb6fd66f
commit
adb0fe234a
6 changed files with 7 additions and 7 deletions
|
|
@ -1,4 +1,4 @@
|
|||
# aicl
|
||||
# lmc
|
||||
|
||||
Bun CLI tool for streaming LLM chat with inline markdown rendering.
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
# aicl
|
||||
# lmc
|
||||
|
||||
To install dependencies:
|
||||
|
||||
|
|
|
|||
2
index.ts
2
index.ts
|
|
@ -40,7 +40,7 @@ async function main() {
|
|||
|
||||
if (!config.model) {
|
||||
console.error(
|
||||
"Please run 'aicl --model <model> --save' to set a default model.",
|
||||
"Please run 'lmc --model <model> --save' to set a default model.",
|
||||
);
|
||||
process.exit(1);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"name": "aicl",
|
||||
"name": "lmc",
|
||||
"module": "index.ts",
|
||||
"type": "module",
|
||||
"private": true,
|
||||
|
|
@ -14,7 +14,7 @@
|
|||
"build:js": "bun run check && bun run --parallel build:bundle build:tts && bun run --parallel shebang shebang:tts",
|
||||
"build:bundle": "bun build --target=bun --production --sourcemap --outdir=out index.ts",
|
||||
"build:tts": "bun build --target=bun --production --sourcemap --outdir=out tts.ts",
|
||||
"build:bin": "bun build --compile --outfile=out/aicl index.ts",
|
||||
"build:bin": "bun build --compile --outfile=out/lmc index.ts",
|
||||
"shebang": "sed -i '1i#!\\/usr\\/bin\\/env bun' out/index.js",
|
||||
"shebang:tts": "sed -i '1i#!\\/usr\\/bin\\/env bun' out/tts.js",
|
||||
"tc": "tsc --noEmit --incremental"
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@ import os from "node:os";
|
|||
import chalk from "chalk";
|
||||
|
||||
const home = os.homedir();
|
||||
const configFile = Bun.file(`${home}/.aicl_config.json`);
|
||||
const configFile = Bun.file(`${home}/.lmc_config.json`);
|
||||
|
||||
export interface AppConfig {
|
||||
model?: string;
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@ import os from "node:os";
|
|||
import type { ModelMessage } from "ai";
|
||||
|
||||
const home = os.homedir();
|
||||
export const convoFile = Bun.file(`${home}/.aicl_convo.json`);
|
||||
export const convoFile = Bun.file(`${home}/.lmc_convo.json`);
|
||||
|
||||
export interface Conversation {
|
||||
model: string;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue