4runr-os 2.6.1 → 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,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", &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
- let model_display = if agent.model.is_empty() || agent.model == "unknown" { "—" } else { &agent.model };
248
- add_field(&mut detail_lines, "Model", model_display);
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
249
 
250
- let provider_display = if agent.provider.is_empty() || agent.provider == "unknown" { "—" } else { &agent.provider };
251
- add_field(&mut detail_lines, "Provider", provider_display);
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);
252
252
 
253
253
  if let Some(temp) = agent.temperature {
254
- add_field(&mut detail_lines, "Temperature", &format!("{:.2}", temp));
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
- add_field(&mut detail_lines, "Max Tokens", &format!("{}", max_tokens));
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: &str) {
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.to_string(), Style::default().fg(TEXT_PRIMARY)),
339
+ Span::styled(value.clone(), Style::default().fg(TEXT_PRIMARY)),
338
340
  ]));
339
341
  }
@@ -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.1";
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.1",
3
+ "version": "2.6.2",
4
4
  "type": "module",
5
- "description": "4Runr AI Agent OS - Secure terminal interface for AI agents. v2.6.1: Fixed compilation errors (string concatenation and lifetime issues in help.rs and agent_list.rs). 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",
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",