@nalvietnam/avatar-cli 3.26.0 → 3.28.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
@@ -56,6 +56,11 @@ avatar status
56
56
  # Chẩn đoán
57
57
  avatar doctor
58
58
  avatar doctor --fix
59
+
60
+ # Nâng cấp CLI + đồng bộ pack cho MỌI workspace đã đăng ký (không cần cd vào từng nơi)
61
+ avatar update # update CLI rồi chạy `sync --all`
62
+ avatar update --tag next # theo kênh beta
63
+ avatar update --no-sync # chỉ update CLI, không đụng workspace nào (script/CI)
59
64
  ```
60
65
 
61
66
  ## Trạng thái implement
@@ -75,7 +80,7 @@ avatar doctor --fix
75
80
  | `ai` | ✅ implement thật (setup AI provider) |
76
81
  | `comm-connect` | ✅ implement thật |
77
82
  | `gitnexus` | ✅ implement thật (setup + analyze) |
78
- | `update` | ✅ implement thật (self-update CLI qua `npm i -g`, hỗ trợ dist-tag) |
83
+ | `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`) |
79
84
  | `uninstall` | ✅ implement thật |
80
85
  | `print-id-token` | ✅ implement thật |
81
86
  | `scan` | ⏳ stub (5 scanner cũng stub) |