meshagent-cli 0.0.20__tar.gz → 0.0.22__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.0.22/PKG-INFO +25 -0
- meshagent_cli-0.0.22/meshagent/cli/__init__.py +1 -0
- {meshagent_cli-0.0.20 → meshagent_cli-0.0.22}/meshagent/cli/cli_mcp.py +2 -3
- {meshagent_cli-0.0.20 → meshagent_cli-0.0.22}/meshagent/cli/helper.py +2 -2
- {meshagent_cli-0.0.20 → meshagent_cli-0.0.22}/meshagent/cli/projects.py +6 -1
- meshagent_cli-0.0.22/meshagent/cli/version.py +1 -0
- meshagent_cli-0.0.22/meshagent_cli.egg-info/PKG-INFO +25 -0
- meshagent_cli-0.0.22/meshagent_cli.egg-info/requires.txt +7 -0
- {meshagent_cli-0.0.20 → meshagent_cli-0.0.22}/pyproject.toml +9 -9
- meshagent_cli-0.0.20/PKG-INFO +0 -25
- meshagent_cli-0.0.20/meshagent/cli/__init__.py +0 -0
- meshagent_cli-0.0.20/meshagent/cli/version.py +0 -1
- meshagent_cli-0.0.20/meshagent_cli.egg-info/PKG-INFO +0 -25
- meshagent_cli-0.0.20/meshagent_cli.egg-info/requires.txt +0 -7
- {meshagent_cli-0.0.20 → meshagent_cli-0.0.22}/README.md +0 -0
- {meshagent_cli-0.0.20 → meshagent_cli-0.0.22}/meshagent/cli/agent.py +0 -0
- {meshagent_cli-0.0.20 → meshagent_cli-0.0.22}/meshagent/cli/api_keys.py +0 -0
- {meshagent_cli-0.0.20 → meshagent_cli-0.0.22}/meshagent/cli/async_typer.py +0 -0
- {meshagent_cli-0.0.20 → meshagent_cli-0.0.22}/meshagent/cli/auth.py +0 -0
- {meshagent_cli-0.0.20 → meshagent_cli-0.0.22}/meshagent/cli/auth_async.py +0 -0
- {meshagent_cli-0.0.20 → meshagent_cli-0.0.22}/meshagent/cli/call.py +0 -0
- {meshagent_cli-0.0.20 → meshagent_cli-0.0.22}/meshagent/cli/cli.py +0 -0
- {meshagent_cli-0.0.20 → meshagent_cli-0.0.22}/meshagent/cli/cli_secrets.py +0 -0
- {meshagent_cli-0.0.20 → meshagent_cli-0.0.22}/meshagent/cli/developer.py +0 -0
- {meshagent_cli-0.0.20 → meshagent_cli-0.0.22}/meshagent/cli/messaging.py +0 -0
- {meshagent_cli-0.0.20 → meshagent_cli-0.0.22}/meshagent/cli/participant_token.py +0 -0
- {meshagent_cli-0.0.20 → meshagent_cli-0.0.22}/meshagent/cli/services.py +0 -0
- {meshagent_cli-0.0.20 → meshagent_cli-0.0.22}/meshagent/cli/sessions.py +0 -0
- {meshagent_cli-0.0.20 → meshagent_cli-0.0.22}/meshagent/cli/storage.py +0 -0
- {meshagent_cli-0.0.20 → meshagent_cli-0.0.22}/meshagent/cli/webhook.py +0 -0
- {meshagent_cli-0.0.20 → meshagent_cli-0.0.22}/meshagent_cli.egg-info/SOURCES.txt +0 -0
- {meshagent_cli-0.0.20 → meshagent_cli-0.0.22}/meshagent_cli.egg-info/dependency_links.txt +0 -0
- {meshagent_cli-0.0.20 → meshagent_cli-0.0.22}/meshagent_cli.egg-info/entry_points.txt +0 -0
- {meshagent_cli-0.0.20 → meshagent_cli-0.0.22}/meshagent_cli.egg-info/top_level.txt +0 -0
- {meshagent_cli-0.0.20 → meshagent_cli-0.0.22}/setup.cfg +0 -0
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: meshagent-cli
|
|
3
|
+
Version: 0.0.22
|
|
4
|
+
Summary: CLI for Meshagent
|
|
5
|
+
License-Expression: Apache-2.0
|
|
6
|
+
Project-URL: Documentation, https://docs.meshagent.com
|
|
7
|
+
Project-URL: Website, https://www.meshagent.com
|
|
8
|
+
Project-URL: Source, https://www.meshagent.com
|
|
9
|
+
Requires-Python: >=3.12
|
|
10
|
+
Description-Content-Type: text/markdown
|
|
11
|
+
Requires-Dist: typer~=0.15.3
|
|
12
|
+
Requires-Dist: pydantic-yaml~=1.4.0
|
|
13
|
+
Requires-Dist: meshagent-api~=0.0.22
|
|
14
|
+
Requires-Dist: meshagent-agents~=0.0.22
|
|
15
|
+
Requires-Dist: meshagent-tools~=0.0.22
|
|
16
|
+
Requires-Dist: meshagent-mcp~=0.0.22
|
|
17
|
+
Requires-Dist: supabase~=2.15.1
|
|
18
|
+
|
|
19
|
+
### Meshagent CLI
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
from .version import __version__
|
|
@@ -105,7 +105,7 @@ async def stdio(*, project_id: str = None, room: Annotated[str, typer.Option()],
|
|
|
105
105
|
|
|
106
106
|
@app.async_command("stdio-service")
|
|
107
107
|
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):
|
|
108
|
-
|
|
108
|
+
|
|
109
109
|
try:
|
|
110
110
|
|
|
111
111
|
parsed_command = shlex.split(command)
|
|
@@ -151,5 +151,4 @@ async def stdio_host(*, command: Annotated[str, typer.Option()], host: Annotat
|
|
|
151
151
|
|
|
152
152
|
except RoomException as e:
|
|
153
153
|
print(f"[red]{e}[/red]")
|
|
154
|
-
|
|
155
|
-
await account_client.close()
|
|
154
|
+
|
|
@@ -49,7 +49,7 @@ async def get_active_api_key(project_id: str):
|
|
|
49
49
|
settings = _load_settings()
|
|
50
50
|
if settings == None:
|
|
51
51
|
return None
|
|
52
|
-
return settings.active_api_keys
|
|
52
|
+
return settings.active_api_keys.get(project_id, None)
|
|
53
53
|
|
|
54
54
|
|
|
55
55
|
async def set_active_api_key(project_id: str, api_key_id: str | None):
|
|
@@ -115,7 +115,7 @@ async def resolve_api_key(project_id: str, api_key_id: Optional[str] = None):
|
|
|
115
115
|
|
|
116
116
|
async def resolve_token_jwt(*, project_id: str, api_key_id: Optional[str] = None, token_path: Optional[str] = None, name: Optional[str] = None, role: Optional[str] = None, room: Optional[str]= None) -> str:
|
|
117
117
|
jwt = None
|
|
118
|
-
|
|
118
|
+
|
|
119
119
|
if api_key_id == None:
|
|
120
120
|
|
|
121
121
|
if token_path != None:
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import typer
|
|
2
2
|
from rich import print
|
|
3
3
|
from meshagent.cli import async_typer
|
|
4
|
-
from meshagent.cli.helper import get_client, print_json_table, set_active_project
|
|
4
|
+
from meshagent.cli.helper import get_client, print_json_table, set_active_project, get_active_project
|
|
5
5
|
|
|
6
6
|
app = async_typer.AsyncTyper()
|
|
7
7
|
|
|
@@ -10,6 +10,11 @@ app = async_typer.AsyncTyper()
|
|
|
10
10
|
async def list():
|
|
11
11
|
client = await get_client()
|
|
12
12
|
projects = await client.list_projects()
|
|
13
|
+
active_project = await get_active_project()
|
|
14
|
+
for project in projects["projects"]:
|
|
15
|
+
if project["id"] == active_project:
|
|
16
|
+
project["name"] = "*" + project["name"]
|
|
17
|
+
|
|
13
18
|
print_json_table(projects["projects"], "id", "name")
|
|
14
19
|
await client.close()
|
|
15
20
|
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "0.0.22"
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: meshagent-cli
|
|
3
|
+
Version: 0.0.22
|
|
4
|
+
Summary: CLI for Meshagent
|
|
5
|
+
License-Expression: Apache-2.0
|
|
6
|
+
Project-URL: Documentation, https://docs.meshagent.com
|
|
7
|
+
Project-URL: Website, https://www.meshagent.com
|
|
8
|
+
Project-URL: Source, https://www.meshagent.com
|
|
9
|
+
Requires-Python: >=3.12
|
|
10
|
+
Description-Content-Type: text/markdown
|
|
11
|
+
Requires-Dist: typer~=0.15.3
|
|
12
|
+
Requires-Dist: pydantic-yaml~=1.4.0
|
|
13
|
+
Requires-Dist: meshagent-api~=0.0.22
|
|
14
|
+
Requires-Dist: meshagent-agents~=0.0.22
|
|
15
|
+
Requires-Dist: meshagent-tools~=0.0.22
|
|
16
|
+
Requires-Dist: meshagent-mcp~=0.0.22
|
|
17
|
+
Requires-Dist: supabase~=2.15.1
|
|
18
|
+
|
|
19
|
+
### Meshagent CLI
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
|
|
@@ -5,16 +5,16 @@ build-backend = "setuptools.build_meta"
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "meshagent-cli"
|
|
7
7
|
description = "CLI for Meshagent"
|
|
8
|
-
requires-python = ">=3.
|
|
9
|
-
license = "
|
|
8
|
+
requires-python = ">=3.12"
|
|
9
|
+
license = "Apache-2.0"
|
|
10
10
|
keywords = []
|
|
11
11
|
dependencies = [
|
|
12
12
|
"typer~=0.15.3",
|
|
13
13
|
"pydantic-yaml~=1.4.0",
|
|
14
|
-
"meshagent-api~=0.0.
|
|
15
|
-
"meshagent-agents~=0.0.
|
|
16
|
-
"meshagent-tools~=0.0.
|
|
17
|
-
"meshagent-mcp~=0.0.
|
|
14
|
+
"meshagent-api~=0.0.22",
|
|
15
|
+
"meshagent-agents~=0.0.22",
|
|
16
|
+
"meshagent-tools~=0.0.22",
|
|
17
|
+
"meshagent-mcp~=0.0.22",
|
|
18
18
|
"supabase~=2.15.1",
|
|
19
19
|
]
|
|
20
20
|
dynamic = ["version", "readme"]
|
|
@@ -23,9 +23,9 @@ dynamic = ["version", "readme"]
|
|
|
23
23
|
meshagent = "meshagent.cli.cli:app"
|
|
24
24
|
|
|
25
25
|
[project.urls]
|
|
26
|
-
Documentation = "https://meshagent.com"
|
|
27
|
-
Website = "https://meshagent.com"
|
|
28
|
-
Source = "https://
|
|
26
|
+
Documentation = "https://docs.meshagent.com"
|
|
27
|
+
Website = "https://www.meshagent.com"
|
|
28
|
+
Source = "https://www.meshagent.com"
|
|
29
29
|
|
|
30
30
|
[tool.setuptools.packages.find]
|
|
31
31
|
include = ["meshagent.*"]
|
meshagent_cli-0.0.20/PKG-INFO
DELETED
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
Metadata-Version: 2.4
|
|
2
|
-
Name: meshagent-cli
|
|
3
|
-
Version: 0.0.20
|
|
4
|
-
Summary: CLI for Meshagent
|
|
5
|
-
License-Expression: LicenseRef-Proprietary
|
|
6
|
-
Project-URL: Documentation, https://meshagent.com
|
|
7
|
-
Project-URL: Website, https://meshagent.com
|
|
8
|
-
Project-URL: Source, https://github.com/meshagent
|
|
9
|
-
Requires-Python: >=3.9.0
|
|
10
|
-
Description-Content-Type: text/markdown
|
|
11
|
-
Requires-Dist: typer~=0.15.3
|
|
12
|
-
Requires-Dist: pydantic-yaml~=1.4.0
|
|
13
|
-
Requires-Dist: meshagent-api~=0.0.20
|
|
14
|
-
Requires-Dist: meshagent-agents~=0.0.20
|
|
15
|
-
Requires-Dist: meshagent-tools~=0.0.20
|
|
16
|
-
Requires-Dist: meshagent-mcp~=0.0.20
|
|
17
|
-
Requires-Dist: supabase~=2.15.1
|
|
18
|
-
|
|
19
|
-
### Meshagent CLI
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
File without changes
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = "0.0.20"
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
Metadata-Version: 2.4
|
|
2
|
-
Name: meshagent-cli
|
|
3
|
-
Version: 0.0.20
|
|
4
|
-
Summary: CLI for Meshagent
|
|
5
|
-
License-Expression: LicenseRef-Proprietary
|
|
6
|
-
Project-URL: Documentation, https://meshagent.com
|
|
7
|
-
Project-URL: Website, https://meshagent.com
|
|
8
|
-
Project-URL: Source, https://github.com/meshagent
|
|
9
|
-
Requires-Python: >=3.9.0
|
|
10
|
-
Description-Content-Type: text/markdown
|
|
11
|
-
Requires-Dist: typer~=0.15.3
|
|
12
|
-
Requires-Dist: pydantic-yaml~=1.4.0
|
|
13
|
-
Requires-Dist: meshagent-api~=0.0.20
|
|
14
|
-
Requires-Dist: meshagent-agents~=0.0.20
|
|
15
|
-
Requires-Dist: meshagent-tools~=0.0.20
|
|
16
|
-
Requires-Dist: meshagent-mcp~=0.0.20
|
|
17
|
-
Requires-Dist: supabase~=2.15.1
|
|
18
|
-
|
|
19
|
-
### Meshagent CLI
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
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
|
|
File without changes
|