docs: link apps and READMEs to V2 docs (#58289)

This commit is contained in:
DS
2026-10-22 21:57:31 -04:00
committed by GitHub
Unverified
parent ea1f209f4d
commit 35adacb8f7
30 changed files with 63 additions and 56 deletions
+2 -2
View File
@@ -95,11 +95,11 @@ brew install --cask opencode-desktop
بالاضافة الى ذلك يوجد وكيل فرعي **general** للبحث المعقد والمهام متعددة الخطوات.
يستخدم داخليا ويمكن استدعاؤه بكتابة `@general` في الرسائل.
تعرف على المزيد حول [agents](https://opencode.ai/docs/agents).
تعرف على المزيد حول [agents](https://opencode.ai/v2/docs/agents).
### التوثيق
لمزيد من المعلومات حول كيفية ضبط OpenCode، [**راجع التوثيق**](https://opencode.ai/docs).
لمزيد من المعلومات حول كيفية ضبط OpenCode، [**راجع التوثيق**](https://opencode.ai/v2/docs).
### المساهمة
+2 -2
View File
@@ -95,11 +95,11 @@ OpenCode এ দুটি বিল্ট-ইন এজেন্ট রয়ে
এছাড়াও জটিল অনুসন্ধান এবং মাল্টিস্টেপ টাস্কের জন্য একটি **general** সাবএজেন্ট অন্তর্ভুক্ত রয়েছে।
এটি অভ্যন্তরীণভাবে ব্যবহৃত হয় এবং মেসেজে `@general` লিখে ব্যবহার করা যেতে পারে।
এজেন্টদের সম্পর্কে আরও জানুন: [docs](https://opencode.ai/docs/agents)।
এজেন্টদের সম্পর্কে আরও জানুন: [docs](https://opencode.ai/v2/docs/agents)।
### ডকুমেন্টেশন (Documentation)
কিভাবে OpenCode কনফিগার করবেন সে সম্পর্কে আরও তথ্যের জন্য, [**আমাদের ডকস দেখুন**](https://opencode.ai/docs)।
কিভাবে OpenCode কনফিগার করবেন সে সম্পর্কে আরও তথ্যের জন্য, [**আমাদের ডকস দেখুন**](https://opencode.ai/v2/docs)।
### অবদান (Contributing)
+2 -2
View File
@@ -95,11 +95,11 @@ O OpenCode inclui dois agents integrados, que você pode alternar com a tecla `T
Também há um subagent **general** para buscas complexas e tarefas em várias etapas.
Ele é usado internamente e pode ser invocado com `@general` nas mensagens.
Saiba mais sobre [agents](https://opencode.ai/docs/agents).
Saiba mais sobre [agents](https://opencode.ai/v2/docs/agents).
### Documentação
Para mais informações sobre como configurar o OpenCode, [**veja nossa documentação**](https://opencode.ai/docs).
Para mais informações sobre como configurar o OpenCode, [**veja nossa documentação**](https://opencode.ai/v2/docs).
### Contribuir
+2 -2
View File
@@ -95,11 +95,11 @@ OpenCode uključuje dva ugrađena agenta između kojih možeš prebacivati taste
Uključen je i **general** pod-agent za složene pretrage i višekoračne zadatke.
Koristi se interno i može se pozvati pomoću `@general` u porukama.
Saznaj više o [agentima](https://opencode.ai/docs/agents).
Saznaj više o [agentima](https://opencode.ai/v2/docs/agents).
### Dokumentacija
Za više informacija o konfiguraciji OpenCode-a, [**pogledaj dokumentaciju**](https://opencode.ai/docs).
Za više informacija o konfiguraciji OpenCode-a, [**pogledaj dokumentaciju**](https://opencode.ai/v2/docs).
### Doprinosi
+2 -2
View File
@@ -95,11 +95,11 @@ OpenCode har to indbyggede agents, som du kan skifte mellem med `Tab`-tasten.
Derudover findes der en **general**-subagent til komplekse søgninger og flertrinsopgaver.
Den bruges internt og kan kaldes via `@general` i beskeder.
Læs mere om [agents](https://opencode.ai/docs/agents).
Læs mere om [agents](https://opencode.ai/v2/docs/agents).
### Dokumentation
For mere info om konfiguration af OpenCode, [**se vores docs**](https://opencode.ai/docs).
For mere info om konfiguration af OpenCode, [**se vores docs**](https://opencode.ai/v2/docs).
### Bidrag
+2 -2
View File
@@ -95,11 +95,11 @@ OpenCode enthält zwei eingebaute Agents, zwischen denen du mit der `Tab`-Taste
Außerdem ist ein **general**-Subagent für komplexe Suchen und mehrstufige Aufgaben enthalten.
Dieser wird intern genutzt und kann in Nachrichten mit `@general` aufgerufen werden.
Mehr dazu unter [Agents](https://opencode.ai/docs/agents).
Mehr dazu unter [Agents](https://opencode.ai/v2/docs/agents).
### Dokumentation
Mehr Infos zur Konfiguration von OpenCode findest du in unseren [**Docs**](https://opencode.ai/docs).
Mehr Infos zur Konfiguration von OpenCode findest du in unseren [**Docs**](https://opencode.ai/v2/docs).
### Beitragen
+2 -2
View File
@@ -95,11 +95,11 @@ OpenCode incluye dos agentes integrados que puedes alternar con la tecla `Tab`.
Además, incluye un subagente **general** para búsquedas complejas y tareas de varios pasos.
Se usa internamente y se puede invocar con `@general` en los mensajes.
Más información sobre [agentes](https://opencode.ai/docs/agents).
Más información sobre [agentes](https://opencode.ai/v2/docs/agents).
### Documentación
Para más información sobre cómo configurar OpenCode, [**ve a nuestra documentación**](https://opencode.ai/docs).
Para más información sobre cómo configurar OpenCode, [**ve a nuestra documentación**](https://opencode.ai/v2/docs).
### Contribuir
+2 -2
View File
@@ -95,11 +95,11 @@ OpenCode inclut deux agents intégrés que vous pouvez basculer avec la touche `
Un sous-agent **general** est aussi inclus pour les recherches complexes et les tâches en plusieurs étapes.
Il est utilisé en interne et peut être invoqué via `@general` dans les messages.
En savoir plus sur les [agents](https://opencode.ai/docs/agents).
En savoir plus sur les [agents](https://opencode.ai/v2/docs/agents).
### Documentation
Pour plus d'informations sur la configuration d'OpenCode, [**consultez notre documentation**](https://opencode.ai/docs).
Pour plus d'informations sur la configuration d'OpenCode, [**consultez notre documentation**](https://opencode.ai/v2/docs).
### Contribuer
+2 -2
View File
@@ -95,11 +95,11 @@ brew install --cask opencode-desktop
Περιλαμβάνεται επίσης ένας **general** υποπράκτορας για σύνθετες αναζητήσεις και πολυβηματικές διεργασίες.
Χρησιμοποιείται εσωτερικά και μπορεί να κληθεί χρησιμοποιώντας `@general` στα μηνύματα.
Μάθετε περισσότερα για τους [πράκτορες](https://opencode.ai/docs/agents).
Μάθετε περισσότερα για τους [πράκτορες](https://opencode.ai/v2/docs/agents).
### Οδηγός Χρήσης
Για περισσότερες πληροφορίες σχετικά με τη ρύθμιση του OpenCode, [**πλοηγήσου στον οδηγό χρήσης μας**](https://opencode.ai/docs).
Για περισσότερες πληροφορίες σχετικά με τη ρύθμιση του OpenCode, [**πλοηγήσου στον οδηγό χρήσης μας**](https://opencode.ai/v2/docs).
### Συνεισφορά
+2 -2
View File
@@ -95,11 +95,11 @@ OpenCode include due agenti integrati tra cui puoi passare usando il tasto `Tab`
È inoltre incluso un sotto-agente **general** per ricerche complesse e attività multi-step.
Viene utilizzato internamente e può essere invocato usando `@general` nei messaggi.
Scopri di più sugli [agenti](https://opencode.ai/docs/agents).
Scopri di più sugli [agenti](https://opencode.ai/v2/docs/agents).
### Documentazione
Per maggiori informazioni su come configurare OpenCode, [**consulta la nostra documentazione**](https://opencode.ai/docs).
Per maggiori informazioni su come configurare OpenCode, [**consulta la nostra documentazione**](https://opencode.ai/v2/docs).
### Contribuire
+2 -2
View File
@@ -95,11 +95,11 @@ OpenCode には組み込みの Agent が2つあり、`Tab` キーで切り替え
また、複雑な検索やマルチステップのタスク向けに **general** サブ Agent も含まれています。
内部的に使用されており、メッセージで `@general` と入力して呼び出せます。
[agents](https://opencode.ai/docs/agents) の詳細はこちら。
[agents](https://opencode.ai/v2/docs/agents) の詳細はこちら。
### ドキュメント
OpenCode の設定については [**ドキュメント**](https://opencode.ai/docs) を参照してください。
OpenCode の設定については [**ドキュメント**](https://opencode.ai/v2/docs) を参照してください。
### コントリビュート
+2 -2
View File
@@ -95,11 +95,11 @@ OpenCode 에는 내장 에이전트 2개가 있으며 `Tab` 키로 전환할 수
또한 복잡한 검색과 여러 단계 작업을 위한 **general** 서브 에이전트가 포함되어 있습니다.
내부적으로 사용되며, 메시지에서 `@general` 로 호출할 수 있습니다.
[agents](https://opencode.ai/docs/agents) 에 대해 더 알아보세요.
[agents](https://opencode.ai/v2/docs/agents) 에 대해 더 알아보세요.
### 문서
OpenCode 설정에 대한 자세한 내용은 [**문서**](https://opencode.ai/docs) 를 참고하세요.
OpenCode 설정에 대한 자세한 내용은 [**문서**](https://opencode.ai/v2/docs) 를 참고하세요.
### 기여하기
+2 -2
View File
@@ -95,11 +95,11 @@ OpenCode includes two built-in agents you can switch between with the `Tab` key.
Also included is a **general** subagent for complex searches and multistep tasks.
This is used internally and can be invoked using `@general` in messages.
Learn more about [agents](https://opencode.ai/docs/agents).
Learn more about [agents](https://opencode.ai/v2/docs/agents).
### Documentation
For more info on how to configure OpenCode, [**head over to our docs**](https://opencode.ai/docs).
For more info on how to configure OpenCode, [**head over to our docs**](https://opencode.ai/v2/docs).
### Contributing
+2 -2
View File
@@ -95,11 +95,11 @@ OpenCode har to innebygde agents du kan bytte mellom med `Tab`-tasten.
Det finnes også en **general**-subagent for komplekse søk og flertrinnsoppgaver.
Den brukes internt og kan kalles via `@general` i meldinger.
Les mer om [agents](https://opencode.ai/docs/agents).
Les mer om [agents](https://opencode.ai/v2/docs/agents).
### Dokumentasjon
For mer info om hvordan du konfigurerer OpenCode, [**se dokumentasjonen**](https://opencode.ai/docs).
For mer info om hvordan du konfigurerer OpenCode, [**se dokumentasjonen**](https://opencode.ai/v2/docs).
### Bidra
+2 -2
View File
@@ -95,11 +95,11 @@ OpenCode zawiera dwóch wbudowanych agentów, między którymi możesz przełąc
Dodatkowo jest subagent **general** do złożonych wyszukiwań i wieloetapowych zadań.
Jest używany wewnętrznie i można go wywołać w wiadomościach przez `@general`.
Dowiedz się więcej o [agents](https://opencode.ai/docs/agents).
Dowiedz się więcej o [agents](https://opencode.ai/v2/docs/agents).
### Dokumentacja
Więcej informacji o konfiguracji OpenCode znajdziesz w [**dokumentacji**](https://opencode.ai/docs).
Więcej informacji o konfiguracji OpenCode znajdziesz w [**dokumentacji**](https://opencode.ai/v2/docs).
### Współtworzenie
+2 -2
View File
@@ -95,11 +95,11 @@ brew install --cask opencode-desktop
Также включен сабагент **general** для сложных поисков и многошаговых задач.
Он используется внутренне и может быть вызван в сообщениях через `@general`.
Подробнее об [agents](https://opencode.ai/docs/agents).
Подробнее об [agents](https://opencode.ai/v2/docs/agents).
### Документация
Больше информации о том, как настроить OpenCode: [**наши docs**](https://opencode.ai/docs).
Больше информации о том, как настроить OpenCode: [**наши docs**](https://opencode.ai/v2/docs).
### Вклад
+2 -2
View File
@@ -95,11 +95,11 @@ OpenCode รวมเอเจนต์ในตัวสองตัวที
นอกจากนี้ยังมีเอเจนต์ย่อย **general** สำหรับการค้นหาที่ซับซ้อนและงานหลายขั้นตอน
ใช้ภายในและสามารถเรียกใช้ได้โดยใช้ `@general` ในข้อความ
เรียนรู้เพิ่มเติมเกี่ยวกับ [เอเจนต์](https://opencode.ai/docs/agents)
เรียนรู้เพิ่มเติมเกี่ยวกับ [เอเจนต์](https://opencode.ai/v2/docs/agents)
### เอกสารประกอบ
สำหรับข้อมูลเพิ่มเติมเกี่ยวกับวิธีกำหนดค่า OpenCode [**ไปที่เอกสารของเรา**](https://opencode.ai/docs)
สำหรับข้อมูลเพิ่มเติมเกี่ยวกับวิธีกำหนดค่า OpenCode [**ไปที่เอกสารของเรา**](https://opencode.ai/v2/docs)
### การมีส่วนร่วม
+2 -2
View File
@@ -95,11 +95,11 @@ OpenCode, `Tab` tuşuyla aralarında geçiş yapabileceğiniz iki yerleşik (bui
Ayrıca, karmaşık aramalar ve çok adımlı görevler için bir **genel** alt ajan bulunmaktadır.
Bu dahili olarak kullanılır ve mesajlarda `@general` ile çağrılabilir.
[Ajanlar](https://opencode.ai/docs/agents) hakkında daha fazla bilgi edinin.
[Ajanlar](https://opencode.ai/v2/docs/agents) hakkında daha fazla bilgi edinin.
### Dokümantasyon
OpenCode'u nasıl yapılandıracağınız hakkında daha fazla bilgi için [**dokümantasyonumuza göz atın**](https://opencode.ai/docs).
OpenCode'u nasıl yapılandıracağınız hakkında daha fazla bilgi için [**dokümantasyonumuza göz atın**](https://opencode.ai/v2/docs).
### Katkıda Bulunma
+2 -2
View File
@@ -95,11 +95,11 @@ OpenCode містить два вбудовані агенти, між яким
Також доступний допоміжний агент **general** для складного пошуку та багатокрокових завдань.
Він використовується всередині системи й може бути викликаний у повідомленнях через `@general`.
Дізнайтеся більше про [agents](https://opencode.ai/docs/agents).
Дізнайтеся більше про [agents](https://opencode.ai/v2/docs/agents).
### Документація
Щоб дізнатися більше про налаштування OpenCode, [**перейдіть до нашої документації**](https://opencode.ai/docs).
Щоб дізнатися більше про налаштування OpenCode, [**перейдіть до нашої документації**](https://opencode.ai/v2/docs).
### Внесок
+2 -2
View File
@@ -95,11 +95,11 @@ OpenCode bao gồm hai agent được tích hợp sẵn mà bạn có thể chuy
Ngoài ra còn có một subagent **general** dùng cho các tìm kiếm phức tạp và tác vụ nhiều bước.
Agent này được sử dụng nội bộ và có thể gọi bằng cách dùng `@general` trong tin nhắn.
Tìm hiểu thêm về [agents](https://opencode.ai/docs/agents).
Tìm hiểu thêm về [agents](https://opencode.ai/v2/docs/agents).
### Tài liệu
Để biết thêm thông tin về cách cấu hình OpenCode, [**hãy truy cập tài liệu của chúng tôi**](https://opencode.ai/docs).
Để biết thêm thông tin về cách cấu hình OpenCode, [**hãy truy cập tài liệu của chúng tôi**](https://opencode.ai/v2/docs).
### Đóng góp
+2 -2
View File
@@ -94,11 +94,11 @@ OpenCode 内置两种 Agent,可用 `Tab` 键快速切换:
另外还包含一个 **general** 子 Agent,用于复杂搜索和多步任务,内部使用,也可在消息中输入 `@general` 调用。
了解更多 [Agents](https://opencode.ai/docs/agents) 相关信息。
了解更多 [Agents](https://opencode.ai/v2/docs/agents) 相关信息。
### 文档
更多配置说明请查看我们的 [**官方文档**](https://opencode.ai/docs)。
更多配置说明请查看我们的 [**官方文档**](https://opencode.ai/v2/docs)。
### 参与贡献
+2 -2
View File
@@ -94,11 +94,11 @@ OpenCode 內建了兩種 Agent,您可以使用 `Tab` 鍵快速切換。
此外,OpenCode 還包含一個 **general** 子 Agent,用於處理複雜搜尋與多步驟任務。此 Agent 供系統內部使用,亦可透過在訊息中輸入 `@general` 來呼叫。
了解更多關於 [Agents](https://opencode.ai/docs/agents) 的資訊。
了解更多關於 [Agents](https://opencode.ai/v2/docs/agents) 的資訊。
### 線上文件
關於如何設定 OpenCode 的詳細資訊,請參閱我們的 [**官方文件**](https://opencode.ai/docs)。
關於如何設定 OpenCode 的詳細資訊,請參閱我們的 [**官方文件**](https://opencode.ai/v2/docs)。
### 參與貢獻
@@ -146,7 +146,7 @@ export function CustomProviderForm(props: { autofocus?: boolean } = {}) {
<form onSubmit={save} class="px-2.5 pb-6 flex flex-col gap-6">
<p class="text-14-regular text-text-base">
{language.t("provider.custom.description.prefix")}
<ExternalLink href="https://opencode.ai/docs/providers/#custom-provider" tabIndex={-1}>
<ExternalLink href="https://opencode.ai/v2/docs/providers#custom" tabIndex={-1}>
{language.t("provider.custom.description.link")}
</ExternalLink>
{language.t("provider.custom.description.suffix")}
@@ -107,7 +107,7 @@ export const SettingsAppearance: Component = () => {
description={
<>
{language.t("settings.general.row.theme.description")}{" "}
<ExternalLink class="settings-link" href="https://opencode.ai/docs/themes/">
<ExternalLink class="settings-link" href="https://opencode.ai/v2/docs/themes">
{language.t("common.learnMore")}
</ExternalLink>
</>
@@ -157,7 +157,7 @@ export const SettingsExtensions: Component<{
<span class="settings-extension-heading text-13-medium">
{language.t("settings.extensions.availableAll")}
</span>
<ExternalLink class="settings-extension-link text-13-regular" href="https://opencode.ai/docs/skills/">
<ExternalLink class="settings-extension-link text-13-regular" href="https://opencode.ai/v2/docs/skills">
{language.t("settings.extensions.addSkills")}
</ExternalLink>
</div>
@@ -379,7 +379,7 @@ export const ProjectSettingsExtensions: Component<{
kind="skills"
empty={projectSkills().length === 0}
action={
<ExternalLink class="settings-extension-link" href="https://opencode.ai/docs/skills/">
<ExternalLink class="settings-extension-link" href="https://opencode.ai/v2/docs/skills">
{language.t("settings.extensions.addSkills")}
</ExternalLink>
}
@@ -273,7 +273,7 @@ export const DESKTOP_MENU: DesktopMenu[] = [
id: "help",
labelKey: "desktop.menu.help",
items: [
{ type: "item", labelKey: "desktop.menu.documentation", href: "https://opencode.ai/docs" },
{ type: "item", labelKey: "desktop.menu.documentation", href: "https://opencode.ai/v2/docs" },
{ type: "item", labelKey: "desktop.menu.supportForum", href: "https://discord.com/invite/opencode" },
{ type: "item", labelKey: "desktop.menu.exportLogs", command: "logs.export" },
{ type: "separator" },
@@ -307,12 +307,19 @@ export function desktopMenuWithExtensions<Entry, Extra extends { readonly id: st
base: readonly { readonly key?: string; readonly entry: Entry }[],
extra: readonly Extra[],
) {
return extra.reduce<readonly { readonly key?: string; readonly entry: Entry | Extra }[]>((list, item) => {
const list: { readonly key?: string; readonly entry: Entry | Extra }[] = [...base]
for (const item of extra) {
const next = { key: item.id, entry: item }
const index = item.after ? list.findIndex((entry) => entry.key === item.after) : -1
if (index < 0) return [...list, next]
if (index < 0) {
list.push(next)
continue
}
return [...list.slice(0, index + 1), next, ...list.slice(index + 1)]
}, base)
list.splice(index + 1, 0, next)
}
return list
}
+1 -1
View File
@@ -150,7 +150,7 @@ const page = `<!doctype html>
</header>
<nav>
<a href="https://opencode.ai">Home</a>
<a href="https://opencode.ai/docs">Docs</a>
<a href="https://opencode.ai/v2/docs">Docs</a>
<a href="https://github.com/anomalyco/opencode">GitHub</a>
<a href="https://opencode.ai/discord">Discord</a>
</nav>
+1 -1
View File
@@ -1156,7 +1156,7 @@ function App() {
name: "docs.open",
title: "Open docs",
run: () => {
openUrl("https://opencode.ai/docs").catch(() => {})
openUrl("https://opencode.ai/v2/docs").catch(() => {})
dialog.clear()
},
category: "System",
+1 -1
View File
@@ -122,7 +122,7 @@ async function prepare(input: (typeof packages)[number]) {
"- developer-tools",
"Documentations:",
"- DocumentLabel: Docs",
" DocumentUrl: https://opencode.ai/docs/",
" DocumentUrl: https://opencode.ai/v2/docs",
...footer("defaultLocale"),
],
}