@neurocode-ai/web 1.18.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +54 -0
- package/astro.config.mjs +324 -0
- package/config.mjs +14 -0
- package/package.json +44 -0
- package/public/apple-touch-icon-v3.png +1 -0
- package/public/apple-touch-icon.png +1 -0
- package/public/favicon-96x96-v3.png +1 -0
- package/public/favicon-96x96.png +1 -0
- package/public/favicon-v3.ico +1 -0
- package/public/favicon-v3.svg +1 -0
- package/public/favicon.ico +1 -0
- package/public/favicon.svg +1 -0
- package/public/robots.txt +6 -0
- package/public/site.webmanifest +1 -0
- package/public/social-share-zen.png +1 -0
- package/public/social-share.png +1 -0
- package/public/theme.json +183 -0
- package/public/web-app-manifest-192x192.png +1 -0
- package/public/web-app-manifest-512x512.png +1 -0
- package/src/assets/lander/check.svg +2 -0
- package/src/assets/lander/copy.svg +2 -0
- package/src/assets/lander/screenshot-github.png +0 -0
- package/src/assets/lander/screenshot-splash.png +0 -0
- package/src/assets/lander/screenshot-vscode.png +0 -0
- package/src/assets/lander/screenshot.png +0 -0
- package/src/assets/logo-dark.svg +18 -0
- package/src/assets/logo-light.svg +18 -0
- package/src/assets/logo-ornate-dark.svg +18 -0
- package/src/assets/logo-ornate-light.svg +18 -0
- package/src/assets/web/web-homepage-active-session.png +0 -0
- package/src/assets/web/web-homepage-new-session.png +0 -0
- package/src/assets/web/web-homepage-see-servers.png +0 -0
- package/src/components/Footer.astro +125 -0
- package/src/components/Head.astro +54 -0
- package/src/components/Header.astro +136 -0
- package/src/components/Hero.astro +11 -0
- package/src/components/Lander.astro +721 -0
- package/src/components/LanguageSelect.astro +29 -0
- package/src/components/Share.tsx +644 -0
- package/src/components/SiteTitle.astro +59 -0
- package/src/components/icons/custom.tsx +87 -0
- package/src/components/icons/index.tsx +4454 -0
- package/src/components/share/common.tsx +128 -0
- package/src/components/share/content-bash.module.css +85 -0
- package/src/components/share/content-bash.tsx +67 -0
- package/src/components/share/content-code.module.css +26 -0
- package/src/components/share/content-code.tsx +30 -0
- package/src/components/share/content-diff.module.css +153 -0
- package/src/components/share/content-diff.tsx +240 -0
- package/src/components/share/content-error.module.css +64 -0
- package/src/components/share/content-error.tsx +25 -0
- package/src/components/share/content-markdown.module.css +154 -0
- package/src/components/share/content-markdown.tsx +74 -0
- package/src/components/share/content-text.module.css +63 -0
- package/src/components/share/content-text.tsx +38 -0
- package/src/components/share/copy-button.module.css +30 -0
- package/src/components/share/copy-button.tsx +36 -0
- package/src/components/share/part.module.css +428 -0
- package/src/components/share/part.tsx +816 -0
- package/src/components/share.module.css +832 -0
- package/src/content/docs/acp.mdx +156 -0
- package/src/content/docs/agents.mdx +781 -0
- package/src/content/docs/ar/acp.mdx +156 -0
- package/src/content/docs/ar/agents.mdx +754 -0
- package/src/content/docs/ar/cli.mdx +616 -0
- package/src/content/docs/ar/commands.mdx +322 -0
- package/src/content/docs/ar/config.mdx +685 -0
- package/src/content/docs/ar/custom-tools.mdx +196 -0
- package/src/content/docs/ar/ecosystem.mdx +78 -0
- package/src/content/docs/ar/enterprise.mdx +165 -0
- package/src/content/docs/ar/formatters.mdx +131 -0
- package/src/content/docs/ar/github.mdx +321 -0
- package/src/content/docs/ar/gitlab.mdx +195 -0
- package/src/content/docs/ar/go.mdx +224 -0
- package/src/content/docs/ar/ide.mdx +48 -0
- package/src/content/docs/ar/index.mdx +344 -0
- package/src/content/docs/ar/keybinds.mdx +194 -0
- package/src/content/docs/ar/lsp.mdx +207 -0
- package/src/content/docs/ar/mcp-servers.mdx +511 -0
- package/src/content/docs/ar/models.mdx +222 -0
- package/src/content/docs/ar/network.mdx +57 -0
- package/src/content/docs/ar/permissions.mdx +235 -0
- package/src/content/docs/ar/plugins.mdx +385 -0
- package/src/content/docs/ar/providers.mdx +1983 -0
- package/src/content/docs/ar/rules.mdx +180 -0
- package/src/content/docs/ar/sdk.mdx +463 -0
- package/src/content/docs/ar/server.mdx +287 -0
- package/src/content/docs/ar/share.mdx +127 -0
- package/src/content/docs/ar/skills.mdx +222 -0
- package/src/content/docs/ar/themes.mdx +369 -0
- package/src/content/docs/ar/tools.mdx +341 -0
- package/src/content/docs/ar/troubleshooting.mdx +299 -0
- package/src/content/docs/ar/tui.mdx +426 -0
- package/src/content/docs/ar/web.mdx +142 -0
- package/src/content/docs/ar/windows-wsl.mdx +113 -0
- package/src/content/docs/ar/zen.mdx +332 -0
- package/src/content/docs/bs/acp.mdx +156 -0
- package/src/content/docs/bs/agents.mdx +754 -0
- package/src/content/docs/bs/cli.mdx +614 -0
- package/src/content/docs/bs/commands.mdx +316 -0
- package/src/content/docs/bs/config.mdx +685 -0
- package/src/content/docs/bs/custom-tools.mdx +195 -0
- package/src/content/docs/bs/ecosystem.mdx +78 -0
- package/src/content/docs/bs/enterprise.mdx +165 -0
- package/src/content/docs/bs/formatters.mdx +124 -0
- package/src/content/docs/bs/github.mdx +311 -0
- package/src/content/docs/bs/gitlab.mdx +188 -0
- package/src/content/docs/bs/go.mdx +238 -0
- package/src/content/docs/bs/ide.mdx +47 -0
- package/src/content/docs/bs/index.mdx +323 -0
- package/src/content/docs/bs/keybinds.mdx +194 -0
- package/src/content/docs/bs/lsp.mdx +204 -0
- package/src/content/docs/bs/mcp-servers.mdx +482 -0
- package/src/content/docs/bs/models.mdx +201 -0
- package/src/content/docs/bs/network.mdx +51 -0
- package/src/content/docs/bs/permissions.mdx +228 -0
- package/src/content/docs/bs/plugins.mdx +371 -0
- package/src/content/docs/bs/providers.mdx +1993 -0
- package/src/content/docs/bs/rules.mdx +180 -0
- package/src/content/docs/bs/sdk.mdx +463 -0
- package/src/content/docs/bs/server.mdx +284 -0
- package/src/content/docs/bs/share.mdx +127 -0
- package/src/content/docs/bs/skills.mdx +222 -0
- package/src/content/docs/bs/themes.mdx +369 -0
- package/src/content/docs/bs/tools.mdx +341 -0
- package/src/content/docs/bs/troubleshooting.mdx +300 -0
- package/src/content/docs/bs/tui.mdx +432 -0
- package/src/content/docs/bs/web.mdx +142 -0
- package/src/content/docs/bs/windows-wsl.mdx +113 -0
- package/src/content/docs/bs/zen.mdx +350 -0
- package/src/content/docs/cli.mdx +733 -0
- package/src/content/docs/commands.mdx +323 -0
- package/src/content/docs/config.mdx +941 -0
- package/src/content/docs/custom-tools.mdx +196 -0
- package/src/content/docs/da/acp.mdx +156 -0
- package/src/content/docs/da/agents.mdx +755 -0
- package/src/content/docs/da/cli.mdx +617 -0
- package/src/content/docs/da/commands.mdx +323 -0
- package/src/content/docs/da/config.mdx +688 -0
- package/src/content/docs/da/custom-tools.mdx +196 -0
- package/src/content/docs/da/ecosystem.mdx +78 -0
- package/src/content/docs/da/enterprise.mdx +170 -0
- package/src/content/docs/da/formatters.mdx +131 -0
- package/src/content/docs/da/github.mdx +321 -0
- package/src/content/docs/da/gitlab.mdx +195 -0
- package/src/content/docs/da/go.mdx +238 -0
- package/src/content/docs/da/ide.mdx +48 -0
- package/src/content/docs/da/index.mdx +360 -0
- package/src/content/docs/da/keybinds.mdx +194 -0
- package/src/content/docs/da/lsp.mdx +208 -0
- package/src/content/docs/da/mcp-servers.mdx +511 -0
- package/src/content/docs/da/models.mdx +223 -0
- package/src/content/docs/da/network.mdx +57 -0
- package/src/content/docs/da/permissions.mdx +235 -0
- package/src/content/docs/da/plugins.mdx +389 -0
- package/src/content/docs/da/providers.mdx +1981 -0
- package/src/content/docs/da/rules.mdx +180 -0
- package/src/content/docs/da/sdk.mdx +463 -0
- package/src/content/docs/da/server.mdx +287 -0
- package/src/content/docs/da/share.mdx +128 -0
- package/src/content/docs/da/skills.mdx +222 -0
- package/src/content/docs/da/themes.mdx +369 -0
- package/src/content/docs/da/tools.mdx +341 -0
- package/src/content/docs/da/troubleshooting.mdx +300 -0
- package/src/content/docs/da/tui.mdx +426 -0
- package/src/content/docs/da/web.mdx +142 -0
- package/src/content/docs/da/windows-wsl.mdx +113 -0
- package/src/content/docs/da/zen.mdx +345 -0
- package/src/content/docs/de/acp.mdx +156 -0
- package/src/content/docs/de/agents.mdx +741 -0
- package/src/content/docs/de/cli.mdx +616 -0
- package/src/content/docs/de/commands.mdx +323 -0
- package/src/content/docs/de/config.mdx +684 -0
- package/src/content/docs/de/custom-tools.mdx +170 -0
- package/src/content/docs/de/ecosystem.mdx +78 -0
- package/src/content/docs/de/enterprise.mdx +170 -0
- package/src/content/docs/de/formatters.mdx +131 -0
- package/src/content/docs/de/github.mdx +321 -0
- package/src/content/docs/de/gitlab.mdx +195 -0
- package/src/content/docs/de/go.mdx +226 -0
- package/src/content/docs/de/ide.mdx +48 -0
- package/src/content/docs/de/index.mdx +356 -0
- package/src/content/docs/de/keybinds.mdx +194 -0
- package/src/content/docs/de/lsp.mdx +207 -0
- package/src/content/docs/de/mcp-servers.mdx +511 -0
- package/src/content/docs/de/models.mdx +223 -0
- package/src/content/docs/de/network.mdx +57 -0
- package/src/content/docs/de/permissions.mdx +235 -0
- package/src/content/docs/de/plugins.mdx +384 -0
- package/src/content/docs/de/providers.mdx +1987 -0
- package/src/content/docs/de/rules.mdx +190 -0
- package/src/content/docs/de/sdk.mdx +465 -0
- package/src/content/docs/de/server.mdx +291 -0
- package/src/content/docs/de/share.mdx +130 -0
- package/src/content/docs/de/skills.mdx +222 -0
- package/src/content/docs/de/themes.mdx +372 -0
- package/src/content/docs/de/tools.mdx +352 -0
- package/src/content/docs/de/troubleshooting.mdx +300 -0
- package/src/content/docs/de/tui.mdx +429 -0
- package/src/content/docs/de/web.mdx +142 -0
- package/src/content/docs/de/windows-wsl.mdx +115 -0
- package/src/content/docs/de/zen.mdx +327 -0
- package/src/content/docs/ecosystem.mdx +83 -0
- package/src/content/docs/enterprise.mdx +169 -0
- package/src/content/docs/es/acp.mdx +156 -0
- package/src/content/docs/es/agents.mdx +755 -0
- package/src/content/docs/es/cli.mdx +616 -0
- package/src/content/docs/es/commands.mdx +323 -0
- package/src/content/docs/es/config.mdx +685 -0
- package/src/content/docs/es/custom-tools.mdx +196 -0
- package/src/content/docs/es/ecosystem.mdx +78 -0
- package/src/content/docs/es/enterprise.mdx +170 -0
- package/src/content/docs/es/formatters.mdx +131 -0
- package/src/content/docs/es/github.mdx +321 -0
- package/src/content/docs/es/gitlab.mdx +195 -0
- package/src/content/docs/es/go.mdx +238 -0
- package/src/content/docs/es/ide.mdx +48 -0
- package/src/content/docs/es/index.mdx +345 -0
- package/src/content/docs/es/keybinds.mdx +194 -0
- package/src/content/docs/es/lsp.mdx +208 -0
- package/src/content/docs/es/mcp-servers.mdx +511 -0
- package/src/content/docs/es/models.mdx +223 -0
- package/src/content/docs/es/network.mdx +57 -0
- package/src/content/docs/es/permissions.mdx +235 -0
- package/src/content/docs/es/plugins.mdx +389 -0
- package/src/content/docs/es/providers.mdx +1989 -0
- package/src/content/docs/es/rules.mdx +180 -0
- package/src/content/docs/es/sdk.mdx +463 -0
- package/src/content/docs/es/server.mdx +287 -0
- package/src/content/docs/es/share.mdx +128 -0
- package/src/content/docs/es/skills.mdx +222 -0
- package/src/content/docs/es/themes.mdx +369 -0
- package/src/content/docs/es/tools.mdx +341 -0
- package/src/content/docs/es/troubleshooting.mdx +300 -0
- package/src/content/docs/es/tui.mdx +429 -0
- package/src/content/docs/es/web.mdx +142 -0
- package/src/content/docs/es/windows-wsl.mdx +113 -0
- package/src/content/docs/es/zen.mdx +345 -0
- package/src/content/docs/formatters.mdx +143 -0
- package/src/content/docs/fr/acp.mdx +156 -0
- package/src/content/docs/fr/agents.mdx +755 -0
- package/src/content/docs/fr/cli.mdx +617 -0
- package/src/content/docs/fr/commands.mdx +322 -0
- package/src/content/docs/fr/config.mdx +686 -0
- package/src/content/docs/fr/custom-tools.mdx +170 -0
- package/src/content/docs/fr/ecosystem.mdx +78 -0
- package/src/content/docs/fr/enterprise.mdx +165 -0
- package/src/content/docs/fr/formatters.mdx +131 -0
- package/src/content/docs/fr/github.mdx +322 -0
- package/src/content/docs/fr/gitlab.mdx +195 -0
- package/src/content/docs/fr/go.mdx +224 -0
- package/src/content/docs/fr/ide.mdx +48 -0
- package/src/content/docs/fr/index.mdx +344 -0
- package/src/content/docs/fr/keybinds.mdx +194 -0
- package/src/content/docs/fr/lsp.mdx +208 -0
- package/src/content/docs/fr/mcp-servers.mdx +511 -0
- package/src/content/docs/fr/models.mdx +222 -0
- package/src/content/docs/fr/network.mdx +57 -0
- package/src/content/docs/fr/permissions.mdx +235 -0
- package/src/content/docs/fr/plugins.mdx +384 -0
- package/src/content/docs/fr/providers.mdx +1996 -0
- package/src/content/docs/fr/rules.mdx +180 -0
- package/src/content/docs/fr/sdk.mdx +463 -0
- package/src/content/docs/fr/server.mdx +287 -0
- package/src/content/docs/fr/share.mdx +128 -0
- package/src/content/docs/fr/skills.mdx +222 -0
- package/src/content/docs/fr/themes.mdx +369 -0
- package/src/content/docs/fr/tools.mdx +341 -0
- package/src/content/docs/fr/troubleshooting.mdx +300 -0
- package/src/content/docs/fr/tui.mdx +429 -0
- package/src/content/docs/fr/web.mdx +142 -0
- package/src/content/docs/fr/windows-wsl.mdx +113 -0
- package/src/content/docs/fr/zen.mdx +327 -0
- package/src/content/docs/github.mdx +321 -0
- package/src/content/docs/gitlab.mdx +195 -0
- package/src/content/docs/go.mdx +238 -0
- package/src/content/docs/ide.mdx +48 -0
- package/src/content/docs/index.mdx +360 -0
- package/src/content/docs/it/acp.mdx +155 -0
- package/src/content/docs/it/agents.mdx +753 -0
- package/src/content/docs/it/cli.mdx +617 -0
- package/src/content/docs/it/commands.mdx +322 -0
- package/src/content/docs/it/config.mdx +685 -0
- package/src/content/docs/it/custom-tools.mdx +196 -0
- package/src/content/docs/it/ecosystem.mdx +78 -0
- package/src/content/docs/it/enterprise.mdx +165 -0
- package/src/content/docs/it/formatters.mdx +132 -0
- package/src/content/docs/it/github.mdx +321 -0
- package/src/content/docs/it/gitlab.mdx +195 -0
- package/src/content/docs/it/go.mdx +236 -0
- package/src/content/docs/it/ide.mdx +48 -0
- package/src/content/docs/it/index.mdx +344 -0
- package/src/content/docs/it/keybinds.mdx +194 -0
- package/src/content/docs/it/lsp.mdx +208 -0
- package/src/content/docs/it/mcp-servers.mdx +511 -0
- package/src/content/docs/it/models.mdx +222 -0
- package/src/content/docs/it/network.mdx +57 -0
- package/src/content/docs/it/permissions.mdx +235 -0
- package/src/content/docs/it/plugins.mdx +388 -0
- package/src/content/docs/it/providers.mdx +1964 -0
- package/src/content/docs/it/rules.mdx +180 -0
- package/src/content/docs/it/sdk.mdx +463 -0
- package/src/content/docs/it/server.mdx +284 -0
- package/src/content/docs/it/share.mdx +127 -0
- package/src/content/docs/it/skills.mdx +222 -0
- package/src/content/docs/it/themes.mdx +369 -0
- package/src/content/docs/it/tools.mdx +341 -0
- package/src/content/docs/it/troubleshooting.mdx +299 -0
- package/src/content/docs/it/tui.mdx +426 -0
- package/src/content/docs/it/web.mdx +142 -0
- package/src/content/docs/it/windows-wsl.mdx +113 -0
- package/src/content/docs/it/zen.mdx +345 -0
- package/src/content/docs/ja/acp.mdx +155 -0
- package/src/content/docs/ja/agents.mdx +751 -0
- package/src/content/docs/ja/cli.mdx +616 -0
- package/src/content/docs/ja/commands.mdx +322 -0
- package/src/content/docs/ja/config.mdx +684 -0
- package/src/content/docs/ja/custom-tools.mdx +196 -0
- package/src/content/docs/ja/ecosystem.mdx +78 -0
- package/src/content/docs/ja/enterprise.mdx +166 -0
- package/src/content/docs/ja/formatters.mdx +132 -0
- package/src/content/docs/ja/github.mdx +322 -0
- package/src/content/docs/ja/gitlab.mdx +195 -0
- package/src/content/docs/ja/go.mdx +224 -0
- package/src/content/docs/ja/ide.mdx +48 -0
- package/src/content/docs/ja/index.mdx +350 -0
- package/src/content/docs/ja/keybinds.mdx +194 -0
- package/src/content/docs/ja/lsp.mdx +208 -0
- package/src/content/docs/ja/mcp-servers.mdx +511 -0
- package/src/content/docs/ja/models.mdx +221 -0
- package/src/content/docs/ja/network.mdx +55 -0
- package/src/content/docs/ja/permissions.mdx +282 -0
- package/src/content/docs/ja/plugins.mdx +461 -0
- package/src/content/docs/ja/providers.mdx +1998 -0
- package/src/content/docs/ja/rules.mdx +179 -0
- package/src/content/docs/ja/sdk.mdx +463 -0
- package/src/content/docs/ja/server.mdx +282 -0
- package/src/content/docs/ja/share.mdx +128 -0
- package/src/content/docs/ja/skills.mdx +222 -0
- package/src/content/docs/ja/themes.mdx +667 -0
- package/src/content/docs/ja/tools.mdx +341 -0
- package/src/content/docs/ja/troubleshooting.mdx +300 -0
- package/src/content/docs/ja/tui.mdx +423 -0
- package/src/content/docs/ja/web.mdx +143 -0
- package/src/content/docs/ja/windows-wsl.mdx +116 -0
- package/src/content/docs/ja/zen.mdx +327 -0
- package/src/content/docs/keybinds.mdx +299 -0
- package/src/content/docs/ko/acp.mdx +156 -0
- package/src/content/docs/ko/agents.mdx +754 -0
- package/src/content/docs/ko/cli.mdx +616 -0
- package/src/content/docs/ko/commands.mdx +323 -0
- package/src/content/docs/ko/config.mdx +685 -0
- package/src/content/docs/ko/custom-tools.mdx +196 -0
- package/src/content/docs/ko/ecosystem.mdx +78 -0
- package/src/content/docs/ko/enterprise.mdx +165 -0
- package/src/content/docs/ko/formatters.mdx +132 -0
- package/src/content/docs/ko/github.mdx +321 -0
- package/src/content/docs/ko/gitlab.mdx +195 -0
- package/src/content/docs/ko/go.mdx +224 -0
- package/src/content/docs/ko/ide.mdx +48 -0
- package/src/content/docs/ko/index.mdx +344 -0
- package/src/content/docs/ko/keybinds.mdx +194 -0
- package/src/content/docs/ko/lsp.mdx +208 -0
- package/src/content/docs/ko/mcp-servers.mdx +511 -0
- package/src/content/docs/ko/models.mdx +223 -0
- package/src/content/docs/ko/network.mdx +57 -0
- package/src/content/docs/ko/permissions.mdx +235 -0
- package/src/content/docs/ko/plugins.mdx +388 -0
- package/src/content/docs/ko/providers.mdx +1984 -0
- package/src/content/docs/ko/rules.mdx +179 -0
- package/src/content/docs/ko/sdk.mdx +463 -0
- package/src/content/docs/ko/server.mdx +287 -0
- package/src/content/docs/ko/share.mdx +128 -0
- package/src/content/docs/ko/skills.mdx +222 -0
- package/src/content/docs/ko/themes.mdx +369 -0
- package/src/content/docs/ko/tools.mdx +341 -0
- package/src/content/docs/ko/troubleshooting.mdx +303 -0
- package/src/content/docs/ko/tui.mdx +425 -0
- package/src/content/docs/ko/web.mdx +142 -0
- package/src/content/docs/ko/windows-wsl.mdx +119 -0
- package/src/content/docs/ko/zen.mdx +327 -0
- package/src/content/docs/lsp.mdx +214 -0
- package/src/content/docs/mcp-servers.mdx +512 -0
- package/src/content/docs/models.mdx +223 -0
- package/src/content/docs/nb/acp.mdx +156 -0
- package/src/content/docs/nb/agents.mdx +754 -0
- package/src/content/docs/nb/cli.mdx +617 -0
- package/src/content/docs/nb/commands.mdx +323 -0
- package/src/content/docs/nb/config.mdx +688 -0
- package/src/content/docs/nb/custom-tools.mdx +196 -0
- package/src/content/docs/nb/ecosystem.mdx +78 -0
- package/src/content/docs/nb/enterprise.mdx +170 -0
- package/src/content/docs/nb/formatters.mdx +131 -0
- package/src/content/docs/nb/github.mdx +325 -0
- package/src/content/docs/nb/gitlab.mdx +195 -0
- package/src/content/docs/nb/go.mdx +238 -0
- package/src/content/docs/nb/ide.mdx +48 -0
- package/src/content/docs/nb/index.mdx +359 -0
- package/src/content/docs/nb/keybinds.mdx +194 -0
- package/src/content/docs/nb/lsp.mdx +208 -0
- package/src/content/docs/nb/mcp-servers.mdx +624 -0
- package/src/content/docs/nb/models.mdx +223 -0
- package/src/content/docs/nb/network.mdx +57 -0
- package/src/content/docs/nb/permissions.mdx +235 -0
- package/src/content/docs/nb/plugins.mdx +389 -0
- package/src/content/docs/nb/providers.mdx +1956 -0
- package/src/content/docs/nb/rules.mdx +180 -0
- package/src/content/docs/nb/sdk.mdx +463 -0
- package/src/content/docs/nb/server.mdx +287 -0
- package/src/content/docs/nb/share.mdx +128 -0
- package/src/content/docs/nb/skills.mdx +222 -0
- package/src/content/docs/nb/themes.mdx +369 -0
- package/src/content/docs/nb/tools.mdx +341 -0
- package/src/content/docs/nb/troubleshooting.mdx +225 -0
- package/src/content/docs/nb/tui.mdx +429 -0
- package/src/content/docs/nb/web.mdx +105 -0
- package/src/content/docs/nb/windows-wsl.mdx +113 -0
- package/src/content/docs/nb/zen.mdx +345 -0
- package/src/content/docs/network.mdx +57 -0
- package/src/content/docs/permissions.mdx +256 -0
- package/src/content/docs/pl/acp.mdx +158 -0
- package/src/content/docs/pl/agents.mdx +754 -0
- package/src/content/docs/pl/cli.mdx +617 -0
- package/src/content/docs/pl/commands.mdx +323 -0
- package/src/content/docs/pl/config.mdx +680 -0
- package/src/content/docs/pl/custom-tools.mdx +196 -0
- package/src/content/docs/pl/ecosystem.mdx +78 -0
- package/src/content/docs/pl/enterprise.mdx +170 -0
- package/src/content/docs/pl/formatters.mdx +131 -0
- package/src/content/docs/pl/github.mdx +321 -0
- package/src/content/docs/pl/gitlab.mdx +195 -0
- package/src/content/docs/pl/go.mdx +230 -0
- package/src/content/docs/pl/ide.mdx +48 -0
- package/src/content/docs/pl/index.mdx +347 -0
- package/src/content/docs/pl/keybinds.mdx +194 -0
- package/src/content/docs/pl/lsp.mdx +208 -0
- package/src/content/docs/pl/mcp-servers.mdx +511 -0
- package/src/content/docs/pl/models.mdx +223 -0
- package/src/content/docs/pl/network.mdx +57 -0
- package/src/content/docs/pl/permissions.mdx +235 -0
- package/src/content/docs/pl/plugins.mdx +385 -0
- package/src/content/docs/pl/providers.mdx +1986 -0
- package/src/content/docs/pl/rules.mdx +180 -0
- package/src/content/docs/pl/sdk.mdx +463 -0
- package/src/content/docs/pl/server.mdx +287 -0
- package/src/content/docs/pl/share.mdx +128 -0
- package/src/content/docs/pl/skills.mdx +222 -0
- package/src/content/docs/pl/themes.mdx +369 -0
- package/src/content/docs/pl/tools.mdx +341 -0
- package/src/content/docs/pl/troubleshooting.mdx +300 -0
- package/src/content/docs/pl/tui.mdx +429 -0
- package/src/content/docs/pl/web.mdx +142 -0
- package/src/content/docs/pl/windows-wsl.mdx +113 -0
- package/src/content/docs/pl/zen.mdx +344 -0
- package/src/content/docs/plugins.mdx +389 -0
- package/src/content/docs/policies.mdx +137 -0
- package/src/content/docs/providers.mdx +2501 -0
- package/src/content/docs/pt-br/acp.mdx +156 -0
- package/src/content/docs/pt-br/agents.mdx +755 -0
- package/src/content/docs/pt-br/cli.mdx +616 -0
- package/src/content/docs/pt-br/commands.mdx +322 -0
- package/src/content/docs/pt-br/config.mdx +687 -0
- package/src/content/docs/pt-br/custom-tools.mdx +196 -0
- package/src/content/docs/pt-br/ecosystem.mdx +78 -0
- package/src/content/docs/pt-br/enterprise.mdx +166 -0
- package/src/content/docs/pt-br/formatters.mdx +131 -0
- package/src/content/docs/pt-br/github.mdx +321 -0
- package/src/content/docs/pt-br/gitlab.mdx +195 -0
- package/src/content/docs/pt-br/go.mdx +238 -0
- package/src/content/docs/pt-br/ide.mdx +48 -0
- package/src/content/docs/pt-br/index.mdx +344 -0
- package/src/content/docs/pt-br/keybinds.mdx +194 -0
- package/src/content/docs/pt-br/lsp.mdx +208 -0
- package/src/content/docs/pt-br/mcp-servers.mdx +511 -0
- package/src/content/docs/pt-br/models.mdx +222 -0
- package/src/content/docs/pt-br/network.mdx +57 -0
- package/src/content/docs/pt-br/permissions.mdx +235 -0
- package/src/content/docs/pt-br/plugins.mdx +388 -0
- package/src/content/docs/pt-br/providers.mdx +1989 -0
- package/src/content/docs/pt-br/rules.mdx +180 -0
- package/src/content/docs/pt-br/sdk.mdx +463 -0
- package/src/content/docs/pt-br/server.mdx +284 -0
- package/src/content/docs/pt-br/share.mdx +127 -0
- package/src/content/docs/pt-br/skills.mdx +222 -0
- package/src/content/docs/pt-br/themes.mdx +369 -0
- package/src/content/docs/pt-br/tools.mdx +341 -0
- package/src/content/docs/pt-br/troubleshooting.mdx +299 -0
- package/src/content/docs/pt-br/tui.mdx +426 -0
- package/src/content/docs/pt-br/web.mdx +142 -0
- package/src/content/docs/pt-br/windows-wsl.mdx +113 -0
- package/src/content/docs/pt-br/zen.mdx +327 -0
- package/src/content/docs/references.mdx +157 -0
- package/src/content/docs/ru/acp.mdx +156 -0
- package/src/content/docs/ru/agents.mdx +754 -0
- package/src/content/docs/ru/cli.mdx +617 -0
- package/src/content/docs/ru/commands.mdx +323 -0
- package/src/content/docs/ru/config.mdx +685 -0
- package/src/content/docs/ru/custom-tools.mdx +170 -0
- package/src/content/docs/ru/ecosystem.mdx +78 -0
- package/src/content/docs/ru/enterprise.mdx +168 -0
- package/src/content/docs/ru/formatters.mdx +119 -0
- package/src/content/docs/ru/github.mdx +321 -0
- package/src/content/docs/ru/gitlab.mdx +195 -0
- package/src/content/docs/ru/go.mdx +238 -0
- package/src/content/docs/ru/ide.mdx +48 -0
- package/src/content/docs/ru/index.mdx +356 -0
- package/src/content/docs/ru/keybinds.mdx +194 -0
- package/src/content/docs/ru/lsp.mdx +207 -0
- package/src/content/docs/ru/mcp-servers.mdx +511 -0
- package/src/content/docs/ru/models.mdx +223 -0
- package/src/content/docs/ru/network.mdx +57 -0
- package/src/content/docs/ru/permissions.mdx +235 -0
- package/src/content/docs/ru/plugins.mdx +385 -0
- package/src/content/docs/ru/providers.mdx +1987 -0
- package/src/content/docs/ru/rules.mdx +180 -0
- package/src/content/docs/ru/sdk.mdx +463 -0
- package/src/content/docs/ru/server.mdx +287 -0
- package/src/content/docs/ru/share.mdx +128 -0
- package/src/content/docs/ru/skills.mdx +222 -0
- package/src/content/docs/ru/themes.mdx +369 -0
- package/src/content/docs/ru/tools.mdx +341 -0
- package/src/content/docs/ru/troubleshooting.mdx +300 -0
- package/src/content/docs/ru/tui.mdx +429 -0
- package/src/content/docs/ru/web.mdx +142 -0
- package/src/content/docs/ru/windows-wsl.mdx +113 -0
- package/src/content/docs/ru/zen.mdx +345 -0
- package/src/content/docs/rules.mdx +188 -0
- package/src/content/docs/sdk.mdx +463 -0
- package/src/content/docs/server.mdx +287 -0
- package/src/content/docs/share.mdx +128 -0
- package/src/content/docs/skills.mdx +222 -0
- package/src/content/docs/th/acp.mdx +156 -0
- package/src/content/docs/th/agents.mdx +744 -0
- package/src/content/docs/th/cli.mdx +618 -0
- package/src/content/docs/th/commands.mdx +320 -0
- package/src/content/docs/th/config.mdx +690 -0
- package/src/content/docs/th/custom-tools.mdx +196 -0
- package/src/content/docs/th/ecosystem.mdx +78 -0
- package/src/content/docs/th/enterprise.mdx +170 -0
- package/src/content/docs/th/formatters.mdx +131 -0
- package/src/content/docs/th/github.mdx +321 -0
- package/src/content/docs/th/gitlab.mdx +195 -0
- package/src/content/docs/th/go.mdx +224 -0
- package/src/content/docs/th/ide.mdx +48 -0
- package/src/content/docs/th/index.mdx +360 -0
- package/src/content/docs/th/keybinds.mdx +194 -0
- package/src/content/docs/th/lsp.mdx +208 -0
- package/src/content/docs/th/mcp-servers.mdx +511 -0
- package/src/content/docs/th/models.mdx +223 -0
- package/src/content/docs/th/network.mdx +57 -0
- package/src/content/docs/th/permissions.mdx +235 -0
- package/src/content/docs/th/plugins.mdx +389 -0
- package/src/content/docs/th/providers.mdx +2532 -0
- package/src/content/docs/th/rules.mdx +180 -0
- package/src/content/docs/th/sdk.mdx +463 -0
- package/src/content/docs/th/server.mdx +287 -0
- package/src/content/docs/th/share.mdx +128 -0
- package/src/content/docs/th/skills.mdx +222 -0
- package/src/content/docs/th/themes.mdx +369 -0
- package/src/content/docs/th/tools.mdx +341 -0
- package/src/content/docs/th/troubleshooting.mdx +300 -0
- package/src/content/docs/th/tui.mdx +429 -0
- package/src/content/docs/th/web.mdx +142 -0
- package/src/content/docs/th/windows-wsl.mdx +113 -0
- package/src/content/docs/th/zen.mdx +329 -0
- package/src/content/docs/themes.mdx +369 -0
- package/src/content/docs/tools.mdx +345 -0
- package/src/content/docs/tr/acp.mdx +156 -0
- package/src/content/docs/tr/agents.mdx +754 -0
- package/src/content/docs/tr/cli.mdx +617 -0
- package/src/content/docs/tr/commands.mdx +323 -0
- package/src/content/docs/tr/config.mdx +687 -0
- package/src/content/docs/tr/custom-tools.mdx +196 -0
- package/src/content/docs/tr/ecosystem.mdx +78 -0
- package/src/content/docs/tr/enterprise.mdx +170 -0
- package/src/content/docs/tr/formatters.mdx +131 -0
- package/src/content/docs/tr/github.mdx +321 -0
- package/src/content/docs/tr/gitlab.mdx +195 -0
- package/src/content/docs/tr/go.mdx +224 -0
- package/src/content/docs/tr/ide.mdx +48 -0
- package/src/content/docs/tr/index.mdx +347 -0
- package/src/content/docs/tr/keybinds.mdx +194 -0
- package/src/content/docs/tr/lsp.mdx +208 -0
- package/src/content/docs/tr/mcp-servers.mdx +511 -0
- package/src/content/docs/tr/models.mdx +223 -0
- package/src/content/docs/tr/network.mdx +57 -0
- package/src/content/docs/tr/permissions.mdx +235 -0
- package/src/content/docs/tr/plugins.mdx +388 -0
- package/src/content/docs/tr/providers.mdx +1988 -0
- package/src/content/docs/tr/rules.mdx +180 -0
- package/src/content/docs/tr/sdk.mdx +463 -0
- package/src/content/docs/tr/server.mdx +285 -0
- package/src/content/docs/tr/share.mdx +127 -0
- package/src/content/docs/tr/skills.mdx +222 -0
- package/src/content/docs/tr/themes.mdx +369 -0
- package/src/content/docs/tr/tools.mdx +341 -0
- package/src/content/docs/tr/troubleshooting.mdx +299 -0
- package/src/content/docs/tr/tui.mdx +427 -0
- package/src/content/docs/tr/web.mdx +142 -0
- package/src/content/docs/tr/windows-wsl.mdx +113 -0
- package/src/content/docs/tr/zen.mdx +327 -0
- package/src/content/docs/troubleshooting.mdx +314 -0
- package/src/content/docs/tui.mdx +427 -0
- package/src/content/docs/web.mdx +142 -0
- package/src/content/docs/windows-wsl.mdx +112 -0
- package/src/content/docs/zen.mdx +345 -0
- package/src/content/docs/zh-cn/acp.mdx +156 -0
- package/src/content/docs/zh-cn/agents.mdx +754 -0
- package/src/content/docs/zh-cn/cli.mdx +617 -0
- package/src/content/docs/zh-cn/commands.mdx +322 -0
- package/src/content/docs/zh-cn/config.mdx +683 -0
- package/src/content/docs/zh-cn/custom-tools.mdx +196 -0
- package/src/content/docs/zh-cn/ecosystem.mdx +78 -0
- package/src/content/docs/zh-cn/enterprise.mdx +165 -0
- package/src/content/docs/zh-cn/formatters.mdx +132 -0
- package/src/content/docs/zh-cn/github.mdx +321 -0
- package/src/content/docs/zh-cn/gitlab.mdx +194 -0
- package/src/content/docs/zh-cn/go.mdx +224 -0
- package/src/content/docs/zh-cn/ide.mdx +48 -0
- package/src/content/docs/zh-cn/index.mdx +343 -0
- package/src/content/docs/zh-cn/keybinds.mdx +194 -0
- package/src/content/docs/zh-cn/lsp.mdx +208 -0
- package/src/content/docs/zh-cn/mcp-servers.mdx +511 -0
- package/src/content/docs/zh-cn/models.mdx +222 -0
- package/src/content/docs/zh-cn/network.mdx +57 -0
- package/src/content/docs/zh-cn/permissions.mdx +235 -0
- package/src/content/docs/zh-cn/plugins.mdx +388 -0
- package/src/content/docs/zh-cn/providers.mdx +1949 -0
- package/src/content/docs/zh-cn/rules.mdx +180 -0
- package/src/content/docs/zh-cn/sdk.mdx +463 -0
- package/src/content/docs/zh-cn/server.mdx +284 -0
- package/src/content/docs/zh-cn/share.mdx +127 -0
- package/src/content/docs/zh-cn/skills.mdx +222 -0
- package/src/content/docs/zh-cn/themes.mdx +369 -0
- package/src/content/docs/zh-cn/tools.mdx +341 -0
- package/src/content/docs/zh-cn/troubleshooting.mdx +299 -0
- package/src/content/docs/zh-cn/tui.mdx +426 -0
- package/src/content/docs/zh-cn/web.mdx +142 -0
- package/src/content/docs/zh-cn/windows-wsl.mdx +112 -0
- package/src/content/docs/zh-cn/zen.mdx +327 -0
- package/src/content/docs/zh-tw/acp.mdx +156 -0
- package/src/content/docs/zh-tw/agents.mdx +754 -0
- package/src/content/docs/zh-tw/cli.mdx +617 -0
- package/src/content/docs/zh-tw/commands.mdx +322 -0
- package/src/content/docs/zh-tw/config.mdx +687 -0
- package/src/content/docs/zh-tw/custom-tools.mdx +196 -0
- package/src/content/docs/zh-tw/ecosystem.mdx +78 -0
- package/src/content/docs/zh-tw/enterprise.mdx +165 -0
- package/src/content/docs/zh-tw/formatters.mdx +132 -0
- package/src/content/docs/zh-tw/github.mdx +321 -0
- package/src/content/docs/zh-tw/gitlab.mdx +194 -0
- package/src/content/docs/zh-tw/go.mdx +224 -0
- package/src/content/docs/zh-tw/ide.mdx +48 -0
- package/src/content/docs/zh-tw/index.mdx +343 -0
- package/src/content/docs/zh-tw/keybinds.mdx +194 -0
- package/src/content/docs/zh-tw/lsp.mdx +208 -0
- package/src/content/docs/zh-tw/mcp-servers.mdx +511 -0
- package/src/content/docs/zh-tw/models.mdx +222 -0
- package/src/content/docs/zh-tw/network.mdx +57 -0
- package/src/content/docs/zh-tw/permissions.mdx +235 -0
- package/src/content/docs/zh-tw/plugins.mdx +388 -0
- package/src/content/docs/zh-tw/providers.mdx +1970 -0
- package/src/content/docs/zh-tw/rules.mdx +180 -0
- package/src/content/docs/zh-tw/sdk.mdx +463 -0
- package/src/content/docs/zh-tw/server.mdx +284 -0
- package/src/content/docs/zh-tw/share.mdx +127 -0
- package/src/content/docs/zh-tw/skills.mdx +222 -0
- package/src/content/docs/zh-tw/themes.mdx +369 -0
- package/src/content/docs/zh-tw/tools.mdx +341 -0
- package/src/content/docs/zh-tw/troubleshooting.mdx +299 -0
- package/src/content/docs/zh-tw/tui.mdx +426 -0
- package/src/content/docs/zh-tw/web.mdx +142 -0
- package/src/content/docs/zh-tw/windows-wsl.mdx +112 -0
- package/src/content/docs/zh-tw/zen.mdx +333 -0
- package/src/content/i18n/ar.json +75 -0
- package/src/content/i18n/bs.json +75 -0
- package/src/content/i18n/da.json +75 -0
- package/src/content/i18n/de.json +75 -0
- package/src/content/i18n/en.json +75 -0
- package/src/content/i18n/es.json +75 -0
- package/src/content/i18n/fr.json +75 -0
- package/src/content/i18n/it.json +75 -0
- package/src/content/i18n/ja.json +75 -0
- package/src/content/i18n/ko.json +75 -0
- package/src/content/i18n/nb.json +75 -0
- package/src/content/i18n/pl.json +75 -0
- package/src/content/i18n/pt-BR.json +75 -0
- package/src/content/i18n/ru.json +75 -0
- package/src/content/i18n/th.json +75 -0
- package/src/content/i18n/tr.json +75 -0
- package/src/content/i18n/zh-CN.json +75 -0
- package/src/content/i18n/zh-TW.json +75 -0
- package/src/content.config.ts +16 -0
- package/src/i18n/locales.ts +117 -0
- package/src/middleware.ts +94 -0
- package/src/pages/[...slug].md.ts +34 -0
- package/src/pages/s/[id].astro +164 -0
- package/src/styles/custom.css +405 -0
- package/src/types/lang-map.d.ts +27 -0
- package/src/types/starlight-virtual.d.ts +14 -0
- package/sst-env.d.ts +10 -0
- package/tsconfig.json +9 -0
|
@@ -0,0 +1,142 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: Web
|
|
3
|
+
description: 在瀏覽器中使用 OpenCode。
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
OpenCode 可以作為 Web 應用程式在瀏覽器中執行,無需終端機即可獲得同樣強大的 AI 編碼體驗。
|
|
7
|
+
|
|
8
|
+

