{
    "manifest_version": 3,
    "name": "Axure上传助手",
    "version": "2.0.0",
    "description": "一键上传Axure原型到服务器，支持登录验证和完整项目管理",
    "permissions": [
        "activeTab",
        "storage",
        "scripting",
        "downloads",
        "contextMenus",
        "clipboardWrite",
        "debugger",
        "fontSettings"
    ],
    "host_permissions": [
        "http://127.0.0.1/*",
        "http://localhost:32767/*",
        "https://www.axureshow.com/*"
    ],
    "content_security_policy": {
        "extension_pages": "script-src 'self'; object-src 'self'; connect-src 'self' https://www.axureshow.com http://localhost:32767 http://127.0.0.1:32767; frame-src https://www.axureshow.com; img-src 'self' data: http: https:; style-src 'self' 'unsafe-inline';"
    },
    "background": {
        "service_worker": "background.js"
    },
    "content_scripts": [
        {
            "matches": ["http://127.0.0.1/*"],
            "js": ["content.js"],
            "run_at": "document_end"
        }
    ],
    "action": {
        "default_popup": "popup.html",
        "default_icon": {
            "16": "icons/icon16.png",
            "48": "icons/icon48.png",
            "128": "icons/icon128.png"
        }
    },
    "icons": {
        "16": "icons/icon16.png",
        "48": "icons/icon48.png",
        "128": "icons/icon128.png"
    },
    "web_accessible_resources": [
        {
            "resources": ["icons/upload.svg"],
            "matches": ["http://127.0.0.1/*"]
        }
    ]
}
