fraim 2.0.136 → 2.0.137
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.
|
@@ -261,8 +261,10 @@ function hubCommandVersion(command) {
|
|
|
261
261
|
}
|
|
262
262
|
function hubRunProcess(command, args, env) {
|
|
263
263
|
return new Promise((resolve, reject) => {
|
|
264
|
-
const
|
|
265
|
-
|
|
264
|
+
const [realCmd, realArgs] = process.platform === 'win32'
|
|
265
|
+
? ['cmd.exe', ['/d', '/s', '/c', command, ...args]]
|
|
266
|
+
: [command, args];
|
|
267
|
+
const child = (0, child_process_1.spawn)(realCmd, realArgs, {
|
|
266
268
|
env: { ...process.env, ...env },
|
|
267
269
|
stdio: ['ignore', 'pipe', 'pipe'],
|
|
268
270
|
});
|
|
@@ -62,13 +62,10 @@ const detectWindsurf = () => {
|
|
|
62
62
|
return checkMultiplePaths(paths);
|
|
63
63
|
};
|
|
64
64
|
const detectGeminiCli = () => {
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
'~/.config/gemini/settings.json'
|
|
70
|
-
];
|
|
71
|
-
return checkMultiplePaths(paths) || availableByVersionProbe('gemini');
|
|
65
|
+
// Require the binary to be in PATH. The ~/.gemini directory alone is not
|
|
66
|
+
// sufficient — it exists when only Antigravity or other Gemini-adjacent
|
|
67
|
+
// tools are installed, which would produce a false positive.
|
|
68
|
+
return availableByVersionProbe('gemini');
|
|
72
69
|
};
|
|
73
70
|
exports.IDE_CONFIGS = [
|
|
74
71
|
{
|
|
@@ -168,7 +165,7 @@ exports.IDE_CONFIGS = [
|
|
|
168
165
|
configFormat: 'toml',
|
|
169
166
|
configType: 'codex',
|
|
170
167
|
invocationProfile: 'codex-skill',
|
|
171
|
-
detectMethod: () =>
|
|
168
|
+
detectMethod: () => availableByVersionProbe('codex'),
|
|
172
169
|
description: 'Codex AI development environment'
|
|
173
170
|
},
|
|
174
171
|
{
|