vipcare 0.3.4 → 0.3.6

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.
Files changed (2) hide show
  1. package/bin/vip.js +6 -9
  2. package/package.json +1 -1
package/bin/vip.js CHANGED
@@ -3,6 +3,7 @@
3
3
  import { Command } from 'commander';
4
4
  import fs from 'fs';
5
5
  import os from 'os';
6
+ import path from 'path';
6
7
  import readline from 'readline/promises';
7
8
  import { execFileSync } from 'child_process';
8
9
  import { checkTool, getProfilesDir, loadConfig, saveConfig } from '../lib/config.js';
@@ -800,19 +801,15 @@ program.command('init')
800
801
  const { CONFIG_FILE: cfgPath } = await import('../lib/config.js');
801
802
  console.log(c.green(`\nConfig saved to ${cfgPath}`));
802
803
 
803
- // Install Claude Code skill
804
+ // Install Claude Code skill by default
804
805
  const skillSrc = new URL('../skill/vip.md', import.meta.url);
805
806
  const skillDest = path.join(os.homedir(), '.claude', 'commands', 'vip.md');
806
807
 
807
808
  if (fs.existsSync(new URL(skillSrc).pathname)) {
808
- console.log(`\n${c.cyan('Claude Code /vip skill:')}`);
809
- const installSkill = await rl.question(` Install /vip slash command for Claude Code? (Y/n) > `);
810
- if (!installSkill.trim() || installSkill.trim().toLowerCase().startsWith('y')) {
811
- fs.mkdirSync(path.dirname(skillDest), { recursive: true });
812
- fs.copyFileSync(new URL(skillSrc).pathname, skillDest);
813
- console.log(c.green(` Installed: ${skillDest}`));
814
- console.log(c.dim(' Use /vip in Claude Code to manage profiles with natural language'));
815
- }
809
+ fs.mkdirSync(path.dirname(skillDest), { recursive: true });
810
+ fs.copyFileSync(new URL(skillSrc).pathname, skillDest);
811
+ console.log(c.green(`\n/vip skill installed: ${skillDest}`));
812
+ console.log(c.dim(' Use /vip in Claude Code to manage profiles with natural language'));
816
813
  }
817
814
 
818
815
  console.log(`\nYou're ready! Try: ${c.cyan('vip add "Sam Altman" --company "OpenAI"')}\n`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vipcare",
3
- "version": "0.3.4",
3
+ "version": "0.3.6",
4
4
  "description": "Auto-build VIP person profiles from Twitter/LinkedIn public data",
5
5
  "type": "module",
6
6
  "bin": {