export default defineNuxtConfig({
  compatibilityDate: '2025-12-13',

  modules: [
    '@nuxthub/core',
    '@nuxt/eslint',
    '@nuxt/content',
    '@nuxtjs/mcp-toolkit',
    'nuxt-studio',
    '@nuxt/ui'
  ],

  devtools: {
    enabled: true,
  },

  content: {
    database: {
      type: 'd1',
      bindingName: 'artapi'
    }
  },

  runtimeConfig: {
    discord: {
      userId: '',
      id: '',
      token: ''
    },
    statusPage: '',
    wakatime: {
      userId: '',
      coding: '',
      editors: '',
      languages: '',
      os: ''
    }
  },

  experimental: {
    asyncContext: true
  },

  hub: {
    cache: true,
    db: {
      dialect: 'sqlite',
      driver: 'd1',
    }
  },

  eslint: {
    config: {
      stylistic: {
        quotes: 'single',
        commaDangle: 'never'
      }
    }
  },

  mcp: {
    name: 'ArtMCP',
    version: '1.0.0',
    browserRedirect: '/docs'
  },

  studio: {
    route: '/studio',
    repository: {
      provider: 'github',
      owner: 'ArthurDanjou',
      repo: 'artmcp',
      branch: 'master'
    }
  }
})
