4runr-os 2.3.7 → 2.3.8
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/ui/boot.rs +7 -10
- package/mk3-tui/src/ui/layout.rs +1 -1
- package/package.json +1 -1
package/mk3-tui/src/ui/boot.rs
CHANGED
|
@@ -29,25 +29,22 @@ pub fn render_boot(f: &mut Frame, area: Rect, state: &AppState) {
|
|
|
29
29
|
area,
|
|
30
30
|
);
|
|
31
31
|
|
|
32
|
-
//
|
|
32
|
+
// Fixed layout: logo stays at fixed position, elements below it
|
|
33
33
|
let logo_height: u16 = 6; // Logo is 6 lines
|
|
34
|
-
let boot_logs_height: u16 =
|
|
34
|
+
let boot_logs_height: u16 = 5; // Fixed height for logs (not dynamic)
|
|
35
35
|
let progress_height: u16 = 3;
|
|
36
|
-
let footer_height: u16 = 1;
|
|
37
36
|
|
|
38
|
-
//
|
|
39
|
-
let
|
|
40
|
-
let total_content_height: u16 = logo_height + 2 + boot_logs_height + 2 + progress_height + 2 + footer_height;
|
|
41
|
-
let start_y: u16 = top_padding + (area.height.saturating_sub(total_content_height + top_padding)) / 2;
|
|
37
|
+
// Logo starts at a fixed position from top (about 1/4 down the screen)
|
|
38
|
+
let logo_start_y: u16 = area.height / 4;
|
|
42
39
|
|
|
43
|
-
// === LOGO (centered horizontally
|
|
40
|
+
// === LOGO (centered horizontally, fixed vertical position) ===
|
|
44
41
|
let logo_lines: Vec<&str> = LOGO.lines().collect();
|
|
45
42
|
let logo_width: u16 = logo_lines.iter().map(|l| l.len()).max().unwrap_or(0) as u16;
|
|
46
43
|
// Center horizontally: (area.width - logo_width) / 2
|
|
47
44
|
let logo_x: u16 = area.x + (area.width.saturating_sub(logo_width)) / 2;
|
|
48
45
|
|
|
49
46
|
for (i, line) in logo_lines.iter().enumerate() {
|
|
50
|
-
let line_y =
|
|
47
|
+
let line_y = logo_start_y + i as u16;
|
|
51
48
|
if line_y < area.height {
|
|
52
49
|
// Center each line within the available width
|
|
53
50
|
let line_rect = Rect {
|
|
@@ -65,7 +62,7 @@ pub fn render_boot(f: &mut Frame, area: Rect, state: &AppState) {
|
|
|
65
62
|
}
|
|
66
63
|
}
|
|
67
64
|
|
|
68
|
-
let current_y =
|
|
65
|
+
let current_y = logo_start_y + logo_height + 2;
|
|
69
66
|
|
|
70
67
|
// === BOOT LOGS ===
|
|
71
68
|
if !state.boot_lines.is_empty() && current_y < area.height {
|
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.3.
|
|
123
|
+
const PACKAGE_VERSION: &str = "2.3.8";
|
|
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,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "4runr-os",
|
|
3
|
-
"version": "2.3.
|
|
3
|
+
"version": "2.3.8",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"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",
|
|
6
6
|
"main": "dist/index.js",
|