{
  "manifest_version": 3,
  "name": "AI图片翻译与重绘",
  "version": "20.1.2",
  "description": "电商图片翻译与智能重绘工具",
  "icons": { "144": "assets/Artist.png" },
  "permissions": [
    "storage",
    "contextMenus",
    "downloads",
    "scripting"
  ],
  "host_permissions": [
    "*://*.1688.com/*",
    "*://*.taobao.com/*",
    "*://*.tmall.com/*",
    "*://*.pinduoduo.com/*",
    "*://*.yangkeduo.com/*",
    "https://dashscope.aliyuncs.com/*"
  ],
  "background": {
    "service_worker": "background.js"
  },
  "content_scripts": [
    {
      "matches": ["<all_urls>"],
      "js": [
        "vendor/browser@4.js",
        "strategies/adapter_1688.js",
        "strategies/adapter_taobao.js",
        "strategies/adapter_pdd.js",
        "content.js"
      ],
      "run_at": "document_end"
    }
  ],
  "web_accessible_resources": [
    {
      "resources": ["ui/*", "core/*", "vendor/*", "assets/*"],
      "matches": ["<all_urls>"]
    }
  ]
}
