Procházet zdrojové kódy

More command execution improvements (#3124)

Chris Estreich před 8 měsíci
rodič
revize
19ef52bd85

+ 0 - 1
src/core/tools/executeCommandTool.ts

@@ -79,7 +79,6 @@ export async function executeCommandTool(
 			} catch (error: unknown) {
 				const status: CommandExecutionStatus = { executionId, status: "fallback" }
 				clineProvider?.postMessageToWebview({ type: "commandExecutionStatus", text: JSON.stringify(status) })
-				clineProvider?.setValue("terminalShellIntegrationDisabled", true)
 				await cline.say("shell_integration_warning")
 
 				if (error instanceof ShellIntegrationError) {

+ 1 - 1
webview-ui/src/components/chat/CommandExecution.tsx

@@ -87,7 +87,7 @@ export const CommandExecution = ({ executionId, text }: CommandExecutionProps) =
 	}, [status, text])
 
 	return (
-		<div className="w-full p-2 rounded-xs bg-vscode-editor-background">
+		<div className="w-full bg-vscode-editor-background border border-vscode-border rounded-xs p-2">
 			<div className="flex flex-row items-center justify-between gap-2 px-1">
 				<Line className="text-sm whitespace-nowrap overflow-hidden text-ellipsis">{command}</Line>
 				<div className="flex flex-row items-center gap-1">

+ 1 - 1
webview-ui/src/components/chat/CommandExecutionError.tsx

@@ -11,7 +11,7 @@ export const CommandExecutionError = () => {
 	}, [])
 
 	return (
-		<div className="text-sm rounded-xs p-2 border border-vscode-editorWarning-foreground">
+		<div className="text-sm bg-vscode-editor-background border border-vscode-border rounded-xs p-2">
 			<div className="flex flex-col gap-2">
 				<div className="flex items-center">
 					<i className="codicon codicon-warning mr-1 text-vscode-editorWarning-foreground" />

+ 3 - 3
webview-ui/src/i18n/locales/ca/chat.json

@@ -90,6 +90,7 @@
 		}
 	},
 	"selectMode": "Selecciona el mode d'interacció",
+	"selectApiConfig": "Seleccioneu la configuració de l'API",
 	"enhancePrompt": "Millora la sol·licitud amb context addicional",
 	"addImages": "Afegeix imatges al missatge",
 	"sendMessage": "Envia el missatge",
@@ -233,10 +234,9 @@
 		}
 	},
 	"systemPromptWarning": "ADVERTÈNCIA: S'ha activat una substitució personalitzada d'instruccions del sistema. Això pot trencar greument la funcionalitat i causar un comportament impredictible.",
-	"selectApiConfig": "Seleccioneu la configuració de l'API",
 	"shellIntegration": {
-		"title": "Integració de Shell no disponible",
-		"description": "La teva ordre s'està executant sense la integració de shell de VSCode. Pots tornar a activar la integració de shell a la secció <strong>Terminal</strong> de la <settingsLink>configuració de Roo Code</settingsLink>.",
+		"title": "Advertència d'execució d'ordres",
+		"description": "La teva ordre s'està executant sense la integració de shell del terminal VSCode. Per suprimir aquest advertiment, pots desactivar la integració de shell a la secció <strong>Terminal</strong> de la <settingsLink>configuració de Roo Code</settingsLink> o solucionar problemes d'integració del terminal VSCode utilitzant l'enllaç a continuació.",
 		"troubleshooting": "Fes clic aquí per a la documentació d'integració de shell."
 	}
 }

+ 4 - 4
webview-ui/src/i18n/locales/de/chat.json

@@ -90,6 +90,7 @@
 		}
 	},
 	"selectMode": "Interaktionsmodus auswählen",
+	"selectApiConfig": "API-Konfiguration auswählen",
 	"enhancePrompt": "Prompt mit zusätzlichem Kontext verbessern",
 	"addImages": "Bilder zur Nachricht hinzufügen",
 	"sendMessage": "Nachricht senden",
