meshagent-cli 0.5.8b2__py3-none-any.whl → 0.5.8b4__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/chatbot.py CHANGED
@@ -20,7 +20,12 @@ from meshagent.cli.helper import (
20
20
  from meshagent.agents.chat import ChatBot
21
21
  from meshagent.openai import OpenAIResponsesAdapter
22
22
  from meshagent.api.services import ServiceHost
23
- from meshagent.computers.agent import ComputerAgent
23
+
24
+ try:
25
+ from meshagent.computers.agent import ComputerAgent
26
+ except ImportError:
27
+ ComputerAgent = None
28
+
24
29
  from meshagent.agents.chat import (
25
30
  ChatBotThreadOpenAIImageGenerationTool,
26
31
  ChatBotThreadLocalShellTool,
@@ -65,19 +70,22 @@ def build_chatbot(
65
70
  except FileNotFoundError:
66
71
  print(f"[yellow]rules file not found at {rules_file}[/yellow]")
67
72
 
68
- BaseClass = ChatBot
69
- if computer_use:
70
- BaseClass = ComputerAgent
71
-
72
- llm_adapter = OpenAIResponsesAdapter(
73
- model=model,
74
- response_options={
75
- "reasoning": {"generate_summary": "concise"},
76
- "truncation": "auto",
77
- },
78
- )
79
- else:
80
- llm_adapter = OpenAIResponsesAdapter(model=model)
73
+ BaseClass = ChatBot
74
+ if computer_use:
75
+ if ComputerAgent is None:
76
+ raise RuntimeError(
77
+ "Computer use is enabled, but meshagent.computers is not installed."
78
+ )
79
+ BaseClass = ComputerAgent
80
+ llm_adapter = OpenAIResponsesAdapter(
81
+ model=model,
82
+ response_options={
83
+ "reasoning": {"generate_summary": "concise"},
84
+ "truncation": "auto",
85
+ },
86
+ )
87
+ else:
88
+ llm_adapter = OpenAIResponsesAdapter(model=model)
81
89
 
82
90
  class CustomChatbot(BaseClass):
83
91
  def __init__(self):
meshagent/cli/version.py CHANGED
@@ -1 +1 @@
1
- __version__ = "0.5.8b2"
1
+ __version__ = "0.5.8b4"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: meshagent-cli
3
- Version: 0.5.8b2
3
+ Version: 0.5.8b4
4
4
  Summary: CLI for Meshagent
5
5
  License-Expression: Apache-2.0
6
6
  Project-URL: Documentation, https://docs.meshagent.com
@@ -16,16 +16,17 @@ Requires-Dist: opentelemetry-exporter-otlp-proto-http~=1.33
16
16
  Requires-Dist: art~=6.5
17
17
  Requires-Dist: pydantic-yaml~=1.5
18
18
  Provides-Extra: all
19
- Requires-Dist: meshagent-api~=0.5.8b2; extra == "all"
20
- Requires-Dist: meshagent-agents~=0.5.8b2; extra == "all"
21
- Requires-Dist: meshagent-computers~=0.5.8b2; extra == "all"
22
- Requires-Dist: meshagent-openai~=0.5.8b2; extra == "all"
23
- Requires-Dist: meshagent-tools~=0.5.8b2; extra == "all"
24
- Requires-Dist: meshagent-mcp~=0.5.8b2; extra == "all"
19
+ Requires-Dist: meshagent-agents[all]~=0.5.8b4; extra == "all"
20
+ Requires-Dist: meshagent-api[all]~=0.5.8b4; extra == "all"
21
+ Requires-Dist: meshagent-computers~=0.5.8b4; extra == "all"
22
+ Requires-Dist: meshagent-openai~=0.5.8b4; extra == "all"
23
+ Requires-Dist: meshagent-mcp~=0.5.8b4; extra == "all"
24
+ Requires-Dist: meshagent-tools~=0.5.8b4; extra == "all"
25
25
  Provides-Extra: mcp-service
26
- Requires-Dist: meshagent-api~=0.5.8b2; extra == "mcp-service"
27
- Requires-Dist: meshagent-tools~=0.5.8b2; extra == "mcp-service"
28
- Requires-Dist: meshagent-mcp~=0.5.8b2; extra == "mcp-service"
26
+ Requires-Dist: meshagent-agents[all]~=0.5.8b4; extra == "mcp-service"
27
+ Requires-Dist: meshagent-api~=0.5.8b4; extra == "mcp-service"
28
+ Requires-Dist: meshagent-mcp~=0.5.8b4; extra == "mcp-service"
29
+ Requires-Dist: meshagent-tools~=0.5.8b4; extra == "mcp-service"
29
30
 
30
31
  # [Meshagent](https://www.meshagent.com)
31
32
 
@@ -5,7 +5,7 @@ meshagent/cli/async_typer.py,sha256=GCeSefBDbpd-V4V8LrvHGUTBMth3HspVMfFa-HUZ0cg,
5
5
  meshagent/cli/auth.py,sha256=wpGTomrFH0uvbwv262sTqK0DgB4ltAuurEmI9tYedIs,815
6
6
  meshagent/cli/auth_async.py,sha256=mi2-u949M412PAMN-PCdHEiF9hGf0W3m1RAseZX07-w,4058
7
7
  meshagent/cli/call.py,sha256=XGJXOyU4v7dct-eCJ6eVG5n46_DQgU2z19kbDOvq-eg,5473
8
- meshagent/cli/chatbot.py,sha256=q-W3GdbvT9YgTrwwxZRnTV1E_tzBIrkmn0ngJHjB1tU,8946
8
+ meshagent/cli/chatbot.py,sha256=oXWaE6RPiUO24a5qhRoWIP4X3D3oM_V2m5ZxPB5Kxzg,9230
9
9
  meshagent/cli/cli.py,sha256=a3wOL1uZVQqb8wE1fzL1-PCkDQxd5XZ06m-7oenR20Q,6677
10
10
  meshagent/cli/cli_mcp.py,sha256=Wh3brbzBIs3h15qLrZltLOKxpJoImIEuBEb5ISDOKGY,10656
11
11
  meshagent/cli/cli_secrets.py,sha256=RC236eYGV4sl4gOzaBYAGl23RNIAs7qXnwOSJpDMt-4,13722
@@ -22,11 +22,11 @@ meshagent/cli/queue.py,sha256=pxSwL_W8_BXHWcFekzRrL5pfDc3RMGBbuE6yT7RAaTA,4120
22
22
  meshagent/cli/services.py,sha256=3hC0nFnL_uMgD6chdMX-GQmFVUEj5ljiwIlxUlou8Ic,18096
23
23
  meshagent/cli/sessions.py,sha256=bUwrPkzeEWE8gTqD4E-tfr2ChBns3Fvv9MsSV4RRNTQ,881
24
24
  meshagent/cli/storage.py,sha256=aqSLojVF-aTEvSaVRyPh2dfOd2LrO_kcbUbhQYj8g5E,34827
25
- meshagent/cli/version.py,sha256=XjZfthvgCzJfBN1zyOivtozYnnpMJSIPIW-kSUEAjkY,24
25
+ meshagent/cli/version.py,sha256=0v76Xcli-ZyI8xI6Sqwx9sbaM_RgqzkIzepAkU97BlM,24
26
26
  meshagent/cli/voicebot.py,sha256=DCSvsa2EeGQTxI2i6xA6tS1dM2U4op8MsMNy99KQfjo,5775
27
27
  meshagent/cli/webhook.py,sha256=3vSZAGC19A8GN26uogh-ZUFeAOOCUOeqn80RVXj4qaA,2995
28
- meshagent_cli-0.5.8b2.dist-info/METADATA,sha256=1uPkkKqlVBFnQlnI6YxtnBKQMmumFOLHoD3h2mV7Mcs,1802
29
- meshagent_cli-0.5.8b2.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
30
- meshagent_cli-0.5.8b2.dist-info/entry_points.txt,sha256=WRcGGN4vMtvC5Pgl3uRFqsJiQXNoHuLLa-TCSY3gAhQ,52
31
- meshagent_cli-0.5.8b2.dist-info/top_level.txt,sha256=GlcXnHtRP6m7zlG3Df04M35OsHtNXy_DY09oFwWrH74,10
32
- meshagent_cli-0.5.8b2.dist-info/RECORD,,
28
+ meshagent_cli-0.5.8b4.dist-info/METADATA,sha256=GDEz0eZNbhSvM3VIXzBrG5tu_i7CBnduF6tPeGxosXM,1882
29
+ meshagent_cli-0.5.8b4.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
30
+ meshagent_cli-0.5.8b4.dist-info/entry_points.txt,sha256=WRcGGN4vMtvC5Pgl3uRFqsJiQXNoHuLLa-TCSY3gAhQ,52
31
+ meshagent_cli-0.5.8b4.dist-info/top_level.txt,sha256=GlcXnHtRP6m7zlG3Df04M35OsHtNXy_DY09oFwWrH74,10
32
+ meshagent_cli-0.5.8b4.dist-info/RECORD,,