@su-record/vibe 0.1.2 β†’ 0.1.3

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@su-record/vibe",
3
- "version": "0.1.2",
3
+ "version": "0.1.3",
4
4
  "description": "Vibe - SPEC-driven AI coding framework with MCP integration",
5
5
  "main": "cli/index.js",
6
6
  "bin": {
@@ -25,7 +25,7 @@ try {
25
25
  console.log('πŸ“ μ‹€ν–‰:', command);
26
26
  console.log('');
27
27
 
28
- execSync(command, { stdio: 'inherit' });
28
+ execSync(command, { stdio: 'pipe' });
29
29
 
30
30
  console.log('\nβœ… vibe MCP μ„œλ²„ 등둝 μ™„λ£Œ!');
31
31
  console.log('');
@@ -38,11 +38,27 @@ try {
38
38
  console.log('');
39
39
 
40
40
  } catch (error) {
41
+ // stderr 좜λ ₯ 확인
42
+ const stderrOutput = error.stderr ? error.stderr.toString() : '';
43
+ const stdoutOutput = error.stdout ? error.stdout.toString() : '';
44
+ const fullOutput = error.message + stderrOutput + stdoutOutput;
45
+
46
+ // "already exists" μ—λŸ¬λŠ” μ„±κ³΅μœΌλ‘œ κ°„μ£Ό
47
+ if (fullOutput.includes('already exists')) {
48
+ console.log('ℹ️ vibe MCP μ„œλ²„κ°€ 이미 λ“±λ‘λ˜μ–΄ μžˆμŠ΅λ‹ˆλ‹€.');
49
+ console.log('');
50
+ console.log('λ‹€μŒ λͺ…λ Ήμ–΄λ‘œ 확인:');
51
+ console.log(' claude mcp list');
52
+ console.log('');
53
+ process.exit(0);
54
+ }
55
+
41
56
  console.error('❌ MCP μ„œλ²„ 등둝 μ‹€νŒ¨');
42
57
  console.error('');
43
58
  console.error('μˆ˜λ™ 등둝 방법:');
44
59
  console.error(` claude mcp add vibe node "${mcpIndexPath}"`);
45
60
  console.error('');
46
61
  console.error('μ—λŸ¬:', error.message);
62
+ if (stderrOutput) console.error('stderr:', stderrOutput);
47
63
  process.exit(1);
48
64
  }