@su-record/vibe 2.4.61 → 2.4.63
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/README.md +4 -10
- package/hooks/scripts/llm-orchestrate.js +21 -12
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -56,8 +56,9 @@ vibe init
|
|
|
56
56
|
| **13+ parallel review agents** | Security, performance, architecture |
|
|
57
57
|
| **BDD auto verification** | Given/When/Then scenario verification |
|
|
58
58
|
| **ULTRAWORK mode** | One keyword enables all optimizations |
|
|
59
|
-
| **
|
|
59
|
+
| **25 built-in tools** | Code analysis, memory management, quality validation |
|
|
60
60
|
| **Auto context management** | 80%+ auto-save, session restore |
|
|
61
|
+
| **23 language presets** | TypeScript, Python, Go, Rust, Swift, Kotlin, C#, Ruby, Dart, GDScript |
|
|
61
62
|
|
|
62
63
|
## ULTRAWORK Mode
|
|
63
64
|
|
|
@@ -86,13 +87,6 @@ Enable maximum performance with `ultrawork` or `ulw`:
|
|
|
86
87
|
| `디버깅`, `debugging`, `버그 찾` | GPT | Bug analysis |
|
|
87
88
|
| `코드 분석`, `analyze code` | Gemini | Code review |
|
|
88
89
|
|
|
89
|
-
**Direct LLM call** with prefixes:
|
|
90
|
-
|
|
91
|
-
| LLM | Prefix | Example |
|
|
92
|
-
|-----|--------|---------|
|
|
93
|
-
| GPT | `gpt-`, `gpt.` | `gpt.weather today` |
|
|
94
|
-
| Gemini | `gemini-`, `gemini.` | `gemini.UI improvements` |
|
|
95
|
-
|
|
96
90
|
**Smart Routing features:**
|
|
97
91
|
- Automatic LLM selection based on task type
|
|
98
92
|
- 5-minute availability cache with fallback
|
|
@@ -123,13 +117,13 @@ import('@su-record/vibe/lib/gemini').then(g => g.webSearch('search query'))
|
|
|
123
117
|
- 🟡 P2 (Important): Recommended fix
|
|
124
118
|
- 🔵 P3 (Nice-to-have): Backlog
|
|
125
119
|
|
|
126
|
-
## Built-in Tools (
|
|
120
|
+
## Built-in Tools (25)
|
|
127
121
|
|
|
128
122
|
| Category | Tools |
|
|
129
123
|
|----------|-------|
|
|
130
124
|
| **Semantic** | `find_symbol`, `find_references`, `analyze_dependency_graph` |
|
|
131
125
|
| **Convention** | `analyze_complexity`, `validate_code_quality`, `check_coupling_cohesion`, `suggest_improvements`, `apply_quality_rules` |
|
|
132
|
-
| **Memory** | `start_session`, `save_memory`, `auto_save_context`, `recall_memory`, `search_memories`, `list_memories`, `update_memory`, `delete_memory`, `link_memories`, `prioritize_memory`, `get_memory_graph`, `create_memory_timeline`, `get_session_context`, `restore_session_context` |
|
|
126
|
+
| **Memory** | `start_session`, `save_memory`, `auto_save_context`, `recall_memory`, `search_memories`, `search_memories_advanced`, `list_memories`, `update_memory`, `delete_memory`, `link_memories`, `prioritize_memory`, `get_memory_graph`, `create_memory_timeline`, `get_session_context`, `restore_session_context` |
|
|
133
127
|
| **UI** | `preview_ui_ascii` |
|
|
134
128
|
| **Time** | `get_current_time` |
|
|
135
129
|
|
|
@@ -17,19 +17,28 @@ const mode = process.argv[3] || 'orchestrate';
|
|
|
17
17
|
const systemPrompt = process.argv[4] || 'You are a helpful assistant.';
|
|
18
18
|
|
|
19
19
|
async function main() {
|
|
20
|
-
// stdin에서 JSON 읽기
|
|
21
|
-
let inputData = '';
|
|
22
|
-
for await (const chunk of process.stdin) {
|
|
23
|
-
inputData += chunk;
|
|
24
|
-
}
|
|
25
|
-
|
|
26
20
|
let prompt;
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
21
|
+
|
|
22
|
+
// CLI argument가 있으면 사용 (5번째 인자부터)
|
|
23
|
+
const cliPrompt = process.argv.slice(5).join(' ').trim();
|
|
24
|
+
|
|
25
|
+
if (cliPrompt) {
|
|
26
|
+
// CLI에서 직접 호출: node script.js gpt orchestrate "system" "prompt"
|
|
27
|
+
prompt = cliPrompt;
|
|
28
|
+
} else {
|
|
29
|
+
// Hook에서 호출: stdin으로 JSON 입력
|
|
30
|
+
let inputData = '';
|
|
31
|
+
for await (const chunk of process.stdin) {
|
|
32
|
+
inputData += chunk;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
try {
|
|
36
|
+
const parsed = JSON.parse(inputData);
|
|
37
|
+
prompt = parsed.prompt;
|
|
38
|
+
} catch {
|
|
39
|
+
console.log(`[${provider.toUpperCase()}] Error: Invalid JSON input`);
|
|
40
|
+
return;
|
|
41
|
+
}
|
|
33
42
|
}
|
|
34
43
|
|
|
35
44
|
// 접두사 제거
|