"use strict";
// AUTO-GENERATED by scripts/gen-cli-commands.mjs from Claude CLI 2.1.156.
// Do not edit by hand. Regenerate after a CLI upgrade:
//   node scripts/gen-cli-commands.mjs > src/lib/cli-commands.ts && npx biome format --write src/lib/cli-commands.ts
//
// Built-in slash commands keyed by their CLI command `type`. This drives PTY
// routing: "prompt" commands run a model turn and fire a Stop hook (safe to
// forward), while "local" and "local-jsx" run in the CLI only -- the latter open
// an interactive panel cockpit can't render or drive, the former act with no
// Stop hook and would hang the session on "processing". Both are blocked in PTY.
// Commands not listed here (custom/project/plugin) are treated as pass-through.
Object.defineProperty(exports, "__esModule", { value: true });
exports.CLI_COMMAND_ALIASES = exports.CLI_COMMAND_TYPES = exports.CLI_VERSION = void 0;
exports.classifyCliCommand = classifyCliCommand;
exports.CLI_VERSION = "2.1.156";
exports.CLI_COMMAND_TYPES = {
    "add-dir": "local-jsx",
    advisor: "local-jsx",
    agents: "local-jsx",
    autocompact: "local",
    "autofix-pr": "local-jsx",
    background: "local-jsx",
    branch: "local-jsx",
    "bridge-kick": "local",
    brief: "local-jsx",
    btw: "local-jsx",
    chrome: "local-jsx",
    clear: "local",
    color: "local",
    compact: "local",
    config: "local-jsx",
    context: "local-jsx",
    copy: "local-jsx",
    daemon: "local-jsx",
    desktop: "local-jsx",
    diff: "local-jsx",
    doctor: "local-jsx",
    effort: "local",
    exit: "local",
    export: "local-jsx",
    "extra-usage": "local",
    fast: "local",
    feedback: "local-jsx",
    focus: "local-jsx",
    fork: "local-jsx",
    goal: "local",
    heapdump: "local",
    help: "local-jsx",
    hooks: "local-jsx",
    ide: "local-jsx",
    init: "prompt",
    "init-verifiers": "prompt",
    insights: "prompt",
    install: "local-jsx",
    "install-github-app": "local-jsx",
    "install-slack-app": "local",
    keybindings: "local",
    login: "local",
    logout: "local-jsx",
    loops: "local-jsx",
    mcp: "local-jsx",
    memory: "local-jsx",
    mobile: "local-jsx",
    model: "local-jsx",
    passes: "local-jsx",
    permissions: "local-jsx",
    plan: "local-jsx",
    plugin: "local-jsx",
    powerup: "local-jsx",
    "privacy-settings": "local-jsx",
    "pro-trial-expired": "local-jsx",
    radio: "local",
    "rate-limit-options": "local-jsx",
    recap: "local",
    "release-notes": "local-jsx",
    "reload-plugins": "local",
    "reload-skills": "local",
    "remote-control": "local-jsx",
    "remote-env": "local-jsx",
    rename: "local",
    resume: "local-jsx",
    review: "prompt",
    rewind: "local",
    sandbox: "local-jsx",
    "scroll-speed": "local-jsx",
    session: "local-jsx",
    "setup-bedrock": "local-jsx",
    "setup-vertex": "local-jsx",
    skills: "local-jsx",
    status: "local-jsx",
    statusline: "prompt",
    stickers: "local",
    stop: "local",
    tasks: "local-jsx",
    "team-onboarding": "prompt",
    teleport: "local-jsx",
    "terminal-setup": "local-jsx",
    theme: "local-jsx",
    "toggle-memory": "local",
    tui: "local-jsx",
    ultraplan: "local-jsx",
    ultrareview: "local-jsx",
    update: "local",
    upgrade: "local-jsx",
    usage: "local",
    "usage-credits": "local",
    version: "local",
    voice: "local",
    "web-setup": "local-jsx",
    wellbeing: "local-jsx",
    workflows: "local-jsx",
};
// Alias -> canonical command name (e.g. "/rc" -> "remote-control").
exports.CLI_COMMAND_ALIASES = {
    "allowed-tools": "permissions",
    android: "mobile",
    app: "desktop",
    bashes: "tasks",
    bg: "background",
    "break-reminder": "wellbeing",
    breaks: "wellbeing",
    bug: "feedback",
    checkpoint: "rewind",
    continue: "resume",
    cost: "usage",
    downtime: "wellbeing",
    ios: "mobile",
    marketplace: "plugin",
    name: "rename",
    "new": "clear",
    plugins: "plugin",
    quit: "exit",
    rc: "remote-control",
    remote: "session",
    reset: "clear",
    settings: "config",
    share: "feedback",
    stats: "usage",
    tp: "teleport",
    undo: "rewind",
};
/** Classify a slash command (with or without leading "/") by its CLI type. */
function classifyCliCommand(name) {
    const key = name.replace(/^\//, "").toLowerCase();
    const canonical = exports.CLI_COMMAND_ALIASES[key] ?? key;
    return exports.CLI_COMMAND_TYPES[canonical] ?? "unknown";
}
