nanocoder
nanocoder copied to clipboard
[Feature] Split compound bash commands onto separate lines in the tool preview
Description
Display compound bash commands on separate lines in execute_bash output
- Part1
;- https://github.com/Nano-Collective/nanocoder/pull/944
- Part2
&&||- Pending implementation
Before:
Command:
cd /home/<>/nanocoder && ls -la dist/utils/shell-command-display.js 2>&1; echo "---global---"; NPM_BIN=$(dirname "$(readlink -f "$(which nanocoder)")"); echo "bin dir: $NPM_BIN"; find
"$NPM_BIN/.." -maxdepth 3 -name "shell-command-display.js" 2>/dev/null
After:
Command:
cd /home/<>/nanocoder && ls -la dist/utils/shell-command-display.js 2>&1;
echo "---global---";
NPM_BIN=$(dirname "$(readlink -f "$(which nanocoder)")");
echo "bin dir: $NPM_BIN";
find "$NPM_BIN/.." -maxdepth 3 -name "shell-command-display.js" 2>/dev/null
Use Case
See description
Proposed Solution
Update display only
Alternatives Considered
Any alternative solutions or features you've considered
Additional Context
- [x] I have searched existing issues to ensure this is not a duplicate
- [x] This feature aligns with the project's goals (local-first AI assistance)
Implementation Notes (optional)
- https://github.com/Nano-Collective/nanocoder/pull/944
Will re-open once I have the && and || PR if any.