@@ -233,10 +234,9 @@
 		}
 	},
 	"systemPromptWarning": "WARNUNG: Benutzerdefinierte Systemaufforderung aktiv. Dies kann die Funktionalität erheblich beeinträchtigen und zu unvorhersehbarem Verhalten führen.",
-	"selectApiConfig": "API-Konfiguration auswählen",
 	"shellIntegration": {
-		"title": "Shell-Integration nicht verfügbar",
-		"description": "Dein Befehl wird ohne VSCode-Shell-Integration ausgeführt. Du kannst die Shell-Integration im Bereich <strong>Terminal</strong> in den <settingsLink>Roo Code Einstellungen</settingsLink> wieder aktivieren.",
-		"troubleshooting": "Klicke hier für die Shell-Integrations-Dokumentation."
+		"title": "Befehlsausführungswarnung",
+		"description": "Dein Befehl wird ohne VSCode Terminal-Shell-Integration ausgeführt. Um diese Warnung zu unterdrücken, kannst du die Shell-Integration im Abschnitt <strong>Terminal</strong> der <settingsLink>Roo Code Einstellungen</settingsLink> deaktivieren oder die VSCode Terminal-Integration mit dem Link unten beheben.",
+		"troubleshooting": "Klicke hier für die Shell-Integrationsdokumentation."
 	}
 }

+ 2 - 2
webview-ui/src/i18n/locales/en/chat.json

@@ -235,8 +235,8 @@
 	},
 	"systemPromptWarning": "WARNING: Custom system prompt override active. This can severely break functionality and cause unpredictable behavior.",
 	"shellIntegration": {
-		"title": "Shell Integration Unavailable",
-		"description": "Your command is being executed without VSCode shell integration. You can re-enable shell integration in the <strong>Terminal</strong> section of the <settingsLink>Roo Code settings</settingsLink>.",
+		"title": "Command Execution Warning",
+		"description": "Your command is being executed without VSCode terminal shell integration. To suppress this warning you can disable shell integration in the <strong>Terminal</strong> section of the <settingsLink>Roo Code settings</settingsLink> or troubleshoot VSCode terminal integration using the link below.",
 		"troubleshooting": "Click here for shell integration documentation."
 	}
 }

+ 3 - 3
webview-ui/src/i18n/locales/es/chat.json

@@ -90,6 +90,7 @@
 		}
 	},
 	"selectMode": "Seleccionar modo de interacción",
+	"selectApiConfig": "Seleccionar configuración de API",
 	"enhancePrompt": "Mejorar el mensaje con contexto adicional",
 	"addImages": "Agregar imágenes al mensaje",
 	"sendMessage": "Enviar mensaje",
@@ -233,10 +234,9 @@
 		}
 	},
 	"systemPromptWarning": "ADVERTENCIA: Anulación de instrucciones del sistema personalizada activa. Esto puede romper gravemente la funcionalidad y causar un comportamiento impredecible.",
-	"selectApiConfig": "Seleccionar configuración de API",
 	"shellIntegration": {
-		"title": "Integración de Shell no disponible",
-		"description": "Tu comando se está ejecutando sin la integración de shell de VSCode. Puedes reactivar la integración de shell en la sección <strong>Terminal</strong> de la <settingsLink>configuración de Roo Code</settingsLink>.",
+		"title": "Advertencia de ejecución de comandos",
+		"description": "Tu comando se está ejecutando sin la integración de shell de terminal de VSCode. Para suprimir esta advertencia, puedes desactivar la integración de shell en la sección <strong>Terminal</strong> de la <settingsLink>configuración de Roo Code</settingsLink> o solucionar problemas de integración de terminal de VSCode usando el enlace de abajo.",
 		"troubleshooting": "Haz clic aquí para ver la documentación de integración de shell."
 	}
 }

+ 3 - 3
webview-ui/src/i18n/locales/fr/chat.json

