commune-cli 0.1.8__tar.gz → 0.1.9__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.
- {commune_cli-0.1.8 → commune_cli-0.1.9}/PKG-INFO +1 -1
- {commune_cli-0.1.8 → commune_cli-0.1.9}/commune_cli/commands/sms.py +12 -13
- {commune_cli-0.1.8 → commune_cli-0.1.9}/pyproject.toml +1 -1
- {commune_cli-0.1.8 → commune_cli-0.1.9}/.gitignore +0 -0
- {commune_cli-0.1.8 → commune_cli-0.1.9}/README.md +0 -0
- {commune_cli-0.1.8 → commune_cli-0.1.9}/commune_cli/__init__.py +0 -0
- {commune_cli-0.1.8 → commune_cli-0.1.9}/commune_cli/banner.py +0 -0
- {commune_cli-0.1.8 → commune_cli-0.1.9}/commune_cli/client.py +0 -0
- {commune_cli-0.1.8 → commune_cli-0.1.9}/commune_cli/commands/__init__.py +0 -0
- {commune_cli-0.1.8 → commune_cli-0.1.9}/commune_cli/commands/attachments.py +0 -0
- {commune_cli-0.1.8 → commune_cli-0.1.9}/commune_cli/commands/config_cmd.py +0 -0
- {commune_cli-0.1.8 → commune_cli-0.1.9}/commune_cli/commands/credits.py +0 -0
- {commune_cli-0.1.8 → commune_cli-0.1.9}/commune_cli/commands/data.py +0 -0
- {commune_cli-0.1.8 → commune_cli-0.1.9}/commune_cli/commands/delivery.py +0 -0
- {commune_cli-0.1.8 → commune_cli-0.1.9}/commune_cli/commands/dmarc.py +0 -0
- {commune_cli-0.1.8 → commune_cli-0.1.9}/commune_cli/commands/domains.py +0 -0
- {commune_cli-0.1.8 → commune_cli-0.1.9}/commune_cli/commands/inboxes.py +0 -0
- {commune_cli-0.1.8 → commune_cli-0.1.9}/commune_cli/commands/messages.py +0 -0
- {commune_cli-0.1.8 → commune_cli-0.1.9}/commune_cli/commands/phone_numbers.py +0 -0
- {commune_cli-0.1.8 → commune_cli-0.1.9}/commune_cli/commands/search.py +0 -0
- {commune_cli-0.1.8 → commune_cli-0.1.9}/commune_cli/commands/threads.py +0 -0
- {commune_cli-0.1.8 → commune_cli-0.1.9}/commune_cli/commands/webhooks.py +0 -0
- {commune_cli-0.1.8 → commune_cli-0.1.9}/commune_cli/config.py +0 -0
- {commune_cli-0.1.8 → commune_cli-0.1.9}/commune_cli/errors.py +0 -0
- {commune_cli-0.1.8 → commune_cli-0.1.9}/commune_cli/main.py +0 -0
- {commune_cli-0.1.8 → commune_cli-0.1.9}/commune_cli/output.py +0 -0
- {commune_cli-0.1.8 → commune_cli-0.1.9}/commune_cli/state.py +0 -0
- {commune_cli-0.1.8 → commune_cli-0.1.9}/uv.lock +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: commune-cli
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.9
|
|
4
4
|
Summary: Official CLI for the Commune email API — agent-native, pipe-friendly, covers every API surface.
|
|
5
5
|
Project-URL: Homepage, https://commune.email
|
|
6
6
|
Project-URL: Documentation, https://docs.commune.email
|
|
@@ -50,7 +50,7 @@ def sms_send(
|
|
|
50
50
|
print_json(data)
|
|
51
51
|
return
|
|
52
52
|
|
|
53
|
-
msg_id = data.get("
|
|
53
|
+
msg_id = (data.get("data") or {}).get("message_id", "")
|
|
54
54
|
print_success(f"SMS sent. ID: [bold]{msg_id}[/bold]")
|
|
55
55
|
|
|
56
56
|
|
|
@@ -87,10 +87,10 @@ def sms_conversations(
|
|
|
87
87
|
json_output=json_output or state.should_json(),
|
|
88
88
|
title="SMS Conversations",
|
|
89
89
|
columns=[
|
|
90
|
-
("Remote Number", "
|
|
91
|
-
("Last Message", "
|
|
92
|
-
("
|
|
93
|
-
("Updated", "
|
|
90
|
+
("Remote Number", "remote_number"),
|
|
91
|
+
("Last Message", "last_message_preview"),
|
|
92
|
+
("Messages", "message_count"),
|
|
93
|
+
("Updated", "last_message_at"),
|
|
94
94
|
],
|
|
95
95
|
)
|
|
96
96
|
|
|
@@ -135,10 +135,10 @@ def sms_thread(
|
|
|
135
135
|
json_output=False,
|
|
136
136
|
title=f"Thread with {remote_number}",
|
|
137
137
|
columns=[
|
|
138
|
-
("ID", "
|
|
138
|
+
("ID", "message_id"),
|
|
139
139
|
("Direction", "direction"),
|
|
140
|
-
("Body", "
|
|
141
|
-
("Sent At", "
|
|
140
|
+
("Body", "content"),
|
|
141
|
+
("Sent At", "created_at"),
|
|
142
142
|
],
|
|
143
143
|
)
|
|
144
144
|
|
|
@@ -178,11 +178,10 @@ def sms_search(
|
|
|
178
178
|
json_output=json_output or state.should_json(),
|
|
179
179
|
title=f"SMS Search: {query}",
|
|
180
180
|
columns=[
|
|
181
|
-
("ID", "
|
|
182
|
-
("
|
|
183
|
-
("
|
|
184
|
-
("
|
|
185
|
-
("Date", "createdAt"),
|
|
181
|
+
("ID", "message_id"),
|
|
182
|
+
("Direction", "direction"),
|
|
183
|
+
("Body", "content"),
|
|
184
|
+
("Date", "created_at"),
|
|
186
185
|
],
|
|
187
186
|
)
|
|
188
187
|
|
|
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "commune-cli"
|
|
7
|
-
version = "0.1.
|
|
7
|
+
version = "0.1.9"
|
|
8
8
|
description = "Official CLI for the Commune email API — agent-native, pipe-friendly, covers every API surface."
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
requires-python = ">=3.9"
|
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|