Files
kid 866df1a323 feat: M3 mosh 挂起→恢复<3s(唤醒脉冲 + 会话状态机三相)
- SessionMachine 加 mosh 三相(moshActive/moshParked/moshResuming)+看门狗兜底,
  mosh 接管即拆 SSH、后台冻结不重建、前台唤醒脉冲等 SSP 续(+5 单测)
- bridge.go: Node.WakeUp()(tsnet InjectEvent+MagicSock.Rebind/ReSTUN) +
  MoshRelay.Rebind()(同端口重开 loopback、泵按 socket 生成容错)
- iosclient.cc: g_mosh_last_heard 探针(导出 mosh_last_heard_ms) + SIGCONT 全屏重绘
- MoshSession: nudge()(SIGCONT) + lastHeardMs();SSHTerminalModel 前台脉冲三连
  + healthy 轮询 + beginBackgroundTask;URL scheme 供无头前台唤醒
- 验证(vohive-vm over tsnet):15s 冻结→前台 wake pulse→1.3s recovered,<3s

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-07-24 17:04:33 +08:00
..

#iOSClient for Mosh These are a set of small changes to make Mosh compile for iOS as a separate library that can be linked into applications. Please do not use to compile mosh-client or mosh-server. You can use a separate script Build Mosh and it is currently being used in Blink.

There are four main changes to the original Mosh code, that we hope to integrate at some point with the main branch:

  • iOSClient as a new main loop for the library.
  • Multithread code suppport.
  • Makefiles support for the iOS version.
  • Bug fixes (sockets, etc...)

Original Mosh can be found on Mosh