pikakit 3.7.3 → 3.7.5

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
+ }
package/bin/lib/ui.js CHANGED
@@ -196,19 +196,19 @@ export async function selectAgentsPrompt(detectedAgents) {
196
196
  return null;
197
197
  }
198
198
 
199
- // First ask: All detected or select specific?
199
+ // First ask: Select specific or all detected?
200
200
  const installChoice = await select({
201
201
  message: "Install to",
202
202
  options: [
203
- {
204
- value: "all",
205
- label: `All detected agents (Recommended)`,
206
- hint: `Install to all ${detectedAgents.length} detected agents`
207
- },
208
203
  {
209
204
  value: "select",
210
205
  label: "Select specific agents",
211
206
  hint: "Choose which agents to install to"
207
+ },
208
+ {
209
+ value: "all",
210
+ label: `All detected agents`,
211
+ hint: `Install to all ${detectedAgents.length} detected agents`
212
212
  }
213
213
  ]
214
214
  });
@@ -222,7 +222,13 @@ export async function selectAgentsPrompt(detectedAgents) {
222
222
  return detectedAgents;
223
223
  }
224
224
 
225
- // Let user select specific agents
225
+ // Find Antigravity index for pre-selection
226
+ const antigravityAgent = detectedAgents.find(a =>
227
+ a.name.toLowerCase().includes('antigravity') ||
228
+ a.displayName.toLowerCase().includes('antigravity')
229
+ );
230
+
231
+ // Let user select specific agents (Antigravity pre-selected if found)
226
232
  const selectedAgents = await multiselect({
227
233
  message: "Select agents to install skills to",
228
234
  options: detectedAgents.map(agent => ({
@@ -230,6 +236,7 @@ export async function selectAgentsPrompt(detectedAgents) {
230
236
  label: agent.displayName,
231
237
  hint: agent.skillsDir
232
238
  })),
239
+ initialValues: antigravityAgent ? [antigravityAgent.name] : [],
233
240
  required: true
234
241
  });
235
242
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pikakit",
3
- "version": "3.7.3",
3
+ "version": "3.7.5",
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>",