agent0-sdk 1.4.1__py3-none-any.whl → 1.5.0b1__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.
- agent0_sdk/__init__.py +7 -3
- agent0_sdk/core/contracts.py +2 -1
- agent0_sdk/core/indexer.py +772 -116
- agent0_sdk/core/models.py +93 -12
- agent0_sdk/core/sdk.py +27 -306
- agent0_sdk/core/semantic_search_client.py +66 -0
- agent0_sdk/core/subgraph_client.py +182 -239
- {agent0_sdk-1.4.1.dist-info → agent0_sdk-1.5.0b1.dist-info}/METADATA +18 -8
- agent0_sdk-1.5.0b1.dist-info/RECORD +22 -0
- agent0_sdk-1.4.1.dist-info/RECORD +0 -21
- {agent0_sdk-1.4.1.dist-info → agent0_sdk-1.5.0b1.dist-info}/WHEEL +0 -0
- {agent0_sdk-1.4.1.dist-info → agent0_sdk-1.5.0b1.dist-info}/licenses/LICENSE +0 -0
- {agent0_sdk-1.4.1.dist-info → agent0_sdk-1.5.0b1.dist-info}/top_level.txt +0 -0
agent0_sdk/__init__.py
CHANGED
|
@@ -16,7 +16,9 @@ from .core.models import (
|
|
|
16
16
|
RegistrationFile,
|
|
17
17
|
AgentSummary,
|
|
18
18
|
Feedback,
|
|
19
|
-
|
|
19
|
+
SearchFilters,
|
|
20
|
+
SearchOptions,
|
|
21
|
+
FeedbackFilters,
|
|
20
22
|
SearchFeedbackParams,
|
|
21
23
|
)
|
|
22
24
|
|
|
@@ -33,7 +35,7 @@ except ImportError:
|
|
|
33
35
|
TransactionMined = None
|
|
34
36
|
_sdk_available = False
|
|
35
37
|
|
|
36
|
-
__version__ = "1.
|
|
38
|
+
__version__ = "1.5.0b1"
|
|
37
39
|
__all__ = [
|
|
38
40
|
"SDK",
|
|
39
41
|
"Agent",
|
|
@@ -52,6 +54,8 @@ __all__ = [
|
|
|
52
54
|
"RegistrationFile",
|
|
53
55
|
"AgentSummary",
|
|
54
56
|
"Feedback",
|
|
55
|
-
"
|
|
57
|
+
"SearchFilters",
|
|
58
|
+
"SearchOptions",
|
|
59
|
+
"FeedbackFilters",
|
|
56
60
|
"SearchFeedbackParams",
|
|
57
61
|
]
|
agent0_sdk/core/contracts.py
CHANGED
|
@@ -545,8 +545,9 @@ DEFAULT_REGISTRIES: Dict[int, Dict[str, str]] = {
|
|
|
545
545
|
# Default subgraph URLs for different chains
|
|
546
546
|
# Note: Subgraph URLs may need to be updated when new contracts are deployed
|
|
547
547
|
DEFAULT_SUBGRAPH_URLS: Dict[int, str] = {
|
|
548
|
-
1: "https://gateway.thegraph.com/api/7fd2e7d89ce3ef24cd0d4590298f0b2c/subgraphs/id/
|
|
548
|
+
1: "https://gateway.thegraph.com/api/7fd2e7d89ce3ef24cd0d4590298f0b2c/subgraphs/id/FV6RR6y13rsnCxBAicKuQEwDp8ioEGiNaWaZUmvr1F8k", # Ethereum Mainnet
|
|
549
549
|
11155111: "https://gateway.thegraph.com/api/00a452ad3cd1900273ea62c1bf283f93/subgraphs/id/6wQRC7geo9XYAhckfmfo8kbMRLeWU8KQd3XsJqFKmZLT", # Ethereum Sepolia
|
|
550
|
+
137: "https://gateway.thegraph.com/api/782d61ed390e625b8867995389699b4c/subgraphs/id/9q16PZv1JudvtnCAf44cBoxg82yK9SSsFvrjCY9xnneF", # Polygon Mainnet
|
|
550
551
|
# Other chains temporarily disabled - subgraphs to be updated
|
|
551
552
|
# 84532: "https://gateway.thegraph.com/api/...", # Base Sepolia - To be updated
|
|
552
553
|
# 80002: "https://gateway.thegraph.com/api/...", # Polygon Amoy - To be updated
|