@su-record/vibe 2.4.14 → 2.4.15

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/hooks/hooks.json +15 -15
  2. package/package.json +1 -1
package/hooks/hooks.json CHANGED
@@ -10,7 +10,7 @@
10
10
  "hooks": [
11
11
  {
12
12
  "type": "command",
13
- "command": "node -e \"const p='$CLAUDE_PROJECT_DIR';Promise.all([import('@su-record/vibe/tools/memory').then(t => t.startSession({projectPath: p})), import('@su-record/vibe/tools/time').then(t => t.getCurrentTime({format: 'human', timezone: 'Asia/Seoul'})), import('@su-record/vibe/tools/memory').then(t => t.listMemories({limit: 5, projectPath: p}))]).then(([session, time, memories]) => console.log(session.content[0].text + '\\n\\n' + time.content[0].text + '\\n\\n[Recent Memories]\\n' + memories.content[0].text))\""
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
14
  }
15
15
  ]
16
16
  }
@@ -32,7 +32,7 @@
32
32
  "hooks": [
33
33
  {
34
34
  "type": "command",
35
- "command": "node -e \"const p='$CLAUDE_PROJECT_DIR';import('@su-record/vibe/tools/convention').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.'))\""
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
36
  }
37
37
  ]
38
38
  }
@@ -61,7 +61,7 @@
61
61
  "hooks": [
62
62
  {
63
63
  "type": "command",
64
- "command": "node -e \"const p='$CLAUDE_PROJECT_DIR';import('@su-record/vibe/tools/memory').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'))\""
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
65
  }
66
66
  ]
67
67
  },
@@ -70,7 +70,7 @@
70
70
  "hooks": [
71
71
  {
72
72
  "type": "command",
73
- "command": "node -e \"const p='$CLAUDE_PROJECT_DIR';import('@su-record/vibe/tools/convention').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'))\""
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
74
  }
75
75
  ]
76
76
  },
@@ -88,7 +88,7 @@
88
88
  "hooks": [
89
89
  {
90
90
  "type": "command",
91
- "command": "node -e \"const p='$CLAUDE_PROJECT_DIR';import('@su-record/vibe/tools/convention').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'))\""
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
92
  }
93
93
  ]
94
94
  },
@@ -97,7 +97,7 @@
97
97
  "hooks": [
98
98
  {
99
99
  "type": "command",
100
- "command": "node -e \"const p='$CLAUDE_PROJECT_DIR';import('@su-record/vibe/tools/memory').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'))\""
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
101
  }
102
102
  ]
103
103
  },
@@ -106,7 +106,7 @@
106
106
  "hooks": [
107
107
  {
108
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 Architecture]\\n'+r.content)).catch(e=>console.log('[GPT] Error:',e.message))})\"",
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
110
  "statusMessage": "GPT analyzing architecture..."
111
111
  }
112
112
  ]
@@ -116,7 +116,7 @@
116
116
  "hooks": [
117
117
  {
118
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 UI/UX]\\n'+r.content)).catch(e=>console.log('[GEMINI] Error:',e.message))})\"",
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
120
  "statusMessage": "Gemini reviewing UI/UX..."
121
121
  }
122
122
  ]
@@ -126,7 +126,7 @@
126
126
  "hooks": [
127
127
  {
128
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]\\n'+r)).catch(e=>console.log('[GPT] Error:',e.message))})\"",
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
130
  "statusMessage": "Asking GPT-5.2..."
131
131
  }
132
132
  ]
@@ -136,7 +136,7 @@
136
136
  "hooks": [
137
137
  {
138
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]\\n'+r)).catch(e=>console.log('[GEMINI] Error:',e.message))})\"",
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
140
  "statusMessage": "Asking Gemini 3..."
141
141
  }
142
142
  ]
@@ -146,7 +146,7 @@
146
146
  "hooks": [
147
147
  {
148
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 Debug]\\n'+r.content)).catch(e=>console.log('[GPT] Error:',e.message))})\"",
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
150
  "statusMessage": "GPT debugging..."
151
151
  }
152
152
  ]
@@ -156,7 +156,7 @@
156
156
  "hooks": [
157
157
  {
158
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 Code]\\n'+r.content)).catch(e=>console.log('[GEMINI] Error:',e.message))})\"",
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
160
  "statusMessage": "Gemini analyzing code..."
161
161
  }
162
162
  ]
@@ -168,7 +168,7 @@
168
168
  "hooks": [
169
169
  {
170
170
  "type": "command",
171
- "command": "node -e \"const p='$CLAUDE_PROJECT_DIR';import('@su-record/vibe/tools/memory').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)))\""
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
172
  }
173
173
  ]
174
174
  },
@@ -177,7 +177,7 @@
177
177
  "hooks": [
178
178
  {
179
179
  "type": "command",
180
- "command": "node -e \"const p='$CLAUDE_PROJECT_DIR';import('@su-record/vibe/tools/memory').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)))\""
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
181
  }
182
182
  ]
183
183
  },
@@ -186,7 +186,7 @@
186
186
  "hooks": [
187
187
  {
188
188
  "type": "command",
189
- "command": "node -e \"const p='$CLAUDE_PROJECT_DIR';import('@su-record/vibe/tools/memory').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)))\""
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
190
  }
191
191
  ]
192
192
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@su-record/vibe",
3
- "version": "2.4.14",
3
+ "version": "2.4.15",
4
4
  "description": "Vibe - Claude Code exclusive SPEC-driven AI coding framework with 35+ integrated tools",
5
5
  "type": "module",
6
6
  "main": "dist/cli/index.js",