# Wenxing Neo A high-performance cyberpunk and matrix-inspired terminal workspace for Herdr, featuring an obsidian dark backdrop (`#1b1f23` / `#1f2428`), vibrant emerald green glowing accents (`#34d399` / `#10b981`), live AI agent telemetry, integrated Magpie proxy quota monitoring, and custom terminal chrome cards. ![Wenxing Neo](preview.png) ## What you see The layout divides the screen into a top bar and a two-column workspace: 1. **Top Tab Bar (`my-terminals-bar`)**: 38px high. Left-aligned custom window controls and traffic lights (`traffic_lights: [16, 18]`), followed by pill-shaped tab items showing terminal address, active directory, live status dot, and close buttons. Right side holds quick-action buttons: new tab (`+`), stack toggle, command launcher, and window minimization/maximization/close controls. 2. **Main Workspace (`main`)**: - **Terminal Pane (`my-terminals-pane`)**: 38px header with 12px rounded borders (`#2f363d`), surface color `#1f2428`. Displays the active process name, current working directory, git branch, zoom toggle, split controls (right/down), and pane close action. - **Bottom Status Rail (`neo-status`)**: 34px bar docked below the terminal pane displaying real-time agent status, active model, token context indicator (`1M CONTEXT`), custom theme badge (`WENXING THEME`), and quick command palette shortcut (`⌘P`). 3. **Right Telemetry Panel (`neo`)**: 310px width (resizable between 310px and 480px), framed with a 1px `#2f363d` border and 12px rounded corners: - **Header**: Pulsing emerald status dot with `WELCOME LANWENXING` title, companion status indicator (`ONLINE // MAGPIE`), and agent activity state. - **ASCII Rain Banner**: Stylized monospace ASCII telemetry banner. - **Traffic Card**: Live metrics displaying request count, cost tracker (`$0.066`), and Cache Hit Rate (`95.8%`). - **Model Selector**: Current active model badge (`Gemini 3.8 Flash`) with interactive routing switch menu. - **Performance Box**: Turn duration, latency benchmarks (`14.14s`), token throughput (`In 2.2k · Out 1312`), and prompt cache hit rate. - **Quota Meters**: Dedicated Antigravity quota cards for 5h/7d Gemini and Claude limits with color-coded progress bars. - **Agent Status Monitor**: Live Herdr agent state (`working`, `blocked`, `done`, `idle`). ## How it behaves - **Agent States**: - `working`: Animated emerald spinner and glowing badge. - `blocked`: Amber warning badge prompting user interaction. - `done`: Subtle soft green highlight indicating task completion. - `idle`: Dim slate `#6a737d` state indicator. - **Interactions**: - Clicking tabs in `my-terminals-bar` switches active terminal panes seamlessly. - Splitting panes creates bordered cards with identical padding and font sizing (`Geist Mono`, 9.5px). - Telemetry panel polls local Magpie endpoints (`127.0.0.1:3425`) asynchronously with error boundaries, ensuring zero UI lockup even if Magpie is offline. - Window drag is enabled on the top bar for native macOS window movement. ## Built from - **Layout**: `layouts/my-neo.json` - **Themes**: - `themes/wenxing.json` - `themes/my-neo.json` - **Mods**: - `mods/my-terminals-bar/`: Top tab bar with custom tab buttons, traffic lights, and window controls. - `mods/my-terminals-pane/`: Pane header card with directory display and split buttons. - `mods/neo/`: Comprehensive right-hand telemetry dashboard with Magpie metrics and agent monitoring. - `mods/neo-status/`: Bottom terminal context bar. - **Statusline**: `statusline.js` for Claude Code terminal integration. ## Watch out - Assumes `Geist Mono` font is installed on the system (falls back to JetBrains Mono). - The telemetry dashboard connects to Magpie (`127.0.0.1:3425`) by default; if you do not run Magpie, the panel gracefully hides or displays offline status without throwing errors. - Window traffic lights on macOS are calibrated for non-native titlebar (`titlebar: "none"`). ## Done when - `herdr-app check mods/my-terminals-bar` passes. - `herdr-app check mods/my-terminals-pane` passes. - `herdr-app check mods/neo` passes. - `herdr-app check mods/neo-status` passes. - Switching to `my-neo` layout via `herdr-app do layout.switch '{"name":"my-neo"}'` renders the full cyberpunk interface matching `preview.png`.