@su-record/vibe 2.4.10 → 2.4.11

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 +12 -6
  2. package/package.json +1 -1
package/hooks/hooks.json CHANGED
@@ -106,7 +106,8 @@
106
106
  "hooks": [
107
107
  {
108
108
  "type": "command",
109
- "command": "echo '[GPT-5.2 AVAILABLE] Architecture review recommended. Claude should call: import(\"@su-record/vibe/lib/gpt\").then(g => g.chat({...}))'"
109
+ "command": "node -e \"let d='';process.stdin.on('data',c=>d+=c);process.stdin.on('end',()=>{const q=JSON.parse(d).prompt;import('@su-record/vibe/lib/gpt').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))})\"",
110
+ "statusMessage": "GPT analyzing architecture..."
110
111
  }
111
112
  ]
112
113
  },
@@ -115,7 +116,8 @@
115
116
  "hooks": [
116
117
  {
117
118
  "type": "command",
118
- "command": "echo '[GEMINI-3 AVAILABLE] UI/UX review recommended. Claude should call: import(\"@su-record/vibe/lib/gemini\").then(g => g.chat({...}))'"
119
+ "command": "node -e \"let d='';process.stdin.on('data',c=>d+=c);process.stdin.on('end',()=>{const q=JSON.parse(d).prompt;import('@su-record/vibe/lib/gemini').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))})\"",
120
+ "statusMessage": "Gemini reviewing UI/UX..."
119
121
  }
120
122
  ]
121
123
  },
@@ -124,7 +126,8 @@
124
126
  "hooks": [
125
127
  {
126
128
  "type": "command",
127
- "command": "echo '[GPT-5.2 READY] Claude should execute: node -e \"import(\\\"@su-record/vibe/lib/gpt\\\").then(g => g.quickAsk(\\\"USER_QUESTION_HERE\\\")).then(console.log).catch(e => console.error(e.message))\"'"
129
+ "command": "node -e \"let d='';process.stdin.on('data',c=>d+=c);process.stdin.on('end',()=>{const q=JSON.parse(d).prompt.replace(/gpt.*?(물어|질문|한테|분석)[^가-힣]*/i,'').trim();import('@su-record/vibe/lib/gpt').then(g=>g.quickAsk(q)).then(r=>console.log('[GPT-5.2]\\n'+r)).catch(e=>console.log('[GPT] Error:',e.message))})\"",
130
+ "statusMessage": "Asking GPT-5.2..."
128
131
  }
129
132
  ]
130
133
  },
@@ -133,7 +136,8 @@
133
136
  "hooks": [
134
137
  {
135
138
  "type": "command",
136
- "command": "echo '[GEMINI-3 READY] Claude should execute: node -e \"import(\\\"@su-record/vibe/lib/gemini\\\").then(g => g.quickAsk(\\\"USER_QUESTION_HERE\\\")).then(console.log).catch(e => console.error(e.message))\"'"
139
+ "command": "node -e \"let d='';process.stdin.on('data',c=>d+=c);process.stdin.on('end',()=>{const q=JSON.parse(d).prompt.replace(/(gemini|제미나이).*?(물어|질문|한테|분석)[^가-힣]*/i,'').trim();import('@su-record/vibe/lib/gemini').then(g=>g.quickAsk(q)).then(r=>console.log('[GEMINI-3]\\n'+r)).catch(e=>console.log('[GEMINI] Error:',e.message))})\"",
140
+ "statusMessage": "Asking Gemini 3..."
137
141
  }
138
142
  ]
139
143
  },
@@ -142,7 +146,8 @@
142
146
  "hooks": [
143
147
  {
144
148
  "type": "command",
145
- "command": "echo '[GPT-5.2 DEBUG] For debugging, Claude should call GPT via: import(\"@su-record/vibe/lib/gpt\").then(g => g.chat({...}))'"
149
+ "command": "node -e \"let d='';process.stdin.on('data',c=>d+=c);process.stdin.on('end',()=>{const q=JSON.parse(d).prompt;import('@su-record/vibe/lib/gpt').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))})\"",
150
+ "statusMessage": "GPT debugging..."
146
151
  }
147
152
  ]
148
153
  },
@@ -151,7 +156,8 @@
151
156
  "hooks": [
152
157
  {
153
158
  "type": "command",
154
- "command": "echo '[GEMINI-3 CODE] For code analysis, Claude should call Gemini via: import(\"@su-record/vibe/lib/gemini\").then(g => g.chat({...}))'"
159
+ "command": "node -e \"let d='';process.stdin.on('data',c=>d+=c);process.stdin.on('end',()=>{const q=JSON.parse(d).prompt;import('@su-record/vibe/lib/gemini').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))})\"",
160
+ "statusMessage": "Gemini analyzing code..."
155
161
  }
156
162
  ]
157
163
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@su-record/vibe",
3
- "version": "2.4.10",
3
+ "version": "2.4.11",
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",