fix(docs): translations

This commit is contained in:
Adam
2026-02-09 18:11:44 -06:00
parent 3118cab2d8
commit 85fa8abd50
312 changed files with 3578 additions and 3189 deletions

View File

@@ -3,7 +3,7 @@ title: 工具
description: 管理 LLM 可以使用的工具。
---
Tools allow the LLM to perform actions in your codebase. OpenCode comes with a set of built-in tools, but you can extend it with [custom tools](/docs/custom-tools) or [MCP servers](/docs/mcp-servers).
Tools allow the LLM to perform actions in your codebase. opencode comes with a set of built-in tools, but you can extend it with [custom tools](/docs/custom-tools) or [MCP servers](/docs/mcp-servers).
默认情况下,所有工具都是**启用**并且不需要执行权限。您可以交叉[permissions](/docs/permissions) 控制工具行为。
@@ -41,7 +41,7 @@ Tools allow the LLM to perform actions in your codebase. OpenCode comes with a s
## 內建
以下是 OpenCode 中可用的所有内置工具。
以下是 opencode 中可用的所有内置工具。
---
@@ -291,9 +291,9 @@ To configure which LSP servers are available for your project, see [LSP Servers]
在網路上搜尋資訊。
:::note
仅当使用 OpenCode 提供或 `OPENCODE_ENABLE_EXA` 程序环境变量设置为任何真值(例如 `true` 或 `1`)时,此工具才可用。
仅当使用 opencode 提供或 `OPENCODE_ENABLE_EXA` 程序环境变量设置为任何真值(例如 `true` 或 `1`)时,此工具才可用。
要在启动 OpenCode 时启用:
要在启动 opencode 时启用:
```bash
OPENCODE_ENABLE_EXA=1 opencode