4runr-os 2.6.1 → 2.6.3
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,26 +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",
|
|
239
|
+
add_field(&mut detail_lines, "Name", agent.name.clone());
|
|
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.clone());
|
|
244
244
|
}
|
|
245
245
|
}
|
|
246
246
|
|
|
247
|
-
let model_display = if agent.model.is_empty() || agent.model == "unknown" { "—" } else {
|
|
247
|
+
let model_display = if agent.model.is_empty() || agent.model == "unknown" { "—".to_string() } else { agent.model.clone() };
|
|
248
248
|
add_field(&mut detail_lines, "Model", model_display);
|
|
249
249
|
|
|
250
|
-
let provider_display = if agent.provider.is_empty() || agent.provider == "unknown" { "—" } else {
|
|
250
|
+
let provider_display = if agent.provider.is_empty() || agent.provider == "unknown" { "—".to_string() } else { agent.provider.clone() };
|
|
251
251
|
add_field(&mut detail_lines, "Provider", provider_display);
|
|
252
252
|
|
|
253
253
|
if let Some(temp) = agent.temperature {
|
|
254
|
-
|
|
254
|
+
let temp_str = format!("{:.2}", temp);
|
|
255
|
+
add_field(&mut detail_lines, "Temperature", temp_str);
|
|
255
256
|
}
|
|
256
257
|
|
|
257
258
|
if let Some(max_tokens) = agent.max_tokens {
|
|
258
|
-
|
|
259
|
+
let tokens_str = format!("{}", max_tokens);
|
|
260
|
+
add_field(&mut detail_lines, "Max Tokens", tokens_str);
|
|
259
261
|
}
|
|
260
262
|
|
|
261
263
|
if !agent.tools.is_empty() {
|
|
@@ -331,9 +333,9 @@ fn render_agent_detail(f: &mut Frame, area: Rect, agent: &AgentInfo) {
|
|
|
331
333
|
}
|
|
332
334
|
|
|
333
335
|
/// Helper function to add a field line
|
|
334
|
-
fn add_field(lines: &mut Vec<Line<'static>>, label: &str, value:
|
|
336
|
+
fn add_field(lines: &mut Vec<Line<'static>>, label: &str, value: String) {
|
|
335
337
|
lines.push(Line::from(vec![
|
|
336
338
|
Span::styled(format!(" {:<15}", format!("{}:", label)), Style::default().fg(CYBER_CYAN).add_modifier(Modifier::BOLD)),
|
|
337
|
-
Span::styled(value
|
|
339
|
+
Span::styled(value, Style::default().fg(TEXT_PRIMARY)),
|
|
338
340
|
]));
|
|
339
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
|
|
209
|
+
Span::styled(description, 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.3";
|
|
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.3",
|
|
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.3: Fixed lifetime errors by changing add_field/add_command to accept owned String values instead of references. 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",
|