@@ -90,6 +90,7 @@
 		}
 	},
 	"selectMode": "Sélectionner le mode d'interaction",
+	"selectApiConfig": "Sélectionner la configuration de l'API",
 	"enhancePrompt": "Améliorer la requête avec un contexte supplémentaire",
 	"addImages": "Ajouter des images au message",
 	"sendMessage": "Envoyer le message",
@@ -233,10 +234,9 @@
 		}
 	},
 	"systemPromptWarning": "AVERTISSEMENT : Remplacement d'instructions système personnalisées actif. Cela peut gravement perturber la fonctionnalité et provoquer un comportement imprévisible.",
-	"selectApiConfig": "Sélectionner la configuration de l'API",
 	"shellIntegration": {
-		"title": "Intégration Shell non disponible",
-		"description": "Votre commande est exécutée sans l'intégration shell de VSCode. Vous pouvez réactiver l'intégration shell dans la section <strong>Terminal</strong> des <settingsLink>paramètres de Roo Code</settingsLink>.",
+		"title": "Avertissement d'exécution de commande",
+		"description": "Votre commande est exécutée sans l'intégration shell du terminal VSCode. Pour supprimer cet avertissement, vous pouvez désactiver l'intégration shell dans la section <strong>Terminal</strong> des <settingsLink>paramètres de Roo Code</settingsLink> ou résoudre les problèmes d'intégration du terminal VSCode en utilisant le lien ci-dessous.",
 		"troubleshooting": "Cliquez ici pour la documentation d'intégration shell."
 	}
 }

+ 3 - 3
webview-ui/src/i18n/locales/hi/chat.json

@@ -90,6 +90,7 @@
 		}
 	},
 	"selectMode": "इंटरैक्शन मोड चुनें",
+	"selectApiConfig": "एपीआई कॉन्फ़िगरेशन का चयन करें",
 	"enhancePrompt": "अतिरिक्त संदर्भ के साथ प्रॉम्प्ट बढ़ाएँ",
 	"addImages": "संदेश में चित्र जोड़ें",
 	"sendMessage": "संदेश भेजें",
@@ -233,10 +234,9 @@
 		}
 	},
 	"systemPromptWarning": "चेतावनी: कस्टम सिस्टम प्रॉम्प्ट ओवरराइड सक्रिय है। यह कार्यक्षमता को गंभीर रूप से बाधित कर सकता है और अनियमित व्यवहार का कारण बन सकता है.",
-	"selectApiConfig": "एपीआई कॉन्फ़िगरेशन का चयन करें",
 	"shellIntegration": {
-		"title": "शेल इंटीग्रेशन अनुपलब्ध",
-		"description": "आपका कमांड VSCode शेल इंटीग्रेशन के बिना निष्पादित हो रहा है। आप <settingsLink>Roo Code सेटिंग्स</settingsLink> के <strong>टर्मिनल</strong> अनुभाग में शेल इंटीग्रेशन को पुनः सक्षम कर सकते हैं।",
+		"title": "कमांड निष्पादन चेतावनी",
+		"description": "आपका कमांड VSCode टर्मिनल शेल इंटीग्रेशन के बिना निष्पादित हो रहा है। इस चेतावनी को दबाने के लिए आप <settingsLink>Roo Code सेटिंग्स</settingsLink> के <strong>Terminal</strong> अनुभाग में शेल इंटीग्रेशन को अक्षम कर सकते हैं या नीचे दिए गए लिंक का उपयोग करके VSCode टर्मिनल इंटीग्रेशन की समस्या का समाधान कर सकते हैं।",
 		"troubleshooting": "शेल इंटीग्रेशन दस्तावेज़ के लिए यहां क्लिक करें।"
 	}
 }

+ 3 - 3
webview-ui/src/i18n/locales/it/chat.json

@@ -90,6 +90,7 @@
 		}
 	},
 	"selectMode": "Seleziona modalità di interazione",
