import { defineConfig } from 'wxt';

export default defineConfig({
  srcDir: 'src',
  manifest: {
    name: 'Muyue',
    description: 'AI-powered browser testing & automation — connected to your Muyue desktop app',
    permissions: [
      'storage',
      'activeTab',
      'tabs',
      'sidePanel',
      'scripting',
      'notifications',
      'alarms',
    ],
    host_permissions: ['http://127.0.0.1:*/*', 'http://localhost:*/*'],
    action: {
      default_icon: {
        16: 'icon/16.png',
        32: 'icon/32.png',
      },
    },
    side_panel: {
      default_path: 'sidepanel.html',
    },
  },
});
