feat: TUI Phase 1 — Flair status, async refresh, mail inbox (ops-90)#191
Merged
feat: TUI Phase 1 — Flair status, async refresh, mail inbox (ops-90)#191
Conversation
…lean layout (ops-90) - fetchAgents() tries tps office status --json first, falls back to pgrep - fetchMail() uses execSync with TPS_AGENT_ID env, returns MailMessage[] from --json - fetchPRs() uses gh-as anvil (not bare gh) - useCallback + useRef guard on refresh to prevent concurrent fetches - StatusBar shows last refresh time and errors - Unread mail shown in cyan/bold - StatusDot supports busy (yellow) state in addition to online/offline - 496/496 tests
tps-sherlock
approved these changes
Mar 8, 2026
Contributor
tps-sherlock
left a comment
There was a problem hiding this comment.
Security review complete. No vulnerabilities found.
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.
Improves the Phase 1 TUI skeleton from #175.
Changes:
fetchAgents(): triestps office status --jsonfirst (Flair), falls back topgrepfetchMail():mail list --jsonwithTPS_AGENT_IDenv, renders unread in cyan/boldfetchPRs(): usesgh-as anvilinstead of bareghbusy(yellow) state