@su-record/vibe 2.4.64 → 2.4.65
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/commands/vibe.run.md +18 -11
- package/commands/vibe.spec.md +18 -8
- package/hooks/hooks.json +6 -6
- package/package.json +1 -1
package/commands/vibe.run.md
CHANGED
|
@@ -281,15 +281,22 @@ When external LLMs are enabled in `.claude/vibe/config.json`:
|
|
|
281
281
|
|
|
282
282
|
**Claude 내부 호출 (Bash로 직접):**
|
|
283
283
|
```bash
|
|
284
|
-
#
|
|
285
|
-
|
|
284
|
+
# Usage: node llm-orchestrate.js <provider> <mode> [systemPrompt] [prompt]
|
|
285
|
+
# - systemPrompt 생략 시 기본값 사용
|
|
286
|
+
# - systemPrompt에 "-" 전달 시 기본값 사용하고 다음 인자를 prompt로 처리
|
|
287
|
+
|
|
288
|
+
# GPT 호출 (Windows)
|
|
289
|
+
node "$APPDATA/vibe/hooks/scripts/llm-orchestrate.js" gpt orchestrate-json "[질문 내용]"
|
|
286
290
|
# GPT 호출 (macOS/Linux)
|
|
287
|
-
|
|
291
|
+
node ~/.config/vibe/hooks/scripts/llm-orchestrate.js gpt orchestrate-json "[질문 내용]"
|
|
288
292
|
|
|
289
|
-
# Gemini 호출 (Windows
|
|
290
|
-
|
|
293
|
+
# Gemini 호출 (Windows)
|
|
294
|
+
node "$APPDATA/vibe/hooks/scripts/llm-orchestrate.js" gemini orchestrate-json "[질문 내용]"
|
|
291
295
|
# Gemini 호출 (macOS/Linux)
|
|
292
|
-
|
|
296
|
+
node ~/.config/vibe/hooks/scripts/llm-orchestrate.js gemini orchestrate-json "[질문 내용]"
|
|
297
|
+
|
|
298
|
+
# 커스텀 시스템 프롬프트 사용
|
|
299
|
+
node "$APPDATA/vibe/hooks/scripts/llm-orchestrate.js" gpt orchestrate-json "You are a code reviewer" "[질문 내용]"
|
|
293
300
|
```
|
|
294
301
|
|
|
295
302
|
### External LLM Fallback
|
|
@@ -454,8 +461,8 @@ Then: 로그인 성공 + JWT 토큰 반환
|
|
|
454
461
|
│ │ │
|
|
455
462
|
│ Task(haiku) ─┴─→ "Find existing patterns and conventions" │
|
|
456
463
|
│ │
|
|
457
|
-
│ [If GPT enabled] Bash: node {{VIBE_PATH}}/hooks/scripts/llm-orchestrate.js gpt orchestrate-json
|
|
458
|
-
│ [If Gemini enabled] Bash: node {{VIBE_PATH}}/hooks/scripts/llm-orchestrate.js gemini orchestrate-json
|
|
464
|
+
│ [If GPT enabled] Bash: node {{VIBE_PATH}}/hooks/scripts/llm-orchestrate.js gpt orchestrate-json "[질문]"
|
|
465
|
+
│ [If Gemini enabled] Bash: node {{VIBE_PATH}}/hooks/scripts/llm-orchestrate.js gemini orchestrate-json "[질문]"
|
|
459
466
|
└─────────────────────────────────────────────────────────────────┘
|
|
460
467
|
│
|
|
461
468
|
↓ (wait for all to complete)
|
|
@@ -665,11 +672,11 @@ Phase N+1 Start (IMMEDIATE - exploration already done!)
|
|
|
665
672
|
Gemini가 활성화된 경우, **반드시** 전역 훅 스크립트로 코드 리뷰:
|
|
666
673
|
|
|
667
674
|
```bash
|
|
668
|
-
# Windows
|
|
669
|
-
|
|
675
|
+
# Windows
|
|
676
|
+
node "$APPDATA/vibe/hooks/scripts/llm-orchestrate.js" gemini orchestrate-json "Review this code for security, performance, best-practices: [코드 요약]. SPEC: [요약]. Scenarios: [목록]"
|
|
670
677
|
|
|
671
678
|
# macOS/Linux
|
|
672
|
-
|
|
679
|
+
node ~/.config/vibe/hooks/scripts/llm-orchestrate.js gemini orchestrate-json "Review this code for security, performance, best-practices: [코드 요약]. SPEC: [요약]. Scenarios: [목록]"
|
|
673
680
|
```
|
|
674
681
|
|
|
675
682
|
**호출 순서:**
|
package/commands/vibe.spec.md
CHANGED
|
@@ -131,15 +131,22 @@ When external LLMs are enabled, automatically utilize during SPEC creation:
|
|
|
131
131
|
|
|
132
132
|
**Claude 내부 오케스트레이션 호출 (Bash):**
|
|
133
133
|
```bash
|
|
134
|
-
#
|
|
135
|
-
|
|
134
|
+
# Usage: node llm-orchestrate.js <provider> <mode> [systemPrompt] [prompt]
|
|
135
|
+
# - systemPrompt 생략 시 기본값 사용
|
|
136
|
+
# - systemPrompt에 "-" 전달 시 기본값 사용하고 다음 인자를 prompt로 처리
|
|
137
|
+
|
|
138
|
+
# GPT 호출 (Windows)
|
|
139
|
+
node "$APPDATA/vibe/hooks/scripts/llm-orchestrate.js" gpt orchestrate-json "[질문 내용]"
|
|
136
140
|
# GPT 호출 (macOS/Linux)
|
|
137
|
-
|
|
141
|
+
node ~/.config/vibe/hooks/scripts/llm-orchestrate.js gpt orchestrate-json "[질문 내용]"
|
|
138
142
|
|
|
139
|
-
# Gemini 호출 (Windows
|
|
140
|
-
|
|
143
|
+
# Gemini 호출 (Windows)
|
|
144
|
+
node "$APPDATA/vibe/hooks/scripts/llm-orchestrate.js" gemini orchestrate-json "[질문 내용]"
|
|
141
145
|
# Gemini 호출 (macOS/Linux)
|
|
142
|
-
|
|
146
|
+
node ~/.config/vibe/hooks/scripts/llm-orchestrate.js gemini orchestrate-json "[질문 내용]"
|
|
147
|
+
|
|
148
|
+
# 커스텀 시스템 프롬프트 사용
|
|
149
|
+
node "$APPDATA/vibe/hooks/scripts/llm-orchestrate.js" gpt orchestrate-json "You are a SPEC reviewer" "[질문 내용]"
|
|
143
150
|
```
|
|
144
151
|
|
|
145
152
|
**Activation:**
|
|
@@ -517,17 +524,20 @@ Gemini 또는 GPT가 활성화된 경우, **반드시** Bash로 훅 스크립트
|
|
|
517
524
|
**GPT로 리뷰 (우선):**
|
|
518
525
|
|
|
519
526
|
```bash
|
|
520
|
-
# Windows
|
|
527
|
+
# Windows
|
|
521
528
|
node "$APPDATA/vibe/hooks/scripts/llm-orchestrate.js" gpt orchestrate-json "Review SPEC for [기능명]. Stack: [스택]. Summary: [요약]. Check: completeness, error handling, security, edge cases."
|
|
522
529
|
|
|
523
530
|
# macOS/Linux
|
|
524
531
|
node ~/.config/vibe/hooks/scripts/llm-orchestrate.js gpt orchestrate-json "Review SPEC for [기능명]. Stack: [스택]. Summary: [요약]. Check: completeness, error handling, security, edge cases."
|
|
532
|
+
|
|
533
|
+
# 커스텀 시스템 프롬프트 사용 시
|
|
534
|
+
node "$APPDATA/vibe/hooks/scripts/llm-orchestrate.js" gpt orchestrate-json "You are a SPEC reviewer" "[질문]"
|
|
525
535
|
```
|
|
526
536
|
|
|
527
537
|
**Gemini로 리뷰 (GPT 실패 시):**
|
|
528
538
|
|
|
529
539
|
```bash
|
|
530
|
-
# Windows
|
|
540
|
+
# Windows
|
|
531
541
|
node "$APPDATA/vibe/hooks/scripts/llm-orchestrate.js" gemini orchestrate-json "Review SPEC for [기능명]. Stack: [스택]. Summary: [요약]. Check: completeness, error handling, security, edge cases."
|
|
532
542
|
|
|
533
543
|
# macOS/Linux
|
package/hooks/hooks.json
CHANGED
|
@@ -97,7 +97,7 @@
|
|
|
97
97
|
"hooks": [
|
|
98
98
|
{
|
|
99
99
|
"type": "command",
|
|
100
|
-
"command": "node {{VIBE_PATH}}/hooks/scripts/llm-orchestrate.js gpt orchestrate \"You are a software architect. Analyze and review the architecture.\"",
|
|
100
|
+
"command": "node {{VIBE_PATH}}/hooks/scripts/llm-orchestrate.js gpt orchestrate \"You are a software architect. Analyze and review the architecture.\" \"{{prompt}}\"",
|
|
101
101
|
"statusMessage": "GPT analyzing architecture..."
|
|
102
102
|
}
|
|
103
103
|
]
|
|
@@ -107,7 +107,7 @@
|
|
|
107
107
|
"hooks": [
|
|
108
108
|
{
|
|
109
109
|
"type": "command",
|
|
110
|
-
"command": "node {{VIBE_PATH}}/hooks/scripts/llm-orchestrate.js gemini orchestrate \"You are a UI/UX expert. Analyze and provide feedback.\"",
|
|
110
|
+
"command": "node {{VIBE_PATH}}/hooks/scripts/llm-orchestrate.js gemini orchestrate \"You are a UI/UX expert. Analyze and provide feedback.\" \"{{prompt}}\"",
|
|
111
111
|
"statusMessage": "Gemini reviewing UI/UX..."
|
|
112
112
|
}
|
|
113
113
|
]
|
|
@@ -117,7 +117,7 @@
|
|
|
117
117
|
"hooks": [
|
|
118
118
|
{
|
|
119
119
|
"type": "command",
|
|
120
|
-
"command": "node {{VIBE_PATH}}/hooks/scripts/llm-orchestrate.js gpt orchestrate \"You are a debugging expert. Find bugs and suggest fixes.\"",
|
|
120
|
+
"command": "node {{VIBE_PATH}}/hooks/scripts/llm-orchestrate.js gpt orchestrate \"You are a debugging expert. Find bugs and suggest fixes.\" \"{{prompt}}\"",
|
|
121
121
|
"statusMessage": "GPT debugging..."
|
|
122
122
|
}
|
|
123
123
|
]
|
|
@@ -127,7 +127,7 @@
|
|
|
127
127
|
"hooks": [
|
|
128
128
|
{
|
|
129
129
|
"type": "command",
|
|
130
|
-
"command": "node {{VIBE_PATH}}/hooks/scripts/llm-orchestrate.js gemini orchestrate \"You are a code analysis expert. Review and analyze the code.\"",
|
|
130
|
+
"command": "node {{VIBE_PATH}}/hooks/scripts/llm-orchestrate.js gemini orchestrate \"You are a code analysis expert. Review and analyze the code.\" \"{{prompt}}\"",
|
|
131
131
|
"statusMessage": "Gemini analyzing code..."
|
|
132
132
|
}
|
|
133
133
|
]
|
|
@@ -137,7 +137,7 @@
|
|
|
137
137
|
"hooks": [
|
|
138
138
|
{
|
|
139
139
|
"type": "command",
|
|
140
|
-
"command": "node {{VIBE_PATH}}/hooks/scripts/llm-orchestrate.js gpt orchestrate \"
|
|
140
|
+
"command": "node {{VIBE_PATH}}/hooks/scripts/llm-orchestrate.js gpt orchestrate - \"{{prompt}}\"",
|
|
141
141
|
"statusMessage": "Testing GPT..."
|
|
142
142
|
}
|
|
143
143
|
]
|
|
@@ -147,7 +147,7 @@
|
|
|
147
147
|
"hooks": [
|
|
148
148
|
{
|
|
149
149
|
"type": "command",
|
|
150
|
-
"command": "node {{VIBE_PATH}}/hooks/scripts/llm-orchestrate.js gemini orchestrate \"
|
|
150
|
+
"command": "node {{VIBE_PATH}}/hooks/scripts/llm-orchestrate.js gemini orchestrate - \"{{prompt}}\"",
|
|
151
151
|
"statusMessage": "Testing Gemini..."
|
|
152
152
|
}
|
|
153
153
|
]
|