agentguard-python-sdk 0.2.3__tar.gz → 0.2.5__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {agentguard_python_sdk-0.2.3/agentguard_python_sdk.egg-info → agentguard_python_sdk-0.2.5}/PKG-INFO +1 -1
- {agentguard_python_sdk-0.2.3 → agentguard_python_sdk-0.2.5}/agentguard/client.py +7 -1
- {agentguard_python_sdk-0.2.3 → agentguard_python_sdk-0.2.5/agentguard_python_sdk.egg-info}/PKG-INFO +1 -1
- {agentguard_python_sdk-0.2.3 → agentguard_python_sdk-0.2.5}/pyproject.toml +1 -1
- {agentguard_python_sdk-0.2.3 → agentguard_python_sdk-0.2.5}/LICENSE +0 -0
- {agentguard_python_sdk-0.2.3 → agentguard_python_sdk-0.2.5}/README.md +0 -0
- {agentguard_python_sdk-0.2.3 → agentguard_python_sdk-0.2.5}/agentguard/__init__.py +0 -0
- {agentguard_python_sdk-0.2.3 → agentguard_python_sdk-0.2.5}/agentguard/auth.py +0 -0
- {agentguard_python_sdk-0.2.3 → agentguard_python_sdk-0.2.5}/agentguard/config.py +0 -0
- {agentguard_python_sdk-0.2.3 → agentguard_python_sdk-0.2.5}/agentguard/consent.py +0 -0
- {agentguard_python_sdk-0.2.3 → agentguard_python_sdk-0.2.5}/agentguard/errors.py +0 -0
- {agentguard_python_sdk-0.2.3 → agentguard_python_sdk-0.2.5}/agentguard/observability.py +0 -0
- {agentguard_python_sdk-0.2.3 → agentguard_python_sdk-0.2.5}/agentguard/types.py +0 -0
- {agentguard_python_sdk-0.2.3 → agentguard_python_sdk-0.2.5}/agentguard_crypto/__init__.py +0 -0
- {agentguard_python_sdk-0.2.3 → agentguard_python_sdk-0.2.5}/agentguard_crypto/canonical.py +0 -0
- {agentguard_python_sdk-0.2.3 → agentguard_python_sdk-0.2.5}/agentguard_crypto/models.py +0 -0
- {agentguard_python_sdk-0.2.3 → agentguard_python_sdk-0.2.5}/agentguard_crypto/signing.py +0 -0
- {agentguard_python_sdk-0.2.3 → agentguard_python_sdk-0.2.5}/agentguard_python_sdk.egg-info/SOURCES.txt +0 -0
- {agentguard_python_sdk-0.2.3 → agentguard_python_sdk-0.2.5}/agentguard_python_sdk.egg-info/dependency_links.txt +0 -0
- {agentguard_python_sdk-0.2.3 → agentguard_python_sdk-0.2.5}/agentguard_python_sdk.egg-info/requires.txt +0 -0
- {agentguard_python_sdk-0.2.3 → agentguard_python_sdk-0.2.5}/agentguard_python_sdk.egg-info/top_level.txt +0 -0
- {agentguard_python_sdk-0.2.3 → agentguard_python_sdk-0.2.5}/setup.cfg +0 -0
|
@@ -81,6 +81,10 @@ class AgentGuardClient:
|
|
|
81
81
|
self.base_url = self.config.backend_url.rstrip("/")
|
|
82
82
|
self.private_key = private_key
|
|
83
83
|
|
|
84
|
+
# Derive Signer ID (Master Account) for cryptographic verification
|
|
85
|
+
from agentguard_crypto.signing import get_signer_address
|
|
86
|
+
self.signer_id = get_signer_address(self.private_key) if self.private_key else self.wallet_address
|
|
87
|
+
|
|
84
88
|
# Priority 6: Segmented Timeouts injected from Config
|
|
85
89
|
self.timeout = httpx.Timeout(
|
|
86
90
|
connect=self.config.timeout_connect,
|
|
@@ -194,6 +198,7 @@ class AgentGuardClient:
|
|
|
194
198
|
from agentguard_crypto.models import CanonicalPaymentPayload
|
|
195
199
|
|
|
196
200
|
payload_model = CanonicalPaymentPayload(
|
|
201
|
+
signer_id=self.signer_id,
|
|
197
202
|
resource_url=resource_url,
|
|
198
203
|
microalgos=actual_microalgos,
|
|
199
204
|
purpose=purpose,
|
|
@@ -209,7 +214,8 @@ class AgentGuardClient:
|
|
|
209
214
|
receiver=header_receiver,
|
|
210
215
|
fiduciary_name=self.config.fiduciary_name,
|
|
211
216
|
fiduciary_version=self.config.fiduciary_version,
|
|
212
|
-
hash_version=self.config.hash_version
|
|
217
|
+
hash_version=self.config.hash_version,
|
|
218
|
+
schema_version=1
|
|
213
219
|
)
|
|
214
220
|
|
|
215
221
|
# Phase 7: Strict Transport Contract — to_wire_dict() is the ONLY authority
|
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "agentguard-python-sdk"
|
|
7
|
-
version = "0.2.
|
|
7
|
+
version = "0.2.5"
|
|
8
8
|
description = "A production-grade middleware for AI agents to perform on-chain payments and verifiable consent."
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
requires-python = ">=3.9"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|