@ouro.bot/cli 0.1.0-alpha.474 → 0.1.0-alpha.475
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/changelog.json +8 -0
- package/dist/mailroom/autonomy.js +2 -2
- package/package.json +1 -1
package/changelog.json
CHANGED
|
@@ -1,6 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"_note": "This changelog is maintained as part of the PR/version-bump workflow. Agent-curated, not auto-generated. Agents read this file directly via read_file to understand what changed between versions.",
|
|
3
3
|
"versions": [
|
|
4
|
+
{
|
|
5
|
+
"version": "0.1.0-alpha.475",
|
|
6
|
+
"changes": [
|
|
7
|
+
"Native mail autonomy now counts recently submitted provider-backed sends against the rate window immediately, so Azure Communication Services deliveries cannot slip past the autonomous send limit while delivery events are still pending.",
|
|
8
|
+
"Mail autonomy coverage now locks the submitted-provider case explicitly, preventing back-to-back autonomous sends from bypassing policy before provider reconciliation arrives.",
|
|
9
|
+
"The `ouro.bot` wrapper stays version-synced for the mail autonomy rate-limit repair release."
|
|
10
|
+
]
|
|
11
|
+
},
|
|
4
12
|
{
|
|
5
13
|
"version": "0.1.0-alpha.474",
|
|
6
14
|
"changes": [
|
|
@@ -73,9 +73,9 @@ function isRecipientAllowed(policy, recipient) {
|
|
|
73
73
|
return policy.allowedRecipients.includes(recipient) || policy.allowedDomains.includes(recipientDomain(recipient));
|
|
74
74
|
}
|
|
75
75
|
function autonomousSentAt(record) {
|
|
76
|
-
if (record.
|
|
76
|
+
if (record.sendMode !== "autonomous")
|
|
77
77
|
return null;
|
|
78
|
-
return record.sentAt ?? record.updatedAt;
|
|
78
|
+
return record.sentAt ?? record.submittedAt ?? record.acceptedAt ?? record.deliveredAt ?? record.failedAt ?? record.updatedAt;
|
|
79
79
|
}
|
|
80
80
|
function countRecentAutonomousSends(input) {
|
|
81
81
|
const startsAt = input.nowMs - input.windowMs;
|