diff --git a/CHANGELOG.md b/CHANGELOG.md index 96bb9aeee..18ee4a999 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -23,6 +23,7 @@ - **Plugin sidebar views:** Plugins can replace the sidebar with their own workspace and agent layout across connected hosts. Choose a view per device in Settings → Sidebar. ([#8906](https://github.com/getpaseo/paseo/pull/8906)) - **Plugin composer controls:** Plugins can add composer controls, edit drafts and attachments, and change agent settings. They can also add New workspace items and save metadata on agents and workspaces. ([#8744](https://github.com/getpaseo/paseo/pull/8744), [#9209](https://github.com/getpaseo/paseo/pull/9209), [#9207](https://github.com/getpaseo/paseo/pull/9207), [#9734](https://github.com/getpaseo/paseo/pull/9734) by [@michaelmwu](https://github.com/michaelmwu)) - **Arrange Usage cards:** Drag provider cards into your preferred order and turn off cards you do not want in the sidebar summary. Choose the host from Usage settings. ([#9660](https://github.com/getpaseo/paseo/pull/9660), [#9740](https://github.com/getpaseo/paseo/pull/9740), [#9748](https://github.com/getpaseo/paseo/pull/9748), [#9780](https://github.com/getpaseo/paseo/pull/9780)) +- **fx provider:** Run [fx](https://paseo.sh/docs/supported-providers/fx), the coding agent from Vercel Labs, in Paseo. Add it from the provider catalog in Settings → Hosts → Providers. ([#9160](https://github.com/getpaseo/paseo/pull/9160)) - **Quieter app reopening:** Returning to an unchanged chat no longer flashes “Updating messages.” Paseo keeps healthy connections open and recovers dropped connections when you return. After reconnecting, an up-to-date chat no longer shows an extra update toast. ([#9242](https://github.com/getpaseo/paseo/pull/9242), [#8651](https://github.com/getpaseo/paseo/pull/8651), [#9086](https://github.com/getpaseo/paseo/pull/9086), [#8855](https://github.com/getpaseo/paseo/pull/8855), [#9116](https://github.com/getpaseo/paseo/pull/9116), [#9558](https://github.com/getpaseo/paseo/pull/9558) by [@adamcstephens](https://github.com/adamcstephens)) - **Rebuilt mobile chat:** Expanding turn summaries, todo cards and tool groups keeps your reading position on iOS and Android. Sending during a scroll moves to the new prompt. ([#8717](https://github.com/getpaseo/paseo/pull/8717), [#9085](https://github.com/getpaseo/paseo/pull/9085), [#9806](https://github.com/getpaseo/paseo/pull/9806), [#9693](https://github.com/getpaseo/paseo/pull/9693)) - **Faster diff loading:** Changes shows the file tree before file contents finish loading. Large diffs load in batches and take priority over background worktree scans. ([#8907](https://github.com/getpaseo/paseo/pull/8907), [#9241](https://github.com/getpaseo/paseo/pull/9241), [#9243](https://github.com/getpaseo/paseo/pull/9243), [#9584](https://github.com/getpaseo/paseo/pull/9584)) @@ -36,7 +37,6 @@ - Added a Change base picker for worktree diffs, commits and Git actions ([#8642](https://github.com/getpaseo/paseo/pull/8642), [#8934](https://github.com/getpaseo/paseo/pull/8934) by [@Myasuka](https://github.com/Myasuka)) - Added issue and pull request links that resolve SSH aliases and fork parent repositories ([#8636](https://github.com/getpaseo/paseo/pull/8636), [#9576](https://github.com/getpaseo/paseo/pull/9576)) - Added an iPhone Duo layout with the sidebar and workspace on opposite sides of the fold ([#8741](https://github.com/getpaseo/paseo/pull/8741), [#8901](https://github.com/getpaseo/paseo/pull/8901) by [@zeyugao](https://github.com/zeyugao)) -- Added fx as a provider you can add from the provider catalog in Settings → Hosts → Providers ([#9160](https://github.com/getpaseo/paseo/pull/9160)) - Added background agents that stay out of tabs, notifications and default agent lists ([#8683](https://github.com/getpaseo/paseo/pull/8683)) - Added syntax highlighting for Terraform and HCL files (`.tf`, `.tfvars`, `.hcl`) ([#9106](https://github.com/getpaseo/paseo/pull/9106)) - Added `PASEO_WORKSPACE_ID` to each agent's environment so an agent can identify, rename or archive its own workspace ([#8939](https://github.com/getpaseo/paseo/pull/8939) by [@DTTerastar](https://github.com/DTTerastar)) diff --git a/CHANGELOG.zh-CN.md b/CHANGELOG.zh-CN.md index 62dc8df5f..d2d8b12e5 100644 --- a/CHANGELOG.zh-CN.md +++ b/CHANGELOG.zh-CN.md @@ -23,6 +23,7 @@ - **插件侧边栏视图**:插件可以用自己的布局替换侧边栏,展示已连接主机上的工作区和 Agent。在“设置 → 侧边栏”中为每台设备选择视图。 ([#8906](https://github.com/getpaseo/paseo/pull/8906)) - **插件 Composer 控件**:插件可以添加 Composer 控件、编辑草稿和附件,以及更改 Agent 设置。插件还可以添加“新建工作区”条目,并在 Agent 和工作区上保存元数据。 ([#8744](https://github.com/getpaseo/paseo/pull/8744), [#9209](https://github.com/getpaseo/paseo/pull/9209), [#9207](https://github.com/getpaseo/paseo/pull/9207), [#9734](https://github.com/getpaseo/paseo/pull/9734),贡献者:[@michaelmwu](https://github.com/michaelmwu)) - **排列用量卡片**:拖动 Provider 卡片来调整顺序,并关闭不想在侧边栏摘要中显示的卡片。在用量设置中选择主机。 ([#9660](https://github.com/getpaseo/paseo/pull/9660), [#9740](https://github.com/getpaseo/paseo/pull/9740), [#9748](https://github.com/getpaseo/paseo/pull/9748), [#9780](https://github.com/getpaseo/paseo/pull/9780)) +- **fx Provider**:在 Paseo 中运行 Vercel Labs 的编程 Agent [fx](https://paseo.sh/zh-CN/docs/supported-providers/fx)。在“设置 → Hosts → 提供方”的 Provider 目录中添加。 ([#9160](https://github.com/getpaseo/paseo/pull/9160)) - **返回应用时更少提示**:返回没有变化的聊天时,不再闪现“正在更新消息”。Paseo 会保留可用的连接,并在你返回时恢复断开的连接。重连后,已是最新状态的聊天也不再显示额外的更新提示。 ([#9242](https://github.com/getpaseo/paseo/pull/9242), [#8651](https://github.com/getpaseo/paseo/pull/8651), [#9086](https://github.com/getpaseo/paseo/pull/9086), [#8855](https://github.com/getpaseo/paseo/pull/8855), [#9116](https://github.com/getpaseo/paseo/pull/9116), [#9558](https://github.com/getpaseo/paseo/pull/9558),贡献者:[@adamcstephens](https://github.com/adamcstephens)) - **重建移动端聊天**:在 iOS 和 Android 上展开轮次摘要、待办卡片和工具组时,阅读位置保持不变。滚动期间发送消息会移到新提示词处。 ([#8717](https://github.com/getpaseo/paseo/pull/8717), [#9085](https://github.com/getpaseo/paseo/pull/9085), [#9806](https://github.com/getpaseo/paseo/pull/9806), [#9693](https://github.com/getpaseo/paseo/pull/9693)) - **更快的 diff 加载**:“更改”在文件内容加载完成前先显示文件树。大型 diff 分批加载,且优先于后台 worktree 扫描。 ([#8907](https://github.com/getpaseo/paseo/pull/8907), [#9241](https://github.com/getpaseo/paseo/pull/9241), [#9243](https://github.com/getpaseo/paseo/pull/9243), [#9584](https://github.com/getpaseo/paseo/pull/9584)) @@ -36,7 +37,6 @@ - 为 worktree 的 diff、提交和 Git 操作新增基准分支选择器(Change base) ([#8642](https://github.com/getpaseo/paseo/pull/8642), [#8934](https://github.com/getpaseo/paseo/pull/8934),贡献者:[@Myasuka](https://github.com/Myasuka)) - 新增可解析 SSH 别名和 fork 上游仓库的 Issue 和 PR 链接 ([#8636](https://github.com/getpaseo/paseo/pull/8636), [#9576](https://github.com/getpaseo/paseo/pull/9576)) - 新增 iPhone Duo 布局,侧边栏和工作区分列折痕两侧 ([#8741](https://github.com/getpaseo/paseo/pull/8741), [#8901](https://github.com/getpaseo/paseo/pull/8901),贡献者:[@zeyugao](https://github.com/zeyugao)) -- 新增 fx Provider,可在“设置 → Hosts → 提供方”的 Provider 目录中添加 ([#9160](https://github.com/getpaseo/paseo/pull/9160)) - 新增后台 Agent,不占用标签页、不发送通知,也不出现在默认 Agent 列表中 ([#8683](https://github.com/getpaseo/paseo/pull/8683)) - 新增 Terraform 和 HCL 文件(`.tf`、`.tfvars`、`.hcl`)的语法高亮 ([#9106](https://github.com/getpaseo/paseo/pull/9106)) - 在每个 Agent 的环境中新增 `PASEO_WORKSPACE_ID`,Agent 可据此识别、重命名或归档自己的工作区 ([#8939](https://github.com/getpaseo/paseo/pull/8939),贡献者:[@DTTerastar](https://github.com/DTTerastar)) diff --git a/README.md b/README.md index 1f6df3c3e..eab59ebee 100644 --- a/README.md +++ b/README.md @@ -91,8 +91,12 @@ You need at least one agent CLI installed and configured with your credentials: - [GitHub Copilot](https://github.com/features/copilot/cli/) - [OpenCode](https://github.com/anomalyco/opencode) - [Pi](https://pi.dev) -- [Antigravity](https://paseo.sh/docs/supported-providers#antigravity) -- [Muse Code](https://paseo.sh/docs/muse-code) +- [Antigravity](https://paseo.sh/docs/supported-providers/antigravity) +- [Muse Code](https://paseo.sh/docs/supported-providers/muse-code) +- [fx](https://paseo.sh/docs/supported-providers/fx) +- [Hoplite](https://paseo.sh/docs/supported-providers/hoplite) + +Paseo also runs Cursor, Gemini CLI, and many other agents. See [Supported providers](https://paseo.sh/docs/supported-providers) for the full list and setup steps. ### Desktop app (recommended) diff --git a/docs/plugins.md b/docs/plugins.md index 61f21cd61..a9895f2ae 100644 --- a/docs/plugins.md +++ b/docs/plugins.md @@ -129,7 +129,7 @@ availability and a diagnostic after the daemon resolves the executable. Configur environment, or enablement overrides under `agents.providers.muse`. Omit `extends` to keep the bundled integration; an entry with `extends` shadows it with a custom provider. See [provider contributions](#contribute-a-provider) for the contract and -[Muse Code](../public-docs/muse-code.md) for setup, per-agent options, and version limitations. +[Muse Code](../public-docs/supported-providers/muse-code.md) for setup, per-agent options, and version limitations. ## Install from a registry diff --git a/docs/providers.md b/docs/providers.md index 6d9ea2a6a..84a471514 100644 --- a/docs/providers.md +++ b/docs/providers.md @@ -19,8 +19,8 @@ provider icon map. You do not need a core manifest entry or provider factory. | Provider | Transport | Setup and limitations | | ----------- | ------------------------------------------ | ---------------------------------------------------------------- | -| Antigravity | Installed `agy` CLI | [Antigravity](../public-docs/supported-providers.md#antigravity) | -| Muse Code | MSP over one `muse serve` host per session | [Muse Code](../public-docs/muse-code.md) | +| Antigravity | Installed `agy` CLI | [Antigravity](../public-docs/supported-providers/antigravity.md) | +| Muse Code | MSP over one `muse serve` host per session | [Muse Code](../public-docs/supported-providers/muse-code.md) | ## Provider-native session options diff --git a/packages/website/src/assets/agent-icons/fx.svg b/packages/website/src/assets/agent-icons/fx.svg new file mode 100644 index 000000000..82849ca8d --- /dev/null +++ b/packages/website/src/assets/agent-icons/fx.svg @@ -0,0 +1 @@ + diff --git a/packages/website/src/assets/agent-icons/hoplite.svg b/packages/website/src/assets/agent-icons/hoplite.svg new file mode 100644 index 000000000..ed585a908 --- /dev/null +++ b/packages/website/src/assets/agent-icons/hoplite.svg @@ -0,0 +1 @@ + diff --git a/packages/website/src/components/landing-page.tsx b/packages/website/src/components/landing-page.tsx index d6fa15f3d..8afa87a3a 100644 --- a/packages/website/src/components/landing-page.tsx +++ b/packages/website/src/components/landing-page.tsx @@ -1370,7 +1370,7 @@ const FAQ_ENTRIES = [ const FAQ_LINKS = { relay: "/docs/security", agents: "/agents", - muse: "/docs/muse-code", + muse: "/docs/supported-providers/muse-code", voice: "/docs/voice", configuration: "/docs/configuration", worktrees: "/docs/worktrees", diff --git a/packages/website/src/data/agent-pages.ts b/packages/website/src/data/agent-pages.ts index a5dc135a4..5e98bdd7d 100644 --- a/packages/website/src/data/agent-pages.ts +++ b/packages/website/src/data/agent-pages.ts @@ -25,6 +25,8 @@ export const AGENT_PAGES = [ { slug: "cursor", name: "Cursor" }, { slug: "muse-code", name: "Muse Code" }, { slug: "antigravity", name: "Antigravity" }, + { slug: "fx", name: "fx" }, + { slug: "hoplite", name: "Hoplite" }, { slug: "copilot", name: "GitHub Copilot" }, { slug: "gemini", name: "Gemini CLI" }, { slug: "hermes", name: "Hermes Agent" }, diff --git a/packages/website/src/docs.ts b/packages/website/src/docs.ts index 896d86daf..152525335 100644 --- a/packages/website/src/docs.ts +++ b/packages/website/src/docs.ts @@ -162,6 +162,10 @@ export function getDoc(slug: string, locale: Locale): Doc | undefined { } export function getLegacyDocsRedirect(pathname: string): string | undefined { + // These provider pages sat at the top level before they moved under Supported providers. + const provider = /^\/docs\/(claude-code|codex|muse-code)(\.md)?\/?$/.exec(pathname); + if (provider) return `/docs/supported-providers/${provider[1]}${provider[2] ?? ""}`; + const match = /^\/docs\/plugins\/v0\.[78](?:(\.md)|\/(index|reference|providers|migration)(\.md)?)?\/?$/.exec( pathname, @@ -294,6 +298,21 @@ export function buildDocsNavTree(docs: Doc[]): DocsNavNode[] { return root; } +function navHrefs(nodes: DocsNavNode[]): string[] { + return nodes.flatMap((node) => { + if (node.type === "page") return [node.href]; + const own = node.type === "group" && node.href !== undefined ? [node.href] : []; + return [...own, ...navHrefs(node.children)]; + }); +} + +/** Every doc in a language, in the order the sidebar lists them. */ +export function getDocsInSidebarOrder(locale: Locale): Doc[] { + const docs = getDocs(locale); + const byHref = new Map(docs.map((doc) => [doc.href, doc])); + return navHrefs(buildDocsNavTree(docs)).flatMap((href) => byHref.get(href) ?? []); +} + function findNodePath( nodes: DocsNavNode[], href: string, diff --git a/packages/website/src/i18n/resources/en.json b/packages/website/src/i18n/resources/en.json index 9326886f4..bbd4cc111 100644 --- a/packages/website/src/i18n/resources/en.json +++ b/packages/website/src/i18n/resources/en.json @@ -124,6 +124,18 @@ "metaTitle": "Antigravity Mobile and Desktop App, Open Source", "metaDescription": "Run your installed Antigravity CLI through Paseo. Watch agents work and review changes from your phone or desktop. Self-hosted, your code stays on your machine." }, + "fx": { + "title": "Open source app for fx", + "subtitle": "Run Vercel Labs' fx on your machine and drive it from your phone or desktop.", + "metaTitle": "fx Mobile and Desktop App, Open Source", + "metaDescription": "Open source mobile and desktop app for fx, the coding agent from Vercel Labs. Run your installed fx CLI, watch agents work, and review changes from anywhere. Self-hosted." + }, + "hoplite": { + "title": "Open source app for Hoplite", + "subtitle": "Drive Hoplite's cloud coding agent from your phone or desktop, next to your other agents.", + "metaTitle": "Hoplite Mobile and Desktop App, Open Source", + "metaDescription": "Open source mobile and desktop app for Hoplite. Start Hoplite's cloud coding agent through your installed Hoplite CLI, watch it work, and review changes from anywhere." + }, "copilot": { "title": "Open source app for GitHub Copilot", "subtitle": "Drive GitHub Copilot from your phone or desktop. Same account, same machine, ship without sitting down at your desk.", @@ -333,7 +345,7 @@ "metaTitle": "Supported agents – Every coding agent Paseo runs", "metaDescription": "Run Claude Code, Codex, OpenCode, Pi, OMP, Cursor, Muse Code, Antigravity, and dozens more coding agents from your phone. Self-hosted, your code stays on your machine.", "title": "Supported agents", - "intro": "Paseo supports many agents natively, it can run any ACP agent and you can implement new providers via plugins." + "intro": "Paseo supports many agents natively. It also runs any ACP agent, and you can add new providers with plugins." }, "landing": { "socialProof": { diff --git a/packages/website/src/i18n/resources/zh-CN.json b/packages/website/src/i18n/resources/zh-CN.json index 7c1d8d961..9e28140f9 100644 --- a/packages/website/src/i18n/resources/zh-CN.json +++ b/packages/website/src/i18n/resources/zh-CN.json @@ -124,6 +124,18 @@ "metaTitle": "Antigravity 开源移动端与桌面端应用", "metaDescription": "通过 Paseo 运行你已安装的 Antigravity CLI。在手机或桌面端观察 Agent 工作并审查改动。自托管,代码留在你的机器上。" }, + "fx": { + "title": "fx 的开源应用", + "subtitle": "在你的机器上运行 Vercel Labs 的 fx,从手机或桌面端操控。", + "metaTitle": "fx 开源移动端与桌面端应用", + "metaDescription": "Vercel Labs 编程 Agent fx 的开源移动端与桌面端应用。运行你已安装的 fx CLI,随时随地观察 Agent 工作并审查改动。自托管。" + }, + "hoplite": { + "title": "Hoplite 的开源应用", + "subtitle": "从手机或桌面端操控 Hoplite 的云端编程 Agent,与你的其他 Agent 并列使用。", + "metaTitle": "Hoplite 开源移动端与桌面端应用", + "metaDescription": "Hoplite 的开源移动端与桌面端应用。通过你已安装的 Hoplite CLI 启动 Hoplite 的云端编程 Agent,随时随地观察它工作并审查改动。" + }, "copilot": { "title": "GitHub Copilot 的开源应用", "subtitle": "从手机或桌面端操控 GitHub Copilot。同一个账号,同一台机器,不必坐在桌前也能交付。", @@ -333,7 +345,7 @@ "metaTitle": "支持的 Agent – Paseo 可运行的所有编程 Agent", "metaDescription": "在手机上运行 Claude Code、Codex、OpenCode、Pi、OMP、Cursor、Muse Code、Antigravity 以及数十个其他编程 Agent。自托管,代码留在你的机器上。", "title": "支持的 Agent", - "intro": "Paseo 原生支持许多 Agent,可以运行任何 ACP Agent,你还可以通过插件实现新的 Provider。" + "intro": "Paseo 原生支持许多 Agent,还可以运行任何 ACP Agent,你也可以通过插件添加新的 Provider。" }, "landing": { "socialProof": { diff --git a/packages/website/src/llms.ts b/packages/website/src/llms.ts index 83c791d8f..d1382727b 100644 --- a/packages/website/src/llms.ts +++ b/packages/website/src/llms.ts @@ -1,6 +1,6 @@ import { getAlternativePages } from "~/data/alternative-pages"; import { AGENT_PAGES, getAgentPage } from "~/data/agent-pages"; -import { type Doc, getDocs } from "~/docs"; +import { type Doc, getDocsInSidebarOrder } from "~/docs"; import { getTranslator, type Locale, localizePath, withLocalePrefix } from "~/i18n"; const SITE_URL = "https://paseo.sh"; @@ -144,14 +144,10 @@ function alternativeLine( return `- [${page.title}](${absoluteUrl(page.href, locale)})${suffix}`; } -function topLevelDocs(locale: Locale): Doc[] { - return getDocs(locale).filter((d) => !d.slug.includes("/")); -} - /** The site index for language models, in a language: `/llms.txt` or `/zh-CN/llms.txt`. */ export function buildLlmsTxt(locale: Locale): string { const copy = COPY[locale]; - const docs = topLevelDocs(locale) + const docs = getDocsInSidebarOrder(locale) .map((doc) => docLine(doc, locale)) .join("\n"); const alternatives = getAlternativePages(locale) diff --git a/packages/website/src/plugin-docs-navigation.test.ts b/packages/website/src/plugin-docs-navigation.test.ts index a3e537620..ce08c991f 100644 --- a/packages/website/src/plugin-docs-navigation.test.ts +++ b/packages/website/src/plugin-docs-navigation.test.ts @@ -1,5 +1,88 @@ import { describe, expect, it } from "vitest"; import { buildDocsNavTree, getDoc, getDocs, getLegacyDocsRedirect, parseHeadings } from "./docs"; +import { buildLlmsTxt } from "./llms"; + +describe("docs frontmatter", () => { + it.each(["en", "zh-CN"] as const)("gives every %s page a title and a description", (locale) => { + const incomplete = getDocs(locale) + .filter((doc) => !doc.frontmatter.title || !doc.frontmatter.description) + .map((doc) => doc.sourcePath); + expect(incomplete).toEqual([]); + }); + + it("puts every page in a sidebar category", () => { + const uncategorized = getDocs("en") + .filter((doc) => !doc.frontmatter.category) + .map((doc) => doc.sourcePath); + expect(uncategorized).toEqual([]); + }); +}); + +describe("provider documentation", () => { + it.each(["en", "zh-CN"] as const)( + "nests each provider page under Supported providers in %s", + (locale) => { + const providers = buildDocsNavTree(getDocs(locale)).find( + (node) => node.type === "category" && node.label === "Providers", + ); + expect(providers).toMatchObject({ + children: [ + { type: "page", href: "/docs/providers" }, + { + type: "group", + href: "/docs/supported-providers", + children: [ + { href: "/docs/supported-providers/antigravity" }, + { href: "/docs/supported-providers/claude-code" }, + { href: "/docs/supported-providers/codex" }, + { href: "/docs/supported-providers/fx" }, + { href: "/docs/supported-providers/github-copilot" }, + { href: "/docs/supported-providers/hoplite" }, + { href: "/docs/supported-providers/muse-code" }, + { href: "/docs/supported-providers/omp" }, + { href: "/docs/supported-providers/opencode" }, + { href: "/docs/supported-providers/pi" }, + ], + }, + { type: "page", href: "/docs/custom-providers" }, + ], + }); + }, + ); + + it.each([ + ["en", "https://paseo.sh/docs"], + ["zh-CN", "https://paseo.sh/zh-CN/docs"], + ] as const)( + "lists each provider page in the %s llms.txt, in sidebar order", + (locale, docsUrl) => { + const llms = buildLlmsTxt(locale); + const positions = [ + "supported-providers.md", + "supported-providers/antigravity.md", + "supported-providers/codex.md", + "supported-providers/pi.md", + "custom-providers.md", + ].map((page) => llms.indexOf(`(${docsUrl}/${page})`)); + + expect(positions).not.toContain(-1); + expect(positions).toEqual([...positions].sort((a, b) => a - b)); + }, + ); + + it.each(["claude-code", "codex", "muse-code"])( + "redirects the old top-level %s link to the page under Supported providers", + (slug) => { + const target = `/docs/supported-providers/${slug}`; + expect(getDoc(target.slice("/docs/".length), "en")).toBeDefined(); + for (const extension of ["", ".md"]) { + expect(getLegacyDocsRedirect(`/docs/${slug}${extension}`)).toBe(`${target}${extension}`); + expect(getLegacyDocsRedirect(`/docs/${slug}${extension}/`)).toBe(`${target}${extension}`); + expect(getLegacyDocsRedirect(`${target}${extension}`)).toBeUndefined(); + } + }, + ); +}); describe("plugin documentation", () => { it.each(["en", "zh-CN"] as const)( @@ -32,6 +115,7 @@ describe("plugin documentation", () => { { type: "page", label: "Quickstart", href: "/docs/plugins" }, { type: "page", label: "Publishing", href: "/docs/plugins/publishing" }, { type: "page", label: "Provider plugins", href: "/docs/plugins/providers" }, + { type: "page", label: "Sidebar views", href: "/docs/plugins/sidebar-views" }, { type: "page", label: "Migration", href: "/docs/plugins/migration" }, { type: "page", label: "Hooks", href: "/docs/plugins/hooks" }, { type: "page", label: "Reference", href: "/docs/plugins/reference" }, diff --git a/packages/website/src/routeTree.gen.ts b/packages/website/src/routeTree.gen.ts index 6010ca304..1813c0ee1 100644 --- a/packages/website/src/routeTree.gen.ts +++ b/packages/website/src/routeTree.gen.ts @@ -31,11 +31,13 @@ import { Route as Char123LocaleChar125KimiRouteImport } from "./routes/{-$locale import { Route as Char123LocaleChar125KiloRouteImport } from "./routes/{-$locale}/kilo"; import { Route as Char123LocaleChar125JunieRouteImport } from "./routes/{-$locale}/junie"; import { Route as Char123LocaleChar125HubRouteImport } from "./routes/{-$locale}/hub"; +import { Route as Char123LocaleChar125HopliteRouteImport } from "./routes/{-$locale}/hoplite"; import { Route as Char123LocaleChar125HermesRouteImport } from "./routes/{-$locale}/hermes"; import { Route as Char123LocaleChar125GrokRouteImport } from "./routes/{-$locale}/grok"; import { Route as Char123LocaleChar125GooseRouteImport } from "./routes/{-$locale}/goose"; import { Route as Char123LocaleChar125GlmRouteImport } from "./routes/{-$locale}/glm"; import { Route as Char123LocaleChar125GeminiRouteImport } from "./routes/{-$locale}/gemini"; +import { Route as Char123LocaleChar125FxRouteImport } from "./routes/{-$locale}/fx"; import { Route as Char123LocaleChar125FastAgentRouteImport } from "./routes/{-$locale}/fast-agent"; import { Route as Char123LocaleChar125FactoryDroidRouteImport } from "./routes/{-$locale}/factory-droid"; import { Route as Char123LocaleChar125DownloadRouteImport } from "./routes/{-$locale}/download"; @@ -209,6 +211,12 @@ const Char123LocaleChar125HubRoute = Char123LocaleChar125HubRouteImport.update({ path: "/hub", getParentRoute: () => Char123LocaleChar125RouteRoute, } as any); +const Char123LocaleChar125HopliteRoute = + Char123LocaleChar125HopliteRouteImport.update({ + id: "/hoplite", + path: "/hoplite", + getParentRoute: () => Char123LocaleChar125RouteRoute, + } as any); const Char123LocaleChar125HermesRoute = Char123LocaleChar125HermesRouteImport.update({ id: "/hermes", @@ -238,6 +246,11 @@ const Char123LocaleChar125GeminiRoute = path: "/gemini", getParentRoute: () => Char123LocaleChar125RouteRoute, } as any); +const Char123LocaleChar125FxRoute = Char123LocaleChar125FxRouteImport.update({ + id: "/fx", + path: "/fx", + getParentRoute: () => Char123LocaleChar125RouteRoute, +} as any); const Char123LocaleChar125FastAgentRoute = Char123LocaleChar125FastAgentRouteImport.update({ id: "/fast-agent", @@ -523,11 +536,13 @@ export interface FileRoutesByFullPath { "/{-$locale}/download": typeof Char123LocaleChar125DownloadRoute; "/{-$locale}/factory-droid": typeof Char123LocaleChar125FactoryDroidRoute; "/{-$locale}/fast-agent": typeof Char123LocaleChar125FastAgentRoute; + "/{-$locale}/fx": typeof Char123LocaleChar125FxRoute; "/{-$locale}/gemini": typeof Char123LocaleChar125GeminiRoute; "/{-$locale}/glm": typeof Char123LocaleChar125GlmRoute; "/{-$locale}/goose": typeof Char123LocaleChar125GooseRoute; "/{-$locale}/grok": typeof Char123LocaleChar125GrokRoute; "/{-$locale}/hermes": typeof Char123LocaleChar125HermesRoute; + "/{-$locale}/hoplite": typeof Char123LocaleChar125HopliteRoute; "/{-$locale}/hub": typeof Char123LocaleChar125HubRoute; "/{-$locale}/junie": typeof Char123LocaleChar125JunieRoute; "/{-$locale}/kilo": typeof Char123LocaleChar125KiloRoute; @@ -592,11 +607,13 @@ export interface FileRoutesByTo { "/{-$locale}/download": typeof Char123LocaleChar125DownloadRoute; "/{-$locale}/factory-droid": typeof Char123LocaleChar125FactoryDroidRoute; "/{-$locale}/fast-agent": typeof Char123LocaleChar125FastAgentRoute; + "/{-$locale}/fx": typeof Char123LocaleChar125FxRoute; "/{-$locale}/gemini": typeof Char123LocaleChar125GeminiRoute; "/{-$locale}/glm": typeof Char123LocaleChar125GlmRoute; "/{-$locale}/goose": typeof Char123LocaleChar125GooseRoute; "/{-$locale}/grok": typeof Char123LocaleChar125GrokRoute; "/{-$locale}/hermes": typeof Char123LocaleChar125HermesRoute; + "/{-$locale}/hoplite": typeof Char123LocaleChar125HopliteRoute; "/{-$locale}/hub": typeof Char123LocaleChar125HubRoute; "/{-$locale}/junie": typeof Char123LocaleChar125JunieRoute; "/{-$locale}/kilo": typeof Char123LocaleChar125KiloRoute; @@ -665,11 +682,13 @@ export interface FileRoutesById { "/{-$locale}/download": typeof Char123LocaleChar125DownloadRoute; "/{-$locale}/factory-droid": typeof Char123LocaleChar125FactoryDroidRoute; "/{-$locale}/fast-agent": typeof Char123LocaleChar125FastAgentRoute; + "/{-$locale}/fx": typeof Char123LocaleChar125FxRoute; "/{-$locale}/gemini": typeof Char123LocaleChar125GeminiRoute; "/{-$locale}/glm": typeof Char123LocaleChar125GlmRoute; "/{-$locale}/goose": typeof Char123LocaleChar125GooseRoute; "/{-$locale}/grok": typeof Char123LocaleChar125GrokRoute; "/{-$locale}/hermes": typeof Char123LocaleChar125HermesRoute; + "/{-$locale}/hoplite": typeof Char123LocaleChar125HopliteRoute; "/{-$locale}/hub": typeof Char123LocaleChar125HubRoute; "/{-$locale}/junie": typeof Char123LocaleChar125JunieRoute; "/{-$locale}/kilo": typeof Char123LocaleChar125KiloRoute; @@ -739,11 +758,13 @@ export interface FileRouteTypes { | "/{-$locale}/download" | "/{-$locale}/factory-droid" | "/{-$locale}/fast-agent" + | "/{-$locale}/fx" | "/{-$locale}/gemini" | "/{-$locale}/glm" | "/{-$locale}/goose" | "/{-$locale}/grok" | "/{-$locale}/hermes" + | "/{-$locale}/hoplite" | "/{-$locale}/hub" | "/{-$locale}/junie" | "/{-$locale}/kilo" @@ -808,11 +829,13 @@ export interface FileRouteTypes { | "/{-$locale}/download" | "/{-$locale}/factory-droid" | "/{-$locale}/fast-agent" + | "/{-$locale}/fx" | "/{-$locale}/gemini" | "/{-$locale}/glm" | "/{-$locale}/goose" | "/{-$locale}/grok" | "/{-$locale}/hermes" + | "/{-$locale}/hoplite" | "/{-$locale}/hub" | "/{-$locale}/junie" | "/{-$locale}/kilo" @@ -880,11 +903,13 @@ export interface FileRouteTypes { | "/{-$locale}/download" | "/{-$locale}/factory-droid" | "/{-$locale}/fast-agent" + | "/{-$locale}/fx" | "/{-$locale}/gemini" | "/{-$locale}/glm" | "/{-$locale}/goose" | "/{-$locale}/grok" | "/{-$locale}/hermes" + | "/{-$locale}/hoplite" | "/{-$locale}/hub" | "/{-$locale}/junie" | "/{-$locale}/kilo" @@ -1086,6 +1111,13 @@ declare module "@tanstack/react-router" { preLoaderRoute: typeof Char123LocaleChar125HubRouteImport; parentRoute: typeof Char123LocaleChar125RouteRoute; }; + "/{-$locale}/hoplite": { + id: "/{-$locale}/hoplite"; + path: "/hoplite"; + fullPath: "/{-$locale}/hoplite"; + preLoaderRoute: typeof Char123LocaleChar125HopliteRouteImport; + parentRoute: typeof Char123LocaleChar125RouteRoute; + }; "/{-$locale}/hermes": { id: "/{-$locale}/hermes"; path: "/hermes"; @@ -1121,6 +1153,13 @@ declare module "@tanstack/react-router" { preLoaderRoute: typeof Char123LocaleChar125GeminiRouteImport; parentRoute: typeof Char123LocaleChar125RouteRoute; }; + "/{-$locale}/fx": { + id: "/{-$locale}/fx"; + path: "/fx"; + fullPath: "/{-$locale}/fx"; + preLoaderRoute: typeof Char123LocaleChar125FxRouteImport; + parentRoute: typeof Char123LocaleChar125RouteRoute; + }; "/{-$locale}/fast-agent": { id: "/{-$locale}/fast-agent"; path: "/fast-agent"; @@ -1483,11 +1522,13 @@ interface Char123LocaleChar125RouteRouteChildren { Char123LocaleChar125DownloadRoute: typeof Char123LocaleChar125DownloadRoute; Char123LocaleChar125FactoryDroidRoute: typeof Char123LocaleChar125FactoryDroidRoute; Char123LocaleChar125FastAgentRoute: typeof Char123LocaleChar125FastAgentRoute; + Char123LocaleChar125FxRoute: typeof Char123LocaleChar125FxRoute; Char123LocaleChar125GeminiRoute: typeof Char123LocaleChar125GeminiRoute; Char123LocaleChar125GlmRoute: typeof Char123LocaleChar125GlmRoute; Char123LocaleChar125GooseRoute: typeof Char123LocaleChar125GooseRoute; Char123LocaleChar125GrokRoute: typeof Char123LocaleChar125GrokRoute; Char123LocaleChar125HermesRoute: typeof Char123LocaleChar125HermesRoute; + Char123LocaleChar125HopliteRoute: typeof Char123LocaleChar125HopliteRoute; Char123LocaleChar125HubRoute: typeof Char123LocaleChar125HubRoute; Char123LocaleChar125JunieRoute: typeof Char123LocaleChar125JunieRoute; Char123LocaleChar125KiloRoute: typeof Char123LocaleChar125KiloRoute; @@ -1553,11 +1594,13 @@ const Char123LocaleChar125RouteRouteChildren: Char123LocaleChar125RouteRouteChil Char123LocaleChar125FactoryDroidRoute: Char123LocaleChar125FactoryDroidRoute, Char123LocaleChar125FastAgentRoute: Char123LocaleChar125FastAgentRoute, + Char123LocaleChar125FxRoute: Char123LocaleChar125FxRoute, Char123LocaleChar125GeminiRoute: Char123LocaleChar125GeminiRoute, Char123LocaleChar125GlmRoute: Char123LocaleChar125GlmRoute, Char123LocaleChar125GooseRoute: Char123LocaleChar125GooseRoute, Char123LocaleChar125GrokRoute: Char123LocaleChar125GrokRoute, Char123LocaleChar125HermesRoute: Char123LocaleChar125HermesRoute, + Char123LocaleChar125HopliteRoute: Char123LocaleChar125HopliteRoute, Char123LocaleChar125HubRoute: Char123LocaleChar125HubRoute, Char123LocaleChar125JunieRoute: Char123LocaleChar125JunieRoute, Char123LocaleChar125KiloRoute: Char123LocaleChar125KiloRoute, diff --git a/packages/website/src/routes/{-$locale}/fx.tsx b/packages/website/src/routes/{-$locale}/fx.tsx new file mode 100644 index 000000000..522ae08f6 --- /dev/null +++ b/packages/website/src/routes/{-$locale}/fx.tsx @@ -0,0 +1,4 @@ +import { createFileRoute } from "@tanstack/react-router"; +import { agentRouteOptions } from "~/components/agent-route"; + +export const Route = createFileRoute("/{-$locale}/fx")(agentRouteOptions("fx")); diff --git a/packages/website/src/routes/{-$locale}/hoplite.tsx b/packages/website/src/routes/{-$locale}/hoplite.tsx new file mode 100644 index 000000000..4ca1b4e48 --- /dev/null +++ b/packages/website/src/routes/{-$locale}/hoplite.tsx @@ -0,0 +1,4 @@ +import { createFileRoute } from "@tanstack/react-router"; +import { agentRouteOptions } from "~/components/agent-route"; + +export const Route = createFileRoute("/{-$locale}/hoplite")(agentRouteOptions("hoplite")); diff --git a/public-docs/custom-providers.md b/public-docs/custom-providers.md index 8cc80add1..49f087653 100644 --- a/public-docs/custom-providers.md +++ b/public-docs/custom-providers.md @@ -20,7 +20,7 @@ Run `paseo reload` after editing the file. Provider changes apply to future laun Provider IDs must be lowercase alphanumeric with hyphens (`/^[a-z][a-z0-9-]*$/`). A new custom provider needs `extends` (a first-class provider ID or `"acp"`) and a `label`. To override a bundled provider plugin, use its provider ID and omit `extends`. For -[Muse Code](/docs/muse-code), set command or environment overrides under `agents.providers.muse`. +[Muse Code](/docs/supported-providers/muse-code), set command or environment overrides under `agents.providers.muse`. The examples below are a quick tour. The full, up-to-date reference is on GitHub: [docs/custom-providers.md](https://github.com/getpaseo/paseo/blob/main/docs/custom-providers.md). diff --git a/public-docs/custom-providers.zh-CN.md b/public-docs/custom-providers.zh-CN.md index b38a4eb24..ed139a85e 100644 --- a/public-docs/custom-providers.zh-CN.md +++ b/public-docs/custom-providers.zh-CN.md @@ -16,7 +16,7 @@ nav: 自定义 Provider 编辑文件后运行 `paseo reload`。Provider 的修改会应用到之后的启动,无需重启 daemon。 -Provider ID 必须是小写字母、数字和连字符(`/^[a-z][a-z0-9-]*$/`)。新的自定义 Provider 需要 `extends`(一个一等 Provider ID 或 `"acp"`)和 `label`。要覆盖内置的 Provider 插件,请使用它的 Provider ID 并省略 `extends`。对于 [Muse Code](/docs/muse-code),在 `agents.providers.muse` 下设置命令或环境变量覆盖。 +Provider ID 必须是小写字母、数字和连字符(`/^[a-z][a-z0-9-]*$/`)。新的自定义 Provider 需要 `extends`(一个一等 Provider ID 或 `"acp"`)和 `label`。要覆盖内置的 Provider 插件,请使用它的 Provider ID 并省略 `extends`。对于 [Muse Code](/docs/supported-providers/muse-code),在 `agents.providers.muse` 下设置命令或环境变量覆盖。 下面的示例只是快速浏览。完整、最新的参考在 GitHub 上:[docs/custom-providers.md](https://github.com/getpaseo/paseo/blob/main/docs/custom-providers.md)。 diff --git a/public-docs/plugins/hooks.md b/public-docs/plugins/hooks.md index f4283ca74..ec498f591 100644 --- a/public-docs/plugins/hooks.md +++ b/public-docs/plugins/hooks.md @@ -2,7 +2,7 @@ title: Plugin hooks description: Register hooks to change requests or observe agent and workspace operations. nav: Hooks -order: 48 +order: 49 category: Plugins --- diff --git a/public-docs/plugins/migration.md b/public-docs/plugins/migration.md index 6021e193f..2afbee391 100644 --- a/public-docs/plugins/migration.md +++ b/public-docs/plugins/migration.md @@ -2,7 +2,7 @@ title: Migrate a plugin to runtime entries description: Mechanical migration from a mixed plugin entry to explicit client and server entries. nav: Migration -order: 47 +order: 48 category: Plugins --- diff --git a/public-docs/plugins/reference.md b/public-docs/plugins/reference.md index 692313bc5..d0297512b 100644 --- a/public-docs/plugins/reference.md +++ b/public-docs/plugins/reference.md @@ -2,7 +2,7 @@ title: Plugin reference description: Local plugin files, client and server runtimes, platform limits, contributions, RPCs, lifecycle, hosts, and CLI commands. nav: Reference -order: 49 +order: 50 category: Plugins --- diff --git a/public-docs/plugins/sidebar-views.md b/public-docs/plugins/sidebar-views.md index e32470af2..cdd3ecb6e 100644 --- a/public-docs/plugins/sidebar-views.md +++ b/public-docs/plugins/sidebar-views.md @@ -1,3 +1,11 @@ +--- +title: Build a sidebar view +description: Replace the content of Paseo's sidebar with your own React Native view. +nav: Sidebar views +order: 47 +category: Plugins +--- + # Build a sidebar view A sidebar view replaces the content between Paseo's header and footer. You receive theme tokens, diff --git a/public-docs/plugins/sidebar-views.zh-CN.md b/public-docs/plugins/sidebar-views.zh-CN.md index fb7b685a1..697fcc44f 100644 --- a/public-docs/plugins/sidebar-views.zh-CN.md +++ b/public-docs/plugins/sidebar-views.zh-CN.md @@ -1,3 +1,9 @@ +--- +title: 构建侧边栏视图 +description: 用你自己的 React Native 视图替换 Paseo 侧边栏的内容。 +nav: 侧边栏视图 +--- + # 构建侧边栏视图 {#build-a-sidebar-view} 侧边栏视图替换 Paseo 页眉与页脚之间的内容。插件接收主题令牌、当前实体引用和导航方法,使用 React Native 绘制自己的界面。安装[侧边栏视图示例](https://github.com/getpaseo/paseo/tree/main/plugin-examples/sidebar-views),体验项目列表、按任务分组的 Agent、嵌套 Agent 和标签文件夹。 diff --git a/public-docs/providers.md b/public-docs/providers.md index fc23bff78..2ede82e2a 100644 --- a/public-docs/providers.md +++ b/public-docs/providers.md @@ -1,6 +1,6 @@ --- title: Providers -description: How Paseo thinks about coding agents, wrapping existing CLIs, native vs ACP support, and where to go next. +description: How Paseo thinks about coding agents, wrapping existing CLIs, native support and ACP agents, and where to go next. nav: Providers order: 20 category: Providers @@ -16,10 +16,10 @@ To try the workflow, [run parallel tasks in separate worktrees](/docs/parallel-d A provider is the contract between Paseo and one external agent CLI: how to launch it, how to stream its output, how to send input back, what modes it supports. The actual binary lives on your machine and runs as a normal subprocess. -## Two tiers +## Native support and ACP agents -- **Native support**, Paseo ships a bundled adapter for the major agents (Claude Code, Codex, OpenCode, Pi, [Antigravity](/docs/supported-providers#antigravity), [Muse Code](/docs/muse-code)). Auto-discovered when the underlying CLI is installed, with mode metadata and voice support where applicable. -- **ACP catalog**, any agent speaking the [Agent Client Protocol](https://agentclientprotocol.com) is supported through a generic adapter. Paseo ships a curated catalog of one-click installs (Cursor, Gemini, GitHub Copilot, Hermes, Kimi, Qwen Code, and 25+ more), and you can add any other ACP agent yourself. +- **Native support.** Paseo ships an integration for each of these agents: [Antigravity](/docs/supported-providers/antigravity), [Claude Code](/docs/supported-providers/claude-code), [Codex](/docs/supported-providers/codex), [fx](/docs/supported-providers/fx), [GitHub Copilot](/docs/supported-providers/github-copilot), [Hoplite](/docs/supported-providers/hoplite), [Muse Code](/docs/supported-providers/muse-code), [Oh My Pi](/docs/supported-providers/omp), [OpenCode](/docs/supported-providers/opencode), and [Pi](/docs/supported-providers/pi). Most of them appear in Paseo when the CLI is installed, with mode metadata and voice support where applicable. +- **ACP agents.** Paseo runs any agent that speaks the [Agent Client Protocol](https://agentclientprotocol.com) through a generic adapter. The in-app catalog lists Cursor, Gemini CLI, Hermes, Kimi, Qwen Code, and 30+ more, and you can add any other ACP agent yourself. Either way, **you install the underlying CLI**. Paseo runs it. diff --git a/public-docs/providers.zh-CN.md b/public-docs/providers.zh-CN.md index b51b4a8f4..66fc6a577 100644 --- a/public-docs/providers.zh-CN.md +++ b/public-docs/providers.zh-CN.md @@ -1,6 +1,6 @@ --- title: Provider -description: Paseo 如何看待编程 Agent:封装现有 CLI、原生支持与 ACP 支持,以及接下来去哪里。 +description: Paseo 如何看待编程 Agent:封装现有 CLI、原生支持与 ACP Agent,以及接下来去哪里。 nav: Provider --- @@ -14,10 +14,10 @@ Paseo 在带有编辑器、终端、diff(桌面端还有浏览器)的工作 Provider 是 Paseo 与某个外部 Agent CLI 之间的约定:如何启动它、如何流式读取输出、如何回传输入、支持哪些模式。实际的二进制文件位于你的机器上,作为普通子进程运行。 -## 两个层级 {#two-tiers} +## 原生支持与 ACP Agent {#native-support-and-acp-agents} -- **原生支持**:Paseo 为主流 Agent(Claude Code、Codex、OpenCode、Pi、[Antigravity](/docs/supported-providers#antigravity)、[Muse Code](/docs/muse-code))内置了适配器。安装底层 CLI 后会被自动发现,并在适用时提供模式元数据和语音支持。 -- **ACP 目录**:任何使用 [Agent Client Protocol](https://agentclientprotocol.com) 的 Agent 都可以通过通用适配器获得支持。Paseo 提供一个精选目录,支持一键安装(Cursor、Gemini、GitHub Copilot、Hermes、Kimi、Qwen Code 等 25 个以上),你也可以自行添加任何其他 ACP Agent。 +- **原生支持**:Paseo 为以下每个 Agent 都提供了集成:[Antigravity](/docs/supported-providers/antigravity)、[Claude Code](/docs/supported-providers/claude-code)、[Codex](/docs/supported-providers/codex)、[fx](/docs/supported-providers/fx)、[GitHub Copilot](/docs/supported-providers/github-copilot)、[Hoplite](/docs/supported-providers/hoplite)、[Muse Code](/docs/supported-providers/muse-code)、[Oh My Pi](/docs/supported-providers/omp)、[OpenCode](/docs/supported-providers/opencode) 和 [Pi](/docs/supported-providers/pi)。其中大多数在安装 CLI 后就会出现在 Paseo 中,并在适用时提供模式元数据和语音支持。 +- **ACP Agent**:任何使用 [Agent Client Protocol](https://agentclientprotocol.com) 的 Agent 都可以通过通用适配器运行。应用内目录列出了 Cursor、Gemini CLI、Hermes、Kimi、Qwen Code 等 30 多个 Agent,你也可以自行添加任何其他 ACP Agent。 无论哪种方式,**底层 CLI 都由你安装**,Paseo 负责运行它。 diff --git a/public-docs/supported-providers.md b/public-docs/supported-providers.md deleted file mode 100644 index 1fe249a1e..000000000 --- a/public-docs/supported-providers.md +++ /dev/null @@ -1,133 +0,0 @@ ---- -title: Supported providers -description: Every coding agent Paseo can launch, natively supported providers and the ACP catalog. -nav: Supported providers -order: 21 -category: Providers ---- - -# Supported providers - -For the concept and how Paseo manages providers, see [Providers](/docs/providers). To add or configure your own, see [Custom providers](/docs/custom-providers). - -## Native support - -Work out of the box once the underlying CLI is installed and authenticated. - -- [Claude Code](https://docs.anthropic.com/en/docs/claude-code). Anthropic's coding agent with MCP support, streaming, and deep reasoning. -- [Codex](/docs/codex). OpenAI's workspace agent with sandbox controls and optional network access. -- [OpenCode](https://opencode.ai/). Open-source coding assistant with multi-provider model support. -- [Pi](https://pi.dev). Minimal terminal-based coding agent with multi-provider LLM support. -- [Antigravity](#antigravity). Uses your installed `agy` CLI through a built-in provider plugin. -- [Muse Code](/docs/muse-code). Meta's terminal coding agent, bundled as a provider plugin. - -### Antigravity - -Install the Antigravity CLI (`agy`) on your daemon host, then run `agy` once to sign in. Pick -**Antigravity** in Paseo. The provider ships with Paseo; no separate plugin install is required. - -**Full access** is the only permission mode. Antigravity cannot ask for permission when another -app drives it, so Paseo starts `agy` with `--dangerously-skip-permissions`. Every tool call, -including shell commands, runs without asking. Each session starts with a warning explaining -this, including when you reopen a chat. Antigravity's own policy can still deny -an action. - -After a daemon restart, Antigravity remembers the conversation, but Paseo's transcript starts -fresh because `agy` does not replay its history. - -This integration uses your installed CLI and sign-in. It is not endorsed by Google. - -Paseo MCP tools and steering are unavailable. Your own `agy` MCP servers still work. Attached -images are passed as file references for the agent to read. - -If `agy` is outside your daemon's PATH, override its command in `~/.paseo/config.json`. Use `env` -for provider-specific environment variables: - -```json -{ - "agents": { - "providers": { - "antigravity": { - "command": ["/absolute/path/to/agy"], - "env": { "EXAMPLE_VARIABLE": "value" } - } - } - } -} -``` - -See [Custom providers](/docs/custom-providers) for command and environment overrides. - -## ACP catalog - -Pick any of these from the in-app provider catalog. Each entry is a one-click install of the underlying CLI. - -- [Agoragentic](https://agoragentic.com), agent marketplace with 174+ AI capabilities. -- [Amp](https://github.com/tao12345666333/amp-acp), frontier coding agent. -- [Auggie CLI](https://www.augmentcode.com/), Augment Code's agent backed by their context engine. -- [Autohand Code](https://www.autohand.ai/cli/), Autohand AI's coding agent. -- [Cline](https://cline.bot/cli), autonomous coding agent. -- [Codebuddy Code](https://www.codebuddy.cn/cli/), Tencent Cloud's coding tool. -- [CodeWhale](https://codewhale.net/), terminal coding agent for DeepSeek V4 and open models. -- [Cortex Code](https://docs.snowflake.com/en/user-guide/cortex-code/cortex-code-cli), Snowflake's coding agent. -- [Corust Agent](https://github.com/Corust-ai/corust-agent-release/releases), Rust-focused coding partner. -- [crow-cli](https://crow-ai.dev/), minimal ACP-native coding agent. -- [Cursor](https://cursor.com/docs/cli/overview), Cursor's coding agent. -- [DeepAgents](https://docs.langchain.com/oss/javascript/deepagents/overview), LangChain-powered coding agent. -- [DimCode](https://dimcode.dev/docs/acp.html), multi-model coding agent. -- [Dirac](https://dirac.run), open-source agent with hash-anchored parallel edits. -- [Factory Droid](https://factory.ai/product/cli), Factory AI's coding agent. -- [fast-agent](https://fast-agent.ai/acp/), multi-provider coding agent. -- [fx](#fx), Vercel Labs' native coding agent. -- [Gajae Code](https://gajae-code.com), subscription-based coding agent with plan-before-mutation workflows. -- [Gemini CLI](https://geminicli.com), Google's official Gemini CLI. -- [GitHub Copilot](https://github.com/features/copilot/cli/), GitHub's AI pair programmer via ACP. -- [GLM Agent](https://github.com/stefandevo/glm-acp-agent), Zhipu AI's GLM coding agent. -- [goose](https://block.github.io/goose/), Block's local open-source AI agent. -- [Grok](https://docs.x.ai/build/overview), xAI's Grok Build agentic coding CLI. -- [Hermes Agent](https://hermes-agent.nousresearch.com/docs/user-guide/features/acp), Nous Research's self-improving agent. -- [Hoplite](#hoplite), cloud coding agent through its local ACP bridge. -- [Junie](https://junie.jetbrains.com/docs/junie-cli-acp.html), JetBrains' coding agent. -- [Kilo Code](https://kilo.ai/docs/code-with-ai/platforms/cli), open-source coding agent. -- [Kimi Code CLI](https://github.com/MoonshotAI/kimi-code), Moonshot AI's coding assistant. -- [Minion Code](https://github.com/femto/minion-code), Minion-framework coding agent. -- [Mistral Vibe](https://github.com/mistralai/mistral-vibe), Mistral's open-source CLI assistant. -- [Nova](https://www.compassap.ai/portfolio/nova.html), Compass AI's software engineer. -- [Poolside](https://docs.poolside.ai/cli/pool), Poolside's coding agent. -- [Qoder](https://qoder.com), agentic coding assistant. -- [Qwen Code](https://qwenlm.github.io/qwen-code-docs/en/users/overview), Alibaba's Qwen coding assistant. -- [siGit Code](https://github.com/getsigit/sigit), local-first coding agent with optional on-device LLM. -- [Stakpak](https://stakpak.dev/), Rust-based DevOps agent. -- [TRAE CLI](https://docs.trae.cn/cli_get-started-with-trae-cli), ByteDance's official TRAE coding agent. -- [VT Code](https://github.com/vinhnx/VTCode/blob/main/docs/guides/zed-acp.md), open-source multi-provider coding agent. - -The in-app catalog is the canonical, version-pinned source. Anything not listed here can still be added manually, see [Custom providers](/docs/custom-providers). - -### fx - -[Install fx](https://fx.sh/docs/getting-started/installation) on your daemon host and -[connect a provider](https://fx.sh/docs/getting-started/authentication), for example with -`fx login`. In **Settings → Hosts → your host → Providers**, find **fx** in the catalog and -choose **Add**. Paseo launches `fx acp` and uses your fx credentials and settings. Until fx has -credentials, the provider reports the sign-in message from fx. - -The model list comes from your active fx provider, so run `fx provider` to change the list a new -agent starts from. Changing an agent's permission mode also changes fx's saved permission mode. -See [fx's ACP guide](https://fx.sh/docs/using-fx/acp) for what fx supports. Use a -[command override](/docs/custom-providers) if `fx` is outside your daemon's PATH; keep `acp` in -the arguments. - -### Hoplite - -Install the [Hoplite CLI](https://hoplite.sh/docs/cli) on your daemon host and run -`hoplite login`. In **Settings → Hosts → your host → Providers**, find **Hoplite** -in the catalog and choose **Add**. Paseo launches `hoplite acp` through the generic ACP adapter. - -Hoplite runs the agent in a cloud workspace. Open a repository linked to a Hoplite project, -or set `agents.providers.hoplite.env.HOPLITE_PROJECT_ID` to use one project everywhere. -Without a linked repository or pinned project, discovery reports `No Hoplite project`. -Your local files and Paseo's loopback MCP tools are not available in that cloud workspace. - -See [Hoplite's ACP guide](https://hoplite.sh/docs/cli/acp) for authentication and project setup. -Use a [command override](/docs/custom-providers) if `hoplite` is outside your daemon's PATH; -keep `acp` in the arguments. diff --git a/public-docs/supported-providers.zh-CN.md b/public-docs/supported-providers.zh-CN.md deleted file mode 100644 index afb753843..000000000 --- a/public-docs/supported-providers.zh-CN.md +++ /dev/null @@ -1,108 +0,0 @@ ---- -title: 支持的 Provider -description: Paseo 可以启动的所有编程 Agent,包括原生支持的 Provider 和 ACP 目录。 -nav: 支持的 Provider ---- - -# 支持的 Provider {#supported-providers} - -关于 Provider 的概念以及 Paseo 如何管理 Provider,请参见 [Provider](/docs/providers)。要添加或配置你自己的 Provider,请参见[自定义 Provider](/docs/custom-providers)。 - -## 原生支持 {#native-support} - -安装底层 CLI 并完成认证后即可开箱使用。 - -- [Claude Code](https://docs.anthropic.com/en/docs/claude-code)。Anthropic 的编程 Agent,支持 MCP、流式输出和深度推理。 -- [Codex](/docs/codex)。OpenAI 的工作区 Agent,带有沙箱控制和可选的网络访问。 -- [OpenCode](https://opencode.ai/)。开源编程助手,支持多家 Provider 的模型。 -- [Pi](https://pi.dev)。极简的终端编程 Agent,支持多家 Provider 的 LLM。 -- [Antigravity](#antigravity)。通过内置的 Provider 插件使用你已安装的 `agy` CLI。 -- [Muse Code](/docs/muse-code)。Meta 的终端编程 Agent,以 Provider 插件的形式内置。 - -### Antigravity {#antigravity} - -在 daemon 主机上安装 Antigravity CLI(`agy`),然后运行一次 `agy` 登录。在 Paseo 中选择 **Antigravity**。该 Provider 随 Paseo 一起提供,无需另外安装插件。 - -**Full access** 是唯一的权限模式。当由其他应用驱动时,Antigravity 无法请求权限,因此 Paseo 会以 `--dangerously-skip-permissions` 启动 `agy`。每次工具调用(包括 shell 命令)都不会询问就直接运行。每个会话开始时都会显示一条说明此事的警告,重新打开聊天时也会显示。Antigravity 自己的策略仍然可以拒绝某个操作。 - -daemon 重启后,Antigravity 会记得对话,但 Paseo 的对话记录会重新开始,因为 `agy` 不会重放它的历史。 - -此集成使用你已安装的 CLI 和登录状态,未经 Google 认可。 - -Paseo MCP 工具和引导功能不可用。你自己为 `agy` 配置的 MCP 服务器仍然可用。附加的图片会以文件引用的形式传给 Agent 读取。 - -如果 `agy` 不在 daemon 的 PATH 中,请在 `~/.paseo/config.json` 中覆盖它的命令。使用 `env` 设置 Provider 专用的环境变量: - -```json -{ - "agents": { - "providers": { - "antigravity": { - "command": ["/absolute/path/to/agy"], - "env": { "EXAMPLE_VARIABLE": "value" } - } - } - } -} -``` - -命令和环境变量覆盖见[自定义 Provider](/docs/custom-providers)。 - -## ACP 目录 {#acp-catalog} - -在应用内的 Provider 目录中选择以下任意一个。每个条目都可以一键安装底层 CLI。 - -- [Agoragentic](https://agoragentic.com):拥有 174 种以上 AI 能力的 Agent 市场。 -- [Amp](https://github.com/tao12345666333/amp-acp):前沿的编程 Agent。 -- [Auggie CLI](https://www.augmentcode.com/):Augment Code 的 Agent,由其上下文引擎支撑。 -- [Autohand Code](https://www.autohand.ai/cli/):Autohand AI 的编程 Agent。 -- [Cline](https://cline.bot/cli):自主编程 Agent。 -- [Codebuddy Code](https://www.codebuddy.cn/cli/):腾讯云的编程工具。 -- [CodeWhale](https://codewhale.net/):面向 DeepSeek V4 和开放模型的终端编程 Agent。 -- [Cortex Code](https://docs.snowflake.com/en/user-guide/cortex-code/cortex-code-cli):Snowflake 的编程 Agent。 -- [Corust Agent](https://github.com/Corust-ai/corust-agent-release/releases):专注于 Rust 的编程伙伴。 -- [crow-cli](https://crow-ai.dev/):极简的原生 ACP 编程 Agent。 -- [Cursor](https://cursor.com/docs/cli/overview):Cursor 的编程 Agent。 -- [DeepAgents](https://docs.langchain.com/oss/javascript/deepagents/overview):基于 LangChain 的编程 Agent。 -- [DimCode](https://dimcode.dev/docs/acp.html):多模型编程 Agent。 -- [Dirac](https://dirac.run):开源 Agent,支持基于哈希锚点的并行编辑。 -- [Factory Droid](https://factory.ai/product/cli):Factory AI 的编程 Agent。 -- [fast-agent](https://fast-agent.ai/acp/):支持多家 Provider 的编程 Agent。 -- [fx](#fx):Vercel Labs 的原生编程 Agent。 -- [Gajae Code](https://gajae-code.com):订阅制编程 Agent,采用先规划再修改的工作流。 -- [Gemini CLI](https://geminicli.com):Google 官方的 Gemini CLI。 -- [GitHub Copilot](https://github.com/features/copilot/cli/):通过 ACP 接入的 GitHub AI 结对编程助手。 -- [GLM Agent](https://github.com/stefandevo/glm-acp-agent):智谱 AI 的 GLM 编程 Agent。 -- [goose](https://block.github.io/goose/):Block 的本地开源 AI Agent。 -- [Grok](https://docs.x.ai/build/overview):xAI 的 Grok Build Agent 编程 CLI。 -- [Hermes Agent](https://hermes-agent.nousresearch.com/docs/user-guide/features/acp):Nous Research 的自我改进型 Agent。 -- [Hoplite](#hoplite):通过本地 ACP 桥接入的云端编程 Agent。 -- [Junie](https://junie.jetbrains.com/docs/junie-cli-acp.html):JetBrains 的编程 Agent。 -- [Kilo Code](https://kilo.ai/docs/code-with-ai/platforms/cli):开源编程 Agent。 -- [Kimi Code CLI](https://github.com/MoonshotAI/kimi-code):月之暗面的编程助手。 -- [Minion Code](https://github.com/femto/minion-code):基于 Minion 框架的编程 Agent。 -- [Mistral Vibe](https://github.com/mistralai/mistral-vibe):Mistral 的开源 CLI 助手。 -- [Nova](https://www.compassap.ai/portfolio/nova.html):Compass AI 的软件工程师。 -- [Poolside](https://docs.poolside.ai/cli/pool):Poolside 的编程 Agent。 -- [Qoder](https://qoder.com):Agent 式编程助手。 -- [Qwen Code](https://qwenlm.github.io/qwen-code-docs/en/users/overview):阿里巴巴的通义千问编程助手。 -- [siGit Code](https://github.com/getsigit/sigit):本地优先的编程 Agent,可选使用设备端 LLM。 -- [Stakpak](https://stakpak.dev/):基于 Rust 的 DevOps Agent。 -- [TRAE CLI](https://docs.trae.cn/cli_get-started-with-trae-cli):字节跳动官方的 TRAE 编程 Agent。 -- [VT Code](https://github.com/vinhnx/VTCode/blob/main/docs/guides/zed-acp.md):开源的多 Provider 编程 Agent。 - -应用内目录是权威的、固定版本的来源。这里未列出的 Agent 仍然可以手动添加,参见[自定义 Provider](/docs/custom-providers)。 - -### fx {#fx} - -在 daemon 主机上[安装 fx](https://fx.sh/docs/getting-started/installation),并[连接一个模型提供方](https://fx.sh/docs/getting-started/authentication),例如运行 `fx login`。在 **设置 → Hosts → 你的主机 → Providers** 中,在目录里找到 **fx** 并选择 **Add**。Paseo 会启动 `fx acp`,并使用你的 fx 凭据和设置。在 fx 拿到凭据之前,该 provider 会显示 fx 给出的登录提示。 - -模型列表来自当前的 fx 提供方,运行 `fx provider` 可以更改新 Agent 使用的列表。更改 Agent 的权限模式也会更改 fx 保存的权限模式。fx 支持的功能见 [fx 的 ACP 指南](https://fx.sh/docs/using-fx/acp)。如果 `fx` 不在 daemon 的 PATH 中,请使用[命令覆盖](/docs/custom-providers),并在参数中保留 `acp`。 - -### Hoplite {#hoplite} - -在 daemon 主机上安装 [Hoplite CLI](https://hoplite.sh/docs/cli) 并运行 `hoplite login`。在 **设置 → Hosts → 你的主机 → Providers** 中,在目录里找到 **Hoplite** 并选择 **添加**。Paseo 会通过通用 ACP 适配器启动 `hoplite acp`。 - -Hoplite 在云端工作区中运行 Agent。请打开一个关联了 Hoplite 项目的仓库,或者设置 `agents.providers.hoplite.env.HOPLITE_PROJECT_ID`,在所有地方使用同一个项目。如果既没有关联的仓库也没有固定的项目,发现过程会报告 `No Hoplite project`。你的本地文件和 Paseo 的回环 MCP 工具在该云端工作区中不可用。 - -认证和项目设置见 [Hoplite 的 ACP 指南](https://hoplite.sh/docs/cli/acp)。如果 `hoplite` 不在 daemon 的 PATH 中,请使用[命令覆盖](/docs/custom-providers),并在参数中保留 `acp`。 diff --git a/public-docs/supported-providers/antigravity.md b/public-docs/supported-providers/antigravity.md new file mode 100644 index 000000000..4bcba629c --- /dev/null +++ b/public-docs/supported-providers/antigravity.md @@ -0,0 +1,42 @@ +--- +title: Antigravity +description: Install and configure Antigravity for Paseo. +nav: Antigravity +order: 23 +category: Providers +--- + +# Antigravity + +Run Antigravity in Paseo with your installed `agy` CLI and sign-in. This integration is not endorsed by Google. + +## Getting started + +Install the Antigravity CLI (`agy`) on your daemon host, then run `agy` once to sign in. In Paseo, select **Antigravity**. The provider ships with Paseo, so you do not install a plugin. + +If `agy` is outside your daemon's PATH, override its command in `~/.paseo/config.json`. Use `env` for provider-specific environment variables: + +```json +{ + "agents": { + "providers": { + "antigravity": { + "command": ["/absolute/path/to/agy"], + "env": { "EXAMPLE_VARIABLE": "value" } + } + } + } +} +``` + +See [Custom providers](/docs/custom-providers) for command and environment overrides. + +## Permissions + +**Full access** is the only permission mode. Antigravity cannot ask for permission when another app drives it, so Paseo starts `agy` with `--dangerously-skip-permissions`. Every tool call, including shell commands, runs without asking. Each session starts with a warning that explains this, including when you reopen a chat. Antigravity's own policy can still deny an action. + +## Limitations + +- Paseo MCP tools and steering are unavailable. Your own `agy` MCP servers still work. +- Attached images are passed as file references for the agent to read. +- After a daemon restart, Antigravity remembers the conversation, but Paseo's transcript starts fresh because `agy` does not replay its history. diff --git a/public-docs/supported-providers/antigravity.zh-CN.md b/public-docs/supported-providers/antigravity.zh-CN.md new file mode 100644 index 000000000..5cdcce41d --- /dev/null +++ b/public-docs/supported-providers/antigravity.zh-CN.md @@ -0,0 +1,40 @@ +--- +title: Antigravity +description: 为 Paseo 安装和配置 Antigravity。 +nav: Antigravity +--- + +# Antigravity {#antigravity} + +使用你已安装的 `agy` CLI 和登录状态,在 Paseo 中运行 Antigravity。此集成未经 Google 认可。 + +## 开始使用 {#getting-started} + +在 daemon 主机上安装 Antigravity CLI(`agy`),然后运行一次 `agy` 登录。在 Paseo 中选择 **Antigravity**。该 Provider 随 Paseo 一起提供,无需另外安装插件。 + +如果 `agy` 不在 daemon 的 PATH 中,请在 `~/.paseo/config.json` 中覆盖它的命令。使用 `env` 设置 Provider 专用的环境变量: + +```json +{ + "agents": { + "providers": { + "antigravity": { + "command": ["/absolute/path/to/agy"], + "env": { "EXAMPLE_VARIABLE": "value" } + } + } + } +} +``` + +命令和环境变量覆盖见[自定义 Provider](/docs/custom-providers)。 + +## 权限 {#permissions} + +**Full access** 是唯一的权限模式。当由其他应用驱动时,Antigravity 无法请求权限,因此 Paseo 会以 `--dangerously-skip-permissions` 启动 `agy`。每次工具调用(包括 shell 命令)都不会询问就直接运行。每个会话开始时都会显示一条说明此事的警告,重新打开聊天时也会显示。Antigravity 自己的策略仍然可以拒绝某个操作。 + +## 限制 {#limitations} + +- Paseo MCP 工具和引导功能不可用。你自己为 `agy` 配置的 MCP 服务器仍然可用。 +- 附加的图片会以文件引用的形式传给 Agent 读取。 +- daemon 重启后,Antigravity 会记得对话,但 Paseo 的对话记录会重新开始,因为 `agy` 不会重放它的历史。 diff --git a/public-docs/claude-code.md b/public-docs/supported-providers/claude-code.md similarity index 99% rename from public-docs/claude-code.md rename to public-docs/supported-providers/claude-code.md index 826d516b7..5ea07a2a6 100644 --- a/public-docs/claude-code.md +++ b/public-docs/supported-providers/claude-code.md @@ -2,7 +2,7 @@ title: Claude Code description: Run Claude Code in Paseo using your existing Claude plan. nav: Claude Code -order: 23 +order: 24 category: Providers --- diff --git a/public-docs/claude-code.zh-CN.md b/public-docs/supported-providers/claude-code.zh-CN.md similarity index 100% rename from public-docs/claude-code.zh-CN.md rename to public-docs/supported-providers/claude-code.zh-CN.md diff --git a/public-docs/codex.md b/public-docs/supported-providers/codex.md similarity index 99% rename from public-docs/codex.md rename to public-docs/supported-providers/codex.md index 2def47a8f..66599c1b0 100644 --- a/public-docs/codex.md +++ b/public-docs/supported-providers/codex.md @@ -2,7 +2,7 @@ title: Codex description: Run Codex in Paseo using the official Codex CLI and your existing OpenAI account. nav: Codex -order: 24 +order: 25 category: Providers --- diff --git a/public-docs/codex.zh-CN.md b/public-docs/supported-providers/codex.zh-CN.md similarity index 100% rename from public-docs/codex.zh-CN.md rename to public-docs/supported-providers/codex.zh-CN.md diff --git a/public-docs/supported-providers/fx.md b/public-docs/supported-providers/fx.md new file mode 100644 index 000000000..e86372a4c --- /dev/null +++ b/public-docs/supported-providers/fx.md @@ -0,0 +1,29 @@ +--- +title: fx +description: Install and configure fx for Paseo. +nav: fx +order: 26 +category: Providers +--- + +# fx + +Run fx, the coding agent from Vercel Labs, in Paseo with your existing fx installation and credentials. + +## Getting started + +1. [Install fx](https://fx.sh/docs/getting-started/installation) on your daemon host. +2. [Connect fx to a model provider](https://fx.sh/docs/getting-started/authentication), for example with `fx login`. +3. In Paseo, open **Settings → Hosts → your host → Providers**, find **fx** in the catalog, and choose **Add**. + +Paseo launches `fx acp` and uses your fx credentials and settings. Until fx has credentials, the provider reports the sign-in message from fx. + +If `fx` is outside your daemon's PATH, use a [command override](/docs/custom-providers) and keep `acp` in the arguments. + +## Models and permissions + +The model list comes from the model provider that is active in fx. Run `fx provider` to change the list that a new agent starts from. + +Changing an agent's permission mode in Paseo also changes fx's saved permission mode. + +See [fx's ACP guide](https://fx.sh/docs/using-fx/acp) for what fx supports. diff --git a/public-docs/supported-providers/fx.zh-CN.md b/public-docs/supported-providers/fx.zh-CN.md new file mode 100644 index 000000000..d0fcc799c --- /dev/null +++ b/public-docs/supported-providers/fx.zh-CN.md @@ -0,0 +1,27 @@ +--- +title: fx +description: 为 Paseo 安装和配置 fx。 +nav: fx +--- + +# fx {#fx} + +使用你现有的 fx 安装和凭据,在 Paseo 中运行 Vercel Labs 的编程 Agent fx。 + +## 开始使用 {#getting-started} + +1. 在 daemon 主机上[安装 fx](https://fx.sh/docs/getting-started/installation)。 +2. [为 fx 连接一个模型提供方](https://fx.sh/docs/getting-started/authentication),例如运行 `fx login`。 +3. 在 Paseo 中打开 **设置 → Hosts → 你的主机 → Providers**,在目录里找到 **fx** 并选择 **添加**。 + +Paseo 会启动 `fx acp`,并使用你的 fx 凭据和设置。在 fx 拿到凭据之前,该 Provider 会显示 fx 给出的登录提示。 + +如果 `fx` 不在 daemon 的 PATH 中,请使用[命令覆盖](/docs/custom-providers),并在参数中保留 `acp`。 + +## 模型和权限 {#models-and-permissions} + +模型列表来自 fx 中当前启用的模型提供方。运行 `fx provider` 可以更改新 Agent 使用的列表。 + +在 Paseo 中更改 Agent 的权限模式,也会更改 fx 保存的权限模式。 + +fx 支持的功能见 [fx 的 ACP 指南](https://fx.sh/docs/using-fx/acp)。 diff --git a/public-docs/supported-providers/github-copilot.md b/public-docs/supported-providers/github-copilot.md new file mode 100644 index 000000000..5cb2af816 --- /dev/null +++ b/public-docs/supported-providers/github-copilot.md @@ -0,0 +1,29 @@ +--- +title: GitHub Copilot +description: Install the GitHub Copilot CLI and run it in Paseo. +nav: GitHub Copilot +order: 27 +category: Providers +--- + +# GitHub Copilot + +Run GitHub Copilot in Paseo with your existing `copilot` CLI and GitHub account. + +## Getting started + +1. Install the [GitHub Copilot CLI](https://github.com/features/copilot/cli/) on your daemon host. +2. Run `copilot` in a terminal and sign in to GitHub. +3. In Paseo, choose **Copilot** when you start an agent. + +Paseo launches `copilot --acp` and uses the sign-in that the CLI already has. If `copilot` is outside your daemon's PATH, use a [command override](/docs/custom-providers#custom-binary) and keep `--acp` in the arguments. + +## Modes + +**Agent** is the default mode. + +| Mode | Effect | +| --------- | ------------------------------------------------------------- | +| Agent | The default mode for conversational work. | +| Plan | Copilot creates multi-step plans and executes them. | +| Allow All | Copilot approves every tool, path, and URL request by itself. | diff --git a/public-docs/supported-providers/github-copilot.zh-CN.md b/public-docs/supported-providers/github-copilot.zh-CN.md new file mode 100644 index 000000000..d0a37d6ae --- /dev/null +++ b/public-docs/supported-providers/github-copilot.zh-CN.md @@ -0,0 +1,27 @@ +--- +title: GitHub Copilot +description: 安装 GitHub Copilot CLI 并在 Paseo 中运行。 +nav: GitHub Copilot +--- + +# GitHub Copilot {#github-copilot} + +使用你现有的 `copilot` CLI 和 GitHub 账号,在 Paseo 中运行 GitHub Copilot。 + +## 开始使用 {#getting-started} + +1. 在 daemon 主机上安装 [GitHub Copilot CLI](https://github.com/features/copilot/cli/)。 +2. 在终端中运行 `copilot` 并登录 GitHub。 +3. 在 Paseo 中启动 Agent 时选择 **Copilot**。 + +Paseo 会启动 `copilot --acp`,并使用 CLI 已有的登录状态。如果 `copilot` 不在 daemon 的 PATH 中,请使用[命令覆盖](/docs/custom-providers#custom-binary),并在参数中保留 `--acp`。 + +## 模式 {#modes} + +**Agent** 是默认模式。 + +| 模式 | 效果 | +| --------- | ------------------------------------------- | +| Agent | 用于对话式工作的默认模式。 | +| Plan | Copilot 创建多步骤计划并执行。 | +| Allow All | Copilot 自行批准所有工具、路径和 URL 请求。 | diff --git a/public-docs/supported-providers/hoplite.md b/public-docs/supported-providers/hoplite.md new file mode 100644 index 000000000..87dd98302 --- /dev/null +++ b/public-docs/supported-providers/hoplite.md @@ -0,0 +1,27 @@ +--- +title: Hoplite +description: Install and configure Hoplite for Paseo. +nav: Hoplite +order: 28 +category: Providers +--- + +# Hoplite + +Run Hoplite's cloud coding agent in Paseo through the Hoplite CLI on your daemon host. + +## Getting started + +1. Install the [Hoplite CLI](https://hoplite.sh/docs/cli) on your daemon host. +2. Run `hoplite login`. +3. In Paseo, open **Settings → Hosts → your host → Providers**, find **Hoplite** in the catalog, and choose **Add**. + +Paseo launches `hoplite acp`. See [Hoplite's ACP guide](https://hoplite.sh/docs/cli/acp) for authentication and project setup. + +If `hoplite` is outside your daemon's PATH, use a [command override](/docs/custom-providers) and keep `acp` in the arguments. + +## Projects and the cloud workspace + +Hoplite runs the agent in a cloud workspace. Your local files and Paseo's loopback MCP tools are not available in that cloud workspace. + +Open a repository that is linked to a Hoplite project, or set `agents.providers.hoplite.env.HOPLITE_PROJECT_ID` to use one project everywhere. Without a linked repository or a pinned project, discovery reports `No Hoplite project`. diff --git a/public-docs/supported-providers/hoplite.zh-CN.md b/public-docs/supported-providers/hoplite.zh-CN.md new file mode 100644 index 000000000..8a4627816 --- /dev/null +++ b/public-docs/supported-providers/hoplite.zh-CN.md @@ -0,0 +1,25 @@ +--- +title: Hoplite +description: 为 Paseo 安装和配置 Hoplite。 +nav: Hoplite +--- + +# Hoplite {#hoplite} + +通过 daemon 主机上的 Hoplite CLI,在 Paseo 中运行 Hoplite 的云端编程 Agent。 + +## 开始使用 {#getting-started} + +1. 在 daemon 主机上安装 [Hoplite CLI](https://hoplite.sh/docs/cli)。 +2. 运行 `hoplite login`。 +3. 在 Paseo 中打开 **设置 → Hosts → 你的主机 → Providers**,在目录里找到 **Hoplite** 并选择 **添加**。 + +Paseo 会启动 `hoplite acp`。认证和项目设置见 [Hoplite 的 ACP 指南](https://hoplite.sh/docs/cli/acp)。 + +如果 `hoplite` 不在 daemon 的 PATH 中,请使用[命令覆盖](/docs/custom-providers),并在参数中保留 `acp`。 + +## 项目和云端工作区 {#projects-and-the-cloud-workspace} + +Hoplite 在云端工作区中运行 Agent。你的本地文件和 Paseo 的回环 MCP 工具在该云端工作区中不可用。 + +请打开一个关联了 Hoplite 项目的仓库,或者设置 `agents.providers.hoplite.env.HOPLITE_PROJECT_ID`,在所有地方使用同一个项目。如果既没有关联的仓库也没有固定的项目,发现过程会报告 `No Hoplite project`。 diff --git a/public-docs/supported-providers/index.md b/public-docs/supported-providers/index.md new file mode 100644 index 000000000..120836ebc --- /dev/null +++ b/public-docs/supported-providers/index.md @@ -0,0 +1,73 @@ +--- +title: Supported providers +description: Every coding agent Paseo can launch, with native support or through ACP. +nav: Supported providers +order: 21 +category: Providers +--- + +# Supported providers + +Paseo runs coding agents that you install and sign in to on your daemon host. For how Paseo manages providers, see [Providers](/docs/providers). To add an agent that is not listed here, see [Custom providers](/docs/custom-providers). + +## Native support + +Paseo ships an integration for each of these agents. + +- [Antigravity](/docs/supported-providers/antigravity), runs through your installed `agy` CLI. +- [Claude Code](/docs/supported-providers/claude-code), Anthropic's coding agent. +- [Codex](/docs/supported-providers/codex), OpenAI's workspace agent. +- [fx](/docs/supported-providers/fx), Vercel Labs' coding agent. +- [GitHub Copilot](/docs/supported-providers/github-copilot), GitHub's AI pair programmer. +- [Hoplite](/docs/supported-providers/hoplite), cloud coding agent. +- [Muse Code](/docs/supported-providers/muse-code), Meta's terminal coding agent. +- [Oh My Pi](/docs/supported-providers/omp), multi-provider coding agent. +- [OpenCode](/docs/supported-providers/opencode), open-source coding assistant. +- [Pi](/docs/supported-providers/pi), minimal terminal coding agent. + +## More agents through ACP + +Paseo runs any agent that speaks the [Agent Client Protocol](https://agentclientprotocol.com) (ACP). The in-app catalog lists the agents below. + +To add one, open **Settings → Hosts → your host → Providers**, find the agent in the catalog, and choose **Add**. Entries that launch through `npx` or `uvx` need only that tool on your daemon host. For the other entries, install the CLI of the agent first. Each entry links to its install instructions. + +- [Agoragentic](https://agoragentic.com), agent marketplace with 174+ AI capabilities. +- [Amp](https://github.com/tao12345666333/amp-acp), frontier coding agent. +- [Auggie CLI](https://www.augmentcode.com/), Augment Code's agent backed by their context engine. +- [Autohand Code](https://www.autohand.ai/cli/), Autohand AI's coding agent. +- [Cline](https://cline.bot/cli), autonomous coding agent. +- [Codebuddy Code](https://www.codebuddy.cn/cli/), Tencent Cloud's coding tool. +- [CodeWhale](https://codewhale.net/), terminal coding agent for DeepSeek V4 and open models. +- [Cortex Code](https://docs.snowflake.com/en/user-guide/cortex-code/cortex-code-cli), Snowflake's coding agent. +- [Corust Agent](https://github.com/Corust-ai/corust-agent-release/releases), Rust-focused coding partner. +- [crow-cli](https://crow-ai.dev/), minimal ACP-native coding agent. +- [Cursor](https://cursor.com/docs/cli/overview), Cursor's coding agent. +- [DeepAgents](https://docs.langchain.com/oss/javascript/deepagents/overview), LangChain-powered coding agent. +- [Devin CLI](https://cli.devin.ai/docs), Cognition's Devin for the terminal. +- [DimCode](https://dimcode.dev/docs/acp.html), multi-model coding agent. +- [Dirac](https://dirac.run), open-source agent with hash-anchored parallel edits. +- [Factory Droid](https://factory.ai/product/cli), Factory AI's coding agent. +- [fast-agent](https://fast-agent.ai/acp/), multi-provider coding agent. +- [Gajae Code](https://gajae-code.com), subscription-based coding agent with plan-before-mutation workflows. +- [Gemini CLI](https://geminicli.com), Google's official Gemini CLI. +- [GLM Agent](https://github.com/stefandevo/glm-acp-agent), Zhipu AI's GLM coding agent. +- [goose](https://block.github.io/goose/), Block's local open-source AI agent. +- [Grok](https://docs.x.ai/build/overview), xAI's Grok Build agentic coding CLI. +- [Hermes Agent](https://hermes-agent.nousresearch.com/docs/user-guide/features/acp), Nous Research's self-improving agent. +- [Junie](https://junie.jetbrains.com/docs/junie-cli-acp.html), JetBrains' coding agent. +- [Kilo Code](https://kilo.ai/docs/code-with-ai/platforms/cli), open-source coding agent. +- [Kimi Code CLI](https://github.com/MoonshotAI/kimi-code), Moonshot AI's coding assistant. +- [Kiro CLI](https://kiro.dev/docs/cli/acp/), Amazon's coding agent. +- [MiniMax Code](https://agent.minimax.io), MiniMax's terminal coding agent. +- [Minion Code](https://github.com/femto/minion-code), Minion-framework coding agent. +- [Mistral Vibe](https://github.com/mistralai/mistral-vibe), Mistral's open-source CLI assistant. +- [Nova](https://www.compassap.ai/portfolio/nova.html), Compass AI's software engineer. +- [Poolside](https://docs.poolside.ai/cli/pool), Poolside's coding agent. +- [Qoder](https://qoder.com), agentic coding assistant. +- [Qwen Code](https://qwenlm.github.io/qwen-code-docs/en/users/overview), Alibaba's Qwen coding assistant. +- [siGit Code](https://github.com/getsigit/sigit), local-first coding agent with optional on-device LLM. +- [Stakpak](https://stakpak.dev/), Rust-based DevOps agent. +- [TRAE CLI](https://docs.trae.cn/cli_get-started-with-trae-cli), ByteDance's official TRAE coding agent. +- [VT Code](https://github.com/vinhnx/VTCode/blob/main/docs/guides/zed-acp.md), open-source multi-provider coding agent. + +The in-app catalog is the version-pinned source of this list. To add an agent that the catalog does not list, see [Custom providers](/docs/custom-providers#acp-providers). diff --git a/public-docs/supported-providers/index.zh-CN.md b/public-docs/supported-providers/index.zh-CN.md new file mode 100644 index 000000000..9fecf4f30 --- /dev/null +++ b/public-docs/supported-providers/index.zh-CN.md @@ -0,0 +1,71 @@ +--- +title: 支持的 Provider +description: Paseo 可以启动的所有编程 Agent,包括原生支持的 Provider 和通过 ACP 运行的 Agent。 +nav: 支持的 Provider +--- + +# 支持的 Provider {#supported-providers} + +Paseo 运行由你在 daemon 主机上安装并登录的编程 Agent。关于 Paseo 如何管理 Provider,请参见 [Provider](/docs/providers)。要添加这里未列出的 Agent,请参见[自定义 Provider](/docs/custom-providers)。 + +## 原生支持 {#native-support} + +Paseo 为以下每个 Agent 都提供了集成。 + +- [Antigravity](/docs/supported-providers/antigravity):通过你已安装的 `agy` CLI 运行。 +- [Claude Code](/docs/supported-providers/claude-code):Anthropic 的编程 Agent。 +- [Codex](/docs/supported-providers/codex):OpenAI 的工作区 Agent。 +- [fx](/docs/supported-providers/fx):Vercel Labs 的编程 Agent。 +- [GitHub Copilot](/docs/supported-providers/github-copilot):GitHub 的 AI 结对编程助手。 +- [Hoplite](/docs/supported-providers/hoplite):云端编程 Agent。 +- [Muse Code](/docs/supported-providers/muse-code):Meta 的终端编程 Agent。 +- [Oh My Pi](/docs/supported-providers/omp):支持多家 Provider 的编程 Agent。 +- [OpenCode](/docs/supported-providers/opencode):开源编程助手。 +- [Pi](/docs/supported-providers/pi):极简的终端编程 Agent。 + +## 通过 ACP 运行的更多 Agent {#more-agents-through-acp} + +Paseo 可以运行任何使用 [Agent Client Protocol](https://agentclientprotocol.com)(ACP)的 Agent。应用内目录列出了以下 Agent。 + +要添加其中一个,请打开 **设置 → Hosts → 你的主机 → Providers**,在目录里找到该 Agent 并选择 **添加**。通过 `npx` 或 `uvx` 启动的条目只需要 daemon 主机上有该工具。其他条目请先安装该 Agent 的 CLI。每个条目都附有安装说明的链接。 + +- [Agoragentic](https://agoragentic.com):拥有 174 种以上 AI 能力的 Agent 市场。 +- [Amp](https://github.com/tao12345666333/amp-acp):前沿的编程 Agent。 +- [Auggie CLI](https://www.augmentcode.com/):Augment Code 的 Agent,由其上下文引擎支撑。 +- [Autohand Code](https://www.autohand.ai/cli/):Autohand AI 的编程 Agent。 +- [Cline](https://cline.bot/cli):自主编程 Agent。 +- [Codebuddy Code](https://www.codebuddy.cn/cli/):腾讯云的编程工具。 +- [CodeWhale](https://codewhale.net/):面向 DeepSeek V4 和开放模型的终端编程 Agent。 +- [Cortex Code](https://docs.snowflake.com/en/user-guide/cortex-code/cortex-code-cli):Snowflake 的编程 Agent。 +- [Corust Agent](https://github.com/Corust-ai/corust-agent-release/releases):专注于 Rust 的编程伙伴。 +- [crow-cli](https://crow-ai.dev/):极简的原生 ACP 编程 Agent。 +- [Cursor](https://cursor.com/docs/cli/overview):Cursor 的编程 Agent。 +- [DeepAgents](https://docs.langchain.com/oss/javascript/deepagents/overview):基于 LangChain 的编程 Agent。 +- [Devin CLI](https://cli.devin.ai/docs):Cognition 面向终端的 Devin。 +- [DimCode](https://dimcode.dev/docs/acp.html):多模型编程 Agent。 +- [Dirac](https://dirac.run):开源 Agent,支持基于哈希锚点的并行编辑。 +- [Factory Droid](https://factory.ai/product/cli):Factory AI 的编程 Agent。 +- [fast-agent](https://fast-agent.ai/acp/):支持多家 Provider 的编程 Agent。 +- [Gajae Code](https://gajae-code.com):订阅制编程 Agent,采用先规划再修改的工作流。 +- [Gemini CLI](https://geminicli.com):Google 官方的 Gemini CLI。 +- [GLM Agent](https://github.com/stefandevo/glm-acp-agent):智谱 AI 的 GLM 编程 Agent。 +- [goose](https://block.github.io/goose/):Block 的本地开源 AI Agent。 +- [Grok](https://docs.x.ai/build/overview):xAI 的 Grok Build Agent 编程 CLI。 +- [Hermes Agent](https://hermes-agent.nousresearch.com/docs/user-guide/features/acp):Nous Research 的自我改进型 Agent。 +- [Junie](https://junie.jetbrains.com/docs/junie-cli-acp.html):JetBrains 的编程 Agent。 +- [Kilo Code](https://kilo.ai/docs/code-with-ai/platforms/cli):开源编程 Agent。 +- [Kimi Code CLI](https://github.com/MoonshotAI/kimi-code):月之暗面的编程助手。 +- [Kiro CLI](https://kiro.dev/docs/cli/acp/):Amazon 的编程 Agent。 +- [MiniMax Code](https://agent.minimax.io):MiniMax 的终端编程 Agent。 +- [Minion Code](https://github.com/femto/minion-code):基于 Minion 框架的编程 Agent。 +- [Mistral Vibe](https://github.com/mistralai/mistral-vibe):Mistral 的开源 CLI 助手。 +- [Nova](https://www.compassap.ai/portfolio/nova.html):Compass AI 的软件工程师。 +- [Poolside](https://docs.poolside.ai/cli/pool):Poolside 的编程 Agent。 +- [Qoder](https://qoder.com):Agent 式编程助手。 +- [Qwen Code](https://qwenlm.github.io/qwen-code-docs/en/users/overview):阿里巴巴的通义千问编程助手。 +- [siGit Code](https://github.com/getsigit/sigit):本地优先的编程 Agent,可选使用设备端 LLM。 +- [Stakpak](https://stakpak.dev/):基于 Rust 的 DevOps Agent。 +- [TRAE CLI](https://docs.trae.cn/cli_get-started-with-trae-cli):字节跳动官方的 TRAE 编程 Agent。 +- [VT Code](https://github.com/vinhnx/VTCode/blob/main/docs/guides/zed-acp.md):开源的多 Provider 编程 Agent。 + +应用内目录是此列表的固定版本来源。要添加目录中没有的 Agent,请参见[自定义 Provider](/docs/custom-providers#acp-providers)。 diff --git a/public-docs/muse-code.md b/public-docs/supported-providers/muse-code.md similarity index 99% rename from public-docs/muse-code.md rename to public-docs/supported-providers/muse-code.md index 83dea4d24..7f7f89ba3 100644 --- a/public-docs/muse-code.md +++ b/public-docs/supported-providers/muse-code.md @@ -2,7 +2,7 @@ title: Muse Code description: Install and configure Muse Code for Paseo. nav: Muse Code -order: 25 +order: 29 category: Providers --- diff --git a/public-docs/muse-code.zh-CN.md b/public-docs/supported-providers/muse-code.zh-CN.md similarity index 100% rename from public-docs/muse-code.zh-CN.md rename to public-docs/supported-providers/muse-code.zh-CN.md diff --git a/public-docs/supported-providers/omp.md b/public-docs/supported-providers/omp.md new file mode 100644 index 000000000..09949b917 --- /dev/null +++ b/public-docs/supported-providers/omp.md @@ -0,0 +1,46 @@ +--- +title: Oh My Pi +description: Install and turn on Oh My Pi for Paseo. +nav: Oh My Pi +order: 30 +category: Providers +--- + +# Oh My Pi + +Run Oh My Pi (OMP) in Paseo with your existing `omp` installation and settings. + +## Getting started + +1. Install [Oh My Pi](https://github.com/can1357/oh-my-pi) on your daemon host and make sure that `omp` runs in a terminal. +2. In Paseo, open **Settings → Hosts → your host → Providers** and turn on **Oh My Pi**. + +Oh My Pi is off by default. You can also turn it on in `~/.paseo/config.json`: + +```json +{ + "agents": { + "providers": { + "omp": { "enabled": true } + } + } +} +``` + +If `omp` is outside your daemon's PATH, use a [command override](/docs/custom-providers). To run a second OMP profile with its own settings, see [OMP profiles](https://github.com/getpaseo/paseo/blob/main/docs/custom-providers.md#omp-profiles-and-pi-compatible-forks) on GitHub. + +## Permission modes + +**Full Access** is the default mode. + +| Mode | Effect | +| -------------- | -------------------------------------------------------- | +| Full Access | Tools run without prompts. | +| Write Approval | Reads run without prompts. Writes require approval. | +| Always Ask | Tools that write files or run commands require approval. | + +## Tools, subagents, and sessions + +- Oh My Pi agents can use Paseo's tools, such as the tools that create and message other agents. +- Subagents that Oh My Pi starts appear as subagents in Paseo. +- Paseo can import sessions that you started in a terminal. It reads them from `~/.omp/agent/sessions`. diff --git a/public-docs/supported-providers/omp.zh-CN.md b/public-docs/supported-providers/omp.zh-CN.md new file mode 100644 index 000000000..6aadf476d --- /dev/null +++ b/public-docs/supported-providers/omp.zh-CN.md @@ -0,0 +1,44 @@ +--- +title: Oh My Pi +description: 为 Paseo 安装并启用 Oh My Pi。 +nav: Oh My Pi +--- + +# Oh My Pi {#oh-my-pi} + +使用你现有的 `omp` 安装和设置,在 Paseo 中运行 Oh My Pi(OMP)。 + +## 开始使用 {#getting-started} + +1. 在 daemon 主机上安装 [Oh My Pi](https://github.com/can1357/oh-my-pi),并确认 `omp` 可以在终端中运行。 +2. 在 Paseo 中打开 **设置 → Hosts → 你的主机 → Providers**,启用 **Oh My Pi**。 + +Oh My Pi 默认关闭。你也可以在 `~/.paseo/config.json` 中启用它: + +```json +{ + "agents": { + "providers": { + "omp": { "enabled": true } + } + } +} +``` + +如果 `omp` 不在 daemon 的 PATH 中,请使用[命令覆盖](/docs/custom-providers)。如需运行带有独立设置的第二个 OMP 配置,请参见 GitHub 上的 [OMP profiles](https://github.com/getpaseo/paseo/blob/main/docs/custom-providers.md#omp-profiles-and-pi-compatible-forks)。 + +## 权限模式 {#permission-modes} + +**Full Access** 是默认模式。 + +| 模式 | 效果 | +| -------------- | ------------------------------------ | +| Full Access | 工具不经询问直接运行。 | +| Write Approval | 读取不经询问直接运行,写入需要审批。 | +| Always Ask | 写入文件或运行命令的工具需要审批。 | + +## 工具、子 Agent 和会话 {#tools-subagents-and-sessions} + +- Oh My Pi 的 Agent 可以使用 Paseo 的工具,例如创建其他 Agent 并向其发送消息的工具。 +- Oh My Pi 启动的子 Agent 会在 Paseo 中显示为子 Agent。 +- Paseo 可以导入你在终端中启动的会话,会话从 `~/.omp/agent/sessions` 读取。 diff --git a/public-docs/supported-providers/opencode.md b/public-docs/supported-providers/opencode.md new file mode 100644 index 000000000..9d118697d --- /dev/null +++ b/public-docs/supported-providers/opencode.md @@ -0,0 +1,42 @@ +--- +title: OpenCode +description: Install OpenCode and run it in Paseo. +nav: OpenCode +order: 31 +category: Providers +--- + +# OpenCode + +Run OpenCode in Paseo with your existing `opencode` installation, credentials, and configuration. + +## Getting started + +1. Install [OpenCode](https://opencode.ai/) on your daemon host: + + ```bash + npm install -g opencode-ai + ``` + +2. Connect OpenCode to a model provider, and make sure that `opencode` runs in a terminal. +3. In Paseo, choose **OpenCode** when you start an agent. + +If you use OpenCode v2, install version 2.0.10 or newer. Paseo rejects older v2 versions. + +If `opencode` is outside your daemon's PATH, use a [command override](/docs/custom-providers#custom-binary). + +## Modes + +Paseo shows the agents of OpenCode as modes. + +| Mode | Effect | +| ----- | ----------------------------------------------- | +| Build | Allows edits and tool execution. | +| Plan | Read-only planning. OpenCode avoids file edits. | + +Primary agents that you define in OpenCode appear in the same list. + +## See also + +- [OpenCode with an existing v2 server](https://github.com/getpaseo/paseo/blob/main/docs/custom-providers.md#opencode-with-an-existing-v2-server) on GitHub, to make Paseo use an OpenCode server that is already running. +- [Provider options](/docs/sdk/provider-options#opencode), to set OpenCode permission rules for agents created from the SDK. diff --git a/public-docs/supported-providers/opencode.zh-CN.md b/public-docs/supported-providers/opencode.zh-CN.md new file mode 100644 index 000000000..fdfb9cd7c --- /dev/null +++ b/public-docs/supported-providers/opencode.zh-CN.md @@ -0,0 +1,40 @@ +--- +title: OpenCode +description: 安装 OpenCode 并在 Paseo 中运行。 +nav: OpenCode +--- + +# OpenCode {#opencode} + +使用你现有的 `opencode` 安装、凭据和配置,在 Paseo 中运行 OpenCode。 + +## 开始使用 {#getting-started} + +1. 在 daemon 主机上安装 [OpenCode](https://opencode.ai/): + + ```bash + npm install -g opencode-ai + ``` + +2. 为 OpenCode 配置模型 Provider,并确认 `opencode` 可以在终端中运行。 +3. 在 Paseo 中启动 Agent 时选择 **OpenCode**。 + +如果你使用 OpenCode v2,请安装 2.0.10 或更高版本。Paseo 会拒绝更早的 v2 版本。 + +如果 `opencode` 不在 daemon 的 PATH 中,请使用[命令覆盖](/docs/custom-providers#custom-binary)。 + +## 模式 {#modes} + +Paseo 将 OpenCode 的 Agent 显示为模式。 + +| 模式 | 效果 | +| ----- | ----------------------------------- | +| Build | 允许编辑文件和执行工具。 | +| Plan | 只读规划。OpenCode 会避免编辑文件。 | + +你在 OpenCode 中定义的主 Agent 也会出现在同一个列表中。 + +## 另请参阅 {#see-also} + +- GitHub 上的[使用现有的 OpenCode v2 服务器](https://github.com/getpaseo/paseo/blob/main/docs/custom-providers.md#opencode-with-an-existing-v2-server):让 Paseo 使用已经在运行的 OpenCode 服务器。 +- [Provider 选项](/docs/sdk/provider-options#opencode):为通过 SDK 创建的 Agent 设置 OpenCode 权限规则。 diff --git a/public-docs/supported-providers/pi.md b/public-docs/supported-providers/pi.md new file mode 100644 index 000000000..226ca47d9 --- /dev/null +++ b/public-docs/supported-providers/pi.md @@ -0,0 +1,33 @@ +--- +title: Pi +description: Install Pi and run it in Paseo. +nav: Pi +order: 32 +category: Providers +--- + +# Pi + +Run Pi in Paseo with your existing `pi` installation, credentials, and settings. + +## Getting started + +1. Install [Pi](https://pi.dev) on your daemon host. +2. Connect Pi to a model provider, and make sure that `pi` runs in a terminal. +3. In Paseo, choose **Pi** when you start an agent. + +Pi appears in Paseo when the daemon can launch `pi`. If `pi` is outside your daemon's PATH, use a [command override](/docs/custom-providers#custom-binary). + +## Modes and sessions + +- Pi has no permission modes, so Paseo shows no mode selector for a Pi agent. +- Paseo can import sessions that you started in a terminal. It reads them from `~/.pi/agent/sessions`, or from the session directory that you configured in Pi. + +## Timeouts + +Paseo waits 60 seconds for Pi to answer a control request, such as a request for the model list. If Pi needs longer on your host, raise `rpcTimeoutMs` in [Provider options](/docs/custom-providers#provider-options). + +## See also + +- [Oh My Pi](/docs/supported-providers/omp), a separate provider with its own permission modes. +- [Pi-compatible forks](https://github.com/getpaseo/paseo/blob/main/docs/custom-providers.md#omp-profiles-and-pi-compatible-forks) on GitHub, for a provider that keeps Pi's RPC mode under another command. diff --git a/public-docs/supported-providers/pi.zh-CN.md b/public-docs/supported-providers/pi.zh-CN.md new file mode 100644 index 000000000..eea419af0 --- /dev/null +++ b/public-docs/supported-providers/pi.zh-CN.md @@ -0,0 +1,31 @@ +--- +title: Pi +description: 安装 Pi 并在 Paseo 中运行。 +nav: Pi +--- + +# Pi {#pi} + +使用你现有的 `pi` 安装、凭据和设置,在 Paseo 中运行 Pi。 + +## 开始使用 {#getting-started} + +1. 在 daemon 主机上安装 [Pi](https://pi.dev)。 +2. 为 Pi 配置模型 Provider,并确认 `pi` 可以在终端中运行。 +3. 在 Paseo 中启动 Agent 时选择 **Pi**。 + +daemon 能够启动 `pi` 时,Pi 就会出现在 Paseo 中。如果 `pi` 不在 daemon 的 PATH 中,请使用[命令覆盖](/docs/custom-providers#custom-binary)。 + +## 模式和会话 {#modes-and-sessions} + +- Pi 没有权限模式,所以 Paseo 不会为 Pi Agent 显示模式选择器。 +- Paseo 可以导入你在终端中启动的会话。它从 `~/.pi/agent/sessions` 读取,或者从你在 Pi 中配置的会话目录读取。 + +## 超时 {#timeouts} + +Paseo 等待 Pi 响应控制请求(例如获取模型列表)的时间上限为 60 秒。如果 Pi 在你的主机上需要更长时间,请在 [Provider 选项](/docs/custom-providers#provider-options)中调高 `rpcTimeoutMs`。 + +## 另请参阅 {#see-also} + +- [Oh My Pi](/docs/supported-providers/omp):独立的 Provider,有自己的权限模式。 +- GitHub 上的 [Pi 兼容分支](https://github.com/getpaseo/paseo/blob/main/docs/custom-providers.md#omp-profiles-and-pi-compatible-forks):适用于保留 Pi 的 RPC 模式但使用其他命令的 Provider。