|
|
9
|
+
|
|
10
|
+
## 快速開始
|
|
11
|
+
|
|
12
|
+
執行以下指令啟動 Web 介面:
|
|
13
|
+
|
|
14
|
+
```bash
|
|
15
|
+
opencode web
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
這會在 `127.0.0.1` 上啟動一個本地伺服器,使用隨機可用連接埠,並自動在預設瀏覽器中開啟 OpenCode。
|
|
19
|
+
|
|
20
|
+
:::caution
|
|
21
|
+
如果未設定 `OPENCODE_SERVER_PASSWORD`,伺服器將沒有安全保護。本地使用沒有問題,但在網路存取時應當設定密碼。
|
|
22
|
+
:::
|
|
23
|
+
|
|
24
|
+
:::tip[Windows 使用者]
|
|
25
|
+
為獲得最佳體驗,建議從 [WSL](/docs/windows-wsl) 而非 PowerShell 執行 `opencode web`。這可以確保正確的檔案系統存取和終端機整合。
|
|
26
|
+
:::
|
|
27
|
+
|
|
28
|
+
---
|
|
29
|
+
|
|
30
|
+
## 設定
|
|
31
|
+
|
|
32
|
+
你可以透過命令列旗標或[設定檔](/docs/config)來設定 Web 伺服器。
|
|
33
|
+
|
|
34
|
+
### 連接埠
|
|
35
|
+
|
|
36
|
+
預設情況下,OpenCode 會選擇一個可用連接埠。你也可以指定連接埠:
|
|
37
|
+
|
|
38
|
+
```bash
|
|
39
|
+
opencode web --port 4096
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
### 主機名稱
|
|
43
|
+
|
|
44
|
+
預設情況下,伺服器繫結到 `127.0.0.1`(僅限本地存取)。要使 OpenCode 在網路中可存取:
|
|
45
|
+
|
|
46
|
+
```bash
|
|
47
|
+
opencode web --hostname 0.0.0.0
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
使用 `0.0.0.0` 時,OpenCode 會同時顯示本地位址和網路位址:
|
|
51
|
+
|
|
52
|
+
```
|
|
53
|
+
Local access: http://localhost:4096
|
|
54
|
+
Network access: http://192.168.1.100:4096
|
|
55
|
+
```
|
|
56
|
+
|
|
57
|
+
### mDNS 探索
|
|
58
|
+
|
|
59
|
+
啟用 mDNS 可以讓你的伺服器在本地網路中被自動探索:
|
|
60
|
+
|
|
61
|
+
```bash
|
|
62
|
+
opencode web --mdns
|
|
63
|
+
```
|
|
64
|
+
|
|
65
|
+
這會自動將主機名稱設定為 `0.0.0.0`,並將伺服器廣播為 `opencode.local`。
|
|
66
|
+
|
|
67
|
+
你可以自訂 mDNS 網域名稱,以便在同一網路中執行多個實例:
|
|
68
|
+
|
|
69
|
+
```bash
|
|
70
|
+
opencode web --mdns --mdns-domain myproject.local
|
|
71
|
+
```
|
|
72
|
+
|
|
73
|
+
### CORS
|
|
74
|
+
|
|
75
|
+
要為 CORS 新增額外的允許網域(適用於自訂前端):
|
|
76
|
+
|
|
77
|
+
```bash
|
|
78
|
+
opencode web --cors https://example.com
|
|
79
|
+
```
|
|
80
|
+
|
|
81
|
+
### 身分驗證
|
|
82
|
+
|
|
83
|
+
要保護伺服器存取,可以透過 `OPENCODE_SERVER_PASSWORD` 環境變數設定密碼:
|
|
84
|
+
|
|
85
|
+
```bash
|
|
86
|
+
OPENCODE_SERVER_PASSWORD=secret opencode web
|
|
87
|
+
```
|
|
88
|
+
|
|
89
|
+
使用者名稱預設為 `opencode`,可以透過 `OPENCODE_SERVER_USERNAME` 進行更改。
|
|
90
|
+
|
|
91
|
+
---
|
|
92
|
+
|
|
93
|
+
## 使用 Web 介面
|
|
94
|
+
|
|
95
|
+
啟動後,Web 介面提供對 OpenCode 工作階段的存取。
|
|
96
|
+
|
|
97
|
+
### 工作階段
|
|
98
|
+
|
|
99
|
+
在主頁上查看和管理你的工作階段。你可以查看進行中的工作階段,也可以建立新的工作階段。
|
|
100
|
+
|
|
101
|
+

|
|
102
|
+
|
|
103
|
+
### 伺服器狀態
|
|
104
|
+
|
|
105
|
+
點擊「See Servers」可以查看已連線的伺服器及其狀態。
|
|
106
|
+
|
|
107
|
+

|
|
108
|
+
|
|
109
|
+
---
|
|
110
|
+
|
|
111
|
+
## 連接終端機
|
|
112
|
+
|
|
113
|
+
你可以將終端機 TUI 連接到正在執行的 Web 伺服器:
|
|
114
|
+
|
|
115
|
+
```bash
|
|
116
|
+
# 啟動 Web 伺服器
|
|
117
|
+
opencode web --port 4096
|
|
118
|
+
|
|
119
|
+
# 在另一個終端機中連接 TUI
|
|
120
|
+
opencode attach http://localhost:4096
|
|
121
|
+
```
|
|
122
|
+
|
|
123
|
+
這樣你就可以同時使用 Web 介面和終端機,共享相同的工作階段和狀態。
|
|
124
|
+
|
|
125
|
+
---
|
|
126
|
+
|
|
127
|
+
## 設定檔
|
|
128
|
+
|
|
129
|
+
你也可以在 `opencode.json` 設定檔中設定伺服器選項:
|
|
130
|
+
|
|
131
|
+
```json
|
|
132
|
+
{
|
|
133
|
+
"server": {
|
|
134
|
+
"port": 4096,
|
|
135
|
+
"hostname": "0.0.0.0",
|
|
136
|
+
"mdns": true,
|
|
137
|
+
"cors": ["https://example.com"]
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
```
|
|
141
|
+
|
|
142
|
+
命令列旗標的優先順序高於設定檔中的設定。
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: Windows (WSL)
|
|
3
|
+
description: 透過 WSL 在 Windows 上執行 OpenCode 以獲得最佳體驗。
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
import { Steps } from "@astrojs/starlight/components"
|
|
7
|
+
|
|
8
|
+
雖然 OpenCode 可以直接在 Windows 上執行,但我們推薦使用 [Windows Subsystem for Linux (WSL)](https://learn.microsoft.com/en-us/windows/wsl/install) 以獲得最佳體驗。WSL 提供了一個 Linux 環境,能夠與 OpenCode 的各項功能無縫配合。
|
|
9
|
+
|
|
10
|
+
:::tip[為什麼選擇 WSL?]
|
|
11
|
+
WSL 提供更出色的檔案系統效能、完整的終端機支援,以及與 OpenCode 所依賴的開發工具的良好相容性。
|
|
12
|
+
:::
|
|
13
|
+
|
|
14
|
+
---
|
|
15
|
+
|
|
16
|
+
## 安裝設定
|
|
17
|
+
|
|
18
|
+
<Steps>
|
|
19
|
+
|
|
20
|
+
1. **安裝 WSL**
|
|
21
|
+
|
|
22
|
+
如果尚未安裝,請參照 Microsoft 官方指南[安裝 WSL](https://learn.microsoft.com/en-us/windows/wsl/install)。
|
|
23
|
+
|
|
24
|
+
2. **在 WSL 中安裝 OpenCode**
|
|
25
|
+
|
|
26
|
+
WSL 設定完成後,開啟 WSL 終端機,使用任一[安裝方式](/docs/)安裝 OpenCode。
|
|
27
|
+
|
|
28
|
+
```bash
|
|
29
|
+
curl -fsSL https://opencode.ai/install | bash
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
3. **從 WSL 中使用 OpenCode**
|
|
33
|
+
|
|
34
|
+
導航到你的專案目錄(透過 `/mnt/c/`、`/mnt/d/` 等路徑存取 Windows 檔案),然後執行 OpenCode。
|
|
35
|
+
|
|
36
|
+
```bash
|
|
37
|
+
cd /mnt/c/Users/YourName/project
|
|
38
|
+
opencode
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
</Steps>
|
|
42
|
+
|
|
43
|
+
---
|
|
44
|
+
|
|
45
|
+
## 桌面應用程式 + WSL 伺服器
|
|
46
|
+
|
|
47
|
+
如果你希望使用 OpenCode 桌面應用程式,同時在 WSL 中執行伺服器:
|
|
48
|
+
|
|
49
|
+
1. **在 WSL 中啟動伺服器**,新增 `--hostname 0.0.0.0` 以允許外部連線:
|
|
50
|
+
|
|
51
|
+
```bash
|
|
52
|
+
opencode serve --hostname 0.0.0.0 --port 4096
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
2. **在桌面應用程式中連線到** `http://localhost:4096`
|
|
56
|
+
|
|
57
|
+
:::note
|
|
58
|
+
如果 `localhost` 在你的環境中無法使用,請改用 WSL 的 IP 位址進行連線(在 WSL 中執行:`hostname -I`),使用 `http://<wsl-ip>:4096`。
|
|
59
|
+
:::
|
|
60
|
+
|
|
61
|
+
:::caution
|
|
62
|
+
使用 `--hostname 0.0.0.0` 時,請設定 `OPENCODE_SERVER_PASSWORD` 以保護伺服器安全。
|
|
63
|
+
:::
|
|
64
|
+
|
|
65
|
+
```bash
|
|
66
|
+
OPENCODE_SERVER_PASSWORD=your-password opencode serve --hostname 0.0.0.0
|
|
67
|
+
```
|
|
68
|
+
|
|
69
|
+
---
|
|
70
|
+
|
|
71
|
+
## Web 客戶端 + WSL
|
|
72
|
+
|
|
73
|
+
要在 Windows 上獲得最佳的 Web 體驗:
|
|
74
|
+
|
|
75
|
+
1. **在 WSL 終端機中執行 `opencode web`**,而非在 PowerShell 中執行:
|
|
76
|
+
|
|
77
|
+
```bash
|
|
78
|
+
opencode web --hostname 0.0.0.0
|
|
79
|
+
```
|
|
80
|
+
|
|
81
|
+
2. **在 Windows 瀏覽器中存取** `http://localhost:<port>`(OpenCode 會輸出該 URL)
|
|
82
|
+
|
|
83
|
+
從 WSL 中執行 `opencode web` 可確保正確的檔案系統存取和終端機整合,同時仍可透過 Windows 瀏覽器進行存取。
|
|
84
|
+
|
|
85
|
+
---
|
|
86
|
+
|
|
87
|
+
## 存取 Windows 檔案
|
|
88
|
+
|
|
89
|
+
WSL 可以透過 `/mnt/` 目錄存取你的所有 Windows 檔案:
|
|
90
|
+
|
|
91
|
+
- `C:` 磁碟 → `/mnt/c/`
|
|
92
|
+
- `D:` 磁碟 → `/mnt/d/`
|
|
93
|
+
- 其他磁碟以此類推...
|
|
94
|
+
|
|
95
|
+
範例:
|
|
96
|
+
|
|
97
|
+
```bash
|
|
98
|
+
cd /mnt/c/Users/YourName/Documents/project
|
|
99
|
+
opencode
|
|
100
|
+
```
|
|
101
|
+
|
|
102
|
+
:::tip
|
|
103
|
+
為了獲得更流暢的體驗,建議將儲存庫克隆或複製到 WSL 檔案系統中(例如 `~/code/` 目錄下),然後在該位置執行 OpenCode。
|
|
104
|
+
:::
|
|
105
|
+
|
|
106
|
+
---
|
|
107
|
+
|
|
108
|
+
## 使用技巧
|
|
109
|
+
|
|
110
|
+
- 對於儲存在 Windows 磁碟上的專案,在 WSL 中執行 OpenCode 即可無縫存取檔案
|
|
111
|
+
- 搭配 VS Code 的 [WSL 擴充套件](https://code.visualstudio.com/docs/remote/wsl) 使用 OpenCode,打造一體化的開發工作流程
|
|
112
|
+
- OpenCode 的設定和工作階段資料儲存在 WSL 環境中的 `~/.local/share/opencode/`
|
|
@@ -0,0 +1,333 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: Zen
|
|
3
|
+
description: 由 OpenCode 提供的精選模型列表。
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
import config from "../../../../config.mjs"
|
|
7
|
+
export const console = config.console
|
|
8
|
+
export const email = `mailto:${config.email}`
|
|
9
|
+
|
|
10
|
+
OpenCode Zen 是由 OpenCode 團隊提供、經過測試與驗證的模型清單。
|
|
11
|
+
|
|
12
|
+
Zen 的運作方式和 OpenCode 中的其他供應商一樣。你登入 OpenCode Zen 並取得
|
|
13
|
+
你的 API 金鑰。它是 **完全可選的**,你不需要使用它也能使用
|
|
14
|
+
OpenCode。
|
|
15
|
+
|
|
16
|
+
---
|
|
17
|
+
|
|
18
|
+
## 背景
|
|
19
|
+
|
|
20
|
+
市面上有大量模型,但其中只有少數能作為編碼代理良好運作。此外,大多數供應商的
|
|
21
|
+
設定方式差異很大,因此你得到的效能與品質也會非常不同。
|
|
22
|
+
|
|
23
|
+
:::tip
|
|
24
|
+
我們測試了一組與 OpenCode 搭配良好的精選模型與供應商。
|
|
25
|
+
:::
|
|
26
|
+
|
|
27
|
+
所以如果你是透過 OpenRouter 之類的服務使用模型,你永遠無法確定自己拿到的是不是
|
|
28
|
+
你想要那個模型的最佳版本。
|
|
29
|
+
|
|
30
|
+
為了改善這件事,我們做了幾件事:
|
|
31
|
+
|
|
32
|
+
1. 我們測試了一組精選模型,並和它們的團隊討論如何以最佳方式執行。
|
|
33
|
+
2. 接著我們與幾家供應商合作,確保這些模型能被正確提供。
|
|
34
|
+
3. 最後,我們針對模型與供應商的組合進行基準測試,整理出一份我們有信心推薦的清單。
|
|
35
|
+
|
|
36
|
+
OpenCode Zen 是一個 AI 閘道,讓你可以存取這些模型。
|
|
37
|
+
|
|
38
|
+
---
|
|
39
|
+
|
|
40
|
+
## 運作方式
|
|
41
|
+
|
|
42
|
+
OpenCode Zen 的運作方式和 OpenCode 中的其他供應商一樣。
|
|
43
|
+
|
|
44
|
+
1. 你登入 **<a href={console}>OpenCode Zen</a>**,加入帳單資訊,然後複製你的 API 金鑰。
|
|
45
|
+
2. 你在 TUI 中執行 `/connect` 指令,選擇 OpenCode Zen,然後貼上你的 API 金鑰。
|
|
46
|
+
3. 在 TUI 中執行 `/models`,查看我們推薦的模型清單。
|
|
47
|
+
|
|
48
|
+
你會依請求計費,也可以為帳戶儲值。
|
|
49
|
+
|
|
50
|
+
---
|
|
51
|
+
|
|
52
|
+
## 端點
|
|
53
|
+
|
|
54
|
+
你也可以透過以下 API 端點存取我們的模型。
|
|
55
|
+
|
|
56
|
+
| 模型 | Model ID | 端點 | AI SDK Package |
|
|
57
|
+
| ---------------------- | ---------------------- | --------------------------------------------------------- | --------------------------- |
|
|
58
|
+
| GPT 5.6 Sol | gpt-5.6-sol | `https://opencode.ai/zen/v1/responses` | `@ai-sdk/openai` |
|
|
59
|
+
| GPT 5.6 Terra | gpt-5.6-terra | `https://opencode.ai/zen/v1/responses` | `@ai-sdk/openai` |
|
|
60
|
+
| GPT 5.6 Luna | gpt-5.6-luna | `https://opencode.ai/zen/v1/responses` | `@ai-sdk/openai` |
|
|
61
|
+
| GPT 5.5 | gpt-5.5 | `https://opencode.ai/zen/v1/responses` | `@ai-sdk/openai` |
|
|
62
|
+
| GPT 5.5 Pro | gpt-5.5-pro | `https://opencode.ai/zen/v1/responses` | `@ai-sdk/openai` |
|
|
63
|
+
| GPT 5.4 | gpt-5.4 | `https://opencode.ai/zen/v1/responses` | `@ai-sdk/openai` |
|
|
64
|
+
| GPT 5.4 Pro | gpt-5.4-pro | `https://opencode.ai/zen/v1/responses` | `@ai-sdk/openai` |
|
|
65
|
+
| GPT 5.4 Mini | gpt-5.4-mini | `https://opencode.ai/zen/v1/responses` | `@ai-sdk/openai` |
|
|
66
|
+
| GPT 5.4 Nano | gpt-5.4-nano | `https://opencode.ai/zen/v1/responses` | `@ai-sdk/openai` |
|
|
67
|
+
| GPT 5.3 Codex | gpt-5.3-codex | `https://opencode.ai/zen/v1/responses` | `@ai-sdk/openai` |
|
|
68
|
+
| GPT 5.3 Codex Spark | gpt-5.3-codex-spark | `https://opencode.ai/zen/v1/responses` | `@ai-sdk/openai` |
|
|
69
|
+
| GPT 5.2 | gpt-5.2 | `https://opencode.ai/zen/v1/responses` | `@ai-sdk/openai` |
|
|
70
|
+
| GPT 5.2 Codex | gpt-5.2-codex | `https://opencode.ai/zen/v1/responses` | `@ai-sdk/openai` |
|
|
71
|
+
| GPT 5.1 | gpt-5.1 | `https://opencode.ai/zen/v1/responses` | `@ai-sdk/openai` |
|
|
72
|
+
| GPT 5.1 Codex | gpt-5.1-codex | `https://opencode.ai/zen/v1/responses` | `@ai-sdk/openai` |
|
|
73
|
+
| GPT 5.1 Codex Max | gpt-5.1-codex-max | `https://opencode.ai/zen/v1/responses` | `@ai-sdk/openai` |
|
|
74
|
+
| GPT 5.1 Codex Mini | gpt-5.1-codex-mini | `https://opencode.ai/zen/v1/responses` | `@ai-sdk/openai` |
|
|
75
|
+
| GPT 5 | gpt-5 | `https://opencode.ai/zen/v1/responses` | `@ai-sdk/openai` |
|
|
76
|
+
| GPT 5 Codex | gpt-5-codex | `https://opencode.ai/zen/v1/responses` | `@ai-sdk/openai` |
|
|
77
|
+
| GPT 5 Nano | gpt-5-nano | `https://opencode.ai/zen/v1/responses` | `@ai-sdk/openai` |
|
|
78
|
+
| Claude Fable 5 | claude-fable-5 | `https://opencode.ai/zen/v1/messages` | `@ai-sdk/anthropic` |
|
|
79
|
+
| Claude Opus 5 | claude-opus-5 | `https://opencode.ai/zen/v1/messages` | `@ai-sdk/anthropic` |
|
|
80
|
+
| Claude Opus 4.8 | claude-opus-4-8 | `https://opencode.ai/zen/v1/messages` | `@ai-sdk/anthropic` |
|
|
81
|
+
| Claude Opus 4.7 | claude-opus-4-7 | `https://opencode.ai/zen/v1/messages` | `@ai-sdk/anthropic` |
|
|
82
|
+
| Claude Opus 4.6 | claude-opus-4-6 | `https://opencode.ai/zen/v1/messages` | `@ai-sdk/anthropic` |
|
|
83
|
+
| Claude Opus 4.5 | claude-opus-4-5 | `https://opencode.ai/zen/v1/messages` | `@ai-sdk/anthropic` |
|
|
84
|
+
| Claude Sonnet 5 | claude-sonnet-5 | `https://opencode.ai/zen/v1/messages` | `@ai-sdk/anthropic` |
|
|
85
|
+
| Claude Sonnet 4.6 | claude-sonnet-4-6 | `https://opencode.ai/zen/v1/messages` | `@ai-sdk/anthropic` |
|
|
86
|
+
| Claude Sonnet 4.5 | claude-sonnet-4-5 | `https://opencode.ai/zen/v1/messages` | `@ai-sdk/anthropic` |
|
|
87
|
+
| Claude Haiku 4.5 | claude-haiku-4-5 | `https://opencode.ai/zen/v1/messages` | `@ai-sdk/anthropic` |
|
|
88
|
+
| Gemini 3.6 Flash | gemini-3.6-flash | `https://opencode.ai/zen/v1/models/gemini-3.6-flash` | `@ai-sdk/google` |
|
|
89
|
+
| Gemini 3.5 Flash | gemini-3.5-flash | `https://opencode.ai/zen/v1/models/gemini-3.5-flash` | `@ai-sdk/google` |
|
|
90
|
+
| Gemini 3.5 Flash Lite | gemini-3.5-flash-lite | `https://opencode.ai/zen/v1/models/gemini-3.5-flash-lite` | `@ai-sdk/google` |
|
|
91
|
+
| Gemini 3.1 Pro | gemini-3.1-pro | `https://opencode.ai/zen/v1/models/gemini-3.1-pro` | `@ai-sdk/google` |
|
|
92
|
+
| Gemini 3 Flash | gemini-3-flash | `https://opencode.ai/zen/v1/models/gemini-3-flash` | `@ai-sdk/google` |
|
|
93
|
+
| Grok 4.5 | grok-4.5 | `https://opencode.ai/zen/v1/chat/completions` | `@ai-sdk/openai-compatible` |
|
|
94
|
+
| Grok Build 0.1 | grok-build-0.1 | `https://opencode.ai/zen/v1/chat/completions` | `@ai-sdk/openai-compatible` |
|
|
95
|
+
| Qwen3.7 Max | qwen3.7-max | `https://opencode.ai/zen/v1/messages` | `@ai-sdk/anthropic` |
|
|
96
|
+
| Qwen3.7 Plus | qwen3.7-plus | `https://opencode.ai/zen/v1/messages` | `@ai-sdk/anthropic` |
|
|
97
|
+
| Qwen3.6 Plus | qwen3.6-plus | `https://opencode.ai/zen/v1/messages` | `@ai-sdk/anthropic` |
|
|
98
|
+
| Qwen3.5 Plus | qwen3.5-plus | `https://opencode.ai/zen/v1/messages` | `@ai-sdk/anthropic` |
|
|
99
|
+
| DeepSeek V4 Pro | deepseek-v4-pro | `https://opencode.ai/zen/v1/chat/completions` | `@ai-sdk/openai-compatible` |
|
|
100
|
+
| DeepSeek V4 Flash | deepseek-v4-flash | `https://opencode.ai/zen/v1/chat/completions` | `@ai-sdk/openai-compatible` |
|
|
101
|
+
| MiniMax M3 | minimax-m3 | `https://opencode.ai/zen/v1/chat/completions` | `@ai-sdk/openai-compatible` |
|
|
102
|
+
| MiniMax M2.7 | minimax-m2.7 | `https://opencode.ai/zen/v1/chat/completions` | `@ai-sdk/openai-compatible` |
|
|
103
|
+
| MiniMax M2.5 | minimax-m2.5 | `https://opencode.ai/zen/v1/chat/completions` | `@ai-sdk/openai-compatible` |
|
|
104
|
+
| GLM 5.2 | glm-5.2 | `https://opencode.ai/zen/v1/chat/completions` | `@ai-sdk/openai-compatible` |
|
|
105
|
+
| GLM 5.1 | glm-5.1 | `https://opencode.ai/zen/v1/chat/completions` | `@ai-sdk/openai-compatible` |
|
|
106
|
+
| GLM 5 | glm-5 | `https://opencode.ai/zen/v1/chat/completions` | `@ai-sdk/openai-compatible` |
|
|
107
|
+
| Kimi K2.5 | kimi-k2.5 | `https://opencode.ai/zen/v1/chat/completions` | `@ai-sdk/openai-compatible` |
|
|
108
|
+
| Kimi K2.6 | kimi-k2.6 | `https://opencode.ai/zen/v1/chat/completions` | `@ai-sdk/openai-compatible` |
|
|
109
|
+
| Kimi K2.7 Code | kimi-k2.7-code | `https://opencode.ai/zen/v1/chat/completions` | `@ai-sdk/openai-compatible` |
|
|
110
|
+
| Big Pickle | big-pickle | `https://opencode.ai/zen/v1/chat/completions` | `@ai-sdk/openai-compatible` |
|
|
111
|
+
| MiMo-V2.5 Free | mimo-v2.5-free | `https://opencode.ai/zen/v1/chat/completions` | `@ai-sdk/openai-compatible` |
|
|
112
|
+
| Laguna S 2.1 Free | laguna-s-2.1-free | `https://opencode.ai/zen/v1/chat/completions` | `@ai-sdk/openai-compatible` |
|
|
113
|
+
| Ling-3.0-flash Free | ling-3.0-flash-free | `https://opencode.ai/zen/v1/chat/completions` | `@ai-sdk/openai-compatible` |
|
|
114
|
+
| North Mini Code Free | north-mini-code-free | `https://opencode.ai/zen/v1/chat/completions` | `@ai-sdk/openai-compatible` |
|
|
115
|
+
| Nemotron 3 Ultra Free | nemotron-3-ultra-free | `https://opencode.ai/zen/v1/chat/completions` | `@ai-sdk/openai-compatible` |
|
|
116
|
+
| DeepSeek V4 Flash Free | deepseek-v4-flash-free | `https://opencode.ai/zen/v1/chat/completions` | `@ai-sdk/openai-compatible` |
|
|
117
|
+
|
|
118
|
+
OpenCode 設定中的 [模型 ID](/docs/config/#models) 會使用 `opencode/<model-id>`
|
|
119
|
+
格式。例如,如果是 GPT 5.5,你會在設定中使用 `opencode/gpt-5.5`。
|
|
120
|
+
|
|
121
|
+
---
|
|
122
|
+
|
|
123
|
+
### 模型
|
|
124
|
+
|
|
125
|
+
你可以從以下位置取得所有可用模型及其中繼資料的完整清單:
|
|
126
|
+
|
|
127
|
+
```
|
|
128
|
+
https://opencode.ai/zen/v1/models
|
|
129
|
+
```
|
|
130
|
+
|
|
131
|
+
---
|
|
132
|
+
|
|
133
|
+
## 定價
|
|
134
|
+
|
|
135
|
+
我們支援按量付費模式。以下是 **每 1M tokens** 的價格。
|
|
136
|
+
|
|
137
|
+
| 模型 | 輸入 | 輸出 | 快取讀取 | 快取寫入 |
|
|
138
|
+
| --------------------------------- | ------ | ------- | -------- | -------- |
|
|
139
|
+
| Big Pickle | Free | Free | Free | - |
|
|
140
|
+
| DeepSeek V4 Flash Free | Free | Free | Free | - |
|
|
141
|
+
| MiMo-V2.5 Free | Free | Free | Free | - |
|
|
142
|
+
| Laguna S 2.1 Free | Free | Free | Free | - |
|
|
143
|
+
| Ling-3.0-flash Free | Free | Free | Free | - |
|
|
144
|
+
| North Mini Code Free | Free | Free | Free | - |
|
|
145
|
+
| Nemotron 3 Ultra Free | Free | Free | Free | - |
|
|
146
|
+
| MiniMax M3 | $0.30 | $1.20 | $0.06 | - |
|
|
147
|
+
| MiniMax M2.7 | $0.30 | $1.20 | $0.06 | - |
|
|
148
|
+
| MiniMax M2.5 | $0.30 | $1.20 | $0.06 | - |
|
|
149
|
+
| GLM 5.2 | $1.40 | $4.40 | $0.26 | - |
|
|
150
|
+
| GLM 5.1 | $1.40 | $4.40 | $0.26 | - |
|
|
151
|
+
| GLM 5 | $1.00 | $3.20 | $0.20 | - |
|
|
152
|
+
| Kimi K2.7 Code | $0.95 | $4.00 | $0.19 | - |
|
|
153
|
+
| Kimi K2.6 | $0.95 | $4.00 | $0.16 | - |
|
|
154
|
+
| Kimi K2.5 | $0.60 | $3.00 | $0.10 | - |
|
|
155
|
+
| Qwen3.7 Max | $2.50 | $7.50 | $0.50 | $3.125 |
|
|
156
|
+
| Qwen3.7 Plus | $0.40 | $1.60 | $0.04 | $0.50 |
|
|
157
|
+
| Qwen3.6 Plus | $0.50 | $3.00 | $0.05 | $0.625 |
|
|
158
|
+
| Qwen3.5 Plus | $0.20 | $1.20 | $0.02 | $0.25 |
|
|
159
|
+
| DeepSeek V4 Pro | $1.74 | $3.48 | $0.145 | - |
|
|
160
|
+
| DeepSeek V4 Flash | $0.14 | $0.28 | $0.028 | - |
|
|
161
|
+
| Claude Fable 5 | $10.00 | $50.00 | $1.00 | $12.50 |
|
|
162
|
+
| Claude Opus 5 | $5.00 | $25.00 | $0.50 | $6.25 |
|
|
163
|
+
| Claude Opus 4.8 | $5.00 | $25.00 | $0.50 | $6.25 |
|
|
164
|
+
| Claude Opus 4.7 | $5.00 | $25.00 | $0.50 | $6.25 |
|
|
165
|
+
| Claude Opus 4.6 | $5.00 | $25.00 | $0.50 | $6.25 |
|
|
166
|
+
| Claude Opus 4.5 | $5.00 | $25.00 | $0.50 | $6.25 |
|
|
167
|
+
| Claude Sonnet 5 | $2.00 | $10.00 | $0.20 | $2.50 |
|
|
168
|
+
| Claude Sonnet 4.6 | $3.00 | $15.00 | $0.30 | $3.75 |
|
|
169
|
+
| Claude Sonnet 4.5 (≤ 200K tokens) | $3.00 | $15.00 | $0.30 | $3.75 |
|
|
170
|
+
| Claude Sonnet 4.5 (> 200K tokens) | $6.00 | $22.50 | $0.60 | $7.50 |
|
|
171
|
+
| Claude Haiku 4.5 | $1.00 | $5.00 | $0.10 | $1.25 |
|
|
172
|
+
| Gemini 3.6 Flash | $1.50 | $7.50 | $0.15 | - |
|
|
173
|
+
| Gemini 3.5 Flash | $1.50 | $9.00 | $0.15 | - |
|
|
174
|
+
| Gemini 3.5 Flash Lite | $0.30 | $2.50 | $0.03 | - |
|
|
175
|
+
| Gemini 3.1 Pro (≤ 200K tokens) | $2.00 | $12.00 | $0.20 | - |
|
|
176
|
+
| Gemini 3.1 Pro (> 200K tokens) | $4.00 | $18.00 | $0.40 | - |
|
|
177
|
+
| Gemini 3 Flash | $0.50 | $3.00 | $0.05 | - |
|
|
178
|
+
| Grok 4.5 (≤ 200K tokens) | $2.00 | $6.00 | $0.30 | - |
|
|
179
|
+
| Grok 4.5 (> 200K tokens) | $4.00 | $12.00 | $0.60 | - |
|
|
180
|
+
| Grok Build 0.1 | $1.00 | $2.00 | $0.20 | - |
|
|
181
|
+
| GPT 5.6 Sol (≤ 272K tokens) | $5.00 | $30.00 | $0.50 | $6.25 |
|
|
182
|
+
| GPT 5.6 Sol (> 272K tokens) | $10.00 | $45.00 | $1.00 | $12.50 |
|
|
183
|
+
| GPT 5.6 Terra (≤ 272K tokens) | $2.50 | $15.00 | $0.25 | $3.125 |
|
|
184
|
+
| GPT 5.6 Terra (> 272K tokens) | $5.00 | $22.50 | $0.50 | $6.25 |
|
|
185
|
+
| GPT 5.6 Luna (≤ 272K tokens) | $1.00 | $6.00 | $0.10 | $1.25 |
|
|
186
|
+
| GPT 5.6 Luna (> 272K tokens) | $2.00 | $9.00 | $0.20 | $2.50 |
|
|
187
|
+
| GPT 5.5 (≤ 272K tokens) | $5.00 | $30.00 | $0.50 | - |
|
|
188
|
+
| GPT 5.5 (> 272K tokens) | $10.00 | $45.00 | $1.00 | - |
|
|
189
|
+
| GPT 5.5 Pro | $30.00 | $180.00 | $30.00 | - |
|
|
190
|
+
| GPT 5.4 (≤ 272K tokens) | $2.50 | $15.00 | $0.25 | - |
|
|
191
|
+
| GPT 5.4 (> 272K tokens) | $5.00 | $22.50 | $0.50 | - |
|
|
192
|
+
| GPT 5.4 Pro | $30.00 | $180.00 | $30.00 | - |
|
|
193
|
+
| GPT 5.4 Mini | $0.75 | $4.50 | $0.075 | - |
|
|
194
|
+
| GPT 5.4 Nano | $0.20 | $1.25 | $0.02 | - |
|
|
195
|
+
| GPT 5.3 Codex Spark | $1.75 | $14.00 | $0.175 | - |
|
|
196
|
+
| GPT 5.3 Codex | $1.75 | $14.00 | $0.175 | - |
|
|
197
|
+
| GPT 5.2 | $1.75 | $14.00 | $0.175 | - |
|
|
198
|
+
| GPT 5.2 Codex | $1.75 | $14.00 | $0.175 | - |
|
|
199
|
+
| GPT 5.1 | $1.07 | $8.50 | $0.107 | - |
|
|
200
|
+
| GPT 5.1 Codex | $1.07 | $8.50 | $0.107 | - |
|
|
201
|
+
| GPT 5.1 Codex Max | $1.25 | $10.00 | $0.125 | - |
|
|
202
|
+
| GPT 5.1 Codex Mini | $0.25 | $2.00 | $0.025 | - |
|
|
203
|
+
| GPT 5 | $1.07 | $8.50 | $0.107 | - |
|
|
204
|
+
| GPT 5 Codex | $1.07 | $8.50 | $0.107 | - |
|
|
205
|
+
| GPT 5 Nano | $0.05 | $0.40 | $0.005 | - |
|
|
206
|
+
|
|
207
|
+
你可能會在使用紀錄中看到 Haiku、Nano 或 Flash 等[低成本模型](/docs/config/#models)。OpenCode 使用這些模型產生工作階段標題。
|
|
208
|
+
|
|
209
|
+
:::note
|
|
210
|
+
信用卡手續費會以成本轉嫁(每筆交易 4.4% + $0.30);除此之外,我們不會額外收費。
|
|
211
|
+
:::
|
|
212
|
+
|
|
213
|
+
免費模型:
|
|
214
|
+
|
|
215
|
+
- DeepSeek V4 Flash Free 在 OpenCode 上限時提供。團隊正在利用這段時間收集回饋並改進模型。
|
|
216
|
+
- MiMo-V2.5 Free 在 OpenCode 上限時提供。團隊正在利用這段時間收集回饋並改進模型。
|
|
217
|
+
- Laguna S 2.1 Free 在 OpenCode 上限時提供。團隊正在利用這段時間收集回饋並改進模型。
|
|
218
|
+
- Ling-3.0-flash Free 在 OpenCode 上限時提供。團隊正在利用這段時間收集回饋並改進模型。
|
|
219
|
+
- North Mini Code Free 在 OpenCode 上限時提供。團隊正在利用這段時間收集回饋並改進模型。
|
|
220
|
+
- Nemotron 3 Ultra Free 在 OpenCode 上限時提供。團隊正在利用這段時間收集回饋並改進模型。
|
|
221
|
+
- Big Pickle 是一個隱身模型,在 OpenCode 上限時免費提供。團隊正在利用這段時間收集回饋並改進模型。
|
|
222
|
+
|
|
223
|
+
如果你有任何問題,請<a href={email}>聯絡我們</a>。
|
|
224
|
+
|
|
225
|
+
---
|
|
226
|
+
|
|
227
|
+
### 自動儲值
|
|
228
|
+
|
|
229
|
+
如果你的餘額低於 $5,Zen 會自動儲值 $20。
|
|
230
|
+
|
|
231
|
+
你可以調整自動儲值金額,也可以完全停用自動儲值。
|
|
232
|
+
|
|
233
|
+
---
|
|
234
|
+
|
|
235
|
+
### 每月限額
|
|
236
|
+
|
|
237
|
+
你也可以為整個工作區以及團隊中的每位成員設定每月使用限額。
|
|
238
|
+
|
|
239
|
+
例如,假設你把每月使用限額設為 $20,Zen 在一個月內就不會使用超過 $20。
|
|
240
|
+
但如果你啟用了自動儲值,當餘額低於 $5 時,Zen 最終仍可能向你收取超過 $20。
|
|
241
|
+
|
|
242
|
+
---
|
|
243
|
+
|
|
244
|
+
### 已棄用模型
|
|
245
|
+
|
|
246
|
+
| 模型 | 棄用日期 |
|
|
247
|
+
| ------------------ | ----------------- |
|
|
248
|
+
| GPT 5.2 Codex | July 23, 2026 |
|
|
249
|
+
| GPT 5.1 Codex | July 23, 2026 |
|
|
250
|
+
| GPT 5.1 Codex Max | July 23, 2026 |
|
|
251
|
+
| GPT 5.1 Codex Mini | July 23, 2026 |
|
|
252
|
+
| GPT 5 Codex | July 23, 2026 |
|
|
253
|
+
| Claude Opus 4.1 | August 5, 2026 |
|
|
254
|
+
| Claude Sonnet 4 | June 15, 2026 |
|
|
255
|
+
| Claude Haiku 3.5 | February 16, 2026 |
|
|
256
|
+
| Gemini 3 Pro | March 9, 2026 |
|
|
257
|
+
| MiniMax M2.5 | August 5, 2026 |
|
|
258
|
+
| MiniMax M2.1 | March 15, 2026 |
|
|
259
|
+
| GLM 5 | May 14, 2026 |
|
|
260
|
+
| GLM 4.7 | March 15, 2026 |
|
|
261
|
+
| GLM 4.6 | March 15, 2026 |
|
|
262
|
+
| Kimi K2.5 | August 5, 2026 |
|
|
263
|
+
| Kimi K2 Thinking | March 6, 2026 |
|
|
264
|
+
| Kimi K2 | March 6, 2026 |
|
|
265
|
+
| Qwen3 Coder 480B | February 6, 2026 |
|
|
266
|
+
|
|
267
|
+
---
|
|
268
|
+
|
|
269
|
+
## 隱私
|
|
270
|
+
|
|
271
|
+
我們所有模型都託管於美國。我們的供應商遵循零保留政策,且不會將你的資料用於模型訓練,但以下情況除外:
|
|
272
|
+
|
|
273
|
+
- Big Pickle: 在免費期間,收集到的資料可能會用於改進模型。
|
|
274
|
+
- DeepSeek V4 Flash Free: 在免費期間,收集到的資料可能會用於改進模型。
|
|
275
|
+
- MiMo-V2.5 Free: 在免費期間,收集到的資料可能會用於改進模型。
|
|
276
|
+
- Laguna S 2.1 Free: 在免費期間,收集到的資料可能會用於改進模型。
|
|
277
|
+
- Ling-3.0-flash Free: 在免費期間,收集到的資料可能會用於改進模型。
|
|
278
|
+
- North Mini Code Free:免費期間,所收集的資料可能會被保留並用於改進模型。請勿提交個人或機密資料。請參閱我們的[使用條款](https://cohere.com/terms-of-use)和[隱私權政策](https://cohere.com/privacy)。
|
|
279
|
+
- Nemotron 3 Ultra Free(NVIDIA 免費端點):僅供試用 — 請勿提交個人或機密資料。基於安全目的以及為了改進 NVIDIA 產品與服務,系統會記錄你的使用情況。基於改進目的而記錄的工作階段資料不會與你的身分或任何持久識別碼相關聯。有關我們資料處理實務的更多資訊,請參閱我們的[隱私政策](https://assets.ngc.nvidia.com/products/api-catalog/legal/NVIDIA%20API%20Trial%20Terms%20of%20Service.pdf)。與此端點進行互動,即表示你同意我們收集、記錄與使用此類資訊,並同意 [NVIDIA API Trial Terms of Service](https://assets.ngc.nvidia.com/products/api-catalog/legal/NVIDIA%20API%20Trial%20Terms%20of%20Service.pdf)。
|
|
280
|
+
- OpenAI APIs: 請求會依據 [OpenAI's Data Policies](https://platform.openai.com/docs/guides/your-data) 保留 30 天。
|
|
281
|
+
- Anthropic APIs: 請求會依據 [Anthropic's Data Policies](https://docs.anthropic.com/en/docs/claude-code/data-usage) 保留 30 天。
|
|
282
|
+
|
|
283
|
+
---
|
|
284
|
+
|
|
285
|
+
## 團隊
|
|
286
|
+
|
|
287
|
+
Zen 也很適合團隊使用。你可以邀請隊友、指派角色、管理團隊要使用的模型等等。
|
|
288
|
+
|
|
289
|
+
:::note
|
|
290
|
+
作為 beta 的一部分,工作區目前對團隊免費。
|
|
291
|
+
:::
|
|
292
|
+
|
|
293
|
+
作為 beta 的一部分,管理你的工作區目前對團隊免費。我們很快會分享更多定價細節。
|
|
294
|
+
|
|
295
|
+
---
|
|
296
|
+
|
|
297
|
+
### 角色
|
|
298
|
+
|
|
299
|
+
你可以邀請隊友加入你的工作區,並指派角色:
|
|
300
|
+
|
|
301
|
+
- **Admin**:管理模型、成員、API 金鑰與帳單
|
|
302
|
+
- **Member**:只能管理自己的 API 金鑰
|
|
303
|
+
|
|
304
|
+
Admin 也可以為每位成員設定每月支出上限,協助控制成本。
|
|
305
|
+
|
|
306
|
+
---
|
|
307
|
+
|
|
308
|
+
### 模型存取
|
|
309
|
+
|
|
310
|
+
Admin 可以為工作區啟用或停用特定模型。對已停用模型發出的請求會回傳錯誤。
|
|
311
|
+
|
|
312
|
+
這在你想停用會收集資料的模型時很有用。
|
|
313
|
+
|
|
314
|
+
---
|
|
315
|
+
|
|
316
|
+
### 自備金鑰
|
|
317
|
+
|
|
318
|
+
你可以使用自己的 OpenAI 或 Anthropic API 金鑰,同時仍然存取 Zen 中的其他模型。
|
|
319
|
+
|
|
320
|
+
當你使用自己的金鑰時,Token 會直接由供應商計費,而不是由 Zen 計費。
|
|
321
|
+
|
|
322
|
+
例如,你的組織可能已經有 OpenAI 或 Anthropic 的金鑰,而你想改用那把金鑰,而不是 Zen 提供的金鑰。
|
|
323
|
+
|
|
324
|
+
---
|
|
325
|
+
|
|
326
|
+
## 目標
|
|
327
|
+
|
|
328
|
+
我們建立 OpenCode Zen,是為了:
|
|
329
|
+
|
|
330
|
+
1. 為編碼代理對最佳模型與供應商進行 **基準測試**。
|
|
331
|
+
2. 取得 **最高品質** 的選項,而不是降低效能或改路由到更便宜的供應商。
|
|
332
|
+
3. 透過以成本價銷售,把任何 **降價** 回饋給你;唯一的加價只用來支付我們的處理費。
|
|
333
|
+
4. 保持 **無鎖定**,讓你能把它與任何其他編碼代理一起使用,同時也始終能在 OpenCode 中使用任何其他供應商。
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
{
|
|
2
|
+
"app.head.titleSuffix": "وكيل برمجة بالذكاء الاصطناعي مصمم لـ terminal",
|
|
3
|
+
"app.header.home": "الرئيسية",
|
|
4
|
+
"app.header.docs": "التوثيق",
|
|
5
|
+
"app.footer.issueLink": "وجدت خطأ؟ افتح بلاغا",
|
|
6
|
+
"app.footer.discordLink": "انضم إلى مجتمع Discord الخاص بنا",
|
|
7
|
+
"app.lander.hero.title": "وكيل البرمجة بالذكاء الاصطناعي المصمم لـ terminal.",
|
|
8
|
+
"app.lander.cta.getStarted": "ابدأ الآن",
|
|
9
|
+
"app.lander.features.native_tui.title": "TUI أصلي",
|
|
10
|
+
"app.lander.features.native_tui.description": "واجهة terminal أصلية، سريعة الاستجابة، وقابلة للتخصيص.",
|
|
11
|
+
"app.lander.features.lsp_enabled.title": "يدعم LSP",
|
|
12
|
+
"app.lander.features.lsp_enabled.description": "يحمّل تلقائيا خوادم LSP المناسبة لـ LLM.",
|
|
13
|
+
"app.lander.features.multi_session.title": "جلسات متعددة",
|
|
14
|
+
"app.lander.features.multi_session.description": "شغّل عدة وكلاء بالتوازي على نفس المشروع.",
|
|
15
|
+
"app.lander.features.shareable_links.title": "روابط قابلة للمشاركة",
|
|
16
|
+
"app.lander.features.shareable_links.description": "شارك رابطا لأي جلسة للرجوع إليها أو لتصحيح الأخطاء.",
|
|
17
|
+
"app.lander.features.github_copilot.description": "سجّل الدخول عبر GitHub لاستخدام حساب Copilot الخاص بك.",
|
|
18
|
+
"app.lander.features.chatgpt_plus_pro.description": "سجّل الدخول عبر OpenAI لاستخدام حساب ChatGPT Plus أو Pro.",
|
|
19
|
+
"app.lander.features.use_any_model.title": "استخدم أي نموذج",
|
|
20
|
+
"app.lander.features.use_any_model.prefix": "يدعم أكثر من 75 مزودا لـ LLM عبر",
|
|
21
|
+
"app.lander.features.use_any_model.suffix": "بما في ذلك النماذج المحلية.",
|
|
22
|
+
"app.lander.images.tui.caption": "opencode TUI مع سمة tokyonight",
|
|
23
|
+
"app.lander.images.tui.alt": "opencode TUI مع سمة tokyonight",
|
|
24
|
+
"app.lander.images.vscode.caption": "opencode في VS Code",
|
|
25
|
+
"app.lander.images.vscode.alt": "opencode في VS Code",
|
|
26
|
+
"app.lander.images.github.caption": "opencode في GitHub",
|
|
27
|
+
"app.lander.images.github.alt": "opencode في GitHub",
|
|
28
|
+
"share.meta_description": "opencode - وكيل البرمجة بالذكاء الاصطناعي المصمم لـ terminal.",
|
|
29
|
+
"share.not_found": "غير موجود",
|
|
30
|
+
"share.link_to_message": "رابط إلى هذه الرسالة",
|
|
31
|
+
"share.copied": "تم النسخ!",
|
|
32
|
+
"share.copy": "نسخ",
|
|
33
|
+
"share.show_more": "عرض المزيد",
|
|
34
|
+
"share.show_less": "عرض أقل",
|
|
35
|
+
"share.show_results": "عرض النتائج",
|
|
36
|
+
"share.hide_results": "إخفاء النتائج",
|
|
37
|
+
"share.show_details": "عرض التفاصيل",
|
|
38
|
+
"share.hide_details": "إخفاء التفاصيل",
|
|
39
|
+
"share.show_preview": "عرض المعاينة",
|
|
40
|
+
"share.hide_preview": "إخفاء المعاينة",
|
|
41
|
+
"share.show_contents": "عرض المحتويات",
|
|
42
|
+
"share.hide_contents": "إخفاء المحتويات",
|
|
43
|
+
"share.show_output": "عرض المخرجات",
|
|
44
|
+
"share.hide_output": "إخفاء المخرجات",
|
|
45
|
+
"share.error": "خطأ",
|
|
46
|
+
"share.waiting_for_messages": "بانتظار الرسائل...",
|
|
47
|
+
"share.status_connected_waiting": "متصل، بانتظار الرسائل...",
|
|
48
|
+
"share.status_connecting": "جارٍ الاتصال...",
|
|
49
|
+
"share.status_disconnected": "غير متصل",
|
|
50
|
+
"share.status_reconnecting": "جارٍ إعادة الاتصال...",
|
|
51
|
+
"share.status_error": "خطأ",
|
|
52
|
+
"share.status_unknown": "غير معروف",
|
|
53
|
+
"share.error_id_not_found": "لم يتم العثور على id",
|
|
54
|
+
"share.error_api_url_not_found": "لم يتم العثور على API URL",
|
|
55
|
+
"share.error_connection_failed": "فشل الاتصال",
|
|
56
|
+
"share.opencode_version": "إصدار opencode",
|
|
57
|
+
"share.opencode_name": "opencode",
|
|
58
|
+
"share.models": "النماذج",
|
|
59
|
+
"share.cost": "التكلفة",
|
|
60
|
+
"share.input_tokens": "رموز الإدخال",
|
|
61
|
+
"share.output_tokens": "رموز الإخراج",
|
|
62
|
+
"share.reasoning_tokens": "رموز التفكير",
|
|
63
|
+
"share.scroll_to_bottom": "التمرير إلى الأسفل",
|
|
64
|
+
"share.attachment": "مرفق",
|
|
65
|
+
"share.thinking": "تفكير",
|
|
66
|
+
"share.thinking_pending": "جارٍ التفكير...",
|
|
67
|
+
"share.creating_plan": "جارٍ إنشاء الخطة",
|
|
68
|
+
"share.completing_plan": "جارٍ إكمال الخطة",
|
|
69
|
+
"share.updating_plan": "جارٍ تحديث الخطة",
|
|
70
|
+
"share.match_one": "مطابقة",
|
|
71
|
+
"share.match_other": "مطابقات",
|
|
72
|
+
"share.result_one": "نتيجة",
|
|
73
|
+
"share.result_other": "نتائج",
|
|
74
|
+
"share.debug_key": "المفتاح"
|
|
75
|
+
}
|