From 336aff2d2c0d1451e8d6aea9327aee34eec501eb Mon Sep 17 00:00:00 2001 From: arkon Date: Thu, 12 Feb 2026 11:17:49 +0100 Subject: [PATCH] chore: bump version to 0.1484 --- CLAUDE.md | 2 +- package.json | 2 +- src/web/public/app.js | 13 +++++++++++++ 3 files changed, 15 insertions(+), 2 deletions(-) diff --git a/CLAUDE.md b/CLAUDE.md index 423efe40..3460c271 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -26,7 +26,7 @@ When user says "COM": 1. Increment version in BOTH `package.json` AND `CLAUDE.md` (verify they match with `grep version package.json && grep Version CLAUDE.md`) 2. Run: `git add -A && git commit -m "chore: bump version to X.XXXX" && git push && npm run build && systemctl --user restart claudeman-web` -**Version**: 0.1483 (must match `package.json` for npm publish) +**Version**: 0.1484 (must match `package.json` for npm publish) ## Project Overview diff --git a/package.json b/package.json index a3a0b42d..9f94b1f3 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "claudeman", - "version": "0.1483", + "version": "0.1484", "description": "The missing control plane for Claude Code - run 20 autonomous agents with real-time monitoring and session persistence", "type": "module", "main": "dist/index.js", diff --git a/src/web/public/app.js b/src/web/public/app.js index ae90e4a8..e09d8723 100644 --- a/src/web/public/app.js +++ b/src/web/public/app.js @@ -720,6 +720,13 @@ class NotificationManager { this.onTabVisible(); } }); + // iOS Safari: pageshow fires on back-forward cache restore (bfcache) + window.addEventListener('pageshow', (e) => { + if (e.persisted) { + this.isTabVisible = true; + this.onTabVisible(); + } + }); } loadPreferences() { @@ -1073,6 +1080,12 @@ class NotificationManager { if (this.isDrawerOpen) { this.markAllRead(); } + // Re-fit terminal and send resize to PTY so this client's dimensions win. + // Fixes broken layout when switching between desktop and mobile on the same session. + if (this.app?.fitAddon && this.app?.activeSessionId) { + this.app.fitAddon.fit(); + this.app.sendResize(this.app.activeSessionId); + } } // Utilities