mk3-tui
v0.1.0
Published
4Runr AI Agent OS - Modern Terminal UI (Rust + Ratatui)
Downloads
80
Maintainers
Readme
MK3 TUI - Ratatui Terminal UI
MK3 replaces the old neo-blessed TUI with a modern Rust + Ratatui implementation.
Status
MK1 is frozen. MK3 replaces TUI.
Building
cd apps/mk3-tui
cargo build --releaseRunning
# With WebSocket (if WS_URL env var is set)
WS_URL=ws://localhost:8081/tui ./target/release/mk3-tui
# With stdin/stdout JSON protocol (default)
./target/release/mk3-tuiProtocol
Input (stdin or WebSocket)
MK3 reads JSON messages:
{"type":"log","message":"System started","ts":"2025-01-13T12:00:00Z"}
{"type":"posture","status":"Healthy"}
{"type":"metrics","cpu":0.23,"mem":0.61}
{"type":"network","status":"Connected"}
{"type":"capabilities","items":["tool1","tool2"]}Output (stdout or WebSocket)
MK3 sends commands:
{"type":"command","text":"help"}Layout
- Left column: POSTURE, RESOURCES, ASSETS (stacked)
- Center: OPERATIONS (log viewer)
- Right column: NETWORK, CAPABILITIES (stacked)
- Bottom: COMMAND BAR
Safe bounds: Never draws on last row/column (w-1, h-1).
