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}} 輪命令已插入終端機輸入行,未執行;請檢查後自行按 Enter 執行。",
"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": "確認主機金鑰",