agentguard-python-sdk 0.2.4__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.
Files changed (22) hide show
  1. {agentguard_python_sdk-0.2.4/agentguard_python_sdk.egg-info → agentguard_python_sdk-0.2.5}/PKG-INFO +1 -1
  2. {agentguard_python_sdk-0.2.4 → agentguard_python_sdk-0.2.5}/agentguard/client.py +5 -0
  3. {agentguard_python_sdk-0.2.4 → agentguard_python_sdk-0.2.5/agentguard_python_sdk.egg-info}/PKG-INFO +1 -1
  4. {agentguard_python_sdk-0.2.4 → agentguard_python_sdk-0.2.5}/pyproject.toml +1 -1
  5. {agentguard_python_sdk-0.2.4 → agentguard_python_sdk-0.2.5}/LICENSE +0 -0
  6. {agentguard_python_sdk-0.2.4 → agentguard_python_sdk-0.2.5}/README.md +0 -0
  7. {agentguard_python_sdk-0.2.4 → agentguard_python_sdk-0.2.5}/agentguard/__init__.py +0 -0
  8. {agentguard_python_sdk-0.2.4 → agentguard_python_sdk-0.2.5}/agentguard/auth.py +0 -0
  9. {agentguard_python_sdk-0.2.4 → agentguard_python_sdk-0.2.5}/agentguard/config.py +0 -0
  10. {agentguard_python_sdk-0.2.4 → agentguard_python_sdk-0.2.5}/agentguard/consent.py +0 -0
  11. {agentguard_python_sdk-0.2.4 → agentguard_python_sdk-0.2.5}/agentguard/errors.py +0 -0
  12. {agentguard_python_sdk-0.2.4 → agentguard_python_sdk-0.2.5}/agentguard/observability.py +0 -0
  13. {agentguard_python_sdk-0.2.4 → agentguard_python_sdk-0.2.5}/agentguard/types.py +0 -0
  14. {agentguard_python_sdk-0.2.4 → agentguard_python_sdk-0.2.5}/agentguard_crypto/__init__.py +0 -0
  15. {agentguard_python_sdk-0.2.4 → agentguard_python_sdk-0.2.5}/agentguard_crypto/canonical.py +0 -0
  16. {agentguard_python_sdk-0.2.4 → agentguard_python_sdk-0.2.5}/agentguard_crypto/models.py +0 -0
  17. {agentguard_python_sdk-0.2.4 → agentguard_python_sdk-0.2.5}/agentguard_crypto/signing.py +0 -0
  18. {agentguard_python_sdk-0.2.4 → agentguard_python_sdk-0.2.5}/agentguard_python_sdk.egg-info/SOURCES.txt +0 -0
  19. {agentguard_python_sdk-0.2.4 → agentguard_python_sdk-0.2.5}/agentguard_python_sdk.egg-info/dependency_links.txt +0 -0
  20. {agentguard_python_sdk-0.2.4 → agentguard_python_sdk-0.2.5}/agentguard_python_sdk.egg-info/requires.txt +0 -0
  21. {agentguard_python_sdk-0.2.4 → agentguard_python_sdk-0.2.5}/agentguard_python_sdk.egg-info/top_level.txt +0 -0
  22. {agentguard_python_sdk-0.2.4 → agentguard_python_sdk-0.2.5}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: agentguard-python-sdk
3
- Version: 0.2.4
3
+ Version: 0.2.5
4
4
  Summary: A production-grade middleware for AI agents to perform on-chain payments and verifiable consent.
5
5
  Author: AgentGuard Team
6
6
  License-Expression: MIT
@@ -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,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: agentguard-python-sdk
3
- Version: 0.2.4
3
+ Version: 0.2.5
4
4
  Summary: A production-grade middleware for AI agents to perform on-chain payments and verifiable consent.
5
5
  Author: AgentGuard Team
6
6
  License-Expression: MIT
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "agentguard-python-sdk"
7
- version = "0.2.4"
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"