import type { LocalizationKey } from './types.js'

const openClaudeCommandDescriptionKeys: Record<string, LocalizationKey> = {
  'add-dir': 'commands.add-dir.description',
  agents: 'commands.agents.description',
  'auto-fix': 'commands.auto-fix.description',
  branch: 'commands.branch.description',
  btw: 'commands.btw.description',
  'cache-stats': 'commands.cache-stats.description',
  clear: 'commands.clear.description',
  color: 'commands.color.description',
  compact: 'commands.compact.description',
  'commit-message': 'commands.commit-message.description',
  config: 'commands.config.description',
  continue: 'commands.continue.description',
  copy: 'commands.copy.description',
  context: 'commands.context.description',
  cost: 'commands.cost.description',
  diff: 'commands.diff.description',
  dream: 'commands.dream.description',
  doctor: 'commands.doctor.description',
  effort: 'commands.effort.description',
  exit: 'commands.exit.description',
  export: 'commands.export.description',
  heapdump: 'commands.heapdump.description',
  help: 'commands.help.description',
  hooks: 'commands.hooks.description',
  ide: 'commands.ide.description',
  init: 'commands.init.description',
  insights: 'commands.insights.description',
  'install-github-app': 'commands.install-github-app.description',
  knowledge: 'commands.knowledge.description',
  login: 'commands.login.description',
  logout: 'commands.logout.description',
  lsp: 'commands.lsp.description',
  mcp: 'commands.mcp.description',
  memory: 'commands.memory.description',
  'onboard-github': 'commands.onboard-github.description',
  'output-style': 'commands.output-style.description',
  permissions: 'commands.permissions.description',
  plan: 'commands.plan.description',
  plugin: 'commands.plugin.description',
  provider: 'commands.provider.description',
  'pr-comments': 'commands.pr-comments.description',
  'release-notes': 'commands.release-notes.description',
  'reload-plugins': 'commands.reload-plugins.description',
  rename: 'commands.rename.description',
  'request-size': 'commands.request-size.description',
  resume: 'commands.resume.description',
  review: 'commands.review.description',
  rewind: 'commands.rewind.description',
  'security-review': 'commands.security-review.description',
  skills: 'commands.skills.description',
  stats: 'commands.stats.description',
  status: 'commands.status.description',
  statusline: 'commands.statusline.description',
  stickers: 'commands.stickers.description',
  tasks: 'commands.tasks.description',
  'terminal-setup': 'commands.terminal-setup.description',
  theme: 'commands.theme.description',
  usage: 'commands.usage.description',
  vim: 'commands.vim.description',
  wiki: 'commands.wiki.description',
}

export function getOpenClaudeCommandDescriptionKey(
  commandName: string,
): LocalizationKey | undefined {
  return openClaudeCommandDescriptionKeys[commandName]
}
