@samva/cli 0.22.1 → 0.23.0

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 (3) hide show
  1. package/AGENTS.md +5 -0
  2. package/dist/bin.mjs +14923 -306
  3. package/package.json +7 -7
package/AGENTS.md CHANGED
@@ -72,6 +72,11 @@ a template written in a format the compiler rejects. Templates live in `template
72
72
  `emails/`; a template is a `.tsx` file that default-exports `defineTemplate`, and the compiler reads
73
73
  it without running it.
74
74
 
75
+ `samva email send` and `samva scheduled-messages create` take `--from <address>` (a verified sender or
76
+ any address on a verified domain) and `--from-name`; omitted, the send uses the default sender, else the
77
+ only verified sender, and otherwise fails with `FromAddressRequiredError`. `--from-name` without
78
+ `--from` exits `1`.
79
+
75
80
  `samva email send --attach <path>` (repeatable) attaches local files; the filename is the basename and
76
81
  the content type comes from the extension (`application/octet-stream` when unknown). The CLI reads
77
82
  and budget-checks every file before any request (at most 10 files, 25 MiB each and in total) and