Fall back to execa if VSCode terminal integration fails#3049
Conversation
🦋 Changeset detectedLatest commit: 7c010a2 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
|
Hello @cte, Thank you for your contribution! After reviewing the pull request, it seems that the changes span across multiple components and localization files, including refactoring, feature additions, and test removals. To ensure clarity and ease of review, it might be beneficial to split this pull request into smaller, more focused ones. Here are some suggestions on how you might consider splitting the changes:
This approach will help reviewers focus on specific areas and ensure a smoother review process. Let me know if you have any questions or need further assistance. Best regards, |
mrubens
left a comment
There was a problem hiding this comment.
Looks good aside from translations
| { | ||
| "slug": "test", | ||
| "name": "Test", | ||
| "name": "🧪 Test", |
* prompt * changeset * words
* restoreTask protobus * changeset * changeset correction * type safety change * Fix Non-UTF-8 File Handling: Improve Encoding Detection to Prevent Garbled Text and Binary Misclassification (RooCodeInc#2347) * Fix Non-UTF-8 File Handling: Improve Encoding Detection to Prevent Garbled Text and Binary Misclassification * update package-lock.json * update * update * fix * fix * fix * ENG 526/Fix: Versioned Auto Approve settings (RooCodeInc#3014) * added verisoning for autoApprove settings * removed lines from source branch * rebase * changeset * one small change * activating extension with evals.env (RooCodeInc#3041) Co-authored-by: Cline Evaluation <cline@example.com> * ripping out test build flag (RooCodeInc#3043) Co-authored-by: Cline Evaluation <cline@example.com> * cleaning up evals.env logic in extension.ts (RooCodeInc#3045) Co-authored-by: Cline Evaluation <cline@example.com> * ENG-516 Slash commands (RooCodeInc#3044) * scroll * menu * changeset * nit * What's yer path? (#3047) * update extension imports to use aliasing * changeset * ENG-484 Enhance fixWithCline command execution by focusing chat input (RooCodeInc#3028) * Enhance fixWithCline command execution by focusing chat input and adding a delay before processing the fixWithCline command. * feat: add OpenRouter base URL and balance display component * feat: add OpenRouter base URL and balance display component * feat: add OpenRouter base URL and balance display component * new_task prompt (RooCodeInc#3049) * prompt * changeset * words * prettier * Added metadata --------- Co-authored-by: yt3trees <57471763+yt3trees@users.noreply.github.com> Co-authored-by: pashpashpash <nik@cline.bot> Co-authored-by: Cline Evaluation <cline@example.com> Co-authored-by: Toshii <94262432+0xToshii@users.noreply.github.com> Co-authored-by: Evan <58194240+celestial-vault@users.noreply.github.com> Co-authored-by: nomaven <arafat.da.khan@gmail.com>
Context
If terminal shell integration fails then fall back to the execa terminal and automatically disable the terminal integration in the user's settings, and show a warning.
Implementation
Screenshots
How to Test
Get in Touch
Important
Adds fallback to
execaterminal if VSCode shell integration fails, updates UI and tests, and modifies localization files.execaterminal if VSCode shell integration fails inexecuteCommandTool()inexecuteCommandTool.ts.CommandExecutionErrorcomponent inCommandExecutionError.tsxto display shell integration warning.ChatRow.tsxto useCommandExecutionErrorforshell_integration_warningmessages.getModelsinglama.test.ts,openrouter.test.ts,requesty.test.ts, andunbound.test.tsto return predefined models.webview-ui/src/i18n/locales/.getTerminalByVSCETerminalparameter fromterminaltovsceTerminalinTerminalRegistry.tsandTerminal.ts.run-tests.js.This description was created by
for 7c010a2. You can customize this summary. It will automatically update as commits are pushed.