@su-record/vibe 2.6.53 → 2.6.54
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/CLAUDE.md +0 -2
- package/dist/cli/collaborator.js +1 -1
- package/dist/cli/commands/info.js +1 -1
- package/hooks/scripts/utils.js +18 -4
- package/package.json +3 -3
package/CLAUDE.md
CHANGED
package/dist/cli/collaborator.js
CHANGED
|
@@ -96,7 +96,7 @@ echo " /vibe.run \\"feature\\" Implement"
|
|
|
96
96
|
const coreSetupSection = `
|
|
97
97
|
## Core Setup (AI Coding)
|
|
98
98
|
|
|
99
|
-
This project uses [
|
|
99
|
+
This project uses [VIBE](https://github.com/su-record/vibe) AI coding framework.
|
|
100
100
|
|
|
101
101
|
### Collaborator Install
|
|
102
102
|
|
package/hooks/scripts/utils.js
CHANGED
|
@@ -83,7 +83,9 @@ function getGlobalNpmPath() {
|
|
|
83
83
|
*/
|
|
84
84
|
export function getToolsBaseUrl() {
|
|
85
85
|
const localDist = path.join(VIBE_PATH, 'dist', 'tools');
|
|
86
|
-
const
|
|
86
|
+
const vibeHome = path.join(os.homedir(), '.vibe');
|
|
87
|
+
const vibePackage = path.join(vibeHome, 'node_modules', '@su-record', 'vibe', 'dist', 'tools');
|
|
88
|
+
const globalPackage = path.join(getGlobalNpmPath(), '@su-record', 'vibe', 'dist', 'tools');
|
|
87
89
|
|
|
88
90
|
// 1. 로컬 빌드된 파일 확인 (개발 환경)
|
|
89
91
|
const localIndex = path.join(localDist, 'index.js');
|
|
@@ -91,7 +93,12 @@ export function getToolsBaseUrl() {
|
|
|
91
93
|
return toFileUrl(localDist);
|
|
92
94
|
}
|
|
93
95
|
|
|
94
|
-
// 2.
|
|
96
|
+
// 2. ~/.vibe/node_modules (postinstall 설치)
|
|
97
|
+
if (fs.existsSync(path.join(vibePackage, 'index.js'))) {
|
|
98
|
+
return toFileUrl(vibePackage);
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
// 3. 전역 npm 패키지
|
|
95
102
|
return toFileUrl(globalPackage);
|
|
96
103
|
}
|
|
97
104
|
|
|
@@ -101,7 +108,9 @@ export function getToolsBaseUrl() {
|
|
|
101
108
|
*/
|
|
102
109
|
export function getLibBaseUrl() {
|
|
103
110
|
const localDist = path.join(VIBE_PATH, 'dist', 'infra', 'lib');
|
|
104
|
-
const
|
|
111
|
+
const vibeHome = path.join(os.homedir(), '.vibe');
|
|
112
|
+
const vibePackage = path.join(vibeHome, 'node_modules', '@su-record', 'vibe', 'dist', 'infra', 'lib');
|
|
113
|
+
const globalPackage = path.join(getGlobalNpmPath(), '@su-record', 'vibe', 'dist', 'infra', 'lib');
|
|
105
114
|
|
|
106
115
|
// 1. 로컬 빌드된 파일 확인 (개발 환경)
|
|
107
116
|
const localGptApi = path.join(localDist, 'gpt-api.js');
|
|
@@ -109,6 +118,11 @@ export function getLibBaseUrl() {
|
|
|
109
118
|
return toFileUrl(localDist);
|
|
110
119
|
}
|
|
111
120
|
|
|
112
|
-
// 2.
|
|
121
|
+
// 2. ~/.vibe/node_modules (postinstall 설치)
|
|
122
|
+
if (fs.existsSync(path.join(vibePackage, 'gpt-api.js'))) {
|
|
123
|
+
return toFileUrl(vibePackage);
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
// 3. 전역 npm 패키지
|
|
113
127
|
return toFileUrl(globalPackage);
|
|
114
128
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@su-record/vibe",
|
|
3
|
-
"version": "2.6.
|
|
3
|
+
"version": "2.6.54",
|
|
4
4
|
"description": "Personalized AI agent for Claude Code — 46 agents, 41+ tools, multi-LLM orchestration",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/cli/index.js",
|
|
@@ -69,9 +69,9 @@
|
|
|
69
69
|
"license": "MIT",
|
|
70
70
|
"repository": {
|
|
71
71
|
"type": "git",
|
|
72
|
-
"url": "git+https://github.com/su-record/
|
|
72
|
+
"url": "git+https://github.com/su-record/vibe.git"
|
|
73
73
|
},
|
|
74
|
-
"homepage": "https://github.com/su-record/
|
|
74
|
+
"homepage": "https://github.com/su-record/vibe#readme",
|
|
75
75
|
"publishConfig": {
|
|
76
76
|
"access": "public"
|
|
77
77
|
},
|