(hopefully) the last breaking change before v1: I’...
# proj-sdk
c
(hopefully) the last breaking change before v1: I’m thinking about renaming execute_bash tool to terminal. The primary reason is we might want to support windows natively later, and windows doesn’t use bash as default terminal — it uses powershell — and it will be nice to keep terminal to one tool, instead of implementing an execute_powershell later. This would allow the agent that user wrote to somewhat work across platform. WDYT? Any objections?
sounds good sg 1
👍 1
l
I wonder though whether it would be better to have a separate execute_powershell tool? The prompt needs to be different at least so treating it as a different tool might be more appropriate
w
I think
bash
is too specific regardless. It probably does
zsh
or
sh
just fine 🙂
l
The prompt says “bash” though, so at least we’d have to change that. I think there are two options: 1. Make it a “terminal” tool, where we have a “terminal name” argument that defaults to “bash” but could be set to “powershell”, “zsh”, etc. It could also possibly default to auto-detecting. 2. Have different tools for each
I think actually maybe “1.” is good, if the only thing that changes is the name
c
Yeah that’s the idea, we already have the mechanism to change the prompt of the tool based on different arguments
Sg! I’ll try to get this merged and the cut v1 release asap
c
I think we have powershell in that prompt, yes. The tool is probably ok if that is all that changes... IMHO though, we will be a lot happier if we keep the Windows support, codewise, separate.
c
We already have the Terminal abstraction to isolate Windows implementation though, we can figure out how to do that with prompt post-v1 i think
👍 1
c
Yes, exactly, I noticed we have a PR with the WindowsTerminal, I do hope we can indeed implement it something like that! I believe the consequences are much better: people who work on Windows work with Windows code, and people who don't, have clean, applicable code without conditional branches they'd never use