{
  "manifest_version": 3,
  "name": "CopyFlow — Captura Inteligente",
  "version": "0.9.31",
  "description": "Captura qualquer informação de qualquer página (por regex ou IA) e cola em qualquer formulário de destino ou planilha, por semelhança de conceito, sob comando do usuário.",
  "permissions": [
    "activeTab",
    "scripting",
    "storage",
    "clipboardRead",
    "clipboardWrite",
    "background"
  ],
  "background": {
    "service_worker": "background.js"
  },

  "host_permissions": ["*://*/*"],
  "action": {
    "default_popup": "popup.html",
    "default_title": "CopyFlow",
    "default_icon": {
      "16": "icons/icon16.png",
      "32": "icons/icon32.png",
      "48": "icons/icon48.png",
      "128": "icons/icon128.png"
    }
  },
  "icons": {
    "16": "icons/icon16.png",
    "32": "icons/icon32.png",
    "48": "icons/icon48.png",
    "128": "icons/icon128.png"
  },
  "content_scripts": [
    {
      "matches": ["*://*/*"],
      "run_at": "document_start",
      "all_frames": false,
      "js": [
        "content/utils/text-utils.js",
        "content/utils/dom-utils.js",
        "content/utils/debug-utils.js",
        "content/authority.js",
        "content/decision-ledger.js",
        "content/name-inference.js",
        "content/strategy-manager.js",
        "content/strategies/strategy-native-input.js",
        "content/strategies/strategy-contenteditable.js",
        "content/strategies/strategy-select.js",
        "content/strategies/strategy-clickable-dropdown.js",
        "content/strategies/strategy-ativador-de-edicao.js",
        "content/validation/persistence-validator.js",
        "content/validation/handler-finder.js",
        "content/validation/option-resolver.js",
        "content/validation/circuit-breaker.js",
        "content/perf/smart-wait.js",
        "content/crm-rules/index.js",
        "content/crm-rules/sparta.js",
        "content/crm-rules/pipedrive.js",
        "content/crm-rules/agendor.js",
        "content/pipeline/collector.js",
        "content/pipeline/classifier.js",
        "content/pipeline/matcher.js",
        "content/pipeline/filler.js",
        "content/pipeline/enricher.js",
        "content/page-interaction.js",
        "content/widget/simple-widget.js"
      ]
    }
  ]
}