Interactive TUI
The GxP Toolkit includes an interactive Terminal User Interface (TUI) for managing development services. Launch it explicitly with gxdev ui from an existing project directory. Bare gxdev prints plain CLI help; gxdev dev starts the plain CLI service workflow. The TUI requires a compiled dist/tui/index.js bundle and an interactive stdin/stdout terminal.
The TUI is designed for managing running services within an existing project. To create a new project, use gxdev init from the command line first. Initialization can offer development-server/browser launch choices; those are not a guarantee of TUI entry. Run gxdev ui explicitly when you want this interface.
Quick Start
# Launch an idle TUI
gxdev ui
# Enter the TUI and auto-start development services
gxdev dev --ui
# TUI dispatcher HTTP flag (the plain CLI uses --no-https=true instead)
gxdev dev --ui --no-https
Interface Overview
Illustrative layout; use the actual status, service names and command controls from your installed toolkit.
┌─────────────────────────────────────────────────────────────┐
│ GxP DevStudio │ my-plugin │ ← Header
├─────────────────────────────────────────────────────────────┤
│ [System] [Vite] [Socket] [Chrome] │ ← Tab Bar
├─────────────────────────────────────────────────────────────┤
│ │
│ Service logs appear here... │ ← Log Panel
│ Each tab shows logs from its service │
│ │
├─────────────────────────────────────────────────────────────┤
│ > /dev --with-socket │ ← Command Input
│ Ctrl+C: Exit Ctrl+L: Clear ←/→: Switch tabs │ ← Hints
└─────────────────────────────────────────────────────────────┘
Components
| Component | Description |
|---|---|
| Header | Shows DevStudio branding and working-directory name |
| Tab Bar | Service tabs with status indicators |
| Log Panel | Real-time logs from the active service |
| Command Input | Slash command entry with autocomplete |
| Hints | Keyboard shortcuts reference |
Services
The TUI manages multiple services, each with its own tab:
| Service | Tab Name | Description |
|---|---|---|
| System | System | General messages and help output |
| Vite | Vite | Development server logs |
| Socket.IO | Socket | Socket server logs (if enabled) |
| Chrome | Chrome | Chrome extension launcher |
| Firefox | Firefox | Firefox extension launcher |
Service Status Indicators
Each tab shows the managed process status. “Running” is inferred from output markers or a three-second fallback while the child exists; it is not an HTTP, socket, provider or browser health check:
| Indicator | Status |
|---|---|
● (green) | Running |
○ (gray) | Stopped |
◐ (yellow) | Starting |
|