agentguard-python-sdk 0.2.4__py3-none-any.whl → 0.2.5__py3-none-any.whl
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/client.py +5 -0
- {agentguard_python_sdk-0.2.4.dist-info → agentguard_python_sdk-0.2.5.dist-info}/METADATA +1 -1
- {agentguard_python_sdk-0.2.4.dist-info → agentguard_python_sdk-0.2.5.dist-info}/RECORD +6 -6
- {agentguard_python_sdk-0.2.4.dist-info → agentguard_python_sdk-0.2.5.dist-info}/WHEEL +0 -0
- {agentguard_python_sdk-0.2.4.dist-info → agentguard_python_sdk-0.2.5.dist-info}/licenses/LICENSE +0 -0
- {agentguard_python_sdk-0.2.4.dist-info → agentguard_python_sdk-0.2.5.dist-info}/top_level.txt +0 -0
agentguard/client.py
CHANGED
|
@@ -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
|
agentguard/__init__.py,sha256=2tS4Es8Nxq0Cv9qq4kuLuMLfvy4LdkEu-jIGvUD88Gg,1368
|
|
2
2
|
agentguard/auth.py,sha256=fDMc79ObNCcRwd1d0zD5CB2kvW54Acx-rJfT3KSN6Qg,603
|
|
3
|
-
agentguard/client.py,sha256=
|
|
3
|
+
agentguard/client.py,sha256=oE-LuUklI9NmitsWOvb6uBv-ga9tvprUbR-oD3tGiIQ,30940
|
|
4
4
|
agentguard/config.py,sha256=zK7IMox6-CPMtnoUC6bJSh9ZGfIS2Y5vMrdeSIVje7s,1525
|
|
5
5
|
agentguard/consent.py,sha256=jv6EPuSQl29JY-ddI9EmSujtnzwb7lDZPOY7os99ifo,1991
|
|
6
6
|
agentguard/errors.py,sha256=wIFcTLHYq6fIc2ibgsh45Zfq7CSZTl0fkgj1VHYfZuc,4983
|
|
@@ -10,8 +10,8 @@ agentguard_crypto/__init__.py,sha256=fhK2gyw9TRWCxr_ax6XUItkbBCmlCi5pXEOLdMRKxDU
|
|
|
10
10
|
agentguard_crypto/canonical.py,sha256=TRz_ZW2JxobIXAkXEDIHR4Jk-alAzl6VSOSWpKwm9ag,1188
|
|
11
11
|
agentguard_crypto/models.py,sha256=bom4lIO43HjOzVgfKvMu4zvmBt-OSNO-wgABJpquL8M,3324
|
|
12
12
|
agentguard_crypto/signing.py,sha256=spJ9Mat59tVD6yPcSXMnX6UajDrpz9Bj0t1AgZD-d30,2596
|
|
13
|
-
agentguard_python_sdk-0.2.
|
|
14
|
-
agentguard_python_sdk-0.2.
|
|
15
|
-
agentguard_python_sdk-0.2.
|
|
16
|
-
agentguard_python_sdk-0.2.
|
|
17
|
-
agentguard_python_sdk-0.2.
|
|
13
|
+
agentguard_python_sdk-0.2.5.dist-info/licenses/LICENSE,sha256=Z1Q553BLX5ho8O0gS_1VmndaVnz2NWgKMcH9aoKwqmM,1093
|
|
14
|
+
agentguard_python_sdk-0.2.5.dist-info/METADATA,sha256=W4umVOsjQC2-zmSGdQ6VMh-3HzgEFaBj1PDh3mTO_qQ,3812
|
|
15
|
+
agentguard_python_sdk-0.2.5.dist-info/WHEEL,sha256=aeYiig01lYGDzBgS8HxWXOg3uV61G9ijOsup-k9o1sk,91
|
|
16
|
+
agentguard_python_sdk-0.2.5.dist-info/top_level.txt,sha256=8cQ4cluQzmuln1QOqGfNlEpAt3QCW5szoNTbbgwWxFY,29
|
|
17
|
+
agentguard_python_sdk-0.2.5.dist-info/RECORD,,
|
|
File without changes
|
{agentguard_python_sdk-0.2.4.dist-info → agentguard_python_sdk-0.2.5.dist-info}/licenses/LICENSE
RENAMED
|
File without changes
|
{agentguard_python_sdk-0.2.4.dist-info → agentguard_python_sdk-0.2.5.dist-info}/top_level.txt
RENAMED
|
File without changes
|