@su-record/vibe 2.4.55 → 2.4.56

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.
@@ -267,18 +267,23 @@ Automatically select optimal model based on task type:
267
267
 
268
268
  When external LLMs are enabled in `.claude/vibe/config.json`:
269
269
 
270
- | Role | Prefix | Condition |
270
+ | Role | Method | Condition |
271
271
  |------|--------|-----------|
272
- | User direct query | `gpt-`, `gpt.`, `지피티-` | Direct question with Web Search |
273
- | Internal orchestration (GPT) | `vibe-gpt-` | Internal JSON orchestration (no search) |
274
- | User direct query | `gemini-`, `gemini.`, `제미나이-` | Direct question with Google Search |
275
- | Internal orchestration (Gemini) | `vibe-gemini-` | Internal JSON orchestration (no search) |
272
+ | User direct query | `gpt.질문`, `gemini.질문` | Hook이 자동 처리 |
273
+ | Internal orchestration | Bash로 전역 스크립트 호출 | Claude가 직접 호출 |
276
274
 
277
- When external LLM enabled, use hook prefixes:
278
- - `gpt.질문` - GPT architecture consultation (with web search)
275
+ **사용자 질문 (Hook 자동 처리):**
276
+ - `gpt.질문` - GPT 아키텍처 상담
279
277
  - `gemini.질문` - Gemini 질문/상담
280
- - `vibe-gemini- Analyze this code: [code]` - 코드 분석 (orchestration)
281
- - `vibe-gemini- Review UI/UX for: [component]` - UI/UX 리뷰 (orchestration)
278
+
279
+ **Claude 내부 호출 (Bash로 직접):**
280
+ ```bash
281
+ # GPT 호출
282
+ echo '{"prompt":"[질문 내용]"}' | node ~/.claude/hooks/scripts/llm-orchestrate.js gpt orchestrate-json
283
+
284
+ # Gemini 호출
285
+ echo '{"prompt":"[질문 내용]"}' | node ~/.claude/hooks/scripts/llm-orchestrate.js gemini orchestrate-json
286
+ ```
282
287
 
283
288
  ### External LLM Fallback
284
289
 
@@ -442,8 +447,8 @@ Then: 로그인 성공 + JWT 토큰 반환
442
447
  │ │ │
443
448
  │ Task(haiku) ─┴─→ "Find existing patterns and conventions" │
444
449
  │ │
445
- │ [If GPT enabled] vibe-gpt- Review architecture: [design] │
446
- │ [If Gemini enabled] vibe-gemini- Suggest UX for: [component] │
450
+ │ [If GPT enabled] Bash: echo '{"prompt":"..."}' | node ~/.claude/hooks/scripts/llm-orchestrate.js gpt orchestrate-json
451
+ │ [If Gemini enabled] Bash: echo '{"prompt":"..."}' | node ~/.claude/hooks/scripts/llm-orchestrate.js gemini orchestrate-json
447
452
  └─────────────────────────────────────────────────────────────────┘
448
453
 
449
454
  ↓ (wait for all to complete)
@@ -650,25 +655,16 @@ Phase N+1 Start (IMMEDIATE - exploration already done!)
650
655
 
651
656
  **MUST: Gemini 코드 리뷰 (필수)**
652
657
 
653
- Gemini가 활성화된 경우, **반드시** 아래 훅을 사용하여 코드 리뷰를 받아야 합니다:
658
+ Gemini가 활성화된 경우, **반드시** 전역 스크립트로 코드 리뷰:
654
659
 
655
- ```
656
- vibe-gemini- Review this code for security, performance, best-practices:
657
- [변경된 파일들의 전체 코드]
658
- SPEC 요구사항: [요약]
659
- 시나리오: [구현한 시나리오 목록]
660
- ```
661
-
662
- 또는 한글로:
663
- ```
664
- 제미나이- 이 코드 리뷰해줘 (보안, 성능, 베스트프랙티스):
665
- [코드]
660
+ ```bash
661
+ echo '{"prompt":"Review this code for security, performance, best-practices: [코드 요약]. SPEC: [요약]. Scenarios: [목록]"}' | node ~/.claude/hooks/scripts/llm-orchestrate.js gemini orchestrate-json
666
662
  ```
667
663
 
668
664
  **호출 순서:**
669
- 1. 변경된 모든 파일 내용을 질문에 포함
670
- 2. SPEC 핵심 요구사항 요약 추가
671
- 3. 호출 실행
665
+ 1. 변경된 파일들의 핵심 내용 요약
666
+ 2. SPEC 요구사항 요약 추가
667
+ 3. 전역 스크립트 호출 실행
672
668
  4. 응답의 피드백 항목별로 코드 수정
673
669
  5. 빌드/테스트 재실행
674
670
 
@@ -115,19 +115,28 @@ When external LLMs are enabled, automatically utilize during SPEC creation:
115
115
 
116
116
  [Claude Opus] Create SPEC draft
117
117
 
118
- [GPT enabled?] → vibe-gpt- Review this architecture: [design]
118
+ [GPT enabled?] → Bash로 전역 스크립트 호출
119
119
 
120
- [Gemini enabled?] → vibe-gemini- Suggest UX improvements for: [component]
120
+ [Gemini enabled?] → Bash로 전역 스크립트 호출
121
121
 
122
122
  [Claude] Finalize SPEC
123
123
  ```
