mirror of
https://github.com/openclaw/openclaw.git
synced 2026-03-15 20:10:42 +00:00
- Enhanced the executeSlashCommand function to support the /kill command, allowing users to abort sub-agent sessions. - Added logic to handle both "kill all" and "kill <agentId>" scenarios, providing appropriate feedback based on the number of sessions aborted. - Introduced a new utility function, resolveKillTargets, to identify matching sub-agent sessions based on the provided target. - Added unit tests for the /kill command to ensure correct functionality and response messages.