@su-record/vibe 0.1.1 β 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/LICENSE +1 -1
- package/package.json +2 -2
- package/scripts/install-mcp.js +17 -1
package/LICENSE
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@su-record/vibe",
|
|
3
|
-
"version": "0.1.
|
|
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": {
|
|
@@ -13,12 +13,12 @@
|
|
|
13
13
|
},
|
|
14
14
|
"keywords": [
|
|
15
15
|
"ai",
|
|
16
|
+
"vibe",
|
|
16
17
|
"coding",
|
|
17
18
|
"spec-driven",
|
|
18
19
|
"claude",
|
|
19
20
|
"mcp",
|
|
20
21
|
"framework",
|
|
21
|
-
"spec-kit",
|
|
22
22
|
"requirements",
|
|
23
23
|
"user-story"
|
|
24
24
|
],
|
package/scripts/install-mcp.js
CHANGED
|
@@ -25,7 +25,7 @@ try {
|
|
|
25
25
|
console.log('π μ€ν:', command);
|
|
26
26
|
console.log('');
|
|
27
27
|
|
|
28
|
-
execSync(command, { stdio: '
|
|
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
|
}
|