{"version":"2.1.265","anchor":"prmr-creation-detection-extended-to-gitlab-cli-and-raw-gith","canonical_anchor":"prmr-creation-detection-extended-to-gitlab-cli-and-raw-gith","heading":"PR\/MR-creation detection extended to GitLab CLI and raw GitHub API calls","tier":"internal","area":"Telemetry","scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.265\/e\/prmr-creation-detection-extended-to-gitlab-cli-and-raw-gith","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.265","markdown":"### PR\/MR-creation detection extended to GitLab CLI and raw GitHub API calls\n\nClaude Code now recognizes PR\/MR creation via GitLab CLI and raw GitHub API calls, not just gh pr create\n\n**What**\n\nClaude Code detects when you create a pull request or merge request so it can track this activity. That detection now covers more cases:\n\n- Composite shell commands that combine `gh pr create` or `glab mr create` with allowed extra calls (like `gh`\/`glab auth`, config commands, or `api \/user`) are recognized, via a new helper replacing the previous simpler check.\n\n- Creating a pull request through a raw `gh api` call that POSTs to `\/repos\/OWNER\/REPO\/pulls` is now also recognized as PR creation, through a separate new helper.\n\nBoth paths feed the same telemetry event and pull-request contribution tracking as before.\n\n**Why**\n\nPreviously, using GitLab's CLI or hitting the GitHub API directly instead of the standard `gh pr create` command could mean Claude Code failed to notice you'd created a pull or merge request. This closes that gap so tracking stays accurate regardless of which tool or command shape you use.\n\n- Area: Telemetry\n- Tier: Under the hood\n- Useful: 2\/5\n- Signal: 1\/5"}