{
  "name": "ChatGPTBox",
  "description": "Integrating ChatGPT into your browser deeply, everything you need is here",
  "version": "2.5.8",
  "manifest_version": 3,
  "icons": {
    "16": "logo.png",
    "32": "logo.png",
    "48": "logo.png",
    "128": "logo.png"
  },
  "host_permissions": [
    "https://*.chatgpt.com/*",
    "https://*.openai.com/*",
    "https://*.bing.com/*",
    "https://*.poe.com/*",
    "https://*.google.com/*",
    "https://claude.ai/*",
    "https://*.moonshot.cn/*",
    "<all_urls>"
  ],
  "permissions": [
    "cookies",
    "storage",
    "contextMenus",
    "unlimitedStorage",
    "tabs",
    "webRequest",
    "declarativeNetRequestWithHostAccess",
    "sidePanel"
  ],
  "optional_permissions": [
    "background"
  ],
  "background": {
    "service_worker": "background.js"
  },
  "action": {
    "default_popup": "popup.html"
  },
  "side_panel": {
    "default_path": "IndependentPanel.html"
  },
  "declarative_net_request": {
    "rule_resources": [
      {
        "id": "ruleset",
        "enabled": true,
        "path": "rules.json"
      }
    ]
  },
  "options_ui": {
    "page": "popup.html",
    "open_in_tab": true
  },
  "content_scripts": [
    {
      "matches": [
        "https://*/*",
        "http://*/*",
        "file://*/*"
      ],
      "js": [
        "shared.js",
        "content-script.js"
      ],
      "css": [
        "content-script.css"
      ]
    }
  ],
  "web_accessible_resources": [
    {
      "resources": [
        "logo.png"
      ],
      "matches": [
        "<all_urls>"
      ]
    }
  ],
  "commands": {
    "newChat": {
      "suggested_key": {
        "default": "Ctrl+B",
        "mac": "MacCtrl+B"
      },
      "description": "Create a new chat"
    },
    "summarizePage": {
      "suggested_key": {
        "default": "Alt+B",
        "mac": "Alt+B"
      },
      "description": "Summarize this page"
    },
    "openConversationPage": {
      "suggested_key": {
        "default": "Ctrl+Shift+H",
        "mac": "MacCtrl+Shift+H"
      },
      "description": "Open the independent conversation page"
    },
    "openConversationWindow": {
      "description": "Open the independent conversation window"
    },
    "openSidePanel": {
      "description": "Open the independent conversation side panel"
    },
    "closeAllChats": {
      "description": "Close all chats in this page"
    }
  }
}