meshagent-cli 0.4.3__tar.gz → 0.5.1__tar.gz
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-0.4.3 → meshagent_cli-0.5.1}/PKG-INFO +9 -7
- {meshagent_cli-0.4.3 → meshagent_cli-0.5.1}/README.md +2 -0
- {meshagent_cli-0.4.3 → meshagent_cli-0.5.1}/meshagent/cli/api_keys.py +1 -1
- {meshagent_cli-0.4.3 → meshagent_cli-0.5.1}/meshagent/cli/auth.py +1 -1
- {meshagent_cli-0.4.3 → meshagent_cli-0.5.1}/meshagent/cli/chatbot.py +1 -1
- {meshagent_cli-0.4.3 → meshagent_cli-0.5.1}/meshagent/cli/cli.py +10 -1
- {meshagent_cli-0.4.3 → meshagent_cli-0.5.1}/meshagent/cli/mailbot.py +1 -1
- {meshagent_cli-0.4.3 → meshagent_cli-0.5.1}/meshagent/cli/projects.py +1 -1
- {meshagent_cli-0.4.3 → meshagent_cli-0.5.1}/meshagent/cli/queue.py +1 -1
- {meshagent_cli-0.4.3 → meshagent_cli-0.5.1}/meshagent/cli/services.py +6 -66
- {meshagent_cli-0.4.3 → meshagent_cli-0.5.1}/meshagent/cli/storage.py +1 -1
- meshagent_cli-0.5.1/meshagent/cli/version.py +1 -0
- {meshagent_cli-0.4.3 → meshagent_cli-0.5.1}/meshagent/cli/voicebot.py +1 -1
- {meshagent_cli-0.4.3 → meshagent_cli-0.5.1}/meshagent_cli.egg-info/PKG-INFO +9 -7
- {meshagent_cli-0.4.3 → meshagent_cli-0.5.1}/meshagent_cli.egg-info/requires.txt +6 -6
- {meshagent_cli-0.4.3 → meshagent_cli-0.5.1}/pyproject.toml +6 -6
- meshagent_cli-0.4.3/meshagent/cli/version.py +0 -1
- {meshagent_cli-0.4.3 → meshagent_cli-0.5.1}/meshagent/cli/__init__.py +0 -0
- {meshagent_cli-0.4.3 → meshagent_cli-0.5.1}/meshagent/cli/agent.py +0 -0
- {meshagent_cli-0.4.3 → meshagent_cli-0.5.1}/meshagent/cli/async_typer.py +0 -0
- {meshagent_cli-0.4.3 → meshagent_cli-0.5.1}/meshagent/cli/auth_async.py +0 -0
- {meshagent_cli-0.4.3 → meshagent_cli-0.5.1}/meshagent/cli/call.py +0 -0
- {meshagent_cli-0.4.3 → meshagent_cli-0.5.1}/meshagent/cli/cli_mcp.py +0 -0
- {meshagent_cli-0.4.3 → meshagent_cli-0.5.1}/meshagent/cli/cli_secrets.py +0 -0
- {meshagent_cli-0.4.3 → meshagent_cli-0.5.1}/meshagent/cli/developer.py +0 -0
- {meshagent_cli-0.4.3 → meshagent_cli-0.5.1}/meshagent/cli/exec.py +0 -0
- {meshagent_cli-0.4.3 → meshagent_cli-0.5.1}/meshagent/cli/helper.py +0 -0
- {meshagent_cli-0.4.3 → meshagent_cli-0.5.1}/meshagent/cli/messaging.py +0 -0
- {meshagent_cli-0.4.3 → meshagent_cli-0.5.1}/meshagent/cli/otel.py +0 -0
- {meshagent_cli-0.4.3 → meshagent_cli-0.5.1}/meshagent/cli/participant_token.py +0 -0
- {meshagent_cli-0.4.3 → meshagent_cli-0.5.1}/meshagent/cli/sessions.py +0 -0
- {meshagent_cli-0.4.3 → meshagent_cli-0.5.1}/meshagent/cli/webhook.py +0 -0
- {meshagent_cli-0.4.3 → meshagent_cli-0.5.1}/meshagent_cli.egg-info/SOURCES.txt +0 -0
- {meshagent_cli-0.4.3 → meshagent_cli-0.5.1}/meshagent_cli.egg-info/dependency_links.txt +0 -0
- {meshagent_cli-0.4.3 → meshagent_cli-0.5.1}/meshagent_cli.egg-info/entry_points.txt +0 -0
- {meshagent_cli-0.4.3 → meshagent_cli-0.5.1}/meshagent_cli.egg-info/top_level.txt +0 -0
- {meshagent_cli-0.4.3 → meshagent_cli-0.5.1}/setup.cfg +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: meshagent-cli
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.5.1
|
|
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.
|
|
14
|
-
Requires-Dist: meshagent-agents~=0.
|
|
15
|
-
Requires-Dist: meshagent-computers~=0.
|
|
16
|
-
Requires-Dist: meshagent-openai~=0.
|
|
17
|
-
Requires-Dist: meshagent-tools~=0.
|
|
18
|
-
Requires-Dist: meshagent-mcp~=0.
|
|
13
|
+
Requires-Dist: meshagent-api~=0.5.1
|
|
14
|
+
Requires-Dist: meshagent-agents~=0.5.1
|
|
15
|
+
Requires-Dist: meshagent-computers~=0.5.1
|
|
16
|
+
Requires-Dist: meshagent-openai~=0.5.1
|
|
17
|
+
Requires-Dist: meshagent-tools~=0.5.1
|
|
18
|
+
Requires-Dist: meshagent-mcp~=0.5.1
|
|
19
19
|
Requires-Dist: supabase~=2.15
|
|
20
20
|
Requires-Dist: fastmcp~=2.8
|
|
21
21
|
Requires-Dist: opentelemetry-distro~=0.54b1
|
|
@@ -23,6 +23,8 @@ Requires-Dist: opentelemetry-exporter-otlp-proto-http~=1.33
|
|
|
23
23
|
Requires-Dist: art~=6.5
|
|
24
24
|
Requires-Dist: pydantic-yaml~=1.5
|
|
25
25
|
|
|
26
|
+
# [Meshagent](https://www.meshagent.com)
|
|
27
|
+
|
|
26
28
|
## MeshAgent CLI
|
|
27
29
|
|
|
28
30
|
The ``meshagent.cli`` package installs everything you need to streamline room and agent management from your terminal. The CLI assembles submodules for authentication, projects, API keys, participant tokens, messaging, storage, agents, webhooks, and more.
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
# [Meshagent](https://www.meshagent.com)
|
|
2
|
+
|
|
1
3
|
## MeshAgent CLI
|
|
2
4
|
|
|
3
5
|
The ``meshagent.cli`` package installs everything you need to streamline room and agent management from your terminal. The CLI assembles submodules for authentication, projects, API keys, participant tokens, messaging, storage, agents, webhooks, and more.
|
|
@@ -6,7 +6,7 @@ from meshagent.cli import async_typer
|
|
|
6
6
|
from meshagent.cli.helper import get_client, print_json_table
|
|
7
7
|
from meshagent.cli.helper import resolve_project_id, set_active_api_key
|
|
8
8
|
|
|
9
|
-
app = async_typer.AsyncTyper()
|
|
9
|
+
app = async_typer.AsyncTyper(help="Manage or activate api-keys for your project")
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
@app.async_command("list")
|
|
@@ -27,7 +27,7 @@ from pathlib import Path
|
|
|
27
27
|
from meshagent.openai.tools.responses_adapter import WebSearchTool
|
|
28
28
|
from meshagent.api import RequiredToolkit, RequiredSchema
|
|
29
29
|
|
|
30
|
-
app = async_typer.AsyncTyper()
|
|
30
|
+
app = async_typer.AsyncTyper(help="Join a chatbot to a room")
|
|
31
31
|
|
|
32
32
|
|
|
33
33
|
def build_chatbot(
|
|
@@ -23,6 +23,7 @@ from meshagent.cli import chatbot
|
|
|
23
23
|
from meshagent.cli import voicebot
|
|
24
24
|
from meshagent.cli import mailbot
|
|
25
25
|
from meshagent.cli.exec import register as register_exec
|
|
26
|
+
from meshagent.cli.version import __version__
|
|
26
27
|
|
|
27
28
|
from meshagent.cli import otel
|
|
28
29
|
|
|
@@ -133,9 +134,17 @@ SHELL_RENDERERS = {
|
|
|
133
134
|
}
|
|
134
135
|
|
|
135
136
|
|
|
137
|
+
@app.command(
|
|
138
|
+
"version",
|
|
139
|
+
help="Print the version",
|
|
140
|
+
)
|
|
141
|
+
def version():
|
|
142
|
+
print(__version__)
|
|
143
|
+
|
|
144
|
+
|
|
136
145
|
@app.command(
|
|
137
146
|
"env",
|
|
138
|
-
help="Generate commands to set meshagent environment variables.",
|
|
147
|
+
help="Generate shell commands to set meshagent environment variables.",
|
|
139
148
|
)
|
|
140
149
|
def env(
|
|
141
150
|
shell: Optional[str] = typer.Option(
|
|
@@ -26,7 +26,7 @@ from pathlib import Path
|
|
|
26
26
|
from meshagent.api import RequiredToolkit, RequiredSchema
|
|
27
27
|
from meshagent.openai.tools.responses_adapter import WebSearchTool
|
|
28
28
|
|
|
29
|
-
app = async_typer.AsyncTyper()
|
|
29
|
+
app = async_typer.AsyncTyper(help="Join a mailbot to a room")
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
def build_mailbot(
|
|
@@ -14,7 +14,7 @@ from meshagent.cli.helper import resolve_project_id, resolve_api_key
|
|
|
14
14
|
from meshagent.cli import async_typer
|
|
15
15
|
from meshagent.cli.helper import get_client
|
|
16
16
|
|
|
17
|
-
app = async_typer.AsyncTyper()
|
|
17
|
+
app = async_typer.AsyncTyper(help="Use queues in a room")
|
|
18
18
|
|
|
19
19
|
|
|
20
20
|
@app.async_command("send")
|
|
@@ -10,7 +10,9 @@ from pydantic import PositiveInt
|
|
|
10
10
|
import pydantic
|
|
11
11
|
from typing import Literal
|
|
12
12
|
from meshagent.cli import async_typer
|
|
13
|
-
from
|
|
13
|
+
from meshagent.api.specs.service import ServiceSpec
|
|
14
|
+
|
|
15
|
+
|
|
14
16
|
from meshagent.cli.helper import (
|
|
15
17
|
get_client,
|
|
16
18
|
print_json_table,
|
|
@@ -28,10 +30,9 @@ from meshagent.api import (
|
|
|
28
30
|
from pydantic_yaml import parse_yaml_raw_as
|
|
29
31
|
|
|
30
32
|
# Pydantic basemodels
|
|
31
|
-
from meshagent.api.accounts_client import Service, Port, Services
|
|
32
|
-
|
|
33
|
+
from meshagent.api.accounts_client import Service, Port, Services
|
|
33
34
|
|
|
34
|
-
app = async_typer.AsyncTyper()
|
|
35
|
+
app = async_typer.AsyncTyper(help="Manage services for your project")
|
|
35
36
|
|
|
36
37
|
# ---------------------------------------------------------------------------
|
|
37
38
|
# Utilities
|
|
@@ -56,7 +57,7 @@ class PortSpec(pydantic.BaseModel):
|
|
|
56
57
|
--port num=8080 type=webserver liveness=/health path=/agent participant_name=myname
|
|
57
58
|
"""
|
|
58
59
|
|
|
59
|
-
num: PositiveInt
|
|
60
|
+
num: PositiveInt | Literal["*"]
|
|
60
61
|
type: Literal["mcp.sse", "meshagent.callable", "http", "tcp"]
|
|
61
62
|
liveness: str | None = None
|
|
62
63
|
participant_name: str | None = None
|
|
@@ -328,67 +329,6 @@ async def service_update(
|
|
|
328
329
|
await client.close()
|
|
329
330
|
|
|
330
331
|
|
|
331
|
-
class ServicePortEndpointSpec(pydantic.BaseModel):
|
|
332
|
-
path: str
|
|
333
|
-
identity: str
|
|
334
|
-
type: Optional[Literal["mcp.sse", "meshagent.callable", "http", "tcp"]] = None
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
class ServicePortSpec(pydantic.BaseModel):
|
|
338
|
-
num: PositiveInt
|
|
339
|
-
type: Literal["mcp.sse", "meshagent.callable", "http", "tcp"]
|
|
340
|
-
endpoints: list[ServicePortEndpointSpec] = []
|
|
341
|
-
liveness: Optional[str] = None
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
class ServiceSpec(BaseModel):
|
|
345
|
-
version: Literal["v1"]
|
|
346
|
-
kind: Literal["Service"]
|
|
347
|
-
id: Optional[str] = None
|
|
348
|
-
name: str
|
|
349
|
-
command: Optional[str] = None
|
|
350
|
-
image: str
|
|
351
|
-
ports: Optional[list[ServicePortSpec]] = []
|
|
352
|
-
role: Optional[Literal["user", "tool", "agent"]] = None
|
|
353
|
-
environment: Optional[dict[str, str]] = {}
|
|
354
|
-
secrets: list[str] = []
|
|
355
|
-
pull_secret: Optional[str] = None
|
|
356
|
-
room_storage_path: Optional[str] = None
|
|
357
|
-
room_storage_subpath: Optional[str] = None
|
|
358
|
-
|
|
359
|
-
def to_service(self):
|
|
360
|
-
ports = {}
|
|
361
|
-
for p in self.ports:
|
|
362
|
-
port = Port(liveness_path=p.liveness, type=p.type, endpoints=[])
|
|
363
|
-
for endpoint in p.endpoints:
|
|
364
|
-
type = port.type
|
|
365
|
-
if endpoint.type is not None:
|
|
366
|
-
type = endpoint.type
|
|
367
|
-
|
|
368
|
-
port.endpoints.append(
|
|
369
|
-
Endpoint(
|
|
370
|
-
type=type,
|
|
371
|
-
participant_name=endpoint.identity,
|
|
372
|
-
path=endpoint.path,
|
|
373
|
-
)
|
|
374
|
-
)
|
|
375
|
-
ports[p.num] = port
|
|
376
|
-
return Service(
|
|
377
|
-
id="",
|
|
378
|
-
created_at=datetime.now(timezone.utc).isoformat(),
|
|
379
|
-
name=self.name,
|
|
380
|
-
command=self.command,
|
|
381
|
-
image=self.image,
|
|
382
|
-
ports=ports,
|
|
383
|
-
role=self.role,
|
|
384
|
-
environment=self.environment,
|
|
385
|
-
environment_secrets=self.secrets,
|
|
386
|
-
pull_secret=self.pull_secret,
|
|
387
|
-
room_storage_path=self.room_storage_path,
|
|
388
|
-
room_storage_subpath=self.room_storage_subpath,
|
|
389
|
-
)
|
|
390
|
-
|
|
391
|
-
|
|
392
332
|
@app.async_command("test")
|
|
393
333
|
async def service_test(
|
|
394
334
|
*,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "0.5.1"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: meshagent-cli
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.5.1
|
|
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.
|
|
14
|
-
Requires-Dist: meshagent-agents~=0.
|
|
15
|
-
Requires-Dist: meshagent-computers~=0.
|
|
16
|
-
Requires-Dist: meshagent-openai~=0.
|
|
17
|
-
Requires-Dist: meshagent-tools~=0.
|
|
18
|
-
Requires-Dist: meshagent-mcp~=0.
|
|
13
|
+
Requires-Dist: meshagent-api~=0.5.1
|
|
14
|
+
Requires-Dist: meshagent-agents~=0.5.1
|
|
15
|
+
Requires-Dist: meshagent-computers~=0.5.1
|
|
16
|
+
Requires-Dist: meshagent-openai~=0.5.1
|
|
17
|
+
Requires-Dist: meshagent-tools~=0.5.1
|
|
18
|
+
Requires-Dist: meshagent-mcp~=0.5.1
|
|
19
19
|
Requires-Dist: supabase~=2.15
|
|
20
20
|
Requires-Dist: fastmcp~=2.8
|
|
21
21
|
Requires-Dist: opentelemetry-distro~=0.54b1
|
|
@@ -23,6 +23,8 @@ Requires-Dist: opentelemetry-exporter-otlp-proto-http~=1.33
|
|
|
23
23
|
Requires-Dist: art~=6.5
|
|
24
24
|
Requires-Dist: pydantic-yaml~=1.5
|
|
25
25
|
|
|
26
|
+
# [Meshagent](https://www.meshagent.com)
|
|
27
|
+
|
|
26
28
|
## MeshAgent CLI
|
|
27
29
|
|
|
28
30
|
The ``meshagent.cli`` package installs everything you need to streamline room and agent management from your terminal. The CLI assembles submodules for authentication, projects, API keys, participant tokens, messaging, storage, agents, webhooks, and more.
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
typer~=0.15
|
|
2
2
|
pydantic-yaml~=1.4
|
|
3
|
-
meshagent-api~=0.
|
|
4
|
-
meshagent-agents~=0.
|
|
5
|
-
meshagent-computers~=0.
|
|
6
|
-
meshagent-openai~=0.
|
|
7
|
-
meshagent-tools~=0.
|
|
8
|
-
meshagent-mcp~=0.
|
|
3
|
+
meshagent-api~=0.5.1
|
|
4
|
+
meshagent-agents~=0.5.1
|
|
5
|
+
meshagent-computers~=0.5.1
|
|
6
|
+
meshagent-openai~=0.5.1
|
|
7
|
+
meshagent-tools~=0.5.1
|
|
8
|
+
meshagent-mcp~=0.5.1
|
|
9
9
|
supabase~=2.15
|
|
10
10
|
fastmcp~=2.8
|
|
11
11
|
opentelemetry-distro~=0.54b1
|
|
@@ -11,12 +11,12 @@ keywords = []
|
|
|
11
11
|
dependencies = [
|
|
12
12
|
"typer~=0.15",
|
|
13
13
|
"pydantic-yaml~=1.4",
|
|
14
|
-
"meshagent-api~=0.
|
|
15
|
-
"meshagent-agents~=0.
|
|
16
|
-
"meshagent-computers~=0.
|
|
17
|
-
"meshagent-openai~=0.
|
|
18
|
-
"meshagent-tools~=0.
|
|
19
|
-
"meshagent-mcp~=0.
|
|
14
|
+
"meshagent-api~=0.5.1",
|
|
15
|
+
"meshagent-agents~=0.5.1",
|
|
16
|
+
"meshagent-computers~=0.5.1",
|
|
17
|
+
"meshagent-openai~=0.5.1",
|
|
18
|
+
"meshagent-tools~=0.5.1",
|
|
19
|
+
"meshagent-mcp~=0.5.1",
|
|
20
20
|
"supabase~=2.15",
|
|
21
21
|
"fastmcp~=2.8",
|
|
22
22
|
"opentelemetry-distro~=0.54b1",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = "0.4.3"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|