@ouro.bot/cli 0.1.0-alpha.1375 → 0.1.0-alpha.1376

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 CHANGED
@@ -1,6 +1,12 @@
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.1376",
6
+ "changes": [
7
+ "iMessage: a reply whose send timed out but arrived is recorded within a recovery pass instead of after 10 minutes, so status stops reporting it as not caught up."
8
+ ]
9
+ },
4
10
  {
5
11
  "version": "0.1.0-alpha.1375",
6
12
  "changes": [
@@ -1,5 +1,5 @@
1
1
  {
2
- "runtimeVersion": "0.1.0-alpha.1375",
2
+ "runtimeVersion": "0.1.0-alpha.1376",
3
3
  "bundleSchemaVersion": 3,
4
4
  "lastUpdated": "2026-09-03T00:00:00.000Z"
5
5
  }
@@ -1,7 +1,7 @@
1
1
  <?xml version="1.0"?>
2
2
  <Container version="2">
3
3
  <Name>ouro-butler</Name>
4
- <Repository>ghcr.io/ourostack/ouroboros-butler:0.1.0-alpha.1375</Repository>
4
+ <Repository>ghcr.io/ourostack/ouroboros-butler:0.1.0-alpha.1376</Repository>
5
5
  <Registry>https://github.com/ourostack/ouroboros/pkgs/container/ouroboros-butler</Registry>
6
6
  <Network>host</Network>
7
7
  <Shell>sh</Shell>
@@ -2783,8 +2783,27 @@ async function handleCapturedBlueBubblesSemanticEvent(captured, resolvedDeps, so
2783
2783
  const durableOutbound = (0, outbound_state_1.readBlueBubblesOutboundRecordByIdempotencyKey)((0, identity_1.getAgentRoot)(), blueBubblesInboundReplyIdempotencyKey(captured.capture.keyHash));
2784
2784
  const retryFailedReply = durableOutbound?.status === "failed"
2785
2785
  && (durableOutbound.failedAttempts ?? 0) < BLUEBUBBLES_REPLY_DELIVERY_MAX_ATTEMPTS;
2786
+ const completeVisibleFailedReply = () => {
2787
+ // The send that timed out reached the chat after all; do not reply twice.
2788
+ (0, runtime_1.emitNervesEvent)({
2789
+ level: "warn",
2790
+ component: "senses",
2791
+ event: "senses.bluebubbles_inbound_reply_recovery_suppressed",
2792
+ message: "suppressed bluebubbles reply retry because a reply is already in the chat",
2793
+ meta: { messageGuid: captured.normalized.messageGuid, recordId: durableOutbound.recordId },
2794
+ });
2795
+ publishTerminalReceipt("message_completed", "reply_visible_after_failed_send");
2796
+ semanticHandlingCompleted = true;
2797
+ return { handled: true, notifiedAgent: false, kind: captured.normalized.kind, reason: "already_processed" };
2798
+ };
2786
2799
  if (retryFailedReply
2787
2800
  && Date.now() < Date.parse(durableOutbound.failedAt ?? durableOutbound.updatedAt) + BLUEBUBBLES_REPLY_RETRY_DELAY_MS) {
2801
+ // A send that timed out may still arrive. Close the message as soon as the
2802
+ // reply shows up in the chat; only a retry waits out the delay.
2803
+ const visible = await blueBubblesFailedReplyIsVisible(resolvedDeps, captured.normalized.chat, durableOutbound)
2804
+ .catch(() => false);
2805
+ if (visible)
2806
+ return completeVisibleFailedReply();
2788
2807
  return { handled: true, notifiedAgent: false, kind: captured.normalized.kind, reason: "delivery_failed" };
2789
2808
  }
2790
2809
  if (durableOutbound && !retryFailedReply) {
@@ -2922,19 +2941,8 @@ async function handleCapturedBlueBubblesSemanticEvent(captured, resolvedDeps, so
2922
2941
  return { handled: true, notifiedAgent: false, kind: captured.normalized.kind, reason: "delivery_failed" };
2923
2942
  }
2924
2943
  }
2925
- if (failedReplyVisible) {
2926
- // The send that timed out reached the chat after all; do not reply twice.
2927
- (0, runtime_1.emitNervesEvent)({
2928
- level: "warn",
2929
- component: "senses",
2930
- event: "senses.bluebubbles_inbound_reply_recovery_suppressed",
2931
- message: "suppressed bluebubbles reply retry because a reply is already in the chat",
2932
- meta: { messageGuid: captured.normalized.messageGuid, recordId: durableOutbound.recordId },
2933
- });
2934
- publishTerminalReceipt("message_completed", "reply_visible_after_failed_send");
2935
- semanticHandlingCompleted = true;
2936
- return { handled: true, notifiedAgent: false, kind: captured.normalized.kind, reason: "already_processed" };
2937
- }
2944
+ if (failedReplyVisible)
2945
+ return completeVisibleFailedReply();
2938
2946
  result = await handleBlueBubblesNormalizedEvent(canonicalEvent, resolvedDeps, source, capturedOptions);
2939
2947
  // A budget or storm-breaker block defers the message; it was never seen.
2940
2948
  // Leave it pending so a later recovery pass retries it once the block lifts.
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@ouro.bot/cli",
3
- "version": "0.1.0-alpha.1375",
3
+ "version": "0.1.0-alpha.1376",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "@ouro.bot/cli",
9
- "version": "0.1.0-alpha.1375",
9
+ "version": "0.1.0-alpha.1376",
10
10
  "bundleDependencies": [
11
11
  "@ouro.bot/friends"
12
12
  ],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ouro.bot/cli",
3
- "version": "0.1.0-alpha.1375",
3
+ "version": "0.1.0-alpha.1376",
4
4
  "description": "Ouroboros, the agent harness: agents with durable memory that live where you talk (terminal, Teams, iMessage, mail, voice) and use real tools. Start with npx ouro.bot@latest.",
5
5
  "homepage": "https://ouroboros.bot/",
6
6
  "engines": {