pikakit 3.7.2 → 3.7.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/cli.mjs CHANGED
@@ -1,6 +1,29 @@
1
- #!/usr/bin/env node
1
+ #!/usr/bin/env node
2
2
  /**
3
- * PikaKit CLI - Main Entry Point (Installation Wizard)
3
+ * PikaKit CLI - Main Entry Point
4
+ * Routes to install wizard or kit commands
4
5
  * Using .mjs extension for Windows npx compatibility
5
6
  */
6
- import('./install.mjs');
7
+
8
+ const args = process.argv.slice(2);
9
+ const firstArg = args[0] || '';
10
+
11
+ // List of commands that should go to kit.mjs (not installer)
12
+ const kitCommands = [
13
+ 'uninstall', 'remove', 'rm',
14
+ 'update',
15
+ 'init', 'list', 'ls',
16
+ 'lock', 'cache',
17
+ 'verify', 'doctor', 'validate', 'check', 'analyze',
18
+ 'info', 'show',
19
+ 'help', '--help', '-h',
20
+ '--version', '-V'
21
+ ];
22
+
23
+ if (kitCommands.includes(firstArg)) {
24
+ // Route to kit commands
25
+ import('./kit.mjs');
26
+ } else {
27
+ // Default: installation wizard (no args or org/repo syntax)
28
+ import('./install.mjs');
29
+ }
@@ -764,7 +764,7 @@ export async function run(spec) {
764
764
  // Install CLI package
765
765
  stepLine();
766
766
  const cliSpinner = spinner();
767
- const cliPackage = "add-skill-kit";
767
+ const cliPackage = "pikakit";
768
768
 
769
769
  if (isGlobal) {
770
770
  cliSpinner.start(`Installing kit CLI globally (${cliPackage})`);
@@ -805,8 +805,8 @@ export async function run(spec) {
805
805
  const projectRoot = process.cwd();
806
806
 
807
807
  // Always create kit wrappers
808
- const kitCmd = `@echo off\nnode "%~dp0node_modules\\add-skill-kit\\bin\\kit.js" %*`;
809
- const kitSh = `#!/bin/sh\nnode "$(dirname "$0")/node_modules/add-skill-kit/bin/kit.js" "$@"`;
808
+ const kitCmd = `@echo off\nnode "%~dp0node_modules\\pikakit\\bin\\kit.js" %*`;
809
+ const kitSh = `#!/bin/sh\nnode "$(dirname "$0")/node_modules/pikakit/bin/kit.js" "$@"`;
810
810
  fs.writeFileSync(path.join(projectRoot, "kit.cmd"), kitCmd);
811
811
  fs.writeFileSync(path.join(projectRoot, "kit"), kitSh, { mode: 0o755 });
812
812
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pikakit",
3
- "version": "3.7.2",
3
+ "version": "3.7.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>",