Files
zesdex/docker-compose.yml
T
asepharyana 7e6ed34f0d 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'
2026-09-03 01:19:27 +07:00

22 lines
475 B
YAML

version: "3.9"
# Zesdex is now a pure CLI/TUI tool (no REST/WS/gRPC/web/daemon servers).
# This compose file just provides an interactive TTY shell into the binary.
services:
zesdex:
build:
context: .
dockerfile: Dockerfile
image: zesdex:latest
container_name: zesdex
volumes:
- zesdex-data:/data
- ./workspace:/workspace:ro
environment:
- ZESDEX_DATA_DIR=/data
stdin_open: true
tty: true
volumes:
zesdex-data: