import type { Addon } from "./types"

// ── lifecycle: 설치/업그레이드/제거 ──────────────────────────────────
export const lifecycle: Addon = {
  id: "lifecycle",
  category: "lifecycle",
  minTier: "light",
  required: true,
  commands: [
    () => import("../cli/cmd/upgrade").then((m) => ({ UpgradeCommand: m.UpgradeCommand })),
    () => import("../cli/cmd/uninstall").then((m) => ({ UninstallCommand: m.UninstallCommand })),
  ],
}
