mirror of
https://github.com/getcompanion-ai/co-mono.git
synced 2026-04-18 22:04:46 +00:00
Replace synchronous file operations with async Promise-based operations that listen to abort signals during execution: - read, write, edit now use fs/promises async APIs - Add abort event listeners that reject immediately on abort - Check abort status before and after each async operation - Clean up event listeners properly This ensures pressing Esc during file operations shows red error state. |
||
|---|---|---|
| .. | ||
| src | ||
| test | ||
| example.json | ||
| example.txt | ||
| package.json | ||
| test.json | ||
| tsconfig.build.json | ||
| vitest.config.ts | ||