{
  "manifest_version": 3,
  "name": "Boss直聘JD助手",
  "version": "3.0.0",
  "description": "智能投递：批量打招呼(随机间隔) + 自动监听回复 + 按需发简历",
  "icons": {
    "128": "icons/logo.png"
  },
  "permissions": [
    "activeTab",
    "scripting",
    "storage",
    "tabs",
    "downloads"
  ],
  "host_permissions": [
    "*://*.zhipin.com/*",
    "https://api.doubao.com/*",
    "https://ark.cn-beijing.volces.com/*",
    "https://api.openai.com/*",
    "https://open.bigmodel.cn/*",
    "https://api.deepseek.com/*",
    "https://cdnjs.cloudflare.com/*"
  ],
  "action": {
    "default_popup": "popup.html",
    "default_icon": "icons/logo.png"
  },
  "background": {
    "service_worker": "background.js"
  },
  "content_scripts": [
    {
      "matches": ["*://*.zhipin.com/*"],
      "js": ["libs/html2canvas.min.js", "content.js"],
      "css": ["content.css"],
      "run_at": "document_end"
    }
  ],
  "web_accessible_resources": [
    {
      "resources": [
        "ai-service.js",
        "popup.html",
        "libs/*"
      ],
      "matches": ["*://*.zhipin.com/*"]
    }
  ],
  "content_security_policy": {
    "extension_pages": "script-src 'self'; object-src 'self'"
  }
}
