meshagent-cli 0.0.27__py3-none-any.whl → 0.0.28__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.

Potentially problematic release.


This version of meshagent-cli might be problematic. Click here for more details.

meshagent/cli/cli_mcp.py CHANGED
@@ -27,7 +27,10 @@ import shlex
27
27
  app = async_typer.AsyncTyper()
28
28
 
29
29
  @app.async_command("sse")
30
- async def sse(*, project_id: str = None, room: Annotated[str, typer.Option()], token_path: Annotated[Optional[str], typer.Option()] = None, api_key_id: Annotated[Optional[str], typer.Option()] = None, name: Annotated[str, typer.Option(..., help="Participant name")] = "cli", role: str = "tool", url: Annotated[str, typer.Option()]):
30
+ async def sse(*, project_id: str = None, room: Annotated[str, typer.Option()], token_path: Annotated[Optional[str], typer.Option()] = None, api_key_id: Annotated[Optional[str], typer.Option()] = None, name: Annotated[str, typer.Option(..., help="Participant name")] = "cli", role: str = "tool", url: Annotated[str, typer.Option()], toolkit_name: Annotated[Optional[str], typer.Option()] = None):
31
+ if toolkit_name == None:
32
+ toolkit_name = "mcp"
33
+
31
34
  account_client = await get_client()
32
35
  try:
33
36
  project_id = await resolve_project_id(project_id=project_id)
