From 0c921b1f602239ca75f90441e407277a7b993a20 Mon Sep 17 00:00:00 2001 From: Matt Rubens Date: Fri, 13 Jun 2025 22:47:31 -0400 Subject: [PATCH] Make listing tools respect auto-approve settings for outside of the workspace --- src/core/tools/listCodeDefinitionNamesTool.ts | 7 +++++- src/core/tools/listFilesTool.ts | 7 +++++- webview-ui/src/components/chat/ChatRow.tsx | 24 ++++++++++++++----- webview-ui/src/i18n/locales/ca/chat.json | 8 ++++++- webview-ui/src/i18n/locales/de/chat.json | 8 ++++++- webview-ui/src/i18n/locales/en/chat.json | 6 +++++ webview-ui/src/i18n/locales/es/chat.json | 8 ++++++- webview-ui/src/i18n/locales/fr/chat.json | 8 ++++++- webview-ui/src/i18n/locales/hi/chat.json | 8 ++++++- webview-ui/src/i18n/locales/id/chat.json | 8 ++++++- webview-ui/src/i18n/locales/it/chat.json | 8 ++++++- webview-ui/src/i18n/locales/ja/chat.json | 8 ++++++- webview-ui/src/i18n/locales/ko/chat.json | 8 ++++++- webview-ui/src/i18n/locales/nl/chat.json | 8 ++++++- webview-ui/src/i18n/locales/pl/chat.json | 8 ++++++- webview-ui/src/i18n/locales/pt-BR/chat.json | 8 ++++++- webview-ui/src/i18n/locales/ru/chat.json | 8 ++++++- webview-ui/src/i18n/locales/tr/chat.json | 8 ++++++- webview-ui/src/i18n/locales/vi/chat.json | 8 ++++++- webview-ui/src/i18n/locales/zh-CN/chat.json | 8 ++++++- webview-ui/src/i18n/locales/zh-TW/chat.json | 8 ++++++- 21 files changed, 155 insertions(+), 25 deletions(-) diff --git a/src/core/tools/listCodeDefinitionNamesTool.ts b/src/core/tools/listCodeDefinitionNamesTool.ts index f0cdde01eb..6ceec0a725 100644 --- a/src/core/tools/listCodeDefinitionNamesTool.ts +++ b/src/core/tools/listCodeDefinitionNamesTool.ts @@ -5,6 +5,7 @@ import { ToolUse, AskApproval, HandleError, PushToolResult, RemoveClosingTag } f import { Task } from "../task/Task" import { ClineSayTool } from "../../shared/ExtensionMessage" import { getReadablePath } from "../../utils/path" +import { isPathOutsideWorkspace } from "../../utils/pathUtils" import { parseSourceCodeForDefinitionsTopLevel, parseSourceCodeDefinitionsForFile } from "../../services/tree-sitter" import { RecordSource } from "../context-tracking/FileContextTrackerTypes" @@ -18,9 +19,14 @@ export async function listCodeDefinitionNamesTool( ) { const relPath: string | undefined = block.params.path + // Calculate if the path is outside workspace + const absolutePath = relPath ? path.resolve(cline.cwd, relPath) : cline.cwd + const isOutsideWorkspace = isPathOutsideWorkspace(absolutePath) + const sharedMessageProps: ClineSayTool = { tool: "listCodeDefinitionNames", path: getReadablePath(cline.cwd, removeClosingTag("path", relPath)), + isOutsideWorkspace, } try { @@ -38,7 +44,6 @@ export async function listCodeDefinitionNamesTool( cline.consecutiveMistakeCount = 0 - const absolutePath = path.resolve(cline.cwd, relPath) let result: string try { diff --git a/src/core/tools/listFilesTool.ts b/src/core/tools/listFilesTool.ts index 1fabca22c1..dcd7655b1f 100644 --- a/src/core/tools/listFilesTool.ts +++ b/src/core/tools/listFilesTool.ts @@ -5,6 +5,7 @@ import { ClineSayTool } from "../../shared/ExtensionMessage" import { formatResponse } from "../prompts/responses" import { listFiles } from "../../services/glob/list-files" import { getReadablePath } from "../../utils/path" +import { isPathOutsideWorkspace } from "../../utils/pathUtils" import { ToolUse, AskApproval, HandleError, PushToolResult, RemoveClosingTag } from "../../shared/tools" /** @@ -34,9 +35,14 @@ export async function listFilesTool( const recursiveRaw: string | undefined = block.params.recursive const recursive = recursiveRaw?.toLowerCase() === "true" + // Calculate if the path is outside workspace + const absolutePath = relDirPath ? path.resolve(cline.cwd, relDirPath) : cline.cwd + const isOutsideWorkspace = isPathOutsideWorkspace(absolutePath) + const sharedMessageProps: ClineSayTool = { tool: !recursive ? "listFilesTopLevel" : "listFilesRecursive", path: getReadablePath(cline.cwd, removeClosingTag("path", relDirPath)), + isOutsideWorkspace, } try { @@ -54,7 +60,6 @@ export async function listFilesTool( cline.consecutiveMistakeCount = 0 - const absolutePath = path.resolve(cline.cwd, relDirPath) const [files, didHitLimit] = await listFiles(absolutePath, recursive, 200) const { showRooIgnoredFiles = true } = (await cline.providerRef.deref()?.getState()) ?? {} diff --git a/webview-ui/src/components/chat/ChatRow.tsx b/webview-ui/src/components/chat/ChatRow.tsx index eaf5ead616..43824c5902 100644 --- a/webview-ui/src/components/chat/ChatRow.tsx +++ b/webview-ui/src/components/chat/ChatRow.tsx @@ -537,8 +537,12 @@ export const ChatRowContent = ({ {toolIcon("folder-opened")} {message.type === "ask" - ? t("chat:directoryOperations.wantsToViewTopLevel") - : t("chat:directoryOperations.didViewTopLevel")} + ? tool.isOutsideWorkspace + ? t("chat:directoryOperations.wantsToViewTopLevelOutsideWorkspace") + : t("chat:directoryOperations.wantsToViewTopLevel") + : tool.isOutsideWorkspace + ? t("chat:directoryOperations.didViewTopLevelOutsideWorkspace") + : t("chat:directoryOperations.didViewTopLevel")} {message.type === "ask" - ? t("chat:directoryOperations.wantsToViewRecursive") - : t("chat:directoryOperations.didViewRecursive")} + ? tool.isOutsideWorkspace + ? t("chat:directoryOperations.wantsToViewRecursiveOutsideWorkspace") + : t("chat:directoryOperations.wantsToViewRecursive") + : tool.isOutsideWorkspace + ? t("chat:directoryOperations.didViewRecursiveOutsideWorkspace") + : t("chat:directoryOperations.didViewRecursive")} {message.type === "ask" - ? t("chat:directoryOperations.wantsToViewDefinitions") - : t("chat:directoryOperations.didViewDefinitions")} + ? tool.isOutsideWorkspace + ? t("chat:directoryOperations.wantsToViewDefinitionsOutsideWorkspace") + : t("chat:directoryOperations.wantsToViewDefinitions") + : tool.isOutsideWorkspace + ? t("chat:directoryOperations.didViewDefinitionsOutsideWorkspace") + : t("chat:directoryOperations.didViewDefinitions")} {{regex}}:", "didSearch": "Roo ha cercat en aquest directori {{regex}}:", "wantsToSearchOutsideWorkspace": "Roo vol cercar en aquest directori (fora de l'espai de treball) {{regex}}:", - "didSearchOutsideWorkspace": "Roo ha cercat en aquest directori (fora de l'espai de treball) {{regex}}:" + "didSearchOutsideWorkspace": "Roo ha cercat en aquest directori (fora de l'espai de treball) {{regex}}:", + "wantsToViewTopLevelOutsideWorkspace": "Roo vol veure els fitxers de nivell superior en aquest directori (fora de l'espai de treball):", + "didViewTopLevelOutsideWorkspace": "Roo ha vist els fitxers de nivell superior en aquest directori (fora de l'espai de treball):", + "wantsToViewRecursiveOutsideWorkspace": "Roo vol veure recursivament tots els fitxers en aquest directori (fora de l'espai de treball):", + "didViewRecursiveOutsideWorkspace": "Roo ha vist recursivament tots els fitxers en aquest directori (fora de l'espai de treball):", + "wantsToViewDefinitionsOutsideWorkspace": "Roo vol veure noms de definicions de codi font utilitzats en aquest directori (fora de l'espai de treball):", + "didViewDefinitionsOutsideWorkspace": "Roo ha vist noms de definicions de codi font utilitzats en aquest directori (fora de l'espai de treball):" }, "commandOutput": "Sortida de l'ordre", "response": "Resposta", diff --git a/webview-ui/src/i18n/locales/de/chat.json b/webview-ui/src/i18n/locales/de/chat.json index 764073e17c..5c531f4344 100644 --- a/webview-ui/src/i18n/locales/de/chat.json +++ b/webview-ui/src/i18n/locales/de/chat.json @@ -166,7 +166,13 @@ "wantsToSearch": "Roo möchte dieses Verzeichnis nach {{regex}} durchsuchen:", "didSearch": "Roo hat dieses Verzeichnis nach {{regex}} durchsucht:", "wantsToSearchOutsideWorkspace": "Roo möchte dieses Verzeichnis (außerhalb des Arbeitsbereichs) nach {{regex}} durchsuchen:", - "didSearchOutsideWorkspace": "Roo hat dieses Verzeichnis (außerhalb des Arbeitsbereichs) nach {{regex}} durchsucht:" + "didSearchOutsideWorkspace": "Roo hat dieses Verzeichnis (außerhalb des Arbeitsbereichs) nach {{regex}} durchsucht:", + "wantsToViewTopLevelOutsideWorkspace": "Roo möchte die Dateien auf oberster Ebene in diesem Verzeichnis (außerhalb des Arbeitsbereichs) anzeigen:", + "didViewTopLevelOutsideWorkspace": "Roo hat die Dateien auf oberster Ebene in diesem Verzeichnis (außerhalb des Arbeitsbereichs) angezeigt:", + "wantsToViewRecursiveOutsideWorkspace": "Roo möchte rekursiv alle Dateien in diesem Verzeichnis (außerhalb des Arbeitsbereichs) anzeigen:", + "didViewRecursiveOutsideWorkspace": "Roo hat rekursiv alle Dateien in diesem Verzeichnis (außerhalb des Arbeitsbereichs) angezeigt:", + "wantsToViewDefinitionsOutsideWorkspace": "Roo möchte Quellcode-Definitionsnamen in diesem Verzeichnis (außerhalb des Arbeitsbereichs) anzeigen:", + "didViewDefinitionsOutsideWorkspace": "Roo hat Quellcode-Definitionsnamen in diesem Verzeichnis (außerhalb des Arbeitsbereichs) angezeigt:" }, "commandOutput": "Befehlsausgabe", "response": "Antwort", diff --git a/webview-ui/src/i18n/locales/en/chat.json b/webview-ui/src/i18n/locales/en/chat.json index f5d741ff4b..fd5774a5b4 100644 --- a/webview-ui/src/i18n/locales/en/chat.json +++ b/webview-ui/src/i18n/locales/en/chat.json @@ -168,10 +168,16 @@ "directoryOperations": { "wantsToViewTopLevel": "Roo wants to view the top level files in this directory:", "didViewTopLevel": "Roo viewed the top level files in this directory:", + "wantsToViewTopLevelOutsideWorkspace": "Roo wants to view the top level files in this directory (outside workspace):", + "didViewTopLevelOutsideWorkspace": "Roo viewed the top level files in this directory (outside workspace):", "wantsToViewRecursive": "Roo wants to recursively view all files in this directory:", "didViewRecursive": "Roo recursively viewed all files in this directory:", + "wantsToViewRecursiveOutsideWorkspace": "Roo wants to recursively view all files in this directory (outside workspace):", + "didViewRecursiveOutsideWorkspace": "Roo recursively viewed all files in this directory (outside workspace):", "wantsToViewDefinitions": "Roo wants to view source code definition names used in this directory:", "didViewDefinitions": "Roo viewed source code definition names used in this directory:", + "wantsToViewDefinitionsOutsideWorkspace": "Roo wants to view source code definition names used in this directory (outside workspace):", + "didViewDefinitionsOutsideWorkspace": "Roo viewed source code definition names used in this directory (outside workspace):", "wantsToSearch": "Roo wants to search this directory for {{regex}}:", "didSearch": "Roo searched this directory for {{regex}}:", "wantsToSearchOutsideWorkspace": "Roo wants to search this directory (outside workspace) for {{regex}}:", diff --git a/webview-ui/src/i18n/locales/es/chat.json b/webview-ui/src/i18n/locales/es/chat.json index 2bd8eac84b..28be0e9cec 100644 --- a/webview-ui/src/i18n/locales/es/chat.json +++ b/webview-ui/src/i18n/locales/es/chat.json @@ -166,7 +166,13 @@ "wantsToSearch": "Roo quiere buscar en este directorio {{regex}}:", "didSearch": "Roo buscó en este directorio {{regex}}:", "wantsToSearchOutsideWorkspace": "Roo quiere buscar en este directorio (fuera del espacio de trabajo) {{regex}}:", - "didSearchOutsideWorkspace": "Roo buscó en este directorio (fuera del espacio de trabajo) {{regex}}:" + "didSearchOutsideWorkspace": "Roo buscó en este directorio (fuera del espacio de trabajo) {{regex}}:", + "wantsToViewTopLevelOutsideWorkspace": "Roo quiere ver los archivos de nivel superior en este directorio (fuera del espacio de trabajo):", + "didViewTopLevelOutsideWorkspace": "Roo vio los archivos de nivel superior en este directorio (fuera del espacio de trabajo):", + "wantsToViewRecursiveOutsideWorkspace": "Roo quiere ver recursivamente todos los archivos en este directorio (fuera del espacio de trabajo):", + "didViewRecursiveOutsideWorkspace": "Roo vio recursivamente todos los archivos en este directorio (fuera del espacio de trabajo):", + "wantsToViewDefinitionsOutsideWorkspace": "Roo quiere ver nombres de definiciones de código fuente utilizados en este directorio (fuera del espacio de trabajo):", + "didViewDefinitionsOutsideWorkspace": "Roo vio nombres de definiciones de código fuente utilizados en este directorio (fuera del espacio de trabajo):" }, "commandOutput": "Salida del comando", "response": "Respuesta", diff --git a/webview-ui/src/i18n/locales/fr/chat.json b/webview-ui/src/i18n/locales/fr/chat.json index b864c7b133..02cd84e7b4 100644 --- a/webview-ui/src/i18n/locales/fr/chat.json +++ b/webview-ui/src/i18n/locales/fr/chat.json @@ -166,7 +166,13 @@ "wantsToSearch": "Roo veut rechercher dans ce répertoire {{regex}} :", "didSearch": "Roo a recherché dans ce répertoire {{regex}} :", "wantsToSearchOutsideWorkspace": "Roo veut rechercher dans ce répertoire (hors espace de travail) {{regex}} :", - "didSearchOutsideWorkspace": "Roo a recherché dans ce répertoire (hors espace de travail) {{regex}} :" + "didSearchOutsideWorkspace": "Roo a recherché dans ce répertoire (hors espace de travail) {{regex}} :", + "wantsToViewTopLevelOutsideWorkspace": "Roo veut voir les fichiers de premier niveau dans ce répertoire (hors espace de travail) :", + "didViewTopLevelOutsideWorkspace": "Roo a vu les fichiers de premier niveau dans ce répertoire (hors espace de travail) :", + "wantsToViewRecursiveOutsideWorkspace": "Roo veut voir récursivement tous les fichiers dans ce répertoire (hors espace de travail) :", + "didViewRecursiveOutsideWorkspace": "Roo a vu récursivement tous les fichiers dans ce répertoire (hors espace de travail) :", + "wantsToViewDefinitionsOutsideWorkspace": "Roo veut voir les noms de définitions de code source utilisés dans ce répertoire (hors espace de travail) :", + "didViewDefinitionsOutsideWorkspace": "Roo a vu les noms de définitions de code source utilisés dans ce répertoire (hors espace de travail) :" }, "commandOutput": "Sortie de commande", "response": "Réponse", diff --git a/webview-ui/src/i18n/locales/hi/chat.json b/webview-ui/src/i18n/locales/hi/chat.json index 375aa0d6a2..183b2095c8 100644 --- a/webview-ui/src/i18n/locales/hi/chat.json +++ b/webview-ui/src/i18n/locales/hi/chat.json @@ -166,7 +166,13 @@ "wantsToSearch": "Roo इस निर्देशिका में {{regex}} के लिए खोज करना चाहता है:", "didSearch": "Roo ने इस निर्देशिका में {{regex}} के लिए खोज की:", "wantsToSearchOutsideWorkspace": "Roo इस निर्देशिका (कार्यक्षेत्र के बाहर) में {{regex}} के लिए खोज करना चाहता है:", - "didSearchOutsideWorkspace": "Roo ने इस निर्देशिका (कार्यक्षेत्र के बाहर) में {{regex}} के लिए खोज की:" + "didSearchOutsideWorkspace": "Roo ने इस निर्देशिका (कार्यक्षेत्र के बाहर) में {{regex}} के लिए खोज की:", + "wantsToViewTopLevelOutsideWorkspace": "Roo इस निर्देशिका (कार्यक्षेत्र के बाहर) में शीर्ष स्तर की फ़ाइलें देखना चाहता है:", + "didViewTopLevelOutsideWorkspace": "Roo ने इस निर्देशिका (कार्यक्षेत्र के बाहर) में शीर्ष स्तर की फ़ाइलें देखीं:", + "wantsToViewRecursiveOutsideWorkspace": "Roo इस निर्देशिका (कार्यक्षेत्र के बाहर) में सभी फ़ाइलों को पुनरावर्ती रूप से देखना चाहता है:", + "didViewRecursiveOutsideWorkspace": "Roo ने इस निर्देशिका (कार्यक्षेत्र के बाहर) में सभी फ़ाइलों को पुनरावर्ती रूप से देखा:", + "wantsToViewDefinitionsOutsideWorkspace": "Roo इस निर्देशिका (कार्यक्षेत्र के बाहर) में उपयोग किए गए सोर्स कोड परिभाषा नामों को देखना चाहता है:", + "didViewDefinitionsOutsideWorkspace": "Roo ने इस निर्देशिका (कार्यक्षेत्र के बाहर) में उपयोग किए गए सोर्स कोड परिभाषा नामों को देखा:" }, "commandOutput": "कमांड आउटपुट", "response": "प्रतिक्रिया", diff --git a/webview-ui/src/i18n/locales/id/chat.json b/webview-ui/src/i18n/locales/id/chat.json index 2a337c833c..e14a1b79bf 100644 --- a/webview-ui/src/i18n/locales/id/chat.json +++ b/webview-ui/src/i18n/locales/id/chat.json @@ -181,7 +181,13 @@ "wantsToSearch": "Roo ingin mencari direktori ini untuk {{regex}}:", "didSearch": "Roo mencari direktori ini untuk {{regex}}:", "wantsToSearchOutsideWorkspace": "Roo ingin mencari direktori ini (di luar workspace) untuk {{regex}}:", - "didSearchOutsideWorkspace": "Roo mencari direktori ini (di luar workspace) untuk {{regex}}:" + "didSearchOutsideWorkspace": "Roo mencari direktori ini (di luar workspace) untuk {{regex}}:", + "wantsToViewTopLevelOutsideWorkspace": "Roo ingin melihat file tingkat atas di direktori ini (di luar workspace):", + "didViewTopLevelOutsideWorkspace": "Roo melihat file tingkat atas di direktori ini (di luar workspace):", + "wantsToViewRecursiveOutsideWorkspace": "Roo ingin melihat semua file secara rekursif di direktori ini (di luar workspace):", + "didViewRecursiveOutsideWorkspace": "Roo melihat semua file secara rekursif di direktori ini (di luar workspace):", + "wantsToViewDefinitionsOutsideWorkspace": "Roo ingin melihat nama definisi source code yang digunakan di direktori ini (di luar workspace):", + "didViewDefinitionsOutsideWorkspace": "Roo melihat nama definisi source code yang digunakan di direktori ini (di luar workspace):" }, "codebaseSearch": { "wantsToSearch": "Roo ingin mencari codebase untuk {{query}}:", diff --git a/webview-ui/src/i18n/locales/it/chat.json b/webview-ui/src/i18n/locales/it/chat.json index 93d1526540..d25f36047a 100644 --- a/webview-ui/src/i18n/locales/it/chat.json +++ b/webview-ui/src/i18n/locales/it/chat.json @@ -166,7 +166,13 @@ "wantsToSearch": "Roo vuole cercare in questa directory {{regex}}:", "didSearch": "Roo ha cercato in questa directory {{regex}}:", "wantsToSearchOutsideWorkspace": "Roo vuole cercare in questa directory (fuori dall'area di lavoro) {{regex}}:", - "didSearchOutsideWorkspace": "Roo ha cercato in questa directory (fuori dall'area di lavoro) {{regex}}:" + "didSearchOutsideWorkspace": "Roo ha cercato in questa directory (fuori dall'area di lavoro) {{regex}}:", + "wantsToViewTopLevelOutsideWorkspace": "Roo vuole visualizzare i file di primo livello in questa directory (fuori dall'area di lavoro):", + "didViewTopLevelOutsideWorkspace": "Roo ha visualizzato i file di primo livello in questa directory (fuori dall'area di lavoro):", + "wantsToViewRecursiveOutsideWorkspace": "Roo vuole visualizzare ricorsivamente tutti i file in questa directory (fuori dall'area di lavoro):", + "didViewRecursiveOutsideWorkspace": "Roo ha visualizzato ricorsivamente tutti i file in questa directory (fuori dall'area di lavoro):", + "wantsToViewDefinitionsOutsideWorkspace": "Roo vuole visualizzare i nomi delle definizioni di codice sorgente utilizzate in questa directory (fuori dall'area di lavoro):", + "didViewDefinitionsOutsideWorkspace": "Roo ha visualizzato i nomi delle definizioni di codice sorgente utilizzate in questa directory (fuori dall'area di lavoro):" }, "commandOutput": "Output del comando", "response": "Risposta", diff --git a/webview-ui/src/i18n/locales/ja/chat.json b/webview-ui/src/i18n/locales/ja/chat.json index 0c9038ff6f..9fe4136d9c 100644 --- a/webview-ui/src/i18n/locales/ja/chat.json +++ b/webview-ui/src/i18n/locales/ja/chat.json @@ -166,7 +166,13 @@ "wantsToSearch": "Rooはこのディレクトリで {{regex}} を検索したい:", "didSearch": "Rooはこのディレクトリで {{regex}} を検索しました:", "wantsToSearchOutsideWorkspace": "Rooはこのディレクトリ(ワークスペース外)で {{regex}} を検索したい:", - "didSearchOutsideWorkspace": "Rooはこのディレクトリ(ワークスペース外)で {{regex}} を検索しました:" + "didSearchOutsideWorkspace": "Rooはこのディレクトリ(ワークスペース外)で {{regex}} を検索しました:", + "wantsToViewTopLevelOutsideWorkspace": "Rooはこのディレクトリ(ワークスペース外)のトップレベルファイルを表示したい:", + "didViewTopLevelOutsideWorkspace": "Rooはこのディレクトリ(ワークスペース外)のトップレベルファイルを表示しました:", + "wantsToViewRecursiveOutsideWorkspace": "Rooはこのディレクトリ(ワークスペース外)のすべてのファイルを再帰的に表示したい:", + "didViewRecursiveOutsideWorkspace": "Rooはこのディレクトリ(ワークスペース外)のすべてのファイルを再帰的に表示しました:", + "wantsToViewDefinitionsOutsideWorkspace": "Rooはこのディレクトリ(ワークスペース外)で使用されているソースコード定義名を表示したい:", + "didViewDefinitionsOutsideWorkspace": "Rooはこのディレクトリ(ワークスペース外)で使用されているソースコード定義名を表示しました:" }, "commandOutput": "コマンド出力", "response": "応答", diff --git a/webview-ui/src/i18n/locales/ko/chat.json b/webview-ui/src/i18n/locales/ko/chat.json index 183d69ce98..0b2035fbe7 100644 --- a/webview-ui/src/i18n/locales/ko/chat.json +++ b/webview-ui/src/i18n/locales/ko/chat.json @@ -166,7 +166,13 @@ "wantsToSearch": "Roo가 이 디렉토리에서 {{regex}}을(를) 검색하고 싶어합니다:", "didSearch": "Roo가 이 디렉토리에서 {{regex}}을(를) 검색했습니다:", "wantsToSearchOutsideWorkspace": "Roo가 이 디렉토리(워크스페이스 외부)에서 {{regex}}을(를) 검색하고 싶어합니다:", - "didSearchOutsideWorkspace": "Roo가 이 디렉토리(워크스페이스 외부)에서 {{regex}}을(를) 검색했습니다:" + "didSearchOutsideWorkspace": "Roo가 이 디렉토리(워크스페이스 외부)에서 {{regex}}을(를) 검색했습니다:", + "wantsToViewTopLevelOutsideWorkspace": "Roo가 이 디렉토리(워크스페이스 외부)의 최상위 파일을 보고 싶어합니다:", + "didViewTopLevelOutsideWorkspace": "Roo가 이 디렉토리(워크스페이스 외부)의 최상위 파일을 보았습니다:", + "wantsToViewRecursiveOutsideWorkspace": "Roo가 이 디렉토리(워크스페이스 외부)의 모든 파일을 재귀적으로 보고 싶어합니다:", + "didViewRecursiveOutsideWorkspace": "Roo가 이 디렉토리(워크스페이스 외부)의 모든 파일을 재귀적으로 보았습니다:", + "wantsToViewDefinitionsOutsideWorkspace": "Roo가 이 디렉토리(워크스페이스 외부)에서 사용된 소스 코드 정의 이름을 보고 싶어합니다:", + "didViewDefinitionsOutsideWorkspace": "Roo가 이 디렉토리(워크스페이스 외부)에서 사용된 소스 코드 정의 이름을 보았습니다:" }, "commandOutput": "명령 출력", "response": "응답", diff --git a/webview-ui/src/i18n/locales/nl/chat.json b/webview-ui/src/i18n/locales/nl/chat.json index 95b6d1bb78..d098c98d4c 100644 --- a/webview-ui/src/i18n/locales/nl/chat.json +++ b/webview-ui/src/i18n/locales/nl/chat.json @@ -161,7 +161,13 @@ "wantsToSearch": "Roo wil deze map doorzoeken op {{regex}}:", "didSearch": "Roo heeft deze map doorzocht op {{regex}}:", "wantsToSearchOutsideWorkspace": "Roo wil deze map (buiten werkruimte) doorzoeken op {{regex}}:", - "didSearchOutsideWorkspace": "Roo heeft deze map (buiten werkruimte) doorzocht op {{regex}}:" + "didSearchOutsideWorkspace": "Roo heeft deze map (buiten werkruimte) doorzocht op {{regex}}:", + "wantsToViewTopLevelOutsideWorkspace": "Roo wil de bovenliggende bestanden in deze map (buiten werkruimte) bekijken:", + "didViewTopLevelOutsideWorkspace": "Roo heeft de bovenliggende bestanden in deze map (buiten werkruimte) bekeken:", + "wantsToViewRecursiveOutsideWorkspace": "Roo wil alle bestanden in deze map (buiten werkruimte) recursief bekijken:", + "didViewRecursiveOutsideWorkspace": "Roo heeft alle bestanden in deze map (buiten werkruimte) recursief bekeken:", + "wantsToViewDefinitionsOutsideWorkspace": "Roo wil broncode-definitienamen bekijken die in deze map (buiten werkruimte) worden gebruikt:", + "didViewDefinitionsOutsideWorkspace": "Roo heeft broncode-definitienamen bekeken die in deze map (buiten werkruimte) worden gebruikt:" }, "commandOutput": "Commando-uitvoer", "response": "Antwoord", diff --git a/webview-ui/src/i18n/locales/pl/chat.json b/webview-ui/src/i18n/locales/pl/chat.json index 57f0ee8537..74eba9ad99 100644 --- a/webview-ui/src/i18n/locales/pl/chat.json +++ b/webview-ui/src/i18n/locales/pl/chat.json @@ -166,7 +166,13 @@ "wantsToSearch": "Roo chce przeszukać ten katalog w poszukiwaniu {{regex}}:", "didSearch": "Roo przeszukał ten katalog w poszukiwaniu {{regex}}:", "wantsToSearchOutsideWorkspace": "Roo chce przeszukać ten katalog (poza obszarem roboczym) w poszukiwaniu {{regex}}:", - "didSearchOutsideWorkspace": "Roo przeszukał ten katalog (poza obszarem roboczym) w poszukiwaniu {{regex}}:" + "didSearchOutsideWorkspace": "Roo przeszukał ten katalog (poza obszarem roboczym) w poszukiwaniu {{regex}}:", + "wantsToViewTopLevelOutsideWorkspace": "Roo chce zobaczyć pliki najwyższego poziomu w tym katalogu (poza obszarem roboczym):", + "didViewTopLevelOutsideWorkspace": "Roo zobaczył pliki najwyższego poziomu w tym katalogu (poza obszarem roboczym):", + "wantsToViewRecursiveOutsideWorkspace": "Roo chce rekurencyjnie zobaczyć wszystkie pliki w tym katalogu (poza obszarem roboczym):", + "didViewRecursiveOutsideWorkspace": "Roo rekurencyjnie zobaczył wszystkie pliki w tym katalogu (poza obszarem roboczym):", + "wantsToViewDefinitionsOutsideWorkspace": "Roo chce zobaczyć nazwy definicji kodu źródłowego używane w tym katalogu (poza obszarem roboczym):", + "didViewDefinitionsOutsideWorkspace": "Roo zobaczył nazwy definicji kodu źródłowego używane w tym katalogu (poza obszarem roboczym):" }, "commandOutput": "Wyjście polecenia", "response": "Odpowiedź", diff --git a/webview-ui/src/i18n/locales/pt-BR/chat.json b/webview-ui/src/i18n/locales/pt-BR/chat.json index bab4a19fa9..0463ab2f77 100644 --- a/webview-ui/src/i18n/locales/pt-BR/chat.json +++ b/webview-ui/src/i18n/locales/pt-BR/chat.json @@ -166,7 +166,13 @@ "wantsToSearch": "Roo quer pesquisar neste diretório por {{regex}}:", "didSearch": "Roo pesquisou neste diretório por {{regex}}:", "wantsToSearchOutsideWorkspace": "Roo quer pesquisar neste diretório (fora do espaço de trabalho) por {{regex}}:", - "didSearchOutsideWorkspace": "Roo pesquisou neste diretório (fora do espaço de trabalho) por {{regex}}:" + "didSearchOutsideWorkspace": "Roo pesquisou neste diretório (fora do espaço de trabalho) por {{regex}}:", + "wantsToViewTopLevelOutsideWorkspace": "Roo quer visualizar os arquivos de nível superior neste diretório (fora do espaço de trabalho):", + "didViewTopLevelOutsideWorkspace": "Roo visualizou os arquivos de nível superior neste diretório (fora do espaço de trabalho):", + "wantsToViewRecursiveOutsideWorkspace": "Roo quer visualizar recursivamente todos os arquivos neste diretório (fora do espaço de trabalho):", + "didViewRecursiveOutsideWorkspace": "Roo visualizou recursivamente todos os arquivos neste diretório (fora do espaço de trabalho):", + "wantsToViewDefinitionsOutsideWorkspace": "Roo quer visualizar nomes de definição de código-fonte usados neste diretório (fora do espaço de trabalho):", + "didViewDefinitionsOutsideWorkspace": "Roo visualizou nomes de definição de código-fonte usados neste diretório (fora do espaço de trabalho):" }, "commandOutput": "Saída do comando", "response": "Resposta", diff --git a/webview-ui/src/i18n/locales/ru/chat.json b/webview-ui/src/i18n/locales/ru/chat.json index ed8c755c3d..806f9378b6 100644 --- a/webview-ui/src/i18n/locales/ru/chat.json +++ b/webview-ui/src/i18n/locales/ru/chat.json @@ -161,7 +161,13 @@ "wantsToSearch": "Roo хочет выполнить поиск в этой директории по {{regex}}:", "didSearch": "Roo выполнил поиск в этой директории по {{regex}}:", "wantsToSearchOutsideWorkspace": "Roo хочет выполнить поиск в этой директории (вне рабочего пространства) по {{regex}}:", - "didSearchOutsideWorkspace": "Roo выполнил поиск в этой директории (вне рабочего пространства) по {{regex}}:" + "didSearchOutsideWorkspace": "Roo выполнил поиск в этой директории (вне рабочего пространства) по {{regex}}:", + "wantsToViewTopLevelOutsideWorkspace": "Roo хочет просмотреть файлы верхнего уровня в этой директории (вне рабочего пространства):", + "didViewTopLevelOutsideWorkspace": "Roo просмотрел файлы верхнего уровня в этой директории (вне рабочего пространства):", + "wantsToViewRecursiveOutsideWorkspace": "Roo хочет рекурсивно просмотреть все файлы в этой директории (вне рабочего пространства):", + "didViewRecursiveOutsideWorkspace": "Roo рекурсивно просмотрел все файлы в этой директории (вне рабочего пространства):", + "wantsToViewDefinitionsOutsideWorkspace": "Roo хочет просмотреть имена определений исходного кода в этой директории (вне рабочего пространства):", + "didViewDefinitionsOutsideWorkspace": "Roo просмотрел имена определений исходного кода в этой директории (вне рабочего пространства):" }, "commandOutput": "Вывод команды", "response": "Ответ", diff --git a/webview-ui/src/i18n/locales/tr/chat.json b/webview-ui/src/i18n/locales/tr/chat.json index 4f133c4e45..095dfc9501 100644 --- a/webview-ui/src/i18n/locales/tr/chat.json +++ b/webview-ui/src/i18n/locales/tr/chat.json @@ -166,7 +166,13 @@ "wantsToSearch": "Roo bu dizinde {{regex}} için arama yapmak istiyor:", "didSearch": "Roo bu dizinde {{regex}} için arama yaptı:", "wantsToSearchOutsideWorkspace": "Roo bu dizinde (çalışma alanı dışında) {{regex}} için arama yapmak istiyor:", - "didSearchOutsideWorkspace": "Roo bu dizinde (çalışma alanı dışında) {{regex}} için arama yaptı:" + "didSearchOutsideWorkspace": "Roo bu dizinde (çalışma alanı dışında) {{regex}} için arama yaptı:", + "wantsToViewTopLevelOutsideWorkspace": "Roo bu dizindeki (çalışma alanı dışında) üst düzey dosyaları görüntülemek istiyor:", + "didViewTopLevelOutsideWorkspace": "Roo bu dizindeki (çalışma alanı dışında) üst düzey dosyaları görüntüledi:", + "wantsToViewRecursiveOutsideWorkspace": "Roo bu dizindeki (çalışma alanı dışında) tüm dosyaları özyinelemeli olarak görüntülemek istiyor:", + "didViewRecursiveOutsideWorkspace": "Roo bu dizindeki (çalışma alanı dışında) tüm dosyaları özyinelemeli olarak görüntüledi:", + "wantsToViewDefinitionsOutsideWorkspace": "Roo bu dizinde (çalışma alanı dışında) kullanılan kaynak kod tanımlama isimlerini görüntülemek istiyor:", + "didViewDefinitionsOutsideWorkspace": "Roo bu dizinde (çalışma alanı dışında) kullanılan kaynak kod tanımlama isimlerini görüntüledi:" }, "commandOutput": "Komut Çıktısı", "response": "Yanıt", diff --git a/webview-ui/src/i18n/locales/vi/chat.json b/webview-ui/src/i18n/locales/vi/chat.json index 7e510c5a52..c816cb7097 100644 --- a/webview-ui/src/i18n/locales/vi/chat.json +++ b/webview-ui/src/i18n/locales/vi/chat.json @@ -166,7 +166,13 @@ "wantsToSearch": "Roo muốn tìm kiếm trong thư mục này cho {{regex}}:", "didSearch": "Roo đã tìm kiếm trong thư mục này cho {{regex}}:", "wantsToSearchOutsideWorkspace": "Roo muốn tìm kiếm trong thư mục này (ngoài không gian làm việc) cho {{regex}}:", - "didSearchOutsideWorkspace": "Roo đã tìm kiếm trong thư mục này (ngoài không gian làm việc) cho {{regex}}:" + "didSearchOutsideWorkspace": "Roo đã tìm kiếm trong thư mục này (ngoài không gian làm việc) cho {{regex}}:", + "wantsToViewTopLevelOutsideWorkspace": "Roo muốn xem các tệp cấp cao nhất trong thư mục này (ngoài không gian làm việc):", + "didViewTopLevelOutsideWorkspace": "Roo đã xem các tệp cấp cao nhất trong thư mục này (ngoài không gian làm việc):", + "wantsToViewRecursiveOutsideWorkspace": "Roo muốn xem đệ quy tất cả các tệp trong thư mục này (ngoài không gian làm việc):", + "didViewRecursiveOutsideWorkspace": "Roo đã xem đệ quy tất cả các tệp trong thư mục này (ngoài không gian làm việc):", + "wantsToViewDefinitionsOutsideWorkspace": "Roo muốn xem tên định nghĩa mã nguồn được sử dụng trong thư mục này (ngoài không gian làm việc):", + "didViewDefinitionsOutsideWorkspace": "Roo đã xem tên định nghĩa mã nguồn được sử dụng trong thư mục này (ngoài không gian làm việc):" }, "commandOutput": "Kết quả lệnh", "response": "Phản hồi", diff --git a/webview-ui/src/i18n/locales/zh-CN/chat.json b/webview-ui/src/i18n/locales/zh-CN/chat.json index d637a75e4b..2aebff3039 100644 --- a/webview-ui/src/i18n/locales/zh-CN/chat.json +++ b/webview-ui/src/i18n/locales/zh-CN/chat.json @@ -166,7 +166,13 @@ "wantsToSearch": "需要搜索内容: {{regex}}", "didSearch": "已完成内容搜索: {{regex}}", "wantsToSearchOutsideWorkspace": "需要搜索内容(工作区外): {{regex}}", - "didSearchOutsideWorkspace": "已完成内容搜索(工作区外): {{regex}}" + "didSearchOutsideWorkspace": "已完成内容搜索(工作区外): {{regex}}", + "wantsToViewTopLevelOutsideWorkspace": "需要查看目录文件列表(工作区外):", + "didViewTopLevelOutsideWorkspace": "已查看目录文件列表(工作区外):", + "wantsToViewRecursiveOutsideWorkspace": "需要查看目录所有文件(工作区外):", + "didViewRecursiveOutsideWorkspace": "已查看目录所有文件(工作区外):", + "wantsToViewDefinitionsOutsideWorkspace": "Roo想查看此目录中使用的源代码定义名称(工作区外):", + "didViewDefinitionsOutsideWorkspace": "Roo已查看此目录中使用的源代码定义名称(工作区外):" }, "commandOutput": "命令输出", "response": "响应", diff --git a/webview-ui/src/i18n/locales/zh-TW/chat.json b/webview-ui/src/i18n/locales/zh-TW/chat.json index 401384145d..3515482890 100644 --- a/webview-ui/src/i18n/locales/zh-TW/chat.json +++ b/webview-ui/src/i18n/locales/zh-TW/chat.json @@ -166,7 +166,13 @@ "wantsToSearch": "Roo 想要在此目錄中搜尋 {{regex}}:", "didSearch": "Roo 已在此目錄中搜尋 {{regex}}:", "wantsToSearchOutsideWorkspace": "Roo 想要在此目錄(工作區外)中搜尋 {{regex}}:", - "didSearchOutsideWorkspace": "Roo 已在此目錄(工作區外)中搜尋 {{regex}}:" + "didSearchOutsideWorkspace": "Roo 已在此目錄(工作區外)中搜尋 {{regex}}:", + "wantsToViewTopLevelOutsideWorkspace": "Roo 想要檢視此目錄(工作區外)中最上層的檔案:", + "didViewTopLevelOutsideWorkspace": "Roo 已檢視此目錄(工作區外)中最上層的檔案:", + "wantsToViewRecursiveOutsideWorkspace": "Roo 想要遞迴檢視此目錄(工作區外)中的所有檔案:", + "didViewRecursiveOutsideWorkspace": "Roo 已遞迴檢視此目錄(工作區外)中的所有檔案:", + "wantsToViewDefinitionsOutsideWorkspace": "Roo 想要檢視此目錄(工作區外)中使用的原始碼定義名稱:", + "didViewDefinitionsOutsideWorkspace": "Roo 已檢視此目錄(工作區外)中使用的原始碼定義名稱:" }, "commandOutput": "命令輸出", "response": "回應",