@leejungkiin/awkit 1.5.3 → 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
|
@@ -54,6 +54,7 @@ Mỗi skill tự xử lý gate logic riêng — xem SKILL.md của từng skill.
|
|
|
54
54
|
- KHÔNG hỏi user, KHÔNG chờ approval cho commit thường.
|
|
55
55
|
- Commit message: conventional format (`fix:`, `feat:`, `refactor:`, `chore:`).
|
|
56
56
|
- `git push` (non-force) được phép `SafeToAutoRun=true`.
|
|
57
|
+
- Sau khi commit & push thành công → tự động gửi thông báo Telegram qua tool hoặc lệnh `awkit tg send` (nếu người dùng đã cấu hình Telegram, có thể bỏ qua nếu chưa).
|
|
57
58
|
- Nếu push fail → retry 1 lần với `git pull --rebase && git push`.
|
|
58
59
|
- Nếu vẫn fail → báo user, KHÔNG force push.
|
|
59
60
|
|
|
@@ -157,14 +158,14 @@ Khi AI cần tự quyết định mà không hỏi user:
|
|
|
157
158
|
- Khi code (Gate 4), PHẢI đối chiếu với `.kiro/specs/<module>/` tương ứng.
|
|
158
159
|
- Chi tiết: xem `orchestrator/SKILL.md` (Kiro Spec Detection section).
|
|
159
160
|
|
|
160
|
-
###
|
|
161
|
-
-
|
|
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.
|
|
162
164
|
- CLI dùng **quota pool riêng** → không ảnh hưởng Antigravity quota.
|
|
163
|
-
- Trigger: refactor
|
|
164
|
-
- LUÔN dùng `--approval-mode plan`
|
|
165
|
-
-
|
|
166
|
-
-
|
|
167
|
-
- 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`.
|
|
168
169
|
|
|
169
170
|
---
|
|
170
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
|
---
|