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.
This commit is contained in:
mitchell 2026-04-18 06:07:41 -04:00
parent 856a3160fe
commit 32bb3acb09
2 changed files with 8 additions and 22 deletions

View file

@ -2,6 +2,7 @@ import os from "node:os";
import { parseArgs } from "node:util";
import { createOpenAICompatible } from "@ai-sdk/openai-compatible";
import { type ModelMessage, streamText } from "ai";
import chalk from "chalk";
import Renderer from "./src/render";
@ -49,6 +50,7 @@ async function main() {
if (saveConfig) {
await configFile.write(JSON.stringify(config, null, " "));
console.log(chalk.green("Configuration saved!"));
return;
}