v1.9.0 — 2026-08-05
新增
- 在线演示站:demo.pocketshell.net 无需安装 agent、无需常开的机器即可试用完整界面(真实前端 + 模拟后端,数据均为假数据,刷新即还原)。手机打开是全屏 App,桌面打开是展台页(手机框内嵌真实界面)。
- 演示站「试试断网」:一键真实断开连接并触发重连补齐,用于演示断线期间输出如何回填(演示站专有,正式版无此按钮)。
变更
- 调试接口默认关闭:
window.pocketshell自动化接口不再随正式构建发布,需构建时显式设置VITE_POCKETSHELL_DEV_HELPERS=1才启用。此前默认开启,正式版会暴露该接口。
修复
- 演示站空闲自动断线:模拟传输层在
send()调用栈内同步回帧,导致握手超时定时器失去引用,连接约每 8 秒自行断开一次。改为异步投递(仅影响演示站,正式版走真实 WebSocket,不受影响)。
已知问题
- 演示站不注册 Service Worker,不支持「添加到主屏幕」;其余功能与正式版一致,但写操作、上传下载、通知接线等返回「演示环境不支持」。
升级
应用内点更新徽标,或:
curl -fsSL https://raw.githubusercontent.com/Big-Pony/pocketshell/main/install.sh | sh装成服务的升级后需重启:sudo systemctl restart pocketshell(macOS 上 launchd 会自动拉起)。
v1.9.0 — 2026-08-05 (English)
Added
- Live demo site: demo.pocketshell.net runs the full interface with no agent install and no always-on host (real frontend, simulated backend; all data is fake and resets on reload). On a phone it opens fullscreen; on a desktop it appears inside a phone frame alongside an overview.
- "Try going offline" in the demo: drops the connection for real and replays the output missed while disconnected (demo only — not present in release builds).
Changed
- Debug interface off by default: the
window.pocketshellautomation surface is no longer included in release builds. SetVITE_POCKETSHELL_DEV_HELPERS=1at build time to opt in. It was previously enabled by default and shipped in release builds.
Fixed
- Demo site disconnected while idle: the simulated transport delivered its handshake reply synchronously inside
send(), orphaning the handshake-timeout timer and dropping the connection roughly every 8 seconds. Delivery is now asynchronous (demo only; release builds use a real WebSocket and were never affected).
Known issues
- The demo does not register a Service Worker and cannot be added to the home screen. Everything else matches the release build, except that writes, uploads/downloads and notification wiring return "not available in the demo sandbox".
Upgrade
Tap the update badge in the app, or:
curl -fsSL https://raw.githubusercontent.com/Big-Pony/pocketshell/main/install.sh | shRestart after upgrading a service install: sudo systemctl restart pocketshell (launchd relaunches it automatically on macOS).