llm-cli-gateway 1.5.28 → 1.5.29

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -2,6 +2,12 @@
2
2
 
3
3
  All notable changes to the llm-cli-gateway project.
4
4
 
5
+ ## [1.5.29] - 2026-05-25
6
+
7
+ ### Fixed
8
+
9
+ - Launch Windows `.cmd` and `.bat` provider shims through `cmd.exe` instead of spawning them directly, fixing Gemini npm shim failures reported as `spawn EINVAL` by `gemini_request`, `cli_versions`, and `contracts --probe-installed`.
10
+
5
11
  ## [1.5.28] - 2026-05-25
6
12
 
7
13
  ### Fixed
package/dist/executor.js CHANGED
@@ -136,6 +136,12 @@ export function resolveCommandForSpawn(command, args, options = {}) {
136
136
  args: ["-NoProfile", "-ExecutionPolicy", "Bypass", "-File", resolved, ...args],
137
137
  };
138
138
  }
139
+ if ([".cmd", ".bat"].includes(extname(resolved).toLowerCase())) {
140
+ return {
141
+ command: "cmd.exe",
142
+ args: ["/d", "/s", "/c", resolved, ...args],
143
+ };
144
+ }
139
145
  return { command: resolved, args };
140
146
  }
141
147
  function resolveWindowsCommandPath(command, envPath) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "llm-cli-gateway",
3
- "version": "1.5.28",
3
+ "version": "1.5.29",
4
4
  "mcpName": "io.github.verivus-oss/llm-cli-gateway",
5
5
  "description": "MCP server providing unified access to Claude Code, Codex, Gemini, Grok, and Mistral Vibe CLIs with session management, retry logic, async job orchestration, durable job results, and cross-LLM validation.",
6
6
  "license": "MIT",