@pidgeon-ai/cli 1.29.0 → 1.31.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.
@@ -2166,6 +2166,13 @@ var COMMANDS = [
2166
2166
  "where": "body",
2167
2167
  "describe": "Who may write to it. `list` accepts only senders with an `inbox` receive rule whose mail passes DMARC, and refuses everybody else before anything is stored. A key with admin on the address may tighten it; loosening needs its owner."
2168
2168
  },
2169
+ {
2170
+ "name": "recipient_cooldown_minutes",
2171
+ "kind": "number",
2172
+ "required": false,
2173
+ "where": "body",
2174
+ "describe": "Minutes before a send that is not a reply may go to somebody this address just wrote to (`429 recipient_cooldown`). 0 turns it off; at most 1440. Default 10. A key with admin on the address may lengthen it; shortening it or turning it off needs its owner."
2175
+ },
2169
2176
  {
2170
2177
  "name": "hold_suspicious",
2171
2178
  "kind": "boolean",
@@ -2754,6 +2761,108 @@ var COMMANDS = [
2754
2761
  }
2755
2762
  ]
2756
2763
  },
2764
+ {
2765
+ "group": "messages",
2766
+ "name": "check",
2767
+ "operationId": "messagesCheck",
2768
+ "method": "POST",
2769
+ "path": "/messages/check",
2770
+ "summary": "Check a send without sending",
2771
+ "flags": [
2772
+ {
2773
+ "name": "idempotency-key",
2774
+ "kind": "string",
2775
+ "required": false,
2776
+ "where": "header",
2777
+ "describe": "Any string unique to this attempt, reused on its retries. A repeat with the same key and the same request returns the first answer with `Idempotent-Replay: true` and does nothing \u2014 no second email. The same key with a different request is a `409`. Kept for 24 hours; a failure is not kept, so a retry after one runs.",
2778
+ "header": "Idempotency-Key"
2779
+ },
2780
+ {
2781
+ "name": "from",
2782
+ "kind": "string",
2783
+ "required": true,
2784
+ "where": "body",
2785
+ "describe": "An address on a domain you own, and one this key may send from."
2786
+ },
2787
+ {
2788
+ "name": "to",
2789
+ "kind": "list",
2790
+ "required": true,
2791
+ "where": "body",
2792
+ "describe": "One address or several. A string is accepted for the single case."
2793
+ },
2794
+ {
2795
+ "name": "cc",
2796
+ "kind": "list",
2797
+ "required": false,
2798
+ "where": "body",
2799
+ "describe": "Copied, and visible to everybody who receives the message."
2800
+ },
2801
+ {
2802
+ "name": "bcc",
2803
+ "kind": "list",
2804
+ "required": false,
2805
+ "where": "body",
2806
+ "describe": "Copied, and visible to nobody else."
2807
+ },
2808
+ {
2809
+ "name": "subject",
2810
+ "kind": "string",
2811
+ "required": false,
2812
+ "where": "body",
2813
+ "describe": "Left off a reply, where the thread already has one."
2814
+ },
2815
+ {
2816
+ "name": "text",
2817
+ "kind": "string",
2818
+ "required": false,
2819
+ "where": "body",
2820
+ "describe": "The plain-text body. Send this even when you send `html` \u2014 some clients only read it."
2821
+ },
2822
+ {
2823
+ "name": "html",
2824
+ "kind": "string",
2825
+ "required": false,
2826
+ "where": "body",
2827
+ "describe": "The rich body. Sanitised on the way in; scripts and remote content are removed."
2828
+ },
2829
+ {
2830
+ "name": "data",
2831
+ "kind": "json",
2832
+ "required": false,
2833
+ "where": "body",
2834
+ "describe": "Typed data: structured JSON sent beside the text, for software at the other end to read as fields. Travels as its own part; it is never mixed into the text."
2835
+ },
2836
+ {
2837
+ "name": "attachment_ids",
2838
+ "kind": "list",
2839
+ "required": false,
2840
+ "where": "body",
2841
+ "describe": "Ids from `POST /attachments`, uploaded before the message that carries them. Up to 20."
2842
+ },
2843
+ {
2844
+ "name": "in_reply_to",
2845
+ "kind": "string",
2846
+ "required": false,
2847
+ "where": "body",
2848
+ "describe": "The message being answered. Keeps the conversation together in the recipient\u2019s client too."
2849
+ },
2850
+ {
2851
+ "name": "in_reply_to_message_id",
2852
+ "kind": "string",
2853
+ "required": false,
2854
+ "where": "body",
2855
+ "describe": "The same field as `in_reply_to`, under the name this endpoint has always used. Both names work on both endpoints; reach for `in_reply_to`."
2856
+ },
2857
+ {
2858
+ "name": "forward",
2859
+ "kind": "boolean",
2860
+ "required": false,
2861
+ "where": "body",
2862
+ "describe": "Check this as a forward of the message in `in_reply_to`, rather than a reply to it. A forward is not a reply, so the per-recipient cooldown applies."
2863
+ }
2864
+ ]
2865
+ },
2757
2866
  {
2758
2867
  "group": "messages",
2759
2868
  "name": "forward",
@@ -2905,6 +3014,16 @@ var COMMANDS = [
2905
3014
  "kind": "string",
2906
3015
  "required": true,
2907
3016
  "where": "path"
3017
+ },
3018
+ {
3019
+ "name": "headers",
3020
+ "kind": "string",
3021
+ "choices": [
3022
+ "original"
3023
+ ],
3024
+ "required": false,
3025
+ "where": "query",
3026
+ "describe": "original: only the header section of the message as it arrived, with no body, so its DKIM signatures (the agent declaration\u2019s among them) can be checked, as /verify does. 404 when the original is no longer kept."
2908
3027
  }
2909
3028
  ]
2910
3029
  },
@@ -4155,4 +4274,4 @@ export {
4155
4274
  __export,
4156
4275
  COMMANDS
4157
4276
  };
4158
- //# sourceMappingURL=chunk-N63VML4X.js.map
4277
+ //# sourceMappingURL=chunk-ZEPO7EHG.js.map