meshagent-cli 0.4.1__py3-none-any.whl → 0.4.3__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/mailbot.py CHANGED
@@ -1,6 +1,7 @@
1
1
  from meshagent.agents.mail import MailWorker
2
2
 
3
3
  import typer
4
+ from meshagent.api import ParticipantToken
4
5
  from rich import print
5
6
  from typing import Annotated, Optional
6
7
  from meshagent.tools import Toolkit
@@ -76,6 +77,15 @@ def build_mailbot(
76
77
  rules=rule if len(rule) > 0 else None,
77
78
  )
78
79
 
80
+ async def start(self, *, room: RoomClient):
81
+ parsed_token = ParticipantToken.from_jwt(
82
+ room.protocol.token, validate=False
83
+ )
84
+ print(
85
+ f"[bold green]Send an email interact with your mailbot: {room_address(project_id=parsed_token.project_id, room_name=room.room_name)}[/bold green]"
86
+ )
87
+ return await super().start(room=room)
88
+
79
89
  async def get_thread_toolkits(self, *, thread_context):
80
90
  toolkits = await super().get_thread_toolkits(thread_context=thread_context)
81
91
 
@@ -182,7 +192,6 @@ async def make_call(
182
192
  await bot.start(room=client)
183
193
  try:
184
194
  print(
185
- f"[bold green]Send an email interact with your agent: {room_address(project_id=project_id, room_name=room)}[/bold green]",
186
195
  flush=True,
187
196
  )
188
197
  await client.protocol.wait_for_close()
meshagent/cli/version.py CHANGED
@@ -1 +1 @@
1
- __version__ = "0.4.1"
1
+ __version__ = "0.4.3"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: meshagent-cli
3
- Version: 0.4.1
3
+ Version: 0.4.3
4
4
  Summary: CLI for Meshagent
5
5
  License-Expression: Apache-2.0
6
6
  Project-URL: Documentation, https://docs.meshagent.com
@@ -10,12 +10,12 @@ Requires-Python: >=3.12
10
10
  Description-Content-Type: text/markdown
11
11
  Requires-Dist: typer~=0.15
12
12
  Requires-Dist: pydantic-yaml~=1.4
13
- Requires-Dist: meshagent-api~=0.4.1
14
- Requires-Dist: meshagent-agents~=0.4.1
15
- Requires-Dist: meshagent-computers~=0.4.1
16
- Requires-Dist: meshagent-openai~=0.4.1
17
- Requires-Dist: meshagent-tools~=0.4.1
18
- Requires-Dist: meshagent-mcp~=0.4.1
13
+ Requires-Dist: meshagent-api~=0.4.3
14
+ Requires-Dist: meshagent-agents~=0.4.3
15
+ Requires-Dist: meshagent-computers~=0.4.3
16
+ Requires-Dist: meshagent-openai~=0.4.3
17
+ Requires-Dist: meshagent-tools~=0.4.3
18
+ Requires-Dist: meshagent-mcp~=0.4.3
19
19
  Requires-Dist: supabase~=2.15
20
20
  Requires-Dist: fastmcp~=2.8
21
21
  Requires-Dist: opentelemetry-distro~=0.54b1
@@ -12,7 +12,7 @@ meshagent/cli/cli_secrets.py,sha256=lkfR8tVjOA5KdynAhKCg5Z2EJkgrHFTX43pdB60YiU4,
12
12
  meshagent/cli/developer.py,sha256=JWz-qcduCbFopQ1DNGbwrknzFt59KBLIXx8DyD6PxZM,3081
13
13
  meshagent/cli/exec.py,sha256=H5_AOu5vic7ijFmRFotGj0WHf5t3jbEjZRCAp2-S3WQ,11551
14
14
  meshagent/cli/helper.py,sha256=gbd6Tvlp7CObPp3srWm-mbAe7tBD0iacg6PitGWJdtw,4874
15
- meshagent/cli/mailbot.py,sha256=cWB68ZXBeSJVTft7LgJ1qSftPnS7SE4rNp3XvBHUoKE,7826
15
+ meshagent/cli/mailbot.py,sha256=y5kDGs-PDahxsfTdh8sUc0MRxxzNo653bTqVbQbOg5M,8145
16
16
  meshagent/cli/messaging.py,sha256=cr-oVAu_s8uEPUm3GELSq8yaVDnEWlt02D5V4KbA6wc,6437
17
17
  meshagent/cli/otel.py,sha256=1yoMGivskLV9f7M_LqCLKbttTTAPmFY5yhWXqFzvRN8,4066
18
18
  meshagent/cli/participant_token.py,sha256=N07hblRjj0zDKxl5CQXJjIMmft5s9mWgKZKz-VZyhKw,1400
@@ -21,11 +21,11 @@ meshagent/cli/queue.py,sha256=iCbFOFRvX5opeCL0YMk2d3l-4vDWIsi1joe0r2gQeMM,3820
21
21
  meshagent/cli/services.py,sha256=1afeMH41Kj0-1uAKB72buWnPFcgaqT4xFVO4FEpTPC0,19308
22
22
  meshagent/cli/sessions.py,sha256=MP7XhrtkUrealdpl8IKrTR3u9sjF15sG175-Y_m7nps,800
23
23
  meshagent/cli/storage.py,sha256=wtLKYFyfsErCePxCG962Xb--moCN-zj9uVCtRPhIpfA,35572
24
- meshagent/cli/version.py,sha256=pMtTmSUht-XtbR_7Doz6bsQqopJJd8rZ8I8zy2HwwoA,22
24
+ meshagent/cli/version.py,sha256=Nyg0pmk5ea9-SLCAFEIF96ByFx4-TJFtrqYPN-Zn6g4,22
25
25
  meshagent/cli/voicebot.py,sha256=eTPaw4yEIBgNclZxlH8aXv0GquKcUTpqBH9WUuKRwsg,5691
26
26
  meshagent/cli/webhook.py,sha256=r5zct-UBQYSq3BWmnZRrHVOEHVlkY0j8uDxGVn3Pbxo,2902
27
- meshagent_cli-0.4.1.dist-info/METADATA,sha256=Cz1CvoRkxOCLe4SENejQN8j4BotktW6c5MU-cddOfWY,1448
28
- meshagent_cli-0.4.1.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
29
- meshagent_cli-0.4.1.dist-info/entry_points.txt,sha256=WRcGGN4vMtvC5Pgl3uRFqsJiQXNoHuLLa-TCSY3gAhQ,52
30
- meshagent_cli-0.4.1.dist-info/top_level.txt,sha256=GlcXnHtRP6m7zlG3Df04M35OsHtNXy_DY09oFwWrH74,10
31
- meshagent_cli-0.4.1.dist-info/RECORD,,
27
+ meshagent_cli-0.4.3.dist-info/METADATA,sha256=5NFZ0_iXJbmtvKB-8g6xpBY8Oclv95b6eeaQDryBPMs,1448
28
+ meshagent_cli-0.4.3.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
29
+ meshagent_cli-0.4.3.dist-info/entry_points.txt,sha256=WRcGGN4vMtvC5Pgl3uRFqsJiQXNoHuLLa-TCSY3gAhQ,52
30
+ meshagent_cli-0.4.3.dist-info/top_level.txt,sha256=GlcXnHtRP6m7zlG3Df04M35OsHtNXy_DY09oFwWrH74,10
31
+ meshagent_cli-0.4.3.dist-info/RECORD,,