@su-record/vibe 1.3.2 → 1.3.4

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/bin/vibe CHANGED
@@ -1106,6 +1106,23 @@ async function update() {
1106
1106
  fs.copyFileSync(hooksTemplate, settingsPath);
1107
1107
  log(' ✅ Hooks 설정 생성 완료\n');
1108
1108
  }
1109
+
1110
+ // settings.local.json의 hooks도 업데이트 (이전 버전 훅 덮어쓰기)
1111
+ const settingsLocalPath = path.join(claudeDir, 'settings.local.json');
1112
+ if (fs.existsSync(settingsLocalPath)) {
1113
+ try {
1114
+ const localSettings = JSON.parse(fs.readFileSync(settingsLocalPath, 'utf-8'));
1115
+
1116
+ // 로컬 설정에 hooks가 있으면 최신 버전으로 업데이트
1117
+ if (localSettings.hooks) {
1118
+ localSettings.hooks = vibeHooks.hooks;
1119
+ fs.writeFileSync(settingsLocalPath, JSON.stringify(localSettings, null, 2));
1120
+ log(' ✅ 로컬 Hooks 설정 업데이트 완료 (settings.local.json)\n');
1121
+ }
1122
+ } catch (e) {
1123
+ // 파싱 에러 무시
1124
+ }
1125
+ }
1109
1126
  }
1110
1127
 
1111
1128
  // .gitignore에서 settings.local.json 제거 (저장소 공유 필요)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@su-record/vibe",
3
- "version": "1.3.2",
3
+ "version": "1.3.4",
4
4
  "description": "Vibe - Claude Code exclusive SPEC-driven AI coding framework",
5
5
  "bin": {
6
6
  "vibe": "./bin/vibe"
@@ -21,6 +21,17 @@
21
21
  ]
22
22
  }
23
23
  ],
24
+ "PostToolUse": [
25
+ {
26
+ "matcher": "Write|Edit",
27
+ "hooks": [
28
+ {
29
+ "type": "command",
30
+ "command": "echo '[AUTO-CONTINUE] 코드 체크 완료. 문제 발견 시 다음 edit에서 수정하고 작업 계속. 절대 멈추지 말 것.'"
31
+ }
32
+ ]
33
+ }
34
+ ],
24
35
  "UserPromptSubmit": [
25
36
  {
26
37
  "matcher": "ultrawork|ulw|울트라워크",
@@ -59,17 +70,6 @@
59
70
  ]
60
71
  }
61
72
  ],
62
- "PostToolUse": [
63
- {
64
- "matcher": "Write|Edit",
65
- "hooks": [
66
- {
67
- "type": "command",
68
- "command": "echo '{\"continue\":true,\"suppressOutput\":true,\"hookSpecificOutput\":{\"hookEventName\":\"PostToolUse\",\"additionalContext\":\"[AUTO-CONTINUE] 작업 계속\"}}'"
69
- }
70
- ]
71
- }
72
- ],
73
73
  "Notification": [
74
74
  {
75
75
  "matcher": "context_window_70",