resend-cli 2.22.0-preview-inboxes.1 → 2.22.0-preview-inboxes.2

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "resend-cli",
3
- "version": "2.22.0-preview-inboxes.1",
3
+ "version": "2.22.0-preview-inboxes.2",
4
4
  "description": "The official CLI for Resend",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -46,7 +46,7 @@
46
46
  "esbuild": "0.28.1",
47
47
  "esbuild-wasm": "0.28.0",
48
48
  "picocolors": "1.1.1",
49
- "resend": "6.28.1-preview-inboxes.0"
49
+ "resend": "6.28.1-preview-inboxes.1"
50
50
  },
51
51
  "pkg": {
52
52
  "scripts": [
@@ -13,7 +13,7 @@ metadata:
13
13
  author: resend
14
14
  # Skill version is independent from the CLI/package.json version —
15
15
  # bump it on skill content changes, not CLI releases.
16
- version: "2.18.0"
16
+ version: "2.19.0"
17
17
  homepage: https://resend.com/docs/cli-agents
18
18
  source: https://github.com/resend/resend-cli
19
19
  openclaw:
@@ -73,7 +73,7 @@ The email address cannot be changed after creation.
73
73
  ## inboxes threads list
74
74
 
75
75
  List threads in an inbox (default subcommand of `resend inboxes threads`).
76
- Pages are fixed at 50 threads, newest activity first — there is no `--limit`.
76
+ Threads are ordered by newest activity first.
77
77
 
78
78
  **Flags:** `--inbox_id <id>` — required in non-interactive mode
79
79
 
@@ -83,11 +83,13 @@ Pages are fixed at 50 threads, newest activity first — there is no `--limit`.
83
83
  | `--query <text>` | string | — | Search subject, sender, and label names |
84
84
  | `--from <sender>` | string | — | Filter by sender address or name |
85
85
  | `--label <label_id>` | string | — | Filter by label **UUID** (not name); repeat for multiple |
86
- | `--cursor <cursor>` | string | — | `next_cursor` from a previous response |
86
+ | `--limit <n>` | number | 10 | Max results, 1-100 |
87
+ | `--after <cursor>` | string | — | Forward pagination cursor (a thread ID) |
88
+ | `--before <cursor>` | string | — | Backward pagination cursor (a thread ID) |
87
89
 
88
90
  **Alias:** `ls`
89
91
 
90
- **Output:** `{"object":"list","has_more":false,"next_cursor":"<cursor>"|null,"data":[{"id":"<uuid>","subject":"<subject>"|null,"from":"<sender>"|null,"to":[],"cc":[],"bcc":[],"labels":[],"message_count":1,"has_attachment":false,"has_draft":false,"read":false,"received_at":"<date>"}]}`
92
+ **Output:** `{"object":"list","has_more":false,"data":[{"id":"<uuid>","subject":"<subject>"|null,"from":"<sender>"|null,"to":[],"cc":[],"bcc":[],"labels":[],"message_count":1,"has_attachment":false,"has_draft":false,"read":false,"received_at":"<date>"}]}`
91
93
 
92
94
  ---
93
95
 
@@ -98,7 +100,7 @@ bodies. Use the message `id` values as the email ID for replies.
98
100
 
99
101
  **Flags:** `--inbox_id <id> --thread_id <id>` — required in non-interactive mode
100
102
 
101
- **Output:** `{"object":"inbox_thread","id":"<uuid>","subject":"<subject>"|null,"folder":"inbox","labels":[],"read":true,"messages":{"has_more":false,"data":[{"id":"<uuid>","direction":"inbound|outbound","from":"<sender>","to":[],"subject":"<subject>"|null,"html":"<html>"|null,"text":"<text>"|null,"attachments":[],"read":true,"received_at":"<date>"}]}}`
103
+ **Output:** `{"object":"inbox_thread","id":"<uuid>","subject":"<subject>"|null,"folder":"inbox","labels":[],"read":true,"messages":[{"id":"<uuid>","direction":"inbound|outbound","from":"<sender>","to":[],"cc":[],"bcc":[],"reply_to":[],"subject":"<subject>"|null,"message_id":"<message-id>"|null,"html":"<html>"|null,"text":"<text>"|null,"attachments":[],"read":true,"received_at":"<date>"}]}`
102
104
 
103
105
  ---
104
106
 
@@ -142,7 +144,7 @@ Retrieve a single email from a thread.
142
144
 
143
145
  **Flags:** `--inbox_id <id> --thread_id <id> --email_id <id>` — required in non-interactive mode
144
146
 
145
- **Output:** `{"id":"<uuid>","direction":"inbound|outbound","from":"<sender>","to":[],"cc":[],"bcc":[],"reply_to":[],"subject":"<subject>"|null,"html":"<html>"|null,"text":"<text>"|null,"attachments":[{"id":"<id>","filename":"<name>"|null,"size":123}],"read":true,"received_at":"<date>"}`
147
+ **Output:** `{"id":"<uuid>","direction":"inbound|outbound","from":"<sender>","to":[],"cc":[],"bcc":[],"reply_to":[],"subject":"<subject>"|null,"message_id":"<message-id>"|null,"html":"<html>"|null,"text":"<text>"|null,"attachments":[{"id":"<id>","filename":"<name>"|null,"size":123}],"read":true,"received_at":"<date>"}`
146
148
 
147
149
  ---
148
150
 
@@ -191,7 +193,7 @@ List all labels in an inbox (not paginated; default subcommand of
191
193
 
192
194
  **Alias:** `ls`
193
195
 
194
- **Output:** `{"object":"list","has_more":false,"data":[{"id":"<uuid>","name":"<name>","color":"<color>","created_at":"<date>"}]}`
196
+ **Output:** `{"object":"list","data":[{"id":"<uuid>","name":"<name>","color":"<color>","created_at":"<date>"}]}`
195
197
 
196
198
  ---
197
199
 
@@ -244,17 +246,18 @@ Delete a label. It is removed from every thread that has it.
244
246
  ## inboxes drafts list
245
247
 
246
248
  List drafts in an inbox (default subcommand of `resend inboxes drafts`).
247
- Opaque cursor pagination like threads — no `--limit`.
248
249
 
249
250
  **Flags:** `--inbox_id <id>` — required in non-interactive mode
250
251
 
251
- | Flag | Type | Description |
252
- |------|------|-------------|
253
- | `--cursor <cursor>` | string | `next_cursor` from a previous response |
252
+ | Flag | Type | Default | Description |
253
+ |------|------|---------|-------------|
254
+ | `--limit <n>` | number | 10 | Max results, 1-100 |
255
+ | `--after <cursor>` | string | — | Forward pagination cursor (a draft ID) |
256
+ | `--before <cursor>` | string | — | Backward pagination cursor (a draft ID) |
254
257
 
255
258
  **Alias:** `ls`
256
259
 
257
- **Output:** `{"object":"list","has_more":false,"next_cursor":"<cursor>"|null,"data":[{"id":"<uuid>","type":"standalone|reply","to":["<address>"]|null,"cc":[],"bcc":[],"subject":"<subject>"|null,"snippet":"<text>"|null,"thread_id":"<uuid>"|null,"reply_to_email_id":"<uuid>"|null,"updated_at":"<date>"}]}`
260
+ **Output:** `{"object":"list","has_more":false,"data":[{"id":"<uuid>","type":"standalone|reply","to":["<address>"]|null,"cc":[],"bcc":[],"subject":"<subject>"|null,"snippet":"<text>"|null,"thread_id":"<uuid>"|null,"reply_to_email_id":"<uuid>"|null,"updated_at":"<date>"}]}`
258
261
 
259
262
  ---
260
263