4runr-os 2.9.39 → 2.9.40
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.
|
Binary file
|
package/mk3-tui/src/ui/layout.rs
CHANGED
|
@@ -144,7 +144,7 @@ fn render_header(f: &mut Frame, area: Rect, state: &AppState) {
|
|
|
144
144
|
|
|
145
145
|
// Line 1: Brand + version + mode + uptime - Bug 3 fix: Use "4Runr." with dot (matches brand logo)
|
|
146
146
|
// Use npm package version (2.9.24) - matches package.json
|
|
147
|
-
const PACKAGE_VERSION: &str = "2.9.
|
|
147
|
+
const PACKAGE_VERSION: &str = "2.9.40";
|
|
148
148
|
let brand_line = Line::from(vec![
|
|
149
149
|
Span::styled("4Runr.", Style::default().fg(BRAND_PURPLE).add_modifier(Modifier::BOLD)),
|
|
150
150
|
Span::styled(" AI AGENT OS", Style::default().fg(BRAND_VIOLET)),
|
|
@@ -148,6 +148,9 @@ fn render_content(f: &mut Frame, area: Rect, state: &AppState) {
|
|
|
148
148
|
}
|
|
149
149
|
|
|
150
150
|
fn render_options_list(f: &mut Frame, area: Rect, state: &AppState) {
|
|
151
|
+
// CRITICAL: Clear the list area first to prevent duplication
|
|
152
|
+
f.render_widget(Clear, area);
|
|
153
|
+
|
|
151
154
|
let options = vec![
|
|
152
155
|
("Local Bundle", GatewayOption::LocalBundle),
|
|
153
156
|
("4Runr Server", GatewayOption::CloudServer),
|
|
@@ -200,6 +203,9 @@ fn render_options_list(f: &mut Frame, area: Rect, state: &AppState) {
|
|
|
200
203
|
}
|
|
201
204
|
|
|
202
205
|
fn render_option_details(f: &mut Frame, area: Rect, state: &AppState) {
|
|
206
|
+
// CRITICAL: Clear the details area first to prevent content overlap/corruption
|
|
207
|
+
f.render_widget(Clear, area);
|
|
208
|
+
|
|
203
209
|
let selected_option = &state.setup_portal.selected_option;
|
|
204
210
|
let detection_result = &state.setup_portal.detection_result;
|
|
205
211
|
|
|
@@ -292,11 +298,15 @@ fn render_option_details(f: &mut Frame, area: Rect, state: &AppState) {
|
|
|
292
298
|
.border_style(Style::default().fg(TEXT_DIM))
|
|
293
299
|
.style(Style::default().bg(BG_PANEL));
|
|
294
300
|
|
|
301
|
+
// CRITICAL: Render block first to clear and establish boundaries
|
|
302
|
+
let inner = block.inner(area);
|
|
303
|
+
f.render_widget(block, area);
|
|
304
|
+
|
|
305
|
+
// Then render paragraph content only within the inner area
|
|
295
306
|
let paragraph = Paragraph::new(content)
|
|
296
|
-
.block(block)
|
|
297
307
|
.wrap(Wrap { trim: true });
|
|
298
308
|
|
|
299
|
-
f.render_widget(paragraph,
|
|
309
|
+
f.render_widget(paragraph, inner);
|
|
300
310
|
}
|
|
301
311
|
|
|
302
312
|
fn render_error_box(f: &mut Frame, area: Rect, state: &AppState) {
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "4runr-os",
|
|
3
|
-
"version": "2.9.
|
|
3
|
+
"version": "2.9.40",
|
|
4
4
|
"type": "module",
|
|
5
|
-
"description": "4Runr AI Agent OS - Secure terminal interface for AI agents. v2.9.
|
|
5
|
+
"description": "4Runr AI Agent OS - Secure terminal interface for AI agents. v2.9.40: Fixed Setup Portal rendering - added explicit Clear widgets and fixed Paragraph rendering to prevent content overlap and character corruption. v2.9.39: Fixed Setup Portal initial render bug. ⚠️ Pre-MVP / Development Phase",
|
|
6
6
|
"main": "dist/index.js",
|
|
7
7
|
"bin": {
|
|
8
8
|
"4runr": "dist/index.js",
|