pikakit 1.0.2 → 1.0.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 +28 -11
- package/package.json +79 -79
|
@@ -251,7 +251,7 @@ export async function run(spec) {
|
|
|
251
251
|
|
|
252
252
|
// Show only categories, not individual skills
|
|
253
253
|
const selectedCategories = await multiselect({
|
|
254
|
-
message: `${c.cyan("space")} select
|
|
254
|
+
message: `${c.cyan("space")} select · ${c.cyan("enter")} confirm`,
|
|
255
255
|
options: sortedCategories.map(cat => ({
|
|
256
256
|
label: `${cat} (${grouped[cat].length} skills)`,
|
|
257
257
|
value: cat,
|
|
@@ -697,7 +697,7 @@ export async function run(spec) {
|
|
|
697
697
|
// Install CLI package
|
|
698
698
|
stepLine();
|
|
699
699
|
const cliSpinner = spinner();
|
|
700
|
-
const cliPackage = "
|
|
700
|
+
const cliPackage = "pikakit";
|
|
701
701
|
|
|
702
702
|
if (isGlobal) {
|
|
703
703
|
if (installAutoLearn) {
|
|
@@ -754,25 +754,42 @@ export async function run(spec) {
|
|
|
754
754
|
// Create wrapper scripts for direct command access (Windows + Unix)
|
|
755
755
|
try {
|
|
756
756
|
const projectRoot = process.cwd();
|
|
757
|
+
const binDir = path.join(projectRoot, "node_modules", ".bin");
|
|
757
758
|
|
|
758
|
-
// Always create kit wrappers
|
|
759
|
-
const kitCmd = `@echo off\nnode "%~dp0node_modules\\
|
|
760
|
-
const kitSh = `#!/bin/sh\nnode "$(dirname "$0")/node_modules/
|
|
759
|
+
// Always create kit wrappers at project root
|
|
760
|
+
const kitCmd = `@echo off\nnode "%~dp0node_modules\\pikakit\\bin\\kit.js" %*`;
|
|
761
|
+
const kitSh = `#!/bin/sh\nnode "$(dirname "$0")/node_modules/pikakit/bin/kit.js" "$@"`;
|
|
761
762
|
fs.writeFileSync(path.join(projectRoot, "kit.cmd"), kitCmd);
|
|
762
763
|
fs.writeFileSync(path.join(projectRoot, "kit"), kitSh, { mode: 0o755 });
|
|
763
764
|
|
|
765
|
+
// Also create in node_modules/.bin for npx support
|
|
766
|
+
if (fs.existsSync(binDir)) {
|
|
767
|
+
const kitBinCmd = `@echo off\nnode "%~dp0..\\pikakit\\bin\\kit.js" %*`;
|
|
768
|
+
const kitBinSh = `#!/bin/sh\nnode "$(dirname "$0")/../pikakit/bin/kit.js" "$@"`;
|
|
769
|
+
fs.writeFileSync(path.join(binDir, "kit.cmd"), kitBinCmd);
|
|
770
|
+
fs.writeFileSync(path.join(binDir, "kit"), kitBinSh, { mode: 0o755 });
|
|
771
|
+
}
|
|
772
|
+
|
|
764
773
|
if (installAutoLearn) {
|
|
765
774
|
// Create agent wrappers only if AutoLearn enabled
|
|
766
|
-
const agentCmd = `@echo off\nnode "%~dp0node_modules\\
|
|
767
|
-
const agentSh = `#!/bin/sh\nnode "$(dirname "$0")/node_modules/
|
|
775
|
+
const agentCmd = `@echo off\nnode "%~dp0node_modules\\pikakit\\lib\\agent-cli\\bin\\agent.js" %*`;
|
|
776
|
+
const agentSh = `#!/bin/sh\nnode "$(dirname "$0")/node_modules/pikakit/lib/agent-cli/bin/agent.js" "$@"`;
|
|
768
777
|
fs.writeFileSync(path.join(projectRoot, "agent.cmd"), agentCmd);
|
|
769
778
|
fs.writeFileSync(path.join(projectRoot, "agent"), agentSh, { mode: 0o755 });
|
|
770
779
|
|
|
771
|
-
|
|
772
|
-
|
|
780
|
+
// Also create in node_modules/.bin for npx support
|
|
781
|
+
if (fs.existsSync(binDir)) {
|
|
782
|
+
const agentBinCmd = `@echo off\nnode "%~dp0..\\pikakit\\lib\\agent-cli\\bin\\agent.js" %*`;
|
|
783
|
+
const agentBinSh = `#!/bin/sh\nnode "$(dirname "$0")/../pikakit/lib/agent-cli/bin/agent.js" "$@"`;
|
|
784
|
+
fs.writeFileSync(path.join(binDir, "agent.cmd"), agentBinCmd);
|
|
785
|
+
fs.writeFileSync(path.join(binDir, "agent"), agentBinSh, { mode: 0o755 });
|
|
786
|
+
}
|
|
787
|
+
|
|
788
|
+
step(c.green("✔ Created wrapper scripts: agent, kit"));
|
|
789
|
+
step(c.dim("Run: npx agent | npx kit | .\\agent | .\\kit (Windows)"));
|
|
773
790
|
} else {
|
|
774
|
-
step(c.green("
|
|
775
|
-
step(c.dim("Run
|
|
791
|
+
step(c.green("✔ Created wrapper script: kit"));
|
|
792
|
+
step(c.dim("Run: npx kit | .\\kit (Windows)"));
|
|
776
793
|
}
|
|
777
794
|
} catch (wrapperErr) {
|
|
778
795
|
step(c.dim("Run: npx kit"));
|
package/package.json
CHANGED
|
@@ -1,79 +1,79 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "pikakit",
|
|
3
|
-
"version": "1.0.
|
|
4
|
-
"description": "Enterprise-grade Agent Skill Manager with Antigravity Skills support, Progressive Disclosure detection, and semantic routing validation",
|
|
5
|
-
"license": "MIT",
|
|
6
|
-
"author": "agentskillkit <agentskillkit@gmail.com>",
|
|
7
|
-
"homepage": "https://github.com/agentskillkit/pikakit",
|
|
8
|
-
"repository": {
|
|
9
|
-
"type": "git",
|
|
10
|
-
"url": "https://github.com/agentskillkit/pikakit.git"
|
|
11
|
-
},
|
|
12
|
-
"bugs": {
|
|
13
|
-
"url": "https://github.com/agentskillkit/pikakit/issues"
|
|
14
|
-
},
|
|
15
|
-
"type": "module",
|
|
16
|
-
"bin": {
|
|
17
|
-
"pikakit": "./bin/cli.mjs",
|
|
18
|
-
"kit": "./bin/cli.mjs",
|
|
19
|
-
"agent": "./lib/agent-cli/bin/agent.js"
|
|
20
|
-
},
|
|
21
|
-
"files": [
|
|
22
|
-
"bin/",
|
|
23
|
-
"lib/",
|
|
24
|
-
"specs/",
|
|
25
|
-
"README.md",
|
|
26
|
-
"LICENSE"
|
|
27
|
-
],
|
|
28
|
-
"types": "./lib/agent-cli/types/index.d.ts",
|
|
29
|
-
"engines": {
|
|
30
|
-
"node": ">=18.0.0"
|
|
31
|
-
},
|
|
32
|
-
"keywords": [
|
|
33
|
-
"agent",
|
|
34
|
-
"ai",
|
|
35
|
-
"skills",
|
|
36
|
-
"cli",
|
|
37
|
-
"tooling",
|
|
38
|
-
"registry",
|
|
39
|
-
"security",
|
|
40
|
-
"devops",
|
|
41
|
-
"automation",
|
|
42
|
-
"antigravity"
|
|
43
|
-
],
|
|
44
|
-
"scripts": {
|
|
45
|
-
"lint": "eslint bin/",
|
|
46
|
-
"lint:fix": "eslint bin/ --fix",
|
|
47
|
-
"format": "prettier --write bin/",
|
|
48
|
-
"test": "vitest run",
|
|
49
|
-
"test:watch": "vitest",
|
|
50
|
-
"ci": "npm run lint && npm test && node bin/kit.js verify --strict && node bin/kit.js doctor --strict",
|
|
51
|
-
"agent": "agent"
|
|
52
|
-
},
|
|
53
|
-
"publishConfig": {
|
|
54
|
-
"access": "public"
|
|
55
|
-
},
|
|
56
|
-
"dependencies": {
|
|
57
|
-
"@clack/core": "^0.5.0",
|
|
58
|
-
"@clack/prompts": "^0.11.0",
|
|
59
|
-
"@google/generative-ai": "^0.21.0",
|
|
60
|
-
"boxen": "^8.0.1",
|
|
61
|
-
"chalk": "^5.4.1",
|
|
62
|
-
"clipboardy": "^5.1.0",
|
|
63
|
-
"csv-parse": "^6.1.0",
|
|
64
|
-
"css-tree": "^3.1.0",
|
|
65
|
-
"dotenv": "^16.4.5",
|
|
66
|
-
"gradient-string": "^2.0.2",
|
|
67
|
-
"js-yaml": "^4.1.0",
|
|
68
|
-
"kleur": "^4.1.5",
|
|
69
|
-
"ora": "^9.1.0",
|
|
70
|
-
"picocolors": "^1.1.1",
|
|
71
|
-
"prompts": "^2.4.2"
|
|
72
|
-
},
|
|
73
|
-
"devDependencies": {
|
|
74
|
-
"agentskillskit-cli": "^3.2.0",
|
|
75
|
-
"eslint": "^8.57.0",
|
|
76
|
-
"prettier": "^3.2.5",
|
|
77
|
-
"vitest": "^4.0.18"
|
|
78
|
-
}
|
|
79
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "pikakit",
|
|
3
|
+
"version": "1.0.4",
|
|
4
|
+
"description": "Enterprise-grade Agent Skill Manager with Antigravity Skills support, Progressive Disclosure detection, and semantic routing validation",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"author": "agentskillkit <agentskillkit@gmail.com>",
|
|
7
|
+
"homepage": "https://github.com/agentskillkit/pikakit",
|
|
8
|
+
"repository": {
|
|
9
|
+
"type": "git",
|
|
10
|
+
"url": "https://github.com/agentskillkit/pikakit.git"
|
|
11
|
+
},
|
|
12
|
+
"bugs": {
|
|
13
|
+
"url": "https://github.com/agentskillkit/pikakit/issues"
|
|
14
|
+
},
|
|
15
|
+
"type": "module",
|
|
16
|
+
"bin": {
|
|
17
|
+
"pikakit": "./bin/cli.mjs",
|
|
18
|
+
"kit": "./bin/cli.mjs",
|
|
19
|
+
"agent": "./lib/agent-cli/bin/agent.js"
|
|
20
|
+
},
|
|
21
|
+
"files": [
|
|
22
|
+
"bin/",
|
|
23
|
+
"lib/",
|
|
24
|
+
"specs/",
|
|
25
|
+
"README.md",
|
|
26
|
+
"LICENSE"
|
|
27
|
+
],
|
|
28
|
+
"types": "./lib/agent-cli/types/index.d.ts",
|
|
29
|
+
"engines": {
|
|
30
|
+
"node": ">=18.0.0"
|
|
31
|
+
},
|
|
32
|
+
"keywords": [
|
|
33
|
+
"agent",
|
|
34
|
+
"ai",
|
|
35
|
+
"skills",
|
|
36
|
+
"cli",
|
|
37
|
+
"tooling",
|
|
38
|
+
"registry",
|
|
39
|
+
"security",
|
|
40
|
+
"devops",
|
|
41
|
+
"automation",
|
|
42
|
+
"antigravity"
|
|
43
|
+
],
|
|
44
|
+
"scripts": {
|
|
45
|
+
"lint": "eslint bin/",
|
|
46
|
+
"lint:fix": "eslint bin/ --fix",
|
|
47
|
+
"format": "prettier --write bin/",
|
|
48
|
+
"test": "vitest run",
|
|
49
|
+
"test:watch": "vitest",
|
|
50
|
+
"ci": "npm run lint && npm test && node bin/kit.js verify --strict && node bin/kit.js doctor --strict",
|
|
51
|
+
"agent": "agent"
|
|
52
|
+
},
|
|
53
|
+
"publishConfig": {
|
|
54
|
+
"access": "public"
|
|
55
|
+
},
|
|
56
|
+
"dependencies": {
|
|
57
|
+
"@clack/core": "^0.5.0",
|
|
58
|
+
"@clack/prompts": "^0.11.0",
|
|
59
|
+
"@google/generative-ai": "^0.21.0",
|
|
60
|
+
"boxen": "^8.0.1",
|
|
61
|
+
"chalk": "^5.4.1",
|
|
62
|
+
"clipboardy": "^5.1.0",
|
|
63
|
+
"csv-parse": "^6.1.0",
|
|
64
|
+
"css-tree": "^3.1.0",
|
|
65
|
+
"dotenv": "^16.4.5",
|
|
66
|
+
"gradient-string": "^2.0.2",
|
|
67
|
+
"js-yaml": "^4.1.0",
|
|
68
|
+
"kleur": "^4.1.5",
|
|
69
|
+
"ora": "^9.1.0",
|
|
70
|
+
"picocolors": "^1.1.1",
|
|
71
|
+
"prompts": "^2.4.2"
|
|
72
|
+
},
|
|
73
|
+
"devDependencies": {
|
|
74
|
+
"agentskillskit-cli": "^3.2.0",
|
|
75
|
+
"eslint": "^8.57.0",
|
|
76
|
+
"prettier": "^3.2.5",
|
|
77
|
+
"vitest": "^4.0.18"
|
|
78
|
+
}
|
|
79
|
+
}
|