vipcare 0.3.15 → 0.3.16

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 +8 -8
  2. package/package.json +1 -1
package/bin/vip.js CHANGED
@@ -825,22 +825,22 @@ program.command('init')
825
825
  const profilesDir = profilesAnswer.trim() || defaultDir;
826
826
 
827
827
  console.log(`\n${c.cyan('AI backend preference:')}`);
828
- console.log(' 1. Auto-detect (recommended)');
829
- console.log(' 2. Claude CLI');
830
- console.log(' 3. Anthropic API');
831
- console.log(' 4. GitHub Copilot CLI');
832
- const backendAnswer = await rl.question(' > ');
828
+ console.log(' 1. Claude CLI (recommended)');
829
+ console.log(' 2. Anthropic API');
830
+ console.log(' 3. GitHub Copilot CLI');
831
+ console.log(' 4. Auto-detect');
832
+ const backendAnswer = await rl.question(' (default: 1) > ');
833
833
  const backendChoice = backendAnswer.trim() || '1';
834
834
 
835
- const backendMap = { '1': 'auto', '2': 'claude-cli', '3': 'anthropic', '4': 'copilot-cli' };
836
- const aiBackend = backendMap[backendChoice] || 'auto';
835
+ const backendMap = { '1': 'claude-cli', '2': 'anthropic', '3': 'copilot-cli', '4': 'auto' };
836
+ const aiBackend = backendMap[backendChoice] || 'claude-cli';
837
837
 
838
838
  const config = {
839
839
  profiles_dir: profilesDir.replace(/^~/, os.homedir()),
840
840
  ai_backend: aiBackend,
841
841
  };
842
842
 
843
- if (aiBackend === 'anthropic') {
843
+ if (backendChoice === '2' || aiBackend === 'anthropic') {
844
844
  const apiKey = await rl.question('\nAnthropic API key: ');
845
845
  if (apiKey.trim()) {
846
846
  config.anthropic_api_key = apiKey.trim();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vipcare",
3
- "version": "0.3.15",
3
+ "version": "0.3.16",
4
4
  "description": "Auto-build VIP person profiles from Twitter/LinkedIn public data",
5
5
  "type": "module",
6
6
  "bin": {