# dsh-doctor bundle patch: mount the plugin as a composition row so the # twelve dsh_doctor_* tools are available to every agent after the next # `dsh web` start. The watchdog itself is generated into $DSH_HOME/doctor # by `dsh_doctor_install` and runs as an independent platform service. - insert: - id: dsh-doctor name: '@d86e/dsh-doctor' config: # Web boot recovery healthIntervalMs: 2000 healthFailuresToRecover: 3 recoveryBudgetMs: 60000 logMaxBytes: 5242880 logBackups: 3 safeModeBundles: - dsh-core # Tool error capture toolErrorCapture: true toolErrorMaxQueue: 500 # Live session watch (nudges stuck turns) watchEnabled: true watchIdleThresholdMs: 180000 # 3 minutes watchNudgeCooldownMs: 120000 # 2 minutes between nudges watchMaxNudgesPerSession: 3 watchContinueText: "继续" watchTickIntervalMs: 30000 # 30 s idle check