vipcare 0.3.5 → 0.3.7
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/vip.js +6 -10
- package/lib/config.js +1 -1
- package/package.json +1 -1
package/bin/vip.js
CHANGED
|
@@ -763,7 +763,7 @@ program.command('init')
|
|
|
763
763
|
try {
|
|
764
764
|
console.log(c.bold(c.cyan('\nWelcome to VIPCare!\n')));
|
|
765
765
|
|
|
766
|
-
const defaultDir = path.join(os.homedir(), '
|
|
766
|
+
const defaultDir = path.join(os.homedir(), '.vip', 'profiles');
|
|
767
767
|
const profilesAnswer = await rl.question(`Where should profiles be stored?\n (default: ${defaultDir}) > `);
|
|
768
768
|
const profilesDir = profilesAnswer.trim() || defaultDir;
|
|
769
769
|
|
|
@@ -801,19 +801,15 @@ program.command('init')
|
|
|
801
801
|
const { CONFIG_FILE: cfgPath } = await import('../lib/config.js');
|
|
802
802
|
console.log(c.green(`\nConfig saved to ${cfgPath}`));
|
|
803
803
|
|
|
804
|
-
// Install Claude Code skill
|
|
804
|
+
// Install Claude Code skill by default
|
|
805
805
|
const skillSrc = new URL('../skill/vip.md', import.meta.url);
|
|
806
806
|
const skillDest = path.join(os.homedir(), '.claude', 'commands', 'vip.md');
|
|
807
807
|
|
|
808
808
|
if (fs.existsSync(new URL(skillSrc).pathname)) {
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
fs.copyFileSync(new URL(skillSrc).pathname, skillDest);
|
|
814
|
-
console.log(c.green(` Installed: ${skillDest}`));
|
|
815
|
-
console.log(c.dim(' Use /vip in Claude Code to manage profiles with natural language'));
|
|
816
|
-
}
|
|
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'));
|
|
817
813
|
}
|
|
818
814
|
|
|
819
815
|
console.log(`\nYou're ready! Try: ${c.cyan('vip add "Sam Altman" --company "OpenAI"')}\n`);
|
package/lib/config.js
CHANGED
|
@@ -10,7 +10,7 @@ const CHANGELOG_FILE = path.join(CONFIG_DIR, 'changelog.jsonl');
|
|
|
10
10
|
const TRANSCRIPTS_DIR = path.join(CONFIG_DIR, 'transcripts');
|
|
11
11
|
|
|
12
12
|
const DEFAULT_CONFIG = {
|
|
13
|
-
profiles_dir: path.join(os.homedir(), '
|
|
13
|
+
profiles_dir: path.join(os.homedir(), '.vip', 'profiles'),
|
|
14
14
|
monitor_interval_hours: 24,
|
|
15
15
|
youtube_transcriber_path: path.join(os.homedir(), '.claude', 'skills', 'youtube-transcribe', 'youtube_transcriber.py'),
|
|
16
16
|
whisper_model: 'base',
|