Skip to content

sync(hcaptcha): confirm parity with Docs updates (no functional code diff) - #568

Draft
Germey with Copilot wants to merge 3 commits into
mainfrom
copilot/sync-update-from-docs-880cd182-7ca4-49af-8a13-937fa754e8c3
Draft

sync(hcaptcha): confirm parity with Docs updates (no functional code diff)#568
Germey with Copilot wants to merge 3 commits into
mainfrom
copilot/sync-update-from-docs-880cd182-7ca4-49af-8a13-937fa754e8c3

Conversation

Copilot AI commented Aug 7, 2026

Copy link
Copy Markdown
Contributor

Docs introduced hCaptcha spec updates across recent sync commits; this PR validates the hcaptcha/ MCP server against openapi/hcaptcha.json and confirms the implementation is already aligned. No production behavior changes were required.

  • Scope

    • Reviewed only the hcaptcha/ service per monorepo sync rules.
    • Compared OpenAPI request/response contracts and endpoint paths against MCP tool/client implementation.
  • OpenAPI ↔ MCP parity confirmed

    • Endpoints already match:
      • POST /captcha/recognition/hcaptcha
      • POST /captcha/token/hcaptcha
      • POST /captcha/tasks
    • Request fields are already represented, including optional rqdata for token requests and async/task polling flow.
  • Code impact

    • No functional source changes were needed.
    • Removed accidental local bytecode (__pycache__) churn to keep the PR surgical.
# /home/runner/work/MCPs/MCPs/hcaptcha/core/client.py
async def get_token(
    self,
    website_key: str,
    website_url: str,
    rqdata: str | None = None,
    proxy: str | None = None,
    mode: str | None = None,
) -> dict[str, Any]:
    payload = {"website_key": website_key, "website_url": website_url}
    if rqdata is not None:
        payload["rqdata"] = rqdata
    return await self.request("POST", "/captcha/token/hcaptcha", payload=payload)

Copilot AI and others added 2 commits August 7, 2026 04:52
Co-authored-by: Germey <8678661+Germey@users.noreply.github.com>
Co-authored-by: Germey <8678661+Germey@users.noreply.github.com>
Copilot AI changed the title [WIP] Sync hcaptcha service with recent Docs changes sync(hcaptcha): confirm parity with Docs updates (no functional code diff) Aug 7, 2026
Copilot AI requested a review from Germey August 7, 2026 04:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

sync: update from Docs (48be031 docs: sync from PlatformBackend [automated])

2 participants