feat(tui): add cockpit panels — Mission, Safety Shield, Pulse, Reach#4
Open
TSchonleber wants to merge 1 commit into
Open
feat(tui): add cockpit panels — Mission, Safety Shield, Pulse, Reach#4TSchonleber wants to merge 1 commit into
TSchonleber wants to merge 1 commit into
Conversation
Replace the flat status dump with a 2×2 operator command center layout: - Mission: mode, halt status, tier, provider/model - Safety Shield: review queue, DLQ, health bar with run totals - Pulse: reasoner ticks, candidates, tool calls, cost with ASCII bars - Reach: followers, delta, X usage/health (awaiting telemetry) Preserves TaskGraphsPane, InvocationsPane, Footer below the cockpit. Uses green/yellow/red/cyan for severity. ASCII bars via [####──────]. 80-column readability maintained with two 40-col bordered panels per row. Dashboard remains read-only; no live X calls from TUI. Co-Authored-By: Terrence Schonleber <TVschonleber@gmail.com>
TSchonleber
added a commit
that referenced
this pull request
Apr 24, 2026
…d device-code scaffolding - Provider registry for anthropic, openai, xai, gemini, openai-compat - CockpitAuthStore (~/.strand/auth.json) with single-writer lock - External credential discovery for Claude Code and gemini-cli - OpenAI oauth_device_code flow with mockable HTTP client - Enforce hard constraints #3 (oauth_external local-only), #4 (billing warning), #5 (no implicit activation) - 39 tests across 4 test files Co-Authored-By: Terrence Schonleber <TVschonleber@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Redesigns
strand tui --dashboardfrom a flat status dump into a compact operator command center with four bordered panels in a 2×2 grid:[####──────], yellow costBelow the cockpit grid, existing TaskGraphsPane, InvocationsPane, and Footer are preserved unchanged.
Key constraints respected:
RunSummary+envdata)HeaderandRunSummaryPanecomponents retained incomponents.tsxfor backward compatReview & Testing Checklist for Human
strand tui --dashboardin a real terminal (≥80 cols) and verify the 2×2 panel layout renders cleanly with no overflowSTRAND_HALT—placeholders gracefully when no X telemetry is availableNotes
TuiDataSourceinterface doesn't expose follower/health data. When a hooks owner adds X telemetry queries, theReachPanelcomponent accepts optionalfollowers,delta24h,xUsage, andxHealthprops ready to display real data.queued→ review queue,failed→ DLQ,completed/total→ health bar. For richer safety data (cooldowns table, dedup hash counts), the hooks interface would need to be extended.Link to Devin session: https://app.devin.ai/sessions/6b21ab54f260444d96838afc6007c634
Requested by: @TSchonleber