export default defineNuxtConfig({

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

  devtools: {
    enabled: true
  },

  css: ['~/assets/css/main.css'],

  ui: {
    theme: {
      colors: [
        'primary',
        'secondary',
        'tertiary',
        'info',
        'success',
        'warning',
        'error',
        'blue'
      ]
    }
  },

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

  experimental: {
    asyncContext: true
  },
  compatibilityDate: '2025-12-13',

  nitro: {
    preset: 'cloudflare_module'
  },

  hub: {
    cache: true,
    db: 'sqlite'
  },

  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: 'artapi',
      branch: 'master'
    }
  }
})
