@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 CHANGED
@@ -1,7 +1,5 @@
1
1
  # VIBE
2
2
 
3
- Personalized AI Agent (Claude Code Exclusive) — v0.1.0
4
-
5
3
  ## Project Nature
6
4
 
7
5
  > **This project is the source code for the `@su-record/vibe` npm package.**
@@ -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 [Core](https://github.com/su-record/core) AI coding framework.
99
+ This project uses [VIBE](https://github.com/su-record/vibe) AI coding framework.
100
100
 
101
101
  ### Collaborator Install
102
102
 
@@ -42,7 +42,7 @@ Slash Commands (Claude Code):
42
42
  /vibe.utils 유틸리티 (--e2e, --diagram, --continue)
43
43
  /vibe.voice 음성 코딩 (Gemini + sox)
44
44
 
45
- Docs: https://github.com/su-record/core
45
+ Docs: https://github.com/su-record/vibe
46
46
  `);
47
47
  }
48
48
  /**
@@ -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 globalPackage = path.join(getGlobalNpmPath(), '@su-record', 'core', 'dist', 'tools');
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. 전역 npm 패키지 (설치된 환경)
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 globalPackage = path.join(getGlobalNpmPath(), '@su-record', 'core', 'dist', 'infra', 'lib');
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. 전역 npm 패키지 (설치된 환경)
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.53",
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/core.git"
72
+ "url": "git+https://github.com/su-record/vibe.git"
73
73
  },
74
- "homepage": "https://github.com/su-record/core#readme",
74
+ "homepage": "https://github.com/su-record/vibe#readme",
75
75
  "publishConfig": {
76
76
  "access": "public"
77
77
  },