import type { Addon } from "./types"

// ── server: headless 서버 + 원격 연결 + ACP ─────────────────────────
export const server: Addon = {
  id: "server",
  category: "server",
  minTier: "code",
  required: true,
  commands: [
    () => import("../cli/cmd/serve").then((m) => ({ ServeCommand: m.ServeCommand })),
    () => import("../cli/cmd/tui/attach").then((m) => ({ AttachCommand: m.AttachCommand })),
    () => import("../cli/cmd/acp").then((m) => ({ AcpCommand: m.AcpCommand })),
  ],
}
