@cannbot-ai/install-helper 1.1.6-beta.1 → 1.1.6-beta.2

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/dist/index.js CHANGED
@@ -3883,8 +3883,13 @@ async function interactiveSkillUnselect(tool, level) {
3883
3883
  if (selectedCategoryId === CANCEL) return "cancel";
3884
3884
  if (selectedCategoryId === UNSELECT_ALL) {
3885
3885
  keptSet = /* @__PURE__ */ new Set();
3886
- step = 0;
3887
- break;
3886
+ const toUninstall = [...installedSkills];
3887
+ const confirmed = await confirm({
3888
+ message: t("uninstall_confirm_prompt").replace("{count}", chalk5.bold(String(toUninstall.length))),
3889
+ default: false
3890
+ });
3891
+ if (!confirmed) return "cancel";
3892
+ return { toUninstall, toKeep: [] };
3888
3893
  }
3889
3894
  if (selectedCategoryId === "uninstall") {
3890
3895
  const toUninstall = installedSkills.filter((id) => !keptSet.has(id));