mech-client 0.6.0__py3-none-any.whl → 0.8.0__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.
- mech_client/__init__.py +1 -1
- mech_client/abis/ComplementaryServiceMetadata.json +185 -0
- mech_client/abis/SubscriptionProvider.base.json +294 -0
- mech_client/abis/SubscriptionProvider.gnosis.json +294 -0
- mech_client/cli.py +93 -1
- mech_client/configs/mechs.json +6 -0
- mech_client/interact.py +1 -0
- mech_client/mech_marketplace_tool_management.py +223 -0
- {mech_client-0.6.0.dist-info → mech_client-0.8.0.dist-info}/METADATA +90 -9
- {mech_client-0.6.0.dist-info → mech_client-0.8.0.dist-info}/RECORD +13 -9
- {mech_client-0.6.0.dist-info → mech_client-0.8.0.dist-info}/LICENSE +0 -0
- {mech_client-0.6.0.dist-info → mech_client-0.8.0.dist-info}/WHEEL +0 -0
- {mech_client-0.6.0.dist-info → mech_client-0.8.0.dist-info}/entry_points.txt +0 -0
|
@@ -0,0 +1,223 @@
|
|
|
1
|
+
"""Module for managing mechanical tools and their interactions with blockchain."""
|
|
2
|
+
|
|
3
|
+
import json
|
|
4
|
+
from dataclasses import asdict, dataclass
|
|
5
|
+
from pathlib import Path
|
|
6
|
+
from typing import Any, Dict, List, Optional, Tuple
|
|
7
|
+
|
|
8
|
+
import requests
|
|
9
|
+
from aea_ledger_ethereum import EthereumApi
|
|
10
|
+
|
|
11
|
+
from mech_client.marketplace_interact import ADDRESS_ZERO, get_contract, get_mech_config
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
ABI_DIR_PATH = Path(__file__).parent / "abis"
|
|
15
|
+
COMPLEMENTARY_METADATA_HASH_ABI_PATH = (
|
|
16
|
+
ABI_DIR_PATH / "ComplementaryServiceMetadata.json"
|
|
17
|
+
)
|
|
18
|
+
ENCODING = "utf-8"
|
|
19
|
+
DEFAULT_TIMEOUT = 10
|
|
20
|
+
TOOLS = "tools"
|
|
21
|
+
TOOL_METADATA = "toolMetadata"
|
|
22
|
+
DEFAULT_CONFIG = "gnosis"
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
@dataclass
|
|
26
|
+
class ToolInfo:
|
|
27
|
+
"""Tool info"""
|
|
28
|
+
|
|
29
|
+
tool_name: str
|
|
30
|
+
unique_identifier: str
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
@dataclass
|
|
34
|
+
class ToolsForMarketplaceMech:
|
|
35
|
+
"""Tools info list"""
|
|
36
|
+
|
|
37
|
+
service_id: int
|
|
38
|
+
tools: List[ToolInfo]
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
def fetch_tools(
|
|
42
|
+
service_id: int,
|
|
43
|
+
ledger_api: EthereumApi,
|
|
44
|
+
complementary_metadata_hash_address: str,
|
|
45
|
+
contract_abi_path: Path,
|
|
46
|
+
) -> Dict[str, Any]:
|
|
47
|
+
"""Fetch tools for specified mech's service ID."""
|
|
48
|
+
with open(contract_abi_path, encoding=ENCODING) as f:
|
|
49
|
+
abi = json.load(f)
|
|
50
|
+
|
|
51
|
+
metadata_contract = get_contract(
|
|
52
|
+
contract_address=complementary_metadata_hash_address,
|
|
53
|
+
abi=abi,
|
|
54
|
+
ledger_api=ledger_api,
|
|
55
|
+
)
|
|
56
|
+
metadata_uri = metadata_contract.functions.tokenURI(service_id).call()
|
|
57
|
+
return requests.get(metadata_uri, timeout=DEFAULT_TIMEOUT).json()
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
def get_mech_tools(
|
|
61
|
+
service_id: int, chain_config: str = DEFAULT_CONFIG
|
|
62
|
+
) -> Optional[Dict[str, Any]]:
|
|
63
|
+
"""
|
|
64
|
+
Fetch tools for a given mech's service ID.
|
|
65
|
+
|
|
66
|
+
:param service_id: The service ID of the mech.
|
|
67
|
+
:param chain_config: The chain configuration to use (default is "gnosis").
|
|
68
|
+
:return: A dictionary containing the JSON response from the `tokenURI` contract call, typically including tools and metadata.
|
|
69
|
+
"""
|
|
70
|
+
# Get the mech configuration
|
|
71
|
+
mech_config = get_mech_config(chain_config)
|
|
72
|
+
ledger_config = mech_config.ledger_config
|
|
73
|
+
|
|
74
|
+
# Setup Ethereum API
|
|
75
|
+
ledger_api = EthereumApi(**asdict(ledger_config))
|
|
76
|
+
|
|
77
|
+
if mech_config.complementary_metadata_hash_address == ADDRESS_ZERO:
|
|
78
|
+
print(f"Metadata hash not yet implemented on {chain_config}")
|
|
79
|
+
return None
|
|
80
|
+
|
|
81
|
+
try:
|
|
82
|
+
# Fetch tools for the given mech's service ID
|
|
83
|
+
return fetch_tools(
|
|
84
|
+
service_id=service_id,
|
|
85
|
+
ledger_api=ledger_api,
|
|
86
|
+
complementary_metadata_hash_address=mech_config.complementary_metadata_hash_address,
|
|
87
|
+
contract_abi_path=COMPLEMENTARY_METADATA_HASH_ABI_PATH,
|
|
88
|
+
)
|
|
89
|
+
except (json.JSONDecodeError, NotImplementedError) as e:
|
|
90
|
+
print(f"An error occurred while fetching tools for mech with {service_id}: {e}")
|
|
91
|
+
return None
|
|
92
|
+
|
|
93
|
+
|
|
94
|
+
def get_tools_for_marketplace_mech(
|
|
95
|
+
service_id: int, chain_config: str = DEFAULT_CONFIG
|
|
96
|
+
) -> ToolsForMarketplaceMech:
|
|
97
|
+
"""
|
|
98
|
+
Retrieve tools for specified mech's service id.
|
|
99
|
+
|
|
100
|
+
:param service_id: specific mech's service ID to fetch tools for.
|
|
101
|
+
:param chain_config: The chain configuration to use.
|
|
102
|
+
:return: Dictionary of tools with identifiers or a mapping of service IDs to tools.
|
|
103
|
+
"""
|
|
104
|
+
empty_response = ToolsForMarketplaceMech(service_id=service_id, tools=[])
|
|
105
|
+
|
|
106
|
+
try:
|
|
107
|
+
result = get_mech_tools(service_id, chain_config)
|
|
108
|
+
if result is None:
|
|
109
|
+
return empty_response
|
|
110
|
+
|
|
111
|
+
tools = result.get(TOOLS, [])
|
|
112
|
+
tool_metadata = result.get(TOOL_METADATA, {})
|
|
113
|
+
if not isinstance(tools, list) or not isinstance(tool_metadata, dict):
|
|
114
|
+
return empty_response
|
|
115
|
+
|
|
116
|
+
tools_with_ids = [
|
|
117
|
+
ToolInfo(tool_name=tool, unique_identifier=f"{service_id}-{tool}")
|
|
118
|
+
for tool in tools
|
|
119
|
+
]
|
|
120
|
+
return ToolsForMarketplaceMech(service_id=service_id, tools=tools_with_ids)
|
|
121
|
+
|
|
122
|
+
except (json.JSONDecodeError, NotImplementedError) as e:
|
|
123
|
+
print(f"Error in get_tools_for_marketplace_mech: {str(e)}")
|
|
124
|
+
raise
|
|
125
|
+
|
|
126
|
+
|
|
127
|
+
def get_tool_description(
|
|
128
|
+
unique_identifier: str, chain_config: str = DEFAULT_CONFIG
|
|
129
|
+
) -> str:
|
|
130
|
+
"""
|
|
131
|
+
Fetch the description of a specific tool based on a unique identifier.
|
|
132
|
+
|
|
133
|
+
:param unique_identifier: The unique identifier for the tool.
|
|
134
|
+
:param chain_config: The chain configuration to use.
|
|
135
|
+
:return: Description of the tool or a default message if not available.
|
|
136
|
+
"""
|
|
137
|
+
default_response = "Description not available"
|
|
138
|
+
|
|
139
|
+
_, tool_info = _get_tool_metadata(unique_identifier, chain_config)
|
|
140
|
+
return (
|
|
141
|
+
tool_info.get("description", default_response)
|
|
142
|
+
if tool_info
|
|
143
|
+
else default_response
|
|
144
|
+
)
|
|
145
|
+
|
|
146
|
+
|
|
147
|
+
def get_tool_io_schema(
|
|
148
|
+
unique_identifier: str, chain_config: str = DEFAULT_CONFIG
|
|
149
|
+
) -> Dict[str, Any]:
|
|
150
|
+
"""
|
|
151
|
+
Fetch the input and output schema along with tool name and description of a specific tool based on a unique identifier.
|
|
152
|
+
|
|
153
|
+
:param unique_identifier: The unique identifier for the tool.
|
|
154
|
+
:param chain_config: The chain configuration to use.
|
|
155
|
+
:return: Dictionary containing name, description, input and output schemas.
|
|
156
|
+
"""
|
|
157
|
+
_, tool_info = _get_tool_metadata(unique_identifier, chain_config)
|
|
158
|
+
if tool_info:
|
|
159
|
+
return {
|
|
160
|
+
"name": tool_info.get("name", {}),
|
|
161
|
+
"description": tool_info.get("description", {}),
|
|
162
|
+
"input": tool_info.get("input", {}),
|
|
163
|
+
"output": tool_info.get("output", {}),
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
return {"input": {}, "output": {}}
|
|
167
|
+
|
|
168
|
+
|
|
169
|
+
def _get_tool_metadata(
|
|
170
|
+
unique_identifier: str, chain_config: str = DEFAULT_CONFIG
|
|
171
|
+
) -> Tuple[str, Optional[Dict[str, Any]]]:
|
|
172
|
+
"""
|
|
173
|
+
Helper function to extract tool metadata from the chain config and unique identifier.
|
|
174
|
+
|
|
175
|
+
:param unique_identifier: The unique identifier in the format "<service_id>-<tool_name>".
|
|
176
|
+
:param chain_config: The chain configuration to use.
|
|
177
|
+
:return: Tuple of tool name and its metadata dictionary (or None if not found).
|
|
178
|
+
"""
|
|
179
|
+
service_id_str, *tool_parts = unique_identifier.split("-")
|
|
180
|
+
try:
|
|
181
|
+
service_id = int(service_id_str)
|
|
182
|
+
except ValueError as exc:
|
|
183
|
+
raise ValueError(
|
|
184
|
+
f"Unexpected unique identifier format: {unique_identifier}"
|
|
185
|
+
) from exc
|
|
186
|
+
tool_name = "-".join(tool_parts)
|
|
187
|
+
|
|
188
|
+
result = get_mech_tools(service_id, chain_config)
|
|
189
|
+
|
|
190
|
+
if isinstance(result, dict):
|
|
191
|
+
tool_metadata = result.get(TOOL_METADATA, {})
|
|
192
|
+
tool_info = tool_metadata.get(tool_name)
|
|
193
|
+
if isinstance(tool_info, dict):
|
|
194
|
+
return tool_name, tool_info
|
|
195
|
+
|
|
196
|
+
return tool_name, None
|
|
197
|
+
|
|
198
|
+
|
|
199
|
+
def extract_input_schema(input_data: Dict[str, Any]) -> List[Tuple[str, Any]]:
|
|
200
|
+
"""
|
|
201
|
+
Extract the schema from input data.
|
|
202
|
+
|
|
203
|
+
:param input_data: A dictionary representing the input data.
|
|
204
|
+
:return: A list of key-value pairs representing the input schema.
|
|
205
|
+
"""
|
|
206
|
+
return [(key, input_data[key]) for key in input_data]
|
|
207
|
+
|
|
208
|
+
|
|
209
|
+
def extract_output_schema(output_data: Dict[str, Any]) -> List[Tuple[str, str, str]]:
|
|
210
|
+
"""
|
|
211
|
+
Extract the output schema from the output data.
|
|
212
|
+
|
|
213
|
+
:param output_data: A dictionary representing the output data.
|
|
214
|
+
:return: A list of list of tuples representing the output schema.
|
|
215
|
+
"""
|
|
216
|
+
schema = output_data.get("schema", {})
|
|
217
|
+
if "properties" not in schema:
|
|
218
|
+
return []
|
|
219
|
+
|
|
220
|
+
return [
|
|
221
|
+
(key, value.get("type", ""), value.get("description", ""))
|
|
222
|
+
for key, value in schema["properties"].items()
|
|
223
|
+
]
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: mech-client
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.8.0
|
|
4
4
|
Summary: Basic client to interact with a mech
|
|
5
5
|
License: Apache-2.0
|
|
6
6
|
Author: David Minarsch
|
|
@@ -116,12 +116,6 @@ The EOA you use must have enough funds to pay for the Mech requests, or alternat
|
|
|
116
116
|
> echo ethereum_private_key.txt >> .gitignore
|
|
117
117
|
> ```
|
|
118
118
|
|
|
119
|
-
### Select the mech you are going to send requests to
|
|
120
|
-
|
|
121
|
-
Mechs can receive requests via the [Mech Marketplace](https://github.com/valory-xyz/ai-registry-mech/) or directly. We call the last ones _Legacy Mechs_.
|
|
122
|
-
Mechs are deployed on several networks. Find the list of supported networks and corresponding mech addresses [here](https://github.com/valory-xyz/mech?tab=readme-ov-file#examples-of-deployed-mechs). Additionally, on Gnosis you can find more available Mechs [here](https://mech.olas.network/) (click on the tab "Legacy Mech" in order to see Legacy Mech and "Mech Marketplace" for the ones which receive requests via the Mech Marketplace).
|
|
123
|
-
|
|
124
|
-
|
|
125
119
|
### API Keys
|
|
126
120
|
|
|
127
121
|
In order to fetch on-chain data for Gnosis and Base, mech client requires an API key from a blockchain data provider. You can find them here for [GnosisScan](https://gnosisscan.io/) and [BaseScan](https://basescan.org/). Follow these steps to generate your API key if you are planning to use mech client for gnosis and base:
|
|
@@ -139,6 +133,11 @@ export MECHX_API_KEY=<your api key>
|
|
|
139
133
|
|
|
140
134
|
### Generate Mech requests
|
|
141
135
|
|
|
136
|
+
#### Select the mech you are going to send requests to
|
|
137
|
+
|
|
138
|
+
Mechs can receive requests via the [Mech Marketplace](https://github.com/valory-xyz/ai-registry-mech/) or directly. We call the last ones _Legacy Mechs_.
|
|
139
|
+
Mechs are deployed on several networks. Find the list of supported networks and corresponding mech addresses [here](https://github.com/valory-xyz/mech?tab=readme-ov-file#examples-of-deployed-mechs). Additionally, you can find more available Mechs [here](https://mech.olas.network/) (click on the tab "Legacy Mech" in order to see Legacy Mech (available only on Gnosis) and "Mech Marketplace" for the ones which receive requests via the Mech Marketplace).
|
|
140
|
+
|
|
142
141
|
#### Legacy Mechs
|
|
143
142
|
|
|
144
143
|
The basic usage of the Mech Client is as follows:
|
|
@@ -221,7 +220,10 @@ For a Mech using Nevermined subscriptions, to make requests, it is necessary to
|
|
|
221
220
|
mechx purchase-nvm-subscription --chain-config <chain_config>
|
|
222
221
|
```
|
|
223
222
|
|
|
224
|
-
|
|
223
|
+
⚠️ To ensure optimal performance and reliability when using `purchase-nvm-subscription`, it is advisable to use a custom RPC provider as public RPC endpoints may be rate-limited or unreliable under high usage. You can configure your custom RPC URL in your environment variables using
|
|
224
|
+
```bash
|
|
225
|
+
export MECHX_CHAIN_RPC=
|
|
226
|
+
```
|
|
225
227
|
|
|
226
228
|
You can use the option `--key <private_key_file_path>` in order to customize the path to the private key file.
|
|
227
229
|
|
|
@@ -249,8 +251,9 @@ mechx interact --prompts <prompt-1> --prompts <prompt-2> --priority-mech <priori
|
|
|
249
251
|
```
|
|
250
252
|
|
|
251
253
|
|
|
252
|
-
### List tools available for
|
|
254
|
+
### List tools available for legacy mechs and marketplace mechs
|
|
253
255
|
|
|
256
|
+
#### For legacy mechs
|
|
254
257
|
To list the tools available for a specific agent or for all agents, use the `tools-for-agents` command. You can specify an agent ID to get tools for a specific agent, or omit it to list tools for all agents.
|
|
255
258
|
|
|
256
259
|
```bash
|
|
@@ -291,8 +294,28 @@ You will see an output like this:
|
|
|
291
294
|
+---------------------------------------------+-----------------------------------------------+
|
|
292
295
|
```
|
|
293
296
|
|
|
297
|
+
#### For marketplace mechs
|
|
298
|
+
To list the tools available for a specific marketplace mech, use the `tools-for-marketplace-mech` command. You can specify a service ID to get tools for a specific mech.
|
|
299
|
+
|
|
300
|
+
```bash
|
|
301
|
+
mechx tools-for-marketplace-mech 1722 --chain-config gnosis
|
|
302
|
+
```
|
|
303
|
+
```bash
|
|
304
|
+
You will see an output like this:
|
|
305
|
+
+---------------------------------------------+-----------------------------------------------+
|
|
306
|
+
| Tool Name | Unique Identifier |
|
|
307
|
+
+=============================================+===============================================+
|
|
308
|
+
| claude-prediction-offline | 1722-claude-prediction-offline |
|
|
309
|
+
+---------------------------------------------+-----------------------------------------------+
|
|
310
|
+
| claude-prediction-online | 1722-claude-prediction-online |
|
|
311
|
+
+---------------------------------------------+-----------------------------------------------+
|
|
312
|
+
| deepmind-optimization | 1722-deepmind-optimization |
|
|
313
|
+
+---------------------------------------------+-----------------------------------------------+
|
|
314
|
+
```
|
|
315
|
+
|
|
294
316
|
### Get Tool Description
|
|
295
317
|
|
|
318
|
+
#### For legacy mechs
|
|
296
319
|
To get the description of a specific tool, use the `tool-description` command. You need to specify the unique identifier of the tool.
|
|
297
320
|
|
|
298
321
|
```bash
|
|
@@ -308,9 +331,26 @@ You will see an output like this:
|
|
|
308
331
|
Description for tool 6-claude-prediction-offline: Makes a prediction using Claude
|
|
309
332
|
```
|
|
310
333
|
|
|
334
|
+
#### For marketplace mechs
|
|
335
|
+
To get the description of a specific tool, use the ` tool-description-for-marketplace-mech` command. You need to specify the unique identifier of the tool.
|
|
336
|
+
|
|
337
|
+
```bash
|
|
338
|
+
mechx tool-description-for-marketplace-mech <unique_identifier> --chain-config <chain_config>
|
|
339
|
+
```
|
|
340
|
+
Example usage:
|
|
341
|
+
|
|
342
|
+
```bash
|
|
343
|
+
mechx tool-description-for-marketplace-mech 1722-openai-gpt-4 --chain-config gnosis
|
|
344
|
+
```
|
|
345
|
+
You will see an output like this:
|
|
346
|
+
```bash
|
|
347
|
+
Description for tool 1722-openai-gpt-4: Performs a request to OpenAI's GPT-4 model.
|
|
348
|
+
```
|
|
349
|
+
|
|
311
350
|
|
|
312
351
|
### Get Tool Input/Output Schema
|
|
313
352
|
|
|
353
|
+
#### For legacy mechs
|
|
314
354
|
To get the input/output schema of a specific tool, use the `tool_io_schema` command. You need to specify the unique identifier of the tool.
|
|
315
355
|
|
|
316
356
|
```bash
|
|
@@ -350,6 +390,47 @@ Output Schema:
|
|
|
350
390
|
+-----------+---------+-----------------------------------------------+
|
|
351
391
|
```
|
|
352
392
|
|
|
393
|
+
#### For marketplace mechs
|
|
394
|
+
To get the input/output schema of a specific tool, use the `tool-io-schema-for-marketplace-mech` command. You need to specify the unique identifier of the tool.
|
|
395
|
+
|
|
396
|
+
```bash
|
|
397
|
+
mechx tool-io-schema-for-marketplace-mech <unique_identifier> --chain-config <chain_config>
|
|
398
|
+
```
|
|
399
|
+
|
|
400
|
+
Example usage:
|
|
401
|
+
|
|
402
|
+
```bash
|
|
403
|
+
mechx tool-io-schema-for-marketplace-mech 1722-openai-gpt-4 --chain-config gnosis
|
|
404
|
+
```
|
|
405
|
+
You will see an output like this:
|
|
406
|
+
```bash
|
|
407
|
+
Tool Details:
|
|
408
|
+
Tool Details:
|
|
409
|
+
+------------------------+---------------------------------------------+
|
|
410
|
+
| Tool Name | Tool Description |
|
|
411
|
+
+========================+=============================================+
|
|
412
|
+
| OpenAI Request (GPT-4) | Performs a request to OpenAI's GPT-4 model. |
|
|
413
|
+
+------------------------+---------------------------------------------+
|
|
414
|
+
Input Schema:
|
|
415
|
+
+-------------+-----------------------------------------------+
|
|
416
|
+
| Field | Value |
|
|
417
|
+
+=============+===============================================+
|
|
418
|
+
| type | text |
|
|
419
|
+
+-------------+-----------------------------------------------+
|
|
420
|
+
| description | The request to relay to OpenAI's GPT-4 model. |
|
|
421
|
+
+-------------+-----------------------------------------------+
|
|
422
|
+
Output Schema:
|
|
423
|
+
+-----------+---------+-----------------------------------+
|
|
424
|
+
| Field | Type | Description |
|
|
425
|
+
+===========+=========+===================================+
|
|
426
|
+
| requestId | integer | Unique identifier for the request |
|
|
427
|
+
+-----------+---------+-----------------------------------+
|
|
428
|
+
| result | string | Response from OpenAI |
|
|
429
|
+
+-----------+---------+-----------------------------------+
|
|
430
|
+
| prompt | string | User prompt to send to OpenAI |
|
|
431
|
+
+-----------+---------+-----------------------------------+
|
|
432
|
+
```
|
|
433
|
+
|
|
353
434
|
> **:pencil2: Note** <br />
|
|
354
435
|
> **If you encounter an "Out of gas" error when executing the Mech Client, you will need to increase the gas limit, e.g.,**
|
|
355
436
|
>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
mech_client/__init__.py,sha256=
|
|
1
|
+
mech_client/__init__.py,sha256=n3fidwjHsp7I4xof_XnBP8phCtdOP1J0zbnnx8kEwDI,42
|
|
2
2
|
mech_client/abis/AgentMech.json,sha256=IEbs_xBGunBu5h-uT5DvIty8Zw412QoPI46S_DUMYNw,18082
|
|
3
3
|
mech_client/abis/AgentRegistry.json,sha256=2qmXeFINZWz9pyOma6Bq67kMDSUI1lD7WvgHLwuETD8,24723
|
|
4
4
|
mech_client/abis/AgreementStoreManager.base.json,sha256=_ljdIZcfFGmFzBHUTfhA4X0382ZHHpkdr_CziTwUETo,34360
|
|
@@ -7,6 +7,7 @@ mech_client/abis/BalanceTrackerFixedPriceNative.json,sha256=MF5jDqSMoZztvMV4oc5i
|
|
|
7
7
|
mech_client/abis/BalanceTrackerFixedPriceToken.json,sha256=kaXgResUkAb6u9bVTS3T_SNRPRP76hi-jTAhMiYwq4U,12408
|
|
8
8
|
mech_client/abis/BalanceTrackerNvmSubscriptionNative.json,sha256=D23ibyhDsn4vjozFvzcKw-7wJpGM-R5GiqlcmyBIpcY,16536
|
|
9
9
|
mech_client/abis/BalanceTrackerNvmSubscriptionToken.json,sha256=4Bra0DdEi_pQUSD4hGdELOvjNL013GaJc-dANr--5D8,16204
|
|
10
|
+
mech_client/abis/ComplementaryServiceMetadata.json,sha256=ywbXSjIQhUchxKMClqKGdcHRhMb8Z9s93OjcHtRRYrY,4256
|
|
10
11
|
mech_client/abis/DIDRegistry.base.json,sha256=l6UZe4SU9nMh0PvmTS5gfwd6bBM7_BT5mRyASOFyGxw,92562
|
|
11
12
|
mech_client/abis/DIDRegistry.gnosis.json,sha256=piDWd8nipLcI3NkMu0o2RsQkTS9m7gjDp-yLtPpcjEc,92562
|
|
12
13
|
mech_client/abis/EscrowPaymentCondition.base.json,sha256=Z0zr_E2Cxjfg_aHF-VLPeOQ9kAy51_aRcw-OuIPQ7zY,34475
|
|
@@ -23,12 +24,14 @@ mech_client/abis/NeverminedConfig.base.json,sha256=0p_GV87fsBvlN6VNDm_T1ykjzD4yZ
|
|
|
23
24
|
mech_client/abis/NeverminedConfig.gnosis.json,sha256=3MT2dgUz5jAKvwItfHwz95VPvPwKxF3CG2rH8kE5eug,21221
|
|
24
25
|
mech_client/abis/SubscriptionNFT.base.json,sha256=oYqkgejXaNQ2Pfc1OyWRJ7GlOl77B0UC16ziS6-Y76U,8811
|
|
25
26
|
mech_client/abis/SubscriptionNFT.gnosis.json,sha256=vHW7ownS8qDcDLbLZMGthtLc8YdtyxaAvymfeizD-7o,8811
|
|
27
|
+
mech_client/abis/SubscriptionProvider.base.json,sha256=KPtu23YQTpf2-EWtqIvFGtGQGOAdoQqV871IHiE4K1o,9367
|
|
28
|
+
mech_client/abis/SubscriptionProvider.gnosis.json,sha256=K4VRk8wuviMqQ6P30qg5A1NZOTLJz7oC7PwCYybdios,9367
|
|
26
29
|
mech_client/abis/SubscriptionToken.base.json,sha256=5StPEyfRvDMTqtQPO-KakXXZqobXZRuE6OCAeTM7bQc,39812
|
|
27
30
|
mech_client/abis/TransferNFTCondition.base.json,sha256=71O_3itHBz9qPtoTLev8_a7KxlcQfIZSfxK2562lkqw,42540
|
|
28
31
|
mech_client/abis/TransferNFTCondition.gnosis.json,sha256=-huhxV54eoNY8mR9WtQdmSgQDgaKiUi0PULJ4HEshWw,42540
|
|
29
32
|
mech_client/acn.py,sha256=Rj_jLPvJ5loDQfGbu3a_O24cJC4SwIErLceSz_zVYS8,5356
|
|
30
|
-
mech_client/cli.py,sha256=
|
|
31
|
-
mech_client/configs/mechs.json,sha256=
|
|
33
|
+
mech_client/cli.py,sha256=XezX27Y0VdnUq8HmHF6HxyhPmsC91YuLSuqAoi41UrE,17655
|
|
34
|
+
mech_client/configs/mechs.json,sha256=Zv8JrY6yvNsSxTP7RchvR1yz2k3yjYUZkuSILnPbWzg,5445
|
|
32
35
|
mech_client/fetch_ipfs_hash.py,sha256=tg_hYVf4deXl89x3SOBrGFUthaSeN_Vg_OHDtfjdbp4,2752
|
|
33
36
|
mech_client/helpers/__init__.py,sha256=nmQig1EqBQ9EMOpgdykP3a6_2NWcoVH3-lnyHP5n0ws,1196
|
|
34
37
|
mech_client/helpers/acn/README.md,sha256=WMXR2Lk0IpWjr3vpZ8cxcTHk4gwsx4wC06UPkwj9dbQ,1641
|
|
@@ -58,16 +61,17 @@ mech_client/helpers/p2p_libp2p_client/README.md,sha256=6x9s6P7TdKkcvAS1wMFHXRz4a
|
|
|
58
61
|
mech_client/helpers/p2p_libp2p_client/__init__.py,sha256=-GOP3D_JnmXTDomrMLCbnRk7vRQmihIqTYvyIPzx-q4,879
|
|
59
62
|
mech_client/helpers/p2p_libp2p_client/connection.py,sha256=b5jfcUeSoNrUw8DOSTCbK4DTi-N8bf2_pdogUOz0ep0,28606
|
|
60
63
|
mech_client/helpers/p2p_libp2p_client/connection.yaml,sha256=nMiHnU_dv9EFjVNqZ-0SAnoATfadJSad-JsbDvk97Mk,1790
|
|
61
|
-
mech_client/interact.py,sha256=
|
|
64
|
+
mech_client/interact.py,sha256=52UW5NysSTIC--APLpJde8VvrruWeYFCFzO02uRQpwc,21288
|
|
62
65
|
mech_client/marketplace_interact.py,sha256=rRIHYLzuaXYW7vh4fvNh9KBbUY4tgoavmMxFaPg0Rkw,33045
|
|
66
|
+
mech_client/mech_marketplace_tool_management.py,sha256=q_cXyJGI1rLXKB_Ds21eQLCzUhTYE9BHN48wqIw0w6g,7341
|
|
63
67
|
mech_client/mech_tool_management.py,sha256=NQFmVzzGZsIkeHokDPWXGHwa8u-pyQIMPR1Q5H81bKw,7806
|
|
64
68
|
mech_client/prompt_to_ipfs.py,sha256=XqSIBko15MEkpWOQNT97fRI6jNxMF5EDBDEPOJFdhyk,2533
|
|
65
69
|
mech_client/push_to_ipfs.py,sha256=IfvgaPU79N_ZmCPF9d7sPCYz2uduZH0KjT_HQ2LHXoQ,2059
|
|
66
70
|
mech_client/subgraph.py,sha256=MiyWiLPkqtXS9qayT75xYM6tz2pxd2Q6iE92yZxDugw,4700
|
|
67
71
|
mech_client/to_png.py,sha256=pjUcFJ63MJj_r73eqnfqCWMtlpsrj6H4ZmgvIEmRcFw,2581
|
|
68
72
|
mech_client/wss.py,sha256=N38eprKqwHyQpqGa6XZ9ZUwJ_YO50wlBJqJ5D1QCIj4,9888
|
|
69
|
-
mech_client-0.
|
|
70
|
-
mech_client-0.
|
|
71
|
-
mech_client-0.
|
|
72
|
-
mech_client-0.
|
|
73
|
-
mech_client-0.
|
|
73
|
+
mech_client-0.8.0.dist-info/LICENSE,sha256=mdBDB-mWKV5Cz4ejBzBiKqan6Z8zVLAh9xwM64O2FW4,11339
|
|
74
|
+
mech_client-0.8.0.dist-info/METADATA,sha256=fnDXxPMc9n3V3ESKXfxZxDxFs7TS8JZ_9-DjSckVCbs,25165
|
|
75
|
+
mech_client-0.8.0.dist-info/WHEEL,sha256=7Z8_27uaHI_UZAc4Uox4PpBhQ9Y5_modZXWMxtUi4NU,88
|
|
76
|
+
mech_client-0.8.0.dist-info/entry_points.txt,sha256=SbRMRsayzD8XfNXhgwPuXEqQsdZ5Bw9XDPnUuaDExyY,45
|
|
77
|
+
mech_client-0.8.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|