@su-record/vibe 2.4.17 → 2.4.18

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 (81) hide show
  1. package/.claude/settings.json +48 -48
  2. package/.claude/settings.local.json +28 -28
  3. package/.claude/vibe/constitution.md +184 -184
  4. package/.claude/vibe/rules/core/communication-guide.md +104 -104
  5. package/.claude/vibe/rules/core/development-philosophy.md +52 -52
  6. package/.claude/vibe/rules/core/quick-start.md +120 -120
  7. package/.claude/vibe/rules/languages/dart-flutter.md +509 -509
  8. package/.claude/vibe/rules/languages/go.md +396 -396
  9. package/.claude/vibe/rules/languages/java-spring.md +586 -586
  10. package/.claude/vibe/rules/languages/kotlin-android.md +491 -491
  11. package/.claude/vibe/rules/languages/python-django.md +371 -371
  12. package/.claude/vibe/rules/languages/python-fastapi.md +386 -386
  13. package/.claude/vibe/rules/languages/rust.md +425 -425
  14. package/.claude/vibe/rules/languages/swift-ios.md +516 -516
  15. package/.claude/vibe/rules/languages/typescript-nextjs.md +441 -441
  16. package/.claude/vibe/rules/languages/typescript-node.md +375 -375
  17. package/.claude/vibe/rules/languages/typescript-nuxt.md +521 -521
  18. package/.claude/vibe/rules/languages/typescript-react-native.md +446 -446
  19. package/.claude/vibe/rules/languages/typescript-react.md +525 -525
  20. package/.claude/vibe/rules/languages/typescript-vue.md +353 -353
  21. package/.claude/vibe/rules/quality/bdd-contract-testing.md +388 -388
  22. package/.claude/vibe/rules/quality/checklist.md +276 -276
  23. package/.claude/vibe/rules/quality/testing-strategy.md +437 -437
  24. package/.claude/vibe/rules/standards/anti-patterns.md +369 -369
  25. package/.claude/vibe/rules/standards/code-structure.md +291 -291
  26. package/.claude/vibe/rules/standards/complexity-metrics.md +312 -312
  27. package/.claude/vibe/rules/standards/naming-conventions.md +198 -198
  28. package/.claude/vibe/setup.sh +31 -31
  29. package/.claude/vibe/templates/constitution-template.md +184 -184
  30. package/.claude/vibe/templates/contract-backend-template.md +517 -517
  31. package/.claude/vibe/templates/contract-frontend-template.md +594 -594
  32. package/.claude/vibe/templates/feature-template.md +96 -96
  33. package/.claude/vibe/templates/spec-template.md +199 -199
  34. package/CLAUDE.md +333 -333
  35. package/LICENSE +21 -21
  36. package/README.md +205 -205
  37. package/agents/compounder.md +261 -261
  38. package/agents/diagrammer.md +178 -178
  39. package/agents/e2e-tester.md +266 -266
  40. package/agents/explorer.md +48 -48
  41. package/agents/implementer.md +53 -53
  42. package/agents/research/best-practices-agent.md +139 -139
  43. package/agents/research/codebase-patterns-agent.md +147 -147
  44. package/agents/research/framework-docs-agent.md +181 -181
  45. package/agents/research/security-advisory-agent.md +167 -167
  46. package/agents/review/architecture-reviewer.md +107 -107
  47. package/agents/review/complexity-reviewer.md +116 -116
  48. package/agents/review/data-integrity-reviewer.md +88 -88
  49. package/agents/review/git-history-reviewer.md +103 -103
  50. package/agents/review/performance-reviewer.md +86 -86
  51. package/agents/review/python-reviewer.md +152 -152
  52. package/agents/review/rails-reviewer.md +139 -139
  53. package/agents/review/react-reviewer.md +144 -144
  54. package/agents/review/security-reviewer.md +80 -80
  55. package/agents/review/simplicity-reviewer.md +140 -140
  56. package/agents/review/test-coverage-reviewer.md +116 -116
  57. package/agents/review/typescript-reviewer.md +127 -127
  58. package/agents/searcher.md +54 -54
  59. package/agents/simplifier.md +119 -119
  60. package/agents/tester.md +49 -49
  61. package/agents/ui-previewer.md +137 -137
  62. package/commands/vibe.analyze.md +260 -260
  63. package/commands/vibe.reason.md +223 -223
  64. package/commands/vibe.review.md +213 -213
  65. package/commands/vibe.run.md +935 -935
  66. package/commands/vibe.spec.md +442 -442
  67. package/commands/vibe.utils.md +101 -101
  68. package/commands/vibe.verify.md +282 -282
  69. package/dist/cli/collaborator.js +52 -52
  70. package/dist/cli/detect.js +32 -32
  71. package/dist/cli/index.js +0 -0
  72. package/dist/cli/llm.js +144 -144
  73. package/hooks/hooks.json +195 -195
  74. package/package.json +87 -87
  75. package/skills/context7-usage.md +82 -82
  76. package/skills/git-worktree.md +181 -181
  77. package/skills/multi-llm-orchestration.md +97 -97
  78. package/skills/parallel-research.md +77 -77
  79. package/skills/priority-todos.md +239 -239
  80. package/skills/tool-fallback.md +126 -126
  81. package/skills/vibe-capabilities.md +127 -127