+	"selectApiConfig": "Seleziona la configurazione API",
 	"enhancePrompt": "Migliora prompt con contesto aggiuntivo",
 	"addImages": "Aggiungi immagini al messaggio",
 	"sendMessage": "Invia messaggio",
@@ -233,10 +234,9 @@
 		}
 	},
 	"systemPromptWarning": "ATTENZIONE: Sovrascrittura personalizzata delle istruzioni di sistema attiva. Questo può compromettere gravemente le funzionalità e causare comportamenti imprevedibili.",
-	"selectApiConfig": "Seleziona la configurazione API",
 	"shellIntegration": {
-		"title": "Integrazione Shell non disponibile",
-		"description": "Il tuo comando viene eseguito senza l'integrazione shell di VSCode. Puoi riattivare l'integrazione shell nella sezione <strong>Terminal</strong> delle <settingsLink>impostazioni di Roo Code</settingsLink>.",
+		"title": "Avviso di esecuzione comando",
+		"description": "Il tuo comando viene eseguito senza l'integrazione shell del terminale VSCode. Per sopprimere questo avviso puoi disattivare l'integrazione shell nella sezione <strong>Terminal</strong> delle <settingsLink>impostazioni di Roo Code</settingsLink> o risolvere i problemi di integrazione del terminale VSCode utilizzando il link qui sotto.",
 		"troubleshooting": "Clicca qui per la documentazione sull'integrazione shell."
 	}
 }

+ 3 - 3
webview-ui/src/i18n/locales/ja/chat.json

@@ -90,6 +90,7 @@
 		}
 	},
 	"selectMode": "対話モードを選択",
+	"selectApiConfig": "API構成を選択",
 	"enhancePrompt": "追加コンテキストでプロンプトを強化",
 	"addImages": "メッセージに画像を追加",
 	"sendMessage": "メッセージを送信",
@@ -233,10 +234,9 @@
 		}
 	},
 	"systemPromptWarning": "警告:カスタムシステムプロンプトの上書きが有効です。これにより機能が深刻に損なわれ、予測不可能な動作が発生する可能性があります。",
-	"selectApiConfig": "API構成を選択",
 	"shellIntegration": {
-		"title": "シェル統合が利用できません",
-		"description": "コマンドはVSCodeシェル統合なしで実行されています。<settingsLink>Roo Code設定</settingsLink>の<strong>ターミナル</strong>セクションでシェル統合を再有効化できます。",
+		"title": "コマンド実行警告",
+		"description": "コマンドはVSCodeターミナルシェル統合なしで実行されています。この警告を非表示にするには、<settingsLink>Roo Code設定</settingsLink>の<strong>Terminal</strong>セクションでシェル統合を無効にするか、以下のリンクを使用してVSCodeターミナル統合のトラブルシューティングを行ってください。",
 		"troubleshooting": "シェル統合のドキュメントはこちらをクリック"
 	}
 }

+ 4 - 4
webview-ui/src/i18n/locales/ko/chat.json

@@ -90,6 +90,7 @@
 		}
 	},
 	"selectMode": "상호작용 모드 선택",
+	"selectApiConfig": "API 구성 선택",
 	"enhancePrompt": "추가 컨텍스트로 프롬프트 향상",
 	"addImages": "메시지에 이미지 추가",
 	"sendMessage": "메시지 보내기",
@@ -233,10 +234,9 @@
 		}
 	},
 	"systemPromptWarning": "경고: 사용자 정의 시스템 프롬프트 재정의가 활성화되었습니다. 이로 인해 기능이 심각하게 손상되고 예측할 수 없는 동작이 발생할 수 있습니다.",
