OpenClaw exec 工具超时控制与环境隔离机制一、超时控制(timeout)配置位置定义于src/agents/bash-tools.exec-types.ts中的ExecToolDefaults接口:timeoutSec?:number;可通过全局配置tools.exec.timeoutSec设置默认值,或在exec工具调用时传入timeout参数。生效机制在runExecProcess(bash-tools.exec-runtime.ts)中,timeoutSec转换为timeoutMs传入supervisor.spawn()。最终