The open source coding agent.
TypeScript
docs: update providers layout and Windows sidebar label
Jay Vd32dd4d7fde7
diff --git a/packages/web/astro.config.mjs b/packages/web/astro.config.mjsindex 3e3d153e68a..b14a7ccb8f8 100644--- a/packages/web/astro.config.mjs+++ b/packages/web/astro.config.mjs@@ -178,7 +178,30 @@ export default defineConfig({"network","enterprise","troubleshooting",- "windows-wsl",+ {+ label: "Windows",+ translations: {+ en: "Windows",+ ar: "Windows",+ "bs-BA": "Windows",+ "da-DK": "Windows",+ "de-DE": "Windows",+ "es-ES": "Windows",+ "fr-FR": "Windows",+ "it-IT": "Windows",+ "ja-JP": "Windows",+ "ko-KR": "Windows",+ "nb-NO": "Windows",+ "pl-PL": "Windows",+ "pt-BR": "Windows",+ "ru-RU": "Windows",+ "th-TH": "Windows",+ "tr-TR": "Windows",+ "zh-CN": "Windows",+ "zh-TW": "Windows",+ },+ link: "windows-wsl",+ },{label: "Usage",translations: {diff --git a/packages/web/src/content/docs/it/providers.mdx b/packages/web/src/content/docs/it/providers.mdxindex 11ed9e141f0..9b4c07b665d 100644--- a/packages/web/src/content/docs/it/providers.mdx+++ b/packages/web/src/content/docs/it/providers.mdx@@ -135,6 +135,8 @@ Per usare Amazon Bedrock con OpenCode:2. **Configura l'autenticazione** usando uno dei seguenti metodi:+ ***+#### Variabili d'ambiente (Avvio rapido)Imposta una di queste variabili d'ambiente mentre esegui opencode:@@ -157,6 +159,8 @@ Per usare Amazon Bedrock con OpenCode:export AWS_REGION=us-east-1```+ ***+#### File di configurazione (Consigliato)Per configurazione specifica del progetto o persistente, usa `opencode.json`:@@ -184,6 +188,8 @@ Per usare Amazon Bedrock con OpenCode:Le opzioni del file di configurazione hanno la precedenza sulle variabili d'ambiente.:::+ ***+#### Avanzato: VPC EndpointsSe stai usando VPC endpoints per Bedrock:@@ -207,12 +213,16 @@ Per usare Amazon Bedrock con OpenCode:L'opzione `endpoint` è un alias per l'opzione generica `baseURL`, usando terminologia specifica AWS. Se vengono specificati sia `endpoint` sia `baseURL`, `endpoint` ha la precedenza.:::+ ***+#### Metodi di autenticazione- **`AWS_ACCESS_KEY_ID` / `AWS_SECRET_ACCESS_KEY`**: Crea un utente IAM e genera chiavi di accesso nella Console AWS- **`AWS_PROFILE`**: Usa profili nominati da `~/.aws/credentials`. Configura prima con `aws configure --profile my-profile` o `aws sso login`- **`AWS_BEARER_TOKEN_BEDROCK`**: Genera chiavi API a lungo termine dalla console Amazon Bedrock- **`AWS_WEB_IDENTITY_TOKEN_FILE` / `AWS_ROLE_ARN`**: Per EKS IRSA (IAM Roles for Service Accounts) o altri ambienti Kubernetes con federazione OIDC. Queste variabili d'ambiente vengono iniettate automaticamente da Kubernetes quando usi le annotazioni del service account.+ ***+#### Precedenza autenticazioneAmazon Bedrock usa la seguente priorità di autenticazione:@@ -230,7 +240,8 @@ Per usare Amazon Bedrock con OpenCode:```:::note-Per profili di inferenza personalizzati, usa il nome del modello e del provider nella chiave e imposta la proprietà `id` all'arn. Questo assicura una cache corretta:+Per profili di inferenza personalizzati, usa il nome del modello e del provider nella chiave e imposta la proprietà `id` all'arn. Questo assicura una cache corretta.+:::```json title="opencode.json"{@@ -248,8 +259,6 @@ Per profili di inferenza personalizzati, usa il nome del modello e del provider}```-:::----### Anthropic@@ -1161,6 +1170,8 @@ Per usare Kimi K2 di Moonshot AI:/models```+---+### MiniMax1. Vai alla [MiniMax API Console](https://platform.minimax.io/login), crea un account e genera una chiave API.diff --git a/packages/web/src/content/docs/ko/providers.mdx b/packages/web/src/content/docs/ko/providers.mdxindex 488c0253718..ea48dbfb0a9 100644--- a/packages/web/src/content/docs/ko/providers.mdx+++ b/packages/web/src/content/docs/ko/providers.mdx@@ -131,6 +131,8 @@ OpenCode로 Amazon Bedrock을 사용하려면:2. 다음 방법 중 하나를 사용하여 **설정**합니다:+---+### 환경 변수 (빠른 시작)OpenCode를 실행하는 동안 다음 환경 변수 중 하나를 설정합니다:@@ -153,6 +155,8 @@ OpenCode를 실행하는 동안 다음 환경 변수 중 하나를 설정합니export AWS_REGION=us-east-1```+---+#### 설정 파일 (권장)프로젝트별 또는 영구 구성을 위해 `opencode.json`을 사용하십시오.@@ -181,6 +185,8 @@ OpenCode를 실행하는 동안 다음 환경 변수 중 하나를 설정합니구성 파일 옵션은 환경 변수보다 우선 순위가 높습니다.:::+---+#### 고급: VPC 엔드포인트Bedrock의 VPC 엔드포인트를 사용하는 경우:@@ -204,6 +210,8 @@ Bedrock의 VPC 엔드포인트를 사용하는 경우:`endpoint` 옵션은 일반적인 `baseURL` 옵션의 별칭입니다. `endpoint`와 `baseURL` 둘 다 지정된 경우 `endpoint`가 우선합니다.:::+---+#### 인증 방법- **`AWS_ACCESS_KEY_ID`/`AWS_SECRET_ACCESS_KEY`**: IAM 사용자 및 AWS 콘솔에서 액세스 키 생성@@ -211,6 +219,8 @@ Bedrock의 VPC 엔드포인트를 사용하는 경우:- **`AWS_BEARER_TOKEN_BEDROCK`**: Amazon Bedrock 콘솔에서 임시 API 키 생성- **`AWS_WEB_IDENTITY_TOKEN_FILE` / `AWS_ROLE_ARN`**: EKS IRSA (서비스 계정용 IAM 역할) 또는 다른 Kubernetes 환경의 OIDC 연동. 이 환경 변수는 서비스 계정을 사용할 때 Kubernetes에 의해 자동으로 주입됩니다.+---+#### 인증 우선 순위Amazon Bedrock은 다음과 같은 인증 우선 순위를 사용합니다.@@ -229,7 +239,8 @@ Amazon Bedrock은 다음과 같은 인증 우선 순위를 사용합니다.```:::note-사용자 정의 추론 프로필(custom inference profiles)의 경우, 키에 모델과 공급자 이름을 사용하고 `id` 속성에 ARN을 설정하십시오. 이렇게 하면 올바른 캐싱이 보장됩니다:+사용자 정의 추론 프로필(custom inference profiles)의 경우, 키에 모델과 공급자 이름을 사용하고 `id` 속성에 ARN을 설정하십시오. 이렇게 하면 올바른 캐싱이 보장됩니다.+:::```json title="opencode.json"{@@ -247,8 +258,6 @@ Amazon Bedrock은 다음과 같은 인증 우선 순위를 사용합니다.}```-:::----#### Anthropic@@ -657,6 +666,8 @@ GitLab Duo는 GitLab의 Anthropic 프록시를 통해 기본 도구 호출 기**OAuth**를 선택하면 브라우저에서 권한 부여를 요청합니다.+---+### 개인 액세스 토큰 사용1. [GitLab User Settings > Access Tokens](https://gitlab.com/-/user_settings/personal_access_tokens)로 이동diff --git a/packages/web/src/content/docs/providers.mdx b/packages/web/src/content/docs/providers.mdxindex db473ad36bb..db3bfeaeebe 100644--- a/packages/web/src/content/docs/providers.mdx+++ b/packages/web/src/content/docs/providers.mdx@@ -135,6 +135,8 @@ To use Amazon Bedrock with OpenCode:2. **Configure authentication** using one of the following methods:+ ***+#### Environment Variables (Quick Start)Set one of these environment variables while running opencode:@@ -157,6 +159,8 @@ To use Amazon Bedrock with OpenCode:export AWS_REGION=us-east-1```+ ***+#### Configuration File (Recommended)For project-specific or persistent configuration, use `opencode.json`:@@ -184,6 +188,8 @@ To use Amazon Bedrock with OpenCode:Configuration file options take precedence over environment variables.:::+ ***+#### Advanced: VPC EndpointsIf you're using VPC endpoints for Bedrock:@@ -207,12 +213,16 @@ To use Amazon Bedrock with OpenCode:The `endpoint` option is an alias for the generic `baseURL` option, using AWS-specific terminology. If both `endpoint` and `baseURL` are specified, `endpoint` takes precedence.:::+ ***+#### Authentication Methods- **`AWS_ACCESS_KEY_ID` / `AWS_SECRET_ACCESS_KEY`**: Create an IAM user and generate access keys in the AWS Console- **`AWS_PROFILE`**: Use named profiles from `~/.aws/credentials`. First configure with `aws configure --profile my-profile` or `aws sso login`- **`AWS_BEARER_TOKEN_BEDROCK`**: Generate long-term API keys from the Amazon Bedrock console- **`AWS_WEB_IDENTITY_TOKEN_FILE` / `AWS_ROLE_ARN`**: For EKS IRSA (IAM Roles for Service Accounts) or other Kubernetes environments with OIDC federation. These environment variables are automatically injected by Kubernetes when using service account annotations.+ ***+#### Authentication PrecedenceAmazon Bedrock uses the following authentication priority:@@ -230,7 +240,8 @@ To use Amazon Bedrock with OpenCode:```:::note-For custom inference profiles, use the model and provider name in the key and set the `id` property to the arn. This ensures correct caching:+For custom inference profiles, use the model and provider name in the key and set the `id` property to the arn. This ensures correct caching.+:::```json title="opencode.json"{@@ -248,8 +259,6 @@ For custom inference profiles, use the model and provider name in the key and se}```-:::----### Anthropic