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.
package/mk3-tui/src/main.rs
CHANGED
|
@@ -108,7 +108,7 @@ struct CostEstimate {
|
|
|
108
108
|
is_free: bool,
|
|
109
109
|
}
|
|
110
110
|
|
|
111
|
-
fn calculate_cost(provider: &str, model: &str,
|
|
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);
|
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.4.
|
|
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)),
|
package/mk3-tui/src/ui/mod.rs
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "4runr-os",
|
|
3
|
-
"version": "2.4.
|
|
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",
|