@@ -44,7 +47,7 @@ async def sse(*, project_id: str = None, room: Annotated[str, typer.Option()], t
44
47
 
45
48
  mcp_tools_response = await session.list_tools()
46
49
 
47
- toolkit = MCPToolkit(name=name, session=session, tools=mcp_tools_response.tools)
50
+ toolkit = MCPToolkit(name=toolkit_name, session=session, tools=mcp_tools_response.tools)
48
51
 
49
52
  remote_toolkit = RemoteToolkit(name=toolkit.name, tools=toolkit.tools, title=toolkit.title, description=toolkit.description)
50
53
 
@@ -61,7 +64,10 @@ async def sse(*, project_id: str = None, room: Annotated[str, typer.Option()], t
61
64
  await account_client.close()
62
65
 
63
66
  @app.async_command("stdio")
64
- async def stdio(*, project_id: str = None, room: Annotated[str, typer.Option()], token_path: Annotated[Optional[str], typer.Option()] = None, api_key_id: Annotated[Optional[str], typer.Option()] = None, name: Annotated[str, typer.Option(..., help="Participant name")] = "cli", role: str = "tool", command: Annotated[str, typer.Option()]):
67
+ async def stdio(*, project_id: str = None, room: Annotated[str, typer.Option()], token_path: Annotated[Optional[str], typer.Option()] = None, api_key_id: Annotated[Optional[str], typer.Option()] = None, name: Annotated[str, typer.Option(..., help="Participant name")] = "cli", role: str = "tool", command: Annotated[str, typer.Option()], toolkit_name: Annotated[Optional[str], typer.Option()] = None):
68
+ if toolkit_name == None:
69
+ toolkit_name = "mcp"
70
+
65
71
  account_client = await get_client()
66
72
  try:
67
73
  project_id = await resolve_project_id(project_id=project_id)
@@ -84,7 +90,7 @@ async def stdio(*, project_id: str = None, room: Annotated[str, typer.Option()],
84
90
 
85
91
  mcp_tools_response = await session.list_tools()
86
92
 
87
- toolkit = MCPToolkit(name=name, session=session, tools=mcp_tools_response.tools)
93
+ toolkit = MCPToolkit(name=toolkit_name, session=session, tools=mcp_tools_response.tools)
88
94
 
89
95
  remote_toolkit = RemoteToolkit(name=toolkit.name, tools=toolkit.tools, title=toolkit.title, description=toolkit.description)
90
96
 
@@ -102,7 +108,7 @@ async def stdio(*, project_id: str = None, room: Annotated[str, typer.Option()],
102
108
 
103
109
 
104
110
  @app.async_command("stdio-service")
105
- async def stdio_host(*, command: Annotated[str, typer.Option()], host: Annotated[Optional[str], typer.Option()] = None, port: Annotated[Optional[int], typer.Option()] = None, webhook_secret: Annotated[Optional[str], typer.Option()] = None, path: Annotated[Optional[str], typer.Option()] = None):
111
+ async def stdio_host(*, command: Annotated[str, typer.Option()], host: Annotated[Optional[str], typer.Option()] = None, port: Annotated[Optional[int], typer.Option()] = None, webhook_secret: Annotated[Optional[str], typer.Option()] = None, path: Annotated[Optional[str], typer.Option()] = None, toolkit_name: Annotated[Optional[str], typer.Option()] = None):
106
112
 
107
113
  try:
108
114
 
@@ -116,9 +122,13 @@ async def stdio_host(*, command: Annotated[str, typer.Option()], host: Annotat
116
122
 
117
123
  async with ClientSession(read_stream=read_stream, write_stream=write_stream) as session:
118
124
 
125
+
119
126
  mcp_tools_response = await session.list_tools()
120
127
 
121
- toolkit = MCPToolkit(name="mcp", session=session, tools=mcp_tools_response.tools)
128
+ if toolkit_name == None:
129
+ toolkit_name = "mcp"
130
+
131
+ toolkit = MCPToolkit(name=toolkit_name, session=session, tools=mcp_tools_response.tools)
122
132
 
123
133
  if port == None:
124
134
 
meshagent/cli/version.py CHANGED
@@ -1 +1 @@
1
- __version__ = "0.0.27"
1
+ __version__ = "0.0.28"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: meshagent-cli
3
- Version: 0.0.27
3
+ Version: 0.0.28
4
4
  Summary: CLI for Meshagent
5
5
  License-Expression: Apache-2.0
6
6
  Project-URL: Documentation, https://docs.meshagent.com
@@ -10,10 +10,10 @@ Requires-Python: >=3.12
10
10
  Description-Content-Type: text/markdown
11
11
  Requires-Dist: typer~=0.15.3
12
12
  Requires-Dist: pydantic-yaml~=1.4.0
13
- Requires-Dist: meshagent-api~=0.0.27
14
- Requires-Dist: meshagent-agents~=0.0.27
15
- Requires-Dist: meshagent-tools~=0.0.27
16
- Requires-Dist: meshagent-mcp~=0.0.27
13
+ Requires-Dist: meshagent-api~=0.0.28
14
+ Requires-Dist: meshagent-agents~=0.0.28
15
+ Requires-Dist: meshagent-tools~=0.0.28
16
+ Requires-Dist: meshagent-mcp~=0.0.28
17
17
  Requires-Dist: supabase~=2.15.1
18
18
 
19
19
  ### Meshagent CLI
@@ -7,7 +7,7 @@ meshagent/cli/auth_async.py,sha256=LArKxTxQAPmItv0JaGkW3Ybutl6MVmb6_EeSjI18IbI,4
7
7
  meshagent/cli/call.py,sha256=M8oMo-hsYIzQzMF0OMNdJuoYCjDwtYUtdV1hCwZs0co,4610
8
8
  meshagent/cli/chatbot.py,sha256=ylW_jSvY1OWDs7LPsyEIz8-x_BaInnIgmpcQZqwOdmg,3016
9
9
  meshagent/cli/cli.py,sha256=G7RAwd3LzS4LHpvyCD51XS0vjwR2Ml7feUfBP2VdwUs,1338
10
- meshagent/cli/cli_mcp.py,sha256=rHU5rZFJMPiYRWMHvrQub15gIqAuLDS979Q-fMJJ2BU,6830
10
+ meshagent/cli/cli_mcp.py,sha256=UAlUC04ZsxnGYt5SnEScQXdHZHEhAu3b8FC9s3zGu_s,7260
11
11
  meshagent/cli/cli_secrets.py,sha256=U0kdzN3zt7JIqzdRLynAjxdvAsI0enesBd_m7TeXjnQ,13629
12
12
  meshagent/cli/developer.py,sha256=5eoDr3kfi-IufA5d6OESqNr739Bdut_IFBtT3nq0xZU,3002
13
13
  meshagent/cli/helper.py,sha256=hcY6C5BqGnYmwFVIG7nS9NPIZXbdpOoEna-t0mYmHGY,4632
@@ -17,11 +17,11 @@ meshagent/cli/projects.py,sha256=Tut8kRCVvgdWzlAR1Zqf0QxAi4sNfQEIHY9zxfS1nuI,110
17
17
  meshagent/cli/services.py,sha256=5uVfW8LX8IJ_Y03bkaC7wYvuLJltlAhhqNonavgqHqs,11042
18
18
  meshagent/cli/sessions.py,sha256=WWvuztYqRfthSq6ztwL_eQ_sz9JRc33jcN6p7YyM_Fs,782
19
19
  meshagent/cli/storage.py,sha256=BsagaJfThrUWqXFyAk9IvQtUuDAMckE2mffZ_peozMo,33555
20
- meshagent/cli/version.py,sha256=XJ5NZRv5ahaSlYm7_PUNTixULma76xIxwxi2Yy6Eb8w,23
20
+ meshagent/cli/version.py,sha256=OxG64Q6SDQQGNb5ggPOgDkHI0rY-RjCF92VCMUiyhOQ,23
21
21
  meshagent/cli/voicebot.py,sha256=svsCqz4kP-Xm9uw68SDsmeiezFZpuiakmSdR5nHLTAM,3264
22
22
  meshagent/cli/webhook.py,sha256=KBl8U1TcOX3z2uoyH4YMuUuw0vSVX7xpRxYvzxI5c-Y,2811
23
- meshagent_cli-0.0.27.dist-info/METADATA,sha256=PKyGr5KRC-zC36UeZgEpElCYb5UXVWe10VyVlZ-4flM,605
24
- meshagent_cli-0.0.27.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
25
- meshagent_cli-0.0.27.dist-info/entry_points.txt,sha256=WRcGGN4vMtvC5Pgl3uRFqsJiQXNoHuLLa-TCSY3gAhQ,52
26
- meshagent_cli-0.0.27.dist-info/top_level.txt,sha256=GlcXnHtRP6m7zlG3Df04M35OsHtNXy_DY09oFwWrH74,10
27
- meshagent_cli-0.0.27.dist-info/RECORD,,
23
+ meshagent_cli-0.0.28.dist-info/METADATA,sha256=25r5gLStAzhcDHWoO2XWsF5DnwQBjFDM3rAjE9Bxfaw,605
24
+ meshagent_cli-0.0.28.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
25
+ meshagent_cli-0.0.28.dist-info/entry_points.txt,sha256=WRcGGN4vMtvC5Pgl3uRFqsJiQXNoHuLLa-TCSY3gAhQ,52
26
+ meshagent_cli-0.0.28.dist-info/top_level.txt,sha256=GlcXnHtRP6m7zlG3Df04M35OsHtNXy_DY09oFwWrH74,10
27
+ meshagent_cli-0.0.28.dist-info/RECORD,,