4runr-os 2.4.2 → 2.4.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.
@@ -15,6 +15,7 @@ mod websocket;
15
15
 
16
16
  use app::App;
17
17
  use io::IoHandler;
18
+ use screens::Screen;
18
19
  use websocket::{WebSocketClient, WsClientMessage};
19
20
 
20
21
  fn main() -> Result<()> {
@@ -3,4 +3,4 @@
3
3
 
4
4
  pub mod cache;
5
5
 
6
- pub use cache::{Cache, CacheData};
6
+ pub use cache::Cache;
@@ -108,7 +108,7 @@ struct CostEstimate {
108
108
  is_free: bool,
109
109
  }
110
110
 
111
- fn calculate_cost(provider: &str, model: &str, max_tokens: u32) -> CostEstimate {
111
+ fn calculate_cost(provider: &str, model: &str, _max_tokens: u32) -> CostEstimate {
112
112
  let pricing = get_model_pricing(provider, model);
113
113
  let is_free = pricing.input_cost == 0.0 && pricing.output_cost == 0.0;
114
114
 
@@ -137,8 +137,6 @@ fn render_detail_popup(f: &mut Frame, area: Rect, state: &AppState) {
137
137
  }
138
138
 
139
139
  fn render_agent_detail(f: &mut Frame, area: Rect, agent: &AgentInfo) {
140
- use ratatui::layout::{Constraint, Direction, Layout};
141
-
142
140
  // Calculate popup size (70% width, 80% height, centered)
143
141
  let popup_width = (area.width * 70 / 100).max(50);
144
142
  let popup_height = (area.height * 80 / 100).max(15);
@@ -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.4.2";
123
+ const PACKAGE_VERSION: &str = "2.4.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)),
@@ -7,8 +7,3 @@ pub mod run_manager;
7
7
  pub mod safe_viewport;
8
8
  pub mod settings;
9
9
 
10
- // Re-export screen states
11
- pub use agent_builder::AgentBuilderState;
12
- pub use run_manager::RunManagerState;
13
- pub use settings::SettingsState;
14
-
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "4runr-os",
3
- "version": "2.4.2",
3
+ "version": "2.4.3",
4
4
  "type": "module",
5
5
  "private": false,
6
6
  "description": "4Runr AI Agent OS - Secure terminal interface for AI agents. v2.3.5: Fixed boot screen logo rendering (restored original working version), fully functional Agent Builder with input handling and TUI styling. Built with Rust + Ratatui. ⚠️ Pre-MVP / Development Phase",