vipcare 0.3.24 → 0.3.25

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 +19 -6
  2. package/package.json +1 -1
package/bin/vip.js CHANGED
@@ -861,18 +861,31 @@ program.command('config')
861
861
  .option('--json', 'Output as JSON')
862
862
  .action((opts) => {
863
863
  const cfg = loadConfig();
864
+
865
+ const toolStatus = {
866
+ bird: checkTool('bird'),
867
+ ddgs: (() => { try { execFileSync('python3', ['-c', 'import ddgs'], { stdio: 'ignore', timeout: 5000 }); return true; } catch { return checkTool('ddgs'); } })(),
868
+ claude: checkTool('claude'),
869
+ 'yt-dlp': checkTool('yt-dlp'),
870
+ whisper: (() => { try { execFileSync('python3', ['-c', 'import whisper'], { stdio: 'ignore', timeout: 5000 }); return true; } catch { return checkTool('whisper'); } })(),
871
+ ai_backend: getBackendName(),
872
+ };
873
+
864
874
  if (opts.json) {
865
- console.log(JSON.stringify({
866
- ...cfg,
867
- tools: { bird: checkTool('bird'), ai_backend: getBackendName() }
868
- }, null, 2));
875
+ console.log(JSON.stringify({ ...cfg, tools: toolStatus }, null, 2));
869
876
  return;
870
877
  }
871
878
  console.log(c.bold(c.cyan('Current config:')));
872
879
  console.log(` Profiles dir: ${cfg.profiles_dir}`);
873
880
  console.log(` Monitor interval: ${cfg.monitor_interval_hours}h`);
874
- console.log(` Bird CLI: ${checkTool('bird') ? c.green('available') : c.red('not found')}`);
875
- console.log(` AI backend: ${(() => { const b = getBackendName(); return b !== 'none' ? c.green(b) : c.red('not found'); })()}`);
881
+ console.log();
882
+ const ok = (v) => v ? c.green('available') : c.red('not found');
883
+ console.log(` Bird CLI: ${ok(toolStatus.bird)}`);
884
+ console.log(` DDGS: ${ok(toolStatus.ddgs)}`);
885
+ console.log(` Claude CLI: ${ok(toolStatus.claude)}`);
886
+ console.log(` yt-dlp: ${ok(toolStatus['yt-dlp'])}`);
887
+ console.log(` Whisper: ${ok(toolStatus.whisper)}`);
888
+ console.log(` AI backend: ${toolStatus.ai_backend !== 'none' ? c.green(toolStatus.ai_backend) : c.red('not found')}`);
876
889
  });
877
890
 
878
891
  // --- init ---
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vipcare",
3
- "version": "0.3.24",
3
+ "version": "0.3.25",
4
4
  "description": "Auto-build VIP person profiles from Twitter/LinkedIn public data",
5
5
  "type": "module",
6
6
  "bin": {