4runr-os 2.6.0 → 2.6.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -236,23 +236,28 @@ fn render_agent_detail(f: &mut Frame, area: Rect, agent: &AgentInfo) {
|
|
|
236
236
|
];
|
|
237
237
|
|
|
238
238
|
// Basic Info
|
|
239
|
-
add_field(&mut detail_lines, "Name", &agent.name);
|
|
239
|
+
add_field(&mut detail_lines, "Name", &agent.name.to_string());
|
|
240
240
|
|
|
241
241
|
if let Some(desc) = &agent.description {
|
|
242
242
|
if !desc.is_empty() {
|
|
243
|
-
add_field(&mut detail_lines, "Description", desc);
|
|
243
|
+
add_field(&mut detail_lines, "Description", &desc.to_string());
|
|
244
244
|
}
|
|
245
245
|
}
|
|
246
246
|
|
|
247
|
-
|
|
248
|
-
add_field(&mut detail_lines, "
|
|
247
|
+
let model_display = if agent.model.is_empty() || agent.model == "unknown" { "—".to_string() } else { agent.model.clone() };
|
|
248
|
+
add_field(&mut detail_lines, "Model", &model_display);
|
|
249
|
+
|
|
250
|
+
let provider_display = if agent.provider.is_empty() || agent.provider == "unknown" { "—".to_string() } else { agent.provider.clone() };
|
|
251
|
+
add_field(&mut detail_lines, "Provider", &provider_display);
|
|
249
252
|
|
|
250
253
|
if let Some(temp) = agent.temperature {
|
|
251
|
-
|
|
254
|
+
let temp_str = format!("{:.2}", temp);
|
|
255
|
+
add_field(&mut detail_lines, "Temperature", &temp_str);
|
|
252
256
|
}
|
|
253
257
|
|
|
254
258
|
if let Some(max_tokens) = agent.max_tokens {
|
|
255
|
-
|
|
259
|
+
let tokens_str = format!("{}", max_tokens);
|
|
260
|
+
add_field(&mut detail_lines, "Max Tokens", &tokens_str);
|
|
256
261
|
}
|
|
257
262
|
|
|
258
263
|
if !agent.tools.is_empty() {
|
|
@@ -328,9 +333,9 @@ fn render_agent_detail(f: &mut Frame, area: Rect, agent: &AgentInfo) {
|
|
|
328
333
|
}
|
|
329
334
|
|
|
330
335
|
/// Helper function to add a field line
|
|
331
|
-
fn add_field(lines: &mut Vec<Line<'static>>, label: &str, value: &
|
|
336
|
+
fn add_field(lines: &mut Vec<Line<'static>>, label: &str, value: &String) {
|
|
332
337
|
lines.push(Line::from(vec![
|
|
333
|
-
Span::styled(format!(" {:<15}",
|
|
334
|
-
Span::styled(value.
|
|
338
|
+
Span::styled(format!(" {:<15}", format!("{}:", label)), Style::default().fg(CYBER_CYAN).add_modifier(Modifier::BOLD)),
|
|
339
|
+
Span::styled(value.clone(), Style::default().fg(TEXT_PRIMARY)),
|
|
335
340
|
]));
|
|
336
341
|
}
|
package/mk3-tui/src/ui/help.rs
CHANGED
|
@@ -206,6 +206,6 @@ fn add_command(lines: &mut Vec<Line<'static>>, command: &str, description: &str)
|
|
|
206
206
|
lines.push(Line::from(vec![
|
|
207
207
|
Span::styled(" ", Style::default()),
|
|
208
208
|
Span::styled(format!("{:<20}", command), Style::default().fg(NEON_GREEN).add_modifier(Modifier::BOLD)),
|
|
209
|
-
Span::styled(description, Style::default().fg(TEXT_PRIMARY)),
|
|
209
|
+
Span::styled(description.to_string(), Style::default().fg(TEXT_PRIMARY)),
|
|
210
210
|
]));
|
|
211
211
|
}
|
package/mk3-tui/src/ui/layout.rs
CHANGED
|
@@ -120,7 +120,7 @@ fn render_header(f: &mut Frame, area: Rect, state: &AppState) {
|
|
|
120
120
|
|
|
121
121
|
// Line 1: Brand + version + uptime - Bug 3 fix: Use "4Runr." with dot (matches brand logo)
|
|
122
122
|
// Use npm package version (2.3.5) - matches package.json
|
|
123
|
-
const PACKAGE_VERSION: &str = "2.6.
|
|
123
|
+
const PACKAGE_VERSION: &str = "2.6.2";
|
|
124
124
|
let brand_line = Line::from(vec![
|
|
125
125
|
Span::styled("4Runr.", Style::default().fg(BRAND_PURPLE).add_modifier(Modifier::BOLD)),
|
|
126
126
|
Span::styled(" AI AGENT OS", Style::default().fg(BRAND_VIOLET)),
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "4runr-os",
|
|
3
|
-
"version": "2.6.
|
|
3
|
+
"version": "2.6.2",
|
|
4
4
|
"type": "module",
|
|
5
|
-
"description": "4Runr AI Agent OS - Secure terminal interface for AI agents. v2.6.
|
|
5
|
+
"description": "4Runr AI Agent OS - Secure terminal interface for AI agents. v2.6.2: Fixed remaining lifetime errors in agent_list.rs (all borrowed strings now properly converted to owned). Complete UI polish with redesigned help popup, fixed agent detail popup overlay, and enhanced agent list. Professional, clean, readable interface. Built with Rust + Ratatui. ⚠️ Pre-MVP / Development Phase",
|
|
6
6
|
"main": "dist/index.js",
|
|
7
7
|
"bin": {
|
|
8
8
|
"4runr": "dist/index.js",
|