refactor: rombak jadi full CLI/TUI only — hapus semua interface server (api/ws/grpc/web/daemon) + wire TUI ke agent beneran

- Hapus total interfaces: api (REST), ws (WebSocket), grpc, web, daemon (IPC)
- Hapus infra server-only yang jadi dead code: infrastructure/ipc + seluruh
  stack auth (domain/auth, application/auth, persistence/iam, infrastructure/auth jwt/password/oauth_loopback)
- TUI (OpenTUI) jadi interface utama: wire ke runSingleProcess() real runtime,
  ganti mock '(no LLM configured)' dengan turnService.runTurn asli + streaming
  stream_token/reasoning/tool_result/system_note/error ke transcript
- Tampilkan model asli di header (mis. claude-opus-5), abort turn via Ctrl+C
- CLI jadi mode headless tambahan: zesdex --headless '<prompt>' one-shot turn
- Bersihkan package.json (script tui/headless), tsconfig paths, docker-compose,
  AGENTS.md; hapus StartOAuth/login stub
- verified: tsc 0 err, 70 test pass, build dist/zesdex; headless 'pong' real; TUI
  interactive render + real turn 'say pong in one word' -> assistant 'pong'
This commit is contained in:
asepharyana committed 2026-09-03 01:19:27 +07:00
1 parent 34322e492a
commit 7e6ed34f0d
68 files changed
+250 -3661

No files matched your search

-5
View File
@@ -25,11 +25,6 @@
"@zesdex/domain": ["./src/domain/index.ts"],
"@zesdex/application": ["./src/application/index.ts"],
"@zesdex/infrastructure": ["./src/infrastructure/index.ts"],
"@zesdex/api": ["./src/interfaces/api/index.ts"],
"@zesdex/ws": ["./src/interfaces/ws/index.ts"],
"@zesdex/grpc": ["./src/interfaces/grpc/index.ts"],
"@zesdex/web": ["./src/interfaces/web/index.ts"],
"@zesdex/daemon": ["./src/interfaces/daemon/index.ts"],
"@zesdex/tui": ["./src/interfaces/tui/index.ts"]
}
},