Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
14c12f9
fix: remove stale ripgrep CLI references from tool descriptions and docs
ariane-emory Apr 16, 2026
52ed84a
docs: remove stale ripgrep references from tools pages
ariane-emory Apr 16, 2026
905daa7
revert: restore ripgrep descriptions in debug CLI
ariane-emory Apr 16, 2026
0a0f815
Merge branch 'dev' into fix/tidy-ripgrep-references
ariane-emory Apr 16, 2026
92e17dd
Merge branch 'dev' into fix/tidy-ripgrep-references
ariane-emory Apr 16, 2026
a246861
Merge branch 'dev' into fix/tidy-ripgrep-references
ariane-emory Apr 16, 2026
38a820d
Merge branch 'dev' into fix/tidy-ripgrep-references
ariane-emory Apr 16, 2026
7ab9e84
Merge branch 'dev' into fix/tidy-ripgrep-references
ariane-emory Apr 16, 2026
6657ba9
Merge branch 'dev' into fix/tidy-ripgrep-references
ariane-emory Apr 16, 2026
9a6c000
fix: remove stale rg reference from GPT prompt
ariane-emory Apr 16, 2026
2d85f3c
Merge branch 'dev' into fix/tidy-ripgrep-references
ariane-emory Apr 16, 2026
3566cfa
Merge branch 'dev' into fix/tidy-ripgrep-references
ariane-emory Apr 16, 2026
8ea17b1
Merge branch 'dev' into fix/tidy-ripgrep-references
ariane-emory Apr 16, 2026
e9684c4
Merge branch 'dev' into fix/tidy-ripgrep-references
ariane-emory Apr 16, 2026
42afa58
Merge branch 'dev' into fix/tidy-ripgrep-references
ariane-emory Apr 16, 2026
735d400
Merge branch 'dev' into fix/tidy-ripgrep-references
ariane-emory Apr 16, 2026
74d3a34
Merge branch 'dev' into fix/tidy-ripgrep-references
ariane-emory Apr 16, 2026
160c978
Merge branch 'dev' into fix/tidy-ripgrep-references
ariane-emory Apr 16, 2026
9739179
Merge branch 'dev' into fix/tidy-ripgrep-references
ariane-emory Apr 16, 2026
3fb491b
Merge branch 'dev' into fix/tidy-ripgrep-references
ariane-emory Apr 16, 2026
c7f0520
Merge branch 'dev' into fix/tidy-ripgrep-references
ariane-emory Apr 16, 2026
b8e7857
Merge branch 'dev' into fix/tidy-ripgrep-references
ariane-emory Apr 16, 2026
5cbd13d
Merge branch 'dev' into fix/tidy-ripgrep-references
ariane-emory Apr 16, 2026
0ca4fdf
Merge branch 'dev' into fix/tidy-ripgrep-references
ariane-emory Apr 16, 2026
42e12e2
Merge branch 'dev' into fix/tidy-ripgrep-references
ariane-emory Apr 16, 2026
b0886b6
Merge branch 'dev' into fix/tidy-ripgrep-references
ariane-emory Apr 16, 2026
a37cf6c
Merge branch 'dev' into fix/tidy-ripgrep-references
ariane-emory Apr 16, 2026
19c421f
Merge branch 'dev' into fix/tidy-ripgrep-references
ariane-emory Apr 17, 2026
654c6a1
Merge branch 'dev' into fix/tidy-ripgrep-references
ariane-emory Apr 17, 2026
ae1851e
Merge branch 'dev' into fix/tidy-ripgrep-references
ariane-emory Apr 17, 2026
405d74e
Merge branch 'dev' into fix/tidy-ripgrep-references
ariane-emory Apr 17, 2026
f31fb02
Merge branch 'dev' into fix/tidy-ripgrep-references
ariane-emory Apr 17, 2026
7782f5d
Merge branch 'dev' into fix/tidy-ripgrep-references
ariane-emory Apr 17, 2026
2ca28e0
Merge branch 'dev' into fix/tidy-ripgrep-references
ariane-emory Apr 17, 2026
d823883
Merge remote-tracking branch 'upstream/dev' into fix/tidy-ripgrep-ref…
ariane-emory Apr 17, 2026
e86679f
Merge branch 'dev' into fix/tidy-ripgrep-references
ariane-emory Apr 17, 2026
640b6d8
Merge branch 'dev' into fix/tidy-ripgrep-references
ariane-emory Apr 17, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/opencode/src/server/routes/instance/file.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export const FileRoutes = lazy(() =>
"/find",
describeRoute({
summary: "Find text",
description: "Search for text patterns across files in the project using ripgrep.",
description: "Search for text patterns across files in the project.",
operationId: "find.text",
responses: {
200: {
Expand Down
2 changes: 1 addition & 1 deletion packages/opencode/src/session/prompt/gpt.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ You are OpenCode, You and the user share the same workspace and collaborate to a

You are a deeply pragmatic, effective software engineer. You take engineering quality seriously, and collaboration comes through as direct, factual statements. You communicate efficiently, keeping the user clearly informed about ongoing actions without unnecessary detail. You build context by examining the codebase first without making assumptions or jumping to conclusions. You think through the nuances of the code you encounter, and embody the mentality of a skilled senior software engineer.

- When searching for text or files, prefer using Glob and Grep tools (they are powered by `rg`)
- When searching for text or files, prefer using Glob and Grep tools
- Parallelize tool calls whenever possible - especially file reads. Use `multi_tool_use.parallel` to parallelize tool calls and only this. Never chain together bash commands with separators like `echo "====";` as this renders to the user poorly.

## Editing Approach
Expand Down
2 changes: 1 addition & 1 deletion packages/opencode/src/tool/bash.txt
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ Usage notes:

- Avoid using Bash with the `find`, `grep`, `cat`, `head`, `tail`, `sed`, `awk`, or `echo` commands, unless explicitly instructed or when these commands are truly necessary for the task. Instead, always prefer using the dedicated tools for these commands:
- File search: Use Glob (NOT find or ls)
- Content search: Use Grep (NOT grep or rg)
- Content search: Use Grep (NOT grep)
- Read files: Use Read (NOT cat/head/tail)
- Edit files: Use Edit (NOT sed/awk)
- Write files: Use Write (NOT echo >/cat <<EOF)
Expand Down
2 changes: 1 addition & 1 deletion packages/opencode/src/tool/grep.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@
- Filter files by pattern with the include parameter (eg. "*.js", "*.{ts,tsx}")
- Returns file paths and line numbers with at least one match sorted by modification time
- Use this tool when you need to find files containing specific patterns
- If you need to identify/count the number of matches within files, use the Bash tool with `rg` (ripgrep) directly. Do NOT use `grep`.
- If you need to identify/count the number of matches within files, use the Bash tool with `grep` directly.
- When you are doing an open-ended search that may require multiple rounds of globbing and grepping, use the Task tool instead
4 changes: 2 additions & 2 deletions packages/web/src/content/docs/ar/tools.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,7 @@ OPENCODE_ENABLE_EXA=1 opencode

## التفاصيل الداخلية

داخليا، تستخدم أدوات مثل `grep` و`glob` [ripgrep](https://github.com/BurntSushi/ripgrep) في الخلفية. افتراضيا، يحترم ripgrep أنماط `.gitignore`، ما يعني أن الملفات والمجلدات المدرجة في `.gitignore` ستُستبعد من عمليات البحث وعرض القوائم.
افتراضيا، تحترم أدوات مثل `grep` و`glob` أنماط `.gitignore`، ما يعني أن الملفات والمجلدات المدرجة في `.gitignore` ستُستبعد من عمليات البحث وعرض القوائم.

---

Expand All @@ -338,4 +338,4 @@ OPENCODE_ENABLE_EXA=1 opencode
!build/
```

على سبيل المثال، يسمح ملف `.ignore` هذا لـ ripgrep بالبحث داخل مجلدات `node_modules/` و`dist/` و`build/` حتى لو كانت مدرجة في `.gitignore`.
على سبيل المثال، يسمح ملف `.ignore` هذا بالبحث داخل مجلدات `node_modules/` و`dist/` و`build/` حتى لو كانت مدرجة في `.gitignore`.
4 changes: 2 additions & 2 deletions packages/web/src/content/docs/bs/tools.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,7 @@ MCP (Model Context Protocol) serveri omogucavaju integraciju eksternih alata i s

## Interno

Interno, alati kao `grep` i `glob` koriste [ripgrep](https://github.com/BurntSushi/ripgrep). Po defaultu, ripgrep postuje `.gitignore` obrasce, pa se fajlovi i direktoriji iz `.gitignore` izostavljaju iz pretraga i listinga.
Po defaultu, alati kao `grep` i `glob` postuju `.gitignore` obrasce, pa se fajlovi i direktoriji iz `.gitignore` izostavljaju iz pretraga i listinga.

---

Expand All @@ -338,4 +338,4 @@ Da ukljucite fajlove koji bi inace bili ignorisani, kreirajte `.ignore` datoteku
!build/
```

Na primjer, ova `.ignore` datoteka dozvoljava ripgrep-u da pretrazuje `node_modules/`, `dist/` i `build/` direktorije i kada su navedeni u `.gitignore`.
Na primjer, ova `.ignore` datoteka dozvoljava pretragu unutar `node_modules/`, `dist/` i `build/` direktorija i kada su navedeni u `.gitignore`.
4 changes: 2 additions & 2 deletions packages/web/src/content/docs/da/tools.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,7 @@ MCP (Model Context Protocol) servere lar deg integrere eksterne verktøy og tjen

## Interne

Internt bruger verktøy som `grep` og `glob` [ripgrep](https://github.com/BurntSushi/ripgrep) under panseret. Som standard respekterer ripgrep `.gitignore`-mønstre, noe som betyr at filer og kataloger som er oppført i `.gitignore` vil bli ekskludert fra søk og lister.
Som standard respekterer verktøy som `grep` og `glob` `.gitignore`-mønstre, noe som betyr at filer og kataloger som er oppført i `.gitignore` vil bli ekskludert fra søk og lister.

---

Expand All @@ -338,4 +338,4 @@ For at inkludere filer som normalt vil bli ignorert, lag en `.ignore`-fil i pros
!build/
```

For eksempel lar denne `.ignore` filen ripgrep søke i `node_modules/`, `dist/` og `build/` kataloger selv om de er oppført i `.gitignore`.
For eksempel lar denne `.ignore` filen søk inkludere `node_modules/`, `dist/` og `build/` kataloger selv om de er oppført i `.gitignore`.
5 changes: 2 additions & 3 deletions packages/web/src/content/docs/de/tools.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -333,8 +333,7 @@ Dazu gehoeren Datenbanken, API-Integrationen und Drittanbieter-Services.

## Interna

Intern verwenden Tools wie `grep` und `glob` [ripgrep](https://github.com/BurntSushi/ripgrep).
Standardmaessig beachtet ripgrep `.gitignore`, daher werden dort aufgefuehrte Dateien und Ordner nicht durchsucht.
Tools wie `grep` und `glob` beachten standardmaessig `.gitignore`, daher werden dort aufgefuehrte Dateien und Ordner nicht durchsucht.

---

Expand All @@ -349,4 +348,4 @@ Dort kannst du Pfade explizit erlauben.
!build/
```

Dieses Beispiel erlaubt ripgrep, in `node_modules/`, `dist/` und `build/` zu suchen, auch wenn sie in `.gitignore` stehen.
Dieses Beispiel erlaubt Suchvorgaenge in `node_modules/`, `dist/` und `build/`, auch wenn sie in `.gitignore` stehen.
4 changes: 2 additions & 2 deletions packages/web/src/content/docs/es/tools.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,7 @@ Los servidores MCP (Model Context Protocol) le permiten integrar herramientas y

## Internos

Internamente, herramientas como `grep` y `glob` usan [ripgrep](https://github.com/BurntSushi/ripgrep) bajo el capó. De forma predeterminada, ripgrep respeta los patrones `.gitignore`, lo que significa que los archivos y directorios enumerados en su `.gitignore` se excluirán de las búsquedas y listados.
De forma predeterminada, herramientas como `grep` y `glob` respetan los patrones `.gitignore`, lo que significa que los archivos y directorios enumerados en su `.gitignore` se excluirán de las búsquedas y listados.

---

Expand All @@ -338,4 +338,4 @@ Para incluir archivos que normalmente se ignorarían, cree un archivo `.ignore`
!build/
```

Por ejemplo, este archivo `.ignore` permite que ripgrep busque dentro de los directorios `node_modules/`, `dist/` y `build/` incluso si figuran en `.gitignore`.
Por ejemplo, este archivo `.ignore` permite realizar búsquedas dentro de los directorios `node_modules/`, `dist/` y `build/` incluso si figuran en `.gitignore`.
4 changes: 2 additions & 2 deletions packages/web/src/content/docs/fr/tools.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,7 @@ Les serveurs MCP (Model Context Protocol) vous permettent d'intégrer des outils

## Internes

En interne, des outils comme `grep` et `glob` utilisent [ripgrep](https://github.com/BurntSushi/ripgrep) sous le capot. Par défaut, ripgrep respecte les modèles `.gitignore`, ce qui signifie que les fichiers et répertoires répertoriés dans votre `.gitignore` seront exclus des recherches et des listes.
Par défaut, des outils comme `grep` et `glob` respectent les modèles `.gitignore`, ce qui signifie que les fichiers et répertoires répertoriés dans votre `.gitignore` seront exclus des recherches et des listes.

---

Expand All @@ -338,4 +338,4 @@ Pour inclure des fichiers qui seraient normalement ignorés, créez un fichier `
!build/
```

Par exemple, ce fichier `.ignore` permet à ripgrep de rechercher dans les répertoires `node_modules/`, `dist/` et `build/` même s'ils sont répertoriés dans `.gitignore`.
Par exemple, ce fichier `.ignore` permet des recherches dans les répertoires `node_modules/`, `dist/` et `build/` même s'ils sont répertoriés dans `.gitignore`.
4 changes: 2 additions & 2 deletions packages/web/src/content/docs/it/tools.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,7 @@ I server MCP (Model Context Protocol) permettono di integrare strumenti e serviz

## Interni

Internamente, strumenti come `grep` e `glob` usano [ripgrep](https://github.com/BurntSushi/ripgrep) sotto al cofano. Di default, ripgrep rispetta i pattern di `.gitignore`, quindi i file e le directory elencati in `.gitignore` vengono esclusi da ricerche ed elenchi.
Di default, strumenti come `grep` e `glob` rispettano i pattern di `.gitignore`, quindi i file e le directory elencati in `.gitignore` vengono esclusi da ricerche ed elenchi.

---

Expand All @@ -338,4 +338,4 @@ Per includere file che normalmente verrebbero ignorati, crea un file `.ignore` n
!build/
```

Per esempio, questo file `.ignore` permette a ripgrep di cercare dentro `node_modules/`, `dist/` e `build/` anche se sono elencate in `.gitignore`.
Per esempio, questo file `.ignore` permette di cercare dentro `node_modules/`, `dist/` e `build/` anche se sono elencate in `.gitignore`.
4 changes: 2 additions & 2 deletions packages/web/src/content/docs/ja/tools.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,7 @@ MCP (Model Context Protocol) サーバーを使用すると、外部ツールと

## 内部動作

内部的には、`grep`、`glob` などのツールは内部で [ripgrep](https://github.com/BurntSushi/ripgrep) を使用します。デフォルトでは、ripgrep は `.gitignore` パターンを尊重します。つまり、`.gitignore` にリストされているファイルとディレクトリは検索とリストから除外されます。
デフォルトでは、`grep`、`glob` などのツールは `.gitignore` パターンを尊重します。つまり、`.gitignore` にリストされているファイルとディレクトリは検索とリストから除外されます。

---

Expand All @@ -338,4 +338,4 @@ MCP (Model Context Protocol) サーバーを使用すると、外部ツールと
!build/
```

たとえば、この `.ignore` ファイルを使用すると、ripgrep は、`node_modules/` にリストされている場合でも、`dist/`、`build/`、および `.gitignore` ディレクトリ内を検索できます
たとえば、この `.ignore` ファイルを使用すると、`node_modules/`、`dist/`、および `build/` ディレクトリが `.gitignore` にリストされている場合でも検索できます
4 changes: 2 additions & 2 deletions packages/web/src/content/docs/ko/tools.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,7 @@ MCP 서버 구성에 대한 [Learn more](/docs/mcp-servers).

## 내부

내부, 도구 `grep` 그리고 `glob` 사용 [ripgrep](https://github.com/BurntSushi/ripgrep) 후드 아래에. 기본적으로 ripgrep은 `.gitignore` 패턴을 존중하며 `.gitignore`에 나열된 파일 및 디렉토리를 검색 및 목록에서 제외됩니다.
기본적으로 `grep` `glob` 같은 도구는 `.gitignore` 패턴을 존중하며 `.gitignore`에 나열된 파일 및 디렉토리를 검색 및 목록에서 제외합니다.

---

Expand All @@ -338,4 +338,4 @@ MCP 서버 구성에 대한 [Learn more](/docs/mcp-servers).
!build/
```

예를 들어,이 `.ignore` 파일은 `node_modules/`, `dist/``build/` 디렉토리 내에서 검색 할있습니다. `.gitignore`.
예를 들어, 이 `.ignore` 파일은 `node_modules/`, `dist/`, `build/` 디렉토리가 `.gitignore`에 있어도 검색할있게 해줍니다.
4 changes: 2 additions & 2 deletions packages/web/src/content/docs/nb/tools.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,7 @@ MCP (Model Context Protocol) servere lar deg integrere eksterne verktøy og tjen

## Internaler

Internt bruker verktøy som `grep` og `glob` [ripgrep](https://github.com/BurntSushi/ripgrep) i bakgrunnen. Som standard respekterer ripgrep `.gitignore`-mønstre, noe som betyr at filer og kataloger som er oppført i `.gitignore` vil bli ekskludert fra søk og oppføringer.
Som standard respekterer verktøy som `grep` og `glob` `.gitignore`-mønstre, noe som betyr at filer og kataloger som er oppført i `.gitignore` vil bli ekskludert fra søk og oppføringer.

---

Expand All @@ -338,4 +338,4 @@ For å inkludere filer som normalt vil bli ignorert, lag en `.ignore`-fil i pros
!build/
```

For eksempel lar denne `.ignore` filen ripgrep søke i `node_modules/`, `dist/` og `build/` kataloger selv om de er oppført i `.gitignore`.
For eksempel lar denne `.ignore` filen søk inkludere `node_modules/`, `dist/` og `build/` kataloger selv om de er oppført i `.gitignore`.
4 changes: 2 additions & 2 deletions packages/web/src/content/docs/pl/tools.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,7 @@ Serwery MCP (Model Context Protocol) umożliwiają integrację zewnętrznych nar

## Szczegóły techniczne

Wewnętrznie narzędzia takie jak `grep` i `glob` używają [ripgrep](https://github.com/BurntSushi/ripgrep). Domyślnie ripgrep respektuje wzorce `.gitignore`, co oznacza, że pliki i katalogi wymienione w Twoim `.gitignore` zostaną wykluczone z wyszukiwań i list.
Domyślnie narzędzia takie jak `grep` i `glob` respektują wzorce `.gitignore`, co oznacza, że pliki i katalogi wymienione w Twoim `.gitignore` zostaną wykluczone z wyszukiwań i list.

---

Expand All @@ -338,4 +338,4 @@ Aby uwzględnić pliki, które normalnie byłyby ignorowane, utwórz plik `.igno
!build/
```

Na przykład ten plik `.ignore` pozwala ripgrepowi przeszukiwać katalogi `node_modules/`, `dist/` i `build/`, nawet jeśli są one wymienione w `.gitignore`.
Na przykład ten plik `.ignore` pozwala przeszukiwać katalogi `node_modules/`, `dist/` i `build/`, nawet jeśli są one wymienione w `.gitignore`.
4 changes: 2 additions & 2 deletions packages/web/src/content/docs/pt-br/tools.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,7 @@ Servidores MCP (Model Context Protocol) permitem que você integre ferramentas e

## Internos

Internamente, ferramentas como `grep` e `glob` usam [ripgrep](https://github.com/BurntSushi/ripgrep) por trás dos panos. Por padrão, o ripgrep respeita padrões `.gitignore`, o que significa que arquivos e diretórios listados em seu `.gitignore` serão excluídos de buscas e listagens.
Por padrão, ferramentas como `grep` e `glob` respeitam padrões `.gitignore`, o que significa que arquivos e diretórios listados em seu `.gitignore` serão excluídos de buscas e listagens.

---

Expand All @@ -338,4 +338,4 @@ Para incluir arquivos que normalmente seriam ignorados, crie um arquivo `.ignore
!build/
```

Por exemplo, este arquivo `.ignore` permite que o ripgrep busque dentro dos diretórios `node_modules/`, `dist/` e `build/`, mesmo que estejam listados em `.gitignore`.
Por exemplo, este arquivo `.ignore` permite buscas dentro dos diretórios `node_modules/`, `dist/` e `build/`, mesmo que estejam listados em `.gitignore`.
4 changes: 2 additions & 2 deletions packages/web/src/content/docs/ru/tools.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,7 @@ OPENCODE_ENABLE_EXA=1 opencode

## Внутреннее устройство

Внутренне такие инструменты, как `grep` и `glob`, используют [ripgrep](https://github.com/BurntSushi/ripgrep). По умолчанию ripgrep учитывает шаблоны `.gitignore`, что означает, что файлы и каталоги, перечисленные в вашем `.gitignore`, будут исключены из поиска и списков.
По умолчанию такие инструменты, как `grep` и `glob`, учитывают шаблоны `.gitignore`, что означает, что файлы и каталоги, перечисленные в вашем `.gitignore`, будут исключены из поиска и списков.

---

Expand All @@ -338,4 +338,4 @@ OPENCODE_ENABLE_EXA=1 opencode
!build/
```

Например, этот файл `.ignore` позволяет ripgrep выполнять поиск в каталогах `node_modules/`, `dist/` и `build/`, даже если они указаны в `.gitignore`.
Например, этот файл `.ignore` позволяет выполнять поиск в каталогах `node_modules/`, `dist/` и `build/`, даже если они указаны в `.gitignore`.
4 changes: 2 additions & 2 deletions packages/web/src/content/docs/th/tools.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,7 @@ OPENCODE_ENABLE_EXA=1 opencode

## ภายใน

ภายใน เครื่องมือต่างๆ เช่น `grep` และ `glob` ใช้ [ripgrep](https://github.com/BurntSushi/ripgrep) ภายใต้ประทุน ตามค่าเริ่มต้น ripgrep เคารพรูปแบบ `.gitignore` ซึ่งหมายความว่าไฟล์และไดเร็กทอรีที่อยู่ใน `.gitignore` ของคุณจะถูกแยกออกจากการค้นหาและรายการ
ตามค่าเริ่มต้น เครื่องมือต่างๆ เช่น `grep` และ `glob` จะเคารพรูปแบบ `.gitignore` ซึ่งหมายความว่าไฟล์และไดเร็กทอรีที่อยู่ใน `.gitignore` ของคุณจะถูกแยกออกจากการค้นหาและรายการ

---

Expand All @@ -338,4 +338,4 @@ OPENCODE_ENABLE_EXA=1 opencode
!build/
```

ตัวอย่างเช่น ไฟล์ `.ignore` นี้อนุญาตให้ ripgrep ค้นหาภายในไดเร็กทอรี `node_modules/`, `dist/` และ `build/` แม้ว่าไดเร็กทอรีเหล่านั้นจะแสดงอยู่ใน `.gitignore` ก็ตาม
ตัวอย่างเช่น ไฟล์ `.ignore` นี้อนุญาตให้ค้นหาภายในไดเร็กทอรี `node_modules/`, `dist/` และ `build/` แม้ว่าไดเร็กทอรีเหล่านั้นจะแสดงอยู่ใน `.gitignore` ก็ตาม
4 changes: 2 additions & 2 deletions packages/web/src/content/docs/tools.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,7 @@ MCP (Model Context Protocol) servers allow you to integrate external tools and s

## Internals

Internally, tools like `grep` and `glob` use [ripgrep](https://github.com/BurntSushi/ripgrep) under the hood. By default, ripgrep respects `.gitignore` patterns, which means files and directories listed in your `.gitignore` will be excluded from searches and listings.
By default, tools like `grep` and `glob` respect `.gitignore` patterns, which means files and directories listed in your `.gitignore` will be excluded from searches and listings.

---

Expand All @@ -342,4 +342,4 @@ To include files that would normally be ignored, create a `.ignore` file in your
!build/
```

For example, this `.ignore` file allows ripgrep to search within `node_modules/`, `dist/`, and `build/` directories even if they're listed in `.gitignore`.
For example, this `.ignore` file allows searches within `node_modules/`, `dist/`, and `build/` directories even if they're listed in `.gitignore`.
4 changes: 2 additions & 2 deletions packages/web/src/content/docs/tr/tools.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,7 @@ MCP sunucularını yapılandırma için [daha fazla bilgi alın](/docs/mcp-serve

## Dahili detaylar

Dahilde `grep` ve `glob` gibi araçlar [ripgrep](https://github.com/BurntSushi/ripgrep) kullanır. Varsayılan olarak ripgrep `.gitignore` desenlerine uyar; yani `.gitignore` içindeki dosya ve dizinler arama ve listeleme sonucuna dahil edilmez.
Varsayılan olarak `grep` ve `glob` gibi araçlar `.gitignore` desenlerine uyar; yani `.gitignore` içindeki dosya ve dizinler arama ve listeleme sonucuna dahil edilmez.

---

Expand All @@ -338,4 +338,4 @@ Normalde yok sayılan dosyaları dahil etmek için proje kökünde bir `.ignore`
!build/
```

Örneğin bu `.ignore` dosyası, `node_modules/` içinde olsalar bile ripgrep'in `dist/`, `build/` ve `.gitignore` dizinlerinde arama yapmasına izin verir.
Örneğin bu `.ignore` dosyası, `node_modules/`, `dist/` ve `build/` dizinleri `.gitignore` içinde olsa bile bu dizinlerde arama yapılmasına izin verir.
Loading
Loading