pikakit 3.9.3 → 3.9.4
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.
|
@@ -648,7 +648,7 @@ export async function run(spec) {
|
|
|
648
648
|
|
|
649
649
|
// Install to VS Code
|
|
650
650
|
try {
|
|
651
|
-
await execAsync(`code--install
|
|
651
|
+
await execAsync(`code --install-extension "${vsixPath}"`, { timeout: 30000 });
|
|
652
652
|
installedTo.push("VS Code");
|
|
653
653
|
} catch {
|
|
654
654
|
// VS Code not available, continue
|
|
@@ -678,12 +678,12 @@ export async function run(spec) {
|
|
|
678
678
|
// PowerShell Expand-Archive requires .zip extension
|
|
679
679
|
const zipPath = path.join(os.tmpdir(), "pikakit-ext.zip");
|
|
680
680
|
fs.copyFileSync(vsixPath, zipPath);
|
|
681
|
-
await execAsync(`powershell -
|
|
681
|
+
await execAsync(`powershell -Command "Expand-Archive -Path '${zipPath}' -DestinationPath '${extDest}' -Force"`, { timeout: 30000 });
|
|
682
682
|
fs.unlinkSync(zipPath);
|
|
683
683
|
} else {
|
|
684
684
|
// Use unzip on Unix
|
|
685
685
|
fs.mkdirSync(extDest, { recursive: true });
|
|
686
|
-
await execAsync(`unzip -
|
|
686
|
+
await execAsync(`unzip -o "${vsixPath}" -d "${extDest}"`, { timeout: 30000 });
|
|
687
687
|
}
|
|
688
688
|
|
|
689
689
|
// Move extension contents from extension/ subfolder to root if needed
|
|
@@ -867,17 +867,17 @@ export async function run(spec) {
|
|
|
867
867
|
if (isGlobal) {
|
|
868
868
|
cliSpinner.start(`Installing kit CLI globally(${cliPackage})`);
|
|
869
869
|
try {
|
|
870
|
-
await execAsync(`npm install -
|
|
870
|
+
await execAsync(`npm install -g ${cliPackage}`, { timeout: 120000 });
|
|
871
871
|
cliSpinner.stop("CLI installed globally");
|
|
872
872
|
step(c.dim("Command: kit"));
|
|
873
873
|
} catch (e) {
|
|
874
874
|
cliSpinner.stop(c.yellow("Global CLI installation failed"));
|
|
875
|
-
step(c.dim(`Try running manually: npm i -
|
|
875
|
+
step(c.dim(`Try running manually: npm i -g ${cliPackage}`));
|
|
876
876
|
}
|
|
877
877
|
} else {
|
|
878
878
|
cliSpinner.start(`Installing kit CLI locally(${cliPackage})`);
|
|
879
879
|
try {
|
|
880
|
-
await execAsync(`npm install -
|
|
880
|
+
await execAsync(`npm install -D ${cliPackage}`, { timeout: 120000 });
|
|
881
881
|
cliSpinner.stop("CLI installed locally");
|
|
882
882
|
|
|
883
883
|
// Add npm scripts to package.json
|
|
@@ -915,7 +915,7 @@ export async function run(spec) {
|
|
|
915
915
|
}
|
|
916
916
|
} catch (e) {
|
|
917
917
|
cliSpinner.stop(c.yellow("Local CLI installation skipped"));
|
|
918
|
-
step(c.dim(`Run manually: npm i -
|
|
918
|
+
step(c.dim(`Run manually: npm i -D ${cliPackage}`));
|
|
919
919
|
}
|
|
920
920
|
}
|
|
921
921
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pikakit",
|
|
3
|
-
"version": "3.9.
|
|
3
|
+
"version": "3.9.4",
|
|
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>",
|