4runr-os 2.9.69 → 2.9.70

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.
@@ -609,14 +609,15 @@ fn main() -> Result<()> {
609
609
  terminal.clear()?;
610
610
  }
611
611
 
612
- // BACK TO PHASE 1.1: Clear every frame on Setup Portal (no corruption, but flickers)
613
- // Flicker debug: log CLEAR then DRAW so we can confirm flicker = clear then redraw.
612
+ // Setup Portal: autoresize every frame (correct buffer size); clear only on ENTER to avoid flicker.
613
+ // See docs/SETUP-PORTAL-WINDOWED-FIX-PLAN.md. If corruption appears on window resize while
614
+ // portal is open, add clear when terminal size changed from last frame.
614
615
  let on_setup_portal = matches!(current_screen, crate::screens::Screen::SetupPortal);
615
616
  if on_setup_portal {
616
617
  terminal.autoresize()?;
617
- debug_log::log_flicker_debug("CLEAR_BEFORE", &format!("switching={}", switching_to_setup_portal));
618
- terminal.clear()?;
619
618
  if switching_to_setup_portal {
619
+ debug_log::log_flicker_debug("CLEAR_BEFORE", "enter");
620
+ terminal.clear()?;
620
621
  #[cfg(debug_assertions)]
621
622
  eprintln!("[MAIN] ENTERED Setup Portal (autoresize + clear)");
622
623
  debug_log::log_screen(
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "4runr-os",
3
- "version": "2.9.69",
3
+ "version": "2.9.70",
4
4
  "type": "module",
5
- "description": "4Runr AI Agent OS - Secure terminal interface for AI agents. v2.9.69: Setup Portal FLICKER debug to stderr. v2.9.68: F2 from main. ⚠️ Pre-MVP / Development Phase",
5
+ "description": "4Runr AI Agent OS - Secure terminal interface for AI agents. v2.9.70: Setup Portal flicker fix (clear only on enter). ⚠️ Pre-MVP / Development Phase",
6
6
  "main": "dist/index.js",
7
7
  "bin": {
8
8
  "4runr": "dist/index.js",