chattermate-cli 0.2.1__tar.gz → 0.2.3__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.
- {chattermate_cli-0.2.1 → chattermate_cli-0.2.3}/PKG-INFO +1 -1
- {chattermate_cli-0.2.1 → chattermate_cli-0.2.3}/chattermate_cli/__init__.py +1 -1
- {chattermate_cli-0.2.1 → chattermate_cli-0.2.3}/chattermate_cli/commands/auth.py +16 -8
- {chattermate_cli-0.2.1 → chattermate_cli-0.2.3}/chattermate_cli.egg-info/PKG-INFO +1 -1
- {chattermate_cli-0.2.1 → chattermate_cli-0.2.3}/pyproject.toml +1 -1
- {chattermate_cli-0.2.1 → chattermate_cli-0.2.3}/LICENSE +0 -0
- {chattermate_cli-0.2.1 → chattermate_cli-0.2.3}/README.md +0 -0
- {chattermate_cli-0.2.1 → chattermate_cli-0.2.3}/chattermate_cli/client.py +0 -0
- {chattermate_cli-0.2.1 → chattermate_cli-0.2.3}/chattermate_cli/commands/__init__.py +0 -0
- {chattermate_cli-0.2.1 → chattermate_cli-0.2.3}/chattermate_cli/commands/agent.py +0 -0
- {chattermate_cli-0.2.1 → chattermate_cli-0.2.3}/chattermate_cli/commands/knowledge.py +0 -0
- {chattermate_cli-0.2.1 → chattermate_cli-0.2.3}/chattermate_cli/commands/workflow.py +0 -0
- {chattermate_cli-0.2.1 → chattermate_cli-0.2.3}/chattermate_cli/config.py +0 -0
- {chattermate_cli-0.2.1 → chattermate_cli-0.2.3}/chattermate_cli/context.py +0 -0
- {chattermate_cli-0.2.1 → chattermate_cli-0.2.3}/chattermate_cli/main.py +0 -0
- {chattermate_cli-0.2.1 → chattermate_cli-0.2.3}/chattermate_cli/mcp_server.py +0 -0
- {chattermate_cli-0.2.1 → chattermate_cli-0.2.3}/chattermate_cli.egg-info/SOURCES.txt +0 -0
- {chattermate_cli-0.2.1 → chattermate_cli-0.2.3}/chattermate_cli.egg-info/dependency_links.txt +0 -0
- {chattermate_cli-0.2.1 → chattermate_cli-0.2.3}/chattermate_cli.egg-info/entry_points.txt +0 -0
- {chattermate_cli-0.2.1 → chattermate_cli-0.2.3}/chattermate_cli.egg-info/requires.txt +0 -0
- {chattermate_cli-0.2.1 → chattermate_cli-0.2.3}/chattermate_cli.egg-info/top_level.txt +0 -0
- {chattermate_cli-0.2.1 → chattermate_cli-0.2.3}/setup.cfg +0 -0
- {chattermate_cli-0.2.1 → chattermate_cli-0.2.3}/tests/test_client.py +0 -0
- {chattermate_cli-0.2.1 → chattermate_cli-0.2.3}/tests/test_mcp.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: chattermate-cli
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.3
|
|
4
4
|
Summary: ChatterMate CLI and MCP server — sign up, authenticate, and configure agents, workflows and knowledge from the terminal or an AI agent.
|
|
5
5
|
Author: ChatterMate
|
|
6
6
|
License: AGPL-3.0-or-later
|
|
@@ -68,27 +68,35 @@ def signup(
|
|
|
68
68
|
help="Admin password.",
|
|
69
69
|
),
|
|
70
70
|
timezone: str = typer.Option("UTC", "--timezone", help="Organization timezone."),
|
|
71
|
-
|
|
72
|
-
False, "--
|
|
73
|
-
help="Use the
|
|
71
|
+
community: bool = typer.Option(
|
|
72
|
+
False, "--community",
|
|
73
|
+
help="Use the single-org community signup (self-hosted instances only). "
|
|
74
|
+
"By default signup uses the hosted OTP flow.",
|
|
74
75
|
),
|
|
75
76
|
otp: Optional[str] = typer.Option(
|
|
76
77
|
None, "--otp",
|
|
77
|
-
help="
|
|
78
|
+
help="One-time code emailed to the admin address (on a localhost instance the test "
|
|
79
|
+
"code is 123456). If omitted you'll be prompted. Ignored with --community.",
|
|
78
80
|
),
|
|
79
81
|
as_json: bool = typer.Option(False, "--json", help="Output raw JSON."),
|
|
80
82
|
):
|
|
81
83
|
"""Create a new organization and admin user.
|
|
82
84
|
|
|
83
|
-
|
|
84
|
-
|
|
85
|
+
By default this uses the hosted OTP signup flow: a one-time code is emailed to
|
|
86
|
+
--admin-email, which you supply via --otp (or the prompt). This is the flow the
|
|
87
|
+
hosted API (api.chattermate.chat) and any enterprise instance require.
|
|
88
|
+
|
|
89
|
+
Pass --community only for a single-org self-hosted community instance, which
|
|
90
|
+
creates the org directly without email verification.
|
|
85
91
|
"""
|
|
86
92
|
client = get_client(require_auth=False)
|
|
87
93
|
|
|
88
|
-
if
|
|
94
|
+
if not community:
|
|
89
95
|
run(lambda: client.signup_request_otp(admin_email))
|
|
90
96
|
if not otp:
|
|
91
|
-
|
|
97
|
+
is_local = any(h in client.api_url for h in ("localhost", "127.0.0.1", "0.0.0.0"))
|
|
98
|
+
hint = " (localhost test code: 123456)" if is_local else ""
|
|
99
|
+
otp = typer.prompt(f"Enter the one-time code emailed to {admin_email}{hint}")
|
|
92
100
|
data = run(lambda: client.signup_verify_otp(
|
|
93
101
|
email=admin_email, otp=otp, admin_name=admin_name,
|
|
94
102
|
admin_password=admin_password, organization_name=name, domain=domain,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: chattermate-cli
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.3
|
|
4
4
|
Summary: ChatterMate CLI and MCP server — sign up, authenticate, and configure agents, workflows and knowledge from the terminal or an AI agent.
|
|
5
5
|
Author: ChatterMate
|
|
6
6
|
License: AGPL-3.0-or-later
|
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "chattermate-cli"
|
|
7
|
-
version = "0.2.
|
|
7
|
+
version = "0.2.3"
|
|
8
8
|
description = "ChatterMate CLI and MCP server — sign up, authenticate, and configure agents, workflows and knowledge from the terminal or an AI agent."
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
requires-python = ">=3.10"
|
|
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
|
{chattermate_cli-0.2.1 → chattermate_cli-0.2.3}/chattermate_cli.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|