chattermate-cli 0.2.0__tar.gz → 0.2.2__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.
Files changed (24) hide show
  1. {chattermate_cli-0.2.0 → chattermate_cli-0.2.2}/PKG-INFO +1 -1
  2. {chattermate_cli-0.2.0 → chattermate_cli-0.2.2}/chattermate_cli/__init__.py +1 -1
  3. {chattermate_cli-0.2.0 → chattermate_cli-0.2.2}/chattermate_cli/commands/auth.py +13 -7
  4. {chattermate_cli-0.2.0 → chattermate_cli-0.2.2}/chattermate_cli.egg-info/PKG-INFO +1 -1
  5. {chattermate_cli-0.2.0 → chattermate_cli-0.2.2}/pyproject.toml +1 -1
  6. {chattermate_cli-0.2.0 → chattermate_cli-0.2.2}/LICENSE +0 -0
  7. {chattermate_cli-0.2.0 → chattermate_cli-0.2.2}/README.md +0 -0
  8. {chattermate_cli-0.2.0 → chattermate_cli-0.2.2}/chattermate_cli/client.py +0 -0
  9. {chattermate_cli-0.2.0 → chattermate_cli-0.2.2}/chattermate_cli/commands/__init__.py +0 -0
  10. {chattermate_cli-0.2.0 → chattermate_cli-0.2.2}/chattermate_cli/commands/agent.py +0 -0
  11. {chattermate_cli-0.2.0 → chattermate_cli-0.2.2}/chattermate_cli/commands/knowledge.py +0 -0
  12. {chattermate_cli-0.2.0 → chattermate_cli-0.2.2}/chattermate_cli/commands/workflow.py +0 -0
  13. {chattermate_cli-0.2.0 → chattermate_cli-0.2.2}/chattermate_cli/config.py +0 -0
  14. {chattermate_cli-0.2.0 → chattermate_cli-0.2.2}/chattermate_cli/context.py +0 -0
  15. {chattermate_cli-0.2.0 → chattermate_cli-0.2.2}/chattermate_cli/main.py +0 -0
  16. {chattermate_cli-0.2.0 → chattermate_cli-0.2.2}/chattermate_cli/mcp_server.py +0 -0
  17. {chattermate_cli-0.2.0 → chattermate_cli-0.2.2}/chattermate_cli.egg-info/SOURCES.txt +0 -0
  18. {chattermate_cli-0.2.0 → chattermate_cli-0.2.2}/chattermate_cli.egg-info/dependency_links.txt +0 -0
  19. {chattermate_cli-0.2.0 → chattermate_cli-0.2.2}/chattermate_cli.egg-info/entry_points.txt +0 -0
  20. {chattermate_cli-0.2.0 → chattermate_cli-0.2.2}/chattermate_cli.egg-info/requires.txt +0 -0
  21. {chattermate_cli-0.2.0 → chattermate_cli-0.2.2}/chattermate_cli.egg-info/top_level.txt +0 -0
  22. {chattermate_cli-0.2.0 → chattermate_cli-0.2.2}/setup.cfg +0 -0
  23. {chattermate_cli-0.2.0 → chattermate_cli-0.2.2}/tests/test_client.py +0 -0
  24. {chattermate_cli-0.2.0 → chattermate_cli-0.2.2}/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.0
3
+ Version: 0.2.2
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
@@ -16,4 +16,4 @@ You should have received a copy of the GNU Affero General Public License
16
16
  along with this program. If not, see <https://www.gnu.org/licenses/>
17
17
  """
18
18
 
19
- __version__ = "0.1.0"
19
+ __version__ = "0.2.2"
@@ -68,24 +68,30 @@ def signup(
68
68
  help="Admin password.",
69
69
  ),
70
70
  timezone: str = typer.Option("UTC", "--timezone", help="Organization timezone."),
71
- enterprise: bool = typer.Option(
72
- False, "--enterprise",
73
- help="Use the enterprise OTP signup flow (multi-org instances).",
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="OTP for --enterprise signup. If omitted you'll be prompted (localhost test OTP is 123456).",
78
+ help="One-time code emailed to the admin address. If omitted you'll be prompted "
79
+ "(localhost test OTP is 123456). 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
- Default is community signup (single-org). Use --enterprise for the OTP-based
84
- multi-org flow available on enterprise instances.
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 enterprise:
94
+ if not community:
89
95
  run(lambda: client.signup_request_otp(admin_email))
90
96
  if not otp:
91
97
  otp = typer.prompt("Enter the OTP sent to your email (localhost test OTP: 123456)")
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: chattermate-cli
3
- Version: 0.2.0
3
+ Version: 0.2.2
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.0"
7
+ version = "0.2.2"
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