{
  "manifest_version": 3,
  "name": "MAOSv6 Security Hub",
  "version": "0.5.0",
  "description": "Secure password manager, Web3 wallet, and identity hub for the MAOSv6 operating system",
  "permissions": [
    "storage",
    "activeTab",
    "scripting",
    "sidePanel",
    "alarms",
    "identity",
    "idle",
    "notifications",
    "declarativeNetRequest",
    "declarativeNetRequestFeedback",
    "nativeMessaging"
  ],
  "host_permissions": [
    "https://*.maos.network/*",
    "https://*.zksync.io/*",
    "http://localhost/*",
    "http://127.0.0.1/*",
    "http://192.168.1.195:3006/*",
    "ws://localhost/*",
    "ws://127.0.0.1/*",
    "ws://192.168.1.195/*"
  ],
  "background": {
    "service_worker": "service-worker-loader.js",
    "type": "module"
  },
  "content_scripts": [
    {
      "js": [
        "assets/provider-inject.ts-BGJNefu1.js"
      ],
      "matches": [
        "<all_urls>"
      ],
      "run_at": "document_start",
      "world": "ISOLATED"
    },
    {
      "js": [
        "assets/dapp-bridge.ts-Dpoqjz8p.js"
      ],
      "matches": [
        "http://localhost:3006/*",
        "http://127.0.0.1:3006/*",
        "http://192.168.1.195:3006/*",
        "https://*.maos.network/*"
      ],
      "run_at": "document_start",
      "world": "ISOLATED"
    },
    {
      "js": [
        "assets/autofill-handler.ts-CRwgZWKt.js"
      ],
      "matches": [
        "<all_urls>"
      ],
      "run_at": "document_idle",
      "world": "ISOLATED"
    },
    {
      "js": [
        "assets/x402-interceptor.ts-BImgErY4.js"
      ],
      "matches": [
        "<all_urls>"
      ],
      "run_at": "document_start",
      "world": "ISOLATED"
    },
    {
      "js": [
        "assets/addon-shell.ts-DTbbE8RM.js"
      ],
      "matches": [
        "<all_urls>"
      ],
      "run_at": "document_start",
      "world": "ISOLATED"
    }
  ],
  "content_security_policy": {
    "extension_pages": "default-src 'self'; script-src 'self' 'wasm-unsafe-eval'; style-src 'self' 'unsafe-inline'; connect-src 'self' https://*.maos.network https://*.zksync.io http://localhost:* http://192.168.1.195:* ws://localhost:* ws://192.168.1.195:*"
  },
  "action": {
    "default_popup": "src/ui/popup/index.html",
    "default_icon": {
      "16": "icons/icon-16.png",
      "32": "icons/icon-32.png",
      "48": "icons/icon-48.png",
      "128": "icons/icon-128.png"
    }
  },
  "options_page": "src/ui/options/index.html",
  "side_panel": {
    "default_path": "src/ui/sidepanel/index.html"
  },
  "web_accessible_resources": [
    {
      "matches": [
        "<all_urls>"
      ],
      "resources": [
        "js/inpage-provider.js",
        "src/ui/welcome/index.html",
        "src/ui/welcome/*",
        "assets/provider-inject.ts-BGJNefu1.js",
        "assets/autofill-handler.ts-CRwgZWKt.js",
        "assets/x402-interceptor.ts-BImgErY4.js",
        "assets/addon-shell.ts-DTbbE8RM.js"
      ],
      "use_dynamic_url": false
    },
    {
      "matches": [
        "http://127.0.0.1:3006/*",
        "http://192.168.1.195:3006/*",
        "http://localhost:3006/*",
        "https://*.maos.network/*"
      ],
      "resources": [
        "js/eip6963-discovery.js",
        "assets/dapp-bridge.ts-Dpoqjz8p.js"
      ],
      "use_dynamic_url": false
    }
  ],
  "commands": {
    "autofill-current-tab": {
      "suggested_key": {
        "default": "Ctrl+Shift+F",
        "mac": "Command+Shift+F"
      },
      "description": "Autofill credentials on current page"
    }
  },
  "icons": {
    "16": "icons/icon-16.png",
    "32": "icons/icon-32.png",
    "48": "icons/icon-48.png",
    "128": "icons/icon-128.png"
  }
}
