pikakit 3.9.69 → 3.9.70
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.
|
@@ -287,6 +287,31 @@ export async function run(spec) {
|
|
|
287
287
|
let detectedIDEs = [];
|
|
288
288
|
|
|
289
289
|
if (fs.existsSync(vsixDir)) {
|
|
290
|
+
// Fallback paths when CLI is not on PATH
|
|
291
|
+
const localApps = process.env.LOCALAPPDATA || path.join(home, "AppData", "Local");
|
|
292
|
+
const fallbackPaths = {
|
|
293
|
+
"code": [
|
|
294
|
+
path.join(localApps, "Programs", "Microsoft VS Code", "bin", "code.cmd"),
|
|
295
|
+
"/usr/bin/code",
|
|
296
|
+
"/Applications/Visual Studio Code.app/Contents/Resources/app/bin/code"
|
|
297
|
+
],
|
|
298
|
+
"cursor": [
|
|
299
|
+
path.join(localApps, "Programs", "cursor", "resources", "app", "bin", "cursor.cmd"),
|
|
300
|
+
path.join(home, ".local", "bin", "cursor"),
|
|
301
|
+
"/Applications/Cursor.app/Contents/Resources/app/bin/cursor"
|
|
302
|
+
],
|
|
303
|
+
"windsurf": [
|
|
304
|
+
path.join(localApps, "Programs", "Windsurf", "bin", "windsurf.cmd"),
|
|
305
|
+
"/usr/bin/windsurf",
|
|
306
|
+
"/Applications/Windsurf.app/Contents/Resources/app/bin/windsurf"
|
|
307
|
+
],
|
|
308
|
+
"antigravity": [
|
|
309
|
+
path.join(localApps, "Programs", "Antigravity", "bin", "antigravity.cmd"),
|
|
310
|
+
"/usr/bin/antigravity",
|
|
311
|
+
"/Applications/Antigravity.app/Contents/Resources/app/bin/antigravity"
|
|
312
|
+
]
|
|
313
|
+
};
|
|
314
|
+
|
|
290
315
|
const vsCodeBasedIDEs = [
|
|
291
316
|
{ name: "VS Code", cli: "code" },
|
|
292
317
|
{ name: "Cursor", cli: "cursor" },
|
|
@@ -298,7 +323,16 @@ export async function run(spec) {
|
|
|
298
323
|
try {
|
|
299
324
|
await execAsync(`${ide.cli} --version`, { timeout: 5000 });
|
|
300
325
|
detectedIDEs.push(ide);
|
|
301
|
-
} catch {
|
|
326
|
+
} catch {
|
|
327
|
+
// Fallback: check known installation paths
|
|
328
|
+
const paths = fallbackPaths[ide.cli] || [];
|
|
329
|
+
const found = paths.find(p => fs.existsSync(p));
|
|
330
|
+
if (found) {
|
|
331
|
+
// Use the full path as CLI for extension installation
|
|
332
|
+
ide.cli = `"${found}"`;
|
|
333
|
+
detectedIDEs.push(ide);
|
|
334
|
+
}
|
|
335
|
+
}
|
|
302
336
|
}
|
|
303
337
|
|
|
304
338
|
if (detectedIDEs.length > 0) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pikakit",
|
|
3
|
-
"version": "3.9.
|
|
3
|
+
"version": "3.9.70",
|
|
4
4
|
"description": "Enterprise-grade Agent Skill Manager with Antigravity Skills support, Progressive Disclosure detection, and semantic routing validation",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "pikakit <pikakit@gmail.com>",
|
|
Binary file
|