pikakit 3.9.6 → 3.9.7
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/bin/lib/commands/install.js +19 -15
- package/package.json +1 -1
|
@@ -646,23 +646,27 @@ export async function run(spec) {
|
|
|
646
646
|
if (vsixPath && fs.existsSync(vsixPath)) {
|
|
647
647
|
let installedTo = [];
|
|
648
648
|
|
|
649
|
-
//
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
649
|
+
// List of VS Code-based IDEs with their CLI commands and config paths
|
|
650
|
+
const vsCodeBasedIDEs = [
|
|
651
|
+
{ name: "VS Code", cli: "code", configPath: null },
|
|
652
|
+
{ name: "Cursor", cli: "cursor", configPath: path.join(os.homedir(), ".cursor") },
|
|
653
|
+
{ name: "Windsurf", cli: "windsurf", configPath: path.join(os.homedir(), ".windsurf") },
|
|
654
|
+
{ name: "Codium", cli: "codium", configPath: path.join(os.homedir(), ".vscode-oss") },
|
|
655
|
+
{ name: "Positron", cli: "positron", configPath: path.join(os.homedir(), ".positron") },
|
|
656
|
+
{ name: "Antigravity", cli: "antigravity", configPath: path.join(os.homedir(), ".gemini", "antigravity") }
|
|
657
|
+
];
|
|
658
|
+
|
|
659
|
+
// Try to install on each detected IDE
|
|
660
|
+
for (const ide of vsCodeBasedIDEs) {
|
|
660
661
|
try {
|
|
661
|
-
//
|
|
662
|
-
|
|
663
|
-
|
|
662
|
+
// Check if IDE config exists or if CLI is available
|
|
663
|
+
const hasConfig = ide.configPath && fs.existsSync(ide.configPath);
|
|
664
|
+
|
|
665
|
+
// Try to install via CLI
|
|
666
|
+
await execAsync(`${ide.cli} --install-extension "${vsixPath}"`, { timeout: 30000 });
|
|
667
|
+
installedTo.push(ide.name);
|
|
664
668
|
} catch {
|
|
665
|
-
//
|
|
669
|
+
// IDE not available or CLI failed, continue to next
|
|
666
670
|
}
|
|
667
671
|
}
|
|
668
672
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pikakit",
|
|
3
|
-
"version": "3.9.
|
|
3
|
+
"version": "3.9.7",
|
|
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>",
|