@su-record/vibe 1.2.4 → 1.2.5

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/vibe +4 -7
  2. package/package.json +1 -1
package/bin/vibe CHANGED
@@ -1091,13 +1091,10 @@ async function update() {
1091
1091
  // 기존 설정에 hooks 병합
1092
1092
  const existingSettings = JSON.parse(fs.readFileSync(settingsPath, 'utf-8'));
1093
1093
 
1094
- if (!existingSettings.hooks) {
1095
- existingSettings.hooks = vibeHooks.hooks;
1096
- fs.writeFileSync(settingsPath, JSON.stringify(existingSettings, null, 2));
1097
- log(' ✅ Hooks 설정 추가 완료\n');
1098
- } else {
1099
- log(' ℹ️ Hooks 설정 이미 존재\n');
1100
- }
1094
+ // 항상 최신 hooks로 업데이트 (기존 hooks 덮어쓰기)
1095
+ existingSettings.hooks = vibeHooks.hooks;
1096
+ fs.writeFileSync(settingsPath, JSON.stringify(existingSettings, null, 2));
1097
+ log(' ✅ Hooks 설정 업데이트 완료\n');
1101
1098
  } else {
1102
1099
  // 새로 생성
1103
1100
  fs.copyFileSync(hooksTemplate, settingsPath);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@su-record/vibe",
3
- "version": "1.2.4",
3
+ "version": "1.2.5",
4
4
  "description": "Vibe - Claude Code exclusive SPEC-driven AI coding framework",
5
5
  "bin": {
6
6
  "vibe": "./bin/vibe"