diff --git a/agentscore_commerce/discovery/probe.py b/agentscore_commerce/discovery/probe.py index aa12176..d5f925c 100644 --- a/agentscore_commerce/discovery/probe.py +++ b/agentscore_commerce/discovery/probe.py @@ -4,7 +4,7 @@ import json from dataclasses import dataclass, field from datetime import UTC, datetime, timedelta -from typing import Any, Literal, Protocol +from typing import Any, Literal from agentscore_commerce.payment.directive import ( build_payment_request_blob, @@ -171,14 +171,6 @@ def build_discovery_probe_response(opts: DiscoveryProbeOptions) -> DiscoveryProb ) -class _RequestLike(Protocol): - method: str - - def headers_get(self, name: str) -> str | None: ... - - async def body_text(self) -> str: ... - - async def is_discovery_probe_request(method: str, authorization: str | None, body_text: str) -> bool: """Return True for an empty-body POST without a Payment Authorization header — the MPP crawler probe pattern.