From 8a39b6aa5de1e8ec9714a052486b5618f31db33f Mon Sep 17 00:00:00 2001 From: Tam Nhu Tran Date: Thu, 25 Jun 2026 13:14:42 -0400 Subject: [PATCH] docs: note settings.json hook/MCP cleanup in ck uninstall ck uninstall now removes the hook and MCP registrations it added to settings.json and clears its .ck.json tracking. Document the new step in the 'What It Does' list (EN + VI) and the user/shared-entry preservation rule. Also fixes a duplicate list-number in the EN page. Pairs with claudekit-cli#899. --- src/content/docs-vi/cli/uninstall.md | 7 +++++-- src/content/docs/cli/uninstall.md | 7 +++++-- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/src/content/docs-vi/cli/uninstall.md b/src/content/docs-vi/cli/uninstall.md index b590bf08..0799d5c6 100644 --- a/src/content/docs-vi/cli/uninstall.md +++ b/src/content/docs-vi/cli/uninstall.md @@ -38,8 +38,11 @@ Lệnh `ck uninstall`: 3. Phân tích tệp bằng cách theo dõi quyền sở hữu 4. Hiển thị xem trước các tệp sẽ xóa và bảo toàn 5. Xóa các tệp thuộc quyền sở hữu của ClaudeKit -6. Bảo toàn các tùy chỉnh và cấu hình của người dùng -7. Dọn dẹp các thư mục trống +6. Xóa các đăng ký hook và MCP mà nó đã thêm vào `settings.json` và dọn dẹp dữ liệu theo dõi trong `.ck.json` +7. Bảo toàn các tùy chỉnh và cấu hình của người dùng +8. Dọn dẹp các thư mục trống + +Các hook do bạn tự viết hoặc tự chỉnh sửa sẽ được giữ nguyên, và khi gỡ một kit khỏi cài đặt nhiều kit, các đăng ký vẫn còn được kit còn lại sử dụng sẽ được giữ lại. ## Cú Pháp diff --git a/src/content/docs/cli/uninstall.md b/src/content/docs/cli/uninstall.md index 4aca3761..fba2de7a 100644 --- a/src/content/docs/cli/uninstall.md +++ b/src/content/docs/cli/uninstall.md @@ -38,8 +38,11 @@ The `ck uninstall` command: 4. Shows preview of files to delete and preserve 5. Creates a scoped recovery backup under `~/.claudekit/backups/` 6. Removes ClaudeKit-owned files -6. Preserves user customizations and configurations -7. Cleans up empty directories +7. Removes the hook and MCP registrations it added to `settings.json` and clears its `.ck.json` tracking +8. Preserves user customizations and configurations +9. Cleans up empty directories + +Hook entries you authored or edited yourself are left untouched, and when a single kit is removed from a multi-kit install, registrations still used by the remaining kit are kept. ## Syntax