@nalvietnam/avatar-cli 3.33.0-beta.5 → 3.33.0

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 CHANGED
@@ -70,7 +70,7 @@ avatar update --no-sync # chỉ update CLI, không đụng work
70
70
 
71
71
  ## Trạng thái implement
72
72
 
73
- 20 commands (đăng ký trong `src/index.ts`):
73
+ 21 commands (đăng ký trong `src/index.ts`):
74
74
 
75
75
  | Command | Trạng thái |
76
76
  |---|---|
@@ -88,6 +88,7 @@ avatar update --no-sync # chỉ update CLI, không đụng work
88
88
  | `update` | ✅ implement thật (self-update CLI qua `npm i -g`, hỗ trợ dist-tag; xong thì re-exec binary MỚI chạy `sync --all` — opt-out `--no-sync`) |
89
89
  | `uninstall` | ✅ implement thật |
90
90
  | `print-id-token` | ✅ implement thật |
91
+ | `notify` | ✅ implement thật (bắn OS notification qua helper AvatarCodi ký Developer ID; fail-open, no-op ngoài AvatarCodi) |
91
92
  | `scan` | ⏳ stub (5 scanner cũng stub) |
92
93
  | `review` | ⏳ stub |
93
94
  | `restore` | ⏳ stub |
@@ -144,38 +145,11 @@ Nếu đổi hẳn OAuth client trên Console: cập nhật Client ID trong
144
145
 
145
146
  ```bash
146
147
  npm run dev # tsup --watch
147
- npm run test # vitest — mặc định AUTOPILOT_PACK_FIXTURES_DIR=$PWD/../team-ai-pack/tests/fixtures
148
- # (pack sibling trong workspace v3). Thiếu dir ⇒ các test đọc fixture chung
149
- # với pack (scope glob, canonical JSON, binding) bị SKIP = CHƯA bảo vệ, không phải pass.
148
+ npm run test # vitest
150
149
  npm run lint # biome check
151
150
  npm run build # production bundle vào dist/
152
151
  ```
153
152
 
154
- ## Autopilot (beta)
155
-
156
- `avatar autopilot` — lớp tự hành: supervisor (CLI) giữ journal/state/gate, worker
157
- `claude -p` chạy trong worktree mission cô lập, verifier độc lập quyết định done. 1
158
- mission · 1 repo · 1 worker · 1 journal file (phạm vi v1).
159
-
160
- ```bash
161
- avatar autopilot init --request-file <path> # khởi tạo mission từ request JSON
162
- avatar autopilot run [--mission <id>] # chạy supervisor foreground
163
- avatar autopilot status [--watch] [--json] # đọc trạng thái, read-only
164
- avatar autopilot doctor [--json] [--reverify] # chẩn đoán settings/hook/pin/journal
165
- # 7 lệnh control qua inbox (CLI local hoặc Mattermost thread):
166
- avatar autopilot approve|answer|redirect|revert|pause|resume|abort
167
- ```
168
-
169
- Trạng thái nghiệm thu (2026-09-09): M1/M2 đủ, **M3 hoàn thành trừ F16** (telemetry
170
- mode-aware — sang plan follow-up ngoài v1, không đụng repo `telemetry` production),
171
- **M4 một phần** (brownfield survey/baseline thật trên clone repo NAL; migration/release
172
- theo CI thật và capstone ME chưa nghiệm thu). Bản pack tương ứng cài qua `avatar sync
173
- --local`, chưa promote `stable/latest.txt`.
174
-
175
- - Vận hành: [`docs/autopilot-operations-one-pager.md`](docs/autopilot-operations-one-pager.md)
176
- - Spec đầy đủ: [`docs/autopilot-build-spec-v1.html`](docs/autopilot-build-spec-v1.html)
177
- - Roadmap + changelog: [`docs/development-roadmap.md`](docs/development-roadmap.md), [`docs/project-changelog.md`](docs/project-changelog.md)
178
-
179
153
  ## Liên quan
180
154
 
181
155
  - Kiến trúc v3 (multi-repo + pack distribution): [`docs/avatar-v3-multi-repo-architecture-and-pack-distribution.html`](docs/avatar-v3-multi-repo-architecture-and-pack-distribution.html)