fix(runner): enforce ownership and safe reconnects

Gate dispatch on reconciliation, retain cancellations across disconnects, and stop replaced clients. Guard the single-server runner topology with a database lease. Restage missing generated inputs, report signal exits, and bound generated-file cleanup.
This commit is contained in:
yiling
2026-11-18 12:04:29 +08:00
parent fd4dc211f8
commit a9281cbc75
23 changed files with 691 additions and 128 deletions
+2 -2
View File
@@ -1703,10 +1703,10 @@
"task_type_restore_asset": "Restore Asset",
"agent_runners": "Agent Runners",
"agent_runners_settings": "Agent Runners",
"runners_description": "Register and manage remote runners that execute shell commands and skills for your agents.",
"runners_description": "Register and manage remote runners. Everyone with shell access to a runner can read files in its workspace, including files from other projects.",
"runners": "Runners",
"create_runner": "Create Runner",
"create_runner_description": "Register a new runner for your team. You will receive a one-time runner key to connect from shumai-cli.",
"create_runner_description": "Register a runner for your team and get a one-time key for shumai-cli. Share the runner only with users who may read all files in its workspace.",
"runner_name": "Runner Name",
"runner_name_placeholder": "e.g. Mac Mini Runner",
"runner_description": "Description (Optional)",
+2 -2
View File
@@ -1703,10 +1703,10 @@
"task_type_restore_asset": "恢复归档资产",
"agent_runners": "Agent 运行器",
"agent_runners_settings": "Agent 运行器设置",
"runners_description": "注册并管理为 Agent 执行命令和技能的远程运行器。",
"runners_description": "注册并管理远程运行器。有权在同一运行器执行命令的用户可以读取其工作区中的文件,包括其他项目留下的文件。",
"runners": "运行器",
"create_runner": "创建运行器",
"create_runner_description": "为团队注册一个新的运行器。创建后将生成一次性运行器密钥,用于通过 shumai-cli 连接。",
"create_runner_description": "为团队注册运行器并获取用于 shumai-cli 的一次性密钥。请仅在有权读取工作区内所有文件的用户之间共享运行器。",
"runner_name": "运行器名称",
"runner_name_placeholder": "例如:Mac Mini 运行器",
"runner_description": "描述(可选)",