@su-record/vibe 2.4.11 → 2.4.13
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/.claude/settings.local.json +2 -1
- package/hooks/hooks.json +6 -6
- package/package.json +1 -1
package/hooks/hooks.json
CHANGED
|
@@ -106,7 +106,7 @@
|
|
|
106
106
|
"hooks": [
|
|
107
107
|
{
|
|
108
108
|
"type": "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(
|
|
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))})\"",
|
|
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 \"let d='';process.stdin.on('data',c=>d+=c);process.stdin.on('end',()=>{const q=JSON.parse(d).prompt;import(
|
|
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))})\"",
|
|
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 \"let d='';process.stdin.on('data',c=>d+=c);process.stdin.on('end',()=>{const q=JSON.parse(d).prompt.replace(/gpt.*?(물어|질문|한테|분석)[^가-힣]*/i,'').trim();import(
|
|
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))})\"",
|
|
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 \"let d='';process.stdin.on('data',c=>d+=c);process.stdin.on('end',()=>{const q=JSON.parse(d).prompt.replace(/(gemini|제미나이).*?(물어|질문|한테|분석)[^가-힣]*/i,'').trim();import(
|
|
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))})\"",
|
|
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 \"let d='';process.stdin.on('data',c=>d+=c);process.stdin.on('end',()=>{const q=JSON.parse(d).prompt;import(
|
|
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))})\"",
|
|
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 \"let d='';process.stdin.on('data',c=>d+=c);process.stdin.on('end',()=>{const q=JSON.parse(d).prompt;import(
|
|
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))})\"",
|
|
160
160
|
"statusMessage": "Gemini analyzing code..."
|
|
161
161
|
}
|
|
162
162
|
]
|