Skip to content

Commit 958f965

Browse files
authored
chore: refresh docs and provider ordering (#60731)
1 parent 171dbd6 commit 958f965

45 files changed

Lines changed: 167 additions & 177 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎packages/app/src/providers/catalog/order.ts‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ export const popularProviders = [
22
"opencode-go",
33
"opencode",
44
"anthropic",
5-
"claude-agent",
65
"github-copilot",
76
"openai",
87
"google",

‎packages/app/src/providers/connect/dialog.tsx‎

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@ import { useIntegrations } from "@/providers/catalog/integrations"
3737
import { ProviderModelGroup, ProviderModelIcon } from "@/providers/models/provider-group"
3838
import type { ModelSelection } from "@/providers/models/selection"
3939
import { decode64 } from "@/runtime/persistence/base64"
40-
import { ExternalLink } from "@/runtime/platform/external-link"
4140
import { SettingsList } from "@/settings/list"
4241
import { useTabs } from "@/shell/tabs/tabs"
4342
import { Persist, persisted } from "@/runtime/persistence/storage"
@@ -270,10 +269,8 @@ export const DialogConnectProvider: Component<{
270269

271270
const CLAUDE_CODE_SETUP_URL = "https://code.claude.com/docs/en/setup"
272271

273-
const CLAUDE_AGENT_DOCS_URL = "https://opencode.ai/v2/docs/providers#claude-agent"
274-
275-
// The TUI's integration groups and order, plus Claude Agent, with connected integrations pulled up into their own group first.
276-
const POPULAR = ["opencode", "opencode-go", "openai", "github-copilot", "anthropic", "claude-agent", "google"]
272+
// The TUI's integration groups and order, with connected integrations pulled up into their own group first.
273+
const POPULAR = ["opencode", "opencode-go", "openai", "github-copilot", "anthropic", "google"]
277274

278275
function ProviderPicker(props: { directory?: string; onSelect: (provider: string) => void; onPrepare?: () => void }) {
279276
const integrations = useIntegrations(() => props.directory)
@@ -1625,10 +1622,7 @@ function ProviderConnection(props: {
16251622
data-component="claude-agent-setup"
16261623
class="flex flex-col items-start gap-5 px-3 pb-2 text-[13px] font-[440] leading-5 tracking-[-0.04px] text-v2-text-text-muted"
16271624
>
1628-
<p>
1629-
{language.t("provider.connect.claudeAgent.description")}{" "}
1630-
<ExternalLink href={CLAUDE_AGENT_DOCS_URL}>{language.t("provider.connect.claudeAgent.learnMore")}</ExternalLink>
1631-
</p>
1625+
<p>{language.t("provider.connect.claudeAgent.description")}</p>
16321626
<Show when={problem()}>
16331627
{(message) => (
16341628
<div class="flex items-start gap-2 text-v2-text-text-base">

‎packages/app/src/runtime/i18n/en.ts‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,6 @@ export const dict = {
231231
"provider.connect.title.anthropicProMax": "Login with Anthropic",
232232
"provider.connect.claudeAgent.description":
233233
"Use your Claude plan or another Claude Code login. Install Claude Code and sign in first.",
234-
"provider.connect.claudeAgent.learnMore": "Learn more",
235234
"provider.connect.claudeAgent.install": "Install Claude Code",
236235
"provider.connect.claudeAgent.signIn.command": "Sign-in command",
237236
"provider.connect.claudeAgent.connect": "Connect",

‎packages/console/app/src/i18n/ar.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ export const dict = {
112112
"home.faq.a3.p4.beforeLocal": "ويمكنك أيضًا ربط",
113113
"home.faq.a3.p4.localLink": "النماذج المحلية",
114114
"home.faq.q4": "هل يمكنني استخدام اشتراكاتي الحالية مع OpenCode؟",
115-
"home.faq.a4.p1": "نعم، يمكنك استخدام اشتراكات ChatGPT Plus/Pro أو GitHub Copilot، أو اشتراك Claude عبر Claude Code.",
115+
"home.faq.a4.p1": "نعم، يمكنك استخدام اشتراكات ChatGPT Plus/Pro أو GitHub Copilot.",
116116
"home.faq.q5": "هل يمكنني استخدام OpenCode في الطرفية فقط؟",
117117
"home.faq.a5.beforeDesktop": "ليس بعد الآن! OpenCode متاح الآن كتطبيق لـ",
118118
"home.faq.a5.desktop": "سطح المكتب",

‎packages/console/app/src/i18n/br.ts‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,8 +116,7 @@ export const dict = {
116116
"home.faq.a3.p4.beforeLocal": "Você pode até conectar seus",
117117
"home.faq.a3.p4.localLink": "modelos locais",
118118
"home.faq.q4": "Posso usar minhas assinaturas de IA existentes com o OpenCode?",
119-
"home.faq.a4.p1":
120-
"Sim, você pode usar suas assinaturas ChatGPT Plus/Pro ou GitHub Copilot, ou sua assinatura do Claude pelo Claude Code.",
119+
"home.faq.a4.p1": "Sim, você pode usar suas assinaturas ChatGPT Plus/Pro ou GitHub Copilot.",
121120
"home.faq.q5": "Posso usar o OpenCode apenas no terminal?",
122121
"home.faq.a5.beforeDesktop": "Não mais! OpenCode agora está disponível como um app para o seu",
123122
"home.faq.a5.desktop": "desktop",

‎packages/console/app/src/i18n/da.ts‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,8 +115,7 @@ export const dict = {
115115
"home.faq.a3.p4.beforeLocal": "Du kan endda forbinde dine",
116116
"home.faq.a3.p4.localLink": "lokale modeller",
117117
"home.faq.q4": "Kan jeg bruge mine eksisterende AI-abonnementer med OpenCode?",
118-
"home.faq.a4.p1":
119-
"Ja, du kan bruge dine ChatGPT Plus/Pro- eller GitHub Copilot-abonnementer eller dit Claude-abonnement via Claude Code.",
118+
"home.faq.a4.p1": "Ja, du kan bruge dine ChatGPT Plus/Pro- eller GitHub Copilot-abonnementer.",
120119
"home.faq.q5": "Kan jeg kun bruge OpenCode i terminalen?",
121120
"home.faq.a5.beforeDesktop": "Ikke længere! OpenCode er nu tilgængelig som en app til",
122121
"home.faq.a5.desktop": "desktop",

‎packages/console/app/src/i18n/de.ts‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,8 +115,7 @@ export const dict = {
115115
"home.faq.a3.p4.beforeLocal": "Du kannst sogar deine",
116116
"home.faq.a3.p4.localLink": "lokalen Modelle verbinden",
117117
"home.faq.q4": "Kann ich meine bestehenden AI-Abos mit OpenCode nutzen?",
118-
"home.faq.a4.p1":
119-
"Ja, du kannst deine ChatGPT Plus/Pro- oder GitHub Copilot-Abos sowie dein Claude-Abo über Claude Code nutzen.",
118+
"home.faq.a4.p1": "Ja, du kannst deine ChatGPT Plus/Pro- oder GitHub Copilot-Abos nutzen.",
120119
"home.faq.q5": "Kann ich OpenCode nur im Terminal nutzen?",
121120
"home.faq.a5.beforeDesktop": "Nicht mehr! OpenCode ist jetzt als App für",
122121
"home.faq.a5.desktop": "Desktop",

‎packages/console/app/src/i18n/en.ts‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,8 +115,7 @@ export const dict = {
115115
"home.faq.a3.p4.beforeLocal": "You can even connect your",
116116
"home.faq.a3.p4.localLink": "local models",
117117
"home.faq.q4": "Can I use my existing AI subscriptions with OpenCode?",
118-
"home.faq.a4.p1":
119-
"Yes, you can use your ChatGPT Plus/Pro or GitHub Copilot subscriptions, or your Claude subscription through Claude Code.",
118+
"home.faq.a4.p1": "Yes, you can use your ChatGPT Plus/Pro or GitHub Copilot subscriptions.",
120119
"home.faq.q5": "Can I only use OpenCode in the terminal?",
121120
"home.faq.a5.beforeDesktop": "Not anymore! OpenCode is now available as an app for your",
122121
"home.faq.a5.desktop": "desktop",

‎packages/console/app/src/i18n/es.ts‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,8 +116,7 @@ export const dict = {
116116
"home.faq.a3.p4.beforeLocal": "Incluso puedes conectar tus",
117117
"home.faq.a3.p4.localLink": "modelos locales",
118118
"home.faq.q4": "¿Puedo usar mis suscripciones de IA existentes con OpenCode?",
119-
"home.faq.a4.p1":
120-
"Sí, puedes usar tus suscripciones de ChatGPT Plus/Pro o GitHub Copilot, o tu suscripción de Claude a través de Claude Code.",
119+
"home.faq.a4.p1": "Sí, puedes usar tus suscripciones de ChatGPT Plus/Pro o GitHub Copilot.",
121120
"home.faq.q5": "¿Solo puedo usar OpenCode en la terminal?",
122121
"home.faq.a5.beforeDesktop": "¡Ya no! OpenCode ahora está disponible como una aplicación para tu",
123122
"home.faq.a5.desktop": "escritorio",

‎packages/console/app/src/i18n/fr.ts‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,8 +115,7 @@ export const dict = {
115115
"home.faq.a3.p4.beforeLocal": "Vous pouvez même connecter vos",
116116
"home.faq.a3.p4.localLink": "modèles locaux",
117117
"home.faq.q4": "Puis-je utiliser mes abonnements IA existants avec OpenCode ?",
118-
"home.faq.a4.p1":
119-
"Oui, vous pouvez utiliser vos abonnements ChatGPT Plus/Pro ou GitHub Copilot, ou votre abonnement Claude via Claude Code.",
118+
"home.faq.a4.p1": "Oui, vous pouvez utiliser vos abonnements ChatGPT Plus/Pro ou GitHub Copilot.",
120119
"home.faq.q5": "Puis-je utiliser OpenCode uniquement dans le terminal ?",
121120
"home.faq.a5.beforeDesktop": "Plus maintenant ! OpenCode est désormais disponible en application pour",
122121
"home.faq.a5.desktop": "desktop",

0 commit comments

Comments
 (0)