4runr-os 2.9.48 → 2.9.49

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.
@@ -591,15 +591,16 @@ fn main() -> Result<()> {
591
591
  let current_screen = app.state.navigation.current_screen().clone();
592
592
  let is_portal_active = matches!(current_screen, crate::screens::Screen::ConnectionPortal | crate::screens::Screen::SetupPortal);
593
593
 
594
- // Clear terminal only on screen switch, not on every render
595
- // This prevents flashing while still ensuring clean transitions
594
+ // Clear terminal on screen switch OR if Setup Portal is active
595
+ // Setup Portal needs per-frame clear to prevent terminal buffering artifacts
596
596
  let is_switching = match (&previous_screen, &current_screen) {
597
597
  (Some(prev), current) => prev != current,
598
598
  (None, _) => true, // First render
599
- _ => false,
600
599
  };
601
600
 
602
- if is_switching {
601
+ let force_clear_for_setup = matches!(current_screen, crate::screens::Screen::SetupPortal);
602
+
603
+ if is_switching || force_clear_for_setup {
603
604
  terminal.clear()?;
604
605
  }
605
606
 
@@ -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.48";
147
+ const PACKAGE_VERSION: &str = "2.9.49";
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)),
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "4runr-os",
3
- "version": "2.9.48",
3
+ "version": "2.9.49",
4
4
  "type": "module",
5
- "description": "4Runr AI Agent OS - Secure terminal interface for AI agents. v2.9.48: Setup Portal - stateless list (single source of truth), per-frame R# debug. v2.9.47: ListState sync. ⚠️ Pre-MVP / Development Phase",
5
+ "description": "4Runr AI Agent OS - Secure terminal interface for AI agents. v2.9.49: Setup Portal - per-frame terminal clear to fix list/details mismatch (terminal buffering). v2.9.48: Stateless list, R# debug. ⚠️ Pre-MVP / Development Phase",
6
6
  "main": "dist/index.js",
7
7
  "bin": {
8
8
  "4runr": "dist/index.js",