refactor(cli): use errore for typed error handling in run command

Replace untyped catch blocks and scattered process.exit() with
errore tagged errors and error-as-values pattern. Compile-time
safety for error handling paths.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Cameron Pak
2026-03-07 10:30:21 -06:00
parent fd1323fecc
commit 4defc4d1e7
4 changed files with 202 additions and 46 deletions
+1
View File
@@ -108,6 +108,7 @@
"clsx": "^2.1.1",
"commander": "^14.0.2",
"dotenv": "^17.2.3",
"errore": "^0.14.0",
"jotai": "^2.12.2",
"jsdom": "^26.1.0",
"kysely-generic-sqlite": "^1.2.1",