-	"selectApiConfig": "API 구성 선택",
 	"shellIntegration": {
-		"title": "Shell 통합 사용 불가",
-		"description": "명령이 VSCode shell 통합 없이 실행되고 있습니다. <settingsLink>Roo Code 설정</settingsLink>의 <strong>터미널</strong> 섹션에서 shell 통합을 다시 활성화할 수 있습니다.",
-		"troubleshooting": "shell 통합 문서를 보려면 여기를 클릭하세요."
+		"title": "명령 실행 경고",
+		"description": "명령이 VSCode 터미널 쉘 통합 없이 실행되고 있습니다. 이 경고를 숨기려면 <settingsLink>Roo Code 설정</settingsLink>의 <strong>Terminal</strong> 섹션에서 쉘 통합을 비활성화하거나 아래 링크를 사용하여 VSCode 터미널 통합 문제를 해결하세요.",
+		"troubleshooting": " 통합 문서를 보려면 여기를 클릭하세요."
 	}
 }

+ 3 - 3
webview-ui/src/i18n/locales/pl/chat.json

@@ -90,6 +90,7 @@
 		}
 	},
 	"selectMode": "Wybierz tryb interakcji",
+	"selectApiConfig": "Wybierz konfigurację API",
 	"enhancePrompt": "Ulepsz podpowiedź dodatkowym kontekstem",
 	"addImages": "Dodaj obrazy do wiadomości",
 	"sendMessage": "Wyślij wiadomość",
@@ -233,10 +234,9 @@
 		}
 	},
 	"systemPromptWarning": "OSTRZEŻENIE: Aktywne niestandardowe zastąpienie instrukcji systemowych. Może to poważnie zakłócić funkcjonalność i powodować nieprzewidywalne zachowanie.",
-	"selectApiConfig": "Wybierz konfigurację API",
 	"shellIntegration": {
-		"title": "Integracja powłoki niedostępna",
-		"description": "Twoje polecenie jest wykonywane bez integracji powłoki VSCode. Możesz ponownie włączyć integrację powłoki w sekcji <strong>Terminal</strong> w <settingsLink>ustawieniach Roo Code</settingsLink>.",
+		"title": "Ostrzeżenie wykonania polecenia",
+		"description": "Twoje polecenie jest wykonywane bez integracji powłoki terminala VSCode. Aby ukryć to ostrzeżenie, możesz wyłączyć integrację powłoki w sekcji <strong>Terminal</strong> w <settingsLink>ustawieniach Roo Code</settingsLink> lub rozwiązać problemy z integracją terminala VSCode korzystając z poniższego linku.",
 		"troubleshooting": "Kliknij tutaj, aby zobaczyć dokumentację integracji powłoki."
 	}
 }

+ 3 - 3
webview-ui/src/i18n/locales/pt-BR/chat.json

@@ -90,6 +90,7 @@
 		}
 	},
 	"selectMode": "Selecionar modo de interação",
+	"selectApiConfig": "Selecionar configuração da API",
 	"enhancePrompt": "Aprimorar prompt com contexto adicional",
 	"addImages": "Adicionar imagens à mensagem",
 	"sendMessage": "Enviar mensagem",
@@ -233,10 +234,9 @@
 		}
 	},
 	"systemPromptWarning": "AVISO: Substituição personalizada de instrução do sistema ativa. Isso pode comprometer gravemente a funcionalidade e causar comportamento imprevisível.",
-	"selectApiConfig": "Selecionar configuração da API",
 	"shellIntegration": {
-		"title": "Integração de Shell Indisponível",
-		"description": "Seu comando está sendo executado sem a integração de shell do VSCode. Você pode reativar a integração de shell na seção <strong>Terminal</strong> das <settingsLink>configurações do Roo Code</settingsLink>.",
+		"title": "Aviso de execução de comando",
+		"description": "Seu comando está sendo executado sem a integração de shell do terminal VSCode. Para suprimir este aviso, você pode desativar a integração de shell na seção <strong>Terminal</strong> das <settingsLink>configurações do Roo Code</settingsLink> ou solucionar problemas de integração do terminal VSCode usando o link abaixo.",
 		"troubleshooting": "Clique aqui para a documentação de integração de shell."
 	}
 }

