feat: harden local shell, SFTP, and desktop session reliability

Finder-launched terminals now inherit a login PATH so tools like ollama resolve, destructive SFTP/editor actions require confirmation, and terminal search plus window dragging work again. SSH forwards and RDP sessions keep listeners and survive reconnect without FastPath crashes.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Logan.LiandCursor committed 2026-08-16 16:08:11 +08:00
1 parent 188f3556ed
commit 08696896f9
223 files changed
+13493 -3423

No files matched your search

+16 -3
View File
@@ -39,7 +39,9 @@
"closed": "连接已关闭",
"dnsFailed": "无法解析主机",
"refused": "连接被拒绝",
"disconnected": "连接已断开"
"disconnected": "连接已断开",
"keepaliveFailed": "SSH 心跳连续失败,连接已关闭",
"idleKicked": "远端 Shell 因空闲超时退出(TMOUT)"
},
"auth": {
"failed": "认证失败,请检查用户名和密码",
@@ -68,7 +70,10 @@
"forward": {
"failed": "端口转发设置失败",
"bindFailed": "端口绑定失败",
"alreadyInUse": "端口已被占用"
"alreadyInUse": "本地端口已被占用。请先暂停本规则或其它占用该端口的进程,再启动。",
"remoteDenied": "远端拒绝远程端口转发(AllowTcpForwarding / PermitListen、端口占用或绑定限制)。当前仅在远端 127.0.0.1 监听。",
"remoteDeniedPrivileged": "远端拒绝特权监听端口(<1024)。请改用 ≥1024,或以 root 监听,并检查 AllowTcpForwarding / PermitListen。",
"invalidTargetHost": "目标地址不能是 0.0.0.0,请填 127.0.0.1 或远端可达的内网 IP"
},
"sftp": {
"connectFailed": "SFTP 连接失败",
@@ -80,7 +85,15 @@
"writeFailed": "保存失败",
"renameFailed": "重命名失败",
"chmodFailed": "权限修改失败",
"apiUnavailable": "SFTP API 不可用"
"apiUnavailable": "SFTP API 不可用",
"channelFailed": "无法打开 SFTP 通道(服务器限制或会话繁忙),请重连后再试",
"sessionGone": "SFTP 会话已结束,请重新连接",
"busy": "正在传输文件,请稍后再试",
"editTooLarge": "文件过大,文本编辑上限约 2MB。请下载后用本地编辑器打开。",
"editBinary": "该文件像是二进制内容,无法用文本编辑器打开",
"editNotUtf8": "远程文件不是有效 UTF-8 文本",
"transferCancelled": "传输已取消",
"diskFull": "磁盘空间不足(本地或远程)"
},
"session": {
"notFound": "会话不存在",