diff --git a/pkg/agent/prompt_resolver.go b/pkg/agent/prompt_resolver.go index 7c88a54..990bfed 100644 --- a/pkg/agent/prompt_resolver.go +++ b/pkg/agent/prompt_resolver.go @@ -41,11 +41,6 @@ func resolveExecPrompt(cmds []string, cwd string) (string, error) { if cmdStr == "" { continue } - // Entries containing a newline are literal text, not commands. - if strings.Contains(cmdStr, "\n") { - parts = append(parts, cmdStr) - continue - } ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second) cmd := exec.CommandContext(ctx, "sh", "-c", cmdStr) if cwd != "" {