pikakit 1.0.13 → 1.0.15

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
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
- #!/usr/bin/env node
1
+ #!/usr/bin/env node
2
2
  // Kit CLI - delegates to kit.mjs (NOT cli.mjs which is installation wizard)
3
3
  import('./kit.mjs');