diff --git a/packages/ui/src/components/onboarding/ChooserScreen.tsx b/packages/ui/src/components/onboarding/ChooserScreen.tsx index 754aefc3..f68d7871 100644 --- a/packages/ui/src/components/onboarding/ChooserScreen.tsx +++ b/packages/ui/src/components/onboarding/ChooserScreen.tsx @@ -14,7 +14,6 @@ import { runtimeFetch } from '@/lib/runtime-fetch'; const INSTALL_COMMAND = 'curl -fsSL https://opencode.ai/install | bash'; const DOCS_URL = 'https://opencode.ai/docs'; -const WINDOWS_WSL_DOCS_URL = 'https://opencode.ai/docs/windows-wsl'; const POLL_INTERVAL_MS = 2500; type OnboardingPlatform = 'macos' | 'linux' | 'windows' | 'unknown'; @@ -216,7 +215,7 @@ export function ChooserScreen({ onCliAvailable }: ChooserScreenProps) { } }, []); - const docsUrl = platform === 'windows' ? WINDOWS_WSL_DOCS_URL : DOCS_URL; + const docsUrl = DOCS_URL; const binaryPlaceholder = platform === 'windows' ? 'C:\\Users\\you\\AppData\\Roaming\\npm\\opencode.cmd' @@ -286,7 +285,6 @@ export function ChooserScreen({ onCliAvailable }: ChooserScreenProps) {
wsl --install {t('onboarding.localSetup.windows.stepInstallWslSuffix')}wsl --install {t('onboarding.localSetup.windows.stepInstallWslSuffix')}- {t('onboarding.localSetup.windows.hintInstallInWsl')} -
{t('onboarding.localSetup.windows.hintDetectionFailed')}
diff --git a/packages/ui/src/lib/i18n/messages/en.ts b/packages/ui/src/lib/i18n/messages/en.ts index bf016636..b17806a6 100644 --- a/packages/ui/src/lib/i18n/messages/en.ts +++ b/packages/ui/src/lib/i18n/messages/en.ts @@ -2334,13 +2334,13 @@ export const dict = { 'onboarding.localSetup.dialog.selectOpencodeBinary': 'Select opencode binary', 'onboarding.localSetup.errors.cliNotReady': 'OpenCode CLI is not ready yet. Please confirm installation is complete and try again.', 'onboarding.localSetup.errors.detectionFailed': 'Detection failed', - 'onboarding.localSetup.windows.title': 'Windows setup (WSL recommended)', - 'onboarding.localSetup.windows.stepInstallWsl': 'Install WSL (if needed) with', - 'onboarding.localSetup.windows.stepInstallWslSuffix': 'in PowerShell.', - 'onboarding.localSetup.windows.stepRunInstallInWsl': 'Run the install command below inside your WSL terminal.', + 'onboarding.localSetup.windows.title': 'Windows setup', + 'onboarding.localSetup.windows.stepInstallWsl': 'Install OpenCode with the command below.', + 'onboarding.localSetup.windows.stepInstallWslSuffix': '', + 'onboarding.localSetup.windows.stepRunInstallInWsl': 'Run the install command below in a Windows terminal.', 'onboarding.localSetup.windows.stepSetBinaryPath': 'If OpenChamber does not detect OpenCode automatically, set the binary path below.', 'onboarding.localSetup.intro': 'OpenCode is the heart of OpenChamber — install it to get started.', - 'onboarding.localSetup.docs.windows': 'OpenCode Windows + WSL docs', + 'onboarding.localSetup.docs.windows': 'OpenCode docs', 'onboarding.localSetup.docs.default': 'OpenCode docs', 'onboarding.localSetup.actions.checking': 'Checking…', 'onboarding.localSetup.actions.checkAndContinue': "I've completed installation, check and continue", @@ -2356,8 +2356,8 @@ export const dict = { 'onboarding.localSetup.helper.saveAndReload': 'Saves to OpenChamber settings and reloads OpenCode configuration.', 'onboarding.localSetup.remotePreference': 'Prefer to use a remote server?', 'onboarding.localSetup.actions.connectRemoteServer': 'Connect to Remote Server →', - 'onboarding.localSetup.windows.hintInstallInWsl': 'On Windows, install and run OpenCode in WSL for best compatibility.', - 'onboarding.localSetup.windows.hintDetectionFailed': 'If detection fails, set a native path (opencode.cmd/opencode.exe), wsl.exe, or wsl:/usr/local/bin/opencode.', + 'onboarding.localSetup.windows.hintInstallInWsl': 'On Windows, install and run OpenCode natively.', + 'onboarding.localSetup.windows.hintDetectionFailed': 'If detection fails, set a native path such as opencode.cmd or opencode.exe.', 'onboarding.localSetup.hint.ensurePath': 'Already installed? Make sure opencode is in your PATH.', 'onboarding.localSetup.hint.setEnv': 'Or set OPENCODE_BINARY environment variable.', 'onboarding.localSetup.hint.missingRuntime': 'If you see "env: node: No such file or directory" or "env: bun: No such file or directory", install that runtime or ensure it is on PATH.', diff --git a/packages/ui/src/lib/i18n/messages/es.ts b/packages/ui/src/lib/i18n/messages/es.ts index 411355dd..70e83adf 100644 --- a/packages/ui/src/lib/i18n/messages/es.ts +++ b/packages/ui/src/lib/i18n/messages/es.ts @@ -2300,13 +2300,13 @@ export const dict: Record