@ouro.bot/cli 0.1.0-alpha.1408 → 0.1.0-alpha.1409

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
@@ -2,9 +2,10 @@
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
4
  {
5
- "version": "0.1.0-alpha.1408",
5
+ "version": "0.1.0-alpha.1409",
6
6
  "changes": [
7
- "Update the Ouro UI files to Ouro UI v1.3.465."
7
+ "Update the Ouro UI files to Ouro UI v1.3.465.",
8
+ "Status shows Teams, voice, A2A or Telegram as an error, with failure layer `live_turn_stall`, when one of its turns has gone quiet for five minutes, or for 15 while a tool call is running. Until now only iMessage could show a stalled turn."
8
9
  ]
9
10
  },
10
11
  {
@@ -1,5 +1,5 @@
1
1
  {
2
- "runtimeVersion": "0.1.0-alpha.1408",
2
+ "runtimeVersion": "0.1.0-alpha.1409",
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.1408</Repository>
4
+ <Repository>ghcr.io/ourostack/ouroboros-butler:0.1.0-alpha.1409</Repository>
5
5
  <Registry>https://github.com/ourostack/ouroboros/pkgs/container/ouroboros-butler</Registry>
6
6
  <Network>host</Network>
7
7
  <Shell>sh</Shell>
@@ -50,6 +50,7 @@ const waiting_status_1 = require("../../senses/app-sessions/waiting-status");
50
50
  const process_manager_1 = require("./process-manager");
51
51
  const presence_1 = require("./presence");
52
52
  const config_1 = require("../../a2a/config");
53
+ const turn_watch_1 = require("../../senses/turn-watch");
53
54
  const DEFAULT_TEAMS_PORT = 3978;
54
55
  const DEFAULT_BLUEBUBBLES_PORT = 18790;
55
56
  const DEFAULT_BLUEBUBBLES_WEBHOOK_PATH = "/bluebubbles-webhook";
@@ -658,6 +659,43 @@ function readBlueBubblesRuntimeFacts(agent, bundlesRoot, snapshot) {
658
659
  }
659
660
  return { runtime: snapshot?.runtime, ...proofFacts };
660
661
  }
662
+ /** The row's turn facts for a sense watched by `senses/turn-watch.ts`, and the failure when a turn has stalled. */
663
+ function turnWatchFields(watched) {
664
+ if (!watched)
665
+ return {};
666
+ const turns = watched.snapshot;
667
+ const facts = {
668
+ activeTurnCount: turns.activeTurnCount,
669
+ stalledTurnCount: turns.stalledTurnCount,
670
+ oldestActiveTurnStartedAt: turns.oldestActiveTurnStartedAt,
671
+ oldestActiveTurnAgeMs: turns.oldestActiveTurnAgeMs,
672
+ };
673
+ if (turns.stalledTurnCount === 0)
674
+ return facts;
675
+ const count = turns.stalledTurnCount;
676
+ const detail = `${count} ${count === 1 ? "turn has" : "turns have"} recorded no progress for ${Math.floor(Number(turns.longestSilenceMs) / 60_000)}m`;
677
+ return {
678
+ ...facts,
679
+ detail,
680
+ lastFailure: detail,
681
+ failureLayer: "live_turn_stall",
682
+ recoveryAction: `look in the sense's log for the turn's last step; ${stalledTurnRemedy(turns.stalledPids, watched.workerPid)}`,
683
+ };
684
+ }
685
+ /**
686
+ * How the stalled turns end. A turn can run outside the sense's worker (a daemon ask, a foreground serve), where
687
+ * restarting the sense won't end it; when the worker's pid is unknown, that can't be told.
688
+ */
689
+ function stalledTurnRemedy(stalledPids, workerPid) {
690
+ if (workerPid === undefined) {
691
+ return `the turn runs in process ${stalledPids.join(", ")}; if that is the sense's worker, restarting the sense ends it`;
692
+ }
693
+ const others = stalledPids.filter((pid) => pid !== workerPid);
694
+ if (others.length === 0)
695
+ return "restarting the sense ends the turn";
696
+ const outside = `the turn in process ${others.join(", ")} runs outside the sense's worker and ends only with that process`;
697
+ return others.length < stalledPids.length ? `restarting the sense ends the worker's turn; ${outside}` : outside;
698
+ }
661
699
  class DaemonSenseManager {
662
700
  processManager;
663
701
  contexts;
@@ -1134,6 +1172,8 @@ class DaemonSenseManager {
1134
1172
  }
1135
1173
  listSenseRows() {
1136
1174
  const runtime = new Map();
1175
+ const runningSince = new Map();
1176
+ const workerPids = new Map();
1137
1177
  for (const snapshot of this.processManager.listAgentSnapshots()) {
1138
1178
  const parsed = parseSenseSnapshotName(snapshot.name);
1139
1179
  if (!parsed)
@@ -1141,6 +1181,12 @@ class DaemonSenseManager {
1141
1181
  const current = runtime.get(parsed.agent) ?? {};
1142
1182
  current[parsed.sense] = runtimeInfoFor(snapshot.status);
1143
1183
  runtime.set(parsed.agent, current);
1184
+ if (snapshot.status === "running") {
1185
+ const startedMs = Date.parse(snapshot.startedAt ?? "");
1186
+ runningSince.set(snapshot.name, Number.isFinite(startedMs) ? startedMs : Number.NEGATIVE_INFINITY);
1187
+ if (typeof snapshot.pid === "number")
1188
+ workerPids.set(snapshot.name, snapshot.pid);
1189
+ }
1144
1190
  }
1145
1191
  const rows = [...this.contexts.entries()].flatMap(([agent, context]) => {
1146
1192
  context.facts = senseFactsFromRuntimeConfig(agent, context.senses, (0, runtime_credentials_1.readRuntimeCredentialConfig)(agent), (0, runtime_credentials_1.readMachineRuntimeCredentialConfig)(agent), context.workbenchHasStaleBundleEntry);
@@ -1193,6 +1239,19 @@ class DaemonSenseManager {
1193
1239
  ...(runtime.get(agent)?.["app-sessions"] ?? {}),
1194
1240
  },
1195
1241
  };
1242
+ // A running turn on a sense that has gone quiet for too long makes the sense an error.
1243
+ const turns = {};
1244
+ for (const sense of Object.keys(runtimeInfo)) {
1245
+ const since = runningSince.get(`${agent}:${sense}`);
1246
+ if (!(0, turn_watch_1.isWatchedSense)(sense) || !context.senses[sense].enabled || since === undefined)
1247
+ continue;
1248
+ const snapshot = (0, turn_watch_1.snapshotTurnsInFlight)(path.join(this.bundlesRoot, `${agent}.ouro`), sense, Date.now(), undefined, since);
1249
+ if (snapshot.activeTurnCount === 0)
1250
+ continue;
1251
+ turns[sense] = { snapshot, workerPid: workerPids.get(`${agent}:${sense}`) };
1252
+ if (snapshot.stalledTurnCount > 0)
1253
+ runtimeInfo[sense] = { ...runtimeInfo[sense], runtime: "error" };
1254
+ }
1196
1255
  const inventory = (0, sense_truth_1.getSenseInventory)({ senses: context.senses }, runtimeInfo);
1197
1256
  return inventory.map((entry) => {
1198
1257
  // A shared sense another machine runs under the presence roster is absent here by design, not broken.
@@ -1244,6 +1303,7 @@ class DaemonSenseManager {
1244
1303
  oldestActiveTurnStartedAt: blueBubblesRuntimeFacts.oldestActiveTurnStartedAt,
1245
1304
  oldestActiveTurnAgeMs: blueBubblesRuntimeFacts.oldestActiveTurnAgeMs,
1246
1305
  } : {}),
1306
+ ...turnWatchFields(turns[entry.sense]),
1247
1307
  };
1248
1308
  });
1249
1309
  });
@@ -78,6 +78,7 @@ const flight_recorder_1 = require("../arc/flight-recorder");
78
78
  const context_loss_sentinel_1 = require("../heart/context-loss-sentinel");
79
79
  const cares_1 = require("../arc/cares");
80
80
  const turn_execution_lease_1 = require("../heart/turn-execution-lease");
81
+ const turn_watch_1 = require("./turn-watch");
81
82
  const friend_link_codes_1 = require("../mind/friend-link-codes");
82
83
  const VOICE_PENDING_MAX_AGE_MS = 15 * 60 * 1_000;
83
84
  const TELEGRAM_GENERIC_OUTREACH_PENDING_MAX_AGE_MS = 15 * 60 * 1_000;
@@ -545,7 +546,33 @@ function erroredTurnReply(errorMessage) {
545
546
  : "I couldn't finish that one: something went wrong before I had an answer. Ask me again and I'll retry.";
546
547
  }
547
548
  async function handleInboundTurn(input) {
548
- return (0, turn_execution_lease_1.withTurnExecutionLease)(() => handleInboundTurnExclusive(input), input.stopQueueWaitOnAbort ? input.signal : undefined);
549
+ return (0, turn_execution_lease_1.withTurnExecutionLease)(() => handleWatchedInboundTurn(input), input.stopQueueWaitOnAbort ? input.signal : undefined);
550
+ }
551
+ /**
552
+ * Records the turn while it runs, so status can show a sense whose turn has stopped moving. The caller's input keeps
553
+ * its identity (the turn writes back to it); only its callbacks are swapped for the watched ones, and put back after.
554
+ */
555
+ async function handleWatchedInboundTurn(input) {
556
+ if (!(0, turn_watch_1.isWatchedSense)(input.channel))
557
+ return handleInboundTurnExclusive(input);
558
+ let agentRoot;
559
+ try {
560
+ agentRoot = (0, identity_1.getAgentRoot)();
561
+ }
562
+ catch {
563
+ // No agent named in this process, so there is nowhere to record the turn. Watching must never stop a turn.
564
+ return handleInboundTurnExclusive(input);
565
+ }
566
+ const watch = (0, turn_watch_1.beginTurnInFlight)(agentRoot, input.channel, input.sessionKey ?? "session");
567
+ const callbacks = input.callbacks;
568
+ input.callbacks = (0, turn_watch_1.watchTurnCallbacks)(callbacks, watch);
569
+ try {
570
+ return await handleInboundTurnExclusive(input);
571
+ }
572
+ finally {
573
+ input.callbacks = callbacks;
574
+ watch.finish();
575
+ }
549
576
  }
550
577
  async function handleInboundTurnExclusive(input) {
551
578
  // Continuity resumption is structured caller intent. Never infer it from the
@@ -0,0 +1,268 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || (function () {
19
+ var ownKeys = function(o) {
20
+ ownKeys = Object.getOwnPropertyNames || function (o) {
21
+ var ar = [];
22
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
+ return ar;
24
+ };
25
+ return ownKeys(o);
26
+ };
27
+ return function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ })();
35
+ Object.defineProperty(exports, "__esModule", { value: true });
36
+ exports.PROGRESS_WRITE_EVERY_MS = exports.TOOL_STALLED_AFTER_MS = exports.TURN_STALLED_AFTER_MS = void 0;
37
+ exports.isWatchedSense = isWatchedSense;
38
+ exports.beginTurnInFlight = beginTurnInFlight;
39
+ exports.snapshotTurnsInFlight = snapshotTurnsInFlight;
40
+ exports.watchTurnCallbacks = watchTurnCallbacks;
41
+ const fs = __importStar(require("node:fs"));
42
+ const path = __importStar(require("node:path"));
43
+ const runtime_1 = require("../nerves/runtime");
44
+ /**
45
+ * Lets status see a turn that has stopped moving, on the senses whose turns run through the shared pipeline and have
46
+ * a status row of their own. Each running turn leaves a record under `state/senses/<sense>/turns-in-flight/`; the
47
+ * daemon reads them and shows the sense as an error once a turn has gone quiet for too long. iMessage keeps its own
48
+ * tracker (`bluebubbles/active-turns.ts`). Mail is not here: its messages are answered by private-runtime turns.
49
+ */
50
+ /** A turn with no model output or tool activity for this long counts as stalled. */
51
+ exports.TURN_STALLED_AFTER_MS = 5 * 60_000;
52
+ /**
53
+ * While a tool runs, the turn is quiet until it ends. The shell and MCP tools stop a call after at most 10 minutes
54
+ * (`tools-shell.ts`, `mcp-client.ts`), so a tool still running after 15 counts as stalled.
55
+ */
56
+ exports.TOOL_STALLED_AFTER_MS = 15 * 60_000;
57
+ /**
58
+ * Progress is written at most this often, so a streaming reply doesn't write a file per chunk. The record can be this
59
+ * far behind, so a turn counts as stalled only this much after the limit, which keeps every stall a real one.
60
+ */
61
+ exports.PROGRESS_WRITE_EVERY_MS = 30_000;
62
+ const WATCHED_SENSES = new Set(["teams", "voice", "a2a", "telegram"]);
63
+ /** Whether turns on this channel are watched here. iMessage has its own tracker; the CLI and private-runtime turns have no row. */
64
+ function isWatchedSense(channel) {
65
+ return WATCHED_SENSES.has(channel);
66
+ }
67
+ function turnsDir(agentRoot, sense) {
68
+ return path.join(agentRoot, "state", "senses", sense, "turns-in-flight");
69
+ }
70
+ function pidAlive(pid) {
71
+ try {
72
+ process.kill(pid, 0);
73
+ return true;
74
+ }
75
+ catch {
76
+ return false;
77
+ }
78
+ }
79
+ function parseRecord(raw) {
80
+ let parsed;
81
+ try {
82
+ parsed = JSON.parse(raw);
83
+ }
84
+ catch {
85
+ return null;
86
+ }
87
+ if (!parsed || typeof parsed !== "object")
88
+ return null;
89
+ const record = parsed;
90
+ if (typeof record.pid !== "number" || typeof record.sessionKey !== "string" || typeof record.toolsRunning !== "number")
91
+ return null;
92
+ if (!Number.isFinite(Date.parse(String(record.startedAt))) || !Number.isFinite(Date.parse(String(record.lastProgressAt))))
93
+ return null;
94
+ return record;
95
+ }
96
+ function readRecords(dir) {
97
+ let names;
98
+ try {
99
+ names = fs.readdirSync(dir);
100
+ }
101
+ catch {
102
+ return [];
103
+ }
104
+ return names.filter((name) => name.endsWith(".json")).map((name) => {
105
+ const file = path.join(dir, name);
106
+ let raw = "";
107
+ try {
108
+ raw = fs.readFileSync(file, "utf-8");
109
+ }
110
+ catch {
111
+ // Removed between listing and reading: the turn ended.
112
+ }
113
+ return { file, record: parseRecord(raw) };
114
+ });
115
+ }
116
+ function reportWriteError(sense, action, error) {
117
+ (0, runtime_1.emitNervesEvent)({
118
+ level: "warn",
119
+ component: "senses",
120
+ event: "senses.turn_watch_write_error",
121
+ message: "could not update a turn's in-flight record; status may not show this turn",
122
+ meta: { sense, action, error: String(error) },
123
+ });
124
+ }
125
+ /** The records of the turns this process is running now. Any other record of this pid is left from an earlier process. */
126
+ const liveTurnFiles = new Set();
127
+ let turnSequence = 0;
128
+ function clearLeftovers(dir) {
129
+ for (const { file, record } of readRecords(dir)) {
130
+ if (liveTurnFiles.has(file))
131
+ continue;
132
+ if (record && record.pid !== process.pid && pidAlive(record.pid))
133
+ continue;
134
+ fs.rmSync(file, { force: true });
135
+ }
136
+ }
137
+ /**
138
+ * Starts recording a turn on `sense`. Never throws: a record that can't be written only means status can't see the
139
+ * turn, which is reported once as a warning.
140
+ */
141
+ function beginTurnInFlight(agentRoot, sense, sessionKey, nowMs = Date.now()) {
142
+ const dir = turnsDir(agentRoot, sense);
143
+ turnSequence += 1;
144
+ const file = path.join(dir, `${process.pid}-${turnSequence}.json`);
145
+ const startedAt = new Date(nowMs).toISOString();
146
+ let lastWrittenMs = nowMs;
147
+ let toolsRunning = 0;
148
+ let finished = false;
149
+ let failed = false;
150
+ const write = (progressMs) => {
151
+ lastWrittenMs = progressMs;
152
+ const record = { pid: process.pid, sessionKey, startedAt, lastProgressAt: new Date(progressMs).toISOString(), toolsRunning };
153
+ const tmp = `${file}.tmp`;
154
+ try {
155
+ fs.writeFileSync(tmp, JSON.stringify(record) + "\n", "utf-8");
156
+ fs.renameSync(tmp, file);
157
+ }
158
+ catch (error) {
159
+ if (!failed)
160
+ reportWriteError(sense, "write", error);
161
+ failed = true;
162
+ try {
163
+ fs.rmSync(tmp, { force: true });
164
+ }
165
+ catch {
166
+ // The folder itself is gone or unusable; nothing was left in it.
167
+ }
168
+ }
169
+ };
170
+ try {
171
+ fs.mkdirSync(dir, { recursive: true });
172
+ clearLeftovers(dir);
173
+ }
174
+ catch (error) {
175
+ reportWriteError(sense, "prepare", error);
176
+ failed = true;
177
+ }
178
+ liveTurnFiles.add(file);
179
+ write(nowMs);
180
+ (0, runtime_1.emitNervesEvent)({ component: "senses", event: "senses.turn_watch_started", message: "turn started", meta: { sense, sessionKey } });
181
+ return {
182
+ touch(progressMs = Date.now()) {
183
+ if (finished || progressMs - lastWrittenMs < exports.PROGRESS_WRITE_EVERY_MS)
184
+ return;
185
+ write(progressMs);
186
+ },
187
+ toolStarted(progressMs = Date.now()) {
188
+ if (finished)
189
+ return;
190
+ toolsRunning += 1;
191
+ write(progressMs);
192
+ },
193
+ toolEnded(progressMs = Date.now()) {
194
+ if (finished)
195
+ return;
196
+ toolsRunning = Math.max(0, toolsRunning - 1);
197
+ write(progressMs);
198
+ },
199
+ finish() {
200
+ if (finished)
201
+ return;
202
+ finished = true;
203
+ liveTurnFiles.delete(file);
204
+ try {
205
+ fs.rmSync(file, { force: true });
206
+ }
207
+ catch (error) {
208
+ reportWriteError(sense, "remove", error);
209
+ }
210
+ (0, runtime_1.emitNervesEvent)({ component: "senses", event: "senses.turn_watch_finished", message: "turn finished", meta: { sense, sessionKey } });
211
+ },
212
+ };
213
+ }
214
+ /**
215
+ * What status shows about a sense's running turns. Records of processes that are gone don't count, nor records that
216
+ * started before `notBeforeMs` (when the sense's current process started): those are left from an earlier run.
217
+ */
218
+ function snapshotTurnsInFlight(agentRoot, sense, nowMs = Date.now(), isAlive = pidAlive, notBeforeMs = Number.NEGATIVE_INFINITY) {
219
+ const records = readRecords(turnsDir(agentRoot, sense))
220
+ .map(({ record }) => record)
221
+ .filter((record) => record !== null && Date.parse(record.startedAt) >= notBeforeMs && isAlive(record.pid));
222
+ if (records.length === 0)
223
+ return { activeTurnCount: 0, stalledTurnCount: 0 };
224
+ const oldest = records.reduce((a, b) => (Date.parse(b.startedAt) < Date.parse(a.startedAt) ? b : a));
225
+ const stalled = records
226
+ .map((record) => ({ pid: record.pid, silenceMs: nowMs - Date.parse(record.lastProgressAt), limitMs: record.toolsRunning > 0 ? exports.TOOL_STALLED_AFTER_MS : exports.TURN_STALLED_AFTER_MS }))
227
+ .filter((turn) => turn.silenceMs >= turn.limitMs + exports.PROGRESS_WRITE_EVERY_MS);
228
+ return {
229
+ activeTurnCount: records.length,
230
+ stalledTurnCount: stalled.length,
231
+ oldestActiveTurnStartedAt: oldest.startedAt,
232
+ oldestActiveTurnAgeMs: Math.max(0, nowMs - Date.parse(oldest.startedAt)),
233
+ ...(stalled.length > 0 ? {
234
+ longestSilenceMs: Math.max(...stalled.map((turn) => turn.silenceMs)),
235
+ stalledPids: [...new Set(stalled.map((turn) => turn.pid))].sort((a, b) => a - b),
236
+ } : {}),
237
+ };
238
+ }
239
+ const PROGRESS_CALLBACKS = new Set([
240
+ "onModelStart",
241
+ "onModelStreamStart",
242
+ "onTextChunk",
243
+ "onReasoningChunk",
244
+ "onToolResult",
245
+ ]);
246
+ /**
247
+ * The same callbacks, with every model or tool callback also counting as progress, and tool calls marked while they
248
+ * run. Every other field reads and writes through to the original object, and each call runs on it.
249
+ */
250
+ function watchTurnCallbacks(callbacks, progress) {
251
+ return new Proxy(callbacks, {
252
+ get(target, key) {
253
+ const value = Reflect.get(target, key, target);
254
+ if (typeof value !== "function")
255
+ return value;
256
+ const note = key === "onToolStart" ? () => progress.toolStarted()
257
+ : key === "onToolEnd" ? () => progress.toolEnded()
258
+ : PROGRESS_CALLBACKS.has(key) ? () => progress.touch()
259
+ : null;
260
+ if (!note)
261
+ return value;
262
+ return (...args) => {
263
+ note();
264
+ return value.apply(target, args);
265
+ };
266
+ },
267
+ });
268
+ }
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@ouro.bot/cli",
3
- "version": "0.1.0-alpha.1408",
3
+ "version": "0.1.0-alpha.1409",
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.1408",
9
+ "version": "0.1.0-alpha.1409",
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.1408",
3
+ "version": "0.1.0-alpha.1409",
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": {