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

+9 -2
View File
@@ -391,6 +391,13 @@
},
"runtimeConfig": {
"apiSaved": "已保存,重启 API 服务后生效。",
"commandRuntime": {
"custom": "自定义(秒)",
"customLabel": "自定义运行时长(秒)",
"noLimit": "不限时",
"limit": "限时最长 {{duration}}",
"rangeError": "请输入 1 到 {{max}} 之间的整数秒,或选择“不限时”。"
},
"fields": {
"agents_defaults_timezone_mode": {
"label": "系统时区",
@@ -465,8 +472,8 @@
"help": "允许智能体修改自身配置"
},
"tools_exec_timeout": {
"label": "执行超时",
"help": "执行超时即停止;0 为不限,单位秒\n\n超过此时长后终止命令。设为 0 表示不限制执行时长。"
"label": "运行上限",
"help": "Shell 命令的默认运行上限\n\n命令输出或继续等待都不会延长此上限。选择“不限时”可取消运行时限。"
},
"tools_exec_path_prepend": {
"label": "优先目录",