4runr-os 2.9.36 → 2.9.37
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.37";
|
|
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)),
|
|
@@ -84,9 +84,6 @@ pub fn render(f: &mut Frame, state: &AppState) {
|
|
|
84
84
|
}
|
|
85
85
|
|
|
86
86
|
fn render_header(f: &mut Frame, area: Rect, state: &AppState) {
|
|
87
|
-
// Clear the area first to prevent duplication
|
|
88
|
-
f.render_widget(Clear, area);
|
|
89
|
-
|
|
90
87
|
let title = if state.setup_portal.error.is_some() {
|
|
91
88
|
" ⚙ Gateway Setup Portal - Error "
|
|
92
89
|
} else if state.setup_portal.detecting {
|
|
@@ -111,9 +108,6 @@ fn render_header(f: &mut Frame, area: Rect, state: &AppState) {
|
|
|
111
108
|
}
|
|
112
109
|
|
|
113
110
|
fn render_description(f: &mut Frame, area: Rect) {
|
|
114
|
-
// Clear the area first to prevent duplication
|
|
115
|
-
f.render_widget(Clear, area);
|
|
116
|
-
|
|
117
111
|
let block = Block::default()
|
|
118
112
|
.borders(Borders::LEFT | Borders::RIGHT)
|
|
119
113
|
.style(Style::default().bg(BG_PANEL));
|
|
@@ -143,9 +137,6 @@ fn render_content(f: &mut Frame, area: Rect, state: &AppState) {
|
|
|
143
137
|
}
|
|
144
138
|
|
|
145
139
|
fn render_options_list(f: &mut Frame, area: Rect, state: &AppState) {
|
|
146
|
-
// Clear the area first to prevent duplication
|
|
147
|
-
f.render_widget(Clear, area);
|
|
148
|
-
|
|
149
140
|
let options = vec![
|
|
150
141
|
("Local Bundle", GatewayOption::LocalBundle),
|
|
151
142
|
("4Runr Server", GatewayOption::CloudServer),
|
|
@@ -183,21 +174,21 @@ fn render_options_list(f: &mut Frame, area: Rect, state: &AppState) {
|
|
|
183
174
|
let mut list_state = ListState::default();
|
|
184
175
|
list_state.select(Some(selected_index));
|
|
185
176
|
|
|
177
|
+
// Use Block to properly contain and clear the area
|
|
178
|
+
let block = Block::default()
|
|
179
|
+
.borders(Borders::ALL)
|
|
180
|
+
.title(" Gateway Options ")
|
|
181
|
+
.border_style(Style::default().fg(CYBER_CYAN))
|
|
182
|
+
.style(Style::default().bg(BG_PANEL));
|
|
183
|
+
|
|
186
184
|
let list = List::new(items)
|
|
187
|
-
.block(
|
|
188
|
-
.borders(Borders::ALL)
|
|
189
|
-
.title(" Gateway Options ")
|
|
190
|
-
.border_style(Style::default().fg(CYBER_CYAN))
|
|
191
|
-
.style(Style::default().bg(BG_PANEL)))
|
|
185
|
+
.block(block)
|
|
192
186
|
.highlight_style(Style::default().fg(CYBER_CYAN).bold().bg(BG_PANEL));
|
|
193
187
|
|
|
194
188
|
f.render_stateful_widget(list, area, &mut list_state);
|
|
195
189
|
}
|
|
196
190
|
|
|
197
191
|
fn render_option_details(f: &mut Frame, area: Rect, state: &AppState) {
|
|
198
|
-
// Clear the area first to prevent duplication
|
|
199
|
-
f.render_widget(Clear, area);
|
|
200
|
-
|
|
201
192
|
let selected_option = &state.setup_portal.selected_option;
|
|
202
193
|
let detection_result = &state.setup_portal.detection_result;
|
|
203
194
|
|
|
@@ -283,6 +274,7 @@ fn render_option_details(f: &mut Frame, area: Rect, state: &AppState) {
|
|
|
283
274
|
),
|
|
284
275
|
};
|
|
285
276
|
|
|
277
|
+
// Use Block to properly contain and clear the area
|
|
286
278
|
let block = Block::default()
|
|
287
279
|
.title(title)
|
|
288
280
|
.borders(Borders::ALL)
|
|
@@ -324,9 +316,6 @@ fn render_error_box(f: &mut Frame, area: Rect, state: &AppState) {
|
|
|
324
316
|
}
|
|
325
317
|
|
|
326
318
|
fn render_actions(f: &mut Frame, area: Rect, state: &AppState) {
|
|
327
|
-
// Clear the area first to prevent duplication
|
|
328
|
-
f.render_widget(Clear, area);
|
|
329
|
-
|
|
330
319
|
let block = Block::default()
|
|
331
320
|
.borders(Borders::ALL)
|
|
332
321
|
.border_style(Style::default().fg(TEXT_DIM))
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "4runr-os",
|
|
3
|
-
"version": "2.9.
|
|
3
|
+
"version": "2.9.37",
|
|
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.37: Fixed Setup Portal rendering - removed interfering Clear widgets, using Block widgets properly for clean rendering. v2.9.36: Attempted Setup Portal duplication fix. ⚠️ Pre-MVP / Development Phase",
|
|
6
6
|
"main": "dist/index.js",
|
|
7
7
|
"bin": {
|
|
8
8
|
"4runr": "dist/index.js",
|