{
  "repo": "tidbcloud/tidbcloud-admin-ext",
  "binary": "tidbcloud-ext",
  "binary_path": "public/manifest.json",
  "dependencies": {
    "Runtime TiDBCloudAdminExt.BrowserExtensionRuntime": {
      "infrastructure": {
        "browser": {
          "conditions": [
            "When the Chrome extension is installed and active on matched tidbcloud.com pages"
          ],
          "operations": [
            {
              "operation": "INJECT UI HELPERS",
              "trigger": "Load popup UI, content script, and background service worker from the extension manifest",
              "conditions": [
                "The extension is enabled in the browser"
              ],
              "implementation": "public/manifest.json wires popup.html, scripts/background.js, and the content script bundle"
            }
          ]
        }
      },
      "services": [
        {
          "name": "tidbcloud-console",
          "protocol": "browser_dom",
          "target_interface": "matched tidbcloud.com pages",
          "purpose": "Augment internal TiDB Cloud console pages with extension-driven UI behavior"
        }
      ]
    }
  }
}
