feat: 新增 Mosh 远程 workspace 传输方式 - #48
Open
kchen0x wants to merge 3 commits into
Open
Conversation
kchen0x
force-pushed
the
feat/mosh-workspace
branch
from
July 31, 2026 11:22
b0fd5dd to
569cef0
Compare
Extend Remote Workspaces to support Mosh alongside SSH. File → New SSH Workspace… becomes New Remote Workspace… with an SSH/Mosh choice. - Mosh terminals run over an independent, non-blocking SSH control plane for replayable Agent state, remote cwd, uploads, and cleanup. TCP/auth drops surface connected/stale/auth-required status without stopping or relaunching the Mosh terminal; interactive credentials stay inside an OpenSSH PTY. - Remote runtimes use private token-scoped directories, bounded protocols, atomic snapshots, identity-verified cleanup, and crash-persisted best-effort reap leases. Network silence never kills. - Persistence dual-writes Mosh destinations so older Kooky releases safely downgrade a saved Mosh workspace to SSH. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
v0.47.0 added Simplified Chinese localization; wire the new Mosh UI into the same `.kookyResources` bundle so it follows the app language. - New Remote Workspace sheet, Mosh advanced options, and the OpenSSH authentication sheet now resolve every user-facing string through String(localized:) / LocalizedStringKey. - Status pill label, its stale/auth/failed suffix, and the reconnect tooltip localize their copy; the transport token and host stay verbatim. - Add zh-Hans translations for all of the above plus the SSH-upload and remote-launch failure messages. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
kchen0x
force-pushed
the
feat/mosh-workspace
branch
from
July 31, 2026 11:43
07a20e2 to
53e88b8
Compare
Author
|
Mosh orphan/busy-loop 修复已完成并推送,commit: 主要改动:
安全说明:保留 7 天默认 验证:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
概述
在现有 SSH 远程 workspace 的基础上,新增 Mosh 传输方式。菜单项
File → New SSH Workspace…改为New Remote Workspace…,可在 SSH 与 Mosh 之间选择。Mosh 提供在高延迟、休眠、漫游和短暂断网下依然可用的响应式终端。主要特性
简体中文本地化
跟随 v0.47.0 新增的简体中文本地化,将本次新增的全部 Mosh UI 接入同一
.kookyResources资源包,随 app 语言切换:认证到 %@、凭据说明文案。mosh · 状态已过期 N 秒)、短后缀(如· 待认证)与重连 tooltip;传输名与主机名保持原样。zh-Hans译文;英文回退到源串,无需en.lproj条目。测试
swift build:0 警告swift test:839 通过 / 0 失败(8 个环境条件跳过)RemoteControlChannelTests、RemoteRuntimeProtocolTests、RemoteRuntimeScriptsTests、RemoteNetworkRecoveryMonitorTests、WorkspaceTransportTests