From 389afef33654058cc4369d2e8db8f1c195defa1f Mon Sep 17 00:00:00 2001 From: "opencode-agent[bot]" Date: Mon, 9 Feb 2026 19:57:32 +0000 Subject: [PATCH] chore: generate --- packages/web/src/content/docs/ar/cli.mdx | 44 +++--- packages/web/src/content/docs/bs/agents.mdx | 4 +- packages/web/src/content/docs/bs/cli.mdx | 137 +++++++++--------- packages/web/src/content/docs/bs/config.mdx | 4 +- .../web/src/content/docs/bs/ecosystem.mdx | 88 +++++------ .../web/src/content/docs/bs/mcp-servers.mdx | 28 ++-- packages/web/src/content/docs/da/cli.mdx | 32 ++-- .../web/src/content/docs/da/formatters.mdx | 4 +- packages/web/src/content/docs/da/lsp.mdx | 6 +- .../web/src/content/docs/da/mcp-servers.mdx | 6 +- packages/web/src/content/docs/da/sdk.mdx | 6 +- packages/web/src/content/docs/da/server.mdx | 2 +- packages/web/src/content/docs/de/cli.mdx | 18 +-- .../web/src/content/docs/de/formatters.mdx | 50 +++---- packages/web/src/content/docs/es/cli.mdx | 20 +-- packages/web/src/content/docs/es/sdk.mdx | 44 +++--- packages/web/src/content/docs/es/server.mdx | 48 +++--- .../web/src/content/docs/fr/ecosystem.mdx | 30 ++-- packages/web/src/content/docs/it/cli.mdx | 44 +++--- packages/web/src/content/docs/ja/acp.mdx | 1 + packages/web/src/content/docs/ja/agents.mdx | 6 + packages/web/src/content/docs/ja/config.mdx | 2 + packages/web/src/content/docs/ja/gitlab.mdx | 2 + packages/web/src/content/docs/ja/lsp.mdx | 2 + .../web/src/content/docs/ja/mcp-servers.mdx | 3 +- packages/web/src/content/docs/ja/models.mdx | 1 + .../web/src/content/docs/ja/permissions.mdx | 1 + packages/web/src/content/docs/ja/plugins.mdx | 1 + packages/web/src/content/docs/ja/share.mdx | 1 + packages/web/src/content/docs/ja/tools.mdx | 7 + packages/web/src/content/docs/ja/tui.mdx | 2 + packages/web/src/content/docs/ja/web.mdx | 1 + .../web/src/content/docs/ja/windows-wsl.mdx | 7 +- packages/web/src/content/docs/ko/cli.mdx | 64 ++++---- .../web/src/content/docs/ko/ecosystem.mdx | 2 +- packages/web/src/content/docs/ko/sdk.mdx | 4 +- packages/web/src/content/docs/ko/server.mdx | 30 ++-- packages/web/src/content/docs/ko/skills.mdx | 10 +- packages/web/src/content/docs/ko/themes.mdx | 20 +-- packages/web/src/content/docs/ko/zen.mdx | 72 ++++----- packages/web/src/content/docs/nb/sdk.mdx | 12 +- packages/web/src/content/docs/nb/server.mdx | 16 +- packages/web/src/content/docs/nb/zen.mdx | 72 ++++----- packages/web/src/content/docs/pl/cli.mdx | 82 +++++------ .../web/src/content/docs/pl/formatters.mdx | 12 +- packages/web/src/content/docs/pl/lsp.mdx | 14 +- .../web/src/content/docs/pl/mcp-servers.mdx | 30 ++-- packages/web/src/content/docs/pt-br/cli.mdx | 20 +-- packages/web/src/content/docs/ru/lsp.mdx | 4 +- .../web/src/content/docs/ru/mcp-servers.mdx | 12 +- packages/web/src/content/docs/ru/modes.mdx | 4 +- .../web/src/content/docs/ru/providers.mdx | 18 +-- packages/web/src/content/docs/ru/sdk.mdx | 58 ++++---- packages/web/src/content/docs/ru/server.mdx | 114 +++++++-------- packages/web/src/content/docs/ru/skills.mdx | 4 +- packages/web/src/content/docs/ru/themes.mdx | 4 +- packages/web/src/content/docs/ru/tui.mdx | 2 +- packages/web/src/content/docs/ru/zen.mdx | 62 ++++---- .../web/src/content/docs/zh-cn/ecosystem.mdx | 64 ++++---- .../web/src/content/docs/zh-cn/formatters.mdx | 50 +++---- .../src/content/docs/zh-cn/mcp-servers.mdx | 26 ++-- packages/web/src/content/docs/zh-cn/sdk.mdx | 12 +- .../web/src/content/docs/zh-cn/server.mdx | 4 +- .../src/content/docs/zh-tw/mcp-servers.mdx | 4 +- packages/web/src/content/docs/zh-tw/zen.mdx | 62 ++++---- 65 files changed, 823 insertions(+), 793 deletions(-) diff --git a/packages/web/src/content/docs/ar/cli.mdx b/packages/web/src/content/docs/ar/cli.mdx index 2422f7d7b..4fb16186e 100644 --- a/packages/web/src/content/docs/ar/cli.mdx +++ b/packages/web/src/content/docs/ar/cli.mdx @@ -29,16 +29,16 @@ opencode [project] #### الخيارات -| الخيار | المختصر | الوصف | -| ------------ | ------- | -------------------------------------------- | -| `--continue` | `-c` | متابعة الجلسة الأخيرة | -| `--session` | `-s` | معرّف الجلسة للمتابعة | +| الخيار | المختصر | الوصف | +| ------------ | ------- | ----------------------------------------------------------------- | +| `--continue` | `-c` | متابعة الجلسة الأخيرة | +| `--session` | `-s` | معرّف الجلسة للمتابعة | | `--fork` | | تفريع الجلسة عند المتابعة (يستخدم مع `--continue` أو `--session`) | -| `--prompt` | | الموجّه المراد استخدامه | -| `--model` | `-m` | النموذج المراد استخدامه بصيغة provider/model | -| `--agent` | | الوكيل المراد استخدامه | -| `--port` | | المنفذ الذي يتم الاستماع عليه | -| `--hostname` | | اسم المضيف الذي يتم الاستماع عليه | +| `--prompt` | | الموجّه المراد استخدامه | +| `--model` | `-m` | النموذج المراد استخدامه بصيغة provider/model | +| `--agent` | | الوكيل المراد استخدامه | +| `--port` | | المنفذ الذي يتم الاستماع عليه | +| `--hostname` | | اسم المضيف الذي يتم الاستماع عليه | --- @@ -335,20 +335,20 @@ opencode run --attach http://localhost:4096 "Explain async/await in JavaScript" #### الرايات -| الراية | المختصر | الوصف | -| ------------ | ------- | -------------------------------------------------------------- | -| `--command` | | الأمر المراد تشغيله؛ استخدم الرسالة كوسائط | -| `--continue` | `-c` | متابعة الجلسة الأخيرة | -| `--session` | `-s` | معرّف الجلسة للمتابعة | +| الراية | المختصر | الوصف | +| ------------ | ------- | ----------------------------------------------------------------- | +| `--command` | | الأمر المراد تشغيله؛ استخدم الرسالة كوسائط | +| `--continue` | `-c` | متابعة الجلسة الأخيرة | +| `--session` | `-s` | معرّف الجلسة للمتابعة | | `--fork` | | تفريع الجلسة عند المتابعة (يستخدم مع `--continue` أو `--session`) | -| `--share` | | مشاركة الجلسة | -| `--model` | `-m` | النموذج المراد استخدامه بصيغة provider/model | -| `--agent` | | الوكيل المراد استخدامه | -| `--file` | `-f` | ملف/ملفات لإرفاقها بالرسالة | -| `--format` | | التنسيق: default (منسق) أو json (أحداث JSON خام) | -| `--title` | | عنوان للجلسة (يستخدم موجهًا مقتطعًا إن لم تُحدَّد قيمة) | -| `--attach` | | الإرفاق بخادم opencode قيد التشغيل (مثل http://localhost:4096) | -| `--port` | | منفذ الخادم المحلي (الافتراضي منفذ عشوائي) | +| `--share` | | مشاركة الجلسة | +| `--model` | `-m` | النموذج المراد استخدامه بصيغة provider/model | +| `--agent` | | الوكيل المراد استخدامه | +| `--file` | `-f` | ملف/ملفات لإرفاقها بالرسالة | +| `--format` | | التنسيق: default (منسق) أو json (أحداث JSON خام) | +| `--title` | | عنوان للجلسة (يستخدم موجهًا مقتطعًا إن لم تُحدَّد قيمة) | +| `--attach` | | الإرفاق بخادم opencode قيد التشغيل (مثل http://localhost:4096) | +| `--port` | | منفذ الخادم المحلي (الافتراضي منفذ عشوائي) | --- diff --git a/packages/web/src/content/docs/bs/agents.mdx b/packages/web/src/content/docs/bs/agents.mdx index 109819939..1cc0bad1c 100644 --- a/packages/web/src/content/docs/bs/agents.mdx +++ b/packages/web/src/content/docs/bs/agents.mdx @@ -373,7 +373,7 @@ Također možete koristiti zamjenske znakove za kontrolu više alata odjednom. N ```json title="opencode.json" { -"$schema": "https://opencode.ai/config.json", + "$schema": "https://opencode.ai/config.json", "agent": { "plan": { "tools": { @@ -526,7 +526,7 @@ Sakrij podagenta iz `@` menija za automatsko dovršavanje sa `hidden: true`. Kor ```json title="opencode.json" { -"agent": { + "agent": { "internal-helper": { "mode": "subagent", "hidden": true diff --git a/packages/web/src/content/docs/bs/cli.mdx b/packages/web/src/content/docs/bs/cli.mdx index 81276297a..5a72a5b8d 100644 --- a/packages/web/src/content/docs/bs/cli.mdx +++ b/packages/web/src/content/docs/bs/cli.mdx @@ -31,15 +31,15 @@ opencode [project] #### Zastave -| Zastava | Kratko | Opis -|------------ | ----- | ------------------------------------------ | -| `--continue` | `-c` | Nastavite posljednju sesiju | -| `--session` | `-s` | ID sesije za nastavak | -| `--prompt` | | Uputstvo za upotrebu | -| `--model` | `-m` | Model za korištenje u obliku dobavljača/modela | -| `--agent` | | Agent za korištenje | -| `--port` | | Port za slušanje na | -| `--hostname` | | Slušajte ime hosta | +| Zastava | Kratko | Opis | +| ------------ | ------ | ---------------------------------------------- | +| `--continue` | `-c` | Nastavite posljednju sesiju | +| `--session` | `-s` | ID sesije za nastavak | +| `--prompt` | | Uputstvo za upotrebu | +| `--model` | `-m` | Model za korištenje u obliku dobavljača/modela | +| `--agent` | | Agent za korištenje | +| `--port` | | Port za slušanje na | +| `--hostname` | | Slušajte ime hosta | --- @@ -80,10 +80,10 @@ opencode attach http://10.20.30.40:4096 #### Zastave -| Zastava | Kratko | Opis -|----------- | ----- | --------------------------------- | -| `--dir` | | Radni direktorij za pokretanje TUI u | -| `--session` | `-s` | ID sesije za nastavak | +| Zastava | Kratko | Opis | +| ----------- | ------ | ------------------------------------ | +| `--dir` | | Radni direktorij za pokretanje TUI u | +| `--session` | `-s` | ID sesije za nastavak | --- @@ -194,10 +194,10 @@ opencode github run ##### Zastave -| Zastava | Opis -|--------- | -------------------------------------- | +| Zastava | Opis | +| --------- | -------------------------------------------- | | `--event` | GitHub lažni događaj za pokretanje agenta za | -| `--token` | GitHub token ličnog pristupa | +| `--token` | GitHub token ličnog pristupa | --- @@ -306,10 +306,11 @@ opencode models anthropic #### Zastave -| Zastava | Opis -|----------- | ------------------------------------------------------------ | -| `--refresh` | Osvježite predmemoriju modela sa models.dev | +| Zastava | Opis | +| ----------- | ------------------------------------------------------------------------ | +| `--refresh` | Osvježite predmemoriju modela sa models.dev | | `--verbose` | Koristite detaljniji izlaz modela (uključuje metapodatke poput troškova) | + Koristite `--refresh` zastavicu da ažurirate keširanu listu modela. Ovo je korisno kada su novi modeli dodani provajderu i želite da ih vidite u OpenCode-u. ```bash @@ -345,19 +346,19 @@ opencode run --attach http://localhost:4096 "Objasni async/await u JavaScriptu" #### Zastave -| Zastava | Kratko | Opis -|------------ | ----- | ------------------------------------------------------------------ | -| `--command` | | Naredba za pokretanje, koristite poruku za args | -| `--continue` | `-c` | Nastavite posljednju sesiju | -| `--session` | `-s` | ID sesije za nastavak | -| `--share` | | Podijelite sesiju | -| `--model` | `-m` | Model za korištenje u obliku provider/model | -| `--agent` | | Agent za korištenje | -| `--file` | `-f` | Fajlovi koje treba priložiti poruci | -| `--format` | | Format: default (formatiran) ili json (sirovi JSON događaji) | -| `--title` | | Naslov sesije (koristi skraćeni prompt ako nije navedena vrijednost) | -| `--attach` | | Priključite na pokrenuti opencode server (npr. http://localhost:4096) | -| `--port` | | Port za lokalni server (zadano na nasumični port) | +| Zastava | Kratko | Opis | +| ------------ | ------ | --------------------------------------------------------------------- | +| `--command` | | Naredba za pokretanje, koristite poruku za args | +| `--continue` | `-c` | Nastavite posljednju sesiju | +| `--session` | `-s` | ID sesije za nastavak | +| `--share` | | Podijelite sesiju | +| `--model` | `-m` | Model za korištenje u obliku provider/model | +| `--agent` | | Agent za korištenje | +| `--file` | `-f` | Fajlovi koje treba priložiti poruci | +| `--format` | | Format: default (formatiran) ili json (sirovi JSON događaji) | +| `--title` | | Naslov sesije (koristi skraćeni prompt ako nije navedena vrijednost) | +| `--attach` | | Priključite na pokrenuti opencode server (npr. http://localhost:4096) | +| `--port` | | Port za lokalni server (zadano na nasumični port) | --- @@ -373,12 +374,12 @@ Ovo pokreće HTTP server koji pruža API pristup funkcionalnosti otvorenog koda #### Zastave -| Zastava | Opis -|------------ | ------------------------------------------ | -| `--port` | Port za slušanje na | -| `--hostname` | Ime hosta za slušanje | -| `--mdns` | Omogući mDNS otkrivanje | -| `--cors` | Dodatni izvor(a) pretraživača koji dozvoljavaju CORS | +| Zastava | Opis | +| ------------ | ---------------------------------------------------- | +| `--port` | Port za slušanje na | +| `--hostname` | Ime hosta za slušanje | +| `--mdns` | Omogući mDNS otkrivanje | +| `--cors` | Dodatni izvor(a) pretraživača koji dozvoljavaju CORS | --- @@ -403,10 +404,10 @@ opencode session list ##### Zastave -| Zastava | Kratko | Opis -|------------- | ----- | ------------------------------------ | -| `--max-count` | `-n` | Ograničenje na N najnovijih sesija | -| `--format` | | Izlazni format: tablica ili json (tabela) | +| Zastava | Kratko | Opis | +| ------------- | ------ | ----------------------------------------- | +| `--max-count` | `-n` | Ograničenje na N najnovijih sesija | +| `--format` | | Izlazni format: tablica ili json (tabela) | --- @@ -421,12 +422,12 @@ opencode stats #### Zastave -| Zastava | Opis -|----------- | ------------------------------------------------------------------------------------- | -| `--days` | Prikaži statistiku za zadnjih N dana (sva vremena) | -| `--tools` | Broj alata za prikaz (svi) | -| `--models` | Prikaži raščlambu korištenja modela (skriveno prema zadanim postavkama). Proslijedite broj za prikaz vrha N | -| `--project` | Filtriraj po projektu (svi projekti, prazan niz: trenutni projekt) | +| Zastava | Opis | +| ----------- | ----------------------------------------------------------------------------------------------------------- | +| `--days` | Prikaži statistiku za zadnjih N dana (sva vremena) | +| `--tools` | Broj alata za prikaz (svi) | +| `--models` | Prikaži raščlambu korištenja modela (skriveno prema zadanim postavkama). Proslijedite broj za prikaz vrha N | +| `--project` | Filtriraj po projektu (svi projekti, prazan niz: trenutni projekt) | --- @@ -473,12 +474,12 @@ Ovo pokreće HTTP server i otvara web pretraživač za pristup OpenCodeu preko w #### Zastave -| Zastava | Opis -|------------ | ------------------------------------------ | -| `--port` | Port za slušanje na | -| `--hostname` | Ime hosta za slušanje | -| `--mdns` | Omogući mDNS otkrivanje | -| `--cors` | Dodatni izvor(a) pretraživača koji dozvoljavaju CORS | +| Zastava | Opis | +| ------------ | ---------------------------------------------------- | +| `--port` | Port za slušanje na | +| `--hostname` | Ime hosta za slušanje | +| `--mdns` | Omogući mDNS otkrivanje | +| `--cors` | Dodatni izvor(a) pretraživača koji dozvoljavaju CORS | --- @@ -494,11 +495,11 @@ Ova komanda pokreće ACP server koji komunicira preko stdin/stdout koristeći nd #### Zastave -| Zastava | Opis -|------------ | --------------------- | -| `--cwd` | Radni imenik | -| `--port` | Port za slušanje na | -| `--hostname` | Slušajte ime hosta | +| Zastava | Opis | +| ------------ | ------------------- | +| `--cwd` | Radni imenik | +| `--port` | Port za slušanje na | +| `--hostname` | Slušajte ime hosta | --- @@ -513,12 +514,12 @@ opencode uninstall #### Zastave -| Zastava | Kratko | Opis -|--------------- | ----- | ------------------------------------------- | -| `--keep-config` | `-c` | Čuvajte konfiguracijske datoteke | -| `--keep-data` | `-d` | Čuvajte podatke i snimke sesije | -| `--dry-run` | | Pokažite šta bi bilo uklonjeno bez uklanjanja | -| `--force` | `-f` | Preskoči upite za potvrdu | +| Zastava | Kratko | Opis | +| --------------- | ------ | --------------------------------------------- | +| `--keep-config` | `-c` | Čuvajte konfiguracijske datoteke | +| `--keep-data` | `-d` | Čuvajte podatke i snimke sesije | +| `--dry-run` | | Pokažite šta bi bilo uklonjeno bez uklanjanja | +| `--force` | `-f` | Preskoči upite za potvrdu | --- @@ -545,9 +546,9 @@ opencode upgrade v0.1.48 #### Zastave -| Zastava | Kratko | Opis -|---------- | ----- | ------------------------------------------------------------------ | -| `--method` | `-m` | Korišteni način instalacije; curl, npm, pnpm, bun, brew | +| Zastava | Kratko | Opis | +| ---------- | ------ | ------------------------------------------------------- | +| `--method` | `-m` | Korišteni način instalacije; curl, npm, pnpm, bun, brew | --- diff --git a/packages/web/src/content/docs/bs/config.mdx b/packages/web/src/content/docs/bs/config.mdx index db510c4cb..315e0c6cb 100644 --- a/packages/web/src/content/docs/bs/config.mdx +++ b/packages/web/src/content/docs/bs/config.mdx @@ -13,7 +13,7 @@ OpenCode podržava i **JSON** i **JSONC** (JSON sa komentarima) formate. ```jsonc title="opencode.jsonc" { -"$schema": "https://opencode.ai/config.json", + "$schema": "https://opencode.ai/config.json", // Konfiguracija teme "theme": "opencode", "model": "anthropic/claude-sonnet-4-5", @@ -74,7 +74,7 @@ Možete omogućiti određene servere u vašoj lokalnoj konfiguraciji: ```json title="opencode.json" { -"mcp": { + "mcp": { "jira": { "type": "remote", "url": "https://jira.example.com/mcp", diff --git a/packages/web/src/content/docs/bs/ecosystem.mdx b/packages/web/src/content/docs/bs/ecosystem.mdx index 1f427bc0f..62934db09 100644 --- a/packages/web/src/content/docs/bs/ecosystem.mdx +++ b/packages/web/src/content/docs/bs/ecosystem.mdx @@ -13,60 +13,60 @@ Također možete pogledati [awesome-opencode](https://github.com/awesome-opencod ## Dodaci -| Ime | Opis -|--------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | +| Ime | Opis | +| --------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- | --- | ------------------------------------------------------------------- | -------------------------------------------------------------------------------- | | [opencode-daytona](https://github.com/jamesmurdza/daytona/blob/main/guides/typescript/opencode/README.md) | Automatski pokrenite OpenCode sesije u izoliranim Daytona sandboxovima uz git sinhronizaciju i preglede uživo | -| [opencode-helicone-session](https://github.com/H2Shami/opencode-helicone-session) | Automatski ubacite Helicone zaglavlja sesije za grupisanje zahtjeva | -| [opencode-type-iject](https://github.com/nick-vi/opencode-type-inject) | Automatski ubaci TypeScript/Svelte tipove u čitanje datoteka pomoću alata za pretraživanje | -| [opencode-openai-codex-auth](https://github.com/numman-ali/opencode-openai-codex-auth) | Koristite svoju ChatGPT Plus/Pro pretplatu umjesto API kredita | -| [opencode-gemini-auth](https://github.com/jenslys/opencode-gemini-auth) | Koristite svoj postojeći Gemini plan umjesto API naplate | -| [opencode-antigravity-auth](https://github.com/NoeFabris/opencode-antigravity-auth) | Koristite besplatne modele Antigravity umjesto API naplate | -| [opencode-devcontainers](https://github.com/athal7/opencode-devcontainers) | Izolacija devcontainer-a s više grana s plitkim klonovima i automatski dodijeljenim portovima | -| [opencode-google-antigravity-auth](https://github.com/shekohex/opencode-google-antigravity-auth) | Google Antigravity OAuth dodatak, s podrškom za Google pretraživanje i robusnijim API rukovanjem | -| [opencode-dynamic-context-pruning](https://github.com/Tarquinen/opencode-dynamic-context-pruning) | Optimizirajte korištenje tokena smanjenjem izlaza zastarjelih alata | -| [opencode-websearch-cited](https://github.com/ghoulr/opencode-websearch-cited.git) | Dodajte podršku za izvorno web pretraživanje za podržane provajdere sa stilom utemeljenim na Googleu | -| [opencode-pty](https://github.com/shekohex/opencode-pty.git) | Omogućuje AI agentima da pokreću pozadinske procese u PTY-u, šalju im interaktivni ulaz. | -| [opencode-shell-strategy](https://github.com/JRedeker/opencode-shell-strategy) | Upute za neinteraktivne naredbe ljuske - sprječava visi od TTY ovisnih operacija || [opencode-wakatime](https://github.com/angristan/opencode-wakatime) | Pratite upotrebu OpenCodea sa Wakatime | -| [opencode-md-table-formatter](https://github.com/franlol/opencode-md-table-formatter/tree/main) | Očistite tabele umanjenja vrijednosti koje su izradili LLM | -| [opencode-morph-fast-apply](https://github.com/JRedeker/opencode-morph-fast-apply) | 10x brže uređivanje koda s Morph Fast Apply API-jem i markerima za lijeno uređivanje | -| [oh-my-opencode](https://github.com/code-yeongyu/oh-my-opencode) | Pozadinski agenti, unapred izgrađeni LSP/AST/MCP alati, kurirani agenti, kompatibilni sa Claude Code | -| [opencode-notificator](https://github.com/panta82/opencode-notificator) | Obavještenja na radnoj površini i zvučna upozorenja za OpenCode sesije | -| [opencode-notifier](https://github.com/mohak34/opencode-notifier) | Obavještenja na radnoj površini i zvučna upozorenja za dozvole, završetak i događaje greške | -| [opencode-zellij-namer](https://github.com/24601/opencode-zellij-namer) | Automatsko imenovanje Zellij sesije na bazi OpenCode konteksta | -| [opencode-skillful](https://github.com/zenobi-us/opencode-skillful) | Dozvolite OpenCode agentima da lijeno učitavaju upite na zahtjev uz otkrivanje vještina i ubrizgavanje | -| [opencode-supermemory](https://github.com/supermemoryai/opencode-supermemory) | Trajna memorija kroz sesije koristeći Supermemory | -| [@plannotator/opencode](https://github.com/backnotprop/plannotator/tree/main/apps/opencode-plugin) | Interaktivni pregled plana s vizualnim napomenama i privatnim/offline dijeljenjem | -| [@openspoon/subtask2](https://github.com/spoons-and-mirrors/subtask2) | Proširite opencode /komande u moćan sistem orkestracije sa granularnom kontrolom toka | -| [opencode-scheduler](https://github.com/different-ai/opencode-scheduler) | Planirajte ponavljajuće poslove koristeći launchd (Mac) ili systemd (Linux) sa cron sintaksom || [micode](https://github.com/vtemian/micode) | Strukturirana Brainstorm → Plan → Implementacija toka rada uz kontinuitet sesije | -| [oktobar](https://github.com/vtemian/octto) | Interaktivno korisničko sučelje pretraživača za AI brainstorming sa obrascima za više pitanja | -| [opencode-background-agents](https://github.com/kdcokenny/opencode-background-agents) | Pozadinski agenti u stilu Claudea s asinhroniziranim delegiranjem i postojanošću konteksta | -| [opencode-notify](https://github.com/kdcokenny/opencode-notify) | Notifikacije izvornog OS-a za OpenCode – znajte kada se zadaci dovrše | -| [opencode-workspace](https://github.com/kdcokenny/opencode-workspace) | Uvezeni višeagentni orkestracijski pojas – 16 komponenti, jedna instalacija | -| [opencode-worktree](https://github.com/kdcokenny/opencode-worktree) | Git radna stabla bez trenja za OpenCode | +| [opencode-helicone-session](https://github.com/H2Shami/opencode-helicone-session) | Automatski ubacite Helicone zaglavlja sesije za grupisanje zahtjeva | +| [opencode-type-iject](https://github.com/nick-vi/opencode-type-inject) | Automatski ubaci TypeScript/Svelte tipove u čitanje datoteka pomoću alata za pretraživanje | +| [opencode-openai-codex-auth](https://github.com/numman-ali/opencode-openai-codex-auth) | Koristite svoju ChatGPT Plus/Pro pretplatu umjesto API kredita | +| [opencode-gemini-auth](https://github.com/jenslys/opencode-gemini-auth) | Koristite svoj postojeći Gemini plan umjesto API naplate | +| [opencode-antigravity-auth](https://github.com/NoeFabris/opencode-antigravity-auth) | Koristite besplatne modele Antigravity umjesto API naplate | +| [opencode-devcontainers](https://github.com/athal7/opencode-devcontainers) | Izolacija devcontainer-a s više grana s plitkim klonovima i automatski dodijeljenim portovima | +| [opencode-google-antigravity-auth](https://github.com/shekohex/opencode-google-antigravity-auth) | Google Antigravity OAuth dodatak, s podrškom za Google pretraživanje i robusnijim API rukovanjem | +| [opencode-dynamic-context-pruning](https://github.com/Tarquinen/opencode-dynamic-context-pruning) | Optimizirajte korištenje tokena smanjenjem izlaza zastarjelih alata | +| [opencode-websearch-cited](https://github.com/ghoulr/opencode-websearch-cited.git) | Dodajte podršku za izvorno web pretraživanje za podržane provajdere sa stilom utemeljenim na Googleu | +| [opencode-pty](https://github.com/shekohex/opencode-pty.git) | Omogućuje AI agentima da pokreću pozadinske procese u PTY-u, šalju im interaktivni ulaz. | +| [opencode-shell-strategy](https://github.com/JRedeker/opencode-shell-strategy) | Upute za neinteraktivne naredbe ljuske - sprječava visi od TTY ovisnih operacija | | [opencode-wakatime](https://github.com/angristan/opencode-wakatime) | Pratite upotrebu OpenCodea sa Wakatime | +| [opencode-md-table-formatter](https://github.com/franlol/opencode-md-table-formatter/tree/main) | Očistite tabele umanjenja vrijednosti koje su izradili LLM | +| [opencode-morph-fast-apply](https://github.com/JRedeker/opencode-morph-fast-apply) | 10x brže uređivanje koda s Morph Fast Apply API-jem i markerima za lijeno uređivanje | +| [oh-my-opencode](https://github.com/code-yeongyu/oh-my-opencode) | Pozadinski agenti, unapred izgrađeni LSP/AST/MCP alati, kurirani agenti, kompatibilni sa Claude Code | +| [opencode-notificator](https://github.com/panta82/opencode-notificator) | Obavještenja na radnoj površini i zvučna upozorenja za OpenCode sesije | +| [opencode-notifier](https://github.com/mohak34/opencode-notifier) | Obavještenja na radnoj površini i zvučna upozorenja za dozvole, završetak i događaje greške | +| [opencode-zellij-namer](https://github.com/24601/opencode-zellij-namer) | Automatsko imenovanje Zellij sesije na bazi OpenCode konteksta | +| [opencode-skillful](https://github.com/zenobi-us/opencode-skillful) | Dozvolite OpenCode agentima da lijeno učitavaju upite na zahtjev uz otkrivanje vještina i ubrizgavanje | +| [opencode-supermemory](https://github.com/supermemoryai/opencode-supermemory) | Trajna memorija kroz sesije koristeći Supermemory | +| [@plannotator/opencode](https://github.com/backnotprop/plannotator/tree/main/apps/opencode-plugin) | Interaktivni pregled plana s vizualnim napomenama i privatnim/offline dijeljenjem | +| [@openspoon/subtask2](https://github.com/spoons-and-mirrors/subtask2) | Proširite opencode /komande u moćan sistem orkestracije sa granularnom kontrolom toka | +| [opencode-scheduler](https://github.com/different-ai/opencode-scheduler) | Planirajte ponavljajuće poslove koristeći launchd (Mac) ili systemd (Linux) sa cron sintaksom | | [micode](https://github.com/vtemian/micode) | Strukturirana Brainstorm → Plan → Implementacija toka rada uz kontinuitet sesije | +| [oktobar](https://github.com/vtemian/octto) | Interaktivno korisničko sučelje pretraživača za AI brainstorming sa obrascima za više pitanja | +| [opencode-background-agents](https://github.com/kdcokenny/opencode-background-agents) | Pozadinski agenti u stilu Claudea s asinhroniziranim delegiranjem i postojanošću konteksta | +| [opencode-notify](https://github.com/kdcokenny/opencode-notify) | Notifikacije izvornog OS-a za OpenCode – znajte kada se zadaci dovrše | +| [opencode-workspace](https://github.com/kdcokenny/opencode-workspace) | Uvezeni višeagentni orkestracijski pojas – 16 komponenti, jedna instalacija | +| [opencode-worktree](https://github.com/kdcokenny/opencode-worktree) | Git radna stabla bez trenja za OpenCode | --- ## Projekti -| Ime | Opis -|------------------------------------------------------------------------------------------ | ---------------------------------------------------------------- | -| [kimaki](https://github.com/remorses/kimaki) | Discord bot za kontrolu OpenCode sesija, izgrađen na SDK | -| [opencode.nvim](https://github.com/NickvanDyke/opencode.nvim) | Neovim dodatak za upite svjestan uređivača, izgrađen na API | -| [portal](https://github.com/hosenur/portal) | Mobilni korisnički interfejs za OpenCode preko Tailscale/VPN | -| [opencode plugin template](https://github.com/zenobi-us/opencode-plugin-template/) | Predložak za izgradnju OpenCode dodataka | -| [opencode.nvim](https://github.com/sudo-tee/opencode.nvim) | Neovim frontend za opencode - terminal baziran AI agent za kodiranje | +| Ime | Opis | +| ------------------------------------------------------------------------------------------ | ---------------------------------------------------------------------- | +| [kimaki](https://github.com/remorses/kimaki) | Discord bot za kontrolu OpenCode sesija, izgrađen na SDK | +| [opencode.nvim](https://github.com/NickvanDyke/opencode.nvim) | Neovim dodatak za upite svjestan uređivača, izgrađen na API | +| [portal](https://github.com/hosenur/portal) | Mobilni korisnički interfejs za OpenCode preko Tailscale/VPN | +| [opencode plugin template](https://github.com/zenobi-us/opencode-plugin-template/) | Predložak za izgradnju OpenCode dodataka | +| [opencode.nvim](https://github.com/sudo-tee/opencode.nvim) | Neovim frontend za opencode - terminal baziran AI agent za kodiranje | | [ai-sdk-provider-opencode-sdk](https://github.com/ben-vargas/ai-sdk-provider-opencode-sdk) | Vercel AI SDK dobavljač za korištenje OpenCodea putem @opencode-ai/sdk | -| [OpenChamber](https://github.com/btriapitsyn/openchamber) | Web / Desktop App i VS Code Extension za OpenCode | -| [OpenCode-Obsidian](https://github.com/mtymek/opencode-obsidian) | Obsidian dodatak koji ugrađuje OpenCode u Obsidian-ov UI | -| [OpenWork](https://github.com/different-ai/openwork) | Alternativa otvorenog koda Claudeu Coworku, pokretana pomoću OpenCode | -| [ocx](https://github.com/kdcokenny/ocx) | OpenCode menadžer ekstenzija sa prenosivim, izolovanim profilima. | -| [CodeNomad](https://github.com/NeuralNomadsAI/CodeNomad) | Desktop, Web, Mobile i Remote Client aplikacija za OpenCode | +| [OpenChamber](https://github.com/btriapitsyn/openchamber) | Web / Desktop App i VS Code Extension za OpenCode | +| [OpenCode-Obsidian](https://github.com/mtymek/opencode-obsidian) | Obsidian dodatak koji ugrađuje OpenCode u Obsidian-ov UI | +| [OpenWork](https://github.com/different-ai/openwork) | Alternativa otvorenog koda Claudeu Coworku, pokretana pomoću OpenCode | +| [ocx](https://github.com/kdcokenny/ocx) | OpenCode menadžer ekstenzija sa prenosivim, izolovanim profilima. | +| [CodeNomad](https://github.com/NeuralNomadsAI/CodeNomad) | Desktop, Web, Mobile i Remote Client aplikacija za OpenCode | --- ## Agenti -| Ime | Opis -|----------------------------------------------------------------- | ------------------------------------------------------------ | -| [Agentic](https://github.com/Cluster444/agentic) | Modularni AI agenti i komande za strukturirani razvoj | +| Ime | Opis | +| ----------------------------------------------------------------- | --------------------------------------------------------------- | +| [Agentic](https://github.com/Cluster444/agentic) | Modularni AI agenti i komande za strukturirani razvoj | | [opencode-agents](https://github.com/darrenhinde/opencode-agents) | Konfiguracije, upiti, agenti i dodaci za poboljšane tokove rada | diff --git a/packages/web/src/content/docs/bs/mcp-servers.mdx b/packages/web/src/content/docs/bs/mcp-servers.mdx index c6b9f13a9..eee889dd9 100644 --- a/packages/web/src/content/docs/bs/mcp-servers.mdx +++ b/packages/web/src/content/docs/bs/mcp-servers.mdx @@ -139,14 +139,14 @@ Dodajte udaljene MCP servere postavljanjem `type` na `"remote"`. #### Opcije -| Opcija | Vrsta | Obavezno | Opis -|--------- | ------- | -------- | ----------------------------------------------------------------------------------- | -| `type` | String | Y | Tip veze sa MCP serverom, mora biti `"remote"`. | -| `url` | String | Y | URL udaljenog MCP servera. | -| `enabled` | Boolean | | Omogućite ili onemogućite MCP server pri pokretanju. | -| `headers` | Objekt | | Zaglavlja za slanje uz zahtjev. | -| `oauth` | Objekt | | Konfiguracija OAuth provjere autentičnosti. Pogledajte odjeljak [OAuth](#oauth) ispod. | -| `timeout` | Broj | | Vremensko ograničenje u ms za preuzimanje alata sa MCP servera. Podrazumevano je 5000 (5 sekundi). | +| Opcija | Vrsta | Obavezno | Opis | +| --------- | ------- | -------- | -------------------------------------------------------------------------------------------------- | +| `type` | String | Y | Tip veze sa MCP serverom, mora biti `"remote"`. | +| `url` | String | Y | URL udaljenog MCP servera. | +| `enabled` | Boolean | | Omogućite ili onemogućite MCP server pri pokretanju. | +| `headers` | Objekt | | Zaglavlja za slanje uz zahtjev. | +| `oauth` | Objekt | | Konfiguracija OAuth provjere autentičnosti. Pogledajte odjeljak [OAuth](#oauth) ispod. | +| `timeout` | Broj | | Vremensko ograničenje u ms za preuzimanje alata sa MCP servera. Podrazumevano je 5000 (5 sekundi). | --- @@ -248,12 +248,12 @@ Ako želite onemogućiti automatski OAuth za server (npr. za servere koji umjest #### OAuth opcije -| Opcija | Vrsta | Opis -|-------------- | --------------- | -------------------------------------------------------------------------------- | -| `oauth` | Objekt \| false | OAuth konfiguracijski objekt, ili `false` da onemogućite automatsko otkrivanje OAuth. | -| `clientId` | String | ID OAuth klijenta. Ako nije navedeno, pokušat će se izvršiti dinamička registracija klijenta. | -| `clientSecret` | String | Tajna OAuth klijenta, ako to zahtijeva autorizacijski server. | -| `scope` | String | OAuth opseg zahtjeva za vrijeme autorizacije. | +| Opcija | Vrsta | Opis | +| -------------- | --------------- | --------------------------------------------------------------------------------------------- | +| `oauth` | Objekt \| false | OAuth konfiguracijski objekt, ili `false` da onemogućite automatsko otkrivanje OAuth. | +| `clientId` | String | ID OAuth klijenta. Ako nije navedeno, pokušat će se izvršiti dinamička registracija klijenta. | +| `clientSecret` | String | Tajna OAuth klijenta, ako to zahtijeva autorizacijski server. | +| `scope` | String | OAuth opseg zahtjeva za vrijeme autorizacije. | #### Otklanjanje grešaka diff --git a/packages/web/src/content/docs/da/cli.mdx b/packages/web/src/content/docs/da/cli.mdx index 4978feb0f..fd10f7b8b 100644 --- a/packages/web/src/content/docs/da/cli.mdx +++ b/packages/web/src/content/docs/da/cli.mdx @@ -551,17 +551,17 @@ opencode CLI tager følgende globale flag. OpenCode kan konfigureres ved hjælp af miljøvariabler. -| Variabel | Skriv | Beskrivelse | -| ------------------------------------- | ------ | --------------------------------------------------------------------- | +| Variabel | Skriv | Beskrivelse | +| ------------------------------------- | ------- | --------------------------------------------------------------------- | | `OPENCODE_AUTO_SHARE` | boolean | Del automatisk session | -| `OPENCODE_GIT_BASH_PATH` | string | Sti til Git Bash eksekverbar på Windows | -| `OPENCODE_CONFIG` | string | Sti til konfigurationsfil | -| `OPENCODE_CONFIG_DIR` | string | Sti til konfigurationsmappe | -| `OPENCODE_CONFIG_CONTENT` | string | Indbygget json-konfigurationsindhold | +| `OPENCODE_GIT_BASH_PATH` | string | Sti til Git Bash eksekverbar på Windows | +| `OPENCODE_CONFIG` | string | Sti til konfigurationsfil | +| `OPENCODE_CONFIG_DIR` | string | Sti til konfigurationsmappe | +| `OPENCODE_CONFIG_CONTENT` | string | Indbygget json-konfigurationsindhold | | `OPENCODE_DISABLE_AUTOUPDATE` | boolean | Deaktiver automatisk opdateringskontrol | | `OPENCODE_DISABLE_PRUNE` | boolean | Deaktiver beskæring af gamle data | | `OPENCODE_DISABLE_TERMINAL_TITLE` | boolean | Deaktiver automatisk opdatering af terminaltitel | -| `OPENCODE_PERMISSION` | string | Indbygget json-tilladelseskonfiguration | +| `OPENCODE_PERMISSION` | string | Indbygget json-tilladelseskonfiguration | | `OPENCODE_DISABLE_DEFAULT_PLUGINS` | boolean | Deaktiver standard plugins | | `OPENCODE_DISABLE_LSP_DOWNLOAD` | boolean | Deaktiver automatisk LSP-serverdownloads | | `OPENCODE_ENABLE_EXPERIMENTAL_MODELS` | boolean | Aktive eksperimentelle modeller | @@ -570,13 +570,13 @@ OpenCode kan konfigureres ved hjælp af miljøvariabler. | `OPENCODE_DISABLE_CLAUDE_CODE_PROMPT` | boolean | Deaktiver læsning `~/.claude/CLAUDE.md` | | `OPENCODE_DISABLE_CLAUDE_CODE_SKILLS` | boolean | Deaktiver indlæsning af `.claude/skills` | | `OPENCODE_DISABLE_MODELS_FETCH` | boolean | Deaktivering af modeller fra eksterne kilder | -| `OPENCODE_FAKE_VCS` | string | Falsk VCS-udbyder til testformål | +| `OPENCODE_FAKE_VCS` | string | Falsk VCS-udbyder til testformål | | `OPENCODE_DISABLE_FILETIME_CHECK` | boolean | Deaktiver filtidskontrol for optimering | -| `OPENCODE_CLIENT` | string | Klient-id (standard til `cli`) | +| `OPENCODE_CLIENT` | string | Klient-id (standard til `cli`) | | `OPENCODE_ENABLE_EXA` | boolean | Aktiver Exa-websøgeværktøjer | -| `OPENCODE_SERVER_PASSWORD` | string | Aktiver grundlæggende godkendelse for `serve`/`web` | -| `OPENCODE_SERVER_USERNAME` | string | Tilsidesæt grundlæggende godkendelsesbrugernavn (standard `opencode`) | -| `OPENCODE_MODELS_URL` | string | Brugerdefineret URL til hentning af modelkonfiguration | +| `OPENCODE_SERVER_PASSWORD` | string | Aktiver grundlæggende godkendelse for `serve`/`web` | +| `OPENCODE_SERVER_USERNAME` | string | Tilsidesæt grundlæggende godkendelsesbrugernavn (standard `opencode`) | +| `OPENCODE_MODELS_URL` | string | Brugerdefineret URL til hentning af modelkonfiguration | --- @@ -584,13 +584,13 @@ OpenCode kan konfigureres ved hjælp af miljøvariabler. Disse miljøvariabler muliggør eksperimentelle funktioner, der kan ændres eller fjernes. -| Variabel | Skriv | Beskrivelse | -| ----------------------------------------------- | ------ | ------------------------------------------ | +| Variabel | Skriv | Beskrivelse | +| ----------------------------------------------- | ------- | ------------------------------------------ | | `OPENCODE_EXPERIMENTAL` | boolean | Aktiver alle eksperimentelle funktioner | | `OPENCODE_EXPERIMENTAL_ICON_DISCOVERY` | boolean | Aktiver ikonopdagelse | | `OPENCODE_EXPERIMENTAL_DISABLE_COPY_ON_SELECT` | boolean | Deaktiver kopi ved valg i TUI | -| `OPENCODE_EXPERIMENTAL_BASH_DEFAULT_TIMEOUT_MS` | nummer | Standard timeout for bash-kommandoer i ms | -| `OPENCODE_EXPERIMENTAL_OUTPUT_TOKEN_MAX` | nummer | Maks. output-tokens for LLM-svar | +| `OPENCODE_EXPERIMENTAL_BASH_DEFAULT_TIMEOUT_MS` | nummer | Standard timeout for bash-kommandoer i ms | +| `OPENCODE_EXPERIMENTAL_OUTPUT_TOKEN_MAX` | nummer | Maks. output-tokens for LLM-svar | | `OPENCODE_EXPERIMENTAL_FILEWATCHER` | boolean | Aktiver filovervågning for hele dir | | `OPENCODE_EXPERIMENTAL_OXFMT` | boolean | Aktiver oxfmt formatter | | `OPENCODE_EXPERIMENTAL_LSP_TOOL` | boolean | Aktive eksperimenter LSP værktøj | diff --git a/packages/web/src/content/docs/da/formatters.mdx b/packages/web/src/content/docs/da/formatters.mdx index 4107ddc2c..9cf0833b6 100644 --- a/packages/web/src/content/docs/da/formatters.mdx +++ b/packages/web/src/content/docs/da/formatters.mdx @@ -69,9 +69,9 @@ Hver formateringskonfiguration understøtter følgende: | Ejendom | Skriv | Beskrivelse | | ------------- | -------- | -------------------------------------------------------------------- | -| `disabled` | boolean | Indstil dette til `true` for at deaktivere formateringsværktøjet | +| `disabled` | boolean | Indstil dette til `true` for at deaktivere formateringsværktøjet | | `command` | string[] | Kommandoen til at køre for formatering | -| `environment` | object | Miljøvariabler, der skal indstilles, når formateringsværktøjet køres | +| `environment` | object | Miljøvariabler, der skal indstilles, når formateringsværktøjet køres | | `extensions` | string[] | Filtypenavne, som denne formaterer skal håndtere | Lad os se på nogle eksempler. diff --git a/packages/web/src/content/docs/da/lsp.mdx b/packages/web/src/content/docs/da/lsp.mdx index e9476340f..5bfd2f394 100644 --- a/packages/web/src/content/docs/da/lsp.mdx +++ b/packages/web/src/content/docs/da/lsp.mdx @@ -78,11 +78,11 @@ Hver LSP- server understøtter følgende: | Ejendom | Skriv | Beskrivelse | | ---------------- | -------- | --------------------------------------------------------- | -| `disabled` | boolean | Indstil dette til `true` for at deaktivere LSP-serveren | +| `disabled` | boolean | Indstil dette til `true` for at deaktivere LSP-serveren | | `command` | string[] | Kommandoen til at starte LSP-serveren | | `extensions` | string[] | Filtypenavne, som denne LSP-server skal håndtere | -| `env` | object | Miljøvariabler, der skal indstilles, når serveren starter | -| `initialization` | object | Initialiseringsmuligheder for at sende til LSP-serveren | +| `env` | object | Miljøvariabler, der skal indstilles, når serveren starter | +| `initialization` | object | Initialiseringsmuligheder for at sende til LSP-serveren | Lad os se på nogle eksempler. diff --git a/packages/web/src/content/docs/da/mcp-servers.mdx b/packages/web/src/content/docs/da/mcp-servers.mdx index ced5f3f1f..b81eb3bfe 100644 --- a/packages/web/src/content/docs/da/mcp-servers.mdx +++ b/packages/web/src/content/docs/da/mcp-servers.mdx @@ -120,7 +120,7 @@ Her er alle muligheder for at konfigurere en lokal MCP-server. | ------------- | ------- | -------- | ------------------------------------------------------------------------------------ | | `type` | String | Y | Type MCP serverforbindelse, skal være `"local"`. | | `command` | Array | Y | Kommando og argumenter til at køre MCP-serveren. | -| `environment` | Object | | Miljøvariabler, der skal indstilles, når serveren kører. | +| `environment` | Object | | Miljøvariabler, der skal indstilles, når serveren kører. | | `enabled` | Boolean | | Aktiver eller deaktiver MCP-serveren ved opstart. | | `timeout` | Nummer | | Timeout i ms for at hente værktøjer fra MCP-serveren. Standard er 5000 (5 sekunder). | @@ -157,8 +157,8 @@ Tilføj ekstern MCP-server ved at indstille `type` til `"remote"`. | `type` | String | Y | Type MCP serverforbindelse, skal være `"remote"`. | | `url` | String | Y | URL af den eksterne MCP-server. | | `enabled` | Boolean | | Aktiver eller deaktiver MCP-serveren ved opstart. | -| `headers` | Object | | Overskrifter til at sende med anmodningen. | -| `oauth` | Object | | OAuth-godkendelseskonfiguration. Se afsnittet [OAuth](#oauth) nedenfor. | +| `headers` | Object | | Overskrifter til at sende med anmodningen. | +| `oauth` | Object | | OAuth-godkendelseskonfiguration. Se afsnittet [OAuth](#oauth) nedenfor. | | `timeout` | Nummer | | Timeout i ms for at hente værktøjer fra MCP-serveren. Standard er 5000 (5 sekunder). | --- diff --git a/packages/web/src/content/docs/da/sdk.mdx b/packages/web/src/content/docs/da/sdk.mdx index 6db8b5ccf..aa16c4040 100644 --- a/packages/web/src/content/docs/da/sdk.mdx +++ b/packages/web/src/content/docs/da/sdk.mdx @@ -239,10 +239,10 @@ const { providers, default: defaults } = await client.config.providers() | `session.share({ path })` | Del økten | Returnerer Session | | `session.unshare({ path })` | Slutt å dele økten | Returnerer Session | | `session.summarize({ path, body })` | Oppsummer økten | Returnerer `boolean` | -| `session.messages({ path })` | Liste meldinger i en økt | Returnerer `{ info: `Message`, parts: `Part[]`}[]` | -| `session.message({ path })` | Få meldingsdetaljer | Returnerer `{ info: `Message`, parts: `Part[]`}` | +| `session.messages({ path })` | Liste meldinger i en økt | Returnerer `{ info: `Message`, parts: `Part[]`}[]` | +| `session.message({ path })` | Få meldingsdetaljer | Returnerer `{ info: `Message`, parts: `Part[]`}` | | `session.prompt({ path, body })` | Send melding | `body.noReply: true` returnerer UserMessage (kun kontekst). Standard returnerer AssistantMessage med AI svar | -| `session.command({ path, body })` | Send kommando til økt | Returnerer `{ info: `AssistantMessage`, parts: `Part[]`}` | +| `session.command({ path, body })` | Send kommando til økt | Returnerer `{ info: `AssistantMessage`, parts: `Part[]`}` | | `session.shell({ path, body })` | Kjør en shell-kommando | Returnerer AssistantMessage | | `session.revert({ path, body })` | Tilbakestill en melding | Returnerer Session | | `session.unrevert({ path })` | Gjenopprett tilbakestilte meldinger | Returnerer Session | diff --git a/packages/web/src/content/docs/da/server.mdx b/packages/web/src/content/docs/da/server.mdx index 08adbe0bb..3646ecd43 100644 --- a/packages/web/src/content/docs/da/server.mdx +++ b/packages/web/src/content/docs/da/server.mdx @@ -174,7 +174,7 @@ OpenCode-serveren viser følgende APIer. | ------ | --------------------------------- | -------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | | `GET` | `/session/:id/message` | Liste meldinger i en økt | spørring: `limit?`, returnerer `{ info: `Message`, parts: `Part[]`}[]` | | `POST` | `/session/:id/message` | Send en melding og vent på svar | body: `{ messageID?, model?, agent?, noReply?, system?, tools?, parts }`, returnerer `{ info: `Message`, parts: `Part[]`}` | -| `GET` | `/session/:id/message/:messageID` | Få meldingsdetaljer | Returnerer `{ info: `Message`, parts: `Part[]`}` | +| `GET` | `/session/:id/message/:messageID` | Få meldingsdetaljer | Returnerer `{ info: `Message`, parts: `Part[]`}` | | `POST` | `/session/:id/prompt_async` | Send en melding asynkront (ingen vent) | body: samme som `/session/:id/message`, returnerer `204 No Content` | | `POST` | `/session/:id/command` | Utfør en skråstrek-kommando | body: `{ messageID?, agent?, model?, command, arguments }`, returnerer `{ info: `Message`, parts: `Part[]`}` | | `POST` | `/session/:id/shell` | Kjør en shell-kommando | body: `{ agent, model?, command }`, returnerer `{ info: `Message`, parts: `Part[]`}` | diff --git a/packages/web/src/content/docs/de/cli.mdx b/packages/web/src/content/docs/de/cli.mdx index cd0396449..e999bccc2 100644 --- a/packages/web/src/content/docs/de/cli.mdx +++ b/packages/web/src/content/docs/de/cli.mdx @@ -29,16 +29,16 @@ opencode [project] #### Flaggen -| Flagge | Kurz | Beschreibung | -| ------------ | ---- | ------------------------------------------------- | -| `--continue` | `-c` | Setzen Sie die letzte Sitzung fort | -| `--session` | `-s` | Sitzung ID zum Fortfahren | +| Flagge | Kurz | Beschreibung | +| ------------ | ---- | ---------------------------------------------------------------------- | +| `--continue` | `-c` | Setzen Sie die letzte Sitzung fort | +| `--session` | `-s` | Sitzung ID zum Fortfahren | | `--fork` | | Sitzung beim Fortsetzen verzweigen (mit `--continue` oder `--session`) | -| `--prompt` | | Zur Verwendung auffordern | -| `--model` | `-m` | Zu verwendendes Modell in der Form provider/model | -| `--agent` | | Zu verwendender Agent | -| `--port` | | Port zum Abhören | -| `--hostname` | | Hostname zum Abhören | +| `--prompt` | | Zur Verwendung auffordern | +| `--model` | `-m` | Zu verwendendes Modell in der Form provider/model | +| `--agent` | | Zu verwendender Agent | +| `--port` | | Port zum Abhören | +| `--hostname` | | Hostname zum Abhören | --- diff --git a/packages/web/src/content/docs/de/formatters.mdx b/packages/web/src/content/docs/de/formatters.mdx index 17c7a42fa..253b52683 100644 --- a/packages/web/src/content/docs/de/formatters.mdx +++ b/packages/web/src/content/docs/de/formatters.mdx @@ -11,32 +11,32 @@ OpenCode formatiert Dateien automatisch, nachdem sie mit sprachspezifischen Form OpenCode verfügt über mehrere integrierte Formatierer für gängige Sprachen und Frameworks. Nachfolgend finden Sie eine Liste der Formatierer, unterstützten Dateierweiterungen und benötigten Befehle oder Konfigurationsoptionen. -| Formatierer | Erweiterungen | Anforderungen | -| --------------------- | -------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | -| gofmt | .go | `gofmt`-Befehl verfügbar | -| mix | .ex, .exs, .eex, .heex, .leex, .neex, .sface | `mix`-Befehl verfügbar | -| prettier | .js, .jsx, .ts, .tsx, .html, .css, .md, .json, .yaml, und [more](https://prettier.io/docs/en/index.html) | `prettier`-Abhängigkeit in `package.json` | -| biome | .js, .jsx, .ts, .tsx, .html, .css, .md, .json, .yaml, und [more](https://biomejs.dev/) | `biome.json(c)` Konfigurationsdatei | -| zig | .zig, .zon | `zig`-Befehl verfügbar | -| clang-format | .c, .cpp, .h, .hpp, .ino und [more](https://clang.llvm.org/docs/ClangFormat.html) | `.clang-format` Konfigurationsdatei | -| ktlint | .kt, .kts | `ktlint`-Befehl verfügbar | -| ruff | .py, .pyi | `ruff`-Befehl verfügbar mit config | -| rustfmt | .rs | `rustfmt`-Befehl verfügbar | -| cargofmt | .rs | `cargo fmt`-Befehl verfügbar | -| uv | .py, .pyi | `uv`-Befehl verfügbar | -| rubocop | .rb, .rake, .gemspec, .ru | `rubocop`-Befehl verfügbar | -| standardrb | .rb, .rake, .gemspec, .ru | `standardrb`-Befehl verfügbar | -| htmlbeautifier | .erb, .html.erb | `htmlbeautifier`-Befehl verfügbar | -| air | .R | `air`-Befehl verfügbar | -| dart | .dart | `dart`-Befehl verfügbar | -| ocamlformat | .ml, .mli | `ocamlformat` Befehl verfügbar und `.ocamlformat` Konfigurationsdatei | -| terraform | .tf, .tfvars | `terraform`-Befehl verfügbar | -| gleam | .gleam | `gleam`-Befehl verfügbar | -| nixfmt | .nix | `nixfmt`-Befehl verfügbar | -| shfmt | .sh, .bash | `shfmt`-Befehl verfügbar | -| pint | .php | `laravel/pint`-Abhängigkeit in `composer.json` | +| Formatierer | Erweiterungen | Anforderungen | +| -------------------- | -------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | +| gofmt | .go | `gofmt`-Befehl verfügbar | +| mix | .ex, .exs, .eex, .heex, .leex, .neex, .sface | `mix`-Befehl verfügbar | +| prettier | .js, .jsx, .ts, .tsx, .html, .css, .md, .json, .yaml, und [more](https://prettier.io/docs/en/index.html) | `prettier`-Abhängigkeit in `package.json` | +| biome | .js, .jsx, .ts, .tsx, .html, .css, .md, .json, .yaml, und [more](https://biomejs.dev/) | `biome.json(c)` Konfigurationsdatei | +| zig | .zig, .zon | `zig`-Befehl verfügbar | +| clang-format | .c, .cpp, .h, .hpp, .ino und [more](https://clang.llvm.org/docs/ClangFormat.html) | `.clang-format` Konfigurationsdatei | +| ktlint | .kt, .kts | `ktlint`-Befehl verfügbar | +| ruff | .py, .pyi | `ruff`-Befehl verfügbar mit config | +| rustfmt | .rs | `rustfmt`-Befehl verfügbar | +| cargofmt | .rs | `cargo fmt`-Befehl verfügbar | +| uv | .py, .pyi | `uv`-Befehl verfügbar | +| rubocop | .rb, .rake, .gemspec, .ru | `rubocop`-Befehl verfügbar | +| standardrb | .rb, .rake, .gemspec, .ru | `standardrb`-Befehl verfügbar | +| htmlbeautifier | .erb, .html.erb | `htmlbeautifier`-Befehl verfügbar | +| air | .R | `air`-Befehl verfügbar | +| dart | .dart | `dart`-Befehl verfügbar | +| ocamlformat | .ml, .mli | `ocamlformat` Befehl verfügbar und `.ocamlformat` Konfigurationsdatei | +| terraform | .tf, .tfvars | `terraform`-Befehl verfügbar | +| gleam | .gleam | `gleam`-Befehl verfügbar | +| nixfmt | .nix | `nixfmt`-Befehl verfügbar | +| shfmt | .sh, .bash | `shfmt`-Befehl verfügbar | +| pint | .php | `laravel/pint`-Abhängigkeit in `composer.json` | | oxfmt (Experimental) | .js, .jsx, .ts, .tsx | `oxfmt`-Abhängigkeit in `package.json` und einer [experimental env variable flag](/docs/cli/#experimental) | -| Ormolu | .hs | `ormolu`-Befehl verfügbar | +| Ormolu | .hs | `ormolu`-Befehl verfügbar | Wenn Ihr Projekt auch `prettier` in Ihrem `package.json` hat, wird OpenCode automatisch verwendet. diff --git a/packages/web/src/content/docs/es/cli.mdx b/packages/web/src/content/docs/es/cli.mdx index dba1283ed..99db12253 100644 --- a/packages/web/src/content/docs/es/cli.mdx +++ b/packages/web/src/content/docs/es/cli.mdx @@ -29,16 +29,16 @@ opencode [project] #### Banderas -| Bandera | Corto | Descripción | -| ------------ | ----- | ---------------------------------------------- | -| `--continue` | `-c` | Continuar la última sesión | -| `--session` | `-s` | ID de sesión para continuar | +| Bandera | Corto | Descripción | +| ------------ | ----- | --------------------------------------------------------------------- | +| `--continue` | `-c` | Continuar la última sesión | +| `--session` | `-s` | ID de sesión para continuar | | `--fork` | | Bifurcar la sesión al continuar (usar con `--continue` o `--session`) | -| `--prompt` | | Aviso de uso | -| `--model` | `-m` | Modelo a utilizar en forma de proveedor/modelo | -| `--agent` | | Agente a utilizar | -| `--port` | | Puerto para escuchar | -| `--hostname` | | Nombre de host para escuchar | +| `--prompt` | | Aviso de uso | +| `--model` | `-m` | Modelo a utilizar en forma de proveedor/modelo | +| `--agent` | | Agente a utilizar | +| `--port` | | Puerto para escuchar | +| `--hostname` | | Nombre de host para escuchar | --- @@ -340,7 +340,7 @@ opencode run --attach http://localhost:4096 "Explain async/await in JavaScript" | `--command` | | El comando a ejecutar, use mensaje para args | | `--continue` | `-c` | Continuar la última sesión | | `--session` | `-s` | ID de sesión para continuar | -| `--fork` | | Bifurcar la sesión al continuar (usar con `--continue` o `--session`) | +| `--fork` | | Bifurcar la sesión al continuar (usar con `--continue` o `--session`) | | `--share` | | Comparte la sesión | | `--model` | `-m` | Modelo a utilizar en forma de proveedor/modelo | | `--agent` | | Agente a utilizar | diff --git a/packages/web/src/content/docs/es/sdk.mdx b/packages/web/src/content/docs/es/sdk.mdx index 5c0a229c9..e7006ecc4 100644 --- a/packages/web/src/content/docs/es/sdk.mdx +++ b/packages/web/src/content/docs/es/sdk.mdx @@ -142,9 +142,9 @@ console.log(health.data.version) ### Aplicación -| Método | Descripción | Respuesta | -| -------------- | ------------------------------------ | -------------------------------------------- | -| `app.log()` | Escribe una entrada de registro | `boolean` | +| Método | Descripción | Respuesta | +| -------------- | ------------------------------------ | ------------------------------------------- | +| `app.log()` | Escribe una entrada de registro | `boolean` | | `app.agents()` | Listar todos los agentes disponibles | Agent[] | --- @@ -169,8 +169,8 @@ const agents = await client.app.agents() ### Proyecto -| Método | Descripción | Respuesta | -| ------------------- | -------------------------- | ---------------------------------------------- | +| Método | Descripción | Respuesta | +| ------------------- | -------------------------- | --------------------------------------------- | | `project.list()` | Listar todos los proyectos | Project[] | | `project.current()` | Obtener proyecto actual | Project | @@ -207,9 +207,9 @@ const pathInfo = await client.path.get() ### Configuración -| Método | Descripción | Respuesta | -| -------------------- | ---------------------------------------------- | ------------------------------------------------------------------------------------------------------ | -| `config.get()` | Obtener información de configuración | Config | +| Método | Descripción | Respuesta | +| -------------------- | ---------------------------------------------- | ----------------------------------------------------------------------------------------------------- | +| `config.get()` | Obtener información de configuración | Config | | `config.providers()` | Lista de proveedores y modelos predeterminados | `{ providers: `Provider[]`, default: { [key: string]: string } }` | --- @@ -228,24 +228,24 @@ const { providers, default: defaults } = await client.config.providers() | Método | Descripción | Notas | | ---------------------------------------------------------- | --------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `session.list()` | Listar sesiones | Devuelve Session[] | -| `session.get({ path })` | Obtener sesión | Devuelve Session | -| `session.children({ path })` | Listar sesiones infantiles | Devuelve Session[] | -| `session.create({ body })` | Crear sesión | Devuelve Session | +| `session.list()` | Listar sesiones | Devuelve Session[] | +| `session.get({ path })` | Obtener sesión | Devuelve Session | +| `session.children({ path })` | Listar sesiones infantiles | Devuelve Session[] | +| `session.create({ body })` | Crear sesión | Devuelve Session | | `session.delete({ path })` | Eliminar sesión | Devuelve `boolean` | -| `session.update({ path, body })` | Actualizar propiedades de sesión | Devuelve Session | +| `session.update({ path, body })` | Actualizar propiedades de sesión | Devuelve Session | | `session.init({ path, body })` | Analizar aplicación y crear `AGENTS.md` | Devuelve `boolean` | | `session.abort({ path })` | Cancelar una sesión en ejecución | Devuelve `boolean` | -| `session.share({ path })` | Compartir sesión | Devuelve Session | -| `session.unshare({ path })` | Dejar de compartir sesión | Devuelve Session | +| `session.share({ path })` | Compartir sesión | Devuelve Session | +| `session.unshare({ path })` | Dejar de compartir sesión | Devuelve Session | | `session.summarize({ path, body })` | Resumir sesión | Devuelve `boolean` | -| `session.messages({ path })` | Listar mensajes en una sesión | Devuelve `{ info: `Message`, parts: `Part[]`}[]` | -| `session.message({ path })` | Obtener detalles del mensaje | Devuelve `{ info: `Message`, parts: `Part[]`}` | +| `session.messages({ path })` | Listar mensajes en una sesión | Devuelve `{ info: `Message`, parts: `Part[]`}[]` | +| `session.message({ path })` | Obtener detalles del mensaje | Devuelve `{ info: `Message`, parts: `Part[]`}` | | `session.prompt({ path, body })` | Enviar mensaje rápido | `body.noReply: true` devuelve UserMessage (solo contexto). El valor predeterminado devuelve AssistantMessage con respuesta de IA | -| `session.command({ path, body })` | Enviar comando a la sesión | Devuelve `{ info: `AssistantMessage`, parts: `Part[]`}` | +| `session.command({ path, body })` | Enviar comando a la sesión | Devuelve `{ info: `AssistantMessage`, parts: `Part[]`}` | | `session.shell({ path, body })` | Ejecute un comando de shell | Devuelve AssistantMessage | -| `session.revert({ path, body })` | Revertir un mensaje | Devuelve Session | -| `session.unrevert({ path })` | Restaurar mensajes revertidos | Devuelve Session | +| `session.revert({ path, body })` | Revertir un mensaje | Devuelve Session | +| `session.unrevert({ path })` | Restaurar mensajes revertidos | Devuelve Session | | `postSessionByIdPermissionsByPermissionId({ path, body })` | Responder a una solicitud de permiso | Devuelve `boolean` | --- @@ -287,9 +287,9 @@ await client.session.prompt({ | ------------------------- | -------------------------------------------- | -------------------------------------------------------------------------------------------------- | | `find.text({ query })` | Buscar texto en archivos | Matriz de objetos coincidentes con `path`, `lines`, `line_number`, `absolute_offset`, `submatches` | | `find.files({ query })` | Buscar archivos y directorios por nombre | `string[]` (rutas) | -| `find.symbols({ query })` | Buscar símbolos del espacio de trabajo | Symbol[] | +| `find.symbols({ query })` | Buscar símbolos del espacio de trabajo | Symbol[] | | `file.read({ query })` | Leer un archivo | `{ type: "raw" \| "patch", content: string }` | -| `file.status({ query? })` | Obtener el estado de los archivos rastreados | File[] | +| `file.status({ query? })` | Obtener el estado de los archivos rastreados | File[] | `find.files` admite algunos campos de consulta opcionales: diff --git a/packages/web/src/content/docs/es/server.mdx b/packages/web/src/content/docs/es/server.mdx index 80f931fcf..36f1645c9 100644 --- a/packages/web/src/content/docs/es/server.mdx +++ b/packages/web/src/content/docs/es/server.mdx @@ -98,8 +98,8 @@ El servidor opencode expone las siguientes API. ### Proyecto -| Método | Camino | Descripción | Respuesta | -| ------ | ------------------ | -------------------------- | ---------------------------------------------- | +| Método | Camino | Descripción | Respuesta | +| ------ | ------------------ | -------------------------- | --------------------------------------------- | | `GET` | `/project` | Listar todos los proyectos | Project[] | | `GET` | `/project/current` | Obtener el proyecto actual | Project | @@ -126,8 +126,8 @@ El servidor opencode expone las siguientes API. | Método | Camino | Descripción | Respuesta | | ------- | ------------------- | ---------------------------------------------- | ----------------------------------------------------------------------------------------- | -| `GET` | `/config` | Obtener información de configuración | Config | -| `PATCH` | `/config` | Actualizar configuración | Config | +| `GET` | `/config` | Obtener información de configuración | Config | +| `PATCH` | `/config` | Actualizar configuración | Config | | `GET` | `/config/providers` | Lista de proveedores y modelos predeterminados | `{ providers: `Proveedor[]`, default: { [key: string]: string } }` | --- @@ -145,26 +145,26 @@ El servidor opencode expone las siguientes API. ### Sesiones -| Método | Camino | Descripción | Notas | -| -------- | ---------------------------------------- | ------------------------------------------------------ | ------------------------------------------------------------------------------------ | +| Método | Camino | Descripción | Notas | +| -------- | ---------------------------------------- | ------------------------------------------------------ | ------------------------------------------------------------------------------------- | | `GET` | `/session` | Listar todas las sesiones | Devuelve Session[] | | `POST` | `/session` | Crear una nueva sesión | cuerpo: `{ parentID?, title? }`, devuelve Session | -| `GET` | `/session/status` | Obtener el estado de la sesión para todas las sesiones | Devuelve `{ [sessionID: string]: `SessionStatus` }` | +| `GET` | `/session/status` | Obtener el estado de la sesión para todas las sesiones | Devuelve `{ [sessionID: string]: `SessionStatus` }` | | `GET` | `/session/:id` | Obtener detalles de la sesión | Devuelve Session | -| `DELETE` | `/session/:id` | Eliminar una sesión y todos sus datos | Devuelve `boolean` | +| `DELETE` | `/session/:id` | Eliminar una sesión y todos sus datos | Devuelve `boolean` | | `PATCH` | `/session/:id` | Actualizar propiedades de sesión | cuerpo: `{ title? }`, devuelve Session | | `GET` | `/session/:id/children` | Obtener las sesiones secundarias de una sesión | Devuelve Session[] | -| `GET` | `/session/:id/todo` | Obtener la lista de tareas pendientes para una sesión | Devuelve Todo[] | -| `POST` | `/session/:id/init` | Analizar aplicación y crear `AGENTS.md` | cuerpo: `{ messageID, providerID, modelID }`, devuelve `boolean` | +| `GET` | `/session/:id/todo` | Obtener la lista de tareas pendientes para una sesión | Devuelve Todo[] | +| `POST` | `/session/:id/init` | Analizar aplicación y crear `AGENTS.md` | cuerpo: `{ messageID, providerID, modelID }`, devuelve `boolean` | | `POST` | `/session/:id/fork` | Bifurca una sesión existente en un mensaje | cuerpo: `{ messageID? }`, devuelve Session | -| `POST` | `/session/:id/abort` | Cancelar una sesión en ejecución | Devuelve `boolean` | +| `POST` | `/session/:id/abort` | Cancelar una sesión en ejecución | Devuelve `boolean` | | `POST` | `/session/:id/share` | Compartir una sesión | Devuelve Session | | `DELETE` | `/session/:id/share` | Dejar de compartir una sesión | Devuelve Session | -| `GET` | `/session/:id/diff` | Obtenga la diferencia para esta sesión | consulta: `messageID?`, devuelve FileDiff[] | -| `POST` | `/session/:id/summarize` | Resumir la sesión | cuerpo: `{ providerID, modelID }`, devuelve `boolean` | -| `POST` | `/session/:id/revert` | Revertir un mensaje | cuerpo: `{ messageID, partID? }`, devuelve `boolean` | -| `POST` | `/session/:id/unrevert` | Restaurar todos los mensajes revertidos | Devuelve `boolean` | -| `POST` | `/session/:id/permissions/:permissionID` | Responder a una solicitud de permiso | cuerpo: `{ response, remember? }`, devuelve `boolean` | +| `GET` | `/session/:id/diff` | Obtenga la diferencia para esta sesión | consulta: `messageID?`, devuelve FileDiff[] | +| `POST` | `/session/:id/summarize` | Resumir la sesión | cuerpo: `{ providerID, modelID }`, devuelve `boolean` | +| `POST` | `/session/:id/revert` | Revertir un mensaje | cuerpo: `{ messageID, partID? }`, devuelve `boolean` | +| `POST` | `/session/:id/unrevert` | Restaurar todos los mensajes revertidos | Devuelve `boolean` | +| `POST` | `/session/:id/permissions/:permissionID` | Responder a una solicitud de permiso | cuerpo: `{ response, remember? }`, devuelve `boolean` | --- @@ -195,10 +195,10 @@ El servidor opencode expone las siguientes API. | ------ | ------------------------ | -------------------------------------------- | -------------------------------------------------------------------------------------------------- | | `GET` | `/find?pattern=` | Buscar texto en archivos | Matriz de objetos coincidentes con `path`, `lines`, `line_number`, `absolute_offset`, `submatches` | | `GET` | `/find/file?query=` | Buscar archivos y directorios por nombre | `string[]` (caminos) | -| `GET` | `/find/symbol?query=` | Buscar símbolos del espacio de trabajo | Symbol[] | +| `GET` | `/find/symbol?query=` | Buscar símbolos del espacio de trabajo | Symbol[] | | `GET` | `/file?path=` | Listar archivos y directorios | FileNode[] | -| `GET` | `/file/content?path=

