From d2ea6700aa2e6bdf5d04fe70ba893afbb320adbd Mon Sep 17 00:00:00 2001 From: Ariane Emory <97994360+ariane-emory@users.noreply.github.com> Date: Wed, 15 Apr 2026 18:44:53 -0400 Subject: fix(core): Remove dead code and documentation related to the obsolete list tool. (#22672) --- packages/web/src/content/docs/ja/tools.mdx | 18 +----------------- 1 file changed, 1 insertion(+), 17 deletions(-) (limited to 'packages/web/src/content/docs/ja/tools.mdx') diff --git a/packages/web/src/content/docs/ja/tools.mdx b/packages/web/src/content/docs/ja/tools.mdx index 0e0f8fe95..ae409aa7d 100644 --- a/packages/web/src/content/docs/ja/tools.mdx +++ b/packages/web/src/content/docs/ja/tools.mdx @@ -149,22 +149,6 @@ OpenCode で利用可能なすべての組み込みツールを次に示しま `**/*.js` や `src/**/*.ts` などの glob パターンを使用してファイルを検索します。一致するファイルパスを変更時間順に並べて返します。 ---- - -### list - -指定されたパス内のファイルとディレクトリを一覧表示します。 - -```json title="opencode.json" {4} -{ - "$schema": "https://opencode.ai/config.json", - "permission": { - "list": "allow" - } -} -``` - -このツールはディレクトリの内容を一覧表示します。結果をフィルタリングするための glob パターンを受け入れます。 --- @@ -341,7 +325,7 @@ MCP (Model Context Protocol) サーバーを使用すると、外部ツールと ## 内部動作 -内部的には、`grep`、`glob`、`list` などのツールは内部で [ripgrep](https://github.com/BurntSushi/ripgrep) を使用します。デフォルトでは、ripgrep は `.gitignore` パターンを尊重します。つまり、`.gitignore` にリストされているファイルとディレクトリは検索とリストから除外されます。 +内部的には、`grep`、`glob` などのツールは内部で [ripgrep](https://github.com/BurntSushi/ripgrep) を使用します。デフォルトでは、ripgrep は `.gitignore` パターンを尊重します。つまり、`.gitignore` にリストされているファイルとディレクトリは検索とリストから除外されます。 --- -- cgit v1.2.3