co-mono/packages/coding-agent/src/utils
Daniel Nouri 8fc0610a53 fix: Use bash instead of sh on Unix systems
The bash tool is named "bash" and described as executing bash commands,
but was using sh on Unix. On many distros (Ubuntu, Debian, Alpine, etc.),
/bin/sh is a POSIX-only shell that doesn't support bash syntax like [[ ]],
arrays, or here-strings. This caused the LLM to write bash syntax that
failed, wasting tokens on rewrites.

Now prefers /bin/bash on Unix, falling back to sh only if bash isn't found.
2025-12-26 23:12:57 +01:00
..
changelog.ts Move config.ts from utils/ to src/ 2025-12-09 01:28:06 +01:00
clipboard.ts Reorganize file structure: core/, utils/, modes/interactive/components/, modes/interactive/theme/ 2025-12-09 00:51:33 +01:00
fuzzy.ts Fix model selector fuzzy search to match provider and support multi-token queries 2025-12-15 18:05:32 +01:00
mime.ts fix(coding-agent): detect image MIME via file-type (#205) 2025-12-17 17:11:56 +01:00
shell.ts fix: Use bash instead of sh on Unix systems 2025-12-26 23:12:57 +01:00
tools-manager.ts Move config.ts from utils/ to src/ 2025-12-09 01:28:06 +01:00