meshagent-tools 0.23.0__py3-none-any.whl → 0.24.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.
- meshagent/tools/discovery.py +3 -23
- meshagent/tools/version.py +1 -1
- {meshagent_tools-0.23.0.dist-info → meshagent_tools-0.24.0.dist-info}/METADATA +2 -2
- {meshagent_tools-0.23.0.dist-info → meshagent_tools-0.24.0.dist-info}/RECORD +7 -7
- {meshagent_tools-0.23.0.dist-info → meshagent_tools-0.24.0.dist-info}/WHEEL +0 -0
- {meshagent_tools-0.23.0.dist-info → meshagent_tools-0.24.0.dist-info}/licenses/LICENSE +0 -0
- {meshagent_tools-0.23.0.dist-info → meshagent_tools-0.24.0.dist-info}/top_level.txt +0 -0
meshagent/tools/discovery.py
CHANGED
|
@@ -30,33 +30,13 @@ class ListTools(Tool):
|
|
|
30
30
|
return {"toolkits": [*(t.to_json() for t in toolkits)]}
|
|
31
31
|
|
|
32
32
|
|
|
33
|
-
class ListAgents(Tool):
|
|
34
|
-
def __init__(self):
|
|
35
|
-
super().__init__(
|
|
36
|
-
name="list_agents",
|
|
37
|
-
title="list agents",
|
|
38
|
-
description="lists the callable agents in the room",
|
|
39
|
-
input_schema={
|
|
40
|
-
"type": "object",
|
|
41
|
-
"additionalProperties": False,
|
|
42
|
-
"required": [],
|
|
43
|
-
"properties": {},
|
|
44
|
-
},
|
|
45
|
-
)
|
|
46
|
-
|
|
47
|
-
async def execute(self, context: ToolContext):
|
|
48
|
-
agents = await context.room.agents.list_agents()
|
|
49
|
-
return {"agents": [*(t.to_json() for t in agents)]}
|
|
50
|
-
|
|
51
|
-
|
|
52
33
|
class DiscoveryToolkit(RemoteToolkit):
|
|
53
34
|
def __init__(self):
|
|
54
35
|
super().__init__(
|
|
55
|
-
name="
|
|
56
|
-
title="
|
|
57
|
-
description="
|
|
36
|
+
name="discovery",
|
|
37
|
+
title="discovery",
|
|
38
|
+
description="toolkit for discovering tools in a room",
|
|
58
39
|
tools=[
|
|
59
40
|
ListTools(),
|
|
60
|
-
ListAgents(),
|
|
61
41
|
],
|
|
62
42
|
)
|
meshagent/tools/version.py
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
__version__ = "0.
|
|
1
|
+
__version__ = "0.24.0"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: meshagent-tools
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.24.0
|
|
4
4
|
Summary: Tools for Meshagent
|
|
5
5
|
License-Expression: Apache-2.0
|
|
6
6
|
Project-URL: Documentation, https://docs.meshagent.com
|
|
@@ -12,7 +12,7 @@ License-File: LICENSE
|
|
|
12
12
|
Requires-Dist: pyjwt~=2.10
|
|
13
13
|
Requires-Dist: pytest~=8.4
|
|
14
14
|
Requires-Dist: pytest-asyncio~=0.26
|
|
15
|
-
Requires-Dist: meshagent-api~=0.
|
|
15
|
+
Requires-Dist: meshagent-api~=0.24.0
|
|
16
16
|
Requires-Dist: aiohttp~=3.10
|
|
17
17
|
Requires-Dist: opentelemetry-distro~=0.54b1
|
|
18
18
|
Dynamic: license-file
|
|
@@ -3,7 +3,7 @@ meshagent/tools/blob.py,sha256=aDW_z8R4HrmrYzAWoWm13Ypqcxcl4rL1Dc0ESnQETLM,1473
|
|
|
3
3
|
meshagent/tools/config.py,sha256=zH2xGxg28K7Tg-aYor6LXdzf0LRxS9iE0679H1FuWhE,79
|
|
4
4
|
meshagent/tools/database.py,sha256=Jd_YJLPIBsypSK1SziwaYb8xKnG4oafoCDs6vzAC2Oc,18396
|
|
5
5
|
meshagent/tools/datetime.py,sha256=2pOUOWopYIsc5y4EoFo_1PdBaBcTSkeOOs_EqdqYTk0,17503
|
|
6
|
-
meshagent/tools/discovery.py,sha256=
|
|
6
|
+
meshagent/tools/discovery.py,sha256=f7DJtwIiBQCxByTepsvGM2NRn-9KGxZTZMoTRCKYQ7E,1251
|
|
7
7
|
meshagent/tools/document_tools.py,sha256=LMULXOSBjsvhKjqzxUxe8586t0Vol0v1Btu5v6ofm7A,11755
|
|
8
8
|
meshagent/tools/hosting.py,sha256=l1BCgnSrCJQsWU9Kycq3hEI4ZlYxffDfde6QeJUfko0,10678
|
|
9
9
|
meshagent/tools/multi_tool.py,sha256=hmWZO18Y2tuFG_7rvUed9er29aXleAC-r3YpXBCZWUY,4040
|
|
@@ -13,10 +13,10 @@ meshagent/tools/strict_schema.py,sha256=IytdAANa6lsfrsg5FsJuqYrxH9D_fayl-Lc9EwgL
|
|
|
13
13
|
meshagent/tools/tool.py,sha256=9OAlbfaHqfgJnCDBSW-8PS0Z1K1KjWGD3JBUyiHOxAk,3131
|
|
14
14
|
meshagent/tools/toolkit.py,sha256=rCCkpQBoSkmmhjnRGA4jx0QP-ds6WTJ0PkQVnf1Ls7s,3843
|
|
15
15
|
meshagent/tools/uuid.py,sha256=mzRwDmXy39U5lHhd9wqV4r-ZdS8jPfDTTs4UfW4KHJQ,1342
|
|
16
|
-
meshagent/tools/version.py,sha256=
|
|
16
|
+
meshagent/tools/version.py,sha256=DxtMZD542lg_xb6icrE2d5JOY8oUi-v34i2Ar63ddvs,23
|
|
17
17
|
meshagent/tools/web_toolkit.py,sha256=IoOYjOBmcbQsqWT14xYg02jjWpWmGOkDSxt2U-LQoaA,1258
|
|
18
|
-
meshagent_tools-0.
|
|
19
|
-
meshagent_tools-0.
|
|
20
|
-
meshagent_tools-0.
|
|
21
|
-
meshagent_tools-0.
|
|
22
|
-
meshagent_tools-0.
|
|
18
|
+
meshagent_tools-0.24.0.dist-info/licenses/LICENSE,sha256=eTt0SPW-sVNdkZe9PS_S8WfCIyLjRXRl7sUBWdlteFg,10254
|
|
19
|
+
meshagent_tools-0.24.0.dist-info/METADATA,sha256=D8WWKfMis7eEiRprZ2WZTCMyAlSiArWxlD00-VXpGaQ,2878
|
|
20
|
+
meshagent_tools-0.24.0.dist-info/WHEEL,sha256=qELbo2s1Yzl39ZmrAibXA2jjPLUYfnVhUNTlyF1rq0Y,92
|
|
21
|
+
meshagent_tools-0.24.0.dist-info/top_level.txt,sha256=GlcXnHtRP6m7zlG3Df04M35OsHtNXy_DY09oFwWrH74,10
|
|
22
|
+
meshagent_tools-0.24.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|