Feature/tui#37
Merged
Merged
Conversation
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
…ms in wizard Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
…anner to doctor Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
… agent view Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
…ction Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
…where Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
…d backgrounds Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
- Brian's Brain: proper XOR hash seeding with time seed for variety, toroidal wrapping via rem_euclid so patterns stay alive, extracted make_grid helper for DRY new/reset - Navigation flow: Home → Preview → Focus Home: banner + brain screensaver, q=quit, Esc=confirm quit overlay Preview: ↑↓ navigate agents, Enter=focus, Esc=home Focus: log scroll for background, PTY for interactive, EscEsc=back - Sidebar: two bordered Block boxes (Background/Interactive) with proportional height split and accent-colored borders on selection - Right panel renders per mode: Home=banner+brain, Preview=config/PTY snapshot, Focus=scrollable log or interactive PTY with cursor - Added quit confirmation overlay (y/Enter to confirm, any key cancel) - Footer hints update per mode Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
…ion cleanup Brain's Brain: - Seed grid from CANOPY banner text centered on screen - Shows banner as green cells before activation, then explodes - Sparse random scatter (~3%) around banner fuels chain reactions Registry-driven interactive agent spawn: - Add interactive_args field to CliConfig (from registry) - Remove hardcoded match in agent.rs spawn, use registry args - NewAgentDialog stores CliConfig for each available CLI - Pass interactive_args to InteractiveAgent::spawn Dialog UX rework: - ←→ selects CLI, ↓ moves to directory picker (not Tab) - Space enters a directory, Enter launches agent - Updated footer hints and labels Session cleanup: - kill_selected_agent now removes agent from interactive_agents vec - delete_selected also removes interactive agents fully - Selection adjusts after removal Log display: - Running tasks show active run header with run ID and elapsed time - Bounds check for interactive agent index Colors: - BG_SELECTED changed to green-tinted dark (20,40,20) - INTERACTIVE_COLOR changed to green (102,187,106) matching ACCENT Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
…n seeding - New agent dialog no longer uses Clear or opaque background — the automaton/banner shows through behind the dialog border - Quit confirmation dialog changed to green (ACCENT) color scheme - Removed extra leading space in quit dialog text - Brain seeding now only uses █ (full block) characters from the banner — no random scatter particles, banner looks clean before exploding - Daemon start kills any stale process occupying the port before binding (prevents 'address already in use' errors) Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
Replace the dual-buffer scroll system (vt100 live + plain-text output_buffer for history) with vt100's built-in scrollback. Before: scroll_offset > 0 rendered gray plain-text from a manually accumulated output_buffer — lost all colors, had off-by-one bugs, and ANSI sequences leaked into the text. After: set_scrollback(offset) shifts the vt100 viewport into its 10,000-line scrollback ring buffer. cell() returns the scrolled content with full colors preserved. - Removed output_buffer field and its reader thread accumulator - Removed selection/selected_text/rows/cols unused fields - Simplified screen_snapshot() to a single path via set_scrollback - max_scroll() probes vt100's actual scrollback depth - output() uses screen.contents() instead of manual buffer - Fixed scroll clamping (removed stale +1 offsets) Zero warnings. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
…p_or Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
…logs, and per-agent accent colors Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
…ead of status Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
…obust error handling
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.
What changed
Why
Related issue
Checklist
Related issue
Checklist
Notes (optional)
- [ ] Local checks pass (build/lint/tests)Notes (optional)