tui-development
Installation
SKILL.md
Contains Shell Commands
This skill contains shell command directives (!`command`) that may execute system commands. Review carefully before installing.
OpenShell TUI Development Guide
Comprehensive reference for any agent working on the OpenShell TUI.
1. Overview
The OpenShell TUI is a ratatui-based terminal UI for the OpenShell platform. It provides a keyboard-driven interface for managing gateways, sandboxes, and logs — the same operations available via the openshell CLI, but with a live, interactive dashboard.
- Launched via:
openshell termormise run term - Crate:
crates/openshell-tui/ - Key dependencies:
ratatui(workspace version) — usesframe.size()(notframe.area())crossterm(workspace version) — terminal backend and event pollingtonicwith TLS — gRPC client for the OpenShell gatewaytokio— async runtime for event loop, spawned tasks, and mpsc channelsopenshell-core— proto-generated types (OpenShellClient, request/response structs)openshell-bootstrap— gateway discovery (list_gateways())
- Theme: Adaptive dark/light via
Themestruct — NVIDIA-branded green accents. Controlled by--themeflag,OPENSHELL_THEMEenv var, or auto-detection.