Skip to content

Never stop coding. Free MIT AI gateway: one endpoint, 375 providers (150+ free), 1,400+ models Kimi, Claude, GPT, Gemini, GLM, DeepSeek, MiniMax. Works with Claude Code, Codex, Cursor, OpenCode, Cline & Copilot. Quota-aware auto-fallback, RTK+Caveman compression saves 15-95% tokens, MCP/A2A, Desktop/PWA. Built by 900+ contributors

fix: login password hint + Windows CLI healthcheck + i18n key

diegosouzapw3403ddcc6e37
diff --git a/src/app/login/page.tsx b/src/app/login/page.tsx
index f5cb661c31..3b51b6f3b7 100644
--- a/src/app/login/page.tsx
+++ b/src/app/login/page.tsx
@@ -203,6 +203,7 @@ export default function LoginPage() {
{error}
</p>
)}
+ <p className="text-xs text-text-muted/60 pt-0.5">{t("defaultPasswordHint")}</p>
</div>
<Button
diff --git a/src/i18n/messages/en.json b/src/i18n/messages/en.json
index 8859f051bb..e599261498 100644
--- a/src/i18n/messages/en.json
+++ b/src/i18n/messages/en.json
@@ -2293,7 +2293,8 @@
"orRemovePasswordHashField": "or remove the passwordHash field",
"restartServerWithNewPassword": "Restart the server - it will use the new password",
"backToLogin": "Back to Login",
- "forgotPassword": "Forgot password?"
+ "forgotPassword": "Forgot password?",
+ "defaultPasswordHint": "Default password: 123456 (unless INITIAL_PASSWORD was set)"
},
"landing": {
"brandName": "OmniRoute",
diff --git a/src/shared/services/cliRuntime.ts b/src/shared/services/cliRuntime.ts
index 65ddabbb46..5bd9bc1893 100644
--- a/src/shared/services/cliRuntime.ts
+++ b/src/shared/services/cliRuntime.ts
@@ -121,7 +121,14 @@ const runProcess = (
let timedOut = false;
let settled = false;
- const child = spawn(command, args, { env, stdio: ["ignore", "pipe", "pipe"] });
+ const child = spawn(command, args, {
+ env,
+ stdio: ["ignore", "pipe", "pipe"],
+ // On Windows, npm installs CLI wrappers as .cmd scripts (e.g. claude.cmd).
+ // Without shell:true, spawn cannot resolve them via PATHEXT and the
+ // healthcheck fails even when the CLI is correctly installed (#447).
+ ...(isWindows() ? { shell: true } : {}),
+ });
const timer = setTimeout(() => {
timedOut = true;
child.kill("SIGKILL");