{
  "repo": "pingcap/gdocwiki",
  "binary": "browser-extension",
  "binary_path": "packages/browser-extension/public/manifest.json",
  "dependencies": {
    "Runtime BrowserExtension.popup": {
      "infrastructure": {
        "browser_extension_runtime": {
          "operations": [
            {
              "operation": "Render popup and options UI and persist extension configuration into browser storage",
              "implementation": "packages/browser-extension/src/options/index.tsx + packages/browser-extension/src/utils/storage.ts"
            }
          ]
        },
        "google_oauth": {
          "operations": [
            {
              "operation": "Launch OAuth popup flow and exchange tokens for Google APIs",
              "implementation": "packages/browser-extension/src/utils/oauth.ts"
            }
          ]
        }
      },
      "services": [
        {
          "name": "api-portal",
          "protocol": "https",
          "target_interface": "/oauth/redirect",
          "purpose": "Provide the hosted OAuth redirect page used by the extension sign-in flow"
        }
      ]
    },
    "Runtime BrowserExtension.ContentScript": {
      "infrastructure": {
        "browser_extension_runtime": {
          "operations": [
            {
              "operation": "Inject content scripts into Google Docs and Drive pages",
              "implementation": "packages/browser-extension/src/contentScript + packages/browser-extension/src/contentScript.oauth2"
            }
          ]
        }
      },
      "services": []
    },
    "Runtime BrowserExtension.BackgroundWorker": {
      "infrastructure": {
        "browser_extension_runtime": {
          "operations": [
            {
              "operation": "Handle background browser extension events",
              "implementation": "packages/browser-extension/src/background/index.ts"
            }
          ]
        }
      },
      "services": []
    }
  }
}
