refactor: remove agent mode and related functionality; update help and README
This commit is contained in:
+1
-15
@@ -93,21 +93,7 @@ fn render_overlay(frame: &mut Frame, area: Rect, overlay: crate::app::state::typ
|
||||
let paragraph = Paragraph::new(lines).block(block);
|
||||
frame.render_widget(paragraph, overlay_area);
|
||||
}
|
||||
crate::app::state::types::Overlay::Agents => {
|
||||
let block = block.title(" Agents ");
|
||||
let lines = vec![
|
||||
Line::from(Span::styled(
|
||||
"Sub-agent management panel",
|
||||
Style::default().fg(Theme::TEXT),
|
||||
)),
|
||||
Line::from(Span::styled(
|
||||
format!("Subagent queue: {}", state.session_runtime.as_ref().map(|r| r.subagent_queue).unwrap_or(0)),
|
||||
Style::default().fg(Theme::INFO),
|
||||
)),
|
||||
];
|
||||
let paragraph = Paragraph::new(lines).block(block);
|
||||
frame.render_widget(paragraph, overlay_area);
|
||||
}
|
||||
|
||||
crate::app::state::types::Overlay::Bash => {
|
||||
let block = block.title(" Bash ");
|
||||
let lines: Vec<Line> = state.session_runtime.as_ref().map(|r| {
|
||||
|
||||
@@ -19,7 +19,5 @@ impl Theme {
|
||||
pub const BG: Color = Color::Reset;
|
||||
pub const STATUS_BAR_BG: Color = Color::Blue;
|
||||
pub const MODE_AUTO: Color = Color::Green;
|
||||
pub const MODE_NORMAL: Color = Color::Yellow;
|
||||
pub const MODE_PLAN: Color = Color::Cyan;
|
||||
pub const MODE_YOLO: Color = Color::Red;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user