resend-cli 2.22.0-preview-inboxes.3 → 2.22.0-preview-inboxes.4

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.3",
3
+ "version": "2.22.0-preview-inboxes.4",
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.32.1-preview-inboxes.1"
49
+ "resend": "6.32.1-preview-inboxes.2"
50
50
  },
51
51
  "pkg": {
52
52
  "scripts": [
@@ -137,7 +137,7 @@ Auth resolves: `RESEND_API_KEY` env > config file (`resend login --key`). Use `-
137
137
  | `logs` | list, get, open |
138
138
  | `careers` | list, apply — browse open positions at Resend and apply |
139
139
  | `suppressions` _(beta)_ | list, add, get, delete, batch — requires account enrollment |
140
- | `inboxes` _(beta)_ | create, list, get, update, delete, threads (list, get, update, delete, emails list/get/reply/forward), labels, drafts — requires account enrollment |
140
+ | `inboxes` _(beta)_ | create, list, get, update, delete, threads (list, get, update, delete, emails list/get/reply/forward), labels, drafts, agent — requires account enrollment |
141
141
  | `api-keys` | create, list, update, delete |
142
142
  | `automations` | create, get, list, update, delete, duplicate, stop, open, runs |
143
143
  | `events` | create, get, list, update, delete, send, open |
@@ -361,6 +361,34 @@ body.
361
361
 
362
362
  ---
363
363
 
364
+ ## inboxes agent get
365
+
366
+ Retrieve an inbox's agent settings (default subcommand of `resend inboxes agent`).
367
+ An inbox without a configured agent returns empty settings.
368
+
369
+ **Flags:** `--inbox_id <id>` — required in non-interactive mode
370
+
371
+ **Output:** `{"object":"inbox_agent","instructions":"<text>"|null,"tone":"<tone>"|null,"enabled_actions":["draft_reply"]}`
372
+
373
+ ---
374
+
375
+ ## inboxes agent update
376
+
377
+ Update an inbox's agent settings. At least one option is required. Omitted
378
+ fields keep their current value.
379
+
380
+ **Flags:** `--inbox_id <id>` — required in non-interactive mode
381
+
382
+ | Flag | Type | Description |
383
+ |------|------|-------------|
384
+ | `--instructions <text>` | string | Instructions the agent follows (max 4000 chars). Pass `""` to clear them |
385
+ | `--tone <tone>` | string | Tone the agent writes in, e.g. `friendly and concise` (max 64 chars). Pass `""` to clear it |
386
+ | `--enabled_actions <actions...>` | string[] | Replaces the whole set (comma or space-separated). One or more of `draft_reply`, `forward_thread`, `add_labels`, `assign_thread`, `mark_as_spam`, `archive_thread`, `delete_thread`. Pass `""` to disable all actions |
387
+
388
+ **Output:** `{"object":"inbox_agent","id":"<uuid>"}`
389
+
390
+ ---
391
+
364
392
  ## inboxes delete
365
393
 
366
394
  Delete an inbox. Its threads and messages are removed and the address stops