Skip to content

armgit / jan

Public Imported from GitHub
0

Jan is an open source alternative to ChatGPT that runs 100% offline on your computer.

feat(agent-tui): rounded, padded panel borders in palette colours

Akarshan Biswase27f7ad279e6
diff --git a/src-tauri/src/core/cli/tui.rs b/src-tauri/src/core/cli/tui.rs
index 46262ede8..e0d93dcb8 100644
--- a/src-tauri/src/core/cli/tui.rs
+++ b/src-tauri/src/core/cli/tui.rs
@@ -1999,7 +1999,7 @@ impl PendingAsk {
/// Rows the whole box needs at `width`: borders, question, every option and
/// the help line.
fn box_height(&self, width: u16) -> u16 {
- let inner = width.saturating_sub(2);
+ let inner = panel_inner_width(width);
let options: usize = self.option_lines(inner).iter().map(|item| item.len()).sum();
let question = self.question_lines(inner).len();
(question + options + 3).min(u16::MAX as usize) as u16
@@ -8268,6 +8268,26 @@ fn select_style() -> Style {
const SELECT_MARK: &str = "\u{25b6} ";
+/// Columns a [`panel_block`] takes from its area: a border and one column of
+/// padding on each side. Docks size their content to `width - PANEL_INSET`.
+const PANEL_INSET: u16 = 4;
+
+/// The width content gets inside a [`panel_block`] of outer `width`.
+fn panel_inner_width(width: u16) -> u16 {
+ width.saturating_sub(PANEL_INSET)
+}
+
+/// The frame every bordered panel shares: rounded corners in a palette
+/// colour, and a column of padding so text never sits flush on the border.
+/// Only horizontal padding, so a panel's row budget is unchanged.
+fn panel_block(border: Color) -> Block<'static> {
+ Block::default()
+ .borders(Borders::ALL)
+ .border_type(ratatui::widgets::BorderType::Rounded)
+ .border_style(Style::new().fg(border))
+ .padding(ratatui::widgets::Padding::horizontal(1))
+}
+
/// Render focused-diff text as a boxed panel: a light rule frames the change,
/// `+` rows on a green background and `-` rows on a red one across the whole row
/// (so the change reads as a band), `@@` headers dim-cyan. Every row keeps its
@@ -14605,7 +14625,7 @@ fn agent_message_rect(
body: ratatui::layout::Rect,
input: ratatui::layout::Rect,
) -> ratatui::layout::Rect {
- let height = (agent_message_lines(prompt, input.width.saturating_sub(2)).len() as u16 + 2)
+ let height = (agent_message_lines(prompt, panel_inner_width(input.width)).len() as u16 + 2)
.min(body.height);
ratatui::layout::Rect {
x: input.x,
@@ -14617,9 +14637,7 @@ fn agent_message_rect(
fn draw_agent_message(f: &mut Frame, area: ratatui::layout::Rect, prompt: &AgentMessagePrompt) {
use ratatui::widgets::Clear;
- let block = Block::default()
- .borders(Borders::ALL)
- .border_style(Style::new().cyan())
+ let block = panel_block(theme::border_active())
.title(Span::styled(
format!(" message subagent: {} ", prompt.name),
Style::new().on_cyan().black().bold(),
@@ -19593,7 +19611,7 @@ fn draw(f: &mut Frame, app: &mut App) {
// so content is laid out at the *inner* width -- using the outer width
// would push the context rail's right edge under the border and
// silently clip it.
- let content_w = chunks[2].width.saturating_sub(2).max(1);
+ let content_w = panel_inner_width(chunks[2].width).max(1);
let lines = readout_lines(app, readout, content_w as usize);
let height = (lines.len() as u16 + 2).min(chunks[1].height);
let y = chunks[2].y.saturating_sub(height).max(chunks[1].y);
@@ -19603,9 +19621,7 @@ fn draw(f: &mut Frame, app: &mut App) {
width: chunks[2].width,
height,
};
- let block = Block::default()
- .borders(Borders::ALL)
- .border_style(Style::new().cyan())
+ let block = panel_block(theme::border_active())
.title(Span::styled(
format!(" {} ", readout.title()),
Style::new().on_cyan().black().bold(),
@@ -19646,7 +19662,7 @@ fn draw(f: &mut Frame, app: &mut App) {
draw_login(f, rect, prompt);
} else if let Some(prompt) = &app.plugin_setup {
let height =
- (plugin_setup_lines(prompt, chunks[2].width.saturating_sub(2)).len() as u16 + 2)
+ (plugin_setup_lines(prompt, panel_inner_width(chunks[2].width)).len() as u16 + 2)
.min(chunks[1].height);
let y = chunks[2].y.saturating_sub(height).max(chunks[1].y);
let rect = ratatui::layout::Rect {
@@ -19659,7 +19675,7 @@ fn draw(f: &mut Frame, app: &mut App) {
} else if let Some(confirm) = &app.browser_confirm {
draw_browser_confirm_overlay(f, confirm, chunks[2], chunks[1]);
} else if let Some(proposal) = &app.vibe_confirm {
- let height = (vibe_setting::lines(proposal, chunks[2].width.saturating_sub(2)).len()
+ let height = (vibe_setting::lines(proposal, panel_inner_width(chunks[2].width)).len()
as u16
+ 2)
.min(chunks[1].height);
@@ -19673,7 +19689,7 @@ fn draw(f: &mut Frame, app: &mut App) {
vibe_setting::draw(f, rect, proposal);
} else if let Some(prompt) = &app.settings_prompt {
let toml_path = app.agent_dir.join("agent.toml");
- let height = (settings_prompt_lines(prompt, &toml_path, chunks[2].width.saturating_sub(2))
+ let height = (settings_prompt_lines(prompt, &toml_path, panel_inner_width(chunks[2].width))
.len() as u16
+ 2)
.min(chunks[1].height);
@@ -19688,7 +19704,7 @@ fn draw(f: &mut Frame, app: &mut App) {
} else if let Some(prompt) = &app.agent_message {
draw_agent_message(f, agent_message_rect(prompt, chunks[1], chunks[2]), prompt);
} else if let Some(prompt) = &app.mcp_prompt {
- let height = (mcp_prompt_lines(prompt, chunks[2].width.saturating_sub(2)).len() as u16 + 2)
+ let height = (mcp_prompt_lines(prompt, panel_inner_width(chunks[2].width)).len() as u16 + 2)
.min(chunks[1].height);
let y = chunks[2].y.saturating_sub(height).max(chunks[1].y);
let rect = ratatui::layout::Rect {
@@ -19721,7 +19737,7 @@ fn draw(f: &mut Frame, app: &mut App) {
};
draw_ask(f, rect, ask, queue_len);
} else if let Some(pending) = app.pending() {
- let inner_w = chunks[2].width.saturating_sub(2);
+ let inner_w = panel_inner_width(chunks[2].width);
let detail_rows = pending.detail_lines(inner_w).len() as u16;
let diff_rows = pending.diff_preview(inner_w).len() as u16;
let height =
@@ -19804,9 +19820,7 @@ fn draw_ask(f: &mut Frame, area: Rect, ask: &mut PendingAsk, queue_len: usize) {
parts.push(format!("{secs}s"));
}
let title = format!(" {} ", parts.join(" \u{b7} "));
- let block = Block::default()
- .borders(Borders::ALL)
- .border_style(Style::new().cyan())
+ let block = panel_block(theme::border_active())
.title(Span::styled(title, Style::new().on_cyan().black().bold()));
let inner = block.inner(area);
let question = ask.question_lines(inner.width);
@@ -19889,9 +19903,7 @@ fn draw_account_login(f: &mut Frame, area: ratatui::layout::Rect, prompt: &Accou
let provider = prompt.provider_id();
let name = crate::core::cli::auth::provider_by_id(provider)
.map_or("provider", |definition| definition.name);
- let block = Block::default()
- .borders(Borders::ALL)
- .border_style(Style::new().cyan())
+ let block = panel_block(theme::border_active())
.title(Span::styled(
format!(" {name} sign-in "),
Style::new().on_cyan().black().bold(),
@@ -20087,7 +20099,7 @@ fn draw_browser_confirm_overlay(
input: ratatui::layout::Rect,
body: ratatui::layout::Rect,
) {
- let height = (browser_confirm_lines(confirm, input.width.saturating_sub(2)).len() as u16 + 2)
+ let height = (browser_confirm_lines(confirm, panel_inner_width(input.width)).len() as u16 + 2)
.min(body.height);
let y = input.y.saturating_sub(height).max(body.y);
let rect = ratatui::layout::Rect {
@@ -20102,9 +20114,7 @@ fn draw_browser_confirm_overlay(
fn draw_browser_confirm(f: &mut Frame, area: ratatui::layout::Rect, confirm: &BrowserConfirm) {
use ratatui::widgets::Clear;
- let block = Block::default()
- .borders(Borders::ALL)
- .border_style(Style::new().cyan())
+ let block = panel_block(theme::border_active())
.title(Span::styled(
" open a browser? ",
Style::new().on_cyan().black().bold(),
@@ -20122,9 +20132,7 @@ fn draw_browser_confirm(f: &mut Frame, area: ratatui::layout::Rect, confirm: &Br
fn draw_login(f: &mut Frame, area: ratatui::layout::Rect, prompt: &LoginPrompt) {
use ratatui::widgets::Clear;
- let block = Block::default()
- .borders(Borders::ALL)
- .border_style(Style::new().cyan())
+ let block = panel_block(theme::border_active())
.title(Span::styled(
format!(
" {} sign-in ",
@@ -20148,9 +20156,7 @@ fn draw_login(f: &mut Frame, area: ratatui::layout::Rect, prompt: &LoginPrompt)
fn draw_plugin_setup(f: &mut Frame, area: ratatui::layout::Rect, prompt: &PluginSetupPrompt) {
use ratatui::widgets::Clear;
- let block = Block::default()
- .borders(Borders::ALL)
- .border_style(Style::new().cyan())
+ let block = panel_block(theme::border_active())
.title(Span::styled(
format!(" plugin setup: {} ", prompt.plugin),
Style::new().on_cyan().black().bold(),
@@ -20230,9 +20236,7 @@ fn draw_settings_prompt(
) {
use ratatui::widgets::Clear;
- let block = Block::default()
- .borders(Borders::ALL)
- .border_style(Style::new().cyan())
+ let block = panel_block(theme::border_active())
.title(Span::styled(
format!(" agent settings: {} ", prompt.def().key),
Style::new().on_cyan().black().bold(),
@@ -20327,9 +20331,7 @@ fn draw_mcp_prompt(f: &mut Frame, area: ratatui::layout::Rect, prompt: &McpPromp
} else {
" mcp server: add "
};
- let block = Block::default()
- .borders(Borders::ALL)
- .border_style(Style::new().cyan())
+ let block = panel_block(theme::border_active())
.title(Span::styled(title, Style::new().on_cyan().black().bold()));
f.render_widget(Clear, area);
@@ -20417,9 +20419,7 @@ fn draw_provider_prompt(f: &mut Frame, area: ratatui::layout::Rect, prompt: &Pro
} else {
" provider: add "
};
- let block = Block::default()
- .borders(Borders::ALL)
- .border_style(Style::new().cyan())
+ let block = panel_block(theme::border_active())
.title(Span::styled(title, Style::new().on_cyan().black().bold()));
let mut lines = Vec::new();
@@ -20530,9 +20530,7 @@ fn draw_slash_hints(
}
})
.collect();
- let block = Block::default()
- .borders(Borders::ALL)
- .border_style(Style::new().dark_gray())
+ let block = panel_block(theme::border_idle())
.title(Span::styled(" commands + skills ", Style::new().dim()));
f.render_widget(Clear, area);
let list = List::new(items)
@@ -20576,9 +20574,7 @@ fn draw_path_hints(
ListItem::new(Line::from(spans))
})
.collect();
- let block = Block::default()
- .borders(Borders::ALL)
- .border_style(Style::new().dark_gray())
+ let block = panel_block(theme::border_idle())
.title(Span::styled(" path ", dim));
f.render_widget(Clear, area);
let list = List::new(items)
@@ -20606,9 +20602,7 @@ fn draw_permission(
} else {
" permission required ".to_string()
};
- let block = Block::default()
- .borders(Borders::ALL)
- .border_style(Style::new().yellow())
+ let block = panel_block(theme::warning())
.title(Span::styled(title, Style::new().on_yellow().black().bold()));
let inner = block.inner(area);
f.render_widget(Clear, area);
@@ -20658,9 +20652,7 @@ fn count_label(label: &str, count: usize, width: u16) -> String {
fn draw_model_picker(f: &mut Frame, area: Rect, picker: &ModelPicker, current_model: &str) {
use ratatui::widgets::{Clear, List, ListItem, ListState};
- let block = Block::default()
- .borders(Borders::ALL)
- .border_style(Style::new().cyan())
+ let block = panel_block(theme::border_active())
.title(Span::styled(
" Models ",
Style::new().on_cyan().black().bold(),
@@ -20867,7 +20859,7 @@ fn draw_picker(
})
.collect();
let list = List::new(items)
- .block(Block::default().borders(Borders::ALL).title(picker.title()))
+ .block(panel_block(theme::border_active()).title(picker.title()))
.highlight_style(select_style())
.highlight_symbol(SELECT_MARK);
let mut state = ListState::default();
@@ -20878,7 +20870,7 @@ fn draw_picker(
// rows themselves stay terse (`key = value`) because the detail footer
// explains what each knob does.
if let Some(search) = &picker.search {
- let block = Block::default().borders(Borders::ALL).title(picker.title());
+ let block = panel_block(theme::border_active()).title(picker.title());
let inner = block.inner(area);
f.render_widget(block, area);
let rows = Layout::vertical([Constraint::Length(1), Constraint::Min(0)]).split(inner);
@@ -20957,7 +20949,7 @@ fn draw_picker(
} else if let (PickerKind::McpServer, Some(detail)) = (picker.kind, mcp_detail) {
// The info block and the actions share one border: they are one screen,
// and two stacked frames would read as two unrelated panels.
- let block = Block::default().borders(Borders::ALL).title(picker.title());
+ let block = panel_block(theme::border_active()).title(picker.title());
let inner = block.inner(area);
f.render_widget(block, area);
@@ -20983,7 +20975,7 @@ fn draw_picker(
// One subagent's live detail: rendered from the panels, not the picker
// rows, so it updates in place as the child works and empties when it
// finishes.
- let block = Block::default().borders(Borders::ALL).title(picker.title());
+ let block = panel_block(theme::border_active()).title(picker.title());
let inner = block.inner(area);
f.render_widget(block, area);
let lines = agent_detail_lines(subagents, agent_detail, inner.width, inner.height);
diff --git a/src-tauri/src/core/cli/tui/tests/snapshots/agents_inspector_detail.snap b/src-tauri/src/core/cli/tui/tests/snapshots/agents_inspector_detail.snap
index 56e7d445e..193e68d0a 100644
--- a/src-tauri/src/core/cli/tui/tests/snapshots/agents_inspector_detail.snap
+++ b/src-tauri/src/core/cli/tui/tests/snapshots/agents_inspector_detail.snap
@@ -1,23 +1,22 @@
---
source: src/core/cli/tui/tests/snapshot.rs
-assertion_line: 163
expression: render_snapshot(buf)
---
| ๐Ÿ‘‹ gpt-5-mini effort medium ctx 0K/128K fallback [working] |
-|โ”Œ subagent โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”|
-|โ”‚kv-review (sub-kv-review-1) โ”‚|
-|โ”‚2 tools ยท 2 req ยท 75% cached โ”‚|
+|โ•ญ subagent โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฎ|
+|โ”‚ kv-review (sub-kv-review-1) โ”‚|
+|โ”‚ 2 tools ยท 2 req ยท 75% cached โ”‚|
|โ”‚ โ”‚|
-|โ”‚Review the key-value store for races. โ”‚|
+|โ”‚ Review the key-value store for races. โ”‚|
|โ”‚ โ”‚|
-|โ”‚Reading the store first. โ”‚|
-|โ”‚โ”‚ โœ“ Read src/kv.rs โ”‚|
-|โ”‚โ”‚ 120 lines โ”‚|
-|โ”‚> check the lock order too โ”‚|
-|โ”‚โ”‚ โœ— Ran cargo test kv โ”‚|
-|โ”‚โ”‚ error: 1 test failed โ”‚|
+|โ”‚ Reading the store first. โ”‚|
+|โ”‚ โ”‚ โœ“ Read src/kv.rs โ”‚|
+|โ”‚ โ”‚ 120 lines โ”‚|
+|โ”‚ > check the lock order too โ”‚|
+|โ”‚ โ”‚ โœ— Ran cargo test kv โ”‚|
+|โ”‚ โ”‚ error: 1 test failed โ”‚|
|โ”‚ โ”‚|
-|โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜|
+|โ•ฐโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ|
| |
|โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€|
|selectingโ€ฆ |
@@ -28,20 +27,46 @@ expression: render_snapshot(buf)
0 3..14 mod=BOLD
0 14..29 fg=Yellow
0 55..64 fg=Cyan mod=BOLD
- 2 1..10 fg=Magenta mod=BOLD
- 2 10..29 fg=DarkGray
- 3 1..29 fg=DarkGray
- 5 1..38 mod=DIM | ITALIC
- 8 1..3 fg=DarkGray
- 8 3..5 fg=Green
- 8 5..19 mod=DIM
- 9 1..14 fg=DarkGray
-10 1..27 fg=Magenta mod=BOLD
-11 1..3 fg=DarkGray
-11 3..5 fg=Red
-11 5..22 mod=DIM
-12 1..5 fg=DarkGray
-12 5..25 fg=Red
+ 1 0..80 fg=#56B6C2
+ 2 0..1 fg=#56B6C2
+ 2 2..11 fg=Magenta mod=BOLD
+ 2 11..30 fg=DarkGray
+ 2 79..80 fg=#56B6C2
+ 3 0..1 fg=#56B6C2
+ 3 2..30 fg=DarkGray
+ 3 79..80 fg=#56B6C2
+ 4 0..1 fg=#56B6C2
+ 4 79..80 fg=#56B6C2
+ 5 0..1 fg=#56B6C2
+ 5 2..39 mod=DIM | ITALIC
+ 5 79..80 fg=#56B6C2
+ 6 0..1 fg=#56B6C2
+ 6 79..80 fg=#56B6C2
+ 7 0..1 fg=#56B6C2
+ 7 79..80 fg=#56B6C2
+ 8 0..1 fg=#56B6C2
+ 8 2..4 fg=DarkGray
+ 8 4..6 fg=Green
+ 8 6..20 mod=DIM
+ 8 79..80 fg=#56B6C2
+ 9 0..1 fg=#56B6C2
+ 9 2..15 fg=DarkGray
+ 9 79..80 fg=#56B6C2
+10 0..1 fg=#56B6C2
+10 2..28 fg=Magenta mod=BOLD
+10 79..80 fg=#56B6C2
+11 0..1 fg=#56B6C2
+11 2..4 fg=DarkGray
+11 4..6 fg=Red
+11 6..23 mod=DIM
+11 79..80 fg=#56B6C2
+12 0..1 fg=#56B6C2
+12 2..6 fg=DarkGray
+12 6..26 fg=Red
+12 79..80 fg=#56B6C2
+13 0..1 fg=#56B6C2
+13 79..80 fg=#56B6C2
+14 0..80 fg=#56B6C2
17 0..10 mod=DIM | ITALIC
19 0..1 fg=DarkGray
19 2..17 fg=DarkGray
diff --git a/src-tauri/src/core/cli/tui/tests/snapshots/agents_inspector_list.snap b/src-tauri/src/core/cli/tui/tests/snapshots/agents_inspector_list.snap
index fdf4bfe9d..57748900d 100644
--- a/src-tauri/src/core/cli/tui/tests/snapshots/agents_inspector_list.snap
+++ b/src-tauri/src/core/cli/tui/tests/snapshots/agents_inspector_list.snap
@@ -1,19 +1,18 @@
---
source: src/core/cli/tui/tests/snapshot.rs
-assertion_line: 163
expression: render_snapshot(buf)
---
| ๐Ÿ‘‹ gpt-5-mini effort medium ctx 0K/128K fallback [working] |
-|โ”Œ subagents โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”|
-|โ”‚โ–ถ kv-review ยท 4t ยท 75% cached ยท read src/mod_3.rs โ”‚|
-|โ”‚ perf-scan ยท 3t ยท 0% cached ยท read src/mod_2.rs โ”‚|
-|โ”‚ lint-fix ยท 1t ยท read src/mod_0.rs โ”‚|
-|โ”‚ docs-writer ยท 0t ยท queued (1) โ”‚|
-|โ”‚ collector ยท 0t ยท phase 2 (waiting) โ”‚|
+|โ•ญ subagents โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฎ|
+|โ”‚ โ–ถ kv-review ยท 4t ยท 75% cached ยท read src/mod_3.rs โ”‚|
+|โ”‚ perf-scan ยท 3t ยท 0% cached ยท read src/mod_2.rs โ”‚|
+|โ”‚ lint-fix ยท 1t ยท read src/mod_0.rs โ”‚|
+|โ”‚ docs-writer ยท 0t ยท queued (1) โ”‚|
+|โ”‚ collector ยท 0t ยท phase 2 (waiting) โ”‚|
|โ”‚ โ”‚|
|โ”‚ โ”‚|
|โ”‚ โ”‚|
-|โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜|
+|โ•ฐโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ|
| |
|โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€|
|selectingโ€ฆ |
@@ -24,7 +23,25 @@ expression: render_snapshot(buf)
0 3..14 mod=BOLD
0 14..29 fg=Yellow
0 55..64 fg=Cyan mod=BOLD
- 2 1..89 fg=Cyan mod=BOLD
+ 1 0..90 fg=#56B6C2
+ 2 0..1 fg=#56B6C2
+ 2 2..88 fg=Cyan mod=BOLD
+ 2 89..90 fg=#56B6C2
+ 3 0..1 fg=#56B6C2
+ 3 89..90 fg=#56B6C2
+ 4 0..1 fg=#56B6C2
+ 4 89..90 fg=#56B6C2
+ 5 0..1 fg=#56B6C2
+ 5 89..90 fg=#56B6C2
+ 6 0..1 fg=#56B6C2
+ 6 89..90 fg=#56B6C2
+ 7 0..1 fg=#56B6C2
+ 7 89..90 fg=#56B6C2
+ 8 0..1 fg=#56B6C2
+ 8 89..90 fg=#56B6C2
+ 9 0..1 fg=#56B6C2
+ 9 89..90 fg=#56B6C2
+10 0..90 fg=#56B6C2
13 0..10 mod=DIM | ITALIC
15 0..1 fg=DarkGray
15 2..17 fg=DarkGray
diff --git a/src-tauri/src/core/cli/tui/tests/snapshots/model_picker_w120_query.snap b/src-tauri/src/core/cli/tui/tests/snapshots/model_picker_w120_query.snap
index f01ba6a67..fb62080df 100644
--- a/src-tauri/src/core/cli/tui/tests/snapshots/model_picker_w120_query.snap
+++ b/src-tauri/src/core/cli/tui/tests/snapshots/model_picker_w120_query.snap
@@ -1,63 +1,62 @@
---
source: src/core/cli/tui/tests/snapshot.rs
-assertion_line: 163
expression: render_snapshot(buf)
---
-|โ”Œ Models โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”|
-|โ”‚ All models 5โ”‚All available models โ”‚|
-|โ”‚ tokamak 1โ”‚โŒ• claudeโ–ˆ โ”‚|
-|โ”‚ anthropic 2โ”‚ anthropic / claude-haiku-4-5 โ”‚|
-|โ”‚ openai 2โ”‚โ–ถ anthropic / claude-sonnet-4-5 โ”‚|
-|โ”‚ โ”‚ โ”‚|
-|โ”‚ โ”‚ โ”‚|
-|โ”‚ โ”‚ โ”‚|
-|โ”‚ โ”‚ โ”‚|
-|โ”‚ โ”‚ โ”‚|
-|โ”‚ โ”‚ โ”‚|
-|โ”‚ โ”‚anthropic/claude-sonnet-4-5 ยท default โ”‚|
-|โ”‚Enter choose ยท Left/Right panes ยท Up/Down move ยท type to search ยท Ctrl-R refresh ยท Esc close โ”‚|
-|โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜|
+|โ•ญ Models โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฎ|
+|โ”‚ All models 5โ”‚All available models โ”‚|
+|โ”‚ tokamak 1โ”‚โŒ• claudeโ–ˆ โ”‚|
+|โ”‚ anthropic 2โ”‚ anthropic / claude-haiku-4-5 โ”‚|
+|โ”‚ openai 2โ”‚โ–ถ anthropic / claude-sonnet-4-5 โ”‚|
+|โ”‚ โ”‚ โ”‚|
+|โ”‚ โ”‚ โ”‚|
+|โ”‚ โ”‚ โ”‚|
+|โ”‚ โ”‚ โ”‚|
+|โ”‚ โ”‚ โ”‚|
+|โ”‚ โ”‚ โ”‚|
+|โ”‚ โ”‚anthropic/claude-sonnet-4-5 ยท default โ”‚|
+|โ”‚ Enter choose ยท Left/Right panes ยท Up/Down move ยท type to search ยท Ctrl-R refresh ยท Esc close โ”‚|
+|โ•ฐโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ|
- 0 0..1 fg=Cyan
+ 0 0..1 fg=#56B6C2
0 1..9 fg=Black bg=Cyan mod=BOLD
- 0 9..120 fg=Cyan
- 1 0..1 fg=Cyan
- 1 3..29 mod=REVERSED
- 1 29..30 fg=DarkGray
- 1 30..50 mod=BOLD
- 1 119..120 fg=Cyan
- 2 0..1 fg=Cyan
- 2 29..39 fg=DarkGray
- 2 119..120 fg=Cyan
- 3 0..1 fg=Cyan
- 3 29..30 fg=DarkGray
- 3 119..120 fg=Cyan
- 4 0..1 fg=Cyan
- 4 29..30 fg=DarkGray
- 4 30..119 mod=BOLD | REVERSED
- 4 119..120 fg=Cyan
- 5 0..1 fg=Cyan
- 5 29..30 fg=DarkGray
- 5 119..120 fg=Cyan
- 6 0..1 fg=Cyan
- 6 29..30 fg=DarkGray
- 6 119..120 fg=Cyan
- 7 0..1 fg=Cyan
- 7 29..30 fg=DarkGray
- 7 119..120 fg=Cyan
- 8 0..1 fg=Cyan
- 8 29..30 fg=DarkGray
- 8 119..120 fg=Cyan
- 9 0..1 fg=Cyan
- 9 29..30 fg=DarkGray
- 9 119..120 fg=Cyan
-10 0..1 fg=Cyan
-10 29..30 fg=DarkGray
-10 119..120 fg=Cyan
-11 0..1 fg=Cyan
-11 29..67 fg=DarkGray
-11 119..120 fg=Cyan
-12 0..1 fg=Cyan
-12 1..93 fg=DarkGray
-12 119..120 fg=Cyan
-13 0..120 fg=Cyan
+ 0 9..120 fg=#56B6C2
+ 1 0..1 fg=#56B6C2
+ 1 4..30 mod=REVERSED
+ 1 30..31 fg=DarkGray
+ 1 31..51 mod=BOLD
+ 1 119..120 fg=#56B6C2
+ 2 0..1 fg=#56B6C2
+ 2 30..40 fg=DarkGray
+ 2 119..120 fg=#56B6C2
+ 3 0..1 fg=#56B6C2
+ 3 30..31 fg=DarkGray
+ 3 119..120 fg=#56B6C2
+ 4 0..1 fg=#56B6C2
+ 4 30..31 fg=DarkGray
+ 4 31..118 mod=BOLD | REVERSED
+ 4 119..120 fg=#56B6C2
+ 5 0..1 fg=#56B6C2
+ 5 30..31 fg=DarkGray
+ 5 119..120 fg=#56B6C2
+ 6 0..1 fg=#56B6C2
+ 6 30..31 fg=DarkGray
+ 6 119..120 fg=#56B6C2
+ 7 0..1 fg=#56B6C2
+ 7 30..31 fg=DarkGray
+ 7 119..120 fg=#56B6C2
+ 8 0..1 fg=#56B6C2
+ 8 30..31 fg=DarkGray
+ 8 119..120 fg=#56B6C2
+ 9 0..1 fg=#56B6C2
+ 9 30..31 fg=DarkGray
+ 9 119..120 fg=#56B6C2
+10 0..1 fg=#56B6C2
+10 30..31 fg=DarkGray
+10 119..120 fg=#56B6C2
+11 0..1 fg=#56B6C2
+11 30..68 fg=DarkGray
+11 119..120 fg=#56B6C2
+12 0..1 fg=#56B6C2
+12 2..94 fg=DarkGray
+12 119..120 fg=#56B6C2
+13 0..120 fg=#56B6C2
diff --git a/src-tauri/src/core/cli/tui/tests/snapshots/model_picker_w48.snap b/src-tauri/src/core/cli/tui/tests/snapshots/model_picker_w48.snap
index 725519145..419d902b1 100644
--- a/src-tauri/src/core/cli/tui/tests/snapshots/model_picker_w48.snap
+++ b/src-tauri/src/core/cli/tui/tests/snapshots/model_picker_w48.snap
@@ -1,63 +1,62 @@
---
source: src/core/cli/tui/tests/snapshot.rs
-assertion_line: 163
expression: render_snapshot(buf)
---
-|โ”Œ Models โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”|
-|โ”‚ All models 5โ”‚All available moโ€ฆโ”‚|
-|โ”‚ tokamak 1โ”‚โŒ• โ–ˆ โ”‚|
-|โ”‚ anthropic 2โ”‚ tokamak / tokaโ€ฆโ”‚|
-|โ”‚ openai 2โ”‚ anthropic / clโ€ฆโ”‚|
-|โ”‚ โ”‚ anthropic / clโ€ฆโ”‚|
-|โ”‚ โ”‚โ–ถ openai / gpt-5โ€ฆโ”‚|
-|โ”‚ โ”‚ openai / gpt-5โ€ฆโ”‚|
-|โ”‚ โ”‚ โ”‚|
-|โ”‚ โ”‚ โ”‚|
-|โ”‚ โ”‚ โ”‚|
-|โ”‚ โ”‚openai/gpt-5-minโ€ฆโ”‚|
-|โ”‚Enter choose ยท Left/Right panes ยท Up/Down movโ€ฆโ”‚|
-|โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜|
+|โ•ญ Models โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฎ|
+|โ”‚ All models 5โ”‚All available โ€ฆ โ”‚|
+|โ”‚ tokamak 1โ”‚โŒ• โ–ˆ โ”‚|
+|โ”‚ anthropic 2โ”‚ tokamak / toโ€ฆ โ”‚|
+|โ”‚ openai 2โ”‚ anthropic / โ€ฆ โ”‚|
+|โ”‚ โ”‚ anthropic / โ€ฆ โ”‚|
+|โ”‚ โ”‚โ–ถ openai / gptโ€ฆ โ”‚|
+|โ”‚ โ”‚ openai / gptโ€ฆ โ”‚|
+|โ”‚ โ”‚ โ”‚|
+|โ”‚ โ”‚ โ”‚|
+|โ”‚ โ”‚ โ”‚|
+|โ”‚ โ”‚openai/gpt-5-mโ€ฆ โ”‚|
+|โ”‚ Enter choose ยท Left/Right panes ยท Up/Down mโ€ฆ โ”‚|
+|โ•ฐโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ|
- 0 0..1 fg=Cyan
+ 0 0..1 fg=#56B6C2
0 1..9 fg=Black bg=Cyan mod=BOLD
- 0 9..48 fg=Cyan
- 1 0..1 fg=Cyan
- 1 3..29 mod=REVERSED
- 1 29..30 fg=DarkGray
- 1 30..47 mod=BOLD
- 1 47..48 fg=Cyan
- 2 0..1 fg=Cyan
- 2 29..33 fg=DarkGray
- 2 47..48 fg=Cyan
- 3 0..1 fg=Cyan
- 3 29..30 fg=DarkGray
- 3 47..48 fg=Cyan
- 4 0..1 fg=Cyan
- 4 29..30 fg=DarkGray
- 4 47..48 fg=Cyan
- 5 0..1 fg=Cyan
- 5 29..30 fg=DarkGray
- 5 47..48 fg=Cyan
- 6 0..1 fg=Cyan
- 6 29..30 fg=DarkGray
- 6 30..47 mod=BOLD | REVERSED
- 6 47..48 fg=Cyan
- 7 0..1 fg=Cyan
- 7 29..30 fg=DarkGray
- 7 47..48 fg=Cyan
- 8 0..1 fg=Cyan
- 8 29..30 fg=DarkGray
- 8 47..48 fg=Cyan
- 9 0..1 fg=Cyan
- 9 29..30 fg=DarkGray
- 9 47..48 fg=Cyan
-10 0..1 fg=Cyan
-10 29..30 fg=DarkGray
-10 47..48 fg=Cyan
-11 0..1 fg=Cyan
-11 29..47 fg=DarkGray
-11 47..48 fg=Cyan
-12 0..1 fg=Cyan
-12 1..47 fg=DarkGray
-12 47..48 fg=Cyan
-13 0..48 fg=Cyan
+ 0 9..48 fg=#56B6C2
+ 1 0..1 fg=#56B6C2
+ 1 4..30 mod=REVERSED
+ 1 30..31 fg=DarkGray
+ 1 31..46 mod=BOLD
+ 1 47..48 fg=#56B6C2
+ 2 0..1 fg=#56B6C2
+ 2 30..34 fg=DarkGray
+ 2 47..48 fg=#56B6C2
+ 3 0..1 fg=#56B6C2
+ 3 30..31 fg=DarkGray
+ 3 47..48 fg=#56B6C2
+ 4 0..1 fg=#56B6C2
+ 4 30..31 fg=DarkGray
+ 4 47..48 fg=#56B6C2
+ 5 0..1 fg=#56B6C2
+ 5 30..31 fg=DarkGray
+ 5 47..48 fg=#56B6C2
+ 6 0..1 fg=#56B6C2
+ 6 30..31 fg=DarkGray
+ 6 31..46 mod=BOLD | REVERSED
+ 6 47..48 fg=#56B6C2
+ 7 0..1 fg=#56B6C2
+ 7 30..31 fg=DarkGray
+ 7 47..48 fg=#56B6C2
+ 8 0..1 fg=#56B6C2
+ 8 30..31 fg=DarkGray
+ 8 47..48 fg=#56B6C2
+ 9 0..1 fg=#56B6C2
+ 9 30..31 fg=DarkGray
+ 9 47..48 fg=#56B6C2
+10 0..1 fg=#56B6C2
+10 30..31 fg=DarkGray
+10 47..48 fg=#56B6C2
+11 0..1 fg=#56B6C2
+11 30..46 fg=DarkGray
+11 47..48 fg=#56B6C2
+12 0..1 fg=#56B6C2
+12 2..46 fg=DarkGray
+12 47..48 fg=#56B6C2
+13 0..48 fg=#56B6C2
diff --git a/src-tauri/src/core/cli/tui/tests/snapshots/model_picker_w80.snap b/src-tauri/src/core/cli/tui/tests/snapshots/model_picker_w80.snap
index 9f4303f45..a99a8afd7 100644
--- a/src-tauri/src/core/cli/tui/tests/snapshots/model_picker_w80.snap
+++ b/src-tauri/src/core/cli/tui/tests/snapshots/model_picker_w80.snap
@@ -1,63 +1,62 @@
---
source: src/core/cli/tui/tests/snapshot.rs
-assertion_line: 163
expression: render_snapshot(buf)
---
-|โ”Œ Models โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”|
-|โ”‚ All models 5โ”‚All available models โ”‚|
-|โ”‚ tokamak 1โ”‚โŒ• โ–ˆ โ”‚|
-|โ”‚ anthropic 2โ”‚ tokamak / tokamak-1-preview โ”‚|
-|โ”‚ openai 2โ”‚ anthropic / claude-haiku-4-5 โ”‚|
-|โ”‚ โ”‚ anthropic / claude-sonnet-4-5 โ”‚|
-|โ”‚ โ”‚โ–ถ openai / gpt-5-mini โ”‚|
-|โ”‚ โ”‚ openai / gpt-5.1 โ”‚|
-|โ”‚ โ”‚ โ”‚|
-|โ”‚ โ”‚ โ”‚|
-|โ”‚ โ”‚ โ”‚|
-|โ”‚ โ”‚openai/gpt-5-mini ยท current โ”‚|
-|โ”‚Enter choose ยท Left/Right panes ยท Up/Down move ยท type to search ยท Ctrl-R refrโ€ฆโ”‚|
-|โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜|
+|โ•ญ Models โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฎ|
+|โ”‚ All models 5โ”‚All available models โ”‚|
+|โ”‚ tokamak 1โ”‚โŒ• โ–ˆ โ”‚|
+|โ”‚ anthropic 2โ”‚ tokamak / tokamak-1-preview โ”‚|
+|โ”‚ openai 2โ”‚ anthropic / claude-haiku-4-5 โ”‚|
+|โ”‚ โ”‚ anthropic / claude-sonnet-4-5 โ”‚|
+|โ”‚ โ”‚โ–ถ openai / gpt-5-mini โ”‚|
+|โ”‚ โ”‚ openai / gpt-5.1 โ”‚|
+|โ”‚ โ”‚ โ”‚|
+|โ”‚ โ”‚ โ”‚|
+|โ”‚ โ”‚ โ”‚|
+|โ”‚ โ”‚openai/gpt-5-mini ยท current โ”‚|
+|โ”‚ Enter choose ยท Left/Right panes ยท Up/Down move ยท type to search ยท Ctrl-R reโ€ฆ โ”‚|
+|โ•ฐโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ|
- 0 0..1 fg=Cyan
+ 0 0..1 fg=#56B6C2
0 1..9 fg=Black bg=Cyan mod=BOLD
- 0 9..80 fg=Cyan
- 1 0..1 fg=Cyan
- 1 3..29 mod=REVERSED
- 1 29..30 fg=DarkGray
- 1 30..50 mod=BOLD
- 1 79..80 fg=Cyan
- 2 0..1 fg=Cyan
- 2 29..33 fg=DarkGray
- 2 79..80 fg=Cyan
- 3 0..1 fg=Cyan
- 3 29..30 fg=DarkGray
- 3 79..80 fg=Cyan
- 4 0..1 fg=Cyan
- 4 29..30 fg=DarkGray
- 4 79..80 fg=Cyan
- 5 0..1 fg=Cyan
- 5 29..30 fg=DarkGray
- 5 79..80 fg=Cyan
- 6 0..1 fg=Cyan
- 6 29..30 fg=DarkGray
- 6 30..79 mod=BOLD | REVERSED
- 6 79..80 fg=Cyan
- 7 0..1 fg=Cyan
- 7 29..30 fg=DarkGray
- 7 79..80 fg=Cyan
- 8 0..1 fg=Cyan
- 8 29..30 fg=DarkGray
- 8 79..80 fg=Cyan
- 9 0..1 fg=Cyan
- 9 29..30 fg=DarkGray
- 9 79..80 fg=Cyan
-10 0..1 fg=Cyan
-10 29..30 fg=DarkGray
-10 79..80 fg=Cyan
-11 0..1 fg=Cyan
-11 29..57 fg=DarkGray
-11 79..80 fg=Cyan
-12 0..1 fg=Cyan
-12 1..79 fg=DarkGray
-12 79..80 fg=Cyan
-13 0..80 fg=Cyan
+ 0 9..80 fg=#56B6C2
+ 1 0..1 fg=#56B6C2
+ 1 4..30 mod=REVERSED
+ 1 30..31 fg=DarkGray
+ 1 31..51 mod=BOLD
+ 1 79..80 fg=#56B6C2
+ 2 0..1 fg=#56B6C2
+ 2 30..34 fg=DarkGray
+ 2 79..80 fg=#56B6C2
+ 3 0..1 fg=#56B6C2
+ 3 30..31 fg=DarkGray
+ 3 79..80 fg=#56B6C2
+ 4 0..1 fg=#56B6C2
+ 4 30..31 fg=DarkGray
+ 4 79..80 fg=#56B6C2
+ 5 0..1 fg=#56B6C2
+ 5 30..31 fg=DarkGray
+ 5 79..80 fg=#56B6C2
+ 6 0..1 fg=#56B6C2
+ 6 30..31 fg=DarkGray
+ 6 31..78 mod=BOLD | REVERSED
+ 6 79..80 fg=#56B6C2
+ 7 0..1 fg=#56B6C2
+ 7 30..31 fg=DarkGray
+ 7 79..80 fg=#56B6C2
+ 8 0..1 fg=#56B6C2
+ 8 30..31 fg=DarkGray
+ 8 79..80 fg=#56B6C2
+ 9 0..1 fg=#56B6C2
+ 9 30..31 fg=DarkGray
+ 9 79..80 fg=#56B6C2
+10 0..1 fg=#56B6C2
+10 30..31 fg=DarkGray
+10 79..80 fg=#56B6C2
+11 0..1 fg=#56B6C2
+11 30..58 fg=DarkGray
+11 79..80 fg=#56B6C2
+12 0..1 fg=#56B6C2
+12 2..78 fg=DarkGray
+12 79..80 fg=#56B6C2
+13 0..80 fg=#56B6C2
diff --git a/src-tauri/src/core/cli/tui/tests/snapshots/permission_prompt_diff_ansi16.snap b/src-tauri/src/core/cli/tui/tests/snapshots/permission_prompt_diff_ansi16.snap
index e18dda069..86ce2f218 100644
--- a/src-tauri/src/core/cli/tui/tests/snapshots/permission_prompt_diff_ansi16.snap
+++ b/src-tauri/src/core/cli/tui/tests/snapshots/permission_prompt_diff_ansi16.snap
@@ -1,6 +1,5 @@
---
source: src/core/cli/tui/tests/snapshot.rs
-assertion_line: 163
expression: render_snapshot(buf)
---
| ๐Ÿ‘‹ gpt-5-mini effort medium ctx 0K/128K fallback [working] |
@@ -8,20 +7,20 @@ expression: render_snapshot(buf)
| |
| |
| |
-|โ”Œ permission required โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”|
-|โ”‚edit wants write โ”‚|
-|โ”‚on src/greet.rs โ”‚|
-|โ”‚โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ” โ”‚|
-|โ”‚โ”‚ @@ -1,3 +1,3 @@ โ”‚ โ”‚|
-|โ”‚โ”‚ fn greet() { โ”‚ โ”‚|
-|โ”‚โ”‚ - println!("hi ansi16"); โ”‚ โ”‚|
-|โ”‚โ”‚ + println!("hello ansi16"); โ”‚ โ”‚|
-|โ”‚โ”‚ } โ”‚ โ”‚|
-|โ”‚โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜ โ”‚|
-|โ”‚โ–ถ Allow once โ”‚|
-|โ”‚ Allow always (this thread) โ”‚|
-|โ”‚ Deny โ”‚|
-|โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜|
+|โ•ญ permission required โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฎ|
+|โ”‚ edit wants write โ”‚|
+|โ”‚ on src/greet.rs โ”‚|
+|โ”‚ โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ” โ”‚|
+|โ”‚ โ”‚ @@ -1,3 +1,3 @@ โ”‚ โ”‚|
+|โ”‚ โ”‚ fn greet() { โ”‚ โ”‚|
+|โ”‚ โ”‚ - println!("hi ansi16"); โ”‚ โ”‚|
+|โ”‚ โ”‚ + println!("hello ansi16"); โ”‚ โ”‚|
+|โ”‚ โ”‚ } โ”‚ โ”‚|
+|โ”‚ โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜ โ”‚|
+|โ”‚ โ–ถ Allow once โ”‚|
+|โ”‚ Allow always (this thread) โ”‚|
+|โ”‚ Deny โ”‚|
+|โ•ฐโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ|
|โ€ข workingโ€ฆ (Esc to cancel, type to steer the agent) |
| |
| โ†‘/โ†“ select Enter confirm Esc deny Ctrl-C cancel |
@@ -34,48 +33,48 @@ expression: render_snapshot(buf)
5 1..22 fg=Black bg=Yellow mod=BOLD
5 22..70 fg=Yellow
6 0..1 fg=Yellow
- 6 1..5 fg=Cyan mod=BOLD
- 6 5..12 fg=DarkGray
- 6 12..17 fg=Yellow mod=BOLD
+ 6 2..6 fg=Cyan mod=BOLD
+ 6 6..13 fg=DarkGray
+ 6 13..18 fg=Yellow mod=BOLD
6 69..70 fg=Yellow
7 0..1 fg=Yellow
- 7 1..4 fg=DarkGray
+ 7 2..5 fg=DarkGray
7 69..70 fg=Yellow
8 0..1 fg=Yellow
- 8 1..35 fg=DarkGray
+ 8 2..36 fg=DarkGray
8 69..70 fg=Yellow
9 0..1 fg=Yellow
- 9 1..3 fg=DarkGray
- 9 3..18 fg=Cyan mod=DIM
- 9 18..35 fg=DarkGray
+ 9 2..4 fg=DarkGray
+ 9 4..19 fg=Cyan mod=DIM
+ 9 19..36 fg=DarkGray
9 69..70 fg=Yellow
10 0..1 fg=Yellow
-10 1..3 fg=DarkGray
-10 3..4 mod=DIM
-10 16..35 fg=DarkGray
+10 2..4 fg=DarkGray
+10 4..5 mod=DIM
+10 17..36 fg=DarkGray
10 69..70 fg=Yellow
11 0..1 fg=Yellow
-11 1..3 fg=DarkGray
-11 3..4 fg=Red mod=BOLD
-11 4..30 fg=Red
-11 30..35 fg=DarkGray
+11 2..4 fg=DarkGray
+11 4..5 fg=Red mod=BOLD
+11 5..31 fg=Red
+11 31..36 fg=DarkGray
11 69..70 fg=Yellow
12 0..1 fg=Yellow
-12 1..3 fg=DarkGray
-12 3..4 fg=Green mod=BOLD
-12 4..33 fg=Green
-12 33..35 fg=DarkGray
+12 2..4 fg=DarkGray
+12 4..5 fg=Green mod=BOLD
+12 5..34 fg=Green
+12 34..36 fg=DarkGray
12 69..70 fg=Yellow
13 0..1 fg=Yellow
-13 1..3 fg=DarkGray
-13 3..4 mod=DIM
-13 5..35 fg=DarkGray
+13 2..4 fg=DarkGray
+13 4..5 mod=DIM
+13 6..36 fg=DarkGray
13 69..70 fg=Yellow
14 0..1 fg=Yellow
-14 1..35 fg=DarkGray
+14 2..36 fg=DarkGray
14 69..70 fg=Yellow
15 0..1 fg=Yellow
-15 1..69 fg=Cyan mod=BOLD
+15 2..68 fg=Cyan mod=BOLD
15 69..70 fg=Yellow
16 0..1 fg=Yellow
16 69..70 fg=Yellow
diff --git a/src-tauri/src/core/cli/tui/tests/snapshots/permission_prompt_exec.snap b/src-tauri/src/core/cli/tui/tests/snapshots/permission_prompt_exec.snap
index 1a043ee38..dfd8bd783 100644
--- a/src-tauri/src/core/cli/tui/tests/snapshots/permission_prompt_exec.snap
+++ b/src-tauri/src/core/cli/tui/tests/snapshots/permission_prompt_exec.snap
@@ -1,6 +1,5 @@
---
source: src/core/cli/tui/tests/snapshot.rs
-assertion_line: 163
expression: render_snapshot(buf)
---
| ๐Ÿ‘‹ gpt-5-mini effort medium ctx 0K/128K fallback [working] |
@@ -13,13 +12,13 @@ expression: render_snapshot(buf)
| |
| |
| |
-|โ”Œ permission required โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”|
-|โ”‚bash wants execute โ”‚|
-|โ”‚$ git status && cargo test --lib โ”‚|
-|โ”‚โ–ถ Allow once โ”‚|
-|โ”‚ Allow all 'cargo', 'git' commands (this thread) โ”‚|
-|โ”‚ Deny โ”‚|
-|โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜|
+|โ•ญ permission required โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฎ|
+|โ”‚ bash wants execute โ”‚|
+|โ”‚ $ git status && cargo test --lib โ”‚|
+|โ”‚ โ–ถ Allow once โ”‚|
+|โ”‚ Allow all 'cargo', 'git' commands (this thread) โ”‚|
+|โ”‚ Deny โ”‚|
+|โ•ฐโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ|
|โ€ข workingโ€ฆ (Esc to cancel, type to steer the agent) |
| |
|๐Ÿ“‚ /snapshot/repo โ†‘/โ†“ select Enter confirm Esc deny Ctrl-C cancel|
@@ -28,25 +27,25 @@ expression: render_snapshot(buf)
0 3..14 mod=BOLD
0 14..29 fg=Yellow
0 55..64 fg=Cyan mod=BOLD
-10 0..1 fg=Yellow
+10 0..1 fg=#E5C07B
10 1..22 fg=Black bg=Yellow mod=BOLD
-10 22..80 fg=Yellow
-11 0..1 fg=Yellow
-11 1..5 fg=Cyan mod=BOLD
-11 5..12 fg=DarkGray
-11 12..19 fg=Yellow mod=BOLD
-11 79..80 fg=Yellow
-12 0..1 fg=Yellow
-12 1..3 fg=DarkGray
-12 79..80 fg=Yellow
-13 0..1 fg=Yellow
-13 1..79 fg=Cyan mod=BOLD
-13 79..80 fg=Yellow
-14 0..1 fg=Yellow
-14 79..80 fg=Yellow
-15 0..1 fg=Yellow
-15 79..80 fg=Yellow
-16 0..80 fg=Yellow
+10 22..80 fg=#E5C07B
+11 0..1 fg=#E5C07B
+11 2..6 fg=Cyan mod=BOLD
+11 6..13 fg=DarkGray
+11 13..20 fg=Yellow mod=BOLD
+11 79..80 fg=#E5C07B
+12 0..1 fg=#E5C07B
+12 2..4 fg=DarkGray
+12 79..80 fg=#E5C07B
+13 0..1 fg=#E5C07B
+13 2..78 fg=Cyan mod=BOLD
+13 79..80 fg=#E5C07B
+14 0..1 fg=#E5C07B
+14 79..80 fg=#E5C07B
+15 0..1 fg=#E5C07B
+15 79..80 fg=#E5C07B
+16 0..80 fg=#E5C07B
17 0..2 fg=Cyan
17 2..51 mod=DIM | ITALIC
19 0..1 fg=DarkGray
diff --git a/src-tauri/src/core/cli/tui/tests/snapshots/permission_prompt_subagent_queued.snap b/src-tauri/src/core/cli/tui/tests/snapshots/permission_prompt_subagent_queued.snap
index f609caa64..b6796b1f6 100644
--- a/src-tauri/src/core/cli/tui/tests/snapshots/permission_prompt_subagent_queued.snap
+++ b/src-tauri/src/core/cli/tui/tests/snapshots/permission_prompt_subagent_queued.snap
@@ -1,6 +1,5 @@
---
source: src/core/cli/tui/tests/snapshot.rs
-assertion_line: 163
expression: render_snapshot(buf)
---
| ๐Ÿ‘‹ gpt-5-mini effort medium ctx 0K/128K fallback [working] |
@@ -11,13 +10,13 @@ expression: render_snapshot(buf)
| |
| |
| |
-|โ”Œ permission required (1 of 2) โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”|
-|โ”‚subagent scout is asking: โ”‚|
-|โ”‚write wants write โ”‚|
-|โ”‚on notes.md โ”‚|
-|โ”‚โ–ถ Allow once โ”‚|
-|โ”‚ Deny โ”‚|
-|โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜|
+|โ•ญ permission required (1 of 2) โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฎ|
+|โ”‚ subagent scout is asking: โ”‚|
+|โ”‚ write wants write โ”‚|
+|โ”‚ on notes.md โ”‚|
+|โ”‚ โ–ถ Allow once โ”‚|
+|โ”‚ Deny โ”‚|
+|โ•ฐโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ|
|โ€ข workingโ€ฆ (Esc to cancel, type to steer the agent) |
| |
| โ†‘/โ†“ select Enter confirm Esc deny Ctrl-C cancel |
@@ -26,28 +25,28 @@ expression: render_snapshot(buf)
0 3..14 mod=BOLD
0 14..29 fg=Yellow
0 55..64 fg=Cyan mod=BOLD
- 8 0..1 fg=Yellow
+ 8 0..1 fg=#E5C07B
8 1..31 fg=Black bg=Yellow mod=BOLD
- 8 31..72 fg=Yellow
- 9 0..1 fg=Yellow
- 9 1..10 fg=DarkGray
- 9 10..15 fg=Magenta mod=BOLD
- 9 15..26 fg=DarkGray
- 9 71..72 fg=Yellow
-10 0..1 fg=Yellow
-10 1..6 fg=Cyan mod=BOLD
-10 6..13 fg=DarkGray
-10 13..18 fg=Yellow mod=BOLD
-10 71..72 fg=Yellow
-11 0..1 fg=Yellow
-11 1..4 fg=DarkGray
-11 71..72 fg=Yellow
-12 0..1 fg=Yellow
-12 1..71 fg=Cyan mod=BOLD
-12 71..72 fg=Yellow
-13 0..1 fg=Yellow
-13 71..72 fg=Yellow
-14 0..72 fg=Yellow
+ 8 31..72 fg=#E5C07B
+ 9 0..1 fg=#E5C07B
+ 9 2..11 fg=DarkGray
+ 9 11..16 fg=Magenta mod=BOLD
+ 9 16..27 fg=DarkGray
+ 9 71..72 fg=#E5C07B
+10 0..1 fg=#E5C07B
+10 2..7 fg=Cyan mod=BOLD
+10 7..14 fg=DarkGray
+10 14..19 fg=Yellow mod=BOLD
+10 71..72 fg=#E5C07B
+11 0..1 fg=#E5C07B
+11 2..5 fg=DarkGray
+11 71..72 fg=#E5C07B
+12 0..1 fg=#E5C07B
+12 2..70 fg=Cyan mod=BOLD
+12 71..72 fg=#E5C07B
+13 0..1 fg=#E5C07B
+13 71..72 fg=#E5C07B
+14 0..72 fg=#E5C07B
15 0..2 fg=Cyan
15 2..51 mod=DIM | ITALIC
17 1..4 fg=Yellow mod=BOLD
diff --git a/src-tauri/src/core/cli/tui/vibe_setting.rs b/src-tauri/src/core/cli/tui/vibe_setting.rs
index 5b04e3912..bc7c9264a 100644
--- a/src-tauri/src/core/cli/tui/vibe_setting.rs
+++ b/src-tauri/src/core/cli/tui/vibe_setting.rs
@@ -14,7 +14,7 @@
//! tool permissions needs a typed `yes` rather than a single key.
use ratatui::prelude::*;
-use ratatui::widgets::{Block, Borders, Paragraph};
+use ratatui::widgets::Paragraph;
use serde_json::{json, Value};
use super::{
@@ -600,9 +600,7 @@ pub(super) fn lines(proposal: &VibeProposal, width: u16) -> Vec<Line<'static>> {
pub(super) fn draw(f: &mut Frame, area: Rect, proposal: &VibeProposal) {
use ratatui::widgets::Clear;
- let block = Block::default()
- .borders(Borders::ALL)
- .border_style(Style::new().cyan())
+ let block = super::panel_block(super::theme::border_active())
.title(Span::styled(
" vibe-setting: proposed changes ",
Style::new().on_cyan().black().bold(),