{
  "manifest_version": 3,
  "name": "MasiDyn Primus Browser Companion",
  "version": "1.1.0",
  "description": "User-consented browser companion for MasiDyn Primus with a strict local MasiDyN tab-group fence, explicit origin allowlist, instant kill switch, and hard refusal on password and payment fields.",
  "homepage_url": "https://masidyn.dev/download#primus-extension",
  "minimum_chrome_version": "114",
  "permissions": [
    "tabs",
    "tabGroups",
    "scripting",
    "activeTab",
    "storage",
    "alarms",
    "nativeMessaging"
  ],
  "optional_host_permissions": [
    "https://*/*",
    "http://127.0.0.1/*",
    "http://localhost/*"
  ],
  "background": {
    "service_worker": "background.js",
    "type": "module"
  },
  "action": {
    "default_title": "MasiDyn Primus Browser Companion (Tab-Group Fence & Kill Switch)"
  },
  "commands": {
    "primus-kill-switch": {
      "suggested_key": {
        "default": "Ctrl+Shift+K",
        "mac": "Command+Shift+K"
      },
      "description": "Immediately halt all MasiDyn Primus browser companion actions (kill switch)."
    }
  },
  "x_masidyn_safety": {
    "tab_group_fence": {
      "enabled": true,
      "group_title": "MasiDyN",
      "rule": "Only tabs explicitly placed inside the local MasiDyN tab group may be inspected or automated."
    },
    "origin_allowlist": {
      "enabled": true,
      "default_policy": "deny_unless_user_allowed",
      "grant_mechanism": "chrome.permissions.request (optional_host_permissions)"
    },
    "kill_switch": {
      "enabled": true,
      "shortcut": "Ctrl+Shift+K / Command+Shift+K",
      "toolbar_toggle": true
    },
    "sensitive_field_refusal": {
      "password_fields": "hard_refuse",
      "payment_and_card_fields": "hard_refuse",
      "otp_and_mfa_fields": "hard_refuse"
    }
  }
}
