pikakit 1.0.12 → 1.0.14

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,6 @@
1
- #!/usr/bin/env node
1
+ #!/usr/bin/env node
2
2
  /**
3
- * PikaKit CLI - Main Entry Point
3
+ * PikaKit CLI - Main Entry Point (Installation Wizard)
4
4
  * Using .mjs extension for Windows npx compatibility
5
5
  */
6
- import('./kit.mjs');
6
+ import('./install.mjs');
@@ -0,0 +1,26 @@
1
+ #!/usr/bin/env node
2
+ /**
3
+ * PikaKit Installation Wizard - Main Entry Point for npx pikakit
4
+ * Runs installation from pikakit/agent-skills by default
5
+ */
6
+ import { c, brandedIntro } from "./lib/ui.js";
7
+ import { VERSION, DEFAULT_REPO } from "./lib/config.js";
8
+
9
+ async function main() {
10
+ brandedIntro(VERSION);
11
+
12
+ try {
13
+ // Default: run installation wizard from pikakit/agent-skills
14
+ const cmdModule = await import("./lib/commands/install.js");
15
+ await cmdModule.run(DEFAULT_REPO);
16
+ } catch (err) {
17
+ console.error(c.red("\nError: " + err.message));
18
+ if (process.env.DEBUG) console.error(err.stack);
19
+ process.exit(1);
20
+ }
21
+ }
22
+
23
+ main().catch(err => {
24
+ console.error(c.red("\nFatal Error: " + err.message));
25
+ process.exit(1);
26
+ });
package/bin/kit.js CHANGED
@@ -1,3 +1,3 @@
1
1
  #!/usr/bin/env node
2
- // Backward compatibility wrapper - delegates to cli.mjs
3
- import('./cli.mjs');
2
+ // Kit CLI - delegates to kit.mjs (NOT cli.mjs which is installation wizard)
3
+ import('./kit.mjs');
package/bin/kit.mjs CHANGED
@@ -68,9 +68,9 @@ async function main() {
68
68
  const cmdModule = await import(found.config.module);
69
69
  await cmdModule.run(found.config.hasParam ? params[0] : undefined);
70
70
  } else if (command === "" || command === undefined) {
71
- // NEW: No command = default install from pikakit/agent-skills
72
- const cmdModule = await import("./lib/commands/install.js");
73
- await cmdModule.run(DEFAULT_REPO);
71
+ // No command = show help (use 'npx pikakit' for installation)
72
+ const cmdModule = await import("./lib/commands/help.js");
73
+ await cmdModule.run();
74
74
  } else if (command.includes("/")) {
75
75
  // Direct install via org/repo syntax
76
76
  const cmdModule = await import("./lib/commands/install.js");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pikakit",
3
- "version": "1.0.12",
3
+ "version": "1.0.14",
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>",
@@ -15,7 +15,7 @@
15
15
  "type": "module",
16
16
  "bin": {
17
17
  "pikakit": "./bin/cli.mjs",
18
- "kit": "./bin/cli.mjs",
18
+ "kit": "./bin/kit.js",
19
19
  "agent": "./lib/agent-cli/bin/agent.js"
20
20
  },
21
21
  "files": [