124
124
 
125
- | External LLM | Prefix | Role | When Used |
126
- |--------------|--------|------|-----------|
127
- | GPT (user query) | `gpt-`, `gpt.`, `지피티-` | Direct question (Web Search enabled) | User asks directly |
128
- | GPT (orchestration) | `vibe-gpt-` | Internal orchestration (JSON, no search) | SPEC/vibe.run internal |
129
- | Gemini (user query) | `gemini-`, `gemini.`, `제미나이-` | Direct question (Google Search enabled) | User asks directly |
130
- | Gemini (orchestration) | `vibe-gemini-` | Internal orchestration (JSON, no search) | SPEC/vibe.run internal |
125
+ | External LLM | 호출 방법 | Role | When Used |
126
+ |--------------|-----------|------|-----------|
127
+ | GPT (user query) | `gpt-`, `gpt.`, `지피티-` 접두사 | Direct question (Web Search enabled) | User asks directly |
128
+ | GPT (orchestration) | Bash로 전역 훅 스크립트 호출 | Internal orchestration (JSON, no search) | SPEC/vibe.run internal |
129
+ | Gemini (user query) | `gemini-`, `gemini.`, `제미나이-` 접두사 | Direct question (Google Search enabled) | User asks directly |
130
+ | Gemini (orchestration) | Bash로 전역 훅 스크립트 호출 | Internal orchestration (JSON, no search) | SPEC/vibe.run internal |
131
+
132
+ **Claude 내부 오케스트레이션 호출 (Bash):**
133
+ ```bash
134
+ # GPT 호출
135
+ echo '{"prompt":"[질문 내용]"}' | node ~/.claude/hooks/scripts/llm-orchestrate.js gpt orchestrate-json
136
+
137
+ # Gemini 호출
138
+ echo '{"prompt":"[질문 내용]"}' | node ~/.claude/hooks/scripts/llm-orchestrate.js gemini orchestrate-json
139
+ ```
131
140
 
132
141
  **Activation:**
133
142
  ```bash
@@ -446,41 +455,23 @@ Self-evaluate against `.claude/vibe/rules/quality/checklist.md` (0-100 score)
446
455
 
447
456
  **MUST: SPEC 리뷰 (필수)**
448
457
 
449
- Gemini 또는 GPT가 활성화된 경우, **반드시** 아래 훅을 사용하여 SPEC 리뷰:
450
-
451
- **Gemini 사용 시:**
452
- ```
453
- vibe-gemini- Review this SPEC for completeness, security, edge cases:
458
+ Gemini 또는 GPT가 활성화된 경우, **반드시** 전역 스크립트로 SPEC 리뷰:
454
459
 
455
- SPEC: [SPEC 전체 내용]
456
- Feature: [Feature 파일 내용]
457
- Tech Stack: [기술 스택]
458
-
459
- Check for:
460
- 1. Missing error handling scenarios
461
- 2. Security considerations
462
- 3. Edge cases and boundary conditions
463
- 4. Integration points clarity
464
- 5. Testability of acceptance criteria
460
+ **GPT로 리뷰 (우선):**
461
+ ```bash
462
+ echo '{"prompt":"Review SPEC: [SPEC 핵심 요약]. Stack: [기술스택]. Check: error handling, security, edge cases, testability"}' | node ~/.claude/hooks/scripts/llm-orchestrate.js gpt orchestrate-json
465
463
  ```
466
464
 
467
- **GPT 사용 시:**
465
+ **Gemini로 리뷰 (GPT 실패 시):**
466
+ ```bash
467
+ echo '{"prompt":"Review SPEC: [SPEC 핵심 요약]. Stack: [기술스택]. Check: error handling, security, edge cases, testability"}' | node ~/.claude/hooks/scripts/llm-orchestrate.js gemini orchestrate-json
468
468
  ```
469
- vibe-gpt- Review this SPEC for completeness, security, edge cases:
470
469
 
471
- SPEC: [SPEC 전체 내용]
472
- Feature: [Feature 파일 내용]
473
- Tech Stack: [기술 스택]
474
-
475
- Check for:
476
- 1. Missing error handling scenarios
477
- 2. Security considerations
478
- 3. Edge cases and boundary conditions
479
- 4. Integration points clarity
480
- 5. Testability of acceptance criteria
481
- ```
470
+ **중요:**
471
+ - 전역 설치된 `~/.claude/hooks/scripts/llm-orchestrate.js` 사용
472
+ - SPEC 전체를 보내지 말고 **핵심 요약**만 전송 (토큰 절약)
482
473
 
483
- **우선순위:** GPT 먼저 시도 (요구사항 분석에 강함) → 실패 시 Gemini 시도 → 둘 다 실패 시 스킵
474
+ **우선순위:** GPT 먼저 시도 → 실패 시 Gemini 시도 → 둘 다 실패 시 스킵
484
475
 
485
476
  **리뷰 항목:**
486
477
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@su-record/vibe",
3
- "version": "2.4.55",
3
+ "version": "2.4.56",
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",