chore: 保存 Agent 安全优化前基线

This commit is contained in:
Logan.Li committed 2026-09-02 23:31:38 +08:00
1 parent 08696896f9
commit ff016347cd
116 files changed
+3858 -2485

No files matched your search

+13 -5
View File
@@ -19,7 +19,10 @@
"hintFollowUp": "继续追问将带上本轮上下文",
"hintSelection": "将附带选中 {{lines}} 行",
"hintSteps": "最多 {{max}} 步 · 不落盘",
"footerNote": "高风险需确认 · critical 拒绝 · 会话不落盘"
"footerNote": "高风险需确认 · critical 拒绝 · 会话不落盘",
"summarize": "总结输出",
"summarizeTitle": "用 AI 总结当前终端可见输出(优先使用选中文本),不执行任何命令",
"summarizeRequest": "总结当前终端输出"
},
"safety": {
"aria": "Agent 安全模式",
@@ -32,7 +35,8 @@
"label": "宽松",
"short": "仅高风险确认",
"description": "查看和普通修改自动执行;删除、重启、安装等高风险操作需要确认。"
}
},
"confirmAllTitle": "所有命令都需确认(只读白名单除外)"
},
"risk": {
"safe": "安全",
@@ -50,13 +54,16 @@
"confirmMessage": "SSH · {{target}}\n{{mode}}\n\n$ {{command}}",
"rejected": "已拒绝第 {{round}} 步命令。",
"terminated": "已终止",
"stoppedMessage": "已终止。正在执行的远端命令已请求中断。"
"stoppedMessage": "已终止。正在执行的远端命令已请求中断。",
"inserted": "第 {{round}} 轮命令已插入终端输入行,未执行;请检查后自行回车运行。",
"insertedClipboard": "第 {{round}} 轮命令已复制到剪贴板(当前终端不可写入);粘贴后请检查再运行。"
},
"confirm": {
"reject": "Reject",
"once": "Once",
"always": "Always",
"hint": "Enter · Once Esc · Reject Always · 本会话同类命令不再确认"
"hint": "Enter · Once Esc · Reject Always · 本会话同类命令不再确认",
"insert": "插入不执行"
},
"error": {
"noProvider": "请先在设置 → 大模型配置 Provider",
@@ -73,7 +80,8 @@
"execFailed": "ssh-exec 失败:{{error}}",
"execUnknown": "未知错误",
"execNoOutput": "命令执行完成,无输出",
"maxSteps": "已达 {{max}} 步上限,请缩小范围后重试"
"maxSteps": "已达 {{max}} 步上限,请缩小范围后重试",
"noOutput": "终端没有可总结的输出"
},
"output": {
"empty": "(空输出)",
+3 -1
View File
@@ -109,7 +109,9 @@
"closeAll": "关闭全部",
"clone": "克隆标签",
"openSftp": "打开 SFTP"
}
},
"renameAria": "重命名标签 {{title}}",
"renameHint": "双击重命名"
},
"sidebar": {
"brandSub": "SSH / SFTP 终端",
+6 -1
View File
@@ -31,6 +31,7 @@
"group": {
"newSessionHere": "在此新建会话",
"newGroup": "新建分组",
"sortByName": "按名称排序",
"renameGroup": "重命名分组",
"deleteEmptyGroup": "删除空分组"
},
@@ -94,9 +95,13 @@
"title": "VNC 远程桌面",
"desc": "RFB · 跨平台图形会话"
},
"import": {
"title": "导入会话",
"desc": "从 OpenSSH 配置或导出文件导入主机"
},
"recentEmpty": {
"title": "暂无已保存会话",
"desc": "用快速连接试连,或新建会话以便复用"
"desc": "用快速连接试连,新建会话,或导入已有主机"
}
},
"launcher": {
+5 -1
View File
@@ -45,7 +45,11 @@
"connecting": "正在连接…",
"reconnecting": "自动重连中{{attempt}}…",
"reconnectingAttempt": " ({{count}})",
"localShellExited": "本地 Shell 已退出"
"localShellExited": "本地 Shell 已退出",
"localDisconnected": "本地终端已关闭",
"localDisconnectedHint": "本地 Shell 会话已结束。点下方一键重新开启,即可继续使用。",
"localConnectFailedHint": "本地 Shell 启动失败,请确认所选 Shell 仍然存在",
"localShellClosedHint": "重新打开 Shell 即可继续使用本地终端"
},
"hostKey": {
"titleNew": "确认主机密钥",