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(cli-tools): add opencode to cliRuntime, increase timeouts for slow-start CLIs

diegosouzapw8dad2d32b68a
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 832ed3b521..5039ce4a36 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,15 @@
# Changelog
+## [2.3.12] - 2026-03-12
+
+### Fixed
+
+- **KiloCode**: kilocode healthcheck timeout already fixed in v2.3.11
+- **OpenCode**: Add opencode to cliRuntime registry with 15s healthcheck timeout
+- **OpenClaw / Cursor**: Increase healthcheck timeout to 15s for slow-start variants
+- **VPS**: Install droid and openclaw npm packages; activate CLI_EXTRA_PATHS for kiro-cli
+- **cliRuntime**: Add opencode tool registration and increase timeout for continue
+
## [2.3.11] - 2026-03-12
### Fixed
diff --git a/package.json b/package.json
index fed2652fd0..b2c38b82b9 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "omniroute",
- "version": "2.3.11",
+ "version": "2.3.12",
"description": "Smart AI Router with auto fallback — route to FREE & cheap models, zero downtime. Works with Cursor, Cline, Claude Desktop, Codex, and any OpenAI-compatible tool.",
"type": "module",
"bin": {
diff --git a/src/shared/services/cliRuntime.ts b/src/shared/services/cliRuntime.ts
index cc35745619..7e568fe182 100644
--- a/src/shared/services/cliRuntime.ts
+++ b/src/shared/services/cliRuntime.ts
@@ -41,7 +41,7 @@ const CLI_TOOLS: Record<string, any> = {
envBinKey: "CLI_OPENCLAW_BIN",
requiresBinary: true,
// openclaw CLI may take >4s on cold start in containers.
- healthcheckTimeoutMs: 12000,
+ healthcheckTimeoutMs: 15000,
paths: {
settings: ".openclaw/openclaw.json",
},
@@ -51,7 +51,7 @@ const CLI_TOOLS: Record<string, any> = {
envBinKey: "CLI_CURSOR_BIN",
requiresBinary: true,
// Cursor startup can be slower on first run in containerized host-mount mode.
- healthcheckTimeoutMs: 12000,
+ healthcheckTimeoutMs: 15000,
paths: {
config: ".cursor/cli-config.json",
auth: ".config/cursor/auth.json",
@@ -85,10 +85,22 @@ const CLI_TOOLS: Record<string, any> = {
defaultCommand: null,
envBinKey: "CLI_CONTINUE_BIN",
requiresBinary: false,
+ // opencode and continue may take up to 15s on first run / cold start on VPS
+ healthcheckTimeoutMs: 15000,
paths: {
settings: ".continue/config.json",
},
},
+ opencode: {
+ defaultCommand: "opencode",
+ envBinKey: "CLI_OPENCODE_BIN",
+ requiresBinary: true,
+ // opencode takes several seconds on cold start environments
+ healthcheckTimeoutMs: 15000,
+ paths: {
+ config: ".config/opencode/config.toml",
+ },
+ },
};
const isWindows = () => process.platform === "win32";