@crewx/sdk 0.8.0-rc.78 → 0.8.0-rc.79
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.
|
@@ -60,7 +60,7 @@ class PluginProviderRuntime {
|
|
|
60
60
|
};
|
|
61
61
|
const proc = (0, child_process_1.spawn)(this.config.cli_command, args, {
|
|
62
62
|
env: mergedEnv,
|
|
63
|
-
shell:
|
|
63
|
+
shell: process.platform === 'win32', // Windows: .cmd/.bat requires shell
|
|
64
64
|
stdio: ['pipe', 'pipe', 'pipe'],
|
|
65
65
|
});
|
|
66
66
|
// Write prompt to stdin when prompt_in_args is false
|
package/dist/provider/bridge.js
CHANGED
|
@@ -200,6 +200,7 @@ class CliProviderRuntime {
|
|
|
200
200
|
env: { ...process.env, ...(options?.env ?? {}) },
|
|
201
201
|
cwd: options?.cwd,
|
|
202
202
|
stdio: ['pipe', 'pipe', 'pipe'],
|
|
203
|
+
shell: process.platform === 'win32',
|
|
203
204
|
});
|
|
204
205
|
// Write message to stdin for providers that read prompt from stdin (e.g. codex)
|
|
205
206
|
// Always close stdin afterwards — some CLIs (e.g. opencode) hang waiting for
|