feat: add comprehensive CLI with API client, session management, and data seeding

- Binary renamed from 'api' to 'xevion' with full CLI command structure
- Authentication: login/logout with session persistence to .xevion-session
- API commands: projects, tags, settings CRUD operations with JSON/table output
- Serve command: run production server with configurable listen addresses
- Seed command: moved from bin/ to CLI subcommand for database initialization
- HTTP client abstraction supporting both TCP and Unix socket connections
This commit is contained in:
2026-01-13 19:55:45 -06:00
parent b6d377a143
commit aa56d31067
18 changed files with 1849 additions and 243 deletions
+1 -1
View File
@@ -63,7 +63,7 @@ while (!existsSync(BUN_SOCKET)) {
console.log("Starting Rust API...");
const rustProc = spawn({
cmd: [
"/app/api",
"/app/xevion",
"--listen",
`[::]:${PORT}`,
"--listen",