From 4d62229045b4cc0242056ae2b57caedb14a53320 Mon Sep 17 00:00:00 2001 From: Christian Rocha Date: Thu, 9 Apr 2026 21:55:09 -0400 Subject: [PATCH] fix(tools/bash): restore cross-platform instructions in bash tool MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 💘 Generated with Crush Assisted-by: GLM-5.1 via Crush --- internal/agent/tools/bash.tpl | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/internal/agent/tools/bash.tpl b/internal/agent/tools/bash.tpl index 3663158afa7cd7a6e4d90b2468373096fa7ccf0e..2d9999b849785b900b424eff27917f29e6d97f8e 100644 --- a/internal/agent/tools/bash.tpl +++ b/internal/agent/tools/bash.tpl @@ -1,5 +1,10 @@ Execute shell commands; long-running commands automatically move to background and return a shell ID. + +Uses mvdan/sh interpreter (Bash-compatible on all platforms including Windows). +Use forward slashes for paths: "ls C:/foo/bar" not "ls C:\foo\bar". +Common shell builtins and core utils available on Windows. + 1. Directory Verification: If creating directories/files, use LS tool to verify parent exists