Supported providers is now an index: one list of natively supported providers and one list of ACP agents from the in-app catalog. Each natively supported provider has a setup page under /docs/supported-providers/, and the docs sidebar shows those pages as one collapsible item. /docs/claude-code, /docs/codex, and /docs/muse-code redirect to the new location. Also adds landing pages for fx and Hoplite, lists fx in the 0.16.0 changelog highlights, lists every docs page in llms.txt, and gives the plugin sidebar views page its frontmatter.
1.4 KiB
1.4 KiB
title, description, nav
| title | description | nav |
|---|---|---|
| OpenCode | 安装 OpenCode 并在 Paseo 中运行。 | OpenCode |
OpenCode
使用你现有的 opencode 安装、凭据和配置,在 Paseo 中运行 OpenCode。
开始使用
-
在 daemon 主机上安装 OpenCode:
npm install -g opencode-ai -
为 OpenCode 配置模型 Provider,并确认
opencode可以在终端中运行。 -
在 Paseo 中启动 Agent 时选择 OpenCode。
如果你使用 OpenCode v2,请安装 2.0.10 或更高版本。Paseo 会拒绝更早的 v2 版本。
如果 opencode 不在 daemon 的 PATH 中,请使用命令覆盖。
模式
Paseo 将 OpenCode 的 Agent 显示为模式。
| 模式 | 效果 |
|---|---|
| Build | 允许编辑文件和执行工具。 |
| Plan | 只读规划。OpenCode 会避免编辑文件。 |
你在 OpenCode 中定义的主 Agent 也会出现在同一个列表中。
另请参阅
- GitHub 上的使用现有的 OpenCode v2 服务器:让 Paseo 使用已经在运行的 OpenCode 服务器。
- Provider 选项:为通过 SDK 创建的 Agent 设置 OpenCode 权限规则。