` | Leer un archivo | FileContent | -| `GET` | `/file/status` | Obtener el estado de los archivos rastreados | File[] | +| `GET` | `/file/content?path=

` | Leer un archivo | FileContent | +| `GET` | `/file/status` | Obtener el estado de los archivos rastreados | File[] | #### `/find/file` parámetros de consulta @@ -212,9 +212,9 @@ El servidor opencode expone las siguientes API. ### Herramientas (experimentales) -| Método | Camino | Descripción | Respuesta | -| ------ | ------------------------------------------- | ---------------------------------------------------- | --------------------------------------------------------- | -| `GET` | `/experimental/tool/ids` | Listar todos los ID de herramientas | ToolIDs | +| Método | Camino | Descripción | Respuesta | +| ------ | ------------------------------------------- | ---------------------------------------------------- | -------------------------------------------- | +| `GET` | `/experimental/tool/ids` | Listar todos los ID de herramientas | ToolIDs | | `GET` | `/experimental/tool?provider=

&model=` | Listar herramientas con esquemas JSON para un modelo | ToolList | --- @@ -232,8 +232,8 @@ El servidor opencode expone las siguientes API. ### Agentes -| Método | Camino | Descripción | Respuesta | -| ------ | -------- | ------------------------------------ | -------------------------------------------- | +| Método | Camino | Descripción | Respuesta | +| ------ | -------- | ------------------------------------ | ------------------------------------------- | | `GET` | `/agent` | Listar todos los agentes disponibles | Agent[] | --- diff --git a/packages/web/src/content/docs/fr/ecosystem.mdx b/packages/web/src/content/docs/fr/ecosystem.mdx index 8a5e8408d..64d512f59 100644 --- a/packages/web/src/content/docs/fr/ecosystem.mdx +++ b/packages/web/src/content/docs/fr/ecosystem.mdx @@ -25,27 +25,27 @@ Vous pouvez également consulter [awesome-opencode](https://github.com/awesome-o | [opencode-antigravity-auth](https://github.com/NoeFabris/opencode-antigravity-auth) | Utilisez les modèles gratuits d'Antigravity au lieu de la facturation API | | [opencode-devcontainers](https://github.com/athal7/opencode-devcontainers) | Isolation de conteneur de développement multibranche avec clones superficiels et ports attribués automatiquement | | [opencode-google-antigravity-auth](https://github.com/shekohex/opencode-google-antigravity-auth) | Plugin Google Antigravity OAuth, avec prise en charge de la recherche Google et gestion API plus robuste | -| [opencode-dynamic-context-pruning](https://github.com/Tarquinen/opencode-dynamic-context-pruning) | Optimisez l'utilisation des jetons en éliminant les sorties d'outils obsolètes | +| [opencode-dynamic-context-pruning](https://github.com/Tarquinen/opencode-dynamic-context-pruning) | Optimisez l'utilisation des jetons en éliminant les sorties d'outils obsolètes | | [opencode-websearch-cited](https://github.com/ghoulr/opencode-websearch-cited.git) | Ajoutez la prise en charge native de la recherche Web pour les fournisseurs pris en charge avec le style ancré par Google | | [opencode-pty](https://github.com/shekohex/opencode-pty.git) | Permet aux agents IA d'exécuter des processus en arrière-plan dans un PTY et de leur envoyer des entrées interactives. | -| [opencode-shell-strategy](https://github.com/JRedeker/opencode-shell-strategy) | Instructions pour les commandes shell non interactives - empêche les blocages des opérations dépendantes du téléscripteur | +| [opencode-shell-strategy](https://github.com/JRedeker/opencode-shell-strategy) | Instructions pour les commandes shell non interactives - empêche les blocages des opérations dépendantes du téléscripteur | | [opencode-wakatime](https://github.com/angristan/opencode-wakatime) | Suivez l'utilisation de OpenCode avec Wakatime | | [opencode-md-table-formatter](https://github.com/franlol/opencode-md-table-formatter/tree/main) | Nettoyer les tableaux de démarques produits par les LLM | | [opencode-morph-fast-apply](https://github.com/JRedeker/opencode-morph-fast-apply) | Édition de code 10 fois plus rapide avec Morph Fast Apply API et les marqueurs d'édition différée | -| [oh-my-opencode](https://github.com/code-yeongyu/oh-my-opencode) | Agents d'arrière-plan, outils LSP/AST/MCP prédéfinis, agents sélectionnés, compatibles Claude Code | -| [opencode-notificator](https://github.com/panta82/opencode-notificator) | Notifications de bureau et alertes sonores pour les sessions OpenCode | -| [opencode-notifier](https://github.com/mohak34/opencode-notifier) | Notifications sur le bureau et alertes sonores pour les événements d'autorisation, d'achèvement et d'erreur | +| [oh-my-opencode](https://github.com/code-yeongyu/oh-my-opencode) | Agents d'arrière-plan, outils LSP/AST/MCP prédéfinis, agents sélectionnés, compatibles Claude Code | +| [opencode-notificator](https://github.com/panta82/opencode-notificator) | Notifications de bureau et alertes sonores pour les sessions OpenCode | +| [opencode-notifier](https://github.com/mohak34/opencode-notifier) | Notifications sur le bureau et alertes sonores pour les événements d'autorisation, d'achèvement et d'erreur | | [opencode-zellij-namer](https://github.com/24601/opencode-zellij-namer) | Dénomination automatique de session Zellij basée sur l'IA basée sur le contexte OpenCode | -| [opencode-skillful](https://github.com/zenobi-us/opencode-skillful) | Autoriser les agents OpenCode à charger paresseusement les invites à la demande grâce à la découverte et à l'injection de compétences | -| [opencode-supermemory](https://github.com/supermemoryai/opencode-supermemory) | Mémoire persistante entre les sessions utilisant Supermemory | +| [opencode-skillful](https://github.com/zenobi-us/opencode-skillful) | Autoriser les agents OpenCode à charger paresseusement les invites à la demande grâce à la découverte et à l'injection de compétences | +| [opencode-supermemory](https://github.com/supermemoryai/opencode-supermemory) | Mémoire persistante entre les sessions utilisant Supermemory | | [@plannotator/opencode](https://github.com/backnotprop/plannotator/tree/main/apps/opencode-plugin) | Révision interactive du plan avec annotation visuelle et partage privé/hors ligne | | [@openspoon/subtask2](https://github.com/spoons-and-mirrors/subtask2) | Étendez opencode /commands dans un système d'orchestration puissant avec contrôle de flux granulaire | -| [opencode-scheduler](https://github.com/different-ai/opencode-scheduler) | Planifiez des tâches récurrentes à l'aide de launchd (Mac) ou systemd (Linux) avec la syntaxe cron | +| [opencode-scheduler](https://github.com/different-ai/opencode-scheduler) | Planifiez des tâches récurrentes à l'aide de launchd (Mac) ou systemd (Linux) avec la syntaxe cron | | [micode](https://github.com/vtemian/micode) | Brainstorming structuré → Planifier → Mettre en œuvre un workflow avec continuité de session | -| [octto](https://github.com/vtemian/octto) | Interface utilisateur de navigateur interactive pour le brainstorming IA avec des formulaires multi-questions | -| [opencode-background-agents](https://github.com/kdcokenny/opencode-background-agents) | Agents d'arrière-plan de style Claude Code avec délégation asynchrone et persistance du contexte | +| [octto](https://github.com/vtemian/octto) | Interface utilisateur de navigateur interactive pour le brainstorming IA avec des formulaires multi-questions | +| [opencode-background-agents](https://github.com/kdcokenny/opencode-background-agents) | Agents d'arrière-plan de style Claude Code avec délégation asynchrone et persistance du contexte | | [opencode-notifier](https://github.com/kdcokenny/opencode-notify) | Notifications natives du système d'exploitation pour OpenCode – savoir quand les tâches sont terminées | -| [opencode-workspace](https://github.com/kdcokenny/opencode-workspace) | Harnais d'orchestration multi-agents fourni – 16 composants, une installation | +| [opencode-workspace](https://github.com/kdcokenny/opencode-workspace) | Harnais d'orchestration multi-agents fourni – 16 composants, une installation | | [opencode-worktree](https://github.com/kdcokenny/opencode-worktree) | Arbres de travail Git sans friction pour OpenCode | --- @@ -56,12 +56,12 @@ Vous pouvez également consulter [awesome-opencode](https://github.com/awesome-o | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | | [kimaki](https://github.com/remorses/kimaki) | Bot Discord pour contrôler les sessions OpenCode, construit sur le SDK | | [opencode.nvim](https://github.com/NickvanDyke/opencode.nvim) | Plugin Neovim pour les invites compatibles avec l'éditeur, construit sur API | -| [portal](https://github.com/hosenur/portal) | Interface utilisateur Web axée sur les mobiles pour OpenCode sur Tailscale/VPN | -| [opencode plugin template](https://github.com/zenobi-us/opencode-plugin-template/) | Modèle pour créer des plugins OpenCode | +| [portal](https://github.com/hosenur/portal) | Interface utilisateur Web axée sur les mobiles pour OpenCode sur Tailscale/VPN | +| [opencode plugin template](https://github.com/zenobi-us/opencode-plugin-template/) | Modèle pour créer des plugins OpenCode | | [opencode.nvim](https://github.com/sudo-tee/opencode.nvim) | Frontend Neovim pour opencode - un agent de codage d'IA basé sur un terminal | | [ai-sdk-provider-opencode-sdk](https://github.com/ben-vargas/ai-sdk-provider-opencode-sdk) | Fournisseur Vercel AI SDK pour l'utilisation de OpenCode via @opencode-ai/sdk | | [OpenChamber](https://github.com/btriapitsyn/openchamber) | Application Web/De bureau et extension VS Code pour OpenCode | -| [OpenCode-Obsidian](https://github.com/mtymek/opencode-obsidian) | Plugin Obsidian qui intègre OpenCode dans l'interface utilisateur d'Obsidian | +| [OpenCode-Obsidian](https://github.com/mtymek/opencode-obsidian) | Plugin Obsidian qui intègre OpenCode dans l'interface utilisateur d'Obsidian | | [OpenWork](https://github.com/different-ai/openwork) | Une alternative open source à Claude Cowork, propulsée par OpenCode | | [ocx](https://github.com/kdcokenny/ocx) | Gestionnaire d'extensions OpenCode avec profils portables et isolés. | | [CodeNomad](https://github.com/NeuralNomadsAI/CodeNomad) | Application client de bureau, Web, mobile et distante pour OpenCode | @@ -72,5 +72,5 @@ Vous pouvez également consulter [awesome-opencode](https://github.com/awesome-o | Nom | Descriptif | | ----------------------------------------------------------------- | ------------------------------------------------------------------------------ | -| [Agentic](https://github.com/Cluster444/agentic) | Agents et commandes d'IA modulaires pour un développement structuré | +| [Agentic](https://github.com/Cluster444/agentic) | Agents et commandes d'IA modulaires pour un développement structuré | | [opencode-agents](https://github.com/darrenhinde/opencode-agents) | Configurations, invites, agents et plug-ins pour des flux de travail améliorés | diff --git a/packages/web/src/content/docs/it/cli.mdx b/packages/web/src/content/docs/it/cli.mdx index 84a94853e..987e01236 100644 --- a/packages/web/src/content/docs/it/cli.mdx +++ b/packages/web/src/content/docs/it/cli.mdx @@ -29,16 +29,16 @@ opencode [project] #### Flag -| Flag | Breve | Descrizione | -| ------------ | ----- | ----------------------------------- | -| `--continue` | `-c` | Continua l'ultima sessione | -| `--session` | `-s` | ID sessione da continuare | +| Flag | Breve | Descrizione | +| ------------ | ----- | ------------------------------------------------------------------------ | +| `--continue` | `-c` | Continua l'ultima sessione | +| `--session` | `-s` | ID sessione da continuare | | `--fork` | | Duplica la sessione quando continui (usa con `--continue` o `--session`) | -| `--prompt` | | Prompt da usare | -| `--model` | `-m` | Modello nel formato provider/model | -| `--agent` | | Agente da usare | -| `--port` | | Porta su cui mettersi in ascolto | -| `--hostname` | | Hostname su cui mettersi in ascolto | +| `--prompt` | | Prompt da usare | +| `--model` | `-m` | Modello nel formato provider/model | +| `--agent` | | Agente da usare | +| `--port` | | Porta su cui mettersi in ascolto | +| `--hostname` | | Hostname su cui mettersi in ascolto | --- @@ -335,20 +335,20 @@ opencode run --attach http://localhost:4096 "Explain async/await in JavaScript" #### Flag -| Flag | Breve | Descrizione | -| ------------ | ----- | --------------------------------------------------------------------- | -| `--command` | | Il comando da eseguire; usa message per gli argomenti | -| `--continue` | `-c` | Continua l'ultima sessione | -| `--session` | `-s` | ID sessione da continuare | +| Flag | Breve | Descrizione | +| ------------ | ----- | ------------------------------------------------------------------------ | +| `--command` | | Il comando da eseguire; usa message per gli argomenti | +| `--continue` | `-c` | Continua l'ultima sessione | +| `--session` | `-s` | ID sessione da continuare | | `--fork` | | Duplica la sessione quando continui (usa con `--continue` o `--session`) | -| `--share` | | Condividi la sessione | -| `--model` | `-m` | Modello nel formato provider/model | -| `--agent` | | Agente da usare | -| `--file` | `-f` | File da allegare al messaggio | -| `--format` | | Formato: default (formattato) o json (eventi JSON grezzi) | -| `--title` | | Titolo sessione (usa prompt troncato se non viene fornito un valore) | -| `--attach` | | Attach a un server opencode in esecuzione (es. http://localhost:4096) | -| `--port` | | Porta per il server locale (di default una porta casuale) | +| `--share` | | Condividi la sessione | +| `--model` | `-m` | Modello nel formato provider/model | +| `--agent` | | Agente da usare | +| `--file` | `-f` | File da allegare al messaggio | +| `--format` | | Formato: default (formattato) o json (eventi JSON grezzi) | +| `--title` | | Titolo sessione (usa prompt troncato se non viene fornito un valore) | +| `--attach` | | Attach a un server opencode in esecuzione (es. http://localhost:4096) | +| `--port` | | Porta per il server locale (di default una porta casuale) | --- diff --git a/packages/web/src/content/docs/ja/acp.mdx b/packages/web/src/content/docs/ja/acp.mdx index 5e07ff38d..4b8041796 100644 --- a/packages/web/src/content/docs/ja/acp.mdx +++ b/packages/web/src/content/docs/ja/acp.mdx @@ -146,6 +146,7 @@ OpenCode は、ACP 経由でもターミナル内で動作するのと同じよ :::note `/undo` や `/redo` などの一部の組み込みスラッシュ コマンドは現在サポートされていません。 ::: + - 組み込みツール (ファイル操作、ターミナルコマンドなど) - カスタムツールとスラッシュコマンド - OpenCode 構成で構成された MCP サーバー diff --git a/packages/web/src/content/docs/ja/agents.mdx b/packages/web/src/content/docs/ja/agents.mdx index dc77940db..7ee82ab77 100644 --- a/packages/web/src/content/docs/ja/agents.mdx +++ b/packages/web/src/content/docs/ja/agents.mdx @@ -302,6 +302,7 @@ Provide constructive feedback without making direct changes. :::caution 従来の `maxSteps` フィールドは非推奨になりました。代わりに `steps` を使用してください。 ::: + --- ### 無効にする @@ -345,6 +346,7 @@ Provide constructive feedback without making direct changes. :::tip モデルを指定しない場合、プライマリ エージェントは [グローバルに設定されたモデル ](/docs/config#models) を使用し、サブエージェントはサブエージェントを呼び出したプライマリ エージェントのモデルを使用します。 ::: + ```json title="opencode.json" { "agent": { @@ -555,6 +557,7 @@ Only analyze code and suggest changes. :::note `mode: subagent` エージェントにのみ適用されます。 ::: + --- ### タスクの権限 @@ -585,6 +588,7 @@ Only analyze code and suggest changes. :::tip ユーザーは、エージェントのタスク権限が拒否する場合でも、`@` オートコンプリート メニューを介して、いつでもサブエージェントを直接呼び出すことができます。 ::: + --- ### 色 @@ -650,6 +654,7 @@ Only analyze code and suggest changes. :::tip `opencode models` を実行して、利用可能なモデルのリストを表示します。 ::: + --- ## エージェントの作成 @@ -689,6 +694,7 @@ opencode agent create :::tip 共有したいエージェントはいますか? [PR](https://github.com/anomalyco/opencode) を送信します。 ::: + --- ### 文書作成エージェント diff --git a/packages/web/src/content/docs/ja/config.mdx b/packages/web/src/content/docs/ja/config.mdx index a4240000e..11c00ff33 100644 --- a/packages/web/src/content/docs/ja/config.mdx +++ b/packages/web/src/content/docs/ja/config.mdx @@ -53,6 +53,7 @@ Configuration :::note `.opencode` および `~/.config/opencode` ディレクトリでは、サブディレクトリに **複数名** が使用されています: `agents/`、`commands/`、`modes/`、`plugins/`、`skills/`、`tools/`、および `themes/`。下位互換性のために、単数形の名前 (`agent/` など) もサポートされています。 ::: + --- ### リモート @@ -618,6 +619,7 @@ If `enabled_providers` と `disabled_providers` の両方に表示される場 :::caution 実験的なオプションは安定していません。予告なく変更または削除される場合があります。 ::: + --- ## 変数 diff --git a/packages/web/src/content/docs/ja/gitlab.mdx b/packages/web/src/content/docs/ja/gitlab.mdx index cbe5a64d8..fab5ceff5 100644 --- a/packages/web/src/content/docs/ja/gitlab.mdx +++ b/packages/web/src/content/docs/ja/gitlab.mdx @@ -67,6 +67,7 @@ OpenCode は GitLab CI/CD パイプラインで実行されます。セットア :::tip 最新の手順については、[**GitLab ドキュメント**](https://docs.gitlab.com/user/duo_agent_platform/agent_assistant/) を参照してください。 ::: + 1. GitLab 環境を構成する 2. CI/CD のセットアップ 3. AI モデル プロバイダー API キーを取得する @@ -162,6 +163,7 @@ GitLab で OpenCode を使用する方法の例をいくつか示します。 :::tip `@opencode` とは異なるトリガー フレーズを使用するように設定できます。 ::: + - **問題の説明** このコメントを GitLab の問題に追加します。 diff --git a/packages/web/src/content/docs/ja/lsp.mdx b/packages/web/src/content/docs/ja/lsp.mdx index b280476c1..51c5fad9b 100644 --- a/packages/web/src/content/docs/ja/lsp.mdx +++ b/packages/web/src/content/docs/ja/lsp.mdx @@ -51,6 +51,7 @@ OpenCode には、一般的な言語用のいくつかの組み込み LSP サー :::note `OPENCODE_DISABLE_LSP_DOWNLOAD` 環境変数を `true` に設定すると、LSP サーバーの自動ダウンロードを無効にできます。 ::: + --- ## 仕組み @@ -128,6 +129,7 @@ LSP サーバーの起動時に `env` プロパティを使用して環境変数 :::note 初期化オプションは LSP サーバーによって異なります。利用可能なオプションについては、LSP サーバーのドキュメントを確認してください。 ::: + --- ### LSPサーバーの無効化 diff --git a/packages/web/src/content/docs/ja/mcp-servers.mdx b/packages/web/src/content/docs/ja/mcp-servers.mdx index e4db9d01f..22fcf44d6 100644 --- a/packages/web/src/content/docs/ja/mcp-servers.mdx +++ b/packages/web/src/content/docs/ja/mcp-servers.mdx @@ -389,8 +389,7 @@ MCP サーバー ツールはサーバー名をプレフィックスとして登 "mymcpservername_*": false ``` -::: ---- +## ::: ## 例 diff --git a/packages/web/src/content/docs/ja/models.mdx b/packages/web/src/content/docs/ja/models.mdx index 6380e31de..c3b1c8e89 100644 --- a/packages/web/src/content/docs/ja/models.mdx +++ b/packages/web/src/content/docs/ja/models.mdx @@ -166,6 +166,7 @@ OpenCode には、多くのプロバイダーのデフォルトのバリアン :::tip このリストは包括的なものではありません。他の多くのプロバイダーにもデフォルトが組み込まれています。 ::: + ### カスタムバリアント 既存のバリアントをオーバーライドすることも、独自のバリアントを追加することもできます。 diff --git a/packages/web/src/content/docs/ja/permissions.mdx b/packages/web/src/content/docs/ja/permissions.mdx index 4acf15ce5..92f296a4d 100644 --- a/packages/web/src/content/docs/ja/permissions.mdx +++ b/packages/web/src/content/docs/ja/permissions.mdx @@ -188,6 +188,7 @@ OpenCode が承認を求めるプロンプトを表示すると、UI は 3 つ :::note パターン マッチングの詳細な例については、上記の「粒度ルール (オブジェクト構文)](#granular-rules-object-syntax)」セクションを参照してください。 ::: + ```json title="opencode.json" { "$schema": "https://opencode.ai/config.json", diff --git a/packages/web/src/content/docs/ja/plugins.mdx b/packages/web/src/content/docs/ja/plugins.mdx index 26040ce48..a59792f71 100644 --- a/packages/web/src/content/docs/ja/plugins.mdx +++ b/packages/web/src/content/docs/ja/plugins.mdx @@ -237,6 +237,7 @@ macOS 上で AppleScript を実行するために `osascript` を使用してい :::note OpenCode デスクトップ アプリを使用している場合は、応答の準備ができたとき、またはセッション エラーが発生したときにシステム通知を自動的に送信できます。 ::: + --- ### .env 保護 diff --git a/packages/web/src/content/docs/ja/share.mdx b/packages/web/src/content/docs/ja/share.mdx index 351b37d48..a264d925a 100644 --- a/packages/web/src/content/docs/ja/share.mdx +++ b/packages/web/src/content/docs/ja/share.mdx @@ -8,6 +8,7 @@ OpenCode の共有機能を使用すると、OpenCode の会話への公開リ :::note 共有された会話は、リンクを知っている人なら誰でも公開してアクセスできます。 ::: + --- ## 仕組み diff --git a/packages/web/src/content/docs/ja/tools.mdx b/packages/web/src/content/docs/ja/tools.mdx index c0789dc10..1a11bff0f 100644 --- a/packages/web/src/content/docs/ja/tools.mdx +++ b/packages/web/src/content/docs/ja/tools.mdx @@ -97,6 +97,7 @@ OpenCode で利用可能なすべての組み込みツールを次に示しま :::note `write` ツールは、すべてのファイル変更 (`edit`、`write`、`patch`、`multiedit`) をカバーする `edit` 権限によって制御されます。 ::: + --- ### 読む @@ -174,6 +175,7 @@ OpenCode で利用可能なすべての組み込みツールを次に示しま :::note このツールは、`OPENCODE_EXPERIMENTAL_LSP_TOOL=true` (または `OPENCODE_EXPERIMENTAL=true`) の場合にのみ使用できます。 ::: + ```json title="opencode.json" {4} { "$schema": "https://opencode.ai/config.json", @@ -207,6 +209,7 @@ OpenCode で利用可能なすべての組み込みツールを次に示しま :::note `write` ツールは、すべてのファイル変更 (`edit`、`write`、`patch`、`multiedit`) をカバーする `edit` 権限によって制御されます。 ::: + --- ### スキル @@ -242,6 +245,7 @@ OpenCode で利用可能なすべての組み込みツールを次に示しま :::note このツールはデフォルトではサブエージェントに対して無効になっていますが、手動で有効にすることができます。 [詳細はこちら](/docs/agents/#permissions) ::: + --- ### トドリード @@ -262,6 +266,7 @@ OpenCode で利用可能なすべての組み込みツールを次に示しま :::note このツールはデフォルトではサブエージェントに対して無効になっていますが、手動で有効にすることができます。 [詳細はこちら](/docs/agents/#permissions) ::: + --- ### ウェブフェッチ @@ -295,6 +300,7 @@ OPENCODE_ENABLE_EXA=1 opencode ``` ::: + ```json title="opencode.json" {4} { "$schema": "https://opencode.ai/config.json", @@ -311,6 +317,7 @@ API キーは必要ありません。ツールは認証なしで Exa AI のホ :::tip 情報を見つける必要がある場合 (検出)、`websearch` を使用し、特定の URL からコンテンツを取得する必要がある場合 (取得) は `webfetch` を使用します。 ::: + --- ### 質問 diff --git a/packages/web/src/content/docs/ja/tui.mdx b/packages/web/src/content/docs/ja/tui.mdx index bc3a81127..fe55f29cf 100644 --- a/packages/web/src/content/docs/ja/tui.mdx +++ b/packages/web/src/content/docs/ja/tui.mdx @@ -34,6 +34,7 @@ Give me a quick summary of the codebase. :::tip `@` を使用してメッセージ内のファイルを参照することもできます。 ::: + ```text "@packages/functions/src/api/index.ts" How is auth handled in @packages/functions/src/api/index.ts? ``` @@ -247,6 +248,7 @@ Git リポジトリ** であること。 :::note このコマンドは、思考ブロックを**表示**するかどうかのみを制御します。モデルの推論機能を有効または無効にすることはありません。実際の推論機能を切り替えるには、`ctrl+t` を使用してモデル バリアントを循環させます。 ::: + ```bash frame="none" /thinking ``` diff --git a/packages/web/src/content/docs/ja/web.mdx b/packages/web/src/content/docs/ja/web.mdx index e4b208238..0c5f50fcc 100644 --- a/packages/web/src/content/docs/ja/web.mdx +++ b/packages/web/src/content/docs/ja/web.mdx @@ -22,6 +22,7 @@ opencode web :::tip[Windows ユーザー] 最高のエクスペリエンスを得るには、PowerShell ではなく [WSL](/docs/windows-wsl) から `opencode web` を実行します。これにより、ファイル システムへの適切なアクセスと端末の統合が保証されます。 ::: + --- ## 構成 diff --git a/packages/web/src/content/docs/ja/windows-wsl.mdx b/packages/web/src/content/docs/ja/windows-wsl.mdx index 4128a9881..e1003176c 100644 --- a/packages/web/src/content/docs/ja/windows-wsl.mdx +++ b/packages/web/src/content/docs/ja/windows-wsl.mdx @@ -10,6 +10,7 @@ OpenCode は Windows で直接実行できますが、より快適に使うに :::tip[WSL を使う理由] WSL を使うと、ファイルシステム性能、端末サポート、OpenCode が依存する開発ツールとの互換性が向上します。 ::: + --- ## セットアップ @@ -67,7 +68,8 @@ OPENCODE_SERVER_PASSWORD=your-password opencode serve --hostname 0.0.0.0 ``` ::: -```bash + +````bash ## Web クライアント + WSL @@ -77,7 +79,7 @@ Windows で Web 利用を快適にするには: ```bash opencode web --hostname 0.0.0.0 - ``` +```` 2. **Windows のブラウザーからアクセスする** @@ -105,6 +107,7 @@ opencode :::tip よりスムーズに使うには、リポジトリを WSL のファイルシステム(例: `~/code/`)にクローンまたはコピーして、そこで OpenCode を実行することをおすすめします。 ::: + --- ## ヒント diff --git a/packages/web/src/content/docs/ko/cli.mdx b/packages/web/src/content/docs/ko/cli.mdx index e76e6b708..f5cd2da9c 100644 --- a/packages/web/src/content/docs/ko/cli.mdx +++ b/packages/web/src/content/docs/ko/cli.mdx @@ -29,16 +29,16 @@ opencode [project] #### 플래그 -| 플래그 | 짧은 이름 | 설명 | -| ------------ | --------- | --------------------------------------------------------------- | -| `--continue` | `-c` | 마지막 세션 계속하기 | -| `--session` | `-s` | 계속할 세션 ID | +| 플래그 | 짧은 이름 | 설명 | +| ------------ | --------- | ----------------------------------------------------------------- | +| `--continue` | `-c` | 마지막 세션 계속하기 | +| `--session` | `-s` | 계속할 세션 ID | | `--fork` | | 계속 시 세션 포크하기 (`--continue` 또는 `--session`과 함께 사용) | -| `--prompt` | | 사용할 프롬프트 | -| `--model` | `-m` | `provider/model` 형식의 모델 | -| `--agent` | | 사용할 에이전트 | -| `--port` | | 수신 대기할 포트 | -| `--hostname` | | 수신 대기할 호스트명 | +| `--prompt` | | 사용할 프롬프트 | +| `--model` | `-m` | `provider/model` 형식의 모델 | +| `--agent` | | 사용할 에이전트 | +| `--port` | | 수신 대기할 포트 | +| `--hostname` | | 수신 대기할 호스트명 | --- @@ -335,19 +335,19 @@ opencode run --attach http://localhost:4096 "Explain async/await in JavaScript" #### 플래그 -| 플래그 | 짧은 이름 | 설명 | -| ------------ | --------- | --------------------------------------------------- | -| `--command` | | 실행 중인 명령 사용(미지정 시 args의 메시지 사용) | -| `--continue` | `-c` | 마지막 세션 | -| `--session` | `-s` | 세션 ID | -| `--share` | | 세션 공유 | -| `--model` | `-m` | `-m`의 형태로 사용 가능 | -| `--agent` | | 에이전트 | -| `--file` | `-f` | 메시지 첨부 파일 | -| `--format` | | 출력 형식: formatted 또는 json(raw JSON 이벤트) | -| `--title` | | 세션의 제목(제공되지 않은 경우 truncated prompt 사용) | -| `--attach` | | 운영 개시 서버(예: http://localhost:4096) | -| `--port` | | 현지 서버 포트 | +| 플래그 | 짧은 이름 | 설명 | +| ------------ | --------- | ----------------------------------------------------- | +| `--command` | | 실행 중인 명령 사용(미지정 시 args의 메시지 사용) | +| `--continue` | `-c` | 마지막 세션 | +| `--session` | `-s` | 세션 ID | +| `--share` | | 세션 공유 | +| `--model` | `-m` | `-m`의 형태로 사용 가능 | +| `--agent` | | 에이전트 | +| `--file` | `-f` | 메시지 첨부 파일 | +| `--format` | | 출력 형식: formatted 또는 json(raw JSON 이벤트) | +| `--title` | | 세션의 제목(제공되지 않은 경우 truncated prompt 사용) | +| `--attach` | | 운영 개시 서버(예: http://localhost:4096) | +| `--port` | | 현지 서버 포트 | --- @@ -392,10 +392,10 @@ opencode session list ##### 플래그 -| 플래그 | 짧은 이름 | 설명 | -| ------------- | --------- | ------------------------ | -| `--max-count` | `-n` | 최근 세션에 제한 | -| `--format` | | 출력 형식: table 또는 json | +| 플래그 | 짧은 이름 | 설명 | +| ------------- | --------- | -------------------------- | +| `--max-count` | `-n` | 최근 세션에 제한 | +| `--format` | | 출력 형식: table 또는 json | --- @@ -539,12 +539,12 @@ opencode upgrade v0.1.48 opencode CLI는 다음의 글로벌 플래그를 사용합니다. -| 플래그 | 짧은 이름 | 설명 | -| -------------- | --------- | ----------------- | -| `--help` | `-h` | 디스플레이 도움말 | -| `--version` | `-v` | 인쇄판 번호 | -| `--print-logs` | | 스터디로 로그인 | -| `--log-level` | | 로그 레벨(DEBUG, INFO, WARN, ERROR) | +| 플래그 | 짧은 이름 | 설명 | +| -------------- | --------- | ----------------------------------- | +| `--help` | `-h` | 디스플레이 도움말 | +| `--version` | `-v` | 인쇄판 번호 | +| `--print-logs` | | 스터디로 로그인 | +| `--log-level` | | 로그 레벨(DEBUG, INFO, WARN, ERROR) | --- diff --git a/packages/web/src/content/docs/ko/ecosystem.mdx b/packages/web/src/content/docs/ko/ecosystem.mdx index 109dc0e44..1a6e290b1 100644 --- a/packages/web/src/content/docs/ko/ecosystem.mdx +++ b/packages/web/src/content/docs/ko/ecosystem.mdx @@ -62,7 +62,7 @@ OpenCode에 내장 된 커뮤니티 프로젝트의 컬렉션. | [ai-sdk-provider-opencode-sdk](https://github.com/ben-vargas/ai-sdk-provider-opencode-sdk) | @opencode-ai/sdk를 통해 OpenCode를 사용하는 Vercel AI SDK 제공 | | [OpenChamber](https://github.com/btriapitsyn/openchamber) | 웹 / 데스크탑 앱 및 VS Code Extension for OpenCode | | [OpenCode-Obsidian](https://github.com/mtymek/opencode-obsidian) | Obsidian 플러그인 Obsidian의 UI에서 OpenCode를 포함 | -| [Openwork](https://github.com/different-ai/openwork) | OpenCode에 의해 구동 Claude Cowork에 대한 오픈 소스 대안 | +| [Openwork](https://github.com/different-ai/openwork) | OpenCode에 의해 구동 Claude Cowork에 대한 오픈 소스 대안 | | [ocx](https://github.com/kdcokenny/ocx) | 휴대용, 절연 프로파일을 갖춘 OpenCode 확장 관리자. | | [CodeNomad](https://github.com/NeuralNomadsAI/CodeNomad) | OpenCode를 위한 데스크탑, 웹, 모바일 및 원격 클라이언트 앱 | diff --git a/packages/web/src/content/docs/ko/sdk.mdx b/packages/web/src/content/docs/ko/sdk.mdx index 589802aff..22ecca713 100644 --- a/packages/web/src/content/docs/ko/sdk.mdx +++ b/packages/web/src/content/docs/ko/sdk.mdx @@ -287,9 +287,9 @@ await client.session.prompt({ | ------------------------- | ---------------------------- | -------------------------------------------------------------------------------------- | | `find.text({ query })` | 파일에서 텍스트 검색 | `path`, `lines`, `line_number`, `absolute_offset`, `submatches`와 일치하는 개체의 배열 | | `find.files({ query })` | 이름의 파일 및 디렉토리 찾기 | `string[]` (경로) | -| `find.symbols({ query })` | 업무 공간 기호 찾기 | Symbol[] | +| `find.symbols({ query })` | 업무 공간 기호 찾기 | Symbol[] | | `file.read({ query })` | 파일 보기 | `{ type: "raw" \| "patch", content: string }` | -| `file.status({ query? })` | 트랙 된 파일 상태를 확인 | File[] | +| `file.status({ query? })` | 트랙 된 파일 상태를 확인 | File[] | `find.files`는 몇몇 선택적인 조회 분야를 지원합니다: diff --git a/packages/web/src/content/docs/ko/server.mdx b/packages/web/src/content/docs/ko/server.mdx index 74ed47817..20c8724c6 100644 --- a/packages/web/src/content/docs/ko/server.mdx +++ b/packages/web/src/content/docs/ko/server.mdx @@ -18,13 +18,13 @@ opencode serve [--port ] [--hostname ] [--cors ] #### 옵션 -| 플래그 | 설명 | 기본값 | -| --------------- | ------------------------------------- | ----------------- | -| `--port` | 수신 대기할 포트 | `4096` | -| `--hostname` | 수신 대기할 호스트명 | `127.0.0.1` | -| `--mdns` | mDNS 탐지 활성화 | `false` | -| `--mdns-domain` | mDNS 서비스의 사용자 지정 도메인 이름 | `opencode.local` | -| `--cors` | 허용할 추가 브라우저 origin | `[]` | +| 플래그 | 설명 | 기본값 | +| --------------- | ------------------------------------- | ---------------- | +| `--port` | 수신 대기할 포트 | `4096` | +| `--hostname` | 수신 대기할 호스트명 | `127.0.0.1` | +| `--mdns` | mDNS 탐지 활성화 | `false` | +| `--mdns-domain` | mDNS 서비스의 사용자 지정 도메인 이름 | `opencode.local` | +| `--cors` | 허용할 추가 브라우저 origin | `[]` | `--cors`는 다수 시간을 통과될 수 있습니다: @@ -191,14 +191,14 @@ opencode 서버는 다음과 같은 API를 노출합니다. ## 파일 -| 방법 | 경로 | 설명 | 응답 | -| ----- | ------------------------ | --------------------------------- | ----------------------------------------------------------------------------------------- | -| `GET` | `/find?pattern=` | 파일에서 텍스트 검색 | `path`, `lines`, `line_number`, `absolute_offset`, `submatches`가 포함된 일치 객체 배열 | -| `GET` | `/find/file?query=` | 이름으로 파일/디렉터리 찾기 | `string[]` (경로) | -| `GET` | `/find/symbol?query=` | 워크스페이스 심볼 찾기 | Symbol[] | -| `GET` | `/file?path=` | 파일 및 디렉터리 목록 | FileNode[] | -| `GET` | `/file/content?path=

` | 파일 읽기 | FileContent | -| `GET` | `/file/status` | 추적 중인 파일 상태 가져오기 | File[] | +| 방법 | 경로 | 설명 | 응답 | +| ----- | ------------------------ | ---------------------------- | --------------------------------------------------------------------------------------- | +| `GET` | `/find?pattern=` | 파일에서 텍스트 검색 | `path`, `lines`, `line_number`, `absolute_offset`, `submatches`가 포함된 일치 객체 배열 | +| `GET` | `/find/file?query=` | 이름으로 파일/디렉터리 찾기 | `string[]` (경로) | +| `GET` | `/find/symbol?query=` | 워크스페이스 심볼 찾기 | Symbol[] | +| `GET` | `/file?path=` | 파일 및 디렉터리 목록 | FileNode[] | +| `GET` | `/file/content?path=

` | 파일 읽기 | FileContent | +| `GET` | `/file/status` | 추적 중인 파일 상태 가져오기 | File[] | #### `/find/file` 쿼리 매개 변수 diff --git a/packages/web/src/content/docs/ko/skills.mdx b/packages/web/src/content/docs/ko/skills.mdx index 3a8f943e3..64707cdbc 100644 --- a/packages/web/src/content/docs/ko/skills.mdx +++ b/packages/web/src/content/docs/ko/skills.mdx @@ -139,11 +139,11 @@ skill({ name: "git-release" }) } ``` -| 권한 | 동작 | -| --------- | ----------------------------------------- | -| `allow` | 기술이 즉시 로드됨 | -| `deny` | 에이전트에서 기술 숨김, 접근 거부 | -| `ask` | 로드 전에 사용자에게 승인 요청 | +| 권한 | 동작 | +| ------- | --------------------------------- | +| `allow` | 기술이 즉시 로드됨 | +| `deny` | 에이전트에서 기술 숨김, 접근 거부 | +| `ask` | 로드 전에 사용자에게 승인 요청 | 패턴 지원 와일드 카드: `internal-*` 경기 `internal-docs`, `internal-tools`, 등. diff --git a/packages/web/src/content/docs/ko/themes.mdx b/packages/web/src/content/docs/ko/themes.mdx index 25e124b30..c3e4ab67a 100644 --- a/packages/web/src/content/docs/ko/themes.mdx +++ b/packages/web/src/content/docs/ko/themes.mdx @@ -28,16 +28,16 @@ OpenCode는 여러 내장 테마와 함께 제공됩니다. | 이름 | 설명 | | ---------------------- | ------------------------------------------------------------------- | -| `system` | 터미널 배경 색상에 맞춰 자동으로 조정됨 | -| `tokyonight` | [Tokyonight](https://github.com/folke/tokyonight.nvim) 테마 기반 | -| `everforest` | [Everforest](https://github.com/sainnhe/everforest) 테마 기반 | -| `ayu` | [Ayu](https://github.com/ayu-theme) 다크 테마 기반 | -| `catppuccin` | [Catppuccin](https://github.com/catppuccin) 테마 기반 | -| `catppuccin-macchiato` | [Catppuccin](https://github.com/catppuccin) 테마 기반 | -| `gruvbox` | [Gruvbox](https://github.com/morhetz/gruvbox) 테마 기반 | -| `kanagawa` | [Kanagawa](https://github.com/rebelot/kanagawa.nvim) 테마 기반 | -| `nord` | [Nord](https://github.com/nordtheme/nord) 테마 기반 | -| `matrix` | 검은 배경에 녹색 텍스트의 해커 스타일 테마 | +| `system` | 터미널 배경 색상에 맞춰 자동으로 조정됨 | +| `tokyonight` | [Tokyonight](https://github.com/folke/tokyonight.nvim) 테마 기반 | +| `everforest` | [Everforest](https://github.com/sainnhe/everforest) 테마 기반 | +| `ayu` | [Ayu](https://github.com/ayu-theme) 다크 테마 기반 | +| `catppuccin` | [Catppuccin](https://github.com/catppuccin) 테마 기반 | +| `catppuccin-macchiato` | [Catppuccin](https://github.com/catppuccin) 테마 기반 | +| `gruvbox` | [Gruvbox](https://github.com/morhetz/gruvbox) 테마 기반 | +| `kanagawa` | [Kanagawa](https://github.com/rebelot/kanagawa.nvim) 테마 기반 | +| `nord` | [Nord](https://github.com/nordtheme/nord) 테마 기반 | +| `matrix` | 검은 배경에 녹색 텍스트의 해커 스타일 테마 | | `one-dark` | [Atom One](https://github.com/Th3Whit3Wolf/one-nvim) Dark 테마 기반 | 그리고 더, 우리는 끊임없이 새로운 테마를 추가하고 있습니다. diff --git a/packages/web/src/content/docs/ko/zen.mdx b/packages/web/src/content/docs/ko/zen.mdx index 9d208ee77..0d3d4b0d8 100644 --- a/packages/web/src/content/docs/ko/zen.mdx +++ b/packages/web/src/content/docs/ko/zen.mdx @@ -62,7 +62,7 @@ OpenCode Zen은 OpenCode의 다른 공급자와 같습니다. 다음 API 엔드포인트를 통해 모델에 액세스할 수 있습니다. -| 모델 | 모델 ID | 엔드포인트 | AI SDK 패키지 | +| 모델 | 모델 ID | 엔드포인트 | AI SDK 패키지 | | ------------------ | ------------------ | -------------------------------------------------- | --------------------------- | | GPT 5.2 | gpt-5.2 | `https://opencode.ai/zen/v1/responses` | `@ai-sdk/openai` | | GPT 5.2 Codex | gpt-5.2-codex | `https://opencode.ai/zen/v1/responses` | `@ai-sdk/openai` | @@ -114,41 +114,41 @@ https://opencode.ai/zen/v1/models 우리는 pay-as-you-go 모델을 지원합니다. 아래는 1M 토큰 \*\* 당 가격입니다. -| 모델 | 입력 | 출력 | 캐시 읽기 | 캐시 쓰기 | -| ---------------------------------- | ------ | ------ | ----------- | ----------- | -| Big Pickle | Free | Free | Free | - | -| MiniMax M2.1 Free | Free | Free | Free | - | -| MiniMax M2.1 | $0.30 | $1.20 | $0.10 | - | -| GLM 4.7 Free | Free | Free | Free | - | -| GLM 4.7 | $0.60 | $2.20 | $0.10 | - | -| GLM 4.6 | $0.60 | $2.20 | $0.10 | - | -| Kimi K2.5 Free | Free | Free | Free | - | -| Kimi K2.5 | $0.60 | $3.00 | $0.08 | - | -| Kimi K2 Thinking | $0.40 | $2.50 | - | - | -| Kimi K2 | $0.40 | $2.50 | - | - | -| Qwen3 Coder 480B | $0.45 | $1.50 | - | - | -| Claude Sonnet 4.5 (≤ 200K tokens) | $3.00 | $15.00 | $0.30 | $3.75 | -| Claude Sonnet 4.5 (> 200K tokens) | $6.00 | $22.50 | $0.60 | $7.50 | -| Claude Sonnet 4 (≤ 200K tokens) | $3.00 | $15.00 | $0.30 | $3.75 | -| Claude Sonnet 4 (> 200K tokens) | $6.00 | $22.50 | $0.60 | $7.50 | -| Claude Haiku 4.5 | $1.00 | $5.00 | $0.10 | $1.25 | -| Claude Haiku 3.5 | $0.80 | $4.00 | $0.08 | $1.00 | -| Claude Opus 4.6 (≤ 200K tokens) | $5.00 | $25.00 | $0.50 | $6.25 | -| Claude Opus 4.6 (> 200K tokens) | $10.00 | $37.50 | $1.00 | $12.50 | -| Claude Opus 4.5 | $5.00 | $25.00 | $0.50 | $6.25 | -| Claude Opus 4.1 | $15.00 | $75.00 | $1.50 | $18.75 | -| Gemini 3 Pro (≤ 200K tokens) | $2.00 | $12.00 | $0.20 | - | -| Gemini 3 Pro (> 200K tokens) | $4.00 | $18.00 | $0.40 | - | -| Gemini 3 Flash | $0.50 | $3.00 | $0.05 | - | -| GPT 5.2 | $1.75 | $14.00 | $0.175 | - | -| GPT 5.2 Codex | $1.75 | $14.00 | $0.175 | - | -| GPT 5.1 | $1.07 | $8.50 | $0.107 | - | -| GPT 5.1 Codex | $1.07 | $8.50 | $0.107 | - | -| GPT 5.1 Codex Max | $1.25 | $10.00 | $0.125 | - | -| GPT 5.1 Codex Mini | $0.25 | $2.00 | $0.025 | - | -| GPT 5 | $1.07 | $8.50 | $0.107 | - | -| GPT 5 Codex | $1.07 | $8.50 | $0.107 | - | -| GPT 5 Nano | Free | Free | Free | - | +| 모델 | 입력 | 출력 | 캐시 읽기 | 캐시 쓰기 | +| --------------------------------- | ------ | ------ | --------- | --------- | +| Big Pickle | Free | Free | Free | - | +| MiniMax M2.1 Free | Free | Free | Free | - | +| MiniMax M2.1 | $0.30 | $1.20 | $0.10 | - | +| GLM 4.7 Free | Free | Free | Free | - | +| GLM 4.7 | $0.60 | $2.20 | $0.10 | - | +| GLM 4.6 | $0.60 | $2.20 | $0.10 | - | +| Kimi K2.5 Free | Free | Free | Free | - | +| Kimi K2.5 | $0.60 | $3.00 | $0.08 | - | +| Kimi K2 Thinking | $0.40 | $2.50 | - | - | +| Kimi K2 | $0.40 | $2.50 | - | - | +| Qwen3 Coder 480B | $0.45 | $1.50 | - | - | +| Claude Sonnet 4.5 (≤ 200K tokens) | $3.00 | $15.00 | $0.30 | $3.75 | +| Claude Sonnet 4.5 (> 200K tokens) | $6.00 | $22.50 | $0.60 | $7.50 | +| Claude Sonnet 4 (≤ 200K tokens) | $3.00 | $15.00 | $0.30 | $3.75 | +| Claude Sonnet 4 (> 200K tokens) | $6.00 | $22.50 | $0.60 | $7.50 | +| Claude Haiku 4.5 | $1.00 | $5.00 | $0.10 | $1.25 | +| Claude Haiku 3.5 | $0.80 | $4.00 | $0.08 | $1.00 | +| Claude Opus 4.6 (≤ 200K tokens) | $5.00 | $25.00 | $0.50 | $6.25 | +| Claude Opus 4.6 (> 200K tokens) | $10.00 | $37.50 | $1.00 | $12.50 | +| Claude Opus 4.5 | $5.00 | $25.00 | $0.50 | $6.25 | +| Claude Opus 4.1 | $15.00 | $75.00 | $1.50 | $18.75 | +| Gemini 3 Pro (≤ 200K tokens) | $2.00 | $12.00 | $0.20 | - | +| Gemini 3 Pro (> 200K tokens) | $4.00 | $18.00 | $0.40 | - | +| Gemini 3 Flash | $0.50 | $3.00 | $0.05 | - | +| GPT 5.2 | $1.75 | $14.00 | $0.175 | - | +| GPT 5.2 Codex | $1.75 | $14.00 | $0.175 | - | +| GPT 5.1 | $1.07 | $8.50 | $0.107 | - | +| GPT 5.1 Codex | $1.07 | $8.50 | $0.107 | - | +| GPT 5.1 Codex Max | $1.25 | $10.00 | $0.125 | - | +| GPT 5.1 Codex Mini | $0.25 | $2.00 | $0.025 | - | +| GPT 5 | $1.07 | $8.50 | $0.107 | - | +| GPT 5 Codex | $1.07 | $8.50 | $0.107 | - | +| GPT 5 Nano | Free | Free | Free | - | You might notice Claude Haiku 3.5 사용 역사. 이것은 세션의 제목을 생성하는 데 사용되는 [low cost model](/docs/config/#models)입니다. diff --git a/packages/web/src/content/docs/nb/sdk.mdx b/packages/web/src/content/docs/nb/sdk.mdx index 594c22091..42a63ed9f 100644 --- a/packages/web/src/content/docs/nb/sdk.mdx +++ b/packages/web/src/content/docs/nb/sdk.mdx @@ -169,8 +169,8 @@ const agents = await client.app.agents() ### Prosjekt -| Metode | Beskrivelse | Svar | -| ------------------- | -------------------------- | ---------------------------------------------- | +| Metode | Beskrivelse | Svar | +| ------------------- | -------------------------- | --------------------------------------------- | | `project.list()` | Liste over alle prosjekter | Project[] | | `project.current()` | Få nåværende prosjekt | Project | @@ -239,10 +239,10 @@ const { providers, default: defaults } = await client.config.providers() | `session.share({ path })` | Del økten | Returnerer Session | | `session.unshare({ path })` | Slutt å dele økten | Returnerer Session | | `session.summarize({ path, body })` | Oppsummer økten | Returnerer `boolean` | -| `session.messages({ path })` | Liste meldinger i en økt | Returnerer `{ info: `Message`, parts: `Part[]`}[]` | -| `session.message({ path })` | Få meldingsdetaljer | Returnerer `{ info: `Message`, parts: `Part[]`}` | +| `session.messages({ path })` | Liste meldinger i en økt | Returnerer `{ info: `Message`, parts: `Part[]`}[]` | +| `session.message({ path })` | Få meldingsdetaljer | Returnerer `{ info: `Message`, parts: `Part[]`}` | | `session.prompt({ path, body })` | Send melding | `body.noReply: true` returnerer UserMessage (kun kontekst). Standard returnerer AssistantMessage med AI svar | -| `session.command({ path, body })` | Send kommando til økt | Returnerer `{ info: `AssistantMessage`, parts: `Part[]`}` | +| `session.command({ path, body })` | Send kommando til økt | Returnerer `{ info: `AssistantMessage`, parts: `Part[]`}` | | `session.shell({ path, body })` | Kjør en shell-kommando | Returnerer AssistantMessage | | `session.revert({ path, body })` | Tilbakestill en melding | Returnerer Session | | `session.unrevert({ path })` | Gjenopprett tilbakestilte meldinger | Returnerer Session | @@ -289,7 +289,7 @@ await client.session.prompt({ | `find.files({ query })` | Finn filer og kataloger etter navn | `string[]` (baner) | | `find.symbols({ query })` | Finn arbeidsområdesymboler | Symbol[] | | `file.read({ query })` | Les en fil | `{ type: "raw" \| "patch", content: string }` | -| `file.status({ query? })` | Få status for sporede filer | File[] | +| `file.status({ query? })` | Få status for sporede filer | File[] | `find.files` støtter noen få valgfrie søkefelt: diff --git a/packages/web/src/content/docs/nb/server.mdx b/packages/web/src/content/docs/nb/server.mdx index 0d67aaf20..5fbda0464 100644 --- a/packages/web/src/content/docs/nb/server.mdx +++ b/packages/web/src/content/docs/nb/server.mdx @@ -98,8 +98,8 @@ OpenCode-serveren viser følgende APIer. ### Prosjekt -| Metode | Sti | Beskrivelse | Svar | -| ------ | ------------------ | --------------------------- | ---------------------------------------------- | +| Metode | Sti | Beskrivelse | Svar | +| ------ | ------------------ | --------------------------- | --------------------------------------------- | | `GET` | `/project` | Liste over alle prosjekter | Project[] | | `GET` | `/project/current` | Få det nåværende prosjektet | Project | @@ -174,7 +174,7 @@ OpenCode-serveren viser følgende APIer. | ------ | --------------------------------- | -------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | | `GET` | `/session/:id/message` | Liste meldinger i en økt | spørring: `limit?`, returnerer `{ info: `Message`, parts: `Part[]`}[]` | | `POST` | `/session/:id/message` | Send en melding og vent på svar | body: `{ messageID?, model?, agent?, noReply?, system?, tools?, parts }`, returnerer `{ info: `Message`, parts: `Part[]`}` | -| `GET` | `/session/:id/message/:messageID` | Få meldingsdetaljer | Returnerer `{ info: `Message`, parts: `Part[]`}` | +| `GET` | `/session/:id/message/:messageID` | Få meldingsdetaljer | Returnerer `{ info: `Message`, parts: `Part[]`}` | | `POST` | `/session/:id/prompt_async` | Send en melding asynkront (ingen vent) | body: samme som `/session/:id/message`, returnerer `204 No Content` | | `POST` | `/session/:id/command` | Utfør en skråstrek-kommando | body: `{ messageID?, agent?, model?, command, arguments }`, returnerer `{ info: `Message`, parts: `Part[]`}` | | `POST` | `/session/:id/shell` | Kjør en shell-kommando | body: `{ agent, model?, command }`, returnerer `{ info: `Message`, parts: `Part[]`}` | @@ -183,8 +183,8 @@ OpenCode-serveren viser følgende APIer. ### Kommandoer -| Metode | Sti | Beskrivelse | Svar | -| ------ | ---------- | --------------------- | ---------------------------------------------- | +| Metode | Sti | Beskrivelse | Svar | +| ------ | ---------- | --------------------- | --------------------------------------------- | | `GET` | `/command` | Liste alle kommandoer | Command[] | --- @@ -196,9 +196,9 @@ OpenCode-serveren viser følgende APIer. | `GET` | `/find?pattern=` | Søk etter tekst i filer | En rekke matchobjekter med `path`, `lines`, `line_number`, `absolute_offset`, `submatches` | | `GET` | `/find/file?query=` | Finn filer og kataloger etter navn | `string[]` (baner) | | `GET` | `/find/symbol?query=` | Finn arbeidsområdesymboler | Symbol[] | -| `GET` | `/file?path=` | Liste filer og kataloger | FileNode[] | -| `GET` | `/file/content?path=

` | Les en fil | FileContent | -| `GET` | `/file/status` | Få status for sporede filer | File[] | +| `GET` | `/file?path=` | Liste filer og kataloger | FileNode[] | +| `GET` | `/file/content?path=

` | Les en fil | FileContent | +| `GET` | `/file/status` | Få status for sporede filer | File[] | #### `/find/file` spørringsparametere diff --git a/packages/web/src/content/docs/nb/zen.mdx b/packages/web/src/content/docs/nb/zen.mdx index 994cff321..d6e09113d 100644 --- a/packages/web/src/content/docs/nb/zen.mdx +++ b/packages/web/src/content/docs/nb/zen.mdx @@ -62,37 +62,37 @@ Du belastes per forespørsel, og du kan legge til kreditt på kontoen din. Du kan også få tilgang til modellene våre gjennom følgende API-endepunkter. -| Modell | Modell ID | Endepunkt | AI SDK Pakke | -| ------------------- | ------------------ | -------------------------------------------------- | --------------------------- | -| GPT 5.2 | gpt-5.2 | `https://opencode.ai/zen/v1/responses` | `@ai-sdk/openai` | -| GPT 5.2 Codex | gpt-5.2-codex | `https://opencode.ai/zen/v1/responses` | `@ai-sdk/openai` | -| GPT 5.1 | gpt-5.1 | `https://opencode.ai/zen/v1/responses` | `@ai-sdk/openai` | -| GPT 5.1 Codex | gpt-5.1-codex | `https://opencode.ai/zen/v1/responses` | `@ai-sdk/openai` | -| GPT 5.1 Codex Max | gpt-5.1-codex-max | `https://opencode.ai/zen/v1/responses` | `@ai-sdk/openai` | -| GPT 5.1 Codex Mini | gpt-5.1-codex-mini | `https://opencode.ai/zen/v1/responses` | `@ai-sdk/openai` | -| GPT 5 | gpt-5 | `https://opencode.ai/zen/v1/responses` | `@ai-sdk/openai` | -| GPT 5 Codex | gpt-5-codex | `https://opencode.ai/zen/v1/responses` | `@ai-sdk/openai` | -| GPT 5 Nano | gpt-5-nano | `https://opencode.ai/zen/v1/responses` | `@ai-sdk/openai` | -| Claude Sonnet 4.5 | claude-sonnet-4-5 | `https://opencode.ai/zen/v1/messages` | `@ai-sdk/anthropic` | -| Claude Sonnet 4 | claude-sonnet-4 | `https://opencode.ai/zen/v1/messages` | `@ai-sdk/anthropic` | -| Claude Haiku 4.5 | claude-haiku-4-5 | `https://opencode.ai/zen/v1/messages` | `@ai-sdk/anthropic` | -| Claude Haiku 3.5 | claude-3-5-haiku | `https://opencode.ai/zen/v1/messages` | `@ai-sdk/anthropic` | -| Claude Opus 4.6 | claude-opus-4-6 | `https://opencode.ai/zen/v1/messages` | `@ai-sdk/anthropic` | -| Claude Opus 4.5 | claude-opus-4-5 | `https://opencode.ai/zen/v1/messages` | `@ai-sdk/anthropic` | -| Claude Opus 4.1 | claude-opus-4-1 | `https://opencode.ai/zen/v1/messages` | `@ai-sdk/anthropic` | -| Gemini 3 Pro | gemini-3-pro | `https://opencode.ai/zen/v1/models/gemini-3-pro` | `@ai-sdk/google` | -| Gemini 3 Flash | gemini-3-flash | `https://opencode.ai/zen/v1/models/gemini-3-flash` | `@ai-sdk/google` | -| MiniMax M2.1 | minimax-m2.1 | `https://opencode.ai/zen/v1/chat/completions` | `@ai-sdk/openai-compatible` | -| MiniMax M2.1 Free | minimax-m2.1-free | `https://opencode.ai/zen/v1/messages` | `@ai-sdk/anthropic` | -| GLM 4.7 | glm-4.7 | `https://opencode.ai/zen/v1/chat/completions` | `@ai-sdk/openai-compatible` | -| GLM 4.7 Free | glm-4.7-free | `https://opencode.ai/zen/v1/chat/completions` | `@ai-sdk/openai-compatible` | -| GLM 4.6 | glm-4.6 | `https://opencode.ai/zen/v1/chat/completions` | `@ai-sdk/openai-compatible` | -| Kimi K2.5 | kimi-k2.5 | `https://opencode.ai/zen/v1/chat/completions` | `@ai-sdk/openai-compatible` | -| Kimi K2.5 Free | kimi-k2.5-free | `https://opencode.ai/zen/v1/chat/completions` | `@ai-sdk/openai-compatible` | -| Kimi K2 Thinking | kimi-k2-thinking | `https://opencode.ai/zen/v1/chat/completions` | `@ai-sdk/openai-compatible` | -| Kimi K2 | kimi-k2 | `https://opencode.ai/zen/v1/chat/completions` | `@ai-sdk/openai-compatible` | -| Qwen3 Coder 480B | qwen3-coder | `https://opencode.ai/zen/v1/chat/completions` | `@ai-sdk/openai-compatible` | -| Big Pickle | big-pickle | `https://opencode.ai/zen/v1/chat/completions` | `@ai-sdk/openai-compatible` | +| Modell | Modell ID | Endepunkt | AI SDK Pakke | +| ------------------ | ------------------ | -------------------------------------------------- | --------------------------- | +| GPT 5.2 | gpt-5.2 | `https://opencode.ai/zen/v1/responses` | `@ai-sdk/openai` | +| GPT 5.2 Codex | gpt-5.2-codex | `https://opencode.ai/zen/v1/responses` | `@ai-sdk/openai` | +| GPT 5.1 | gpt-5.1 | `https://opencode.ai/zen/v1/responses` | `@ai-sdk/openai` | +| GPT 5.1 Codex | gpt-5.1-codex | `https://opencode.ai/zen/v1/responses` | `@ai-sdk/openai` | +| GPT 5.1 Codex Max | gpt-5.1-codex-max | `https://opencode.ai/zen/v1/responses` | `@ai-sdk/openai` | +| GPT 5.1 Codex Mini | gpt-5.1-codex-mini | `https://opencode.ai/zen/v1/responses` | `@ai-sdk/openai` | +| GPT 5 | gpt-5 | `https://opencode.ai/zen/v1/responses` | `@ai-sdk/openai` | +| GPT 5 Codex | gpt-5-codex | `https://opencode.ai/zen/v1/responses` | `@ai-sdk/openai` | +| GPT 5 Nano | gpt-5-nano | `https://opencode.ai/zen/v1/responses` | `@ai-sdk/openai` | +| Claude Sonnet 4.5 | claude-sonnet-4-5 | `https://opencode.ai/zen/v1/messages` | `@ai-sdk/anthropic` | +| Claude Sonnet 4 | claude-sonnet-4 | `https://opencode.ai/zen/v1/messages` | `@ai-sdk/anthropic` | +| Claude Haiku 4.5 | claude-haiku-4-5 | `https://opencode.ai/zen/v1/messages` | `@ai-sdk/anthropic` | +| Claude Haiku 3.5 | claude-3-5-haiku | `https://opencode.ai/zen/v1/messages` | `@ai-sdk/anthropic` | +| Claude Opus 4.6 | claude-opus-4-6 | `https://opencode.ai/zen/v1/messages` | `@ai-sdk/anthropic` | +| Claude Opus 4.5 | claude-opus-4-5 | `https://opencode.ai/zen/v1/messages` | `@ai-sdk/anthropic` | +| Claude Opus 4.1 | claude-opus-4-1 | `https://opencode.ai/zen/v1/messages` | `@ai-sdk/anthropic` | +| Gemini 3 Pro | gemini-3-pro | `https://opencode.ai/zen/v1/models/gemini-3-pro` | `@ai-sdk/google` | +| Gemini 3 Flash | gemini-3-flash | `https://opencode.ai/zen/v1/models/gemini-3-flash` | `@ai-sdk/google` | +| MiniMax M2.1 | minimax-m2.1 | `https://opencode.ai/zen/v1/chat/completions` | `@ai-sdk/openai-compatible` | +| MiniMax M2.1 Free | minimax-m2.1-free | `https://opencode.ai/zen/v1/messages` | `@ai-sdk/anthropic` | +| GLM 4.7 | glm-4.7 | `https://opencode.ai/zen/v1/chat/completions` | `@ai-sdk/openai-compatible` | +| GLM 4.7 Free | glm-4.7-free | `https://opencode.ai/zen/v1/chat/completions` | `@ai-sdk/openai-compatible` | +| GLM 4.6 | glm-4.6 | `https://opencode.ai/zen/v1/chat/completions` | `@ai-sdk/openai-compatible` | +| Kimi K2.5 | kimi-k2.5 | `https://opencode.ai/zen/v1/chat/completions` | `@ai-sdk/openai-compatible` | +| Kimi K2.5 Free | kimi-k2.5-free | `https://opencode.ai/zen/v1/chat/completions` | `@ai-sdk/openai-compatible` | +| Kimi K2 Thinking | kimi-k2-thinking | `https://opencode.ai/zen/v1/chat/completions` | `@ai-sdk/openai-compatible` | +| Kimi K2 | kimi-k2 | `https://opencode.ai/zen/v1/chat/completions` | `@ai-sdk/openai-compatible` | +| Qwen3 Coder 480B | qwen3-coder | `https://opencode.ai/zen/v1/chat/completions` | `@ai-sdk/openai-compatible` | +| Big Pickle | big-pickle | `https://opencode.ai/zen/v1/chat/completions` | `@ai-sdk/openai-compatible` | [modell-id](/docs/config/#models) i OpenCode-konfigurasjonen bruker formatet `opencode/`. For eksempel, for GPT 5.2 Codex, ville du @@ -116,15 +116,15 @@ Vi støtter en pay-as-you-go-modell. Nedenfor er prisene **per 1 million tokens* | Modell | Inngang | Utgang | Bufret Les | Bufret skriv | | --------------------------------- | ------- | ------ | ---------- | ------------ | -| Big Pickle | Gratis | Gratis | Gratis | - | -| MiniMax M2.1 Free | Gratis | Gratis | Gratis | - | +| Big Pickle | Gratis | Gratis | Gratis | - | +| MiniMax M2.1 Free | Gratis | Gratis | Gratis | - | | MiniMax M2.1 | $0,30 | $1,20 | $0,10 | - | -| GLM 4.7 Free | Gratis | Gratis | Gratis | - | +| GLM 4.7 Free | Gratis | Gratis | Gratis | - | | GLM 4.7 | $0,60 | $2,20 | $0,10 | - | | GLM 4.6 | $0,60 | $2,20 | $0,10 | - | -| Kimi K2.5 Free | Gratis | Gratis | Gratis | - | +| Kimi K2.5 Free | Gratis | Gratis | Gratis | - | | Kimi K2.5 | $0,60 | $3,00 | $0,08 | - | -| Kimi K2 Thinking | $0,40 | $2,50 | - | - | +| Kimi K2 Thinking | $0,40 | $2,50 | - | - | | Kimi K2 | $0,40 | $2,50 | - | - | | Qwen3 Coder 480B | $0,45 | $1,50 | - | - | | Claude Sonnet 4.5 (≤ 200K tokens) | $3,00 | $15,00 | $0,30 | $3,75 | diff --git a/packages/web/src/content/docs/pl/cli.mdx b/packages/web/src/content/docs/pl/cli.mdx index ed8f88382..4f14861b6 100644 --- a/packages/web/src/content/docs/pl/cli.mdx +++ b/packages/web/src/content/docs/pl/cli.mdx @@ -551,32 +551,32 @@ Interfejs CLI kod opencode przyjmuje flagi globalne. OpenCode można wykryć za pomocą czyszczenia alternatywnych. -| Zmienna | Wpisz | Opis | -| ------------------------------------- | ---------------- | ----------------------------------------------------------------------- | -| `OPENCODE_AUTO_SHARE` | boolean | Automatycznie udostępniaj sesje | -| `OPENCODE_GIT_BASH_PATH` | string | Ścieżka do pliku wykonywalnego Git Bash w systemie Windows | -| `OPENCODE_CONFIG` | string | Ścieżka do pliku konfiguracyjnego | -| `OPENCODE_CONFIG_DIR` | string | Ścieżka do katalogu konfiguracyjnego | -| `OPENCODE_CONFIG_CONTENT` | string | Wbudowana treść konstrukcji JSON | -| `OPENCODE_DISABLE_AUTOUPDATE` | boolean | Wyłącz automatyczne sprawdzanie aktualizacji | -| `OPENCODE_DISABLE_PRUNE` | boolean | Wyłączenie regulowane | -| `OPENCODE_DISABLE_TERMINAL_TITLE` | boolean | Wyłącz automatycznie tytuł terminala | -| `OPENCODE_PERMISSION` | string | Wbudowane prawo JSON | -| `OPENCODE_DISABLE_DEFAULT_PLUGINS` | boolean | Wyłączenie wtyczki | -| `OPENCODE_DISABLE_LSP_DOWNLOAD` | boolean | Wyłącz automatyczne pobieranie z serwera LSP | -| `OPENCODE_ENABLE_EXPERIMENTAL_MODELS` | boolean | Włącz modele eksperymentalne | -| `OPENCODE_DISABLE_AUTOCOMPACT` | boolean | Wyłącz automatyczne zagęszczanie kontekstu | -| `OPENCODE_DISABLE_CLAUDE_CODE` | boolean | Wyłączenie gry z `.claude` (podpowiedź + podłączenie) | -| `OPENCODE_DISABLE_CLAUDE_CODE_PROMPT` | boolean | Wyłącz czytanie `~/.claude/CLAUDE.md` | -| `OPENCODE_DISABLE_CLAUDE_CODE_SKILLS` | boolean | Wyłącz ładowanie `.claude/skills` | -| `OPENCODE_DISABLE_MODELS_FETCH` | boolean | Wyłączenie modeli pobierania ze źródeł niedostępnych | -| `OPENCODE_FAKE_VCS` | string | Fałszywy sprzedawca VCS do celów testowych | -| `OPENCODE_DISABLE_FILETIME_CHECK` | boolean | Wyłączone sprawdzanie pliku w celu optymalizacji | -| `OPENCODE_CLIENT` | string | Identyfikator klienta (domyślnie `cli`) | -| `OPENCODE_ENABLE_EXA` | boolean | Włącz narzędzie wyszukiwania internetowego Exa | -| `OPENCODE_SERVER_PASSWORD` | string | Włącz uwierzytelnianie podstawowe dla `serve`/`web` | -| `OPENCODE_SERVER_USERNAME` | string | Zakończenie stosowania użytkownika z autoryzacją (domyślnie `opencode`) | -| `OPENCODE_MODELS_URL` | string | Niestandardowy adres URL do pobrania konfiguracji modeli | +| Zmienna | Wpisz | Opis | +| ------------------------------------- | ------- | ----------------------------------------------------------------------- | +| `OPENCODE_AUTO_SHARE` | boolean | Automatycznie udostępniaj sesje | +| `OPENCODE_GIT_BASH_PATH` | string | Ścieżka do pliku wykonywalnego Git Bash w systemie Windows | +| `OPENCODE_CONFIG` | string | Ścieżka do pliku konfiguracyjnego | +| `OPENCODE_CONFIG_DIR` | string | Ścieżka do katalogu konfiguracyjnego | +| `OPENCODE_CONFIG_CONTENT` | string | Wbudowana treść konstrukcji JSON | +| `OPENCODE_DISABLE_AUTOUPDATE` | boolean | Wyłącz automatyczne sprawdzanie aktualizacji | +| `OPENCODE_DISABLE_PRUNE` | boolean | Wyłączenie regulowane | +| `OPENCODE_DISABLE_TERMINAL_TITLE` | boolean | Wyłącz automatycznie tytuł terminala | +| `OPENCODE_PERMISSION` | string | Wbudowane prawo JSON | +| `OPENCODE_DISABLE_DEFAULT_PLUGINS` | boolean | Wyłączenie wtyczki | +| `OPENCODE_DISABLE_LSP_DOWNLOAD` | boolean | Wyłącz automatyczne pobieranie z serwera LSP | +| `OPENCODE_ENABLE_EXPERIMENTAL_MODELS` | boolean | Włącz modele eksperymentalne | +| `OPENCODE_DISABLE_AUTOCOMPACT` | boolean | Wyłącz automatyczne zagęszczanie kontekstu | +| `OPENCODE_DISABLE_CLAUDE_CODE` | boolean | Wyłączenie gry z `.claude` (podpowiedź + podłączenie) | +| `OPENCODE_DISABLE_CLAUDE_CODE_PROMPT` | boolean | Wyłącz czytanie `~/.claude/CLAUDE.md` | +| `OPENCODE_DISABLE_CLAUDE_CODE_SKILLS` | boolean | Wyłącz ładowanie `.claude/skills` | +| `OPENCODE_DISABLE_MODELS_FETCH` | boolean | Wyłączenie modeli pobierania ze źródeł niedostępnych | +| `OPENCODE_FAKE_VCS` | string | Fałszywy sprzedawca VCS do celów testowych | +| `OPENCODE_DISABLE_FILETIME_CHECK` | boolean | Wyłączone sprawdzanie pliku w celu optymalizacji | +| `OPENCODE_CLIENT` | string | Identyfikator klienta (domyślnie `cli`) | +| `OPENCODE_ENABLE_EXA` | boolean | Włącz narzędzie wyszukiwania internetowego Exa | +| `OPENCODE_SERVER_PASSWORD` | string | Włącz uwierzytelnianie podstawowe dla `serve`/`web` | +| `OPENCODE_SERVER_USERNAME` | string | Zakończenie stosowania użytkownika z autoryzacją (domyślnie `opencode`) | +| `OPENCODE_MODELS_URL` | string | Niestandardowy adres URL do pobrania konfiguracji modeli | --- @@ -584,18 +584,18 @@ OpenCode można wykryć za pomocą czyszczenia alternatywnych. Te zmienne możliwości użycia funkcji eksperymentalnych, które mogą zostać lub usunięte. -| Zmienna | Wpisz | Opis | -| ----------------------------------------------- | ---------------- | ---------------------------------------------- | -| `OPENCODE_EXPERIMENTAL` | boolean | Włącz wszystkie funkcje eksperymentalne | -| `OPENCODE_EXPERIMENTAL_ICON_DISCOVERY` | boolean | Włącz wykrywanie ikon | -| `OPENCODE_EXPERIMENTAL_DISABLE_COPY_ON_SELECT` | boolean | Wyłączenie kopiowania przy wyborze w TUI | -| `OPENCODE_EXPERIMENTAL_BASH_DEFAULT_TIMEOUT_MS` | numer | Domyślny limit czasu dla ukrytego bash w ms | -| `OPENCODE_EXPERIMENTAL_OUTPUT_TOKEN_MAX` | numer | Maksymalne tokeny wyjściowe dla odpowiedzi LLM | -| `OPENCODE_EXPERIMENTAL_FILEWATCHER` | boolean | Włącz obserwatora plików dla całego katalogu | -| `OPENCODE_EXPERIMENTAL_OXFMT` | boolean | Włącz formater oxfmt | -| `OPENCODE_EXPERIMENTAL_LSP_TOOL` | boolean | Włącz eksperymentalne narzędzie LSP | -| `OPENCODE_EXPERIMENTAL_DISABLE_FILEWATCHER` | boolean | Wyłącz obserwatora plików | -| `OPENCODE_EXPERIMENTAL_EXA` | boolean | Włącz funkcje eksperymentalne Exa | -| `OPENCODE_EXPERIMENTAL_LSP_TY` | boolean | Włącz eksperymentalne sprawdzanie typu LSP | -| `OPENCODE_EXPERIMENTAL_MARKDOWN` | boolean | Włącz funkcje eksperymentalne przecen | -| `OPENCODE_EXPERIMENTAL_PLAN_MODE` | boolean | Włącz tryb planu | +| Zmienna | Wpisz | Opis | +| ----------------------------------------------- | ------- | ---------------------------------------------- | +| `OPENCODE_EXPERIMENTAL` | boolean | Włącz wszystkie funkcje eksperymentalne | +| `OPENCODE_EXPERIMENTAL_ICON_DISCOVERY` | boolean | Włącz wykrywanie ikon | +| `OPENCODE_EXPERIMENTAL_DISABLE_COPY_ON_SELECT` | boolean | Wyłączenie kopiowania przy wyborze w TUI | +| `OPENCODE_EXPERIMENTAL_BASH_DEFAULT_TIMEOUT_MS` | numer | Domyślny limit czasu dla ukrytego bash w ms | +| `OPENCODE_EXPERIMENTAL_OUTPUT_TOKEN_MAX` | numer | Maksymalne tokeny wyjściowe dla odpowiedzi LLM | +| `OPENCODE_EXPERIMENTAL_FILEWATCHER` | boolean | Włącz obserwatora plików dla całego katalogu | +| `OPENCODE_EXPERIMENTAL_OXFMT` | boolean | Włącz formater oxfmt | +| `OPENCODE_EXPERIMENTAL_LSP_TOOL` | boolean | Włącz eksperymentalne narzędzie LSP | +| `OPENCODE_EXPERIMENTAL_DISABLE_FILEWATCHER` | boolean | Wyłącz obserwatora plików | +| `OPENCODE_EXPERIMENTAL_EXA` | boolean | Włącz funkcje eksperymentalne Exa | +| `OPENCODE_EXPERIMENTAL_LSP_TY` | boolean | Włącz eksperymentalne sprawdzanie typu LSP | +| `OPENCODE_EXPERIMENTAL_MARKDOWN` | boolean | Włącz funkcje eksperymentalne przecen | +| `OPENCODE_EXPERIMENTAL_PLAN_MODE` | boolean | Włącz tryb planu | diff --git a/packages/web/src/content/docs/pl/formatters.mdx b/packages/web/src/content/docs/pl/formatters.mdx index 8de19b312..1465df021 100644 --- a/packages/web/src/content/docs/pl/formatters.mdx +++ b/packages/web/src/content/docs/pl/formatters.mdx @@ -67,12 +67,12 @@ Można dostosować formatery za pomocą sekcji `formatter` w konstrukcji OpenCod obsługiwane formatyzator Zobacz elementy: -| Nieruchomość | Wpisz | Opis | -| ------------- | ---------------- | -------------------------------------------------------------------------- | -| `disabled` | boolean | Ustaw tę opcję na `true`, aby wyłączyć formater | -| `command` | string[] | Polecenie uruchomienia formatowania | -| `environment` | object | Zmienne ustawienia do ustawień podczas uruchamiania programu formatującego | -| `extensions` | string[] | Rozszerzenia plików, które powinny opuścić ten formater | +| Nieruchomość | Wpisz | Opis | +| ------------- | -------- | -------------------------------------------------------------------------- | +| `disabled` | boolean | Ustaw tę opcję na `true`, aby wyłączyć formater | +| `command` | string[] | Polecenie uruchomienia formatowania | +| `environment` | object | Zmienne ustawienia do ustawień podczas uruchamiania programu formatującego | +| `extensions` | string[] | Rozszerzenia plików, które powinny opuścić ten formater | Spójrzmy na kilka przykładów. diff --git a/packages/web/src/content/docs/pl/lsp.mdx b/packages/web/src/content/docs/pl/lsp.mdx index 5cc64e922..53c9bd1a8 100644 --- a/packages/web/src/content/docs/pl/lsp.mdx +++ b/packages/web/src/content/docs/pl/lsp.mdx @@ -76,13 +76,13 @@ Możesz dostosować serwery LSP poprzez sekcję `lsp` w konfiguracji opencode. Każdy serwer LSP obsługuje szczegółowe elementy: -| Nieruchomość | Wpisz | Opis | -| ---------------- | ---------------- | ------------------------------------------------------ | -| `disabled` | boolean | Ustaw tę opcję na `true`, aby włączyć serwer LSP | -| `command` | string[] | Polecenie uruchomienia serwera LSP | -| `extensions` | string[] | Rozszerzenia plików, które powinny mieć ten serwer LSP | -| `env` | object | Zmienne ustawienia podczas uruchamiania serwera | -| `initialization` | object | Opcje inicjalizacji do wysłania na serwer LSP | +| Nieruchomość | Wpisz | Opis | +| ---------------- | -------- | ------------------------------------------------------ | +| `disabled` | boolean | Ustaw tę opcję na `true`, aby włączyć serwer LSP | +| `command` | string[] | Polecenie uruchomienia serwera LSP | +| `extensions` | string[] | Rozszerzenia plików, które powinny mieć ten serwer LSP | +| `env` | object | Zmienne ustawienia podczas uruchamiania serwera | +| `initialization` | object | Opcje inicjalizacji do wysłania na serwer LSP | Spójrzmy na kilka przykładów. diff --git a/packages/web/src/content/docs/pl/mcp-servers.mdx b/packages/web/src/content/docs/pl/mcp-servers.mdx index f83d2fcce..76747a5b4 100644 --- a/packages/web/src/content/docs/pl/mcp-servers.mdx +++ b/packages/web/src/content/docs/pl/mcp-servers.mdx @@ -116,13 +116,13 @@ use the mcp_everything tool to add the number 3 and 4 Oto wszystkie opcje lokalnego serwera MCP. -| Opcja | Wpisz | Wymagane | Opis | -| ------------- | ---------------- | -------- | -------------------------------------------------------------------------------------------- | -| `type` | String | Y | Typ połączenia z serwerem MCP musi być `"local"`. | -| `command` | Array | Y | Polecenie i argumenty uruchamiające serwer MCP. | -| `environment` | Object | | Zmienne ustawienia podczas uruchamiania serwera. | -| `enabled` | Boolean | | Włącz lub wyłącz serwer MCP podczas uruchamiania. | -| `timeout` | Number | | Limit czasu w ms na pobieranie narzędzia z serwera MCP. Wartość domyślna do 5000 (5 sekund). | +| Opcja | Wpisz | Wymagane | Opis | +| ------------- | ------- | -------- | -------------------------------------------------------------------------------------------- | +| `type` | String | Y | Typ połączenia z serwerem MCP musi być `"local"`. | +| `command` | Array | Y | Polecenie i argumenty uruchamiające serwer MCP. | +| `environment` | Object | | Zmienne ustawienia podczas uruchamiania serwera. | +| `enabled` | Boolean | | Włącz lub wyłącz serwer MCP podczas uruchamiania. | +| `timeout` | Number | | Limit czasu w ms na pobieranie narzędzia z serwera MCP. Wartość domyślna do 5000 (5 sekund). | --- @@ -152,14 +152,14 @@ Dodaj zdalne serwery MCP, ustawiając `type` na `"remote"`. #### Opcje -| Opcja | Wpisz | Wymagane | Opis | -| --------- | ---------------- | -------- | -------------------------------------------------------------------------------------------- | -| `type` | String | Y | Typ połączenia z serwerem MCP musi być `"remote"`. | -| `url` | String | Y | Adres URL zdalnego serwera MCP. | -| `enabled` | Boolean | | Włącz lub wyłącz serwer MCP podczas uruchamiania. | -| `headers` | Object | | Nagłówki do wysłania z wprowadzenia. | -| `oauth` | Object | | Konfiguracja uwierzytelniania OAuth. Zobacz sekcję [OAuth](#oauth) poniżej. | -| `timeout` | Number | | Limit czasu w ms na pobieranie narzędzia z serwera MCP. Wartość domyślna do 5000 (5 sekund). | +| Opcja | Wpisz | Wymagane | Opis | +| --------- | ------- | -------- | -------------------------------------------------------------------------------------------- | +| `type` | String | Y | Typ połączenia z serwerem MCP musi być `"remote"`. | +| `url` | String | Y | Adres URL zdalnego serwera MCP. | +| `enabled` | Boolean | | Włącz lub wyłącz serwer MCP podczas uruchamiania. | +| `headers` | Object | | Nagłówki do wysłania z wprowadzenia. | +| `oauth` | Object | | Konfiguracja uwierzytelniania OAuth. Zobacz sekcję [OAuth](#oauth) poniżej. | +| `timeout` | Number | | Limit czasu w ms na pobieranie narzędzia z serwera MCP. Wartość domyślna do 5000 (5 sekund). | --- diff --git a/packages/web/src/content/docs/pt-br/cli.mdx b/packages/web/src/content/docs/pt-br/cli.mdx index dc57eac2a..cc265c858 100644 --- a/packages/web/src/content/docs/pt-br/cli.mdx +++ b/packages/web/src/content/docs/pt-br/cli.mdx @@ -29,16 +29,16 @@ opencode [projeto] #### Flags -| Flag | Curto | Descrição | -| ------------ | ----- | ---------------------------------------------- | -| `--continue` | `-c` | Continue a última sessão | -| `--session` | `-s` | ID da sessão para continuar | +| Flag | Curto | Descrição | +| ------------ | ----- | -------------------------------------------------------------------------- | +| `--continue` | `-c` | Continue a última sessão | +| `--session` | `-s` | ID da sessão para continuar | | `--fork` | | Criar um fork da sessão ao continuar (use com `--continue` ou `--session`) | -| `--prompt` | | Prompt a ser usado | -| `--model` | `-m` | Modelo a ser usado na forma de provider/model | -| `--agent` | | Agente a ser usado | -| `--port` | | Porta para escutar | -| `--hostname` | | Nome do host para escutar | +| `--prompt` | | Prompt a ser usado | +| `--model` | `-m` | Modelo a ser usado na forma de provider/model | +| `--agent` | | Agente a ser usado | +| `--port` | | Porta para escutar | +| `--hostname` | | Nome do host para escutar | --- @@ -340,7 +340,7 @@ opencode run --attach http://localhost:4096 "Explique async/await em JavaScript" | `--command` | | O comando a ser executado, use mensagem para argumentos | | `--continue` | `-c` | Continue a última sessão | | `--session` | `-s` | ID da sessão para continuar | -| `--fork` | | Criar um fork da sessão ao continuar (use com `--continue` ou `--session`) | +| `--fork` | | Criar um fork da sessão ao continuar (use com `--continue` ou `--session`) | | `--share` | | Compartilhe a sessão | | `--model` | `-m` | Modelo a ser usado na forma de provider/model | | `--agent` | | Agente a ser usado | diff --git a/packages/web/src/content/docs/ru/lsp.mdx b/packages/web/src/content/docs/ru/lsp.mdx index f747ad454..d13a58344 100644 --- a/packages/web/src/content/docs/ru/lsp.mdx +++ b/packages/web/src/content/docs/ru/lsp.mdx @@ -76,8 +76,8 @@ OpenCode поставляется с несколькими встроенным Каждый LSP-сервер поддерживает следующее: -| Свойство | Тип | Описание | -| ---------------- | ------------------- | --------------------------------------------------------------------------- | +| Свойство | Тип | Описание | +| ---------------- | -------- | --------------------------------------------------------------------------- | | `disabled` | boolean | Установите для этого параметра значение `true`, чтобы отключить сервер LSP. | | `command` | string[] | Команда запуска LSP-сервера | | `extensions` | string[] | Расширения файлов, которые должен обрабатывать этот сервер LSP | diff --git a/packages/web/src/content/docs/ru/mcp-servers.mdx b/packages/web/src/content/docs/ru/mcp-servers.mdx index 2792bdd52..686f372d3 100644 --- a/packages/web/src/content/docs/ru/mcp-servers.mdx +++ b/packages/web/src/content/docs/ru/mcp-servers.mdx @@ -266,12 +266,12 @@ opencode mcp logout my-oauth-server #### Параметры OAuth -| Вариант | Тип | Описание | -| -------------- | -------------- | --------------------------------------------------------------------------------------------- | -| `oauth` | Object \| false | Объект конфигурации OAuth или `false`, чтобы отключить автообнаружение OAuth. | -| `clientId` | String | OAuth client ID. Если не указан, будет выполнена динамическая регистрация клиента. | -| `clientSecret` | String | OAuth client secret, если этого требует сервер авторизации. | -| `scope` | String | OAuth scopes для запроса во время авторизации. | +| Вариант | Тип | Описание | +| -------------- | --------------- | ---------------------------------------------------------------------------------- | +| `oauth` | Object \| false | Объект конфигурации OAuth или `false`, чтобы отключить автообнаружение OAuth. | +| `clientId` | String | OAuth client ID. Если не указан, будет выполнена динамическая регистрация клиента. | +| `clientSecret` | String | OAuth client secret, если этого требует сервер авторизации. | +| `scope` | String | OAuth scopes для запроса во время авторизации. | #### Отладка diff --git a/packages/web/src/content/docs/ru/modes.mdx b/packages/web/src/content/docs/ru/modes.mdx index 961c1c18f..b3d4754d1 100644 --- a/packages/web/src/content/docs/ru/modes.mdx +++ b/packages/web/src/content/docs/ru/modes.mdx @@ -225,8 +225,8 @@ Provide constructive feedback without making direct changes. Вот всеми инструментами можно управлять через конфигурацию режима. -| Инструмент | Описание | -| ---------- | --------------------------- | +| Инструмент | Описание | +| ----------- | ----------------------- | | `bash` | Execute shell commands | | `edit` | Modify existing files | | `write` | Create new files | diff --git a/packages/web/src/content/docs/ru/providers.mdx b/packages/web/src/content/docs/ru/providers.mdx index e020e98fe..b4a0b9ef3 100644 --- a/packages/web/src/content/docs/ru/providers.mdx +++ b/packages/web/src/content/docs/ru/providers.mdx @@ -1023,12 +1023,12 @@ npm install -g opencode-helicone-session ##### Общие разъемы Helicone -| Заголовок | Описание | -| --------------------------- | ---------------------------------------------------------------------- | -| `Helicone-Cache-Enabled` | Включить кэширование ответов (`true`/`false`) | -| `Helicone-User-Id` | Отслеживание показателей по пользователю | +| Заголовок | Описание | +| -------------------------- | ------------------------------------------------------------------------------ | +| `Helicone-Cache-Enabled` | Включить кэширование ответов (`true`/`false`) | +| `Helicone-User-Id` | Отслеживание показателей по пользователю | | `Helicone-Property-[Name]` | Добавьте пользовательские свойства (например, `Helicone-Property-Environment`) | -| `Helicone-Prompt-Id` | Связывание запросов с версиями промптов | +| `Helicone-Prompt-Id` | Связывание запросов с версиями промптов | См. [Справочник заголовков Helicone](https://docs.helicone.ai/helicone-headers/header-directory) для всех доступных заголовков. @@ -1638,10 +1638,10 @@ Vercel AI Gateway позволяет получать доступ к модел Некоторые полезные параметры маршрутизации: -| Вариант | Описание | -| ------------------- | ------------------------------------------------------------- | -| `order` | Последовательность провайдеров для попытки | -| `only` | Ограничить конкретными провайдерами | +| Вариант | Описание | +| ------------------- | -------------------------------------------------------------------- | +| `order` | Последовательность провайдеров для попытки | +| `only` | Ограничить конкретными провайдерами | | `zeroDataRetention` | Использовать только провайдеров с политикой нулевого хранения данных | --- diff --git a/packages/web/src/content/docs/ru/sdk.mdx b/packages/web/src/content/docs/ru/sdk.mdx index bb24b78cf..07ab779c1 100644 --- a/packages/web/src/content/docs/ru/sdk.mdx +++ b/packages/web/src/content/docs/ru/sdk.mdx @@ -37,13 +37,13 @@ const { client } = await createOpencode() #### Параметры -| Вариант | Тип | Описание | По умолчанию | -| ------- | ----- | -------------------------------- | ------------ | -| `hostname` | `string` | Server hostname | `127.0.0.1` | -| `port` | `number` | Server port | `4096` | -| `signal` | `AbortSignal` | Abort signal for cancellation | `undefined` | -| `timeout` | `number` | Timeout in ms for server start | `5000` | -| `config` | `Config` | Configuration object | `{}` | +| Вариант | Тип | Описание | По умолчанию | +| ---------- | ------------- | ------------------------------ | ------------ | +| `hostname` | `string` | Server hostname | `127.0.0.1` | +| `port` | `number` | Server port | `4096` | +| `signal` | `AbortSignal` | Abort signal for cancellation | `undefined` | +| `timeout` | `number` | Timeout in ms for server start | `5000` | +| `config` | `Config` | Configuration object | `{}` | --- @@ -81,8 +81,8 @@ const client = createOpencodeClient({ #### Параметры -| Вариант | Тип | Описание | По умолчанию | -| ------- | ----- | ------------------------------------ | ------------ | +| Вариант | Тип | Описание | По умолчанию | +| --------------- | ---------- | -------------------------------- | ----------------------- | | `baseUrl` | `string` | URL of the server | `http://localhost:4096` | | `fetch` | `function` | Custom fetch implementation | `globalThis.fetch` | | `parseAs` | `string` | Response parsing method | `auto` | @@ -125,8 +125,8 @@ SDK предоставляет все серверные API через типо ### Глобальный -| Метод | Описание | Ответ | -| ----- | -------------------------------------------- | ----- | +| Метод | Описание | Ответ | +| ----------------- | ------------------------------- | ------------------------------------ | | `global.health()` | Check server health and version | `{ healthy: true, version: string }` | --- @@ -142,8 +142,8 @@ console.log(health.data.version) ### Приложение -| Метод | Описание | Ответ | -| ----- | ----------------------------- | ------------------------------------------- | +| Метод | Описание | Ответ | +| -------------- | ------------------------- | ------------------------------------------- | | `app.log()` | Write a log entry | `boolean` | | `app.agents()` | List all available agents | Agent[] | @@ -169,8 +169,8 @@ const agents = await client.app.agents() ### Проект -| Метод | Описание | Ответ | -| ----- | ----------------------- | -------------------------------------------- | +| Метод | Описание | Ответ | +| ------------------- | ------------------- | --------------------------------------------- | | `project.list()` | List all projects | Project[] | | `project.current()` | Get current project | Project | @@ -190,8 +190,8 @@ const currentProject = await client.project.current() ### Путь -| Метод | Описание | Ответ | -| ----- | --------------------- | ---------------------------------------- | +| Метод | Описание | Ответ | +| ------------ | ---------------- | ---------------------------------------- | | `path.get()` | Get current path | Path | --- @@ -207,8 +207,8 @@ const pathInfo = await client.path.get() ### Конфигурация -| Метод | Описание | Ответ | -| ----- | ----------------------------------------- | ----------------------------------------------------------------------------------------------------- | +| Метод | Описание | Ответ | +| -------------------- | --------------------------------- | ----------------------------------------------------------------------------------------------------- | | `config.get()` | Get config info | Config | | `config.providers()` | List providers and default models | `{ providers: `Provider[]`, default: { [key: string]: string } }` | @@ -226,8 +226,8 @@ const { providers, default: defaults } = await client.config.providers() ### Сессии -| Метод | Описание | Примечания | -| ----- | -------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------- | +| Метод | Описание | Примечания | +| ---------------------------------------------------------- | ---------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------- | | `session.list()` | List sessions | Returns Session[] | | `session.get({ path })` | Get session | Returns Session | | `session.children({ path })` | List child sessions | Returns Session[] | @@ -283,8 +283,8 @@ await client.session.prompt({ ### Файлы -| Метод | Описание | Ответ | -| ----- | ------------------------------------ | --------------------------------------------------------------------------------------------- | +| Метод | Описание | Ответ | +| ------------------------- | ---------------------------------- | ------------------------------------------------------------------------------------------- | | `find.text({ query })` | Search for text in files | Array of match objects with `path`, `lines`, `line_number`, `absolute_offset`, `submatches` | | `find.files({ query })` | Find files and directories by name | `string[]` (paths) | | `find.symbols({ query })` | Find workspace symbols | Symbol[] | @@ -324,8 +324,8 @@ const content = await client.file.read({ ### ТУИ -| Метод | Описание | Ответ | -| ----- | -------------------------------- | ----- | +| Метод | Описание | Ответ | +| ------------------------------ | ------------------------- | --------- | | `tui.appendPrompt({ body })` | Append text to the prompt | `boolean` | | `tui.openHelp()` | Open the help dialog | `boolean` | | `tui.openSessions()` | Open the session selector | `boolean` | @@ -355,8 +355,8 @@ await client.tui.showToast({ ### Авторизация -| Метод | Описание | Ответ | -| ----- | -------------------------------------------- | ----- | +| Метод | Описание | Ответ | +| ------------------- | ------------------------------ | --------- | | `auth.set({ ... })` | Set authentication credentials | `boolean` | --- @@ -374,8 +374,8 @@ await client.auth.set({ ### События -| Метод | Описание | Ответ | -| ----- | ------------------------------------ | ------------------------------------ | +| Метод | Описание | Ответ | +| ------------------- | ------------------------- | ------------------------- | | `event.subscribe()` | Server-sent events stream | Server-sent events stream | --- diff --git a/packages/web/src/content/docs/ru/server.mdx b/packages/web/src/content/docs/ru/server.mdx index 32ed4caee..41c9d1a9f 100644 --- a/packages/web/src/content/docs/ru/server.mdx +++ b/packages/web/src/content/docs/ru/server.mdx @@ -18,8 +18,8 @@ opencode serve [--port ] [--hostname ] [--cors ] #### Параметры -| Флаг | Описание | По умолчанию | -| ----- | ---------------------------------------------- | ------------ | +| Флаг | Описание | По умолчанию | +| --------------- | ----------------------------------- | ---------------- | | `--port` | Port to listen on | `4096` | | `--hostname` | Hostname to listen on | `127.0.0.1` | | `--mdns` | Enable mDNS discovery | `false` | @@ -89,43 +89,43 @@ For example, `http://localhost:4096/doc`. Use the spec to generate clients or in ### Глобальный -| Метод | Путь | Описание | Ответ | -| ----- | ----- | ------------------------------------------------ | ------------------ | -| `GET` | `/global/health` | Get server health and version | `{ healthy: true, version: string }` | -| `GET` | `/global/event` | Get global events (SSE stream) | Event stream | +| Метод | Путь | Описание | Ответ | +| ----- | ---------------- | ------------------------------ | ------------------------------------ | +| `GET` | `/global/health` | Get server health and version | `{ healthy: true, version: string }` | +| `GET` | `/global/event` | Get global events (SSE stream) | Event stream | --- ### Проект -| Метод | Путь | Описание | Ответ | -| ----- | ----- | ----------------------- | -------------------------------------------- | -| `GET` | `/project` | List all projects | Project[] | -| `GET` | `/project/current` | Get the current project | Project | +| Метод | Путь | Описание | Ответ | +| ----- | ------------------ | ----------------------- | --------------------------------------------- | +| `GET` | `/project` | List all projects | Project[] | +| `GET` | `/project/current` | Get the current project | Project | --- ### Путь и система контроля версий -| Метод | Путь | Описание | Ответ | -| ----- | ----- | -------------------------------------------- | ------------------------------------------- | -| `GET` | `/path` | Get the current path | Path | -| `GET` | `/vcs` | Get VCS info for the current project | VcsInfo | +| Метод | Путь | Описание | Ответ | +| ----- | ------- | ------------------------------------ | ------------------------------------------- | +| `GET` | `/path` | Get the current path | Path | +| `GET` | `/vcs` | Get VCS info for the current project | VcsInfo | --- ### Пример -| Метод | Путь | Описание | Ответ | -| ----- | ----- | ------------------------- | ----- | +| Метод | Путь | Описание | Ответ | +| ------ | ------------------- | ---------------------------- | --------- | | `POST` | `/instance/dispose` | Dispose the current instance | `boolean` | --- ### Конфигурация -| Метод | Путь | Описание | Ответ | -| ----- | ----- | ----------------------------------------- | ---------------------------------------------------------------------------------------- | +| Метод | Путь | Описание | Ответ | +| ------- | ------------------- | --------------------------------- | ---------------------------------------------------------------------------------------- | | `GET` | `/config` | Get config info | Config | | `PATCH` | `/config` | Update config | Config | | `GET` | `/config/providers` | List providers and default models | `{ providers: `Provider[]`, default: { [key: string]: string } }` | @@ -134,8 +134,8 @@ For example, `http://localhost:4096/doc`. Use the spec to generate clients or in ### Поставщик -| Метод | Путь | Описание | Ответ | -| ----- | ----- | ----------------------------------------------- | ----------------------------------------------------------------------------------- | +| Метод | Путь | Описание | Ответ | +| ------ | -------------------------------- | ------------------------------------ | ----------------------------------------------------------------------------------- | | `GET` | `/provider` | List all providers | `{ all: `Provider[]`, default: {...}, connected: string[] }` | | `GET` | `/provider/auth` | Get provider authentication methods | `{ [providerID: string]: `ProviderAuthMethod[]` }` | | `POST` | `/provider/{id}/oauth/authorize` | Authorize a provider using OAuth | ProviderAuthAuthorization | @@ -145,8 +145,8 @@ For example, `http://localhost:4096/doc`. Use the spec to generate clients or in ### Сессии -| Метод | Путь | Описание | Примечания | -| ----- | ----- | -------------------------------------------------- | ------------------------------------------------------------------------------------- | +| Метод | Путь | Описание | Примечания | +| -------- | ---------------------------------------- | ------------------------------------- | ---------------------------------------------------------------------------------- | | `GET` | `/session` | List all sessions | Returns Session[] | | `POST` | `/session` | Create a new session | body: `{ parentID?, title? }`, returns Session | | `GET` | `/session/status` | Get session status for all sessions | Returns `{ [sessionID: string]: `SessionStatus` }` | @@ -170,8 +170,8 @@ For example, `http://localhost:4096/doc`. Use the spec to generate clients or in ### Сообщения -| Метод | Путь | Описание | Примечания | -| ----- | ----- | --------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| Метод | Путь | Описание | Примечания | +| ------ | --------------------------------- | --------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `GET` | `/session/:id/message` | List messages in a session | query: `limit?`, returns `{ info: `Message`, parts: `Part[]`}[]` | | `POST` | `/session/:id/message` | Send a message and wait for response | body: `{ messageID?, model?, agent?, noReply?, system?, tools?, parts }`, returns `{ info: `Message`, parts: `Part[]`}` | | `GET` | `/session/:id/message/:messageID` | Get message details | Returns `{ info: `Message`, parts: `Part[]`}` | @@ -183,22 +183,22 @@ For example, `http://localhost:4096/doc`. Use the spec to generate clients or in ### Команды -| Метод | Путь | Описание | Ответ | -| ----- | ----- | ------------------ | --------------------------------------------- | -| `GET` | `/command` | List all commands | Command[] | +| Метод | Путь | Описание | Ответ | +| ----- | ---------- | ----------------- | --------------------------------------------- | +| `GET` | `/command` | List all commands | Command[] | --- ### Файлы -| Метод | Путь | Описание | Ответ | -| ----- | ----- | ------------------------------------ | --------------------------------------------------------------------------------------------- | -| `GET` | `/find?pattern=` | Search for text in files | Array of match objects with `path`, `lines`, `line_number`, `absolute_offset`, `submatches` | -| `GET` | `/find/file?query=` | Find files and directories by name | `string[]` (paths) | -| `GET` | `/find/symbol?query=` | Find workspace symbols | Symbol[] | -| `GET` | `/file?path=` | List files and directories | FileNode[] | -| `GET` | `/file/content?path=

` | Read a file | FileContent | -| `GET` | `/file/status` | Get status for tracked files | File[] | +| Метод | Путь | Описание | Ответ | +| ----- | ------------------------ | ---------------------------------- | ------------------------------------------------------------------------------------------- | +| `GET` | `/find?pattern=` | Search for text in files | Array of match objects with `path`, `lines`, `line_number`, `absolute_offset`, `submatches` | +| `GET` | `/find/file?query=` | Find files and directories by name | `string[]` (paths) | +| `GET` | `/find/symbol?query=` | Find workspace symbols | Symbol[] | +| `GET` | `/file?path=` | List files and directories | FileNode[] | +| `GET` | `/file/content?path=

` | Read a file | FileContent | +| `GET` | `/file/status` | Get status for tracked files | File[] | #### `/find/file` параметры запроса @@ -212,17 +212,17 @@ For example, `http://localhost:4096/doc`. Use the spec to generate clients or in ### Инструменты (Экспериментальные) -| Метод | Путь | Описание | Ответ | -| ----- | ----- | ---------------------------------------------- | -------------------------------------------- | -| `GET` | `/experimental/tool/ids` | List all tool IDs | ToolIDs | -| `GET` | `/experimental/tool?provider=

&model=` | List tools with JSON schemas for a model | ToolList | +| Метод | Путь | Описание | Ответ | +| ----- | ------------------------------------------- | ---------------------------------------- | -------------------------------------------- | +| `GET` | `/experimental/tool/ids` | List all tool IDs | ToolIDs | +| `GET` | `/experimental/tool?provider=

&model=` | List tools with JSON schemas for a model | ToolList | --- ### LSP, форматтеры и MCP -| Метод | Путь | Описание | Ответ | -| ----- | ----- | ----------------------------------- | --------------------------------------------------------- | +| Метод | Путь | Описание | Ответ | +| ------ | ------------ | -------------------------- | -------------------------------------------------------- | | `GET` | `/lsp` | Get LSP server status | LSPStatus[] | | `GET` | `/formatter` | Get formatter status | FormatterStatus[] | | `GET` | `/mcp` | Get MCP server status | `{ [name: string]: `MCPStatus` }` | @@ -232,24 +232,24 @@ For example, `http://localhost:4096/doc`. Use the spec to generate clients or in ### Агенты -| Метод | Путь | Описание | Ответ | -| ----- | ----- | ----------------------------- | ------------------------------------------- | -| `GET` | `/agent` | List all available agents | Agent[] | +| Метод | Путь | Описание | Ответ | +| ----- | -------- | ------------------------- | ------------------------------------------- | +| `GET` | `/agent` | List all available agents | Agent[] | --- ### Ведение журнала -| Метод | Путь | Описание | Ответ | -| ----- | ----- | ---------------------------------------------------------------------- | ----- | +| Метод | Путь | Описание | Ответ | +| ------ | ------ | ------------------------------------------------------------ | --------- | | `POST` | `/log` | Write log entry. Body: `{ service, level, message, extra? }` | `boolean` | --- ### ТУИ -| Метод | Путь | Описание | Ответ | -| ----- | ----- | ---------------------------------------------- | ------------------------- | +| Метод | Путь | Описание | Ответ | +| ------ | ----------------------- | ------------------------------------------- | ---------------------- | | `POST` | `/tui/append-prompt` | Append text to the prompt | `boolean` | | `POST` | `/tui/open-help` | Open the help dialog | `boolean` | | `POST` | `/tui/open-sessions` | Open the session selector | `boolean` | @@ -266,22 +266,22 @@ For example, `http://localhost:4096/doc`. Use the spec to generate clients or in ### Авторизация -| Метод | Путь | Описание | Ответ | -| ----- | ----- | ------------------------------------------------------------------------------------------- | ----- | -| `PUT` | `/auth/:id` | Set authentication credentials. Body must match provider schema | `boolean` | +| Метод | Путь | Описание | Ответ | +| ----- | ----------- | --------------------------------------------------------------- | --------- | +| `PUT` | `/auth/:id` | Set authentication credentials. Body must match provider schema | `boolean` | --- ### События -| Метод | Путь | Описание | Ответ | -| ----- | ----- | ---------------------------------------------------------------------------------------------- | ------------------------------------ | -| `GET` | `/event` | Server-sent events stream. First event is `server.connected`, then bus events | Server-sent events stream | +| Метод | Путь | Описание | Ответ | +| ----- | -------- | ----------------------------------------------------------------------------- | ------------------------- | +| `GET` | `/event` | Server-sent events stream. First event is `server.connected`, then bus events | Server-sent events stream | --- ### Документы -| Метод | Путь | Описание | Ответ | -| ----- | ----- | ------------------------ | -------------------------------------- | -| `GET` | `/doc` | OpenAPI 3.1 specification | HTML page with OpenAPI spec | +| Метод | Путь | Описание | Ответ | +| ----- | ------ | ------------------------- | --------------------------- | +| `GET` | `/doc` | OpenAPI 3.1 specification | HTML page with OpenAPI spec | diff --git a/packages/web/src/content/docs/ru/skills.mdx b/packages/web/src/content/docs/ru/skills.mdx index e9578b955..b227c3ee1 100644 --- a/packages/web/src/content/docs/ru/skills.mdx +++ b/packages/web/src/content/docs/ru/skills.mdx @@ -139,8 +139,8 @@ skill({ name: "git-release" }) } ``` -| Разрешение | Поведение | -| ---------- | -------------------------------------------------------- | +| Разрешение | Поведение | +| ---------- | ----------------------------------------- | | `allow` | Skill loads immediately | | `deny` | Skill hidden from agent, access rejected | | `ask` | User prompted for approval before loading | diff --git a/packages/web/src/content/docs/ru/themes.mdx b/packages/web/src/content/docs/ru/themes.mdx index 89e8d191b..ff08e226b 100644 --- a/packages/web/src/content/docs/ru/themes.mdx +++ b/packages/web/src/content/docs/ru/themes.mdx @@ -25,8 +25,8 @@ description: Выберите встроенную тему или опреде OpenCode поставляется с несколькими встроенными темами. -| Имя | Описание | -| ----- | -------------------------------------------------------------------------- | +| Имя | Описание | +| ---------------------- | ---------------------------------------------------------------------------- | | `system` | Adapts to your terminal’s background color | | `tokyonight` | Based on the [Tokyonight](https://github.com/folke/tokyonight.nvim) theme | | `everforest` | Based on the [Everforest](https://github.com/sainnhe/everforest) theme | diff --git a/packages/web/src/content/docs/ru/tui.mdx b/packages/web/src/content/docs/ru/tui.mdx index c3e9795a1..555c3acc9 100644 --- a/packages/web/src/content/docs/ru/tui.mdx +++ b/packages/web/src/content/docs/ru/tui.mdx @@ -367,7 +367,7 @@ How is auth handled in @packages/functions/src/api/index.ts? } } } -```` +``` ### Параметры diff --git a/packages/web/src/content/docs/ru/zen.mdx b/packages/web/src/content/docs/ru/zen.mdx index 205d4de82..6cb58a560 100644 --- a/packages/web/src/content/docs/ru/zen.mdx +++ b/packages/web/src/content/docs/ru/zen.mdx @@ -62,37 +62,37 @@ OpenCode Zen работает так же, как и любой другой п Вы также можете получить доступ к нашим моделям через следующие конечные точки API. -| Модель | Идентификатор модели | Конечная точка | Пакет AI SDK | -| ----------------------- | ----------------------- | -------------- | ------------ | -| GPT 5.2 | gpt-5.2 | `https://opencode.ai/zen/v1/responses` | `@ai-sdk/openai` | -| GPT 5.2 Codex | gpt-5.2-codex | `https://opencode.ai/zen/v1/responses` | `@ai-sdk/openai` | -| GPT 5.1 | gpt-5.1 | `https://opencode.ai/zen/v1/responses` | `@ai-sdk/openai` | -| GPT 5.1 Codex | gpt-5.1-codex | `https://opencode.ai/zen/v1/responses` | `@ai-sdk/openai` | -| GPT 5.1 Codex Max | gpt-5.1-codex-max | `https://opencode.ai/zen/v1/responses` | `@ai-sdk/openai` | -| GPT 5.1 Codex Mini | gpt-5.1-codex-mini | `https://opencode.ai/zen/v1/responses` | `@ai-sdk/openai` | -| GPT 5 | gpt-5 | `https://opencode.ai/zen/v1/responses` | `@ai-sdk/openai` | -| GPT 5 Codex | gpt-5-codex | `https://opencode.ai/zen/v1/responses` | `@ai-sdk/openai` | -| GPT 5 Nano | gpt-5-nano | `https://opencode.ai/zen/v1/responses` | `@ai-sdk/openai` | -| Claude Sonnet 4.5 | claude-sonnet-4-5 | `https://opencode.ai/zen/v1/messages` | `@ai-sdk/anthropic` | -| Claude Sonnet 4 | claude-sonnet-4 | `https://opencode.ai/zen/v1/messages` | `@ai-sdk/anthropic` | -| Claude Haiku 4.5 | claude-haiku-4-5 | `https://opencode.ai/zen/v1/messages` | `@ai-sdk/anthropic` | -| Claude Haiku 3.5 | claude-3-5-haiku | `https://opencode.ai/zen/v1/messages` | `@ai-sdk/anthropic` | -| Claude Opus 4.6 | claude-opus-4-6 | `https://opencode.ai/zen/v1/messages` | `@ai-sdk/anthropic` | -| Claude Opus 4.5 | claude-opus-4-5 | `https://opencode.ai/zen/v1/messages` | `@ai-sdk/anthropic` | -| Claude Opus 4.1 | claude-opus-4-1 | `https://opencode.ai/zen/v1/messages` | `@ai-sdk/anthropic` | -| Gemini 3 Pro | gemini-3-pro | `https://opencode.ai/zen/v1/models/gemini-3-pro` | `@ai-sdk/google` | -| Gemini 3 Flash | gemini-3-flash | `https://opencode.ai/zen/v1/models/gemini-3-flash` | `@ai-sdk/google` | -| MiniMax M2.1 | minimax-m2.1 | `https://opencode.ai/zen/v1/chat/completions` | `@ai-sdk/openai-compatible` | -| MiniMax M2.1 Free | minimax-m2.1-free | `https://opencode.ai/zen/v1/messages` | `@ai-sdk/anthropic` | -| GLM 4.7 | glm-4.7 | `https://opencode.ai/zen/v1/chat/completions` | `@ai-sdk/openai-compatible` | -| GLM 4.7 Free | glm-4.7-free | `https://opencode.ai/zen/v1/chat/completions` | `@ai-sdk/openai-compatible` | -| GLM 4.6 | glm-4.6 | `https://opencode.ai/zen/v1/chat/completions` | `@ai-sdk/openai-compatible` | -| Kimi K2.5 | kimi-k2.5 | `https://opencode.ai/zen/v1/chat/completions` | `@ai-sdk/openai-compatible` | -| Kimi K2.5 Free | kimi-k2.5-free | `https://opencode.ai/zen/v1/chat/completions` | `@ai-sdk/openai-compatible` | -| Kimi K2 Thinking | kimi-k2-thinking | `https://opencode.ai/zen/v1/chat/completions` | `@ai-sdk/openai-compatible` | -| Kimi K2 | kimi-k2 | `https://opencode.ai/zen/v1/chat/completions` | `@ai-sdk/openai-compatible` | -| Qwen3 Coder 480B | qwen3-coder | `https://opencode.ai/zen/v1/chat/completions` | `@ai-sdk/openai-compatible` | -| Big Pickle | big-pickle | `https://opencode.ai/zen/v1/chat/completions` | `@ai-sdk/openai-compatible` | +| Модель | Идентификатор модели | Конечная точка | Пакет AI SDK | +| ------------------ | -------------------- | -------------------------------------------------- | --------------------------- | +| GPT 5.2 | gpt-5.2 | `https://opencode.ai/zen/v1/responses` | `@ai-sdk/openai` | +| GPT 5.2 Codex | gpt-5.2-codex | `https://opencode.ai/zen/v1/responses` | `@ai-sdk/openai` | +| GPT 5.1 | gpt-5.1 | `https://opencode.ai/zen/v1/responses` | `@ai-sdk/openai` | +| GPT 5.1 Codex | gpt-5.1-codex | `https://opencode.ai/zen/v1/responses` | `@ai-sdk/openai` | +| GPT 5.1 Codex Max | gpt-5.1-codex-max | `https://opencode.ai/zen/v1/responses` | `@ai-sdk/openai` | +| GPT 5.1 Codex Mini | gpt-5.1-codex-mini | `https://opencode.ai/zen/v1/responses` | `@ai-sdk/openai` | +| GPT 5 | gpt-5 | `https://opencode.ai/zen/v1/responses` | `@ai-sdk/openai` | +| GPT 5 Codex | gpt-5-codex | `https://opencode.ai/zen/v1/responses` | `@ai-sdk/openai` | +| GPT 5 Nano | gpt-5-nano | `https://opencode.ai/zen/v1/responses` | `@ai-sdk/openai` | +| Claude Sonnet 4.5 | claude-sonnet-4-5 | `https://opencode.ai/zen/v1/messages` | `@ai-sdk/anthropic` | +| Claude Sonnet 4 | claude-sonnet-4 | `https://opencode.ai/zen/v1/messages` | `@ai-sdk/anthropic` | +| Claude Haiku 4.5 | claude-haiku-4-5 | `https://opencode.ai/zen/v1/messages` | `@ai-sdk/anthropic` | +| Claude Haiku 3.5 | claude-3-5-haiku | `https://opencode.ai/zen/v1/messages` | `@ai-sdk/anthropic` | +| Claude Opus 4.6 | claude-opus-4-6 | `https://opencode.ai/zen/v1/messages` | `@ai-sdk/anthropic` | +| Claude Opus 4.5 | claude-opus-4-5 | `https://opencode.ai/zen/v1/messages` | `@ai-sdk/anthropic` | +| Claude Opus 4.1 | claude-opus-4-1 | `https://opencode.ai/zen/v1/messages` | `@ai-sdk/anthropic` | +| Gemini 3 Pro | gemini-3-pro | `https://opencode.ai/zen/v1/models/gemini-3-pro` | `@ai-sdk/google` | +| Gemini 3 Flash | gemini-3-flash | `https://opencode.ai/zen/v1/models/gemini-3-flash` | `@ai-sdk/google` | +| MiniMax M2.1 | minimax-m2.1 | `https://opencode.ai/zen/v1/chat/completions` | `@ai-sdk/openai-compatible` | +| MiniMax M2.1 Free | minimax-m2.1-free | `https://opencode.ai/zen/v1/messages` | `@ai-sdk/anthropic` | +| GLM 4.7 | glm-4.7 | `https://opencode.ai/zen/v1/chat/completions` | `@ai-sdk/openai-compatible` | +| GLM 4.7 Free | glm-4.7-free | `https://opencode.ai/zen/v1/chat/completions` | `@ai-sdk/openai-compatible` | +| GLM 4.6 | glm-4.6 | `https://opencode.ai/zen/v1/chat/completions` | `@ai-sdk/openai-compatible` | +| Kimi K2.5 | kimi-k2.5 | `https://opencode.ai/zen/v1/chat/completions` | `@ai-sdk/openai-compatible` | +| Kimi K2.5 Free | kimi-k2.5-free | `https://opencode.ai/zen/v1/chat/completions` | `@ai-sdk/openai-compatible` | +| Kimi K2 Thinking | kimi-k2-thinking | `https://opencode.ai/zen/v1/chat/completions` | `@ai-sdk/openai-compatible` | +| Kimi K2 | kimi-k2 | `https://opencode.ai/zen/v1/chat/completions` | `@ai-sdk/openai-compatible` | +| Qwen3 Coder 480B | qwen3-coder | `https://opencode.ai/zen/v1/chat/completions` | `@ai-sdk/openai-compatible` | +| Big Pickle | big-pickle | `https://opencode.ai/zen/v1/chat/completions` | `@ai-sdk/openai-compatible` | [модель id](/docs/config/#models) в вашей конфигурации OpenCode использует формат `opencode/`. Например, для Кодекса GPT 5.2 вы должны diff --git a/packages/web/src/content/docs/zh-cn/ecosystem.mdx b/packages/web/src/content/docs/zh-cn/ecosystem.mdx index 32083b390..d17273475 100644 --- a/packages/web/src/content/docs/zh-cn/ecosystem.mdx +++ b/packages/web/src/content/docs/zh-cn/ecosystem.mdx @@ -15,38 +15,38 @@ description: 使用 OpenCode 构建的项目和集成。 ## 插件 -| 名稱 | 描述 | -| --------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -| [Opencode-Daytona](https://github.com/jamesmurdza/daytona/blob/main/guides/typescript/opencode/README.md) | 在隔离的 Daytona 沙箱中自动运行 OpenCode 会话,并使用 git 同步和实时预览 | -| [opencode-helicone-会话](https://github.com/H2Shami/opencode-helicone-session) | 自动注入 Helicone 会话标头以进行请求包 | -| [打开代码类型注入](https://github.com/nick-vi/opencode-type-inject) | 使用查找工具将 TypeScript/Svelte 类型自动注入到文件读取中 | -| [opencode-openai-codex-auth](https://github.com/numman-ali/opencode-openai-codex-auth) | 使用您的 ChatGPT Plus/Pro 订阅而不是 API 积分 | -| [opencode-gemini-auth](https://github.com/jenslys/opencode-gemini-auth) | 使用您现有的 Gemini 计划而不是 API 设备 | -| [opencode-反重力-auth](https://github.com/NoeFabris/opencode-antigravity-auth) | 使用反重力的免费模型代替API | -| [opencode-devcontainers 开放代码开发容器](https://github.com/athal7/opencode-devcontainers) | 具有浅克隆和自动分配端口的多分支开发容器隔离 | -| [opencode-google-antigravity-auth](https://github.com/shekohex/opencode-google-antigravity-auth) | Google Antigravity OAuth 插件,支持 Google 搜索和更强大的 API 处理 | -| [opencode-动态宽度修剪](https://github.com/Tarquinen/opencode-dynamic-context-pruning) | 通过修剪过时的工具输出来优化代币使用 | -| [opencode-websearch-引用](https://github.com/ghoulr/opencode-websearch-cited.git) | 为具有Google接地风格的受支持增加本机网络搜索支持 | -| [opencode-pty](https://github.com/shekohex/opencode-pty.git) | 使AI代理能够在PTY中运行后台进程,末端发送其交互输入。 | -| [opencode-shell-策略](https://github.com/JRedeker/opencode-shell-strategy) | 非吸引力 shell 命令说明 - 阻止依赖 TTY 的操作挂起 | -| [opencode-wakatime](https://github.com/angristan/opencode-wakatime) | 使用 Wakatime 跟踪 OpenCode 使用情况 | -| [opencode-md-表清理程序](https://github.com/franlol/opencode-md-table-formatter/tree/main) | 清理法学大师生成的降价表 | -| [开放代码变形快速应用](https://github.com/JRedeker/opencode-morph-fast-apply) | 使用Morph Fast Apply API和取消编辑标记将代码编辑速度提高10倍 | -| [哦我的开放代码](https://github.com/code-yeongyu/oh-my-opencode) | 后台代理、预构建的LSP/AST/MCP工具、精选代理、兼容Claude代码 | -| [开放代码通知器](https://github.com/panta82/opencode-notificator) | OpenCode 会话的桌面通知和声音警报 | -| [开放代码通知程序](https://github.com/mohak34/opencode-notifier) | 针对权限、完成和错误事件的桌面通知和声音警报 | -| [opencode-zellij-namer](https://github.com/24601/opencode-zellij-namer) | 基于 OpenCode 上下文的 AI 支持的自动 Zellij 会话命名 | -| [开放代码技巧](https://github.com/zenobi-us/opencode-skillful) | 允许OpenCode代理通过技能发现和注入失败延迟加载提示 | -| [开放代码超级内存](https://github.com/supermemoryai/opencode-supermemory) | 使用超级内存跨会话持久内存 | -| [@ZZ​​PH0ZZ](https://github.com/backnotprop/plannotator/tree/main/apps/opencode-plugin) | 具有視覺註釋和私人/離線共享的交互式計劃審查 | -| [@ZZ​​PH0ZZ](https://github.com/spoons-and-mirrors/subtask2) | 將開放代碼/命令擴展為具有精細流程控制的強大編排系統 | -| [开放代码调度程序](https://github.com/different-ai/opencode-scheduler) | 使用带 cron 语法的 launchd (Mac) 或 systemd (Linux) 安排重复作业 | -| [微码](https://github.com/vtemian/micode) | 塑造头脑风暴 → 计划 → 实施具有会议连续性的工作流程 | -| [奥克托](https://github.com/vtemian/octto) | 用于通过多问题形式进行AI头痛风暴的交互式浏览器UI | -| [opencode-后台代理](https://github.com/kdcokenny/opencode-background-agents) | 具有异步委托和上下文持久性的Claude Code风格后台代理 | -| [打开代码通知](https://github.com/kdcokenny/opencode-notify) | OpenCode 的本机操作系统通知 – 了解任务何时完成 | -| [开放代码工作区](https://github.com/kdcokenny/opencode-workspace) | 一堆多代理编排工具 – 16个,组件一次安装 | -| [开放代码工作树](https://github.com/kdcokenny/opencode-worktree) | OpenCode 的零难度 git 工作树 | +| 名稱 | 描述 | +| --------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------ | +| [Opencode-Daytona](https://github.com/jamesmurdza/daytona/blob/main/guides/typescript/opencode/README.md) | 在隔离的 Daytona 沙箱中自动运行 OpenCode 会话,并使用 git 同步和实时预览 | +| [opencode-helicone-会话](https://github.com/H2Shami/opencode-helicone-session) | 自动注入 Helicone 会话标头以进行请求包 | +| [打开代码类型注入](https://github.com/nick-vi/opencode-type-inject) | 使用查找工具将 TypeScript/Svelte 类型自动注入到文件读取中 | +| [opencode-openai-codex-auth](https://github.com/numman-ali/opencode-openai-codex-auth) | 使用您的 ChatGPT Plus/Pro 订阅而不是 API 积分 | +| [opencode-gemini-auth](https://github.com/jenslys/opencode-gemini-auth) | 使用您现有的 Gemini 计划而不是 API 设备 | +| [opencode-反重力-auth](https://github.com/NoeFabris/opencode-antigravity-auth) | 使用反重力的免费模型代替API | +| [opencode-devcontainers 开放代码开发容器](https://github.com/athal7/opencode-devcontainers) | 具有浅克隆和自动分配端口的多分支开发容器隔离 | +| [opencode-google-antigravity-auth](https://github.com/shekohex/opencode-google-antigravity-auth) | Google Antigravity OAuth 插件,支持 Google 搜索和更强大的 API 处理 | +| [opencode-动态宽度修剪](https://github.com/Tarquinen/opencode-dynamic-context-pruning) | 通过修剪过时的工具输出来优化代币使用 | +| [opencode-websearch-引用](https://github.com/ghoulr/opencode-websearch-cited.git) | 为具有Google接地风格的受支持增加本机网络搜索支持 | +| [opencode-pty](https://github.com/shekohex/opencode-pty.git) | 使AI代理能够在PTY中运行后台进程,末端发送其交互输入。 | +| [opencode-shell-策略](https://github.com/JRedeker/opencode-shell-strategy) | 非吸引力 shell 命令说明 - 阻止依赖 TTY 的操作挂起 | +| [opencode-wakatime](https://github.com/angristan/opencode-wakatime) | 使用 Wakatime 跟踪 OpenCode 使用情况 | +| [opencode-md-表清理程序](https://github.com/franlol/opencode-md-table-formatter/tree/main) | 清理法学大师生成的降价表 | +| [开放代码变形快速应用](https://github.com/JRedeker/opencode-morph-fast-apply) | 使用Morph Fast Apply API和取消编辑标记将代码编辑速度提高10倍 | +| [哦我的开放代码](https://github.com/code-yeongyu/oh-my-opencode) | 后台代理、预构建的LSP/AST/MCP工具、精选代理、兼容Claude代码 | +| [开放代码通知器](https://github.com/panta82/opencode-notificator) | OpenCode 会话的桌面通知和声音警报 | +| [开放代码通知程序](https://github.com/mohak34/opencode-notifier) | 针对权限、完成和错误事件的桌面通知和声音警报 | +| [opencode-zellij-namer](https://github.com/24601/opencode-zellij-namer) | 基于 OpenCode 上下文的 AI 支持的自动 Zellij 会话命名 | +| [开放代码技巧](https://github.com/zenobi-us/opencode-skillful) | 允许OpenCode代理通过技能发现和注入失败延迟加载提示 | +| [开放代码超级内存](https://github.com/supermemoryai/opencode-supermemory) | 使用超级内存跨会话持久内存 | +| [@ZZ​​PH0ZZ](https://github.com/backnotprop/plannotator/tree/main/apps/opencode-plugin) | 具有視覺註釋和私人/離線共享的交互式計劃審查 | +| [@ZZ​​PH0ZZ](https://github.com/spoons-and-mirrors/subtask2) | 將開放代碼/命令擴展為具有精細流程控制的強大編排系統 | +| [开放代码调度程序](https://github.com/different-ai/opencode-scheduler) | 使用带 cron 语法的 launchd (Mac) 或 systemd (Linux) 安排重复作业 | +| [微码](https://github.com/vtemian/micode) | 塑造头脑风暴 → 计划 → 实施具有会议连续性的工作流程 | +| [奥克托](https://github.com/vtemian/octto) | 用于通过多问题形式进行AI头痛风暴的交互式浏览器UI | +| [opencode-后台代理](https://github.com/kdcokenny/opencode-background-agents) | 具有异步委托和上下文持久性的Claude Code风格后台代理 | +| [打开代码通知](https://github.com/kdcokenny/opencode-notify) | OpenCode 的本机操作系统通知 – 了解任务何时完成 | +| [开放代码工作区](https://github.com/kdcokenny/opencode-workspace) | 一堆多代理编排工具 – 16个,组件一次安装 | +| [开放代码工作树](https://github.com/kdcokenny/opencode-worktree) | OpenCode 的零难度 git 工作树 | --- diff --git a/packages/web/src/content/docs/zh-cn/formatters.mdx b/packages/web/src/content/docs/zh-cn/formatters.mdx index 11279eee4..b788b8c9c 100644 --- a/packages/web/src/content/docs/zh-cn/formatters.mdx +++ b/packages/web/src/content/docs/zh-cn/formatters.mdx @@ -11,32 +11,32 @@ description: OpenCode 使用特定于语言的清理程序。 OpenCode附带了多个适用于流行语言和框架的内置初始化程序。下面是格式化程序、支持的文件扩展名以及所需的命令或配置选项的列表。 -| 格式化程序 | 擴展 | 要求 | -| ------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------- | -| 政府 | .go | `gofmt` 命令可用 | -| 混合 | .ex、.exs、.eex、.heex、.leex、.neex、.sface | `mix` 命令可用 | -| 更漂亮 | .js、.jsx、.ts、.tsx、.html、.css、.md、.json、.yaml 和 [更多的](https://prettier.io/docs/en/index.html) | 在 `package.json` 中有 `prettier` 依赖 | -| 生物群系 | .js、.jsx、.ts、.tsx、.html、.css、.md、.json、.yaml 和 [更多的](https://biomejs.dev/) | `biome.json(c)` 配置文件 | -| 之字形 | .zig、.zon | `zig` 命令可用 | -| clang 格式 | .c、.cpp、.h、.hpp、.ino 和 [更多的](https://clang.llvm.org/docs/ClangFormat.html) | `.clang-format` 配置文件 | -| 克特林特 | .kt、.kts | `ktlint` 命令可用 | -| 领子 | .py, .pyi | `ruff` 命令可通过配置 | -| 生锈 | .rs | `rustfmt` 命令可用 | -| 货物运输 | .rs | `cargo fmt` 命令可用 | -| 美丽 | .py, .pyi | `uv` 命令可用 | -| 鲁博科普 | .rb、.rake、.gemspec、.ru | `rubocop` 命令可用 | -| 标准rb | .rb、.rake、.gemspec、.ru | `standardrb` 命令可用 | -| html美化器 | .erb、.html.erb | `htmlbeautifier` 命令可用 | -| 空气 | .R | `air` 命令可用 | -| 飞镖 | .dart | `dart` 命令可用 | -| ocaml 格式 | .ml、.mli | `ocamlformat` 可用命令和 `.ocamlformat` 配置文件 | -| 地形 | .tf、.tfvars | `terraform` 命令可用 | -| 微光 | .gleam | `gleam` 命令可用 | -| 尼克斯夫MTT | .nix | `nixfmt` 命令可用 | -| sfmt | .sh、.bash | `shfmt` 命令可用 | -| 品脱 | .php | 在 `composer.json` 中有 `laravel/pint` 依赖 | +| 格式化程序 | 擴展 | 要求 | +| ------------- | -------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------ | +| 政府 | .go | `gofmt` 命令可用 | +| 混合 | .ex、.exs、.eex、.heex、.leex、.neex、.sface | `mix` 命令可用 | +| 更漂亮 | .js、.jsx、.ts、.tsx、.html、.css、.md、.json、.yaml 和 [更多的](https://prettier.io/docs/en/index.html) | 在 `package.json` 中有 `prettier` 依赖 | +| 生物群系 | .js、.jsx、.ts、.tsx、.html、.css、.md、.json、.yaml 和 [更多的](https://biomejs.dev/) | `biome.json(c)` 配置文件 | +| 之字形 | .zig、.zon | `zig` 命令可用 | +| clang 格式 | .c、.cpp、.h、.hpp、.ino 和 [更多的](https://clang.llvm.org/docs/ClangFormat.html) | `.clang-format` 配置文件 | +| 克特林特 | .kt、.kts | `ktlint` 命令可用 | +| 领子 | .py, .pyi | `ruff` 命令可通过配置 | +| 生锈 | .rs | `rustfmt` 命令可用 | +| 货物运输 | .rs | `cargo fmt` 命令可用 | +| 美丽 | .py, .pyi | `uv` 命令可用 | +| 鲁博科普 | .rb、.rake、.gemspec、.ru | `rubocop` 命令可用 | +| 标准rb | .rb、.rake、.gemspec、.ru | `standardrb` 命令可用 | +| html美化器 | .erb、.html.erb | `htmlbeautifier` 命令可用 | +| 空气 | .R | `air` 命令可用 | +| 飞镖 | .dart | `dart` 命令可用 | +| ocaml 格式 | .ml、.mli | `ocamlformat` 可用命令和 `.ocamlformat` 配置文件 | +| 地形 | .tf、.tfvars | `terraform` 命令可用 | +| 微光 | .gleam | `gleam` 命令可用 | +| 尼克斯夫MTT | .nix | `nixfmt` 命令可用 | +| sfmt | .sh、.bash | `shfmt` 命令可用 | +| 品脱 | .php | 在 `composer.json` 中有 `laravel/pint` 依赖 | | oxfmt(实验) | .js、.jsx、.ts、.tsx | 在 `package.json` 中有 `oxfmt` 依赖并启用[实验环境变量标记](/docs/cli/#experimental) | -| 奥尔莫鲁 | .hs | `ormolu` 命令可用 | +| 奥尔莫鲁 | .hs | `ormolu` 命令可用 | 因此,如果您的项目的`package.json`或`prettier`,OpenCode将自动使用它。 diff --git a/packages/web/src/content/docs/zh-cn/mcp-servers.mdx b/packages/web/src/content/docs/zh-cn/mcp-servers.mdx index 14ae0117a..fda965b0d 100644 --- a/packages/web/src/content/docs/zh-cn/mcp-servers.mdx +++ b/packages/web/src/content/docs/zh-cn/mcp-servers.mdx @@ -152,14 +152,14 @@ use the mcp_everything tool to add the number 3 and 4 #### 選項 -| 選項 | 類型 | 必填 | 描述 | -| --------- | ------ | ------ | -------------------------------------------------------------- | -| `type` | 字符串 | 是 | MCP 服务器连接类型,必须是`"remote"`。 | -| `url` | 字符串 | 是 | 远程 MCP 服务器的 URL。 | -| `enabled` | 布尔 | | 在启动时启用或禁用MCP 服务器。 | -| `headers` | 对象 | | 随请求一起发送的标头。 | -| `oauth` | 对象 | | OAuth 身份验证。请参阅下面的配置[开放认证](#oauth) 部分。 | -| `timeout` | 数量 | | 从MCP服务器获取工具的超时(以毫秒为单位)。默认为5000(5秒)。 | +| 選項 | 類型 | 必填 | 描述 | +| --------- | ------ | ---- | -------------------------------------------------------------- | +| `type` | 字符串 | 是 | MCP 服务器连接类型,必须是`"remote"`。 | +| `url` | 字符串 | 是 | 远程 MCP 服务器的 URL。 | +| `enabled` | 布尔 | | 在启动时启用或禁用MCP 服务器。 | +| `headers` | 对象 | | 随请求一起发送的标头。 | +| `oauth` | 对象 | | OAuth 身份验证。请参阅下面的配置[开放认证](#oauth) 部分。 | +| `timeout` | 数量 | | 从MCP服务器获取工具的超时(以毫秒为单位)。默认为5000(5秒)。 | --- @@ -266,12 +266,12 @@ opencode mcp logout my-oauth-server #### OAuth 选项 -| 選項 | 類型 | 描述 | -| -------------- | -------- | --------------------------------------------------- | +| 選項 | 類型 | 描述 | +| -------------- | --------------- | --------------------------------------------------- | | `oauth` | 对象 \| `false` | OAuth 配置对象,或 `false` 以取消 OAuth 自动检测。 | -| `clientId` | 字符串 | OAuth 客户端 ID。如果未提供,将尝试动态客户端注册。 | -| `clientSecret` | 字符串 | OAuth客户端密钥(如果需要授权服务器)。 | -| `scope` | 字符串 | 授权期间请求的 OAuth 范围。 | +| `clientId` | 字符串 | OAuth 客户端 ID。如果未提供,将尝试动态客户端注册。 | +| `clientSecret` | 字符串 | OAuth客户端密钥(如果需要授权服务器)。 | +| `scope` | 字符串 | 授权期间请求的 OAuth 范围。 | #### 偵錯 diff --git a/packages/web/src/content/docs/zh-cn/sdk.mdx b/packages/web/src/content/docs/zh-cn/sdk.mdx index 67737ce16..4706cf7e0 100644 --- a/packages/web/src/content/docs/zh-cn/sdk.mdx +++ b/packages/web/src/content/docs/zh-cn/sdk.mdx @@ -283,13 +283,13 @@ await client.session.prompt({ ### 檔案 -| 方法 | 描述 | 回應 | -| ------------------------- | -------------------- | ------------------------------------------------------------------ | +| 方法 | 描述 | 回應 | +| ------------------------- | -------------------- | ----------------------------------------------------------------------------------- | | `find.text({ query })` | 搜索档案中文字 | 具有 `path`、`lines`、`line_number`、`absolute_offset`、`submatches` 的匹配对象数组 | -| `find.files({ query })` | 按名称查询档案和目录 | `string[]`(路径) | -| `find.symbols({ query })` | 查詢工作區符號 | 符號[] | -| `file.read({ query })` | 读取档案 | `{ type: "raw" \| "patch", content: string }` | -| `file.status({ query? })` | 獲取跟蹤檔案的狀態 | 檔案[] | +| `find.files({ query })` | 按名称查询档案和目录 | `string[]`(路径) | +| `find.symbols({ query })` | 查詢工作區符號 | 符號[] | +| `file.read({ query })` | 读取档案 | `{ type: "raw" \| "patch", content: string }` | +| `file.status({ query? })` | 獲取跟蹤檔案的狀態 | 檔案[] | `find.files` 支持一些可选的查询栏位: diff --git a/packages/web/src/content/docs/zh-cn/server.mdx b/packages/web/src/content/docs/zh-cn/server.mdx index 30ec6c3f6..703c2fc3f 100644 --- a/packages/web/src/content/docs/zh-cn/server.mdx +++ b/packages/web/src/content/docs/zh-cn/server.mdx @@ -274,8 +274,8 @@ opencode服务器公开以下API。 ### 活動 -| 方法 | 路徑 | 描述 | 回應 | -| ----- | -------- | ------------------------------------------------------------------- | -------------------- | +| 方法 | 路徑 | 描述 | 回應 | +| ----- | -------- | ------------------------------------------------------------------- | ------------------ | | `GET` | `/event` | 服务器发送事件流。第一个事件是 `server.connected`,之后是总线事件。 | 服务器发送事件流。 | --- diff --git a/packages/web/src/content/docs/zh-tw/mcp-servers.mdx b/packages/web/src/content/docs/zh-tw/mcp-servers.mdx index 6fe5fd527..15d251801 100644 --- a/packages/web/src/content/docs/zh-tw/mcp-servers.mdx +++ b/packages/web/src/content/docs/zh-tw/mcp-servers.mdx @@ -266,8 +266,8 @@ opencode mcp logout my-oauth-server #### OAuth 選項 -| 選項 | 類型 | 描述 | -| -------------- | -------- | --------------------------------------------------- | +| 選項 | 類型 | 描述 | +| -------------- | --------------- | --------------------------------------------------- | | `oauth` | Object \| false | OAuth 配置對象,或 `false` 以禁用 OAuth 自動檢測。 | | `clientId` | String | OAuth 客戶端 ID。如果未提供,將嘗試動態客戶端註冊。 | | `clientSecret` | String | OAuth 客戶端密鑰(如果授權服務器需要)。 | diff --git a/packages/web/src/content/docs/zh-tw/zen.mdx b/packages/web/src/content/docs/zh-tw/zen.mdx index 061eb0dad..54af02129 100644 --- a/packages/web/src/content/docs/zh-tw/zen.mdx +++ b/packages/web/src/content/docs/zh-tw/zen.mdx @@ -114,41 +114,41 @@ https://opencode.ai/zen/v1/models 我們支持即用即付模式。以下是**每 100 萬代幣的價格**。 -| 型號 | 輸入 | 輸出 | 緩存讀取 | 緩存寫入 | -| ---------------------------------- | ------ | ------ | -------- | -------- | -| Big Pickle | Free | Free | Free | - | -| MiniMax M2.1 Free | Free | Free | Free | - | -| MiniMax M2.1 | $0.30 | $1.20 | $0.10 | - | -| GLM 4.7 Free | Free | Free | Free | - | -| GLM 4.7 | $0.60 | $2.20 | $0.10 | - | -| GLM 4.6 | $0.60 | $2.20 | $0.10 | - | -| Kimi K2.5 Free | Free | Free | Free | - | -| Kimi K2.5 | $0.60 | $3.00 | $0.08 | - | -| Kimi K2 Thinking | $0.40 | $2.50 | - | - | -| Kimi K2 | $0.40 | $2.50 | - | - | -| Qwen3 Coder 480B | $0.45 | $1.50 | - | - | +| 型號 | 輸入 | 輸出 | 緩存讀取 | 緩存寫入 | +| --------------------------------- | ------ | ------ | -------- | -------- | +| Big Pickle | Free | Free | Free | - | +| MiniMax M2.1 Free | Free | Free | Free | - | +| MiniMax M2.1 | $0.30 | $1.20 | $0.10 | - | +| GLM 4.7 Free | Free | Free | Free | - | +| GLM 4.7 | $0.60 | $2.20 | $0.10 | - | +| GLM 4.6 | $0.60 | $2.20 | $0.10 | - | +| Kimi K2.5 Free | Free | Free | Free | - | +| Kimi K2.5 | $0.60 | $3.00 | $0.08 | - | +| Kimi K2 Thinking | $0.40 | $2.50 | - | - | +| Kimi K2 | $0.40 | $2.50 | - | - | +| Qwen3 Coder 480B | $0.45 | $1.50 | - | - | | Claude Sonnet 4.5 (≤ 200K tokens) | $3.00 | $15.00 | $0.30 | $3.75 | -| Claude Sonnet 4.5 (> 200K tokens) | $6.00 | $22.50 | $0.60 | $7.50 | +| Claude Sonnet 4.5 (> 200K tokens) | $6.00 | $22.50 | $0.60 | $7.50 | | Claude Sonnet 4 (≤ 200K tokens) | $3.00 | $15.00 | $0.30 | $3.75 | -| Claude Sonnet 4 (> 200K tokens) | $6.00 | $22.50 | $0.60 | $7.50 | -| Claude Haiku 4.5 | $1.00 | $5.00 | $0.10 | $1.25 | -| Claude Haiku 3.5 | $0.80 | $4.00 | $0.08 | $1.00 | +| Claude Sonnet 4 (> 200K tokens) | $6.00 | $22.50 | $0.60 | $7.50 | +| Claude Haiku 4.5 | $1.00 | $5.00 | $0.10 | $1.25 | +| Claude Haiku 3.5 | $0.80 | $4.00 | $0.08 | $1.00 | | Claude Opus 4.6 (≤ 200K tokens) | $5.00 | $25.00 | $0.50 | $6.25 | -| Claude Opus 4.6 (> 200K tokens) | $10.00 | $37.50 | $1.00 | $12.50 | -| Claude Opus 4.5 | $5.00 | $25.00 | $0.50 | $6.25 | -| Claude Opus 4.1 | $15.00 | $75.00 | $1.50 | $18.75 | +| Claude Opus 4.6 (> 200K tokens) | $10.00 | $37.50 | $1.00 | $12.50 | +| Claude Opus 4.5 | $5.00 | $25.00 | $0.50 | $6.25 | +| Claude Opus 4.1 | $15.00 | $75.00 | $1.50 | $18.75 | | Gemini 3 Pro (≤ 200K tokens) | $2.00 | $12.00 | $0.20 | - | -| Gemini 3 Pro (> 200K tokens) | $4.00 | $18.00 | $0.40 | - | -| Gemini 3 Flash | $0.50 | $3.00 | $0.05 | - | -| GPT 5.2 | $1.75 | $14.00 | $0.175 | - | -| GPT 5.2 Codex | $1.75 | $14.00 | $0.175 | - | -| GPT 5.1 | $1.07 | $8.50 | $0.107 | - | -| GPT 5.1 Codex | $1.07 | $8.50 | $0.107 | - | -| GPT 5.1 Codex Max | $1.25 | $10.00 | $0.125 | - | -| GPT 5.1 Codex Mini | $0.25 | $2.00 | $0.025 | - | -| GPT 5 | $1.07 | $8.50 | $0.107 | - | -| GPT 5 Codex | $1.07 | $8.50 | $0.107 | - | -| GPT 5 Nano | Free | Free | Free | - | +| Gemini 3 Pro (> 200K tokens) | $4.00 | $18.00 | $0.40 | - | +| Gemini 3 Flash | $0.50 | $3.00 | $0.05 | - | +| GPT 5.2 | $1.75 | $14.00 | $0.175 | - | +| GPT 5.2 Codex | $1.75 | $14.00 | $0.175 | - | +| GPT 5.1 | $1.07 | $8.50 | $0.107 | - | +| GPT 5.1 Codex | $1.07 | $8.50 | $0.107 | - | +| GPT 5.1 Codex Max | $1.25 | $10.00 | $0.125 | - | +| GPT 5.1 Codex Mini | $0.25 | $2.00 | $0.025 | - | +| GPT 5 | $1.07 | $8.50 | $0.107 | - | +| GPT 5 Codex | $1.07 | $8.50 | $0.107 | - | +| GPT 5 Nano | Free | Free | Free | - | 您可能會在使用歷史記錄中註意到*Claude Haiku 3.5*。這是一個[低成本模式](/docs/config/#models),用於生成會話標題。