@ouro.bot/cli 0.1.0-alpha.1717 → 0.1.0-alpha.1719

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,13 +1,33 @@
1
1
  {
2
2
  "_note": "Each pull request writes its own change note under changes/; the release job on main gives each landed change its version and adds the notes here (scripts/release-version.cjs). On main this file stops at the last version set by hand; the published package has every release. Agents read this file directly via read_file to understand what changed between versions.",
3
3
  "versions": [
4
+ {
5
+ "version": "0.1.0-alpha.1719",
6
+ "changes": [
7
+ "The Butler's product registration now sets two things in its Telegram chat:",
8
+ "The owner's name, from the house config.",
9
+ "The credit top-up reply to \"why aren't my shows downloading?\". Telegram used to pull these in from Butler code.",
10
+ "On the Butler's image, behaviour is unchanged. An agent with no product now always shows its owner as \"Owner\", even when its bundle has a `house/house.json`. Telegram's unused `healthSweep` option is removed."
11
+ ]
12
+ },
13
+ {
14
+ "version": "0.1.0-alpha.1718",
15
+ "changes": [
16
+ "Whether the Butler takes delegated commands and failure reports from other agents is now set in its product registration. Before, the A2A sense and the A2A server wiring each checked the Butler's name. On the Butler's image nothing changes: peers the operator granted can still send delegated commands, each one is still announced in the owner's own Telegram chat before it runs, and escalation peers can still file failure reports that are confirmed to the owner once the fix is live. The A2A sense now logs `senses.a2a_delegation_wired` when it turns delegation on. Agents with no product never get either, and that now includes a `butler` or `sanctuary` bundle run outside the Butler's image, which got both before. A notice that fails now also logs `daemon.product_hook_error`, and the command is still refused."
17
+ ]
18
+ },
4
19
  {
5
20
  "version": "0.1.0-alpha.1717",
6
21
  "changes": [
7
- "Whether the Butler's Telegram sense is set up is now decided in one place, the Butler's product registration. The daemon's sense status and the sense lines in the Butler's prompt all read it. Before, each kept its own copy of the rule. In the Butler's image nothing changes: its Telegram is ready when both of its runtime configs can be read and neither holds a bot token, because the root gateway holds the token. It needs this machine's config, and the repair line says to finish the root authority migration rather than restore a token. Other agents' Telegram readiness is unchanged.",
8
22
  "The summary works on iMessage as well as Teams. Held notices are only cleared once the reply carrying the summary is confirmed delivered; a failed or unconfirmed send keeps them for the next message."
9
23
  ]
10
24
  },
25
+ {
26
+ "version": "0.1.0-alpha.1716",
27
+ "changes": [
28
+ "Whether the Butler's Telegram sense is set up is now decided in one place, the Butler's product registration. The daemon's sense status and the sense lines in the Butler's prompt all read it. Before, each kept its own copy of the rule. In the Butler's image nothing changes: its Telegram is ready when both of its runtime configs can be read and neither holds a bot token, because the root gateway holds the token. It needs this machine's config, and the repair line says to finish the root authority migration rather than restore a token. Other agents' Telegram readiness is unchanged."
29
+ ]
30
+ },
11
31
  {
12
32
  "version": "0.1.0-alpha.1715",
13
33
  "changes": [
@@ -1,5 +1,5 @@
1
1
  {
2
- "runtimeVersion": "0.1.0-alpha.1717",
2
+ "runtimeVersion": "0.1.0-alpha.1719",
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.1717</Repository>
4
+ <Repository>ghcr.io/ourostack/ouroboros-butler:0.1.0-alpha.1719</Repository>
5
5
  <Registry>https://github.com/ourostack/ouroboros/pkgs/container/ouroboros-butler</Registry>
6
6
  <Network>host</Network>
7
7
  <Shell>sh</Shell>
@@ -35,11 +35,14 @@ var __importStar = (this && this.__importStar) || (function () {
35
35
  Object.defineProperty(exports, "__esModule", { value: true });
36
36
  exports.RUNNING_HARNESS_VERSION = void 0;
37
37
  exports.escalationOptionsFor = escalationOptionsFor;
38
+ exports.delegationOptionsFor = delegationOptionsFor;
38
39
  exports.sendOwnerNoticeViaTelegram = sendOwnerNoticeViaTelegram;
39
40
  const fs = __importStar(require("node:fs"));
40
41
  const path = __importStar(require("node:path"));
41
42
  const runtime_1 = require("../nerves/runtime");
42
- const butler_agent_1 = require("../heart/butler-agent");
43
+ const identity_1 = require("../heart/identity");
44
+ const active_1 = require("../heart/product/active");
45
+ const delegated_command_1 = require("./delegated-command");
43
46
  /**
44
47
  * The version of the harness that is running, read from its own package.json once when this module loads. A fix is
45
48
  * "live" only when this process carries it, so the value must not follow whatever an upgrade later writes to disk.
@@ -47,14 +50,31 @@ const butler_agent_1 = require("../heart/butler-agent");
47
50
  exports.RUNNING_HARNESS_VERSION = JSON.parse(fs.readFileSync(path.resolve(__dirname, "../../package.json"), "utf8")).version;
48
51
  /**
49
52
  * What every A2A server entry point passes as `escalation`: confirm-when-live notices go to the owner through the same
50
- * owner-notice path as delegated commands. Only the Butler files and confirms failure reports.
53
+ * owner-notice path as delegated commands. Only an agent whose product files and confirms failure reports gets it.
51
54
  */
52
55
  function escalationOptionsFor(agentName, sendOwnerNotice) {
53
- if (!(0, butler_agent_1.isButlerAgent)(agentName))
56
+ if ((0, active_1.productFor)(agentName)?.a2a?.escalation !== true)
54
57
  return {};
55
58
  (0, runtime_1.emitNervesEvent)({ component: "senses", event: "senses.a2a_escalation_wired", message: "A2A server will confirm resolved failure reports to the owner", meta: { agentName, runningVersion: exports.RUNNING_HARNESS_VERSION } });
56
59
  return { escalation: { runningVersion: exports.RUNNING_HARNESS_VERSION, notifyOwner: sendOwnerNotice } };
57
60
  }
61
+ /**
62
+ * What the A2A server entry passes as `delegation`: an agent whose product accepts delegated commands takes them from
63
+ * granted peers on its owner's menu, and the product announces each one before it runs.
64
+ */
65
+ function delegationOptionsFor(agentName) {
66
+ const notifyPrincipal = (0, active_1.productDelegationNotifier)(agentName);
67
+ if (!notifyPrincipal)
68
+ return {};
69
+ (0, runtime_1.emitNervesEvent)({ component: "senses", event: "senses.a2a_delegation_wired", message: "A2A server will accept delegated commands from granted peers", meta: { agentName } });
70
+ return {
71
+ delegation: {
72
+ principalProfileId: delegated_command_1.A2A_PRINCIPAL_PROFILE_ID,
73
+ agentRoot: (0, identity_1.getAgentRoot)(agentName),
74
+ notifyPrincipal,
75
+ },
76
+ };
77
+ }
58
78
  async function sendOwnerNoticeViaTelegram(agentName, notice) {
59
79
  const { sendTelegramOwnerNotice } = await Promise.resolve().then(() => __importStar(require("../senses/telegram")));
60
80
  await sendTelegramOwnerNotice(agentName, { ...notice, signal: AbortSignal.timeout(30_000) });
@@ -12,9 +12,12 @@ exports.productTools = productTools;
12
12
  exports.productToolDefinitions = productToolDefinitions;
13
13
  exports.productToolSelection = productToolSelection;
14
14
  exports.productActiveWorkSections = productActiveWorkSections;
15
+ exports.productDelegationNotifier = productDelegationNotifier;
15
16
  exports.productSense = productSense;
16
17
  exports.productSenseRepairHint = productSenseRepairHint;
17
18
  exports.productSenseReadiness = productSenseReadiness;
19
+ exports.productSenseOwnerName = productSenseOwnerName;
20
+ exports.productSenseOwnerReply = productSenseOwnerReply;
18
21
  const runtime_1 = require("../../nerves/runtime");
19
22
  const container_runtime_1 = require("../daemon/container-runtime");
20
23
  /** The seam version this harness runs. A product built for another stops the start. */
@@ -202,6 +205,25 @@ async function productActiveWorkSections(input) {
202
205
  throw error;
203
206
  }
204
207
  }
208
+ /**
209
+ * How this agent's product announces a delegated command to its owner (J8), or null when the agent takes none. A rejection
210
+ * refuses the command, as the A2A server does for any failed notice, and is logged as the product's.
211
+ */
212
+ function productDelegationNotifier(agentName) {
213
+ const product = productFor(agentName);
214
+ const delegation = product?.a2a?.delegation;
215
+ if (!delegation)
216
+ return null;
217
+ return async (notice) => {
218
+ try {
219
+ await delegation.notifyPrincipal(agentName, notice);
220
+ }
221
+ catch (error) {
222
+ hookFailed(product, "a2a.delegation.notifyPrincipal", agentName, error, "the product's delegated-command notice failed, so the command is refused");
223
+ throw error;
224
+ }
225
+ };
226
+ }
205
227
  /** How this agent's product runs one of core's senses (J6), or null when it runs it core's way. */
206
228
  function productSense(agentName, sense) {
207
229
  return productFor(agentName)?.senses?.[sense] ?? null;
@@ -234,3 +256,31 @@ function productSenseReadiness(agentName, sense, input) {
234
256
  throw error;
235
257
  }
236
258
  }
259
+ /** The name a sense shows for the admitted owner (J6): the product's, or "Owner". A throw from the product fails the turn. */
260
+ function productSenseOwnerName(agentName, sense) {
261
+ const product = productFor(agentName);
262
+ const own = product?.senses?.[sense]?.ownerName;
263
+ if (!own)
264
+ return "Owner";
265
+ try {
266
+ return own(agentName);
267
+ }
268
+ catch (error) {
269
+ hookFailed(product, "senses.ownerName", agentName, error, "the product's owner name failed, so the owner's turn fails");
270
+ throw error;
271
+ }
272
+ }
273
+ /** The text the owner gets for a reply (J6): the product's presentation of it, or the reply unchanged. A throw fails the send. */
274
+ function productSenseOwnerReply(agentName, sense, reply) {
275
+ const product = productFor(agentName);
276
+ const own = product?.senses?.[sense]?.presentOwnerReply;
277
+ if (!own)
278
+ return reply.text;
279
+ try {
280
+ return own(agentName, reply);
281
+ }
282
+ catch (error) {
283
+ hookFailed(product, "senses.presentOwnerReply", agentName, error, "the product's reply presentation failed, so the reply isn't sent");
284
+ throw error;
285
+ }
286
+ }
@@ -44,6 +44,8 @@ const sanctuary_package_management_1 = require("../heart/daemon/sanctuary-packag
44
44
  const runtime_1 = require("../nerves/runtime");
45
45
  const tools_sanctuary_host_1 = require("../repertoire/tools-sanctuary-host");
46
46
  const telegram_identity_key_1 = require("../senses/telegram-identity-key");
47
+ const sanctuary_house_1 = require("../senses/sanctuary-house");
48
+ const sanctuary_download_credit_presentation_1 = require("../senses/sanctuary-download-credit-presentation");
47
49
  /** The acceptance run that proves a cron fire reaches the health sweep (Unit 16f), when one is running. */
48
50
  function cronFingerprintScenario(agent) {
49
51
  const marker = (0, sanctuary_acceptance_marker_1.readSanctuaryAcceptanceMarker)(agent);
@@ -170,7 +172,25 @@ exports.product = {
170
172
  ? { configured: true, detail: "root authority transport; gateway validated at process startup" }
171
173
  : { configured: false, detail: "root authority migration requires available tokenless credential inventories" },
172
174
  repairHint: () => "Agent-runnable: complete or recover the root authority migration; do not restore a resident Telegram token.",
175
+ // The owner's name is the household's own (house/house.json); a household that hasn't named one gets "Owner".
176
+ ownerName: (agentName) => {
177
+ const { ownerName } = (0, sanctuary_house_1.readSanctuaryHouse)((0, identity_1.getAgentRoot)(agentName));
178
+ return ownerName === sanctuary_house_1.DEFAULT_SANCTUARY_HOUSE.ownerName ? "Owner" : ownerName;
179
+ },
180
+ // "Why aren't my shows downloading?" gets the household's credit top-up reply, never the downloaders' internals.
181
+ presentOwnerReply: (agentName, { request, text }) => (0, sanctuary_download_credit_presentation_1.presentSanctuaryDownloadCreditReply)(agentName, request === "why aren't my shows downloading?", text),
182
+ },
183
+ },
184
+ // J8: the Butler takes delegated commands from peers the operator granted, each announced in the owner's own Telegram
185
+ // chat before it runs (never through the owner route, never held), and files and confirms failure reports.
186
+ a2a: {
187
+ delegation: {
188
+ notifyPrincipal: async (agentName, notice) => {
189
+ const { sendTelegramDelegatedAuditNotice } = await Promise.resolve().then(() => __importStar(require("../senses/telegram")));
190
+ await sendTelegramDelegatedAuditNotice(agentName, { ...notice, signal: AbortSignal.timeout(30_000) });
191
+ },
173
192
  },
193
+ escalation: true,
174
194
  },
175
195
  // J5: the house check runs in the daemon, and only Supercronic may fire it on its cron schedule.
176
196
  habits: {
@@ -47,9 +47,7 @@ function argValue(name) {
47
47
  }
48
48
  const runtime_logging_1 = require("../heart/daemon/runtime-logging");
49
49
  const runtime_1 = require("../nerves/runtime");
50
- const delegated_command_1 = require("../a2a/delegated-command");
51
50
  const identity_1 = require("../heart/identity");
52
- const butler_agent_1 = require("../heart/butler-agent");
53
51
  (0, runtime_logging_1.configureDaemonRuntimeLogger)("a2a");
54
52
  (0, runtime_1.emitNervesEvent)({
55
53
  component: "senses",
@@ -67,7 +65,7 @@ Promise.all([
67
65
  Promise.resolve().then(() => __importStar(require("../a2a/relay-config-vault"))),
68
66
  Promise.resolve().then(() => __importStar(require("./sense-shutdown"))),
69
67
  ])
70
- .then(async ([{ startA2AServer }, { loadOrMintA2AIdentity, readStoredA2ASeed, publishOwnA2ADid }, { waitForRuntimeCredentialBootstrap, readMachineRuntimeCredentialConfig, refreshMachineRuntimeCredentialConfig, mergeMachineRuntimeCredentialConfig }, { loadOrCreateMachineIdentity }, { ready }, { escalationOptionsFor, sendOwnerNoticeViaTelegram }, { relayConfigFrom, vaultRelayConfigStore }, { installSenseShutdown },]) => {
68
+ .then(async ([{ startA2AServer }, { loadOrMintA2AIdentity, readStoredA2ASeed, publishOwnA2ADid }, { waitForRuntimeCredentialBootstrap, readMachineRuntimeCredentialConfig, refreshMachineRuntimeCredentialConfig, mergeMachineRuntimeCredentialConfig }, { loadOrCreateMachineIdentity }, { ready }, { delegationOptionsFor, escalationOptionsFor, sendOwnerNoticeViaTelegram }, { relayConfigFrom, vaultRelayConfigStore }, { installSenseShutdown },]) => {
71
69
  const os = await Promise.resolve().then(() => __importStar(require("node:os")));
72
70
  // Wait for the daemon to deliver the machine-local runtime config (carrying the
73
71
  // a2a identity seed) into the in-memory cache before we read or mint identity.
@@ -104,18 +102,8 @@ Promise.all([
104
102
  const handle = await startA2AServer({
105
103
  agentName,
106
104
  identity,
107
- // The Butler accepts delegated commands from explicitly granted peers; each
108
- // one is announced in the owner's own Telegram chat before it runs (never through the owner route, never held).
109
- ...((0, butler_agent_1.isButlerAgent)(agentName) ? {
110
- delegation: {
111
- principalProfileId: delegated_command_1.A2A_PRINCIPAL_PROFILE_ID,
112
- agentRoot: (0, identity_1.getAgentRoot)(agentName),
113
- notifyPrincipal: async (notice) => {
114
- const { sendTelegramDelegatedAuditNotice } = await Promise.resolve().then(() => __importStar(require("./telegram")));
115
- await sendTelegramDelegatedAuditNotice(agentName, { ...notice, signal: AbortSignal.timeout(30_000) });
116
- },
117
- },
118
- } : {}),
105
+ // An agent whose product accepts delegated commands takes them from explicitly granted peers, each announced before it runs.
106
+ ...delegationOptionsFor(agentName),
119
107
  ...escalationOptionsFor(agentName, (notice) => sendOwnerNoticeViaTelegram(agentName, notice)),
120
108
  notifyOwner: (notice) => sendOwnerNoticeViaTelegram(agentName, notice),
121
109
  // A friends-relay inbox for messages sent while this agent is offline, when the operator set a2a.relay.url
@@ -64,7 +64,6 @@ const path = __importStar(require("node:path"));
64
64
  const friends_1 = require("@ouro.bot/friends");
65
65
  const delegated_command_1 = require("../a2a/delegated-command");
66
66
  const identity_1 = require("../heart/identity");
67
- const sanctuary_house_1 = require("./sanctuary-house");
68
67
  const sanctuary_acceptance_marker_1 = require("../heart/daemon/sanctuary-acceptance-marker");
69
68
  const runtime_credentials_1 = require("../heart/runtime-credentials");
70
69
  const runtime_1 = require("../nerves/runtime");
@@ -74,7 +73,6 @@ const sanctuary_interactive_control_1 = require("./sanctuary-interactive-control
74
73
  const telegram_approval_relay_1 = require("./telegram-approval-relay");
75
74
  const sanctuary_runtime_1 = require("./sanctuary-runtime");
76
75
  const sanctuary_sab_1 = require("./sanctuary-sab");
77
- const sanctuary_download_credit_presentation_1 = require("./sanctuary-download-credit-presentation");
78
76
  const shared_turn_1 = require("./shared-turn");
79
77
  const config_1 = require("../heart/config");
80
78
  const telegram_identity_key_1 = require("./telegram-identity-key");
@@ -425,10 +423,9 @@ function telegramBotIdFromToken(token) {
425
423
  function errorCode(error) {
426
424
  return error && typeof error === "object" && "code" in error && typeof error.code === "string" ? error.code : undefined;
427
425
  }
428
- /** The admitted owner's display name comes from the household's own house config. */
426
+ /** The admitted owner's display name: the product's, or "Owner". */
429
427
  function ownerDisplayName(agentName) {
430
- const { ownerName } = (0, sanctuary_house_1.readSanctuaryHouse)((0, identity_1.getAgentRoot)(agentName));
431
- return ownerName === sanctuary_house_1.DEFAULT_SANCTUARY_HOUSE.ownerName ? "Owner" : ownerName;
428
+ return (0, active_1.productSenseOwnerName)(agentName, "telegram");
432
429
  }
433
430
  function opaqueTelegramSubject(identityKey, botToken, authorizedUserId, authorizedChatId) {
434
431
  const payload = [
@@ -1160,8 +1157,8 @@ function createTelegramSenseApp(options) {
1160
1157
  approvalReconciliationsInFlight.add(failsafe);
1161
1158
  }, delay);
1162
1159
  };
1163
- const deliverButlerEffect = async (text, idempotencyKey, signal, onMessageDelivered, exactDownloadCreditQuestion = false, replyToMessageId, silent = false) => {
1164
- const presentedText = (0, sanctuary_download_credit_presentation_1.presentSanctuaryDownloadCreditReply)(options.agentName, exactDownloadCreditQuestion, text);
1160
+ const deliverButlerEffect = async (text, idempotencyKey, signal, onMessageDelivered, ownerRequest = null, replyToMessageId, silent = false) => {
1161
+ const presentedText = (0, active_1.productSenseOwnerReply)(options.agentName, "telegram", { request: ownerRequest, text });
1165
1162
  return executeAuthorizedEffect({
1166
1163
  idempotencyKey,
1167
1164
  target: configuredOwnerTarget(),
@@ -1211,7 +1208,7 @@ function createTelegramSenseApp(options) {
1211
1208
  }
1212
1209
  const pacingReason = options.proactivePacing ? (0, telegram_handoff_1.proactiveHoldReason)(proactiveLedgerPath, new Date(), options.proactivePacing) : null;
1213
1210
  const silent = options.ownerRoute !== undefined || pacingReason === "quiet_hours";
1214
- const effect = await deliverButlerEffect(text, key, input.signal, undefined, false, undefined, silent);
1211
+ const effect = await deliverButlerEffect(text, key, input.signal, undefined, null, undefined, silent);
1215
1212
  (0, runtime_1.emitNervesEvent)({ component: "senses", event: "senses.telegram_delegated_notice_sent", message: "sent a delegated command's audit notice to the owner's Telegram chat", meta: { agentName: options.agentName, silent } });
1216
1213
  const sessionPath = (0, shared_turn_1.getSenseSessionPath)(options.agentName, configuredOwnerFriendId, "telegram", configuredOwnerSessionKey, agentRoot);
1217
1214
  await recordAcceptedEffects(sessionPath, [effect]);
@@ -1709,7 +1706,6 @@ function createTelegramSenseApp(options) {
1709
1706
  const turnMetricsObserver = { providerInvocationCount: 0, toolInvocationCount: 0 };
1710
1707
  const toolReceiptObserver = { toolResultDigests: [], toolGroundings: [] };
1711
1708
  const normalizedRequest = message.text.normalize("NFKC").trim().toLocaleLowerCase("en-US");
1712
- const exactDownloadCreditQuestion = normalizedRequest === "why aren't my shows downloading?";
1713
1709
  const groundingIntentTool = groundedAcceptance
1714
1710
  ? /^(?:what['’]?s up|status)\??$/u.test(normalizedRequest) ? "unraid_get_system"
1715
1711
  : /^how much (?:space|storage) is left\??$/u.test(normalizedRequest) ? "unraid_get_storage"
@@ -1771,7 +1767,7 @@ function createTelegramSenseApp(options) {
1771
1767
  bufferedGroundedDeliveries.push(delivery.kind);
1772
1768
  }
1773
1769
  else {
1774
- turnEffects.push(await deliverButlerEffect(delivery.text, `turn:${subject}:${message.updateId}:delivery:${deliveryOrdinal++}`, undefined, (messageId, chunk) => { deliveredMessageIds.push(messageId); deliveredChunks.push(chunk); }, exactDownloadCreditQuestion, chat.replyToMessageId()));
1770
+ turnEffects.push(await deliverButlerEffect(delivery.text, `turn:${subject}:${message.updateId}:delivery:${deliveryOrdinal++}`, undefined, (messageId, chunk) => { deliveredMessageIds.push(messageId); deliveredChunks.push(chunk); }, normalizedRequest, chat.replyToMessageId()));
1775
1771
  }
1776
1772
  },
1777
1773
  },
@@ -1806,7 +1802,7 @@ function createTelegramSenseApp(options) {
1806
1802
  else {
1807
1803
  const responseFallback = responseFallbackAfterDeliveries(result, turnEffects.length);
1808
1804
  if (responseFallback) {
1809
- const artifact = await deliverButlerEffect(responseFallback, `turn:${subject}:${message.updateId}:delivery:${deliveryOrdinal++}`, undefined, (messageId, chunk) => { deliveredMessageIds.push(messageId); deliveredChunks.push(chunk); }, exactDownloadCreditQuestion);
1805
+ const artifact = await deliverButlerEffect(responseFallback, `turn:${subject}:${message.updateId}:delivery:${deliveryOrdinal++}`, undefined, (messageId, chunk) => { deliveredMessageIds.push(messageId); deliveredChunks.push(chunk); }, normalizedRequest);
1810
1806
  turnEffects.push(artifact);
1811
1807
  responseFallbackArtifactId = artifact.id;
1812
1808
  }
@@ -1853,7 +1849,7 @@ function createTelegramSenseApp(options) {
1853
1849
  telegramInboundTurn.getStore().failure = `the turn failed (${errorCategory})`;
1854
1850
  const fallback = "I couldn't complete that turn. The failure was recorded; please try again.";
1855
1851
  if (deliveredMessageIds.length === 0)
1856
- turnEffects.push(await deliverButlerEffect(fallback, `turn:${subject}:${message.updateId}:fallback`, undefined, (messageId, chunk) => { deliveredMessageIds.push(messageId); deliveredChunks.push(chunk); }, exactDownloadCreditQuestion));
1852
+ turnEffects.push(await deliverButlerEffect(fallback, `turn:${subject}:${message.updateId}:fallback`, undefined, (messageId, chunk) => { deliveredMessageIds.push(messageId); deliveredChunks.push(chunk); }, normalizedRequest));
1857
1853
  await recordAcceptedEffects(currentSessionPath, turnEffects, { text: message.text, reference: inboundReference, attachmentIds: hydrated.attachmentIds });
1858
1854
  }
1859
1855
  finally {
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@ouro.bot/cli",
3
- "version": "0.1.0-alpha.1717",
3
+ "version": "0.1.0-alpha.1719",
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.1717",
9
+ "version": "0.1.0-alpha.1719",
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.1717",
3
+ "version": "0.1.0-alpha.1719",
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": {