+ 3 - 3
webview-ui/src/i18n/locales/ru/chat.json

@@ -235,8 +235,8 @@
 	},
 	"systemPromptWarning": "ПРЕДУПРЕЖДЕНИЕ: Активна пользовательская системная подсказка. Это может серьезно нарушить работу и вызвать непредсказуемое поведение.",
 	"shellIntegration": {
-		"title": "Интеграция с оболочкой недоступна",
-		"description": "Ваша команда выполняется без интеграции с оболочкой VSCode. Вы можете повторно включить интеграцию с оболочкой в разделе <strong>Терминал</strong> <settingsLink>настроек Roo Code</settingsLink>.",
-		"troubleshooting": "Нажмите здесь для просмотра документации по интеграции с оболочкой."
+		"title": "Предупреждение о выполнении команды",
+		"description": "Ваша команда выполняется без интеграции оболочки терминала VSCode. Чтобы скрыть это предупреждение, вы можете отключить интеграцию оболочки в разделе <strong>Terminal</strong> в <settingsLink>настройках Roo Code</settingsLink> или устранить проблемы с интеграцией терминала VSCode, используя ссылку ниже.",
+		"troubleshooting": "Нажмите здесь для просмотра документации по интеграции оболочки."
 	}
 }

+ 4 - 4
webview-ui/src/i18n/locales/tr/chat.json

@@ -90,6 +90,7 @@
 		}
 	},
 	"selectMode": "Etkileşim modunu seçin",
+	"selectApiConfig": "API yapılandırmasını seçin",
 	"enhancePrompt": "Ek bağlamla istemi geliştir",
 	"addImages": "Mesaja resim ekle",
 	"sendMessage": "Mesaj gönder",
@@ -233,10 +234,9 @@
 		}
 	},
 	"systemPromptWarning": "UYARI: Özel sistem komut geçersiz kılma aktif. Bu işlevselliği ciddi şekilde bozabilir ve öngörülemeyen davranışlara neden olabilir.",
-	"selectApiConfig": "API yapılandırmasını seçin",
 	"shellIntegration": {
-		"title": "Kabuk Entegrasyonu Kullanılamıyor",
-		"description": "Komutunuz VSCode kabuk entegrasyonu olmadan çalıştırılıyor. <settingsLink>Roo Code ayarları</settingsLink>'nın <strong>Terminal</strong> bölümünden kabuk entegrasyonunu yeniden etkinleştirebilirsiniz.",
-		"troubleshooting": "Kabuk entegrasyonu belgeleri için buraya tıklayın."
+		"title": "Komut Çalıştırma Uyarısı",
+		"description": "Komutunuz VSCode terminal kabuk entegrasyonu olmadan çalıştırılıyor. Bu uyarıyı gizlemek için <settingsLink>Roo Code ayarları</settingsLink>'nın <strong>Terminal</strong> bölümünden kabuk entegrasyonunu devre dışı bırakabilir veya aşağıdaki bağlantıyı kullanarak VSCode terminal entegrasyonu sorunlarını giderebilirsiniz.",
+		"troubleshooting": "Kabuk entegrasyonu belgelerini görmek için buraya tıklayın."
 	}
 }

+ 4 - 4
webview-ui/src/i18n/locales/vi/chat.json

@@ -90,6 +90,7 @@
 		}
 	},
 	"selectMode": "Chọn chế độ tương tác",
+	"selectApiConfig": "Chọn cấu hình API",
 	"enhancePrompt": "Nâng cao yêu cầu với ngữ cảnh bổ sung",
 	"addImages": "Thêm hình ảnh vào tin nhắn",
 	"sendMessage": "Gửi tin nhắn",
@@ -233,10 +234,9 @@
 		}
 	},
 	"systemPromptWarning": "CẢNH BÁO: Đã kích hoạt ghi đè lệnh nhắc hệ thống tùy chỉnh. Điều này có thể phá vỡ nghiêm trọng chức năng và gây ra hành vi không thể dự đoán.",
