set up npx app

This commit is contained in:
Ramnique Singh 2025-11-05 13:28:38 +05:30
parent 3645f92774
commit 776be21fbd
6 changed files with 40 additions and 59 deletions

View file

@ -1,9 +1,8 @@
import { ensureBaseDirs } from "./application/assistant/services/storage.js";
import { startCopilot } from "./application/assistant/chat.js";
ensureBaseDirs();
startCopilot().catch((err) => {
console.error("Failed to run copilot:", err);
process.exitCode = 1;
});
export const start = () => {
startCopilot().catch((err) => {
console.error("Failed to run copilot:", err);
process.exitCode = 1;
});
}