{
  "manifest_version": 3,
  "name": "lean-ctx — Token Compression",
  "version": "0.1.0",
  "description": "Compress code context before pasting into AI chat tools. Reduces token consumption by up to 99%.",
  "permissions": [
    "activeTab",
    "storage",
    "nativeMessaging",
    "clipboardRead"
  ],
  "host_permissions": [
    "https://chatgpt.com/*",
    "https://chat.openai.com/*",
    "https://claude.ai/*",
    "https://gemini.google.com/*",
    "https://github.com/copilot/*",
    "https://lovable.dev/*",
    "https://*.bolt.new/*",
    "https://bolt.new/*",
    "https://v0.dev/*",
    "https://poe.com/*",
    "https://aistudio.google.com/*",
    "https://labs.perplexity.ai/*"
  ],
  "background": {
    "service_worker": "src/background.js"
  },
  "content_scripts": [
    {
      "matches": [
        "https://chatgpt.com/*",
        "https://chat.openai.com/*",
        "https://claude.ai/*",
        "https://gemini.google.com/*",
        "https://github.com/copilot/*",
        "https://lovable.dev/*",
        "https://*.bolt.new/*",
        "https://bolt.new/*",
        "https://v0.dev/*",
        "https://poe.com/*",
        "https://aistudio.google.com/*",
        "https://labs.perplexity.ai/*"
      ],
      "js": ["src/content.js"],
      "css": ["src/content.css"]
    }
  ],
  "action": {
    "default_popup": "src/popup.html",
    "default_icon": {
      "16": "icons/icon-16.png",
      "48": "icons/icon-48.png",
      "128": "icons/icon-128.png"
    }
  },
  "icons": {
    "16": "icons/icon-16.png",
    "48": "icons/icon-48.png",
    "128": "icons/icon-128.png"
  }
}