-	"selectApiConfig": "Chọn cấu hình API",
 	"shellIntegration": {
-		"title": "Tích hợp Shell không khả dụng",
-		"description": "Lệnh của bạn đang được thực thi mà không có tích hợp shell VSCode. Bạn có thể kích hoạt lại tích hợp shell trong phần <strong>Terminal</strong> của <settingsLink>cài đặt Roo Code</settingsLink>.",
-		"troubleshooting": "Nhấp vào đây để xem tài liệu về tích hợp shell."
+		"title": "Cảnh báo thực thi lệnh",
+		"description": "Lệnh của bạn đang được thực thi mà không có tích hợp shell terminal VSCode. Để ẩn cảnh báo này, bạn có thể vô hiệu hóa tích hợp shell trong phần <strong>Terminal</strong> của <settingsLink>cài đặt Roo Code</settingsLink> hoặc khắc phục sự cố tích hợp terminal VSCode bằng liên kết bên dưới.",
+		"troubleshooting": "Nhấp vào đây để xem tài liệu tích hợp shell."
 	}
 }

+ 3 - 3
webview-ui/src/i18n/locales/zh-CN/chat.json

@@ -90,6 +90,7 @@
 		}
 	},
 	"selectMode": "选择交互模式",
+	"selectApiConfig": "选择 API 配置",
 	"enhancePrompt": "增强提示词",
 	"addImages": "添加图片到消息",
 	"sendMessage": "发送消息",
@@ -233,10 +234,9 @@
 		}
 	},
 	"systemPromptWarning": "警告:自定义系统提示词覆盖已激活。这可能严重破坏功能并导致不可预测的行为。",
-	"selectApiConfig": "选择 API 配置",
 	"shellIntegration": {
-		"title": "Shell 集成不可用",
-		"description": "您的命令正在没有 VSCode shell 集成的情况下执行。您可以在 <settingsLink>Roo Code 设置</settingsLink> 的 <strong>终端</strong> 部分重新启用 shell 集成。",
+		"title": "命令执行警告",
+		"description": "您的命令正在没有 VSCode 终端 shell 集成的情况下执行。要隐藏此警告,您可以在 <settingsLink>Roo Code 设置</settingsLink>的 <strong>Terminal</strong> 部分禁用 shell 集成,或使用下方链接排查 VSCode 终端集成问题。",
 		"troubleshooting": "点击此处查看 shell 集成文档。"
 	}
 }

+ 3 - 3
webview-ui/src/i18n/locales/zh-TW/chat.json

@@ -90,6 +90,7 @@
 		}
 	},
 	"selectMode": "選擇互動模式",
+	"selectApiConfig": "選取 API 設定",
 	"enhancePrompt": "使用額外內容增強提示",
 	"addImages": "新增圖片到訊息中",
 	"sendMessage": "傳送訊息",
@@ -233,10 +234,9 @@
 		}
 	},
 	"systemPromptWarning": "警告:自訂系統提示詞覆蓋已啟用。這可能嚴重破壞功能並導致不可預測的行為。",
-	"selectApiConfig": "選取 API 設定",
 	"shellIntegration": {
-		"title": "Shell 整合不可用",
-		"description": "您的命令正在沒有 VSCode shell 整合的情況下執行。您可以在 <settingsLink>Roo Code 設定</settingsLink> 的 <strong>終端機</strong> 部分重新啟用 shell 整合。",
+		"title": "命令執行警告",
+		"description": "您的命令正在沒有 VSCode 終端機 shell 整合的情況下執行。要隱藏此警告,您可以在 <settingsLink>Roo Code 設定</settingsLink>的 <strong>Terminal</strong> 部分停用 shell 整合,或使用下方連結排查 VSCode 終端機整合問題。",
 		"troubleshooting": "點擊此處查看 shell 整合文件。"
 	}
 }