{
  "manifest_version": 3,
  "name": "Safari MCP Bridge",
  "description": "Connects AI agents to Safari — fast JS execution, screenshots, clicks with your real cookies/logins",
  "version": "2.10.1",
  "icons": {
    "48": "images/icon-48.png",
    "96": "images/icon-96.png",
    "128": "images/icon-128.png"
  },
  "background": { "service_worker": "background.js" },
  "action": {
    "default_popup": "popup/popup.html",
    "default_icon": { "16": "images/icon-48.png", "32": "images/icon-48.png" }
  },
  "content_security_policy": {
    "extension_pages": "script-src 'self'; connect-src 'self' http://localhost:9224 http://127.0.0.1:9224"
  },
  "permissions": ["activeTab", "scripting", "tabs", "alarms", "storage"],
  "host_permissions": ["<all_urls>"],
  "content_scripts": [{
    "matches": ["<all_urls>"],
    "exclude_matches": [
      "*://*.linkedin.com/*",
      "*://*.x.com/*",
      "*://*.twitter.com/*",
      "*://*.producthunt.com/*",
      "*://mail.google.com/*",
      "*://calendar.google.com/*",
      "*://chat.google.com/*",
      "*://meet.google.com/*"
    ],
    "js": ["content.js"],
    "run_at": "document_start",
    "world": "MAIN"
  }]
}
