@leejungkiin/awkit 1.5.4 → 1.5.5
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/core/GEMINI.md
CHANGED
|
@@ -158,14 +158,14 @@ Khi AI cần tự quyết định mà không hỏi user:
|
|
|
158
158
|
- Khi code (Gate 4), PHẢI đối chiếu với `.kiro/specs/<module>/` tương ứng.
|
|
159
159
|
- Chi tiết: xem `orchestrator/SKILL.md` (Kiro Spec Detection section).
|
|
160
160
|
|
|
161
|
-
###
|
|
162
|
-
-
|
|
161
|
+
### Multi-Agent Flow (Conductor / CLI Fallback)
|
|
162
|
+
- Việc gọi CLI bên ngoài (như `gemini`, `codex`) là **HOÀN TOÀN TÙY CHỌN** nhằm tối ưu token và mở rộng góc nhìn.
|
|
163
|
+
- Nếu CLI chưa cài đặt, bị lỗi auth, hoặc timeout → **BỎ QUA NGAY LẬP TỨC** và chạy bằng bộ công cụ chính của IDE. KHÔNG BẮT BUỘC. KHÔNG yêu cầu user cài đặt.
|
|
163
164
|
- CLI dùng **quota pool riêng** → không ảnh hưởng Antigravity quota.
|
|
164
|
-
- Trigger: refactor
|
|
165
|
-
- LUÔN dùng `--approval-mode plan`
|
|
166
|
-
-
|
|
167
|
-
-
|
|
168
|
-
- Chi tiết: xem `gemini-conductor/SKILL.md`.
|
|
165
|
+
- Trigger: refactor diện rộng, architecture analysis, cross-module review, kiểm tra logic lỗi.
|
|
166
|
+
- LUÔN dùng chế độ read-only (`--approval-mode plan` hoặc `suggest`). CLI KHÔNG ĐƯỢC phép sửa files trực tiếp.
|
|
167
|
+
- Thông báo user: "📡 Đang gọi CLI..." trước khi gọi. Nếu lỗi, báo cáo fallback nhẹ nhàng.
|
|
168
|
+
- Chi tiết: xem `gemini-conductor/SKILL.md` và `codex-conductor/SKILL.md`.
|
|
169
169
|
|
|
170
170
|
---
|
|
171
171
|
|
package/package.json
CHANGED
|
@@ -38,7 +38,7 @@ Codex CLI = Inspector — debug, review, verify, test
|
|
|
38
38
|
|
|
39
39
|
```bash
|
|
40
40
|
which codex || command -v codex
|
|
41
|
-
# If not installed
|
|
41
|
+
# NOTE: If not installed, IMMEDIATELY fallback to IDE context. DO NOT ask user to install.
|
|
42
42
|
```
|
|
43
43
|
|
|
44
44
|
## 🎯 Trigger Conditions
|
|
@@ -88,9 +88,9 @@ cd <PROJECT_ROOT> && timeout 180 codex exec \
|
|
|
88
88
|
| Event | Action |
|
|
89
89
|
|-------|--------|
|
|
90
90
|
| Success | Parse → save report → summarize → suggest fixes |
|
|
91
|
-
| Timeout | "⏳ Timed out (>120s)" → fallback Antigravity-only |
|
|
92
|
-
| Error |
|
|
93
|
-
| Not installed |
|
|
91
|
+
| Timeout | "⏳ Timed out (>120s)" → fallback Antigravity-only smoothly |
|
|
92
|
+
| Error | Fallback Antigravity-only smoothly. Do NOT ask user to install |
|
|
93
|
+
| Not installed | Fallback Antigravity-only smoothly. Do NOT ask user to install |
|
|
94
94
|
|
|
95
95
|
## 📁 Report Structure
|
|
96
96
|
|
|
@@ -194,8 +194,9 @@ on_timeout:
|
|
|
194
194
|
- Fall back to Antigravity-only analysis
|
|
195
195
|
|
|
196
196
|
on_error:
|
|
197
|
-
- Log: "⚠️ CLI invocation failed, continuing without conductor"
|
|
198
|
-
-
|
|
197
|
+
- Log: "⚠️ CLI invocation failed or not set up, continuing without conductor"
|
|
198
|
+
- IMMEDIATELY fallback to Antigravity-only mode
|
|
199
|
+
- Do NOT ask the user to install or authenticate the CLI. It is strictly optional
|
|
199
200
|
```
|
|
200
201
|
|
|
201
202
|
---
|