mirror of
https://github.com/Kilo-Org/kilocode.git
synced 2026-08-28 19:11:03 +08:00
feat(i18n): add sandbox translations for all languages
This commit is contained in:
@@ -1065,34 +1065,36 @@ export const PromptInput: Component<PromptInputProps> = (props) => {
|
||||
<Icon name="shield" size="small" />
|
||||
</Button>
|
||||
</Tooltip>
|
||||
<Tooltip
|
||||
value={
|
||||
sandbox()
|
||||
? language.t("prompt.action.sandbox.enabled")
|
||||
: language.t("prompt.action.sandbox.disabled")
|
||||
}
|
||||
placement="top"
|
||||
>
|
||||
<Button
|
||||
variant="ghost"
|
||||
size="small"
|
||||
onClick={() => {
|
||||
updateConfig({
|
||||
experimental: { ...config().experimental, sandbox: !sandbox() },
|
||||
})
|
||||
saveConfig()
|
||||
}}
|
||||
aria-label={
|
||||
<Show when={typeof navigator !== "undefined" && /Mac/i.test(navigator.platform)}>
|
||||
<Tooltip
|
||||
value={
|
||||
sandbox()
|
||||
? language.t("prompt.action.sandbox.disable")
|
||||
: language.t("prompt.action.sandbox.enable")
|
||||
? language.t("prompt.action.sandbox.enabled")
|
||||
: language.t("prompt.action.sandbox.disabled")
|
||||
}
|
||||
aria-pressed={sandbox()}
|
||||
class={`prompt-sandbox-button ${sandbox() ? "prompt-sandbox-button--active" : ""}`}
|
||||
placement="top"
|
||||
>
|
||||
<Icon name="lock" size="small" />
|
||||
</Button>
|
||||
</Tooltip>
|
||||
<Button
|
||||
variant="ghost"
|
||||
size="small"
|
||||
onClick={() => {
|
||||
updateConfig({
|
||||
experimental: { ...config().experimental, sandbox: !sandbox() },
|
||||
})
|
||||
saveConfig()
|
||||
}}
|
||||
aria-label={
|
||||
sandbox()
|
||||
? language.t("prompt.action.sandbox.disable")
|
||||
: language.t("prompt.action.sandbox.enable")
|
||||
}
|
||||
aria-pressed={sandbox()}
|
||||
class={`prompt-sandbox-button ${sandbox() ? "prompt-sandbox-button--active" : ""}`}
|
||||
>
|
||||
<Icon name="lock" size="small" />
|
||||
</Button>
|
||||
</Tooltip>
|
||||
</Show>
|
||||
<Tooltip value={language.t("prompt.action.enhance")} placement="top">
|
||||
<Button
|
||||
variant="ghost"
|
||||
|
||||
@@ -183,19 +183,21 @@ const ExperimentalTab: Component = () => {
|
||||
/>
|
||||
</SettingsRow>
|
||||
|
||||
<SettingsRow
|
||||
title={language.t("settings.experimental.sandbox.title")}
|
||||
description={language.t("settings.experimental.sandbox.description")}
|
||||
last
|
||||
>
|
||||
<Switch
|
||||
checked={experimental().sandbox ?? false}
|
||||
onChange={(checked) => updateExperimental("sandbox", checked)}
|
||||
hideLabel
|
||||
<Show when={typeof navigator !== "undefined" && /Mac/i.test(navigator.platform)}>
|
||||
<SettingsRow
|
||||
title={language.t("settings.experimental.sandbox.title")}
|
||||
description={language.t("settings.experimental.sandbox.description")}
|
||||
last
|
||||
>
|
||||
{language.t("settings.experimental.sandbox.title")}
|
||||
</Switch>
|
||||
</SettingsRow>
|
||||
<Switch
|
||||
checked={experimental().sandbox ?? false}
|
||||
onChange={(checked) => updateExperimental("sandbox", checked)}
|
||||
hideLabel
|
||||
>
|
||||
{language.t("settings.experimental.sandbox.title")}
|
||||
</Switch>
|
||||
</SettingsRow>
|
||||
</Show>
|
||||
</Card>
|
||||
|
||||
{/* Tool toggles */}
|
||||
|
||||
+6
@@ -283,6 +283,10 @@ export const dict = {
|
||||
"prompt.action.resetModel": "إعادة تعيين النموذج إلى الافتراضي",
|
||||
"prompt.action.enhanceDescription":
|
||||
"زر «حسّن الموجه» يطوّر موجهك بإضافة سياق أو توضيح أو إعادة صياغة. جرّب اكتب موجه هنا ثم اضغط الزر مرة ثانية وشوف النتيجة.",
|
||||
"prompt.action.sandbox.enable": "تفعيل sandbox",
|
||||
"prompt.action.sandbox.disable": "تعطيل sandbox",
|
||||
"prompt.action.sandbox.enabled": "sandbox مُفعّل. أوامر shell الخاصة بالوكيل مقتصرة على مجلدات المشروع و Kilo.",
|
||||
"prompt.action.sandbox.disabled": "sandbox مُعطّل. انقر لتقييد كتابة أوامر shell الخاصة بالوكيل على مجلدات المشروع و Kilo.",
|
||||
|
||||
"speechToText.tooltip.start": "بدء الإدخال الصوتي باستخدام Kilo Gateway",
|
||||
"speechToText.tooltip.stop": "إيقاف التقاط الصوت",
|
||||
@@ -1425,6 +1429,8 @@ export const dict = {
|
||||
"settings.agentBehaviour.workflows.empty": "لم يتم تهيئة أوامر مخصصة. أضف أوامر إلى opencode.json لرؤيتها هنا.",
|
||||
"settings.agentBehaviour.workflows.detail.description": "الوصف",
|
||||
"settings.agentBehaviour.workflows.detail.template": "القالب",
|
||||
"settings.experimental.sandbox.title": "Sandbox",
|
||||
"settings.experimental.sandbox.description": "تشغيل أوامر shell الخاصة بالوكيل داخل sandbox على مستوى نظام التشغيل يقيّد الكتابة على مجلدات حالة المشروع و Kilo",
|
||||
|
||||
"settings.autoApprove.description":
|
||||
"تحديد كيفية السماح بتشغيل الأدوات. معظم الأدوات معينة افتراضياً على السماح. doom_loop و external_directory معينة افتراضياً على السؤال.",
|
||||
|
||||
+6
@@ -287,6 +287,10 @@ export const dict = {
|
||||
"prompt.action.enhanceDescription":
|
||||
"O botão 'Aprimorar prompt' ajuda a melhorar seu pedido fornecendo contexto adicional, esclarecimentos ou reformulações. Tente digitar um pedido aqui e clique no botão novamente para ver como funciona.",
|
||||
"prompt.action.indexing": "Configurações de indexação",
|
||||
"prompt.action.sandbox.enable": "Ativar sandbox",
|
||||
"prompt.action.sandbox.disable": "Desativar sandbox",
|
||||
"prompt.action.sandbox.enabled": "Sandbox ativado. Os comandos shell do agente estão limitados aos diretórios do projeto e do Kilo.",
|
||||
"prompt.action.sandbox.disabled": "Sandbox desativado. Clique para limitar as escritas dos comandos shell do agente aos diretórios do projeto e do Kilo.",
|
||||
|
||||
"speechToText.tooltip.start": "Iniciar entrada de voz com o Kilo Gateway",
|
||||
"speechToText.tooltip.stop": "Parar captura",
|
||||
@@ -1463,6 +1467,8 @@ export const dict = {
|
||||
"Nenhum comando personalizado configurado. Adicione comandos ao opencode.json para vê-los aqui.",
|
||||
"settings.agentBehaviour.workflows.detail.description": "Descrição",
|
||||
"settings.agentBehaviour.workflows.detail.template": "Modelo",
|
||||
"settings.experimental.sandbox.title": "Sandbox",
|
||||
"settings.experimental.sandbox.description": "Executar os comandos shell do agente dentro de um sandbox a nível de sistema operacional que restringe escritas aos diretórios de estado do projeto e do Kilo",
|
||||
|
||||
"settings.autoApprove.description":
|
||||
"Defina como as ferramentas têm permissão para serem executadas. A maioria das ferramentas tem o padrão Permitir. doom_loop e external_directory têm o padrão Perguntar.",
|
||||
|
||||
+6
@@ -287,6 +287,10 @@ export const dict = {
|
||||
"prompt.action.resetModel": "Resetuj model na zadani",
|
||||
"prompt.action.enhanceDescription":
|
||||
"Dugme 'Poboljšaj prompt' pomaže poboljšati vaš zahtjev pružajući dodatni kontekst, pojašnjenje ili preformulaciju. Pokušajte upisati zahtjev ovdje i ponovo kliknite na dugme da vidite kako funkcioniše.",
|
||||
"prompt.action.sandbox.enable": "Omogući sandbox",
|
||||
"prompt.action.sandbox.disable": "Onemogući sandbox",
|
||||
"prompt.action.sandbox.enabled": "Sandbox je omogućen. Shell komande agenta su ograničene na direktorije projekta i Kilo.",
|
||||
"prompt.action.sandbox.disabled": "Sandbox je onemogućen. Kliknite da ograničite pisanje shell komandi agenta na direktorije projekta i Kilo.",
|
||||
|
||||
"speechToText.tooltip.start": "Započni glasovni unos sa Kilo Gateway",
|
||||
"speechToText.tooltip.stop": "Zaustavi hvatanje zvuka",
|
||||
@@ -1457,6 +1461,8 @@ export const dict = {
|
||||
"Nema konfiguriranih prilagođenih komandi. Dodajte komande u opencode.json da ih vidite ovdje.",
|
||||
"settings.agentBehaviour.workflows.detail.description": "Opis",
|
||||
"settings.agentBehaviour.workflows.detail.template": "Predložak",
|
||||
"settings.experimental.sandbox.title": "Sandbox",
|
||||
"settings.experimental.sandbox.description": "Pokrenite shell komande agenta unutar sandboxa na nivou operativnog sistema koji ograničava pisanje na direktorije stanja projekta i Kilo",
|
||||
|
||||
"settings.autoApprove.description":
|
||||
"Definišite kako je dozvoljeno pokretanje alata. Većina alata je podrazumijevano na Dozvoli. doom_loop i external_directory su podrazumijevano na Pitaj.",
|
||||
|
||||
+6
@@ -286,6 +286,10 @@ export const dict = {
|
||||
"prompt.action.resetModel": "Nulstil model til standard",
|
||||
"prompt.action.enhanceDescription":
|
||||
"Knappen 'Forbedr prompt' hjælper med at forbedre din forespørgsel ved at give ekstra kontekst, præcisering eller omformulering. Prøv at skrive en forespørgsel her og klik på knappen igen for at se hvordan det virker.",
|
||||
"prompt.action.sandbox.enable": "Aktivér sandbox",
|
||||
"prompt.action.sandbox.disable": "Deaktivér sandbox",
|
||||
"prompt.action.sandbox.enabled": "Sandbox er aktiveret. Shell-kommandoer for agenten er begrænset til projekt- og Kilo-mapperne.",
|
||||
"prompt.action.sandbox.disabled": "Sandbox er deaktiveret. Klik for at begrænse skrivning af shell-kommandoer for agenten til projekt- og Kilo-mapperne.",
|
||||
|
||||
"speechToText.tooltip.start": "Start stemmeinput med Kilo Gateway",
|
||||
"speechToText.tooltip.stop": "Stop lydoptagelse",
|
||||
@@ -1450,6 +1454,8 @@ export const dict = {
|
||||
"Ingen brugerdefinerede kommandoer konfigureret. Tilføj kommandoer til opencode.json for at se dem her.",
|
||||
"settings.agentBehaviour.workflows.detail.description": "Beskrivelse",
|
||||
"settings.agentBehaviour.workflows.detail.template": "Skabelon",
|
||||
"settings.experimental.sandbox.title": "Sandbox",
|
||||
"settings.experimental.sandbox.description": "Kør shell-kommandoer for agenten i en sandbox på operativsystemniveau, der begrænser skrivning til projekt- og Kilo-tilstandsmapperne",
|
||||
|
||||
"settings.autoApprove.description":
|
||||
"Definer, hvordan værktøjer må køre. De fleste værktøjer er som standard indstillet til Tillad. doom_loop og external_directory er som standard indstillet til Spørg.",
|
||||
|
||||
+6
@@ -290,6 +290,10 @@ export const dict = {
|
||||
"prompt.action.resetModel": "Modell auf Standard zurücksetzen",
|
||||
"prompt.action.enhanceDescription":
|
||||
"Die Schaltfläche 'Prompt verbessern' hilft, deine Anfrage durch zusätzlichen Kontext, Klarstellungen oder Umformulierungen zu verbessern. Versuche, hier eine Anfrage einzugeben und klicke erneut auf die Schaltfläche, um zu sehen, wie es funktioniert.",
|
||||
"prompt.action.sandbox.enable": "Sandbox aktivieren",
|
||||
"prompt.action.sandbox.disable": "Sandbox deaktivieren",
|
||||
"prompt.action.sandbox.enabled": "Sandbox ist aktiviert. Shell-Befehle des Agenten sind auf die Projekt- und Kilo-Verzeichnisse beschränkt.",
|
||||
"prompt.action.sandbox.disabled": "Sandbox ist deaktiviert. Klicken, um Schreibvorgänge der Shell-Befehle des Agenten auf die Projekt- und Kilo-Verzeichnisse zu beschränken.",
|
||||
|
||||
"speechToText.tooltip.start": "Spracheingabe mit Kilo Gateway starten",
|
||||
"speechToText.tooltip.stop": "Audioerfassung beenden",
|
||||
@@ -1479,6 +1483,8 @@ export const dict = {
|
||||
"Keine benutzerdefinierten Befehle konfiguriert. Fügen Sie Befehle zu opencode.json hinzu, um sie hier zu sehen.",
|
||||
"settings.agentBehaviour.workflows.detail.description": "Beschreibung",
|
||||
"settings.agentBehaviour.workflows.detail.template": "Vorlage",
|
||||
"settings.experimental.sandbox.title": "Sandbox",
|
||||
"settings.experimental.sandbox.description": "Shell-Befehle des Agenten in einer Sandbox auf Betriebssystemebene ausführen, die Schreibvorgänge auf die Projekt- und Kilo-Statusverzeichnisse beschränkt",
|
||||
|
||||
"settings.autoApprove.description":
|
||||
"Legen Sie fest, wie Tools ausgeführt werden dürfen. Die meisten Tools sind standardmäßig auf Zulassen eingestellt. doom_loop und external_directory sind standardmäßig auf Fragen eingestellt.",
|
||||
|
||||
+6
@@ -288,6 +288,10 @@ export const dict = {
|
||||
"prompt.action.enhanceDescription":
|
||||
"El botón 'Mejorar el mensaje' ayuda a mejorar tu petición proporcionando contexto adicional, aclaraciones o reformulaciones. Intenta escribir una petición aquí y haz clic en el botón nuevamente para ver cómo funciona.",
|
||||
"prompt.action.indexing": "Configuración de indexación",
|
||||
"prompt.action.sandbox.enable": "Activar sandbox",
|
||||
"prompt.action.sandbox.disable": "Desactivar sandbox",
|
||||
"prompt.action.sandbox.enabled": "Sandbox activado. Los comandos de shell del agente están limitados a los directorios del proyecto y de Kilo.",
|
||||
"prompt.action.sandbox.disabled": "Sandbox desactivado. Haz clic para limitar las escrituras de los comandos de shell del agente a los directorios del proyecto y de Kilo.",
|
||||
|
||||
"speechToText.tooltip.start": "Iniciar entrada de voz con Kilo Gateway",
|
||||
"speechToText.tooltip.stop": "Detener captura",
|
||||
@@ -1471,6 +1475,8 @@ export const dict = {
|
||||
"No hay comandos personalizados configurados. Añada comandos a opencode.json para verlos aquí.",
|
||||
"settings.agentBehaviour.workflows.detail.description": "Descripción",
|
||||
"settings.agentBehaviour.workflows.detail.template": "Plantilla",
|
||||
"settings.experimental.sandbox.title": "Sandbox",
|
||||
"settings.experimental.sandbox.description": "Ejecutar los comandos de shell del agente dentro de un sandbox a nivel de sistema operativo que restringe las escrituras a los directorios de estado del proyecto y de Kilo",
|
||||
|
||||
"settings.autoApprove.description":
|
||||
"Defina cómo se permite la ejecución de las herramientas. La mayoría de las herramientas tienen como valor predeterminado Permitir. doom_loop y external_directory tienen como valor predeterminado Preguntar.",
|
||||
|
||||
+6
@@ -289,6 +289,10 @@ export const dict = {
|
||||
"prompt.action.enhanceDescription":
|
||||
"Le bouton 'Améliorer la requête' aide à améliorer votre demande en fournissant un contexte supplémentaire, des clarifications ou des reformulations. Essayez de taper une demande ici et cliquez à nouveau sur le bouton pour voir comment cela fonctionne.",
|
||||
"prompt.action.indexing": "Paramètres d'indexation",
|
||||
"prompt.action.sandbox.enable": "Activer le sandbox",
|
||||
"prompt.action.sandbox.disable": "Désactiver le sandbox",
|
||||
"prompt.action.sandbox.enabled": "Le sandbox est activé. Les commandes shell de l'agent sont limitées aux répertoires du projet et de Kilo.",
|
||||
"prompt.action.sandbox.disabled": "Le sandbox est désactivé. Cliquez pour limiter les écritures des commandes shell de l'agent aux répertoires du projet et de Kilo.",
|
||||
|
||||
"speechToText.tooltip.start": "Démarrer la saisie vocale avec Kilo Gateway",
|
||||
"speechToText.tooltip.stop": "Arrêter la capture audio",
|
||||
@@ -1488,6 +1492,8 @@ export const dict = {
|
||||
"Aucune commande personnalisée configurée. Ajoutez des commandes à opencode.json pour les voir ici.",
|
||||
"settings.agentBehaviour.workflows.detail.description": "Description",
|
||||
"settings.agentBehaviour.workflows.detail.template": "Modèle",
|
||||
"settings.experimental.sandbox.title": "Sandbox",
|
||||
"settings.experimental.sandbox.description": "Exécuter les commandes shell de l'agent dans un sandbox au niveau du système d'exploitation qui restreint les écritures aux répertoires d'état du projet et de Kilo",
|
||||
|
||||
"settings.autoApprove.description":
|
||||
"Définissez comment les outils sont autorisés à s'exécuter. La plupart des outils sont définis sur Autoriser par défaut. doom_loop et external_directory sont définis sur Demander par défaut.",
|
||||
|
||||
+6
@@ -1197,6 +1197,12 @@ export const dict = {
|
||||
"settings.agentBehaviour.noSkillsFound":
|
||||
"Nessuna skill rilevata. Aggiungi percorsi cartella o URL di skill qui sotto per renderle disponibili.",
|
||||
"settings.agentBehaviour.availableModes": "Modalità personalizzate disponibili",
|
||||
"prompt.action.sandbox.enable": "Abilita sandbox",
|
||||
"prompt.action.sandbox.disable": "Disabilita sandbox",
|
||||
"prompt.action.sandbox.enabled": "Sandbox abilitata. I comandi shell dell'agente sono limitati alle directory del progetto e di Kilo.",
|
||||
"prompt.action.sandbox.disabled": "Sandbox disabilitata. Fai clic per limitare le scritture dei comandi shell dell'agente alle directory del progetto e di Kilo.",
|
||||
"settings.experimental.sandbox.title": "Sandbox",
|
||||
"settings.experimental.sandbox.description": "Esegui i comandi shell dell'agente all'interno di un sandbox a livello di sistema operativo che limita le scritture alle directory di stato del progetto e di Kilo",
|
||||
|
||||
"settings.agentBehaviour.skillPaths": "Percorsi cartelle skill",
|
||||
"settings.agentBehaviour.skillUrls": "URL skill",
|
||||
|
||||
+6
@@ -284,6 +284,10 @@ export const dict = {
|
||||
"prompt.action.enhanceDescription":
|
||||
"「プロンプトを強化」ボタンは、追加コンテキスト、説明、または言い換えを提供することで、リクエストを改善します。ここにリクエストを入力し、ボタンを再度クリックして動作を確認してください。",
|
||||
"prompt.action.indexing": "インデックス設定",
|
||||
"prompt.action.sandbox.enable": "サンドボックスを有効化",
|
||||
"prompt.action.sandbox.disable": "サンドボックスを無効化",
|
||||
"prompt.action.sandbox.enabled": "サンドボックスが有効です。エージェントのシェルコマンドは、プロジェクトおよびKiloディレクトリに制限されています。",
|
||||
"prompt.action.sandbox.disabled": "サンドボックスが無効です。クリックしてエージェントのシェルコマンドの書き込みをプロジェクトおよびKiloディレクトリに制限します。",
|
||||
|
||||
"speechToText.tooltip.start": "Kilo Gatewayで音声入力を開始",
|
||||
"speechToText.tooltip.stop": "音声キャプチャを停止",
|
||||
@@ -1446,6 +1450,8 @@ export const dict = {
|
||||
"カスタムコマンドが設定されていません。opencode.json にコマンドを追加するとここに表示されます。",
|
||||
"settings.agentBehaviour.workflows.detail.description": "説明",
|
||||
"settings.agentBehaviour.workflows.detail.template": "テンプレート",
|
||||
"settings.experimental.sandbox.title": "サンドボックス",
|
||||
"settings.experimental.sandbox.description": "エージェントのシェルコマンドを、プロジェクトおよびKiloの状態ディレクトリへの書き込みを制限するOSレベルのサンドボックス内で実行",
|
||||
|
||||
"settings.autoApprove.description":
|
||||
"ツールの実行許可を定義します。ほとんどのツールはデフォルトで「許可」されます。doom_loop と external_directory はデフォルトで「確認」になります。",
|
||||
|
||||
+6
@@ -286,6 +286,10 @@ export const dict = {
|
||||
"prompt.action.resetModel": "모델을 기본값으로 재설정",
|
||||
"prompt.action.enhanceDescription":
|
||||
"'프롬프트 향상' 버튼은 추가 컨텍스트, 명확화 또는 재구성을 제공하여 요청을 개선합니다. 여기에 요청을 입력한 다음 버튼을 다시 클릭하여 작동 방식을 확인해보세요.",
|
||||
"prompt.action.sandbox.enable": "샌드박스 활성화",
|
||||
"prompt.action.sandbox.disable": "샌드박스 비활성화",
|
||||
"prompt.action.sandbox.enabled": "샌드박스가 활성화되어 있습니다. 에이전트 셸 명령은 프로젝트 및 Kilo 디렉터리로 제한됩니다.",
|
||||
"prompt.action.sandbox.disabled": "샌드박스가 비활성화되어 있습니다. 클릭하여 에이전트 셸 명령 쓰기를 프로젝트 및 Kilo 디렉터리로 제한합니다.",
|
||||
|
||||
"speechToText.tooltip.start": "Kilo Gateway로 음성 입력 시작",
|
||||
"speechToText.tooltip.stop": "음성 캡처 중지",
|
||||
@@ -1436,6 +1440,8 @@ export const dict = {
|
||||
"구성된 사용자 정의 명령이 없습니다. opencode.json에 명령을 추가하면 여기에 표시됩니다.",
|
||||
"settings.agentBehaviour.workflows.detail.description": "설명",
|
||||
"settings.agentBehaviour.workflows.detail.template": "템플릿",
|
||||
"settings.experimental.sandbox.title": "샌드박스",
|
||||
"settings.experimental.sandbox.description": "에이전트 셸 명령을 프로젝트 및 Kilo 상태 디렉터리에 대한 쓰기를 제한하는 OS 수준의 샌드박스 내에서 실행",
|
||||
|
||||
"settings.autoApprove.description":
|
||||
"도구 실행 허용 방식을 정의합니다. 대부분의 도구 기본값은 '허용'입니다. doom_loop 및 external_directory의 기본값은 '확인'입니다.",
|
||||
|
||||
+6
@@ -288,6 +288,10 @@ export const dict = {
|
||||
"prompt.action.resetModel": "Model terugzetten naar standaard",
|
||||
"prompt.action.enhanceDescription":
|
||||
"De knop 'Prompt verbeteren' helpt je prompt te verbeteren door extra context, verduidelijking of herformulering te bieden. Typ hier een prompt en klik nogmaals op de knop om te zien hoe het werkt.",
|
||||
"prompt.action.sandbox.enable": "Sandbox inschakelen",
|
||||
"prompt.action.sandbox.disable": "Sandbox uitschakelen",
|
||||
"prompt.action.sandbox.enabled": "Sandbox is ingeschakeld. Shell-opdrachten van de agent zijn beperkt tot de project- en Kilo-mappen.",
|
||||
"prompt.action.sandbox.disabled": "Sandbox is uitgeschakeld. Klik om schrijfbewerkingen van shell-opdrachten van de agent te beperken tot de project- en Kilo-mappen.",
|
||||
|
||||
"speechToText.tooltip.start": "Spraakinvoer starten met Kilo Gateway",
|
||||
"speechToText.tooltip.stop": "Audio vastleggen stoppen",
|
||||
@@ -1332,6 +1336,8 @@ export const dict = {
|
||||
"settings.experimental.remote.inactive": "Inactief",
|
||||
"settings.experimental.remote.hint": "Gebruik /remote in de chat om te schakelen",
|
||||
"settings.experimental.toolToggles": "Tool Schakelaars",
|
||||
"settings.experimental.sandbox.title": "Sandbox",
|
||||
"settings.experimental.sandbox.description": "Shell-opdrachten van de agent uitvoeren in een sandbox op besturingssysteemniveau die schrijfbewerkingen beperkt tot de project- en Kilo-statusmappen",
|
||||
|
||||
"settings.agentBehaviour.defaultAgent.title": "Standaard Agent",
|
||||
"settings.agentBehaviour.defaultAgent.description": "Agent om te gebruiken wanneer er geen is opgegeven",
|
||||
|
||||
+6
@@ -290,6 +290,10 @@ export const dict = {
|
||||
"prompt.action.indexing": "Indekseringsinnstillinger",
|
||||
"prompt.action.enhanceDescription":
|
||||
"Knappen 'Forbedre prompt' hjelper med å forbedre forespørselen din ved å gi ekstra kontekst, avklaring eller omformulering. Prøv å skrive en forespørsel her og klikk på knappen igjen for å se hvordan det fungerer.",
|
||||
"prompt.action.sandbox.enable": "Aktiver sandbox",
|
||||
"prompt.action.sandbox.disable": "Deaktiver sandbox",
|
||||
"prompt.action.sandbox.enabled": "Sandbox er aktivert. Shell-kommandoer for agenten er begrenset til prosjekt- og Kilo-mappene.",
|
||||
"prompt.action.sandbox.disabled": "Sandbox er deaktivert. Klikk for å begrense skriving av shell-kommandoer for agenten til prosjekt- og Kilo-mappene.",
|
||||
|
||||
"speechToText.tooltip.start": "Start taleinndata med Kilo Gateway",
|
||||
"speechToText.tooltip.stop": "Stopp lydfangst",
|
||||
@@ -1449,6 +1453,8 @@ export const dict = {
|
||||
"Ingen egendefinerte kommandoer konfigurert. Legg til kommandoer i opencode.json for å se dem her.",
|
||||
"settings.agentBehaviour.workflows.detail.description": "Beskrivelse",
|
||||
"settings.agentBehaviour.workflows.detail.template": "Mal",
|
||||
"settings.experimental.sandbox.title": "Sandbox",
|
||||
"settings.experimental.sandbox.description": "Kjør shell-kommandoer for agenten i en sandbox på operativsystemnivå som begrenser skriving til prosjekt- og Kilo-tilstandsmapper",
|
||||
|
||||
"settings.autoApprove.description":
|
||||
"Definer hvordan verktøy kan kjøre. De fleste verktøy har Tillat som standard. doom_loop og external_directory har Spør som standard.",
|
||||
|
||||
+6
@@ -287,6 +287,10 @@ export const dict = {
|
||||
"prompt.action.enhanceDescription":
|
||||
"Przycisk 'Ulepsz podpowiedź' pomaga ulepszyć Twoją prośbę, dostarczając dodatkowy kontekst, wyjaśnienia lub przeformułowania. Spróbuj wpisać prośbę tutaj i kliknij przycisk ponownie, aby zobaczyć, jak to działa.",
|
||||
"prompt.action.indexing": "Ustawienia indeksowania",
|
||||
"prompt.action.sandbox.enable": "Włącz sandbox",
|
||||
"prompt.action.sandbox.disable": "Wyłącz sandbox",
|
||||
"prompt.action.sandbox.enabled": "Sandbox jest włączony. Polecenia shell agenta są ograniczone do katalogów projektu i Kilo.",
|
||||
"prompt.action.sandbox.disabled": "Sandbox jest wyłączony. Kliknij, aby ograniczyć zapisy poleceń shell agenta do katalogów projektu i Kilo.",
|
||||
|
||||
"speechToText.tooltip.start": "Rozpocznij wprowadzanie głosowe z Kilo Gateway",
|
||||
"speechToText.tooltip.stop": "Zatrzymaj przechwytywanie dźwięku",
|
||||
@@ -1454,6 +1458,8 @@ export const dict = {
|
||||
"Brak skonfigurowanych niestandardowych komend. Dodaj komendy do opencode.json, aby je tu zobaczyć.",
|
||||
"settings.agentBehaviour.workflows.detail.description": "Opis",
|
||||
"settings.agentBehaviour.workflows.detail.template": "Szablon",
|
||||
"settings.experimental.sandbox.title": "Sandbox",
|
||||
"settings.experimental.sandbox.description": "Uruchamiaj polecenia shell agenta w sandboxie na poziomie systemu operacyjnego, który ogranicza zapisy do katalogów stanu projektu i Kilo",
|
||||
|
||||
"settings.autoApprove.description":
|
||||
"Zdefiniuj, jak narzędzia mogą być uruchamiane. Większość narzędzi domyślnie ma ustawienie Zezwalaj. doom_loop i external_directory domyślnie mają ustawienie Pytaj.",
|
||||
|
||||
+6
@@ -285,6 +285,10 @@ export const dict = {
|
||||
"prompt.action.indexing": "Настройки индексации",
|
||||
"prompt.action.enhanceDescription":
|
||||
"Кнопка 'Улучшить запрос' помогает сделать ваш запрос лучше, предоставляя дополнительный контекст, уточнения или переформулировку. Попробуйте ввести запрос и снова нажать кнопку, чтобы увидеть, как это работает.",
|
||||
"prompt.action.sandbox.enable": "Включить песочницу",
|
||||
"prompt.action.sandbox.disable": "Отключить песочницу",
|
||||
"prompt.action.sandbox.enabled": "Песочница включена. Команды оболочки агента ограничены каталогами проекта и Kilo.",
|
||||
"prompt.action.sandbox.disabled": "Песочница отключена. Нажмите, чтобы ограничить запись команд оболочки агента каталогами проекта и Kilo.",
|
||||
|
||||
"speechToText.tooltip.start": "Начать голосовой ввод с Kilo Gateway",
|
||||
"speechToText.tooltip.stop": "Остановить захват звука",
|
||||
@@ -1456,6 +1460,8 @@ export const dict = {
|
||||
"Пользовательские команды не настроены. Добавьте команды в opencode.json, чтобы увидеть их здесь.",
|
||||
"settings.agentBehaviour.workflows.detail.description": "Описание",
|
||||
"settings.agentBehaviour.workflows.detail.template": "Шаблон",
|
||||
"settings.experimental.sandbox.title": "Песочница",
|
||||
"settings.experimental.sandbox.description": "Выполнять команды оболочки агента в песочнице на уровне ОС, которая ограничивает запись в каталоги состояния проекта и Kilo",
|
||||
|
||||
"settings.autoApprove.description":
|
||||
"Определите правила запуска инструментов. Большинство инструментов по умолчанию Разрешены. Для doom_loop и external_directory по умолчанию установлено Спрашивать.",
|
||||
|
||||
+6
@@ -285,6 +285,10 @@ export const dict = {
|
||||
"prompt.action.enhanceDescription":
|
||||
"ปุ่ม 'ปรับปรุงพรอมต์' ช่วยปรับปรุงพรอมต์ของคุณโดยให้บริบทเพิ่มเติม ชี้แจง หรือเขียนใหม่ ลองพิมพ์พรอมต์ที่นี่และคลิกปุ่มอีกครั้งเพื่อดูว่ามันทำงานอย่างไร",
|
||||
"prompt.action.indexing": "การตั้งค่าการสร้างดัชนี",
|
||||
"prompt.action.sandbox.enable": "เปิดใช้งาน sandbox",
|
||||
"prompt.action.sandbox.disable": "ปิดใช้งาน sandbox",
|
||||
"prompt.action.sandbox.enabled": "เปิดใช้งาน sandbox แล้ว คำสั่ง shell ของ agent ถูกจำกัดไว้ที่โฟลเดอร์โปรเจ็กต์และ Kilo",
|
||||
"prompt.action.sandbox.disabled": "ปิดใช้งาน sandbox อยู่ คลิกเพื่อจำกัดการเขียนคำสั่ง shell ของ agent ไว้ที่โฟลเดอร์โปรเจ็กต์และ Kilo",
|
||||
|
||||
"speechToText.tooltip.start": "เริ่มการป้อนข้อมูลด้วยเสียงด้วย Kilo Gateway",
|
||||
"speechToText.tooltip.stop": "หยุดจับเสียง",
|
||||
@@ -1433,6 +1437,8 @@ export const dict = {
|
||||
"ไม่มีคำสั่งแบบกำหนดเองที่กำหนดค่าไว้ เพิ่มคำสั่งใน opencode.json เพื่อดูที่นี่",
|
||||
"settings.agentBehaviour.workflows.detail.description": "คำอธิบาย",
|
||||
"settings.agentBehaviour.workflows.detail.template": "เทมเพลต",
|
||||
"settings.experimental.sandbox.title": "Sandbox",
|
||||
"settings.experimental.sandbox.description": "เรียกใช้คำสั่ง shell ของ agent ใน sandbox ระดับระบบปฏิบัติการที่จำกัดการเขียนไปยังโฟลเดอร์สถานะของโปรเจ็กต์และ Kilo",
|
||||
|
||||
"settings.autoApprove.description":
|
||||
"กำหนดวิธีอนุญาตการทำงานของเครื่องมือ โดยค่าเริ่มต้นเครื่องมือส่วนใหญ่คืออนุญาต ส่วน doom_loop และ external_directory ค่าเริ่มต้นคือถาม",
|
||||
|
||||
+6
@@ -285,6 +285,10 @@ export const dict = {
|
||||
"prompt.action.resetModel": "Modeli varsayılana sıfırla",
|
||||
"prompt.action.enhanceDescription":
|
||||
"'Komutu Geliştir' düğmesi, ek bağlam, açıklama veya yeniden ifadelendirme sağlayarak komutunuzu iyileştirmeye yardımcı olur. Buraya bir komut yazıp düğmeye tekrar tıklayarak nasıl çalıştığını görebilirsiniz.",
|
||||
"prompt.action.sandbox.enable": "Sandbox'ı etkinleştir",
|
||||
"prompt.action.sandbox.disable": "Sandbox'ı devre dışı bırak",
|
||||
"prompt.action.sandbox.enabled": "Sandbox etkin. Agent shell komutları proje ve Kilo dizinleriyle sınırlıdır.",
|
||||
"prompt.action.sandbox.disabled": "Sandbox devre dışı. Agent shell komut yazma işlemlerini proje ve Kilo dizinleriyle sınırlamak için tıklayın.",
|
||||
|
||||
"speechToText.tooltip.start": "Kilo Gateway ile sesli girişi başlatın",
|
||||
"speechToText.tooltip.stop": "Ses yakalamayı durdur",
|
||||
@@ -1324,6 +1328,8 @@ export const dict = {
|
||||
"settings.experimental.remote.inactive": "Pasif",
|
||||
"settings.experimental.remote.hint": "Geçiş yapmak için sohbette /remote kullanın",
|
||||
"settings.experimental.toolToggles": "Araç Açma/Kapatma",
|
||||
"settings.experimental.sandbox.title": "Sandbox",
|
||||
"settings.experimental.sandbox.description": "Agent shell komutlarını, proje ve Kilo durum dizinlerine yazmaları kısıtlanan işletim sistemi düzeyinde bir sandbox içinde çalıştırın",
|
||||
|
||||
"settings.agentBehaviour.defaultAgent.title": "Varsayılan Ajan",
|
||||
"settings.agentBehaviour.defaultAgent.description": "Belirtilmediğinde kullanılacak ajan",
|
||||
|
||||
+6
@@ -287,6 +287,10 @@ export const dict = {
|
||||
"prompt.action.resetModel": "Скинути модель до стандартної",
|
||||
"prompt.action.enhanceDescription":
|
||||
"Кнопка 'Покращити запит' допомагає вдосконалити ваш запит, надаючи додатковий контекст, уточнення або перефразування. Введіть запит тут і натисніть кнопку ще раз, щоб побачити, як це працює.",
|
||||
"prompt.action.sandbox.enable": "Увімкнути пісочницю",
|
||||
"prompt.action.sandbox.disable": "Вимкнути пісочницю",
|
||||
"prompt.action.sandbox.enabled": "Пісочницю увімкнено. Команди оболонки агента обмежені каталогами проєкту та Kilo.",
|
||||
"prompt.action.sandbox.disabled": "Пісочницю вимкнено. Натисніть, щоб обмежити запис команд оболонки агента каталогами проєкту та Kilo.",
|
||||
|
||||
"speechToText.tooltip.start": "Почати голосове введення з Kilo Gateway",
|
||||
"speechToText.tooltip.stop": "Зупинити захоплення звуку",
|
||||
@@ -1323,6 +1327,8 @@ export const dict = {
|
||||
"settings.experimental.remote.inactive": "Неактивний",
|
||||
"settings.experimental.remote.hint": "Використовуйте /remote у чаті для перемикання",
|
||||
"settings.experimental.toolToggles": "Перемикачі інструментів",
|
||||
"settings.experimental.sandbox.title": "Пісочниця",
|
||||
"settings.experimental.sandbox.description": "Виконувати команди оболонки агента в пісочниці на рівні ОС, яка обмежує запис до каталогів стану проєкту та Kilo",
|
||||
|
||||
"settings.agentBehaviour.defaultAgent.title": "Агент за замовчуванням",
|
||||
"settings.agentBehaviour.defaultAgent.description": "Агент, що використовується, якщо не вказано інший",
|
||||
|
||||
+6
@@ -284,6 +284,10 @@ export const dict = {
|
||||
"prompt.action.resetModel": "重置模型为默认值",
|
||||
"prompt.action.enhanceDescription":
|
||||
"'增强提示'按钮通过提供额外上下文、澄清或重新表述来帮助改进您的请求。尝试在此处输入请求,然后再次点击按钮查看其工作原理。",
|
||||
"prompt.action.sandbox.enable": "启用沙盒",
|
||||
"prompt.action.sandbox.disable": "禁用沙盒",
|
||||
"prompt.action.sandbox.enabled": "沙盒已启用。代理 shell 命令被限制在项目和 Kilo 目录内。",
|
||||
"prompt.action.sandbox.disabled": "沙盒已禁用。点击以将代理 shell 命令的写入限制在项目和 Kilo 目录内。",
|
||||
|
||||
"speechToText.tooltip.start": "使用 Kilo Gateway 开始语音输入",
|
||||
"speechToText.tooltip.stop": "停止捕获音频",
|
||||
@@ -1403,6 +1407,8 @@ export const dict = {
|
||||
"settings.agentBehaviour.workflows.empty": "未配置自定义命令。将命令添加到 opencode.json 即可在此处看到。",
|
||||
"settings.agentBehaviour.workflows.detail.description": "描述",
|
||||
"settings.agentBehaviour.workflows.detail.template": "模板",
|
||||
"settings.experimental.sandbox.title": "沙盒",
|
||||
"settings.experimental.sandbox.description": "在操作系统级沙盒中运行代理 shell 命令,将写入限制在项目和 Kilo 状态目录内",
|
||||
|
||||
"settings.autoApprove.description":
|
||||
"定义工具的运行权限。大多数工具默认为「允许」。doom_loop 和 external_directory 默认为「询问」。",
|
||||
|
||||
+6
@@ -283,6 +283,10 @@ export const dict = {
|
||||
"prompt.action.resetModel": "重置模型為預設值",
|
||||
"prompt.action.enhanceDescription":
|
||||
"「強化提示詞」按鈕可透過提供額外內容、說明或改寫來協助改善提示詞。試著在這裡輸入提示詞,再點選一次按鈕以了解其運作方式。",
|
||||
"prompt.action.sandbox.enable": "啟用沙盒",
|
||||
"prompt.action.sandbox.disable": "停用沙盒",
|
||||
"prompt.action.sandbox.enabled": "沙盒已啟用。代理 shell 指令被限制在專案和 Kilo 目錄內。",
|
||||
"prompt.action.sandbox.disabled": "沙盒已停用。點擊以將代理 shell 指令的寫入限制在專案和 Kilo 目錄內。",
|
||||
|
||||
"speechToText.tooltip.start": "使用 Kilo Gateway 開始語音輸入",
|
||||
"speechToText.tooltip.stop": "停止擷取音訊",
|
||||
@@ -1373,6 +1377,8 @@ export const dict = {
|
||||
"settings.agentBehaviour.workflows.empty": "未設定自訂命令。將命令新增至 opencode.json 即可在此處看到。",
|
||||
"settings.agentBehaviour.workflows.detail.description": "描述",
|
||||
"settings.agentBehaviour.workflows.detail.template": "範本",
|
||||
"settings.experimental.sandbox.title": "沙盒",
|
||||
"settings.experimental.sandbox.description": "在作業系統層級沙盒中執行代理 shell 指令,將寫入限制在專案和 Kilo 狀態目錄內",
|
||||
|
||||
"settings.autoApprove.description":
|
||||
"定義工具的執行權限。大多數工具預設為允許。doom_loop 與 external_directory 預設為詢問。",
|
||||
|
||||
@@ -78,7 +78,7 @@ function wrap(fs: AppFileSystem.Interface, config: Config.Interface): AppFileSys
|
||||
remove: (path) => Effect.gen(function* () { yield* guard(path); return yield* fs.remove(path) }),
|
||||
chmod: (path, mode) => Effect.gen(function* () { yield* guard(path); return yield* fs.chmod(path, mode) }),
|
||||
truncate: (path, size) => Effect.gen(function* () { yield* guard(path); return yield* fs.truncate(path, size) }),
|
||||
link: (target, linkPath) => Effect.gen(function* () { yield* guard(linkPath); return yield* fs.link(target, linkPath) }),
|
||||
link: (target, linkPath) => Effect.gen(function* () { yield* guard(target); yield* guard(linkPath); return yield* fs.link(target, linkPath) }),
|
||||
symlink: (target, linkPath) => Effect.gen(function* () { yield* guard(linkPath); return yield* fs.symlink(target, linkPath) }),
|
||||
}
|
||||
}
|
||||
|
||||
@@ -311,7 +311,6 @@ const ask = Effect.fn("ShellTool.ask")(function* (
|
||||
})
|
||||
})
|
||||
|
||||
// kilocode_change start - sandbox wrapper
|
||||
function cmd(shell: string, command: string, cwd: string, env: NodeJS.ProcessEnv) {
|
||||
if (process.platform === "win32" && Shell.ps(shell)) {
|
||||
// kilocode_change start - encoded PowerShell args
|
||||
@@ -333,6 +332,7 @@ function cmd(shell: string, command: string, cwd: string, env: NodeJS.ProcessEnv
|
||||
})
|
||||
}
|
||||
|
||||
// kilocode_change start - sandbox wrapper
|
||||
function sandboxedCmd(
|
||||
scope: Sandbox.Scope,
|
||||
shell: string,
|
||||
@@ -550,14 +550,12 @@ export const ShellTool = Tool.define(
|
||||
const handle = yield* spawner.spawn(
|
||||
input.sandbox
|
||||
? sandboxedCmd(
|
||||
// kilocode_change start - enrich sandbox scope with approved external dirs
|
||||
Sandbox.enrichedScope(yield* InstanceState.context, yield* config.get()),
|
||||
input.shell,
|
||||
input.command,
|
||||
input.cwd,
|
||||
input.env,
|
||||
)
|
||||
// kilocode_change end
|
||||
: cmd(input.shell, input.command, input.cwd, input.env),
|
||||
)
|
||||
// kilocode_change end
|
||||
|
||||
@@ -86,7 +86,7 @@ const icons = {
|
||||
photo: `<path d="M16.6665 16.6666L11.6665 11.6666L9.99984 13.3333L6.6665 9.99996L3.08317 13.5833M2.9165 2.91663H17.0832V17.0833H2.9165V2.91663ZM13.3332 7.49996C13.3332 8.30537 12.6803 8.95829 11.8748 8.95829C11.0694 8.95829 10.4165 8.30537 10.4165 7.49996C10.4165 6.69454 11.0694 6.04163 11.8748 6.04163C12.6803 6.04163 13.3332 6.69454 13.3332 7.49996Z" stroke="currentColor" stroke-linecap="square"/>`,
|
||||
share: `<path d="M10.0013 12.0846L10.0013 3.33464M13.7513 6.66797L10.0013 2.91797L6.2513 6.66797M17.0846 10.418V17.0846H2.91797V10.418" stroke="currentColor" stroke-linecap="square"/>`,
|
||||
shield: `<path d="M7.49935 9.3737L9.16602 11.0404L12.4994 7.70703M9.99935 2.08203L17.0827 4.3737V9.92565C17.0827 14.0694 13.3327 16.2487 9.99935 18.047C6.66602 16.2487 2.91602 14.0694 2.91602 9.92565V4.3737L9.99935 2.08203Z" stroke="currentColor" stroke-linecap="square"/>`,
|
||||
lock: `<path d="M5.833 8.33366V6.25033C5.833 3.71903 7.96805 1.66699 10.4993 1.66699C13.0307 1.66699 15.166 3.71903 15.166 6.25033V8.33366M4.16634 8.33366H16.833C17.7535 8.33366 18.4997 9.07985 18.4997 10.0003V16.667C18.4997 17.5875 17.7535 18.3337 16.833 18.3337H4.16634C3.24586 18.3337 2.49967 17.5875 2.49967 16.667V10.0003C2.49967 9.07985 3.24586 8.33366 4.16634 8.33366Z" stroke="currentColor" stroke-linecap="square"/>`,
|
||||
lock: `<path d="M5.833 8.33366V6.25033C5.833 3.71903 7.96805 1.66699 10.4993 1.66699C13.0307 1.66699 15.166 3.71903 15.166 6.25033V8.33366M4.16634 8.33366H16.833C17.7535 8.33366 18.4997 9.07985 18.4997 10.0003V16.667C18.4997 17.5875 17.7535 18.3337 16.833 18.3337H4.16634C3.24586 18.3337 2.49967 17.5875 2.49967 16.667V10.0003C2.49967 9.07985 3.24586 8.33366 4.16634 8.33366Z" stroke="currentColor" stroke-linecap="square"/>`, // kilocode_change
|
||||
download: `<path d="M13.9583 10.6257L10 14.584L6.04167 10.6257M10 2.08398V13.959M16.25 17.9173H3.75" stroke="currentColor" stroke-linecap="square"/>`,
|
||||
menu: `<path d="M2.5 5H17.5M2.5 10H17.5M2.5 15H17.5" stroke="currentColor" stroke-linecap="square"/>`,
|
||||
server: `<rect x="3.35547" y="1.92969" width="13.2857" height="16.1429" stroke="currentColor"/><rect x="3.35547" y="11.9297" width="13.2857" height="6.14286" stroke="currentColor"/><rect x="12.8555" y="14.2852" width="1.42857" height="1.42857" fill="currentColor"/><rect x="10" y="14.2852" width="1.42857" height="1.42857" fill="currentColor"/>`,
|
||||
|
||||
Reference in New Issue
Block a user