diff options
| author | opencode-agent[bot] <opencode-agent[bot]@users.noreply.github.com> | 2026-02-09 19:57:32 +0000 |
|---|---|---|
| committer | opencode-agent[bot] <opencode-agent[bot]@users.noreply.github.com> | 2026-02-09 19:57:32 +0000 |
| commit | 389afef33654058cc4369d2e8db8f1c195defa1f (patch) | |
| tree | 958610ffcf60e1e63b98883895fd34c8b71fd75d /packages/web/src/content/docs/ru | |
| parent | 274bb948e793c72d22d4e2d31e6b9559c6ff4d6c (diff) | |
| download | opencode-389afef33654058cc4369d2e8db8f1c195defa1f.tar.gz opencode-389afef33654058cc4369d2e8db8f1c195defa1f.zip | |
chore: generate
Diffstat (limited to 'packages/web/src/content/docs/ru')
| -rw-r--r-- | packages/web/src/content/docs/ru/lsp.mdx | 4 | ||||
| -rw-r--r-- | packages/web/src/content/docs/ru/mcp-servers.mdx | 12 | ||||
| -rw-r--r-- | packages/web/src/content/docs/ru/modes.mdx | 4 | ||||
| -rw-r--r-- | packages/web/src/content/docs/ru/providers.mdx | 18 | ||||
| -rw-r--r-- | packages/web/src/content/docs/ru/sdk.mdx | 58 | ||||
| -rw-r--r-- | packages/web/src/content/docs/ru/server.mdx | 114 | ||||
| -rw-r--r-- | packages/web/src/content/docs/ru/skills.mdx | 4 | ||||
| -rw-r--r-- | packages/web/src/content/docs/ru/themes.mdx | 4 | ||||
| -rw-r--r-- | packages/web/src/content/docs/ru/tui.mdx | 2 | ||||
| -rw-r--r-- | packages/web/src/content/docs/ru/zen.mdx | 62 |
10 files changed, 141 insertions, 141 deletions
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 | <a href={typesUrl}><code>Agent[]</code></a> | @@ -169,8 +169,8 @@ const agents = await client.app.agents() ### Проект -| Метод | Описание | Ответ | -| ----- | ----------------------- | -------------------------------------------- | +| Метод | Описание | Ответ | +| ------------------- | ------------------- | --------------------------------------------- | | `project.list()` | List all projects | <a href={typesUrl}><code>Project[]</code></a> | | `project.current()` | Get current project | <a href={typesUrl}><code>Project</code></a> | @@ -190,8 +190,8 @@ const currentProject = await client.project.current() ### Путь -| Метод | Описание | Ответ | -| ----- | --------------------- | ---------------------------------------- | +| Метод | Описание | Ответ | +| ------------ | ---------------- | ---------------------------------------- | | `path.get()` | Get current path | <a href={typesUrl}><code>Path</code></a> | --- @@ -207,8 +207,8 @@ const pathInfo = await client.path.get() ### Конфигурация -| Метод | Описание | Ответ | -| ----- | ----------------------------------------- | ----------------------------------------------------------------------------------------------------- | +| Метод | Описание | Ответ | +| -------------------- | --------------------------------- | ----------------------------------------------------------------------------------------------------- | | `config.get()` | Get config info | <a href={typesUrl}><code>Config</code></a> | | `config.providers()` | List providers and default models | `{ providers: `<a href={typesUrl}><code>Provider[]</code></a>`, default: { [key: string]: string } }` | @@ -226,8 +226,8 @@ const { providers, default: defaults } = await client.config.providers() ### Сессии -| Метод | Описание | Примечания | -| ----- | -------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------- | +| Метод | Описание | Примечания | +| ---------------------------------------------------------- | ---------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------- | | `session.list()` | List sessions | Returns <a href={typesUrl}><code>Session[]</code></a> | | `session.get({ path })` | Get session | Returns <a href={typesUrl}><code>Session</code></a> | | `session.children({ path })` | List child sessions | Returns <a href={typesUrl}><code>Session[]</code></a> | @@ -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 | <a href={typesUrl}><code>Symbol[]</code></a> | @@ -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 <number>] [--hostname <string>] [--cors <origin>] #### Параметры -| Флаг | Описание | По умолчанию | -| ----- | ---------------------------------------------- | ------------ | +| Флаг | Описание | По умолчанию | +| --------------- | ----------------------------------- | ---------------- | | `--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 | <a href={typesUrl}><code>Project[]</code></a> | -| `GET` | `/project/current` | Get the current project | <a href={typesUrl}><code>Project</code></a> | +| Метод | Путь | Описание | Ответ | +| ----- | ------------------ | ----------------------- | --------------------------------------------- | +| `GET` | `/project` | List all projects | <a href={typesUrl}><code>Project[]</code></a> | +| `GET` | `/project/current` | Get the current project | <a href={typesUrl}><code>Project</code></a> | --- ### Путь и система контроля версий -| Метод | Путь | Описание | Ответ | -| ----- | ----- | -------------------------------------------- | ------------------------------------------- | -| `GET` | `/path` | Get the current path | <a href={typesUrl}><code>Path</code></a> | -| `GET` | `/vcs` | Get VCS info for the current project | <a href={typesUrl}><code>VcsInfo</code></a> | +| Метод | Путь | Описание | Ответ | +| ----- | ------- | ------------------------------------ | ------------------------------------------- | +| `GET` | `/path` | Get the current path | <a href={typesUrl}><code>Path</code></a> | +| `GET` | `/vcs` | Get VCS info for the current project | <a href={typesUrl}><code>VcsInfo</code></a> | --- ### Пример -| Метод | Путь | Описание | Ответ | -| ----- | ----- | ------------------------- | ----- | +| Метод | Путь | Описание | Ответ | +| ------ | ------------------- | ---------------------------- | --------- | | `POST` | `/instance/dispose` | Dispose the current instance | `boolean` | --- ### Конфигурация -| Метод | Путь | Описание | Ответ | -| ----- | ----- | ----------------------------------------- | ---------------------------------------------------------------------------------------- | +| Метод | Путь | Описание | Ответ | +| ------- | ------------------- | --------------------------------- | ---------------------------------------------------------------------------------------- | | `GET` | `/config` | Get config info | <a href={typesUrl}><code>Config</code></a> | | `PATCH` | `/config` | Update config | <a href={typesUrl}><code>Config</code></a> | | `GET` | `/config/providers` | List providers and default models | `{ providers: `<a href={typesUrl}>Provider[]</a>`, 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: `<a href={typesUrl}>Provider[]</a>`, default: {...}, connected: string[] }` | | `GET` | `/provider/auth` | Get provider authentication methods | `{ [providerID: string]: `<a href={typesUrl}>ProviderAuthMethod[]</a>` }` | | `POST` | `/provider/{id}/oauth/authorize` | Authorize a provider using OAuth | <a href={typesUrl}><code>ProviderAuthAuthorization</code></a> | @@ -145,8 +145,8 @@ For example, `http://localhost:4096/doc`. Use the spec to generate clients or in ### Сессии -| Метод | Путь | Описание | Примечания | -| ----- | ----- | -------------------------------------------------- | ------------------------------------------------------------------------------------- | +| Метод | Путь | Описание | Примечания | +| -------- | ---------------------------------------- | ------------------------------------- | ---------------------------------------------------------------------------------- | | `GET` | `/session` | List all sessions | Returns <a href={typesUrl}><code>Session[]</code></a> | | `POST` | `/session` | Create a new session | body: `{ parentID?, title? }`, returns <a href={typesUrl}><code>Session</code></a> | | `GET` | `/session/status` | Get session status for all sessions | Returns `{ [sessionID: string]: `<a href={typesUrl}>SessionStatus</a>` }` | @@ -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: `<a href={typesUrl}>Message</a>`, parts: `<a href={typesUrl}>Part[]</a>`}[]` | | `POST` | `/session/:id/message` | Send a message and wait for response | body: `{ messageID?, model?, agent?, noReply?, system?, tools?, parts }`, returns `{ info: `<a href={typesUrl}>Message</a>`, parts: `<a href={typesUrl}>Part[]</a>`}` | | `GET` | `/session/:id/message/:messageID` | Get message details | Returns `{ info: `<a href={typesUrl}>Message</a>`, parts: `<a href={typesUrl}>Part[]</a>`}` | @@ -183,22 +183,22 @@ For example, `http://localhost:4096/doc`. Use the spec to generate clients or in ### Команды -| Метод | Путь | Описание | Ответ | -| ----- | ----- | ------------------ | --------------------------------------------- | -| `GET` | `/command` | List all commands | <a href={typesUrl}><code>Command[]</code></a> | +| Метод | Путь | Описание | Ответ | +| ----- | ---------- | ----------------- | --------------------------------------------- | +| `GET` | `/command` | List all commands | <a href={typesUrl}><code>Command[]</code></a> | --- ### Файлы -| Метод | Путь | Описание | Ответ | -| ----- | ----- | ------------------------------------ | --------------------------------------------------------------------------------------------- | -| `GET` | `/find?pattern=<pat>` | Search for text in files | Array of match objects with `path`, `lines`, `line_number`, `absolute_offset`, `submatches` | -| `GET` | `/find/file?query=<q>` | Find files and directories by name | `string[]` (paths) | -| `GET` | `/find/symbol?query=<q>` | Find workspace symbols | <a href={typesUrl}><code>Symbol[]</code></a> | -| `GET` | `/file?path=<path>` | List files and directories | <a href={typesUrl}><code>FileNode[]</code></a> | -| `GET` | `/file/content?path=<p>` | Read a file | <a href={typesUrl}><code>FileContent</code></a> | -| `GET` | `/file/status` | Get status for tracked files | <a href={typesUrl}><code>File[]</code></a> | +| Метод | Путь | Описание | Ответ | +| ----- | ------------------------ | ---------------------------------- | ------------------------------------------------------------------------------------------- | +| `GET` | `/find?pattern=<pat>` | Search for text in files | Array of match objects with `path`, `lines`, `line_number`, `absolute_offset`, `submatches` | +| `GET` | `/find/file?query=<q>` | Find files and directories by name | `string[]` (paths) | +| `GET` | `/find/symbol?query=<q>` | Find workspace symbols | <a href={typesUrl}><code>Symbol[]</code></a> | +| `GET` | `/file?path=<path>` | List files and directories | <a href={typesUrl}><code>FileNode[]</code></a> | +| `GET` | `/file/content?path=<p>` | Read a file | <a href={typesUrl}><code>FileContent</code></a> | +| `GET` | `/file/status` | Get status for tracked files | <a href={typesUrl}><code>File[]</code></a> | #### `/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 | <a href={typesUrl}><code>ToolIDs</code></a> | -| `GET` | `/experimental/tool?provider=<p>&model=<m>` | List tools with JSON schemas for a model | <a href={typesUrl}><code>ToolList</code></a> | +| Метод | Путь | Описание | Ответ | +| ----- | ------------------------------------------- | ---------------------------------------- | -------------------------------------------- | +| `GET` | `/experimental/tool/ids` | List all tool IDs | <a href={typesUrl}><code>ToolIDs</code></a> | +| `GET` | `/experimental/tool?provider=<p>&model=<m>` | List tools with JSON schemas for a model | <a href={typesUrl}><code>ToolList</code></a> | --- ### LSP, форматтеры и MCP -| Метод | Путь | Описание | Ответ | -| ----- | ----- | ----------------------------------- | --------------------------------------------------------- | +| Метод | Путь | Описание | Ответ | +| ------ | ------------ | -------------------------- | -------------------------------------------------------- | | `GET` | `/lsp` | Get LSP server status | <a href={typesUrl}><code>LSPStatus[]</code></a> | | `GET` | `/formatter` | Get formatter status | <a href={typesUrl}><code>FormatterStatus[]</code></a> | | `GET` | `/mcp` | Get MCP server status | `{ [name: string]: `<a href={typesUrl}>MCPStatus</a>` }` | @@ -232,24 +232,24 @@ For example, `http://localhost:4096/doc`. Use the spec to generate clients or in ### Агенты -| Метод | Путь | Описание | Ответ | -| ----- | ----- | ----------------------------- | ------------------------------------------- | -| `GET` | `/agent` | List all available agents | <a href={typesUrl}><code>Agent[]</code></a> | +| Метод | Путь | Описание | Ответ | +| ----- | -------- | ------------------------- | ------------------------------------------- | +| `GET` | `/agent` | List all available agents | <a href={typesUrl}><code>Agent[]</code></a> | --- ### Ведение журнала -| Метод | Путь | Описание | Ответ | -| ----- | ----- | ---------------------------------------------------------------------- | ----- | +| Метод | Путь | Описание | Ответ | +| ------ | ------ | ------------------------------------------------------------ | --------- | | `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/<model-id>`. Например, для Кодекса GPT 5.2 вы должны |
