pikakit 3.9.2 → 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.
- package/bin/lib/commands/install.js +11 -9
- package/package.json +78 -78
|
@@ -648,15 +648,17 @@ 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
|
|
655
655
|
}
|
|
656
656
|
|
|
657
657
|
// Also install to Antigravity extensions folder by extracting VSIX
|
|
658
|
-
|
|
659
|
-
|
|
658
|
+
// Antigravity uses ~/.gemini/antigravity/ for its data (not ~/.antigravity)
|
|
659
|
+
const antigravityBase = path.join(os.homedir(), ".gemini", "antigravity");
|
|
660
|
+
const antigravityExt = path.join(antigravityBase, "extensions");
|
|
661
|
+
if (fs.existsSync(antigravityBase)) {
|
|
660
662
|
try {
|
|
661
663
|
fs.mkdirSync(antigravityExt, { recursive: true });
|
|
662
664
|
const extDest = path.join(antigravityExt, "pikakit.pikakit-skill-generator-1.0.0-universal");
|
|
@@ -676,12 +678,12 @@ export async function run(spec) {
|
|
|
676
678
|
// PowerShell Expand-Archive requires .zip extension
|
|
677
679
|
const zipPath = path.join(os.tmpdir(), "pikakit-ext.zip");
|
|
678
680
|
fs.copyFileSync(vsixPath, zipPath);
|
|
679
|
-
await execAsync(`powershell -
|
|
681
|
+
await execAsync(`powershell -Command "Expand-Archive -Path '${zipPath}' -DestinationPath '${extDest}' -Force"`, { timeout: 30000 });
|
|
680
682
|
fs.unlinkSync(zipPath);
|
|
681
683
|
} else {
|
|
682
684
|
// Use unzip on Unix
|
|
683
685
|
fs.mkdirSync(extDest, { recursive: true });
|
|
684
|
-
await execAsync(`unzip -
|
|
686
|
+
await execAsync(`unzip -o "${vsixPath}" -d "${extDest}"`, { timeout: 30000 });
|
|
685
687
|
}
|
|
686
688
|
|
|
687
689
|
// Move extension contents from extension/ subfolder to root if needed
|
|
@@ -865,17 +867,17 @@ export async function run(spec) {
|
|
|
865
867
|
if (isGlobal) {
|
|
866
868
|
cliSpinner.start(`Installing kit CLI globally(${cliPackage})`);
|
|
867
869
|
try {
|
|
868
|
-
await execAsync(`npm install -
|
|
870
|
+
await execAsync(`npm install -g ${cliPackage}`, { timeout: 120000 });
|
|
869
871
|
cliSpinner.stop("CLI installed globally");
|
|
870
872
|
step(c.dim("Command: kit"));
|
|
871
873
|
} catch (e) {
|
|
872
874
|
cliSpinner.stop(c.yellow("Global CLI installation failed"));
|
|
873
|
-
step(c.dim(`Try running manually: npm i -
|
|
875
|
+
step(c.dim(`Try running manually: npm i -g ${cliPackage}`));
|
|
874
876
|
}
|
|
875
877
|
} else {
|
|
876
878
|
cliSpinner.start(`Installing kit CLI locally(${cliPackage})`);
|
|
877
879
|
try {
|
|
878
|
-
await execAsync(`npm install -
|
|
880
|
+
await execAsync(`npm install -D ${cliPackage}`, { timeout: 120000 });
|
|
879
881
|
cliSpinner.stop("CLI installed locally");
|
|
880
882
|
|
|
881
883
|
// Add npm scripts to package.json
|
|
@@ -913,7 +915,7 @@ export async function run(spec) {
|
|
|
913
915
|
}
|
|
914
916
|
} catch (e) {
|
|
915
917
|
cliSpinner.stop(c.yellow("Local CLI installation skipped"));
|
|
916
|
-
step(c.dim(`Run manually: npm i -
|
|
918
|
+
step(c.dim(`Run manually: npm i -D ${cliPackage}`));
|
|
917
919
|
}
|
|
918
920
|
}
|
|
919
921
|
|
package/package.json
CHANGED
|
@@ -1,78 +1,78 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "pikakit",
|
|
3
|
-
"version": "3.9.
|
|
4
|
-
"description": "Enterprise-grade Agent Skill Manager with Antigravity Skills support, Progressive Disclosure detection, and semantic routing validation",
|
|
5
|
-
"license": "MIT",
|
|
6
|
-
"author": "pikakit <pikakit@gmail.com>",
|
|
7
|
-
"homepage": "https://github.com/pikakit/pikakit",
|
|
8
|
-
"repository": {
|
|
9
|
-
"type": "git",
|
|
10
|
-
"url": "git+https://github.com/pikakit/pikakit.git"
|
|
11
|
-
},
|
|
12
|
-
"bugs": {
|
|
13
|
-
"url": "https://github.com/pikakit/pikakit/issues"
|
|
14
|
-
},
|
|
15
|
-
"type": "module",
|
|
16
|
-
"bin": {
|
|
17
|
-
"pikakit": "bin/cli.mjs",
|
|
18
|
-
"kit": "bin/kit.js"
|
|
19
|
-
},
|
|
20
|
-
"files": [
|
|
21
|
-
"bin/",
|
|
22
|
-
"lib/",
|
|
23
|
-
"specs/",
|
|
24
|
-
"README.md",
|
|
25
|
-
"LICENSE"
|
|
26
|
-
],
|
|
27
|
-
"engines": {
|
|
28
|
-
"node": ">=18.0.0"
|
|
29
|
-
},
|
|
30
|
-
"keywords": [
|
|
31
|
-
"agent",
|
|
32
|
-
"ai",
|
|
33
|
-
"skills",
|
|
34
|
-
"cli",
|
|
35
|
-
"tooling",
|
|
36
|
-
"registry",
|
|
37
|
-
"security",
|
|
38
|
-
"devops",
|
|
39
|
-
"automation",
|
|
40
|
-
"antigravity"
|
|
41
|
-
],
|
|
42
|
-
"scripts": {
|
|
43
|
-
"lint": "eslint bin/",
|
|
44
|
-
"lint:fix": "eslint bin/ --fix",
|
|
45
|
-
"format": "prettier --write bin/",
|
|
46
|
-
"test": "vitest run",
|
|
47
|
-
"test:watch": "vitest",
|
|
48
|
-
"ci": "npm run lint && npm test && node bin/kit.js verify --strict && node bin/kit.js doctor --strict",
|
|
49
|
-
"agent": "agent",
|
|
50
|
-
"kit": "kit"
|
|
51
|
-
},
|
|
52
|
-
"publishConfig": {
|
|
53
|
-
"access": "public"
|
|
54
|
-
},
|
|
55
|
-
"dependencies": {
|
|
56
|
-
"@clack/core": "^0.5.0",
|
|
57
|
-
"@clack/prompts": "^0.11.0",
|
|
58
|
-
"@google/generative-ai": "^0.21.0",
|
|
59
|
-
"boxen": "^8.0.1",
|
|
60
|
-
"chalk": "^5.4.1",
|
|
61
|
-
"clipboardy": "^5.1.0",
|
|
62
|
-
"css-tree": "^3.1.0",
|
|
63
|
-
"csv-parse": "^6.1.0",
|
|
64
|
-
"dotenv": "^16.4.5",
|
|
65
|
-
"gradient-string": "^2.0.2",
|
|
66
|
-
"js-yaml": "^4.1.0",
|
|
67
|
-
"kleur": "^4.1.5",
|
|
68
|
-
"ora": "^9.1.0",
|
|
69
|
-
"picocolors": "^1.1.1",
|
|
70
|
-
"prompts": "^2.4.2"
|
|
71
|
-
},
|
|
72
|
-
"devDependencies": {
|
|
73
|
-
"eslint": "^9.39.2",
|
|
74
|
-
"pikakit": "^3.7.5",
|
|
75
|
-
"prettier": "^3.2.5",
|
|
76
|
-
"vitest": "^4.0.18"
|
|
77
|
-
}
|
|
78
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "pikakit",
|
|
3
|
+
"version": "3.9.4",
|
|
4
|
+
"description": "Enterprise-grade Agent Skill Manager with Antigravity Skills support, Progressive Disclosure detection, and semantic routing validation",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"author": "pikakit <pikakit@gmail.com>",
|
|
7
|
+
"homepage": "https://github.com/pikakit/pikakit",
|
|
8
|
+
"repository": {
|
|
9
|
+
"type": "git",
|
|
10
|
+
"url": "git+https://github.com/pikakit/pikakit.git"
|
|
11
|
+
},
|
|
12
|
+
"bugs": {
|
|
13
|
+
"url": "https://github.com/pikakit/pikakit/issues"
|
|
14
|
+
},
|
|
15
|
+
"type": "module",
|
|
16
|
+
"bin": {
|
|
17
|
+
"pikakit": "bin/cli.mjs",
|
|
18
|
+
"kit": "bin/kit.js"
|
|
19
|
+
},
|
|
20
|
+
"files": [
|
|
21
|
+
"bin/",
|
|
22
|
+
"lib/",
|
|
23
|
+
"specs/",
|
|
24
|
+
"README.md",
|
|
25
|
+
"LICENSE"
|
|
26
|
+
],
|
|
27
|
+
"engines": {
|
|
28
|
+
"node": ">=18.0.0"
|
|
29
|
+
},
|
|
30
|
+
"keywords": [
|
|
31
|
+
"agent",
|
|
32
|
+
"ai",
|
|
33
|
+
"skills",
|
|
34
|
+
"cli",
|
|
35
|
+
"tooling",
|
|
36
|
+
"registry",
|
|
37
|
+
"security",
|
|
38
|
+
"devops",
|
|
39
|
+
"automation",
|
|
40
|
+
"antigravity"
|
|
41
|
+
],
|
|
42
|
+
"scripts": {
|
|
43
|
+
"lint": "eslint bin/",
|
|
44
|
+
"lint:fix": "eslint bin/ --fix",
|
|
45
|
+
"format": "prettier --write bin/",
|
|
46
|
+
"test": "vitest run",
|
|
47
|
+
"test:watch": "vitest",
|
|
48
|
+
"ci": "npm run lint && npm test && node bin/kit.js verify --strict && node bin/kit.js doctor --strict",
|
|
49
|
+
"agent": "agent",
|
|
50
|
+
"kit": "kit"
|
|
51
|
+
},
|
|
52
|
+
"publishConfig": {
|
|
53
|
+
"access": "public"
|
|
54
|
+
},
|
|
55
|
+
"dependencies": {
|
|
56
|
+
"@clack/core": "^0.5.0",
|
|
57
|
+
"@clack/prompts": "^0.11.0",
|
|
58
|
+
"@google/generative-ai": "^0.21.0",
|
|
59
|
+
"boxen": "^8.0.1",
|
|
60
|
+
"chalk": "^5.4.1",
|
|
61
|
+
"clipboardy": "^5.1.0",
|
|
62
|
+
"css-tree": "^3.1.0",
|
|
63
|
+
"csv-parse": "^6.1.0",
|
|
64
|
+
"dotenv": "^16.4.5",
|
|
65
|
+
"gradient-string": "^2.0.2",
|
|
66
|
+
"js-yaml": "^4.1.0",
|
|
67
|
+
"kleur": "^4.1.5",
|
|
68
|
+
"ora": "^9.1.0",
|
|
69
|
+
"picocolors": "^1.1.1",
|
|
70
|
+
"prompts": "^2.4.2"
|
|
71
|
+
},
|
|
72
|
+
"devDependencies": {
|
|
73
|
+
"eslint": "^9.39.2",
|
|
74
|
+
"pikakit": "^3.7.5",
|
|
75
|
+
"prettier": "^3.2.5",
|
|
76
|
+
"vitest": "^4.0.18"
|
|
77
|
+
}
|
|
78
|
+
}
|