package/hooks/hooks.json CHANGED
@@ -1,195 +1,195 @@
1
- {
2
- "permissions": {
3
- "allow": [],
4
- "deny": [],
5
- "ask": []
6
- },
7
- "hooks": {
8
- "SessionStart": [
9
- {
10
- "hooks": [
11
- {
12
- "type": "command",
13
- "command": "node -e \"const B=process.platform==='win32'?'file:///'+process.env.APPDATA.replace(/\\\\/g,'/')+'/npm/node_modules/@su-record/vibe/dist/tools/':'@su-record/vibe/tools/';const p='$CLAUDE_PROJECT_DIR';Promise.all([import(B+'memory/index.js').then(t=>t.startSession({projectPath:p})),import(B+'time/index.js').then(t=>t.getCurrentTime({format:'human',timezone:'Asia/Seoul'})),import(B+'memory/index.js').then(t=>t.listMemories({limit:5,projectPath:p}))]).then(([s,t,m])=>console.log(s.content[0].text+'\\n\\n'+t.content[0].text+'\\n\\n[Recent Memories]\\n'+m.content[0].text)).catch(e=>console.log('[Session] Error:',e.message))\""
14
- }
15
- ]
16
- }
17
- ],
18
- "PreToolUse": [
19
- {
20
- "matcher": "Bash",
21
- "hooks": [
22
- {
23
- "type": "command",
24
- "command": "echo '[BASH CHECK] Be cautious with destructive commands (rm -rf, git push --force, drop table). Verify paths before deletion.'"
25
- }
26
- ]
27
- }
28
- ],
29
- "PostToolUse": [
30
- {
31
- "matcher": "Write|Edit",
32
- "hooks": [
33
- {
34
- "type": "command",
35
- "command": "node -e \"const B=process.platform==='win32'?'file:///'+process.env.APPDATA.replace(/\\\\/g,'/')+'/npm/node_modules/@su-record/vibe/dist/tools/convention/index.js':'@su-record/vibe/tools/convention';const p='$CLAUDE_PROJECT_DIR';import(B).then(t=>t.validateCodeQuality({targetPath:'.',projectPath:p}).then(r=>console.log('[CODE CHECK]',r.content[0].text.split('\\n').slice(0,3).join(' | ')))).catch(()=>console.log('[AUTO-CONTINUE] Code written. Continue.'))\""
36
- }
37
- ]
38
- }
39
- ],
40
- "UserPromptSubmit": [
41
- {
42
- "hooks": [
43
- {
44
- "type": "command",
45
- "command": "echo '[MANDATORY SKILL PROTOCOL] Available skills: vibe-capabilities (vibe features), multi-llm-orchestration (GPT/Gemini usage), tool-fallback (error recovery), context7-usage (library docs), parallel-research (complex problems), git-worktree (branch work), priority-todos (task management). Step 1: For EACH skill state YES/NO with reason. Step 2: Use Skill(name) for YES skills NOW. Step 3: IMPLEMENT only after activation. CRITICAL: Skipping activation makes response WORTHLESS.'",
46
- "statusMessage": "Evaluating skills..."
47
- }
48
- ]
49
- },
50
- {
51
- "matcher": "ultrawork|ulw|울트라워크",
52
- "hooks": [
53
- {
54
- "type": "command",
55
- "command": "echo '[ULTRAWORK MODE] Use PARALLEL Task calls. Auto-continue through ALL phases. Auto-retry on errors up to 3 times. Do NOT ask for confirmation between phases.'"
56
- }
57
- ]
58
- },
59
- {
60
- "matcher": "버그.*(해결|수정|고침)|문제.*(해결|수정)|bug.*(fixed|resolved|solved)|issue.*(fixed|resolved)|PR.*(merged|머지)",
61
- "hooks": [
62
- {
63
- "type": "command",
64
- "command": "node -e \"const B=process.platform==='win32'?'file:///'+process.env.APPDATA.replace(/\\\\/g,'/')+'/npm/node_modules/@su-record/vibe/dist/tools/memory/index.js':'@su-record/vibe/tools/memory';const p='$CLAUDE_PROJECT_DIR';import(B).then(t=>t.saveMemory({key:'solution-'+Date.now(),value:'Solution documented at '+new Date().toISOString(),category:'solution',projectPath:p}).then(r=>console.log('[COMPOUND]',r.content[0].text))).catch(()=>console.log('[COMPOUND TRIGGER] Consider /vibe.utils --compound'))\""
65
- }
66
- ]
67
- },
68
- {
69
- "matcher": "코드\\s*리뷰|code\\s*review|PR\\s*리뷰|리뷰.*해줘|review.*this",
70
- "hooks": [
71
- {
72
- "type": "command",
73
- "command": "node -e \"const B=process.platform==='win32'?'file:///'+process.env.APPDATA.replace(/\\\\/g,'/')+'/npm/node_modules/@su-record/vibe/dist/tools/convention/index.js':'@su-record/vibe/tools/convention';const p='$CLAUDE_PROJECT_DIR';import(B).then(t=>t.validateCodeQuality({targetPath:'.',projectPath:p}).then(r=>console.log('[REVIEW PREP]',r.content[0].text.split('\\n').slice(0,5).join(' | ')))).catch(()=>console.log('[REVIEW MODE] Use /vibe.review'))\""
74
- }
75
- ]
76
- },
77
- {
78
- "matcher": "e2e.*테스트|e2e.*test|playwright|브라우저.*테스트|browser.*test",
79
- "hooks": [
80
- {
81
- "type": "command",
82
- "command": "echo '[E2E MODE] Use /vibe.utils --e2e for Playwright-based browser testing. Supports visual regression and video recording.'"
83
- }
84
- ]
85
- },
86
- {
87
- "matcher": "복잡도|complexity|분석해|analyze this",
88
- "hooks": [
89
- {
90
- "type": "command",
91
- "command": "node -e \"const B=process.platform==='win32'?'file:///'+process.env.APPDATA.replace(/\\\\/g,'/')+'/npm/node_modules/@su-record/vibe/dist/tools/convention/index.js':'@su-record/vibe/tools/convention';const p='$CLAUDE_PROJECT_DIR';import(B).then(t=>t.analyzeComplexity({targetPath:'.',projectPath:p}).then(r=>console.log('[COMPLEXITY]',r.content[0].text.split('\\n').slice(0,5).join(' | ')))).catch(()=>console.log('[ANALYZE] Use analyzeComplexity tool'))\""
92
- }
93
- ]
94
- },
95
- {
96
- "matcher": "뭐였지|기억|recall|이전에.*결정|저번에",
97
- "hooks": [
98
- {
99
- "type": "command",
100
- "command": "node -e \"const B=process.platform==='win32'?'file:///'+process.env.APPDATA.replace(/\\\\/g,'/')+'/npm/node_modules/@su-record/vibe/dist/tools/memory/index.js':'@su-record/vibe/tools/memory';const p='$CLAUDE_PROJECT_DIR';import(B).then(t=>t.listMemories({limit:10,projectPath:p}).then(r=>console.log('[RECALL]',r.content[0].text.split('\\n').slice(0,7).join(' | ')))).catch(()=>console.log('[RECALL] Use recallMemory tool'))\""
101
- }
102
- ]
103
- },
104
- {
105
- "matcher": "아키텍처|architecture|설계.*검토|design.*review|구조.*분석",
106
- "hooks": [
107
- {
108
- "type": "command",
109
- "command": "node -e \"const V=process.platform==='win32'?'file:///'+process.env.APPDATA.replace(/\\\\/g,'/')+'/npm/node_modules/@su-record/vibe/dist/lib/gpt-api.js':'@su-record/vibe/lib/gpt';let d='';process.stdin.on('data',c=>d+=c);process.stdin.on('end',()=>{const q=JSON.parse(d).prompt;import(V).then(g=>g.chat({messages:[{role:'user',content:q}],systemPrompt:'You are a software architect. Analyze and review the architecture.'})).then(r=>console.log('GPT-5.2 응답: '+r.content)).catch(e=>console.log('[GPT] Error:',e.message))})\"",
110
- "statusMessage": "GPT analyzing architecture..."
111
- }
112
- ]
113
- },
114
- {
115
- "matcher": "UI|UX|사용자.*경험|user.*experience|디자인.*리뷰|design.*feedback",
116
- "hooks": [
117
- {
118
- "type": "command",
119
- "command": "node -e \"const V=process.platform==='win32'?'file:///'+process.env.APPDATA.replace(/\\\\/g,'/')+'/npm/node_modules/@su-record/vibe/dist/lib/gemini-api.js':'@su-record/vibe/lib/gemini';let d='';process.stdin.on('data',c=>d+=c);process.stdin.on('end',()=>{const q=JSON.parse(d).prompt;import(V).then(g=>g.chat({messages:[{role:'user',content:q}],systemPrompt:'You are a UI/UX expert. Analyze and provide feedback.'})).then(r=>console.log('Gemini-3 응답: '+r.content)).catch(e=>console.log('[Gemini] Error:',e.message))})\"",
120
- "statusMessage": "Gemini reviewing UI/UX..."
121
- }
122
- ]
123
- },
124
- {
125
- "matcher": "(?!.*gemini)(gpt\\s*한테|gpt\\s*에게|gpt에\\s*물어|gpt.*질문|ask\\s*gpt)",
126
- "hooks": [
127
- {
128
- "type": "command",
129
- "command": "node -e \"const V=process.platform==='win32'?'file:///'+process.env.APPDATA.replace(/\\\\/g,'/')+'/npm/node_modules/@su-record/vibe/dist/lib/gpt-api.js':'@su-record/vibe/lib/gpt';let d='';process.stdin.on('data',c=>d+=c);process.stdin.on('end',()=>{const q=JSON.parse(d).prompt.replace(/gpt.*?(물어|질문|한테|분석)[^가-힣]*/i,'').trim();import(V).then(g=>g.quickAsk(q)).then(r=>console.log('GPT-5.2 응답: '+r)).catch(e=>console.log('[GPT] Error:',e.message))})\"",
130
- "statusMessage": "Asking GPT-5.2..."
131
- }
132
- ]
133
- },
134
- {
135
- "matcher": "(?!.*gpt)(gemini\\s*한테|gemini\\s*에게|gemini에\\s*물어|gemini.*질문|ask\\s*gemini|제미나이)",
136
- "hooks": [
137
- {
138
- "type": "command",
139
- "command": "node -e \"const V=process.platform==='win32'?'file:///'+process.env.APPDATA.replace(/\\\\/g,'/')+'/npm/node_modules/@su-record/vibe/dist/lib/gemini-api.js':'@su-record/vibe/lib/gemini';let d='';process.stdin.on('data',c=>d+=c);process.stdin.on('end',()=>{const q=JSON.parse(d).prompt.replace(/(gemini|제미나이).*?(물어|질문|한테|분석)[^가-힣]*/i,'').trim();import(V).then(g=>g.quickAsk(q)).then(r=>console.log('Gemini-3 응답: '+r)).catch(e=>console.log('[Gemini] Error:',e.message))})\"",
140
- "statusMessage": "Asking Gemini 3..."
141
- }
142
- ]
143
- },
144
- {
145
- "matcher": "디버깅|debugging|버그.*찾|find.*bug|debug.*this",
146
- "hooks": [
147
- {
148
- "type": "command",
149
- "command": "node -e \"const V=process.platform==='win32'?'file:///'+process.env.APPDATA.replace(/\\\\/g,'/')+'/npm/node_modules/@su-record/vibe/dist/lib/gpt-api.js':'@su-record/vibe/lib/gpt';let d='';process.stdin.on('data',c=>d+=c);process.stdin.on('end',()=>{const q=JSON.parse(d).prompt;import(V).then(g=>g.chat({messages:[{role:'user',content:q}],systemPrompt:'You are a debugging expert. Find bugs and suggest fixes.'})).then(r=>console.log('GPT-5.2 응답: '+r.content)).catch(e=>console.log('[GPT] Error:',e.message))})\"",
150
- "statusMessage": "GPT debugging..."
151
- }
152
- ]
153
- },
154
- {
155
- "matcher": "코드.*분석|analyze.*code|code.*review.*gemini",
156
- "hooks": [
157
- {
158
- "type": "command",
159
- "command": "node -e \"const V=process.platform==='win32'?'file:///'+process.env.APPDATA.replace(/\\\\/g,'/')+'/npm/node_modules/@su-record/vibe/dist/lib/gemini-api.js':'@su-record/vibe/lib/gemini';let d='';process.stdin.on('data',c=>d+=c);process.stdin.on('end',()=>{const q=JSON.parse(d).prompt;import(V).then(g=>g.chat({messages:[{role:'user',content:q}],systemPrompt:'You are a code analysis expert. Review and analyze the code.'})).then(r=>console.log('Gemini-3 응답: '+r.content)).catch(e=>console.log('[Gemini] Error:',e.message))})\"",
160
- "statusMessage": "Gemini analyzing code..."
161
- }
162
- ]
163
- }
164
- ],
165
- "Notification": [
166
- {
167
- "matcher": "context_window_80",
168
- "hooks": [
169
- {
170
- "type": "command",
171
- "command": "node -e \"const B=process.platform==='win32'?'file:///'+process.env.APPDATA.replace(/\\\\/g,'/')+'/npm/node_modules/@su-record/vibe/dist/tools/memory/index.js':'@su-record/vibe/tools/memory';const p='$CLAUDE_PROJECT_DIR';import(B).then(t=>t.autoSaveContext({urgency:'medium',contextType:'progress',summary:'Context at 80% - auto checkpoint',projectPath:p}).then(r=>console.log('[CONTEXT 80%]',r.content[0].text))).catch(()=>{})\""
172
- }
173
- ]
174
- },
175
- {
176
- "matcher": "context_window_90",
177
- "hooks": [
178
- {
179
- "type": "command",
180
- "command": "node -e \"const B=process.platform==='win32'?'file:///'+process.env.APPDATA.replace(/\\\\/g,'/')+'/npm/node_modules/@su-record/vibe/dist/tools/memory/index.js':'@su-record/vibe/tools/memory';const p='$CLAUDE_PROJECT_DIR';import(B).then(t=>t.autoSaveContext({urgency:'high',contextType:'progress',summary:'Context at 90% - save before overflow',projectPath:p}).then(r=>console.log('[CONTEXT 90%]',r.content[0].text))).catch(()=>{})\""
181
- }
182
- ]
183
- },
184
- {
185
- "matcher": "context_window_95",
186
- "hooks": [
187
- {
188
- "type": "command",
189
- "command": "node -e \"const B=process.platform==='win32'?'file:///'+process.env.APPDATA.replace(/\\\\/g,'/')+'/npm/node_modules/@su-record/vibe/dist/tools/memory/index.js':'@su-record/vibe/tools/memory';const p='$CLAUDE_PROJECT_DIR';import(B).then(t=>t.autoSaveContext({urgency:'critical',contextType:'progress',summary:'Context at 95% - CRITICAL save before session end',projectPath:p}).then(r=>console.log('[CONTEXT 95%]',r.content[0].text))).catch(()=>{})\""
190
- }
191
- ]
192
- }
193
- ]
194
- }
195
- }
1
+ {
2
+ "permissions": {
3
+ "allow": [],
4
+ "deny": [],
5
+ "ask": []
6
+ },
7
+ "hooks": {
8
+ "SessionStart": [
9
+ {
10
+ "hooks": [
11
+ {
12
+ "type": "command",
13
+ "command": "node -e \"const B=process.platform==='win32'?'file:///'+process.env.APPDATA.replace(/\\\\/g,'/')+'/npm/node_modules/@su-record/vibe/dist/tools/':'@su-record/vibe/tools/';const p='$CLAUDE_PROJECT_DIR';Promise.all([import(B+'memory/index.js').then(t=>t.startSession({projectPath:p})),import(B+'time/index.js').then(t=>t.getCurrentTime({format:'human',timezone:'Asia/Seoul'})),import(B+'memory/index.js').then(t=>t.listMemories({limit:5,projectPath:p}))]).then(([s,t,m])=>console.log(s.content[0].text+'\\n\\n'+t.content[0].text+'\\n\\n[Recent Memories]\\n'+m.content[0].text)).catch(e=>console.log('[Session] Error:',e.message))\""
14
+ }
15
+ ]
16
+ }
17
+ ],
18
+ "PreToolUse": [
19
+ {
20
+ "matcher": "Bash",
21
+ "hooks": [
22
+ {
23
+ "type": "command",
24
+ "command": "echo '[BASH CHECK] Be cautious with destructive commands (rm -rf, git push --force, drop table). Verify paths before deletion.'"
25
+ }
26
+ ]
27
+ }
28
+ ],
29
+ "PostToolUse": [
30
+ {
31
+ "matcher": "Write|Edit",
32
+ "hooks": [
33
+ {
34
+ "type": "command",
35
+ "command": "node -e \"const B=process.platform==='win32'?'file:///'+process.env.APPDATA.replace(/\\\\/g,'/')+'/npm/node_modules/@su-record/vibe/dist/tools/convention/index.js':'@su-record/vibe/tools/convention';const p='$CLAUDE_PROJECT_DIR';import(B).then(t=>t.validateCodeQuality({targetPath:'.',projectPath:p}).then(r=>console.log('[CODE CHECK]',r.content[0].text.split('\\n').slice(0,3).join(' | ')))).catch(()=>console.log('[AUTO-CONTINUE] Code written. Continue.'))\""
36
+ }
37
+ ]
38
+ }
39
+ ],
40
+ "UserPromptSubmit": [
41
+ {
42
+ "hooks": [
43
+ {
44
+ "type": "command",
45
+ "command": "echo '[MANDATORY SKILL PROTOCOL] Available skills: vibe-capabilities (vibe features), multi-llm-orchestration (GPT/Gemini usage), tool-fallback (error recovery), context7-usage (library docs), parallel-research (complex problems), git-worktree (branch work), priority-todos (task management). Step 1: For EACH skill state YES/NO with reason. Step 2: Use Skill(name) for YES skills NOW. Step 3: IMPLEMENT only after activation. CRITICAL: Skipping activation makes response WORTHLESS.'",
46
+ "statusMessage": "Evaluating skills..."
47
+ }
48
+ ]
49
+ },
50
+ {
51
+ "matcher": "ultrawork|ulw|울트라워크",
52
+ "hooks": [
53
+ {
54
+ "type": "command",
55
+ "command": "echo '[ULTRAWORK MODE] Use PARALLEL Task calls. Auto-continue through ALL phases. Auto-retry on errors up to 3 times. Do NOT ask for confirmation between phases.'"
56
+ }
57
+ ]
58
+ },
59
+ {
60
+ "matcher": "버그.*(해결|수정|고침)|문제.*(해결|수정)|bug.*(fixed|resolved|solved)|issue.*(fixed|resolved)|PR.*(merged|머지)",
61
+ "hooks": [
62
+ {
63
+ "type": "command",
64
+ "command": "node -e \"const B=process.platform==='win32'?'file:///'+process.env.APPDATA.replace(/\\\\/g,'/')+'/npm/node_modules/@su-record/vibe/dist/tools/memory/index.js':'@su-record/vibe/tools/memory';const p='$CLAUDE_PROJECT_DIR';import(B).then(t=>t.saveMemory({key:'solution-'+Date.now(),value:'Solution documented at '+new Date().toISOString(),category:'solution',projectPath:p}).then(r=>console.log('[COMPOUND]',r.content[0].text))).catch(()=>console.log('[COMPOUND TRIGGER] Consider /vibe.utils --compound'))\""
65
+ }
66
+ ]
67
+ },
68
+ {
69
+ "matcher": "코드\\s*리뷰|code\\s*review|PR\\s*리뷰|리뷰.*해줘|review.*this",
70
+ "hooks": [
71
+ {
72
+ "type": "command",
73
+ "command": "node -e \"const B=process.platform==='win32'?'file:///'+process.env.APPDATA.replace(/\\\\/g,'/')+'/npm/node_modules/@su-record/vibe/dist/tools/convention/index.js':'@su-record/vibe/tools/convention';const p='$CLAUDE_PROJECT_DIR';import(B).then(t=>t.validateCodeQuality({targetPath:'.',projectPath:p}).then(r=>console.log('[REVIEW PREP]',r.content[0].text.split('\\n').slice(0,5).join(' | ')))).catch(()=>console.log('[REVIEW MODE] Use /vibe.review'))\""
74
+ }
75
+ ]
76
+ },
77
+ {
78
+ "matcher": "e2e.*테스트|e2e.*test|playwright|브라우저.*테스트|browser.*test",
79
+ "hooks": [
80
+ {
81
+ "type": "command",
82
+ "command": "echo '[E2E MODE] Use /vibe.utils --e2e for Playwright-based browser testing. Supports visual regression and video recording.'"
83
+ }
84
+ ]
85
+ },
86
+ {
87
+ "matcher": "복잡도|complexity|분석해|analyze this",
88
+ "hooks": [
89
+ {
90
+ "type": "command",
91
+ "command": "node -e \"const B=process.platform==='win32'?'file:///'+process.env.APPDATA.replace(/\\\\/g,'/')+'/npm/node_modules/@su-record/vibe/dist/tools/convention/index.js':'@su-record/vibe/tools/convention';const p='$CLAUDE_PROJECT_DIR';import(B).then(t=>t.analyzeComplexity({targetPath:'.',projectPath:p}).then(r=>console.log('[COMPLEXITY]',r.content[0].text.split('\\n').slice(0,5).join(' | ')))).catch(()=>console.log('[ANALYZE] Use analyzeComplexity tool'))\""
92
+ }
93
+ ]
94
+ },
95
+ {
96
+ "matcher": "뭐였지|기억|recall|이전에.*결정|저번에",
97
+ "hooks": [
98
+ {
99
+ "type": "command",
100
+ "command": "node -e \"const B=process.platform==='win32'?'file:///'+process.env.APPDATA.replace(/\\\\/g,'/')+'/npm/node_modules/@su-record/vibe/dist/tools/memory/index.js':'@su-record/vibe/tools/memory';const p='$CLAUDE_PROJECT_DIR';import(B).then(t=>t.listMemories({limit:10,projectPath:p}).then(r=>console.log('[RECALL]',r.content[0].text.split('\\n').slice(0,7).join(' | ')))).catch(()=>console.log('[RECALL] Use recallMemory tool'))\""
101
+ }
102
+ ]
103
+ },
104
+ {
105
+ "matcher": "아키텍처|architecture|설계.*검토|design.*review|구조.*분석",
106
+ "hooks": [
107
+ {
108
+ "type": "command",
109
+ "command": "node -e \"const V=process.platform==='win32'?'file:///'+process.env.APPDATA.replace(/\\\\/g,'/')+'/npm/node_modules/@su-record/vibe/dist/lib/gpt-api.js':'@su-record/vibe/lib/gpt';let d='';process.stdin.on('data',c=>d+=c);process.stdin.on('end',()=>{const q=JSON.parse(d).prompt;import(V).then(g=>g.chat({messages:[{role:'user',content:q}],systemPrompt:'You are a software architect. Analyze and review the architecture.'})).then(r=>console.log('GPT-5.2 응답: '+r.content)).catch(e=>console.log('[GPT] Error:',e.message))})\"",
110
+ "statusMessage": "GPT analyzing architecture..."
111
+ }
112
+ ]
113
+ },
114
+ {
115
+ "matcher": "UI|UX|사용자.*경험|user.*experience|디자인.*리뷰|design.*feedback",
116
+ "hooks": [
117
+ {
118
+ "type": "command",
119
+ "command": "node -e \"const V=process.platform==='win32'?'file:///'+process.env.APPDATA.replace(/\\\\/g,'/')+'/npm/node_modules/@su-record/vibe/dist/lib/gemini-api.js':'@su-record/vibe/lib/gemini';let d='';process.stdin.on('data',c=>d+=c);process.stdin.on('end',()=>{const q=JSON.parse(d).prompt;import(V).then(g=>g.chat({messages:[{role:'user',content:q}],systemPrompt:'You are a UI/UX expert. Analyze and provide feedback.'})).then(r=>console.log('Gemini-3 응답: '+r.content)).catch(e=>console.log('[Gemini] Error:',e.message))})\"",
120
+ "statusMessage": "Gemini reviewing UI/UX..."
121
+ }
122
+ ]
123
+ },
124
+ {
125
+ "matcher": "(?!.*gemini)(gpt\\s*한테|gpt\\s*에게|gpt에\\s*물어|gpt.*질문|ask\\s*gpt)",
126
+ "hooks": [
127
+ {
128
+ "type": "command",
129
+ "command": "node -e \"const V=process.platform==='win32'?'file:///'+process.env.APPDATA.replace(/\\\\/g,'/')+'/npm/node_modules/@su-record/vibe/dist/lib/gpt-api.js':'@su-record/vibe/lib/gpt';let d='';process.stdin.on('data',c=>d+=c);process.stdin.on('end',()=>{const q=JSON.parse(d).prompt.replace(/gpt.*?(물어|질문|한테|분석)[^가-힣]*/i,'').trim();import(V).then(g=>g.quickAsk(q)).then(r=>console.log('GPT-5.2 응답: '+r)).catch(e=>console.log('[GPT] Error:',e.message))})\"",
130
+ "statusMessage": "Asking GPT-5.2..."
131
+ }
132
+ ]
133
+ },
134
+ {
135
+ "matcher": "(?!.*gpt)(gemini\\s*한테|gemini\\s*에게|gemini에\\s*물어|gemini.*질문|ask\\s*gemini|제미나이)",
136
+ "hooks": [
137
+ {
138
+ "type": "command",
139
+ "command": "node -e \"const V=process.platform==='win32'?'file:///'+process.env.APPDATA.replace(/\\\\/g,'/')+'/npm/node_modules/@su-record/vibe/dist/lib/gemini-api.js':'@su-record/vibe/lib/gemini';let d='';process.stdin.on('data',c=>d+=c);process.stdin.on('end',()=>{const q=JSON.parse(d).prompt.replace(/(gemini|제미나이).*?(물어|질문|한테|분석)[^가-힣]*/i,'').trim();import(V).then(g=>g.quickAsk(q)).then(r=>console.log('Gemini-3 응답: '+r)).catch(e=>console.log('[Gemini] Error:',e.message))})\"",
140
+ "statusMessage": "Asking Gemini 3..."
141
+ }
142
+ ]
143
+ },
144
+ {
145
+ "matcher": "디버깅|debugging|버그.*찾|find.*bug|debug.*this",
146
+ "hooks": [
147
+ {
148
+ "type": "command",
149
+ "command": "node -e \"const V=process.platform==='win32'?'file:///'+process.env.APPDATA.replace(/\\\\/g,'/')+'/npm/node_modules/@su-record/vibe/dist/lib/gpt-api.js':'@su-record/vibe/lib/gpt';let d='';process.stdin.on('data',c=>d+=c);process.stdin.on('end',()=>{const q=JSON.parse(d).prompt;import(V).then(g=>g.chat({messages:[{role:'user',content:q}],systemPrompt:'You are a debugging expert. Find bugs and suggest fixes.'})).then(r=>console.log('GPT-5.2 응답: '+r.content)).catch(e=>console.log('[GPT] Error:',e.message))})\"",
150
+ "statusMessage": "GPT debugging..."
151
+ }
152
+ ]
153
+ },
154
+ {
155
+ "matcher": "코드.*분석|analyze.*code|code.*review.*gemini",
156
+ "hooks": [
157
+ {
158
+ "type": "command",
159
+ "command": "node -e \"const V=process.platform==='win32'?'file:///'+process.env.APPDATA.replace(/\\\\/g,'/')+'/npm/node_modules/@su-record/vibe/dist/lib/gemini-api.js':'@su-record/vibe/lib/gemini';let d='';process.stdin.on('data',c=>d+=c);process.stdin.on('end',()=>{const q=JSON.parse(d).prompt;import(V).then(g=>g.chat({messages:[{role:'user',content:q}],systemPrompt:'You are a code analysis expert. Review and analyze the code.'})).then(r=>console.log('Gemini-3 응답: '+r.content)).catch(e=>console.log('[Gemini] Error:',e.message))})\"",
160
+ "statusMessage": "Gemini analyzing code..."
161
+ }
162
+ ]
163
+ }
164
+ ],
165
+ "Notification": [
166
+ {
167
+ "matcher": "context_window_80",
168
+ "hooks": [
169
+ {
170
+ "type": "command",
171
+ "command": "node -e \"const B=process.platform==='win32'?'file:///'+process.env.APPDATA.replace(/\\\\/g,'/')+'/npm/node_modules/@su-record/vibe/dist/tools/memory/index.js':'@su-record/vibe/tools/memory';const p='$CLAUDE_PROJECT_DIR';import(B).then(t=>t.autoSaveContext({urgency:'medium',contextType:'progress',summary:'Context at 80% - auto checkpoint',projectPath:p}).then(r=>console.log('[CONTEXT 80%]',r.content[0].text))).catch(()=>{})\""
172
+ }
173
+ ]
174
+ },
175
+ {
176
+ "matcher": "context_window_90",
177
+ "hooks": [
178
+ {
179
+ "type": "command",
180
+ "command": "node -e \"const B=process.platform==='win32'?'file:///'+process.env.APPDATA.replace(/\\\\/g,'/')+'/npm/node_modules/@su-record/vibe/dist/tools/memory/index.js':'@su-record/vibe/tools/memory';const p='$CLAUDE_PROJECT_DIR';import(B).then(t=>t.autoSaveContext({urgency:'high',contextType:'progress',summary:'Context at 90% - save before overflow',projectPath:p}).then(r=>console.log('[CONTEXT 90%]',r.content[0].text))).catch(()=>{})\""
181
+ }
182
+ ]
183
+ },
184
+ {
185
+ "matcher": "context_window_95",
186
+ "hooks": [
187
+ {
188
+ "type": "command",
189
+ "command": "node -e \"const B=process.platform==='win32'?'file:///'+process.env.APPDATA.replace(/\\\\/g,'/')+'/npm/node_modules/@su-record/vibe/dist/tools/memory/index.js':'@su-record/vibe/tools/memory';const p='$CLAUDE_PROJECT_DIR';import(B).then(t=>t.autoSaveContext({urgency:'critical',contextType:'progress',summary:'Context at 95% - CRITICAL save before session end',projectPath:p}).then(r=>console.log('[CONTEXT 95%]',r.content[0].text))).catch(()=>{})\""
190
+ }
191
+ ]
192
+ }
193
+ ]
194
+ }
195
+ }
package/package.json CHANGED
@@ -1,87 +1,87 @@
1
- {
2
- "name": "@su-record/vibe",
3
- "version": "2.4.17",
4
- "description": "Vibe - Claude Code exclusive SPEC-driven AI coding framework with 35+ integrated tools",
5
- "type": "module",
6
- "main": "dist/cli/index.js",
7
- "exports": {
8
- ".": "./dist/cli/index.js",
9
- "./tools": "./dist/tools/index.js",
10
- "./tools/memory": "./dist/tools/memory/index.js",
11
- "./tools/convention": "./dist/tools/convention/index.js",
12
- "./tools/semantic": "./dist/tools/semantic/index.js",
13
- "./tools/thinking": "./dist/tools/thinking/index.js",
14
- "./tools/planning": "./dist/tools/planning/index.js",
15
- "./tools/prompt": "./dist/tools/prompt/index.js",
16
- "./tools/ui": "./dist/tools/ui/index.js",
17
- "./tools/time": "./dist/tools/time/index.js",
18
- "./tools/reasoning": "./dist/tools/reasoning/index.js",
19
- "./tools/analytics": "./dist/tools/analytics/index.js",
20
- "./orchestrator": "./dist/orchestrator/index.js",
21
- "./lib/gpt": "./dist/lib/gpt-api.js",
22
- "./lib/gemini": "./dist/lib/gemini-api.js"
23
- },
24
- "bin": {
25
- "vibe": "./dist/cli/index.js"
26
- },
27
- "scripts": {
28
- "build": "tsc",
29
- "dev": "tsc --watch",
30
- "test": "vitest run",
31
- "test:watch": "vitest",
32
- "prepublishOnly": "npm run build"
33
- },
34
- "keywords": [
35
- "ai",
36
- "vibe",
37
- "coding",
38
- "spec-driven",
39
- "claude",
40
- "mcp",
41
- "framework",
42
- "requirements",
43
- "user-story",
44
- "ultrawork",
45
- "parallel-agents",
46
- "memory-management",
47
- "knowledge-graph",
48
- "code-analysis",
49
- "code-quality"
50
- ],
51
- "author": "Su",
52
- "license": "MIT",
53
- "repository": {
54
- "type": "git",
55
- "url": "https://github.com/su-record/vibe.git"
56
- },
57
- "homepage": "https://github.com/su-record/vibe#readme",
58
- "engines": {
59
- "node": ">=18.0.0"
60
- },
61
- "dependencies": {
62
- "@anthropic-ai/claude-agent-sdk": "^0.2.6",
63
- "@modelcontextprotocol/sdk": "^1.0.0",
64
- "better-sqlite3": "^12.4.1",
65
- "chalk": "^5.3.0",
66
- "glob": "^11.0.3",
67
- "ts-morph": "^26.0.0"
68
- },
69
- "devDependencies": {
70
- "@types/better-sqlite3": "^7.6.13",
71
- "@types/glob": "^8.1.0",
72
- "@types/node": "^22.0.0",
73
- "typescript": "^5.5.4",
74
- "vitest": "^4.0.9"
75
- },
76
- "files": [
77
- "dist/",
78
- ".claude/",
79
- "commands/",
80
- "agents/",
81
- "skills/",
82
- "hooks/",
83
- "CLAUDE.md",
84
- "README.md",
85
- "LICENSE"
86
- ]
87
- }
1
+ {
2
+ "name": "@su-record/vibe",
3
+ "version": "2.4.18",
4
+ "description": "Vibe - Claude Code exclusive SPEC-driven AI coding framework with 35+ integrated tools",
5
+ "type": "module",
6
+ "main": "dist/cli/index.js",
7
+ "exports": {
8
+ ".": "./dist/cli/index.js",
9
+ "./tools": "./dist/tools/index.js",
10
+ "./tools/memory": "./dist/tools/memory/index.js",
11
+ "./tools/convention": "./dist/tools/convention/index.js",
12
+ "./tools/semantic": "./dist/tools/semantic/index.js",
13
+ "./tools/thinking": "./dist/tools/thinking/index.js",
14
+ "./tools/planning": "./dist/tools/planning/index.js",
15
+ "./tools/prompt": "./dist/tools/prompt/index.js",
16
+ "./tools/ui": "./dist/tools/ui/index.js",
17
+ "./tools/time": "./dist/tools/time/index.js",
18
+ "./tools/reasoning": "./dist/tools/reasoning/index.js",
19
+ "./tools/analytics": "./dist/tools/analytics/index.js",
20
+ "./orchestrator": "./dist/orchestrator/index.js",
21
+ "./lib/gpt": "./dist/lib/gpt-api.js",
22
+ "./lib/gemini": "./dist/lib/gemini-api.js"
23
+ },
24
+ "bin": {
25
+ "vibe": "./dist/cli/index.js"
26
+ },
27
+ "scripts": {
28
+ "build": "tsc",
29
+ "dev": "tsc --watch",
30
+ "test": "vitest run",
31
+ "test:watch": "vitest",
32
+ "prepublishOnly": "npm run build"
33
+ },
34
+ "keywords": [
35
+ "ai",
36
+ "vibe",
37
+ "coding",
38
+ "spec-driven",
39
+ "claude",
40
+ "mcp",
41
+ "framework",
42
+ "requirements",
43
+ "user-story",
44
+ "ultrawork",
45
+ "parallel-agents",
46
+ "memory-management",
47
+ "knowledge-graph",
48
+ "code-analysis",
49
+ "code-quality"
50
+ ],
51
+ "author": "Su",
52
+ "license": "MIT",
53
+ "repository": {
54
+ "type": "git",
55
+ "url": "https://github.com/su-record/vibe.git"
56
+ },
57
+ "homepage": "https://github.com/su-record/vibe#readme",
58
+ "engines": {
59
+ "node": ">=18.0.0"
60
+ },
61
+ "dependencies": {
62
+ "@anthropic-ai/claude-agent-sdk": "^0.2.6",
63
+ "@modelcontextprotocol/sdk": "^1.0.0",
64
+ "better-sqlite3": "^12.4.1",
65
+ "chalk": "^5.3.0",
66
+ "glob": "^11.0.3",
67
+ "ts-morph": "^26.0.0"
68
+ },
69
+ "devDependencies": {
70
+ "@types/better-sqlite3": "^7.6.13",
71
+ "@types/glob": "^8.1.0",
72
+ "@types/node": "^22.0.0",
73
+ "typescript": "^5.5.4",
74
+ "vitest": "^4.0.9"
75
+ },
76
+ "files": [
77
+ "dist/",
78
+ ".claude/",
79
+ "commands/",
80
+ "agents/",
81
+ "skills/",
82
+ "hooks/",
83
+ "CLAUDE.md",
84
+ "README.md",
85
+ "LICENSE"
86
+ ]
87
+ }