@primitivedotdev/cli 0.26.4 → 0.29.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/README.md +24 -4
  2. package/dist/oclif/index.js +2629 -212
  3. package/package.json +12 -6
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@primitivedotdev/cli",
3
- "version": "0.26.4",
3
+ "version": "0.29.0",
4
4
  "description": "Official Primitive CLI: deploy Primitive Functions, send and inspect mail, manage endpoints, all from the terminal. Wraps the @primitivedotdev/sdk runtime client with one-shot commands.",
5
5
  "type": "module",
6
6
  "sideEffects": false,
@@ -25,7 +25,7 @@
25
25
  ],
26
26
  "topics": {
27
27
  "cli": {
28
- "description": "Browser-assisted CLI authentication"
28
+ "description": "CLI authentication"
29
29
  },
30
30
  "account": {
31
31
  "description": "Manage your account settings, storage, and webhook secret"
@@ -34,10 +34,13 @@
34
34
  "description": "Claim, verify, and manage email domains"
35
35
  },
36
36
  "emails": {
37
- "description": "List, inspect, and wait for received emails. `primitive emails:latest` lists the most recent inbound, `primitive emails:wait` blocks until matching inbound arrives (filter with --to/--from/--subject/--q; bounded by --timeout and --number; ideal for agents and CI), and `primitive emails:watch` streams new matches indefinitely for long-running terminals."
37
+ "description": "List, inspect, and wait for received emails. Prefer task aliases like `primitive emails list`, `primitive emails get`, `primitive emails latest`, `primitive emails wait`, and `primitive emails watch`; generated API names remain available for compatibility."
38
38
  },
39
39
  "sending": {
40
- "description": "Send outbound emails. For replies to inbound mail, use `sending:reply-to-email --id <inbound-id>` (threading and Re: subject derived server-side); for fresh sends, use `sending:send-email` or the `primitive send` shortcut."
40
+ "description": "Send outbound emails. Prefer `primitive send` for fresh sends and `primitive reply --id <inbound-id>` for replies; use `primitive sending list`, `primitive sending get`, and `primitive sending permissions` for outbound history and permissions."
41
+ },
42
+ "sent": {
43
+ "description": "Short aliases for outbound sent-email history: `primitive sent list` and `primitive sent get`."
41
44
  },
42
45
  "endpoints": {
43
46
  "description": "Manage webhook endpoints that receive email events"
@@ -46,10 +49,13 @@
46
49
  "description": "Manage whitelist and blocklist filter rules"
47
50
  },
48
51
  "webhook-deliveries": {
49
- "description": "View and replay webhook delivery attempts"
52
+ "description": "View and replay webhook delivery attempts. Prefer `primitive webhook-deliveries list` and `primitive webhook-deliveries replay`."
53
+ },
54
+ "deliveries": {
55
+ "description": "Short aliases for webhook delivery attempts: `primitive deliveries list` and `primitive deliveries replay`."
50
56
  },
51
57
  "functions": {
52
- "description": "Deploy JavaScript handlers that run on inbound mail. Use `primitive functions:init <name>` to scaffold a deployable project (handler, package.json, build script). Use `primitive functions:deploy --name <name> --file <bundle.js>` to create, `primitive functions:redeploy --id <id> --file <bundle.js>` to push a new bundle, and `primitive functions:set-secret --id <id> --key <KEY> --value <value> [--redeploy]` to write a secret (with optional one-call redeploy so the value lands in the running handler). The auto-generated functions:create-function / functions:update-function / functions:create-function-secret / functions:set-function-secret operations stay available for the full body-string surface."
58
+ "description": "Deploy JavaScript handlers that run on inbound mail. Prefer `primitive functions templates`, `primitive functions init`, `primitive functions deploy`, `primitive functions redeploy`, `primitive functions list`, `primitive functions get`, `primitive functions logs`, and `primitive functions set-secret`; generated API names remain available for compatibility."
53
59
  }
54
60
  },
55
61
  "topicSeparator": " "