fix(shell): separate wait, idle, and runtime limits (#6228)

* fix(shell): separate wait, idle, and runtime limits

* fix(shell): separate wait, idle, and runtime limits

* fix(exec): preserve settings aliases and reclaim completed sessions

* fix(webui): make shell runtime limits explicit
This commit is contained in:
chengyongru authored and GitHub committed 2026-10-16 13:44:15 +08:00
1 parent 70ac000ad9
commit 6310a39bac
36 files changed
+2392 -564

No files matched your search

+8 -1
View File
@@ -391,6 +391,13 @@
},
"runtimeConfig": {
"apiSaved": "已儲存,重新啟動 API 服務後生效。",
"commandRuntime": {
"custom": "自訂(秒)",
"customLabel": "自訂執行時間(秒)",
"noLimit": "不限時",
"limit": "限時最長 {{duration}}",
"rangeError": "請輸入 1 到 {{max}} 之間的整數秒,或選擇「不限時」。"
},
"fields": {
"agents_defaults_timezone_mode": {"label": "系統時區", "help": "關閉後可手動指定時區"},
"agents_defaults_timezone": {"label": "時區", "help": "UTC 偏移按當前日期顯示"},
@@ -410,7 +417,7 @@
"tools_cli_apps_enable": {"label": "CLI 應用", "help": "允許安裝、管理和執行 CLI 應用"},
"tools_my_enable": {"label": "檢視配置", "help": "允許智慧體檢視自身配置"},
"tools_my_allow_set": {"label": "修改配置", "help": "允許智慧體修改自身配置"},
"tools_exec_timeout": {"label": "執行超時", "help": "執行超時即停止;0 為不限,單位秒\n\n超過此時長後終止命令。設為 0 表示不限制執行時長。"},
"tools_exec_timeout": {"label": "執行上限", "help": "Shell 命令的預設執行上限\n\n命令輸出或繼續等待都不會延長此上限。選擇「不限時」可取消執行時限。"},
"tools_exec_path_prepend": {"label": "優先目錄", "help": "優先查詢命令的目錄\n\n新增到 PATH 開頭。多個目錄在 Windows 上用分號分隔,在 Linux 和 macOS 上用冒號分隔。"},
"tools_exec_path_append": {"label": "追加目錄", "help": "最後查詢命令的目錄\n\n新增到 PATH 末尾。多個目錄在 Windows 上用分號分隔,在 Linux 和 macOS 上用冒號分隔。"},
"tools_exec_sandbox": {"label": "命令沙箱", "help": "隔離命令程序,需系統支援\n\nLinux 使用 bwrap,macOS 使用 Seatbelt。工作區路徑限制本身不提供程序隔離。"},