@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.
- package/hooks/hooks.json +12 -6
- 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": "
|
|
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": "
|
|
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": "
|
|
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": "
|
|
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": "
|
|
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": "
|
|
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
|
}
|