Upgrade Datadog Browser SDK from v4 to v5. Use when encountering removed options like proxyUrl, sampleRate, replaySampleRate, premiumSampleRate, allowedTracingOrigins, or deprecated APIs like addRumGlobalContext, removeUser, or when a project references datadoghq-browser-agent.com CDN with /v4/ paths.
$npx -y skills add datadog-labs/agent-skills --skill upgrade-v5Installs into the current project.
Run `npx skills use "https://github.com/datadog-labs/agent-skills" --skill "datadog-labs/agent-skills/upgrade-v5"` and follow the generated skill instructions now. Read its complete output, redirecting it to a temporary file first if necessary. Resolve relative paths from the supporting-files directory it provides.
Use the skills in "https://github.com/datadog-labs/agent-skills" that are relevant to the current task. Run `npx skills add "https://github.com/datadog-labs/agent-skills"` and select the relevant skills, then follow their instructions.