@ouro.bot/cli 0.1.0-alpha.1127 → 0.1.0-alpha.1128

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.1128",
6
+ "changes": [
7
+ "An await the agent files from its private runtime is no longer cancelled on its first check, and a blocked await send tells the agent why and that it can message the person itself, then cancel the await."
8
+ ]
9
+ },
4
10
  {
5
11
  "version": "0.1.0-alpha.1127",
6
12
  "changes": [
@@ -1,5 +1,5 @@
1
1
  {
2
- "runtimeVersion": "0.1.0-alpha.1127",
2
+ "runtimeVersion": "0.1.0-alpha.1128",
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.1127</Repository>
4
+ <Repository>ghcr.io/ourostack/ouroboros-butler:0.1.0-alpha.1128</Repository>
5
5
  <Registry>https://github.com/ourostack/ouroboros/pkgs/container/ouroboros-butler</Registry>
6
6
  <Network>host</Network>
7
7
  <Shell>sh</Shell>
@@ -528,7 +528,14 @@ async function resolveAwaitTool(name, verdict, observation, agentRoot, agentName
528
528
  (0, runtime_1.emitNervesEvent)({ level: "error", component: "repertoire", event: "repertoire.await_alert_error", message: "await alert delivery threw", meta: { agent: agentName, name, error: error instanceof Error ? error.message : String(error) } });
529
529
  }
530
530
  if (alert?.delivery?.status !== "delivered_now") {
531
- return JSON.stringify({ verdict: "yes", archived: null, alert: alert ? { attempted: alert.attempted, status: alert.delivery?.status ?? null, skipped: alert.skipped ?? null } : null, advancedExternalEvents: [] });
531
+ const why = alert?.delivery?.detail ?? alert?.skipped ?? "the send failed";
532
+ return JSON.stringify({
533
+ verdict: "yes",
534
+ archived: null,
535
+ alert: alert ? { attempted: alert.attempted, status: alert.delivery?.status ?? null, skipped: alert.skipped ?? null } : null,
536
+ advancedExternalEvents: [],
537
+ note: `Not sent yet (${why}). The await stays open and I retry the send on its next check. I can also tell ${existing.filed_for_friend_id} myself on ${existing.filed_from}, then cancel_await "${name}".`,
538
+ });
532
539
  }
533
540
  }
534
541
  const advancedEvents = existing.filed_from === "external-event" && existing.filed_from_key && existing.wake_at
@@ -142,9 +142,10 @@ function relationshipAwaitCoordinates(awaitFile) {
142
142
  throw new InvalidRelationshipAwaitProvenanceError("Relationship await provenance is invalid");
143
143
  return { friendId: awaitFile.filed_for_friend_id, channel: "a2a", key: awaitFile.filed_from_key, requestId: null };
144
144
  }
145
- const isSystemAwait = awaitFile.filed_for_friend_id === null
145
+ // The agent's own awaits: filed from its private runtime, the CLI, or with no session at all. No relationship to honour.
146
+ const isSystemAwait = awaitFile.filed_from === "inner" || (awaitFile.filed_for_friend_id === null
146
147
  && awaitFile.filed_from_key === null
147
- && (awaitFile.filed_from === null || awaitFile.filed_from === "unknown" || awaitFile.filed_from === "cli");
148
+ && (awaitFile.filed_from === null || awaitFile.filed_from === "unknown" || awaitFile.filed_from === "cli"));
148
149
  if (isSystemAwait)
149
150
  return null;
150
151
  throw new InvalidRelationshipAwaitProvenanceError("Relationship await provenance is incomplete or legacy");
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@ouro.bot/cli",
3
- "version": "0.1.0-alpha.1127",
3
+ "version": "0.1.0-alpha.1128",
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.1127",
9
+ "version": "0.1.0-alpha.1128",
10
10
  "dependencies": {
11
11
  "@anthropic-ai/sdk": "^0.78.0",
12
12
  "@ouro.bot/friends": "0.1.0-alpha.18",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ouro.bot/cli",
3
- "version": "0.1.0-alpha.1127",
3
+ "version": "0.1.0-alpha.1128",
4
4
  "engines": {
5
5
  "node": ">=22"
6
6
  },