Repository navigation
fix: 🐛 Fix the cli terminal shell - #7437
Conversation
|
@chezsmithy I only started doing it today, but the necessary tsconfig incantations have been carried out so we can now just import directly from core instead of duplicating logic. I imagine it would make sense to do that here. |
|
@sestinj adding all the new test host types has uncovered a few testing approach gaps. 😀 |
@sestinj Let's maybe merge this to get things stable, and then perhaps you can let me know over on discord how you are thinking of starting to merge code to this new extension. Slow and steady removal and reference to core? |
|
Works for me. And yes slow and steady is the strategy. I am in no rush and generally willing to put up with duplication if it helps move faster and experiment |
|
👍🏼 |
There was a problem hiding this comment.
@chezsmithy this is great. Core is now a dependency of CLI, could we adjust to share the code between them?
|
closed duplicate #7471 |
|
+1 |
|
@RomneyDa I think we can aim that way but let's get this merged and then over time I'll look at how we adapt the tools to be used in both extensions. |
|
Makes sense, can see how some things could be subtly different between cli and extension approach. lgtm |
|
🎉 This PR is included in version 1.13.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
|
🎉 This PR is included in version 1.12.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Description
Updated the cli terminal command to align with the core terminal command. Added shell support for mac, linux and windows (powershell vs cmd)
AI Code Review
@continue-general-reviewor@continue-detailed-reviewChecklist
Screen recording or screenshot
[ When applicable, please include a short screen recording or screenshot - this makes it much easier for us as contributors to review and understand your changes. See this PR as a good example. ]
Tests
Updated failing tests on windows.
Summary by cubic
Fixes the CLI terminal tool to use the correct shell per OS and match core behavior, ensuring commands run reliably on macOS, Linux, and Windows. Also updates tests to be cross-platform, resolving Windows failures.