chore: generate

This commit is contained in:
opencode-agent[bot]
2026-02-10 13:39:21 +00:00
parent c607c01fb9
commit 18b6257119
33 changed files with 296 additions and 296 deletions

View File

@@ -562,7 +562,7 @@ opencode CLI 採用以下全局標誌。
| `OPENCODE_CONFIG_CONTENT` | 字符串 | 內聯 json 配置內容 |
| `OPENCODE_DISABLE_AUTOUPDATE` | 布爾 | 禁用自動更新檢查 |
| `OPENCODE_DISABLE_PRUNE` | 布爾 | 禁用舊數據的修剪 |
| `OPENCODE_DISABLE_TERMINAL_TITLE` | 布爾 | 禁用自動terminal標題更新 |
| `OPENCODE_DISABLE_TERMINAL_TITLE` | 布爾 | 禁用自動terminal標題更新 |
| `OPENCODE_PERMISSION` | 字符串 | 內聯 json 權限配置 |
| `OPENCODE_DISABLE_DEFAULT_PLUGINS` | 布爾 | 禁用默認插件 |
| `OPENCODE_DISABLE_LSP_DOWNLOAD` | 布爾 | 禁用自動 LSP 服務器下載 |

View File

@@ -105,14 +105,14 @@ opencode github install
opencode 可以由以下 GitHub 事件觸發:
| 事件類型 | 觸發者 | 詳情 |
| ----------------------------- | ---------------------------- | -------------------------------------------------------------------------------------------------- |
| `issue_comment` | 對問題或 PR 發表評論 | Mention `/opencode` or `/oc` in your comment. opencode 讀取上下文並可以創建分支、打開 PR 或回复。 |
| 事件類型 | 觸發者 | 詳情 |
| ----------------------------- | ------------------------------ | ---------------------------------------------------------------------------------------------------- |
| `issue_comment` | 對問題或 PR 發表評論 | Mention `/opencode` or `/oc` in your comment. opencode 讀取上下文並可以創建分支、打開 PR 或回复。 |
| `pull_request_review_comment` | 對 PR 中的特定程式碼行進行評論 | 在檢查程式碼時提及`/opencode` 或`/oc`。 opencode receives file path, line numbers, and diff context. |
| `issues` | 問題已打開或已編輯 | 創建或修改問題時自動觸發 opencode。需要 `prompt` 輸入。 |
| `pull_request` | PR 已開啟或已更新 | Automatically trigger opencode when PRs are opened, synchronized, or reopened.對於自動評論很有用。 |
| `schedule` | 基於 Cron 的計劃 | 按計劃運行 opencode。需要 `prompt` 輸入。輸出進入日誌和 PR沒有可評論的問題。 |
| `workflow_dispatch` | 從 GitHub UI 手動觸發 | 通過“操作”選項卡按需觸發 opencode。需要 `prompt` 輸入。輸出進入日誌和 PR。 |
| `issues` | 問題已打開或已編輯 | 創建或修改問題時自動觸發 opencode。需要 `prompt` 輸入。 |
| `pull_request` | PR 已開啟或已更新 | Automatically trigger opencode when PRs are opened, synchronized, or reopened.對於自動評論很有用。 |
| `schedule` | 基於 Cron 的計劃 | 按計劃運行 opencode。需要 `prompt` 輸入。輸出進入日誌和 PR沒有可評論的問題 |
| `workflow_dispatch` | 從 GitHub UI 手動觸發 | 通過“操作”選項卡按需觸發 opencode。需要 `prompt` 輸入。輸出進入日誌和 PR。 |
### 時間表示例

View File

@@ -31,7 +31,7 @@ opencode 附帶了多種適用於流行語言的內置 LSP 服務器:
| lua-ls | .lua | 自動安裝 Lua 項目 |
| 尼克斯 | .nix | `nixd` 命令可用 |
| ocaml-lsp | .ml、.mli | `ocamllsp` 命令可用 |
| ocx林特 | .ts、.tsx、.js、.jsx、.mjs、.cjs、.mts、.cts、.vue、.astro、.svelte | `oxlint` 項目中的依賴項 |
| ocx林特 | .ts、.tsx、.js、.jsx、.mjs、.cjs、.mts、.cts、.vue、.astro、.svelte | `oxlint` 項目中的依賴項 |
| php intelephense | php .php | PHP 項目的自動安裝 |
| 棱鏡 | .prisma | `prisma` 命令可用 |
| 皮賴特 | .py, .pyi | `pyright` 依賴項已安裝 |

View File

@@ -27,14 +27,14 @@ opencode 附帶了幾個內置主題。
| 名稱 | 描述 |
| ---------------------- | ----------------------------------------------------------------- |
| `system` | 適應您terminal的背景顏色 |
| `tokyonight` | 基於[tokyonight](https://github.com/folke/tokyonight.nvim)主題 |
| `everforest` | 基於[everforest](https://github.com/sainnhe/everforest)主題 |
| `ayu` | 基於[ayu](https://github.com/ayu-theme)深色主題 |
| `catppuccin` | 基於[catppuccin](https://github.com/catppuccin)主題 |
| `catppuccin-macchiato` | 基於[catppuccin](https://github.com/catppuccin)主題 |
| `gruvbox` | 基於[gruvbox](https://github.com/morhetz/gruvbox)主題 |
| `kanagawa` | 基於[kanagawa](https://github.com/rebelot/kanagawa.nvim)主題 |
| `system` | 適應您terminal的背景顏色 |
| `tokyonight` | 基於[tokyonight](https://github.com/folke/tokyonight.nvim)主題 |
| `everforest` | 基於[everforest](https://github.com/sainnhe/everforest)主題 |
| `ayu` | 基於[ayu](https://github.com/ayu-theme)深色主題 |
| `catppuccin` | 基於[catppuccin](https://github.com/catppuccin)主題 |
| `catppuccin-macchiato` | 基於[catppuccin](https://github.com/catppuccin)主題 |
| `gruvbox` | 基於[gruvbox](https://github.com/morhetz/gruvbox)主題 |
| `kanagawa` | 基於[kanagawa](https://github.com/rebelot/kanagawa.nvim)主題 |
| `nord` | 基於[Nord](https://github.com/nordtheme/nord)主題 |
| `matrix` | 黑客風格黑底綠主題 |
| `one-dark` | 基於[One Dark](https://github.com/Th3Whit3Wolf/one-nvim) 深色主題 |