@camstack/server 1.2.822 → 1.2.823

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.
Files changed (99) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/package.json +8 -9
  3. package/system/dist/addon-runner.js +18 -13
  4. package/system/dist/addon-runner.mjs +19 -14
  5. package/system/dist/addon-utils.mjs +1 -1
  6. package/system/dist/{agent-https-C4yxMErF.mjs → agent-https-CDl7mB_F.mjs} +1 -1
  7. package/system/dist/{agent-https-SGBI0xP8.js → agent-https-Df53Fvk1.js} +1 -1
  8. package/system/dist/builtins/addon-pages-aggregator/addon-pages-aggregator.addon.js +1 -1
  9. package/system/dist/builtins/addon-pages-aggregator/addon-pages-aggregator.addon.mjs +4 -4
  10. package/system/dist/builtins/addon-widgets-aggregator/addon-widgets-aggregator.addon.js +1 -1
  11. package/system/dist/builtins/addon-widgets-aggregator/addon-widgets-aggregator.addon.mjs +5 -5
  12. package/system/dist/builtins/alerts/alerts.addon.js +1 -1
  13. package/system/dist/builtins/alerts/alerts.addon.mjs +3 -3
  14. package/system/dist/builtins/autotrack/index.js +1 -1
  15. package/system/dist/builtins/autotrack/index.mjs +1 -1
  16. package/system/dist/builtins/backup-orchestrator/backup-orchestrator.addon.js +2 -2
  17. package/system/dist/builtins/backup-orchestrator/backup-orchestrator.addon.mjs +5 -5
  18. package/system/dist/builtins/calendars/calendars.addon.js +1 -1
  19. package/system/dist/builtins/calendars/calendars.addon.mjs +1 -1
  20. package/system/dist/builtins/camera-grid/index.js +1 -1
  21. package/system/dist/builtins/camera-grid/index.mjs +1 -1
  22. package/system/dist/builtins/composer/composed-device-set.d.ts +5 -1
  23. package/system/dist/builtins/composer/composed-device.d.ts +4 -0
  24. package/system/dist/builtins/composer/composed-name.d.ts +30 -0
  25. package/system/dist/builtins/composer/composer.addon.js +94 -6
  26. package/system/dist/builtins/composer/composer.addon.mjs +94 -6
  27. package/system/dist/builtins/composer/composer.d.ts +13 -0
  28. package/system/dist/builtins/console-logging/index.js +1 -1
  29. package/system/dist/builtins/console-logging/index.mjs +1 -1
  30. package/system/dist/builtins/core-blocks/composition-api.d.ts +6 -0
  31. package/system/dist/builtins/core-blocks/core-blocks.addon.js +68 -4
  32. package/system/dist/builtins/core-blocks/core-blocks.addon.mjs +68 -4
  33. package/system/dist/builtins/core-blocks/rename-composition-block.d.ts +16 -0
  34. package/system/dist/builtins/core-blocks/sync-composed-device-name.d.ts +19 -0
  35. package/system/dist/builtins/device-history/device-history.addon.js +2 -2
  36. package/system/dist/builtins/device-history/device-history.addon.mjs +2 -2
  37. package/system/dist/builtins/device-manager/device-manager.addon.js +37 -3
  38. package/system/dist/builtins/device-manager/device-manager.addon.mjs +37 -3
  39. package/system/dist/builtins/hub-forwarder/index.js +1 -1
  40. package/system/dist/builtins/hub-forwarder/index.mjs +1 -1
  41. package/system/dist/builtins/keychain/index.js +4 -4
  42. package/system/dist/builtins/keychain/index.mjs +4 -4
  43. package/system/dist/builtins/liveness-monitor/liveness-monitor.addon.js +1 -1
  44. package/system/dist/builtins/liveness-monitor/liveness-monitor.addon.mjs +1 -1
  45. package/system/dist/builtins/local-auth/local-auth.addon.js +2 -2
  46. package/system/dist/builtins/local-auth/local-auth.addon.mjs +5 -5
  47. package/system/dist/builtins/local-network/local-network.addon.js +2 -2
  48. package/system/dist/builtins/local-network/local-network.addon.mjs +2 -2
  49. package/system/dist/builtins/loki-logging/index.js +1 -1
  50. package/system/dist/builtins/loki-logging/index.mjs +1 -1
  51. package/system/dist/builtins/native-metrics/native-metrics.addon.js +1 -1
  52. package/system/dist/builtins/native-metrics/native-metrics.addon.mjs +10 -10
  53. package/system/dist/builtins/platform-probe/index.js +1 -1
  54. package/system/dist/builtins/platform-probe/index.mjs +10 -10
  55. package/system/dist/builtins/record-entries/index.js +1 -1
  56. package/system/dist/builtins/record-entries/index.mjs +1 -1
  57. package/system/dist/builtins/remote-access-orchestrator/remote-access-orchestrator.addon.js +1 -1
  58. package/system/dist/builtins/remote-access-orchestrator/remote-access-orchestrator.addon.mjs +1 -1
  59. package/system/dist/builtins/snapshot/index.js +1 -1
  60. package/system/dist/builtins/snapshot/index.mjs +1 -1
  61. package/system/dist/builtins/sqlite-storage/filesystem-storage.addon.js +1 -1
  62. package/system/dist/builtins/sqlite-storage/filesystem-storage.addon.mjs +20 -20
  63. package/system/dist/builtins/sqlite-storage/index.js +1 -1
  64. package/system/dist/builtins/sqlite-storage/index.mjs +1 -1
  65. package/system/dist/builtins/sqlite-storage/sqlite-settings.addon.js +3 -3
  66. package/system/dist/builtins/sqlite-storage/sqlite-settings.addon.mjs +3 -3
  67. package/system/dist/builtins/storage-orchestrator/storage-orchestrator.addon.js +1 -1
  68. package/system/dist/builtins/storage-orchestrator/storage-orchestrator.addon.mjs +1 -1
  69. package/system/dist/builtins/system-config/system-config.addon.js +3 -3
  70. package/system/dist/builtins/system-config/system-config.addon.mjs +115 -115
  71. package/system/dist/builtins/winston-logging/index.js +1 -1
  72. package/system/dist/builtins/winston-logging/index.mjs +1 -1
  73. package/system/dist/{capture-engine-6MVUyUry.js → capture-engine-C0Z5rwCO.js} +1 -1
  74. package/system/dist/{capture-engine-BSjE-CQA.mjs → capture-engine-D_GQBgrZ.mjs} +1 -1
  75. package/system/dist/{composition-sources-BBAOXZdC.js → composition-sources-DIZx3mW3.js} +1 -1
  76. package/system/dist/{composition-sources-C8T9DRbZ.mjs → composition-sources-mx-2yCDv.mjs} +1 -1
  77. package/system/dist/{constants-CReG6K4k.mjs → constants-BQlx9HDp.mjs} +1 -1
  78. package/system/dist/{constants-v0g9--wN.js → constants-CAOcKiWT.js} +1 -1
  79. package/system/dist/{coral-accelerators-DBlgWB8k.mjs → coral-accelerators-BW3OcrLD.mjs} +6 -6
  80. package/system/dist/{custom-action-registry-B9zFBNVa.mjs → custom-action-registry-N7flBDwT.mjs} +37 -37
  81. package/system/dist/{device-ca-BFcBTfff.js → device-ca-93LsCF_Q.js} +1 -1
  82. package/system/dist/{device-ca-cX8qUs2s.mjs → device-ca-CK6GTnNh.mjs} +1 -1
  83. package/system/dist/{dist-DjBZ1HhF.mjs → dist-BQiyo22b.mjs} +76 -26
  84. package/system/dist/{dist-C2czR9xK.js → dist-izXDzt4g.js} +81 -25
  85. package/system/dist/file-host-worker.js +1 -1
  86. package/system/dist/file-host-worker.mjs +1 -1
  87. package/system/dist/{hub-mdns-ciao-CpCleue0.js → hub-mdns-ciao-Dt_tgvol.js} +2 -2
  88. package/system/dist/{hub-mdns-ciao-Cnr8xiSd.mjs → hub-mdns-ciao-srpOrqIP.mjs} +2 -2
  89. package/system/dist/index.js +26 -21
  90. package/system/dist/index.mjs +238 -233
  91. package/system/dist/{legacy-integration-rows-door-DhW6mPZj.js → legacy-integration-rows-door-BH43eDu6.js} +1 -1
  92. package/system/dist/{legacy-integration-rows-door-CGajkVPh.mjs → legacy-integration-rows-door-wu2GWY6U.mjs} +1 -1
  93. package/system/dist/rename-composition-block-6oLQVzft.js +112 -0
  94. package/system/dist/rename-composition-block-CH6ZoSJA.mjs +101 -0
  95. package/system/dist/{restore-archive-eA7L58KT.mjs → restore-archive-C4rR2SYV.mjs} +94 -94
  96. package/system/dist/{restore-archive-BLab80kx.js → restore-archive-DpZ2PbLN.js} +1 -1
  97. package/system/dist/{wal-maintenance-DeBxoOFh.mjs → wal-maintenance-CNfp0HHX.mjs} +0 -0
  98. package/system/dist/{wal-maintenance-DhnSF7K-.js → wal-maintenance-DAA2qJja.js} +0 -0
  99. package/system/package.json +1 -1
@@ -3,7 +3,7 @@ Object.defineProperties(exports, {
3
3
  [Symbol.toStringTag]: { value: "Module" }
4
4
  });
5
5
  const require_chunk = require("../../chunk-Cek0wNdY.js");
6
- const require_dist = require("../../dist-C2czR9xK.js");
6
+ const require_dist = require("../../dist-izXDzt4g.js");
7
7
  const require_formatter = require("../../formatter-xbxeV4GD.js");
8
8
  const require_log_file_read_protocol = require("../../log-file-read-protocol-DSV_vQRb.js");
9
9
  let node_path = require("node:path");
@@ -1,4 +1,4 @@
1
- import { ic as defineAddonMigrations, os as BaseAddon, ta as preconditionOf, xi as logDestinationCapability } from "../../dist-DjBZ1HhF.mjs";
1
+ import { ic as defineAddonMigrations, os as BaseAddon, ta as preconditionOf, xi as logDestinationCapability } from "../../dist-BQiyo22b.mjs";
2
2
  import { t as formatLogLine } from "../../formatter-DkYZ4LXp.mjs";
3
3
  import { a as LogFileIndexStore, i as serveRead, n as isFromReader, t as CancelBook } from "../../log-file-read-protocol-hTaAsYlX.mjs";
4
4
  import { createRequire } from "node:module";
@@ -1,4 +1,4 @@
1
- const require_dist = require("./dist-C2czR9xK.js");
1
+ const require_dist = require("./dist-izXDzt4g.js");
2
2
  //#region src/builtins/device-history/store/series-registry.ts
3
3
  function subjectIdOf(subject) {
4
4
  return subject.kind === "device" ? `d:${subject.deviceId}` : `n:${subject.nodeId}`;
@@ -1,4 +1,4 @@
1
- import { gs as HISTORY_DEFAULT_MIN_INTERVAL_MS, mc as historyItemFieldPath, tl as DeviceType } from "./dist-DjBZ1HhF.mjs";
1
+ import { gs as HISTORY_DEFAULT_MIN_INTERVAL_MS, mc as historyItemFieldPath, nl as DeviceType } from "./dist-BQiyo22b.mjs";
2
2
  //#region src/builtins/device-history/store/series-registry.ts
3
3
  function subjectIdOf(subject) {
4
4
  return subject.kind === "device" ? `d:${subject.deviceId}` : `n:${subject.nodeId}`;
@@ -1,4 +1,4 @@
1
- const require_dist = require("./dist-C2czR9xK.js");
1
+ const require_dist = require("./dist-izXDzt4g.js");
2
2
  //#region src/builtins/shared/device-state-changed.ts
3
3
  /** Structural narrowing helper for untrusted bus payloads. */
4
4
  function isRecord(value) {
@@ -1,4 +1,4 @@
1
- import { Ho as compositionSourceKey, nl as errMsg } from "./dist-DjBZ1HhF.mjs";
1
+ import { Ho as compositionSourceKey, rl as errMsg } from "./dist-BQiyo22b.mjs";
2
2
  //#region src/builtins/shared/device-state-changed.ts
3
3
  /** Structural narrowing helper for untrusted bus payloads. */
4
4
  function isRecord(value) {
@@ -1,4 +1,4 @@
1
- import { Ys as buildSecretRef } from "./dist-DjBZ1HhF.mjs";
1
+ import { Ys as buildSecretRef } from "./dist-BQiyo22b.mjs";
2
2
  /** `secret://system/global/meshCaKey` — EC P-256 PKCS#8 PEM of the hub mesh CA. */
3
3
  var MESH_CA_KEY_REF = buildSecretRef({
4
4
  owner: "system",
@@ -1,5 +1,5 @@
1
1
  /** `secret://system/global/meshCaKey` — EC P-256 PKCS#8 PEM of the hub mesh CA. */
2
- var MESH_CA_KEY_REF = require("./dist-C2czR9xK.js").buildSecretRef({
2
+ var MESH_CA_KEY_REF = require("./dist-izXDzt4g.js").buildSecretRef({
3
3
  owner: "system",
4
4
  scope: { kind: "global" },
5
5
  fieldPath: "meshCaKey"
@@ -1,5 +1,5 @@
1
1
  import { EDGETPU_LIB_ENV, chooseEdgetpuDelegate, nodeDataRootFromEnv } from "@camstack/types/node";
2
- import fs from "node:fs";
2
+ import Kt from "node:fs";
3
3
  //#region src/builtins/platform-probe/coral-accelerators.ts
4
4
  /**
5
5
  * Coral USB Edge TPU USB identifiers.
@@ -185,21 +185,21 @@ function detectCoralAccelerator(fsx, delegateHost = currentDelegateHost()) {
185
185
  }
186
186
  function safeListOrNull(dir) {
187
187
  try {
188
- return fs.readdirSync(dir);
188
+ return Kt.readdirSync(dir);
189
189
  } catch {
190
190
  return null;
191
191
  }
192
192
  }
193
193
  function safeList(dir) {
194
194
  try {
195
- return fs.readdirSync(dir);
195
+ return Kt.readdirSync(dir);
196
196
  } catch {
197
197
  return [];
198
198
  }
199
199
  }
200
200
  function safeRead(path) {
201
201
  try {
202
- return fs.readFileSync(path, "utf8").trim();
202
+ return Kt.readFileSync(path, "utf8").trim();
203
203
  } catch {
204
204
  return "";
205
205
  }
@@ -213,7 +213,7 @@ var nodeCoralFs = {
213
213
  listApexClass: () => safeList("/sys/class/apex"),
214
214
  canOpen: (path) => {
215
215
  try {
216
- fs.accessSync(path, fs.constants.R_OK | fs.constants.W_OK);
216
+ Kt.accessSync(path, Kt.constants.R_OK | Kt.constants.W_OK);
217
217
  return true;
218
218
  } catch {
219
219
  return false;
@@ -221,7 +221,7 @@ var nodeCoralFs = {
221
221
  },
222
222
  exists: (path) => {
223
223
  try {
224
- return fs.existsSync(path);
224
+ return Kt.existsSync(path);
225
225
  } catch {
226
226
  return false;
227
227
  }
@@ -1,5 +1,5 @@
1
1
  import { createHash } from "node:crypto";
2
- import * as fs$1 from "node:fs";
2
+ import * as fs from "node:fs";
3
3
  import { createReadStream, promises } from "node:fs";
4
4
  import * as path$1 from "node:path";
5
5
  import path from "node:path";
@@ -159,7 +159,7 @@ var HOSTED_MODEL_REVISIONS = {
159
159
  //#endregion
160
160
  //#region src/download/model-downloader.ts
161
161
  function isNonEmptyFile(filePath) {
162
- return fs$1.existsSync(filePath) && fs$1.statSync(filePath).size > 0;
162
+ return fs.existsSync(filePath) && fs.statSync(filePath).size > 0;
163
163
  }
164
164
  /**
165
165
  * Sibling files of a single-file (non-directory) format — extra files the
@@ -269,11 +269,11 @@ function resolveRedirectUrl(current, location) {
269
269
  return new URL(location, current);
270
270
  }
271
271
  async function downloadFile(url, destPath, onProgressOrOptions) {
272
- if (fs$1.existsSync(destPath)) return destPath;
272
+ if (fs.existsSync(destPath)) return destPath;
273
273
  const opts = normalizeDownloadOptions(onProgressOrOptions);
274
274
  const fetchImpl = opts.fetchImpl ?? fetch;
275
275
  const maxRedirects = opts.maxRedirects ?? DEFAULT_MAX_REDIRECTS;
276
- fs$1.mkdirSync(path$1.dirname(destPath), { recursive: true });
276
+ fs.mkdirSync(path$1.dirname(destPath), { recursive: true });
277
277
  const tmpPath = destPath + ".downloading";
278
278
  try {
279
279
  let current = url;
@@ -315,7 +315,7 @@ async function downloadFile(url, destPath, onProgressOrOptions) {
315
315
  if (!response.body) throw new Error(`No response body from ${url}`);
316
316
  const total = parseInt(response.headers.get("content-length") ?? "0", 10);
317
317
  let downloaded = 0;
318
- const fileStream = fs$1.createWriteStream(tmpPath);
318
+ const fileStream = fs.createWriteStream(tmpPath);
319
319
  const reader = response.body.getReader();
320
320
  try {
321
321
  for (;;) {
@@ -333,11 +333,11 @@ async function downloadFile(url, destPath, onProgressOrOptions) {
333
333
  fileStream.on("error", reject);
334
334
  });
335
335
  }
336
- fs$1.renameSync(tmpPath, destPath);
336
+ fs.renameSync(tmpPath, destPath);
337
337
  return destPath;
338
338
  } catch (err) {
339
339
  try {
340
- fs$1.unlinkSync(tmpPath);
340
+ fs.unlinkSync(tmpPath);
341
341
  } catch {}
342
342
  throw err;
343
343
  }
@@ -368,12 +368,12 @@ async function downloadModel(options) {
368
368
  const { url, fallbackUrls = [], destDir, filename, expectedSha256, onProgress } = options;
369
369
  const fname = filename ?? url.split("/").pop() ?? "model.bin";
370
370
  const destPath = path$1.join(destDir, fname);
371
- if (fs$1.existsSync(destPath)) return {
371
+ if (fs.existsSync(destPath)) return {
372
372
  filePath: destPath,
373
373
  downloadedBytes: 0,
374
374
  fromCache: true
375
375
  };
376
- fs$1.mkdirSync(destDir, { recursive: true });
376
+ fs.mkdirSync(destDir, { recursive: true });
377
377
  const urls = [url, ...fallbackUrls];
378
378
  let lastError = null;
379
379
  for (const tryUrl of urls) try {
@@ -381,25 +381,25 @@ async function downloadModel(options) {
381
381
  if (expectedSha256) {
382
382
  const hash = await computeSha256(destPath);
383
383
  if (hash !== expectedSha256) {
384
- fs$1.unlinkSync(destPath);
384
+ fs.unlinkSync(destPath);
385
385
  throw new Error(`SHA256 mismatch: expected ${expectedSha256}, got ${hash}`);
386
386
  }
387
387
  }
388
388
  return {
389
389
  filePath: destPath,
390
- downloadedBytes: fs$1.statSync(destPath).size,
390
+ downloadedBytes: fs.statSync(destPath).size,
391
391
  fromCache: false
392
392
  };
393
393
  } catch (e) {
394
394
  lastError = e;
395
- if (fs$1.existsSync(destPath)) fs$1.unlinkSync(destPath);
395
+ if (fs.existsSync(destPath)) fs.unlinkSync(destPath);
396
396
  }
397
397
  throw lastError ?? /* @__PURE__ */ new Error(`Failed to download model from ${url}`);
398
398
  }
399
399
  async function computeSha256(filePath) {
400
400
  return new Promise((resolve, reject) => {
401
401
  const hash = createHash("sha256");
402
- const stream = fs$1.createReadStream(filePath);
402
+ const stream = fs.createReadStream(filePath);
403
403
  stream.on("data", (chunk) => hash.update(chunk));
404
404
  stream.on("end", () => resolve(hash.digest("hex")));
405
405
  stream.on("error", reject);
@@ -424,28 +424,28 @@ async function downloadDirectory(url, destDir, knownFiles, onProgress) {
424
424
  fileUrl: `https://huggingface.co/${repo}/resolve/main/${dirPath}/${f}`
425
425
  }));
426
426
  const tmpDir = destDir + ".downloading";
427
- fs$1.rmSync(tmpDir, {
427
+ fs.rmSync(tmpDir, {
428
428
  recursive: true,
429
429
  force: true
430
430
  });
431
- fs$1.mkdirSync(tmpDir, { recursive: true });
431
+ fs.mkdirSync(tmpDir, { recursive: true });
432
432
  let totalDownloaded = 0;
433
433
  try {
434
434
  for (const file of files) {
435
435
  const destPath = path$1.join(tmpDir, file.relativePath);
436
- fs$1.mkdirSync(path$1.dirname(destPath), { recursive: true });
436
+ fs.mkdirSync(path$1.dirname(destPath), { recursive: true });
437
437
  await downloadFile(file.fileUrl, destPath, (downloaded, _total) => {
438
438
  onProgress?.(totalDownloaded + downloaded, void 0);
439
439
  });
440
- totalDownloaded += fs$1.statSync(destPath).size;
440
+ totalDownloaded += fs.statSync(destPath).size;
441
441
  }
442
- fs$1.rmSync(destDir, {
442
+ fs.rmSync(destDir, {
443
443
  recursive: true,
444
444
  force: true
445
445
  });
446
- fs$1.renameSync(tmpDir, destDir);
446
+ fs.renameSync(tmpDir, destDir);
447
447
  } catch (err) {
448
- fs$1.rmSync(tmpDir, {
448
+ fs.rmSync(tmpDir, {
449
449
  recursive: true,
450
450
  force: true
451
451
  });
@@ -477,7 +477,7 @@ function revisionRecordPath(modelPath) {
477
477
  }
478
478
  function readRevisionRecord(modelPath) {
479
479
  try {
480
- return fs$1.readFileSync(revisionRecordPath(modelPath), "utf8").trim();
480
+ return fs.readFileSync(revisionRecordPath(modelPath), "utf8").trim();
481
481
  } catch {
482
482
  return null;
483
483
  }
@@ -541,8 +541,8 @@ function writeRevisionRecord(modelPath, revision) {
541
541
  if (revision === void 0) return;
542
542
  const record = revisionRecordPath(modelPath);
543
543
  const tmp = `${record}.tmp`;
544
- fs$1.writeFileSync(tmp, `${revision}\n`);
545
- fs$1.renameSync(tmp, record);
544
+ fs.writeFileSync(tmp, `${revision}\n`);
545
+ fs.renameSync(tmp, record);
546
546
  }
547
547
  /**
548
548
  * Prove an unrecorded (or differently recorded) copy current by hashing its
@@ -562,9 +562,9 @@ async function adoptByHash(modelsDir, modelPath, formatEntry) {
562
562
  }
563
563
  /** True when every file of the format is on disk, whatever revision it holds. */
564
564
  function isCompleteCopy(modelsDir, modelPath, formatEntry) {
565
- if (!fs$1.existsSync(modelPath)) return false;
566
- if (formatEntry.isDirectory) return fs$1.existsSync(path$1.join(modelPath, "Manifest.json"));
567
- if (fs$1.statSync(modelPath).size <= 0) return false;
565
+ if (!fs.existsSync(modelPath)) return false;
566
+ if (formatEntry.isDirectory) return fs.existsSync(path$1.join(modelPath, "Manifest.json"));
567
+ if (fs.statSync(modelPath).size <= 0) return false;
568
568
  return siblingFilesFor(formatEntry).every((f) => isNonEmptyFile(path$1.join(modelsDir, f)));
569
569
  }
570
570
  /**
@@ -586,14 +586,14 @@ async function replaceSingleFileFormat(url, modelPath, modelsDir, siblings, onPr
586
586
  }));
587
587
  try {
588
588
  for (const [i, part] of parts.entries()) {
589
- fs$1.rmSync(part.staged, { force: true });
589
+ fs.rmSync(part.staged, { force: true });
590
590
  await downloadFile(part.url, part.staged, i === 0 ? (downloaded, total) => onProgress?.(downloaded, total === 0 ? void 0 : total) : void 0);
591
591
  }
592
592
  } catch (err) {
593
- for (const part of parts) fs$1.rmSync(part.staged, { force: true });
593
+ for (const part of parts) fs.rmSync(part.staged, { force: true });
594
594
  throw err;
595
595
  }
596
- for (const part of parts) fs$1.renameSync(part.staged, part.dest);
596
+ for (const part of parts) fs.renameSync(part.staged, part.dest);
597
597
  }
598
598
  /**
599
599
  * Resolve a `ModelCatalogEntry` against `modelsDir`: download model file
@@ -608,14 +608,14 @@ async function ensureModel(modelsDir, entry, format, onProgress) {
608
608
  const modelPath = path$1.join(modelsDir, filename);
609
609
  const siblings = siblingFilesFor(formatEntry);
610
610
  let outdated = false;
611
- if (fs$1.existsSync(modelPath)) if (formatEntry.isDirectory && !fs$1.existsSync(path$1.join(modelPath, "Manifest.json"))) fs$1.rmSync(modelPath, {
611
+ if (fs.existsSync(modelPath)) if (formatEntry.isDirectory && !fs.existsSync(path$1.join(modelPath, "Manifest.json"))) fs.rmSync(modelPath, {
612
612
  recursive: true,
613
613
  force: true
614
614
  });
615
615
  else if (siblings.some((f) => !isNonEmptyFile(path$1.join(modelsDir, f)))) outdated = !isCurrentRevision(modelPath, formatEntry) && !await adoptByHash(modelsDir, modelPath, formatEntry);
616
616
  else if (isCurrentRevision(modelPath, formatEntry) || await adoptByHash(modelsDir, modelPath, formatEntry)) return modelPath;
617
617
  else outdated = true;
618
- fs$1.mkdirSync(modelsDir, { recursive: true });
618
+ fs.mkdirSync(modelsDir, { recursive: true });
619
619
  if (formatEntry.isDirectory) await downloadDirectory(formatEntry.url, modelPath, formatEntry.files, onProgress);
620
620
  else if (outdated) await replaceSingleFileFormat(formatEntry.url, modelPath, modelsDir, siblings, onProgress);
621
621
  else {
@@ -673,25 +673,25 @@ function isModelDownloaded(modelsDir, entry, format) {
673
673
  const formatEntry = entry.formats[format];
674
674
  if (!formatEntry) return false;
675
675
  const modelPath = getModelFilePath(modelsDir, entry, format);
676
- if (!modelPath || !fs$1.existsSync(modelPath)) return false;
676
+ if (!modelPath || !fs.existsSync(modelPath)) return false;
677
677
  if (!isCurrentRevision(modelPath, formatEntry)) return false;
678
678
  return isCompleteCopy(modelsDir, modelPath, formatEntry);
679
679
  }
680
680
  /** Remove the on-disk model file/directory. Returns true if something was deleted. */
681
681
  function deleteModelFromDisk(modelsDir, entry, format) {
682
682
  const modelPath = getModelFilePath(modelsDir, entry, format);
683
- if (!modelPath || !fs$1.existsSync(modelPath)) return false;
684
- fs$1.rmSync(revisionRecordPath(modelPath), { force: true });
683
+ if (!modelPath || !fs.existsSync(modelPath)) return false;
684
+ fs.rmSync(revisionRecordPath(modelPath), { force: true });
685
685
  const formatEntry = entry.formats[format];
686
- if (formatEntry?.isDirectory) fs$1.rmSync(modelPath, {
686
+ if (formatEntry?.isDirectory) fs.rmSync(modelPath, {
687
687
  recursive: true,
688
688
  force: true
689
689
  });
690
690
  else {
691
- fs$1.unlinkSync(modelPath);
691
+ fs.unlinkSync(modelPath);
692
692
  if (formatEntry) for (const sibling of siblingFilesFor(formatEntry)) {
693
693
  const sibPath = path$1.join(modelsDir, sibling);
694
- if (fs$1.existsSync(sibPath)) fs$1.unlinkSync(sibPath);
694
+ if (fs.existsSync(sibPath)) fs.unlinkSync(sibPath);
695
695
  }
696
696
  }
697
697
  return true;
@@ -1,4 +1,4 @@
1
- const require_dist = require("./dist-C2czR9xK.js");
1
+ const require_dist = require("./dist-izXDzt4g.js");
2
2
  const require_x509_es = require("./x509.es-WtnRNyYS.js");
3
3
  let node_crypto = require("node:crypto");
4
4
  //#region src/auth/jwt-signing-key.ts
@@ -1,4 +1,4 @@
1
- import { G as DEVICE_SAN_USER_PREFIX, W as DEVICE_SAN_CREDENTIAL_PREFIX, Ys as buildSecretRef } from "./dist-DjBZ1HhF.mjs";
1
+ import { G as DEVICE_SAN_USER_PREFIX, W as DEVICE_SAN_CREDENTIAL_PREFIX, Ys as buildSecretRef } from "./dist-BQiyo22b.mjs";
2
2
  import { C as backdatedNotBefore, S as withUtcTimeEncoding, a as KeyUsageFlags, d as SubjectKeyIdentifierExtension, f as X509Certificate$1, m as cryptoProvider, n as BasicConstraintsExtension, o as KeyUsagesExtension, p as X509CertificateGenerator, r as ExtendedKeyUsageExtension, s as PemConverter, t as AuthorityKeyIdentifierExtension, u as SubjectAlternativeNameExtension } from "./x509.es-BRiJgOvu.mjs";
3
3
  import { X509Certificate, createPublicKey, randomBytes, verify, webcrypto } from "node:crypto";
4
4
  //#region src/auth/jwt-signing-key.ts
@@ -803,7 +803,7 @@ var EventCategory = /* @__PURE__ */ function(EventCategory) {
803
803
  return EventCategory;
804
804
  }({});
805
805
  //#endregion
806
- //#region ../types/dist/device-type-DTTZKB2I.mjs
806
+ //#region ../types/dist/composed-stable-id-DLcPInGv.mjs
807
807
  /**
808
808
  import { errMsg } from '@camstack/types'
809
809
  * Extract a human-readable message from an unknown error value.
@@ -1214,8 +1214,14 @@ var DeviceRole = /* @__PURE__ */ function(DeviceRole) {
1214
1214
  DeviceRole["IrTransmitter"] = "ir-transmitter";
1215
1215
  return DeviceRole;
1216
1216
  }({});
1217
+ /**
1218
+ * A composed device's stableId is this prefix plus the block id. Its own module,
1219
+ * free of zod, so the addon runner can read it through `@camstack/types/addon`
1220
+ * without loading the schema barrel (D28).
1221
+ */
1222
+ var COMPOSED_DEVICE_STABLE_ID_PREFIX = "composed-";
1217
1223
  //#endregion
1218
- //#region ../types/dist/sleep-DnVqHJc4.mjs
1224
+ //#region ../types/dist/sleep-B36hHDDz.mjs
1219
1225
  /**
1220
1226
  * The audio chunk plane's byte format, and the ONE expansion from a coded
1221
1227
  * window to float samples (D455).
@@ -13805,7 +13811,7 @@ function sleep(ms) {
13805
13811
  return new Promise((resolve) => setTimeout(resolve, Math.max(0, ms)));
13806
13812
  }
13807
13813
  //#endregion
13808
- //#region ../types/dist/composition-C6TZGqUb.mjs
13814
+ //#region ../types/dist/composition-BFJq1Y88.mjs
13809
13815
  var AUDIO_ENCODER_BY_CODEC = {
13810
13816
  opus: "libopus",
13811
13817
  aac: "aac",
@@ -16200,8 +16206,6 @@ function helperMembers(spec) {
16200
16206
  */
16201
16207
  /** The owner of every composed device: the `composer` builtin. */
16202
16208
  var COMPOSER_ADDON_ID = "composer";
16203
- /** A composed device's stableId is this prefix plus the block id. */
16204
- var COMPOSED_DEVICE_STABLE_ID_PREFIX = "composed-";
16205
16209
  /** Longest snippet a `code` source may carry (slice 4). */
16206
16210
  var MAX_COMPOSITION_CODE_LENGTH = 2e4;
16207
16211
  /** One field of one capability of one source device. */
@@ -59290,7 +59294,13 @@ var deviceManagerCapability = {
59290
59294
  * row + emits `EventCategory.DeviceMetaChanged`. */
59291
59295
  setName: method(z.object({
59292
59296
  deviceId: z.number(),
59293
- name: z.string()
59297
+ name: z.string(),
59298
+ /**
59299
+ * Absent or true: an operator rename, which stamps `userNamed`.
59300
+ * False: the system copying a block name onto the device. That write
59301
+ * must not look like the operator's, or the next reconcile freezes it.
59302
+ */
59303
+ stampUserNamed: z.boolean().optional()
59294
59304
  }), z.void(), {
59295
59305
  kind: "mutation",
59296
59306
  auth: "admin"
@@ -98180,11 +98190,41 @@ function deriveBatteryPresence(input) {
98180
98190
  * priority-in-sync.ts` fails the build when either drifts — the comment that
98181
98191
  * used to ask for this could not.
98182
98192
  *
98183
- * The rule has two halves and the ORDER matters: an operator's explicit pick
98184
- * wins outright, and only in its absence does type priority decide. The pick is
98185
- * keyed on the child's re-sync-stable `entityId`, not its numeric id, so it
98186
- * survives a re-sync that reallocates ids.
98193
+ * The rule has three halves and the ORDER matters: an operator's explicit pick
98194
+ * wins outright; else a declaration on the device type
98195
+ * ({@link CONTAINER_PRIMARY_CHILD_RULES}); else role, namesake, then type
98196
+ * priority. The pick is keyed on the child's re-sync-stable `entityId`, not
98197
+ * its numeric id, so it survives a re-sync that reallocates ids.
98198
+ */
98199
+ /**
98200
+ * Device types that name their primary child. A heat pump stands for itself:
98201
+ * its hero is the system row, not the climate circuit that type-rank would
98202
+ * otherwise pick.
98203
+ */
98204
+ var CONTAINER_PRIMARY_CHILD_RULES = [{
98205
+ deviceType: DeviceType.HeatPump,
98206
+ primary: "self"
98207
+ }];
98208
+ /**
98209
+ * The type declaration, before the heuristic. `fall-through` means the
98210
+ * heuristic still decides: the type declared nothing, or it named a child
98211
+ * type that is not among the children.
98187
98212
  */
98213
+ function declaredChildType(primary) {
98214
+ if (primary === "self") return void 0;
98215
+ return primary.childType;
98216
+ }
98217
+ function applyPrimaryChildRule(rule, children) {
98218
+ if (rule === void 0) return { kind: "fall-through" };
98219
+ const childType = declaredChildType(rule.primary);
98220
+ if (childType === void 0) return { kind: "none" };
98221
+ const match = children.find((child) => child.type === childType);
98222
+ if (match === void 0) return { kind: "fall-through" };
98223
+ return {
98224
+ kind: "child",
98225
+ child: match
98226
+ };
98227
+ }
98188
98228
  /**
98189
98229
  * Type priority, most→least "primary". An actuator (climate / lock / cover / …)
98190
98230
  * outranks a bare `switch` so a container's defining child wins over its
@@ -98272,9 +98312,10 @@ function rank(type) {
98272
98312
  }
98273
98313
  /**
98274
98314
  * The child a container stands for: the operator's pick when it still exists,
98275
- * else the highest-priority type. `null` for a childless container — a caller
98276
- * must decide what an empty container means for it, rather than being handed a
98277
- * child that is not there.
98315
+ * else the device type's declaration, else the highest-priority type. `null`
98316
+ * for a childless container, and for a type that stands for itself — a caller
98317
+ * must decide what "no child" means for it, rather than being handed a child
98318
+ * that is not the device.
98278
98319
  */
98279
98320
  /**
98280
98321
  * Two names for the same thing, compared the way an integration writes them.
@@ -98303,11 +98344,14 @@ function sameName(childName, containerName) {
98303
98344
  const flatten = (v) => v.toLowerCase().replace(/[-_\s]+/g, " ").trim();
98304
98345
  return flatten(childName) === flatten(containerName);
98305
98346
  }
98306
- function resolveContainerPrimaryChild(children, overrideEntityId, containerName) {
98347
+ function resolveContainerPrimaryChild(children, overrideEntityId, containerName, containerType) {
98307
98348
  if (overrideEntityId !== void 0 && overrideEntityId !== null) {
98308
98349
  const picked = children.find((c) => c.stableId === overrideEntityId) ?? children.find((c) => c.entityId !== void 0 && c.entityId === overrideEntityId);
98309
98350
  if (picked !== void 0) return picked;
98310
98351
  }
98352
+ const declared = applyPrimaryChildRule(CONTAINER_PRIMARY_CHILD_RULES.find((entry) => entry.deviceType === containerType), children);
98353
+ if (declared.kind === "none") return null;
98354
+ if (declared.kind === "child") return declared.child;
98311
98355
  const namesake = (c) => containerName !== void 0 && containerName.length > 0 && c.name !== void 0 && sameName(c.name, containerName) ? 0 : 1;
98312
98356
  return [...children].toSorted((a, b) => roleRank(a.role) - roleRank(b.role) || namesake(a) - namesake(b) || rank(a.type) - rank(b.type))[0] ?? null;
98313
98357
  }
@@ -98355,7 +98399,7 @@ function expandContainer(id, byId, byParent, visited, out) {
98355
98399
  type: c.type,
98356
98400
  ...c.role !== void 0 && c.role !== null ? { role: c.role } : {},
98357
98401
  ...c.name !== void 0 ? { name: c.name } : {}
98358
- })), byId.get(id)?.primaryChildEntityId, byId.get(id)?.name);
98402
+ })), byId.get(id)?.primaryChildEntityId, byId.get(id)?.name, candidate.type);
98359
98403
  if (primary !== null) expandContainer(primary.id, byId, byParent, nextVisited, out);
98360
98404
  }
98361
98405
  /**
@@ -100445,7 +100489,7 @@ var CLIMATE_FAMILY_CONTRIBUTIONS = {
100445
100489
  /**
100446
100490
  * The heat pump's contribution to a hero (D1026): the compressor scene, every
100447
100491
  * circuit as a row with its own label and icon, the powers as pills (the
100448
- * instantaneous COP only when both powers are known) and a "System" group with
100492
+ * instantaneous COP is "—" when it cannot be computed) and a "System" group with
100449
100493
  * one selector per mode. Values and their limits come from the slice, which the
100450
100494
  * gateway filled: a selector with no allowed value is not drawn, a missing
100451
100495
  * reading is never a 0 (D393).
@@ -100517,9 +100561,22 @@ function circuitRow(circuit) {
100517
100561
  };
100518
100562
  }
100519
100563
  var kilowatts = (watts) => `${Number((watts / 1e3).toFixed(2))} kW`;
100564
+ /** A COP that cannot be computed is still the pill: "—", never an absent reading (D393). */
100565
+ function copPill(cop) {
100566
+ if (cop === null) return {
100567
+ icon: "gauge",
100568
+ text: t("Instantaneous COP —", "COP istantaneo —"),
100569
+ tone: "muted"
100570
+ };
100571
+ const text = String(Number(cop.toFixed(1)));
100572
+ return {
100573
+ icon: "gauge",
100574
+ text: t(`Instantaneous COP ${text}`, `COP istantaneo ${text}`),
100575
+ tone: "success"
100576
+ };
100577
+ }
100520
100578
  function powerPills(status) {
100521
100579
  const { thermalW, electricalW } = status.power;
100522
- const cop = heatPumpInstantCop(status.power);
100523
100580
  const pills = [];
100524
100581
  if (thermalW !== null) pills.push({
100525
100582
  icon: "flame",
@@ -100531,14 +100588,7 @@ function powerPills(status) {
100531
100588
  text: t(`Electrical ${kilowatts(electricalW)}`, `Elettrica ${kilowatts(electricalW)}`),
100532
100589
  tone: "muted"
100533
100590
  });
100534
- if (cop !== null) {
100535
- const text = String(Number(cop.toFixed(1)));
100536
- pills.push({
100537
- icon: "gauge",
100538
- text: t(`Instantaneous COP ${text}`, `COP istantaneo ${text}`),
100539
- tone: "success"
100540
- });
100541
- }
100591
+ pills.push(copPill(heatPumpInstantCop(status.power)));
100542
100592
  return pills;
100543
100593
  }
100544
100594
  /** The independent system modes, in the order the card draws them. */
@@ -118469,4 +118519,4 @@ z.object({
118469
118519
  commands: z.record(z.string(), z.unknown())
118470
118520
  });
118471
118521
  //#endregion
118472
- export { DeviceStatusSchema as $, storageOccupancyCapability as $a, DeviceFeature as $c, powerSourceCapability as $i, coreBlockAddonId as $n, openReset as $o, isAlertEpisodeSeverity as $r, collectZodSecretPaths as $s, SchedulerSchema as $t, ControlStatusSchema as A, resolveTemplateRef as Aa, mapSecretLeaves as Ac, metricsProviderCapability as Ai, buildCapabilityLookup as An, HISTORY_FAST_MS as Ao, evaluateWhenTree as Ar, RecordIntegrationInstances as As, MigrationMetaSchema as At, DEVICE_ENROLLMENT_TTL_MS as B, settingsStoreCapability as Ba, resolveCapMount as Bc, normalizeUnit as Bi, checkDeviceAlias as Bn, compositionItemFieldPath as Bo, findChannelSource as Br, UnknownRecordKindError as Bs, PreferenceValueSchema as Bt, CORE_BLOCKS_ADDON_ID as C, resolveLocationMode as Ca, isReadingQuantity as Cc, looseSchema as Ci, armRemovalReconcile as Cn, withDefaultRunning as Co, deviceStatusCapability as Cr, RECORD_SECRET_COLLECTION_PREFIX as Cs, LOG_LEVEL_RANK as Ct, CatalogFileSchema as D, resolveRemoteSource as Da, isSecretMarkerLike as Dc, mediaPlayerFeaturesOfRoles as Di, batteryCapability as Dn, CompositionSchema as Do, enumerateSchemaFields as Dr, RUNTIME_DEFAULTS as Ds, MOTION_CLOSE_AFTER_MS as Dt, CalendarPreferencesSchema as E, resolveNotificationTapAddress as Ea, isSecretMarker as Ec, mediaPlayerCapability as Ei, bareAddonId as En, COMPOSER_ADDON_ID as Eo, enumerateItemArrayFields as Er, REMOVE_LEAF as Es, MINUTES_PER_DAY as Et, DATABASE_SNAPSHOT_TIMEOUT_MS as F, schedulersCapability as Fa, parseJsonObject as Fc, nextOccurrence as Fi, calendarsCapability as Fn, buildFfmpegArgs as Fo, fanControlCapability as Fr, RevConflictError as Fs, PackageRequiresSchema as Ft, DEVICE_SAN_USER_PREFIX as G, siteFor as Ga, secretViewsOf as Gc, parseAcceleratorFactsJson as Gi, collectWhenMirrorSources as Gn, evaluateDerivative as Go, generateDeviceAlias as Gr, asString$1 as Gs, RecordingStatusSchema as Gt, DEVICE_ID_FIELD as H, sharedActuatorMethods as Ha, scopeKey as Hc, objectInputDeclaresRequiredDeviceId as Hi, checkTemplatePayload as Hn, compositionSourceKey as Ho, formatDeviceRevoker as Hr, actionEffect as Hs, RECORDING_SOURCE_CAMSTACK_ADDON as Ht, DATA_STORE_DATABASES as I, scopesAllowAddon as Ia, parseJsonUnknown as Ic, normalizeActionUnits as Ii, cameraGridLayoutCapability as In, cloneStatefulExpressionMemory as Io, fanOutTargets as Ir, SECRET_CLEAR as Is, PetFountainStatusSchema as It, DEVICE_TEMPLATE_MAX_OUTPUT as J, splitTranslationRef as Ja, toSecretFieldView as Jc, petFountainCapability as Ji, compileScalarOverride as Jn, historyRetentionFromSettings as Jo, heroLayoutCapability as Jr, auditedFields as Js, RunningStateStatusSchema as Jt, DEVICE_TEMPLATE_FILTERS as K, siteZoneKey as Ka, sleep as Kc, parseColorInput as Ki, colorCapability as Kn, evaluateStatistic as Ko, groupCommandsCapability as Kr, assertTransactScope as Ks, RemoteAssumedStateSchema as Kt, DAY_NAMES as L, scopesAllowDeviceCap as La, parseSecretRef as Lc, normalizeCapStep as Li, canonicalIconKey as Ln, composedDeviceRef as Lo, fanPresetsCapability as Lr, StoredRecordKindDeclarationSchema as Ls, PowerSourceInfoSchema as Lt, CredentialTokenClaimsSchema as M, runSteps as Ma, nodePin as Mc, modeForSwitch as Mi, buildDeviceSignatureMessage as Mn, HOUR_MS as Mo, expandContainer as Mr, RecordNotFoundError as Ms, PET_FOUNTAIN_WATER_KEY as Mt, DATABASE_SNAPSHOT_PARTIAL_SUFFIX as N, runtimeFieldUnit as Na, normalizeNodeId as Nc, modeMayWrite as Ni, buildHeroModel as Nn, HelperMemberSchema as No, expressionContainsBuiltinCall as Nr, RecordTooLargeError as Ns, PREFERENCES_MAX_VALUE_BYTES as Nt, ConditionMirror as O, resolveRunnerId as Oa, isSecretRefOwnedBy as Oc, memoizePinnedFfmpeg as Oi, brightnessCapability as On, DAY_MS as Oo, evaluateCompositionField as Or, ReadinessRegistry as Os, MediaPlayerStatusSchema as Ot, DATABASE_SNAPSHOT_SUFFIX as P, runtimeStatePolicyFor as Pa, normalizeSecretOwner as Pc, motionCapability as Pi, buildStreamParamsConfigSchema as Pn, MINUTE_MS as Po, extractNestedAddonId as Pr, RecordUniqueViolationError as Ps, PROPOSAL_MIN_SPAN_MS as Pt, DeviceRunSchema as Q, storageMigrationCapability as Qa, withoutCallerStamp as Qc, platformProbeCapability as Qi, consumablesCapability as Qn, nextLocalMidnight as Qo, isAlertEpisodeOpen as Qr, collectSecretMarkerRefs as Qs, SchedulerError as Qt, DEFAULT_HOLD_OVERRIDE as R, scoreRuntimes as Ra, readinessKey as Rc, normalizeCoreBlockWrite as Ri, capUnitResolver as Rn, composedDeviceStableId as Ro, featureForwards as Rr, TransactRefusedError as Rs, PreferenceDeviceIdSchema as Rt, COMPOSER_RUNNER_ID as S, resolveHubAddressRoles as Sa, isKeychainStoredField as Sc, logLevelAtMost as Si, appendTrace as Sn, weekdayOfLocalDate as So, deviceStateCapability as Sr, RECORD_DELETE_BATCH as Ss, KeychainResetRecordSchema as St, CREDENTIAL_TOKEN_AUDIENCE as T, resolveMutate as Ta, isSecretFieldView as Tc, mayWriteToLocation as Ti, backupCapability as Tn, zoneOnlySite as To, enumerateInferenceDevices as Tr, REDACTED_SECRET as Ts, MIGRATION_API_V1_METHODS as Tt, DEVICE_NONCE_TTL_MS as U, sharedColorModes as Ua, secretTreeFromPaths as Uc, occurrenceOn as Ui, climateControlCapability as Un, createStatefulExpressionMemory as Uo, formatMinutes as Ur, asJsonObject as Us, REMOTE_MEDIA_COMMANDS as Ut, DEVICE_HISTORY_ENERGY_KEY as V, sharedActuatorFeatures as Va, resolveSecretMarkers as Vc, objectInputDeclaresAddonId as Vi, checkRoleAddress as Vn, compositionSliceKey as Vo, foldSnapshotByFunction as Vr, WELL_KNOWN_TAB_MAP as Vs, QuantityUnitError as Vt, DEVICE_SAN_CREDENTIAL_PREFIX as W, shortHostname as Wa, secretTreeFromSchema as Wc, orderMigrations as Wi, collectDeviceTemplates as Wn, disarmRoseMemory as Wo, gbToBytes as Wr, asNumber as Ws, ROOT_BUCKET_KEY as Wt, DataStoreDatabaseSchema as X, storageAdminCapability as Xa, userError as Xc, pickAppLinkHub as Xi, compositionFieldKey as Xn, isForwardInputRef as Xo, internalActionId as Xr, collectSecretConfigKeys as Xs, STORAGE_LOCATION_MODES as Xt, DEVICE_TOMBSTONE_RETENTION_MS as Y, stableIdMapOf as Ya, transformSecretWrite as Yc, petFountainWaterItem as Yi, composerCapability as Yn, integrateReading as Yo, integrationInstancesCapability as Yr, buildSecretRef as Ys, STORAGE_ACCESS_FALLBACK as Yt, DeclaredDevices as Z, storageCapability as Za, vocabActionIdFor as Zc, planComposition as Zi, compositionSourceRefs as Zn, isHistoryHelper as Zo, interpolate as Zr, collectSecretLeaves as Zs, STREAM_PROFILE_META as Zt, CAMERA_SWITCH_ORDER as _, resolveAppConnections as _a, isCommand as _c, localNetworkCapability as _i, addonSettingsCapability as _n, validateSchedulerInput as _o, deviceExtensionCapability as _r, InvalidRecordError as _s, HvacModeSchema as _t, AGENT_MDNS_SERVICE_TYPE as a, projectDeviceRow as aa, defineCustomActions as ac, isInternalActionId as ai, StorageLocationTypeSchema as an, switchStateOfMode as ao, createDeviceExtensionProvider as ar, wattMillisecondsToKwh as as, FAN_CAPTURE_FIELDS as at, CATALOG_LANGS as b, resolveCoreBlockFiles as ba, isEvent as bc, lockDoorLinkOfComposition as bi, alertEpisodePayload as bn, vectorIndexDimConflictError as bo, deviceRemovalHookCapability as br, RECORD_BATCH_MAX as bs, KEYCHAIN_RESET_TRIGGER_ACTOR as bt, ActionError as c, readStoredRemoteConfig as ca, emitDownForOwnedCaps as cc, isSameAddonId as ci, TemplateKindSchema as cn, timedRunLimitOf as co, databaseSnapshotCapability as cr, CALLER_STAMPED_CAPABILITIES as cs, FanDirectionSchema as ct, ActionVariableSchema as d, reducePoints as da, expandCapMethods as dc, keychainAdminCapability as di, UserRecordSchema as dn, timedRunSeconds as do, decodeVectorBase64 as dr, DEVICE_STATUS_METHOD as ds, FieldClaimSchema as dt, powerSourceLinkOfComposition as ea, commandEffect as ec, isAppLinkBase as ei, DeviceRole as el, ScopedTokenSchema as en, storageProviderCapability as eo, coreBlockComposition as er, openStatistic as es, DeviceTombstoneSchema as et, AlertSchema as f, remoteCapability as fa, formatSecretScope as fc, keychainCapability as fi, actionSourceCapability as fn, toTimings as fo, defineExtensionSlotProvider as fr, DeclarationRefusedError as fs, GroupCommandResultSchema as ft, BatteryStatusSchema as g, resolveActionVariables as ga, hydrateSchema as gc, localDateOf as gi, addonPagesCapability as gn, validateCustomAddress as go, deviceCredentialsCapability as gr, HISTORY_DEFAULT_MIN_INTERVAL_MS as gs, HUB_MDNS_TXT_KEYS as gt, BaseDevice as h, replacedFieldKeys as ha, historyUnitFor as hc, lifecycleJobSchema as hi, addonIdOfActionId as hn, validateComposition as ho, describeUnmet as hr, ForeignSecretMarkerError as hs, HUB_MDNS_SERVICE_TYPE as ht, ACTUATOR_TEMPLATE_IDS as i, processTimeZoneOr as ia, defineAddonMigrations as ic, isDefaultAppConnectionEndpoint as ii, EventCategory as il, StorageLocationModeSchema as in, switchCapability as io, coverCapability as ir, toExpressionValue as is, EMPTY_REMOTE_CONFIG as it, CoreBlockSchema as j, runFanOut as ja, nodeIdOfScopedKey as jc, migrationsCapability as ji, buildDeviceEnrollmentLink as jn, HISTORY_SLOW_MS as jo, evictionPolicyOfLocation as jr, RecordKindDeclarationSchema as js, NetworkTunnelStartedDataSchema as jt, ConsumableItemSchema as k, resolveStepArgs as ka, makeSecretMarker as kc, methodRefusal as ki, buildActionSteps as kn, DEFAULT_HISTORY_RETENTION as ko, evaluateStepCondition as kr, ReadinessTimeoutError as ks, MigrationLedgerEntrySchema as kt, ActionStepSchema as l, recordEntriesCapability as la, emitReadiness as lc, isVoidInput as li, TokenScopeSchema as ln, timedRunMaxIn as lo, declarationOwnerNodeId as lr, DATAPLANE_SECRET_HEADER as ls, FanPresetSchema as lt, BUILTIN_REMOTE_COMPONENTS as m, remoteSourceSteps as ma, historyItemFieldPath as mc, legacyModeOf as mi, actionsCapability as mn, userManagementCapability as mo, describeComposableCaps as mr, FilterRequiredError as ms, HISTORY_ITEM_CATALOG as mt, ACTION_TARGET_INVALIDATION_EVENTS as n, problemsBlockSave as na, createEvent as nc, isCollectionArrayMethod as ni, errMsg as nl, SsoBridgeClaimsSchema as nn, streamQualityLabel as no, coreBlockSourceKind as nr, planStatisticTier as ns, EMPTY_AUTOMATION_STATE as nt, AGENT_MDNS_TXT_KEYS as o, proposeRunningThreshold as oa, defineEntryKind as oc, isLocationEnabled as oi, StorageMigrationJobSchema as on, templateCapability as oo, customKeyOfRole as or, BaseAddon as os, FIRST_LEVEL_MACRO_CLASSES as ot, AutomationStateDocSchema as p, remoteLayoutComponentsCapability as pa, getDebugInterest as pc, legacyAutoLinkIds as pi, actionWaitTotalMs as pn, unmetRequirements as po, deriveBatteryPresence as pr, DeviceTransitionSchema as ps, HISTORY_CATALOG as pt, DEVICE_TEMPLATE_MAX_LENGTH as q, snapshotCapability as qa, toNodeId as qc, parseStreamParamsFormPatch as qi, compareVersions as qn, helperMembers as qo, groupTemplate as qr, assertValidDeclaration as qs, RemoteLayoutPayloadSchema as qt, ACTUATOR_METHODS as r, procedureAuthKey as ra, customAction as rc, isCredentialTokenPayload as ri, featuresOfBoundCaps as rl, StorageCleanupJobSchema as rn, supportedRuntimes as ro, coreBlocksCapability as rr, statisticCadenceMs as rs, EMPTY_REMOTE_ASSUMED_STATE as rt, ALL_CAPABILITY_DEFINITIONS as s, ptzAutotrackCapability as sa, defineRecordKinds as sc, isObjectInput as si, SwitchStatusSchema as sn, timedRunCapability as so, dataStoreProviderCapability as sr, BatchTooLargeError as ss, FanControlStatusSchema as st, ACTION_RUN_MAX_MS as t, preconditionOf as ta, commandOrigin as tc, isArrayOutputSchema as ti, DeviceType as tl, ServerNameSchema as tn, streamCatalogCapability as to, coreBlockIdFromAddonId as tr, planResetTier as ts, DiscoveryProposalBodySchema as tt, ActionTargetResolver as u, recordsCapability as ua, entryBody as uc, kebabToCamel as ui, UNATTRIBUTED_BUCKET_KEY as un, timedRunQuickRun as uo, declaredSeriesKind as ur, DEVICE_SETTINGS_CONTRIBUTION_METHODS as us, FieldClaimModeSchema as ut, CAMSTACK_APP_LINK_ORIGIN as v, resolveBucketMs as va, isDebugChannelName as vc, locationIconKey as vi, addonWidgetsCapability as vn, valveCapability as vo, deviceHistoryCapability as vr, NoCallerError as vs, IDLE_ACTION_STATUS as vt, CORE_BLOCK_ADDON_PREFIX as w, resolveMethodAuth as wa, isSecretClear as wc, mayReadLocation as wi, authProviderCapability as wn, withLocationMode as wo, deviceTransitionsCapability as wr, RECORD_SWEEP_INTERVAL_MS as ws, METHOD_ACCESS_MAP as wt, COMPOSED_ITEM_FIXED_FIELDS as x, resolveHeroLayout as xa, isInstanceEnabled as xc, logDestinationCapability as xi, alertsCapability as xn, vectorStoreCapability as xo, deviceRunsCapability as xr, RECORD_BATCH_MAX_BYTES as xs, KeychainAuditEntrySchema as xt, CAP_NAMES_WITH_STATUS as y, resolveCoreBlockEntry as ya, isDeviceConfigCap as yc, lockControlCapability as yi, alertEpisodeId as yn, vectorDimFromBase64 as yo, deviceManagerCapability as yr, PlaintextSecretError as ys, INTERNAL_ACTION_PREFIX as yt, DERIVED_CAMERA_SILENCED_CAP_NAMES as z, seedInstanceOnce as za, recordSecretRef as zc, normalizeStepTargets as zi, catalogueIssues as zn, compositionFeatureEnabled as zo, filesystemBrowseCapability as zr, UnindexedFilterError as zs, PreferenceNamespaceSchema as zt };
118522
+ export { DeviceStatusSchema as $, storageOccupancyCapability as $a, COMPOSED_DEVICE_STABLE_ID_PREFIX as $c, powerSourceCapability as $i, coreBlockAddonId as $n, openReset as $o, isAlertEpisodeSeverity as $r, collectZodSecretPaths as $s, SchedulerSchema as $t, ControlStatusSchema as A, resolveTemplateRef as Aa, mapSecretLeaves as Ac, metricsProviderCapability as Ai, buildCapabilityLookup as An, HISTORY_FAST_MS as Ao, evaluateWhenTree as Ar, RecordIntegrationInstances as As, MigrationMetaSchema as At, DEVICE_ENROLLMENT_TTL_MS as B, settingsStoreCapability as Ba, resolveCapMount as Bc, normalizeUnit as Bi, checkDeviceAlias as Bn, compositionItemFieldPath as Bo, findChannelSource as Br, UnknownRecordKindError as Bs, PreferenceValueSchema as Bt, CORE_BLOCKS_ADDON_ID as C, resolveLocationMode as Ca, isReadingQuantity as Cc, looseSchema as Ci, armRemovalReconcile as Cn, withDefaultRunning as Co, deviceStatusCapability as Cr, RECORD_SECRET_COLLECTION_PREFIX as Cs, LOG_LEVEL_RANK as Ct, CatalogFileSchema as D, resolveRemoteSource as Da, isSecretMarkerLike as Dc, mediaPlayerFeaturesOfRoles as Di, batteryCapability as Dn, CompositionSchema as Do, enumerateSchemaFields as Dr, RUNTIME_DEFAULTS as Ds, MOTION_CLOSE_AFTER_MS as Dt, CalendarPreferencesSchema as E, resolveNotificationTapAddress as Ea, isSecretMarker as Ec, mediaPlayerCapability as Ei, bareAddonId as En, COMPOSER_ADDON_ID as Eo, enumerateItemArrayFields as Er, REMOVE_LEAF as Es, MINUTES_PER_DAY as Et, DATABASE_SNAPSHOT_TIMEOUT_MS as F, schedulersCapability as Fa, parseJsonObject as Fc, nextOccurrence as Fi, calendarsCapability as Fn, buildFfmpegArgs as Fo, fanControlCapability as Fr, RevConflictError as Fs, PackageRequiresSchema as Ft, DEVICE_SAN_USER_PREFIX as G, siteFor as Ga, secretViewsOf as Gc, parseAcceleratorFactsJson as Gi, collectWhenMirrorSources as Gn, evaluateDerivative as Go, generateDeviceAlias as Gr, asString$1 as Gs, RecordingStatusSchema as Gt, DEVICE_ID_FIELD as H, sharedActuatorMethods as Ha, scopeKey as Hc, objectInputDeclaresRequiredDeviceId as Hi, checkTemplatePayload as Hn, compositionSourceKey as Ho, formatDeviceRevoker as Hr, actionEffect as Hs, RECORDING_SOURCE_CAMSTACK_ADDON as Ht, DATA_STORE_DATABASES as I, scopesAllowAddon as Ia, parseJsonUnknown as Ic, normalizeActionUnits as Ii, cameraGridLayoutCapability as In, cloneStatefulExpressionMemory as Io, fanOutTargets as Ir, SECRET_CLEAR as Is, PetFountainStatusSchema as It, DEVICE_TEMPLATE_MAX_OUTPUT as J, splitTranslationRef as Ja, toSecretFieldView as Jc, petFountainCapability as Ji, compileScalarOverride as Jn, historyRetentionFromSettings as Jo, heroLayoutCapability as Jr, auditedFields as Js, RunningStateStatusSchema as Jt, DEVICE_TEMPLATE_FILTERS as K, siteZoneKey as Ka, sleep as Kc, parseColorInput as Ki, colorCapability as Kn, evaluateStatistic as Ko, groupCommandsCapability as Kr, assertTransactScope as Ks, RemoteAssumedStateSchema as Kt, DAY_NAMES as L, scopesAllowDeviceCap as La, parseSecretRef as Lc, normalizeCapStep as Li, canonicalIconKey as Ln, composedDeviceRef as Lo, fanPresetsCapability as Lr, StoredRecordKindDeclarationSchema as Ls, PowerSourceInfoSchema as Lt, CredentialTokenClaimsSchema as M, runSteps as Ma, nodePin as Mc, modeForSwitch as Mi, buildDeviceSignatureMessage as Mn, HOUR_MS as Mo, expandContainer as Mr, RecordNotFoundError as Ms, PET_FOUNTAIN_WATER_KEY as Mt, DATABASE_SNAPSHOT_PARTIAL_SUFFIX as N, runtimeFieldUnit as Na, normalizeNodeId as Nc, modeMayWrite as Ni, buildHeroModel as Nn, HelperMemberSchema as No, expressionContainsBuiltinCall as Nr, RecordTooLargeError as Ns, PREFERENCES_MAX_VALUE_BYTES as Nt, ConditionMirror as O, resolveRunnerId as Oa, isSecretRefOwnedBy as Oc, memoizePinnedFfmpeg as Oi, brightnessCapability as On, DAY_MS as Oo, evaluateCompositionField as Or, ReadinessRegistry as Os, MediaPlayerStatusSchema as Ot, DATABASE_SNAPSHOT_SUFFIX as P, runtimeStatePolicyFor as Pa, normalizeSecretOwner as Pc, motionCapability as Pi, buildStreamParamsConfigSchema as Pn, MINUTE_MS as Po, extractNestedAddonId as Pr, RecordUniqueViolationError as Ps, PROPOSAL_MIN_SPAN_MS as Pt, DeviceRunSchema as Q, storageMigrationCapability as Qa, withoutCallerStamp as Qc, platformProbeCapability as Qi, consumablesCapability as Qn, nextLocalMidnight as Qo, isAlertEpisodeOpen as Qr, collectSecretMarkerRefs as Qs, SchedulerError as Qt, DEFAULT_HOLD_OVERRIDE as R, scoreRuntimes as Ra, readinessKey as Rc, normalizeCoreBlockWrite as Ri, capUnitResolver as Rn, composedDeviceStableId as Ro, featureForwards as Rr, TransactRefusedError as Rs, PreferenceDeviceIdSchema as Rt, COMPOSER_RUNNER_ID as S, resolveHubAddressRoles as Sa, isKeychainStoredField as Sc, logLevelAtMost as Si, appendTrace as Sn, weekdayOfLocalDate as So, deviceStateCapability as Sr, RECORD_DELETE_BATCH as Ss, KeychainResetRecordSchema as St, CREDENTIAL_TOKEN_AUDIENCE as T, resolveMutate as Ta, isSecretFieldView as Tc, mayWriteToLocation as Ti, backupCapability as Tn, zoneOnlySite as To, enumerateInferenceDevices as Tr, REDACTED_SECRET as Ts, MIGRATION_API_V1_METHODS as Tt, DEVICE_NONCE_TTL_MS as U, sharedColorModes as Ua, secretTreeFromPaths as Uc, occurrenceOn as Ui, climateControlCapability as Un, createStatefulExpressionMemory as Uo, formatMinutes as Ur, asJsonObject as Us, REMOTE_MEDIA_COMMANDS as Ut, DEVICE_HISTORY_ENERGY_KEY as V, sharedActuatorFeatures as Va, resolveSecretMarkers as Vc, objectInputDeclaresAddonId as Vi, checkRoleAddress as Vn, compositionSliceKey as Vo, foldSnapshotByFunction as Vr, WELL_KNOWN_TAB_MAP as Vs, QuantityUnitError as Vt, DEVICE_SAN_CREDENTIAL_PREFIX as W, shortHostname as Wa, secretTreeFromSchema as Wc, orderMigrations as Wi, collectDeviceTemplates as Wn, disarmRoseMemory as Wo, gbToBytes as Wr, asNumber as Ws, ROOT_BUCKET_KEY as Wt, DataStoreDatabaseSchema as X, storageAdminCapability as Xa, userError as Xc, pickAppLinkHub as Xi, compositionFieldKey as Xn, isForwardInputRef as Xo, internalActionId as Xr, collectSecretConfigKeys as Xs, STORAGE_LOCATION_MODES as Xt, DEVICE_TOMBSTONE_RETENTION_MS as Y, stableIdMapOf as Ya, transformSecretWrite as Yc, petFountainWaterItem as Yi, composerCapability as Yn, integrateReading as Yo, integrationInstancesCapability as Yr, buildSecretRef as Ys, STORAGE_ACCESS_FALLBACK as Yt, DeclaredDevices as Z, storageCapability as Za, vocabActionIdFor as Zc, planComposition as Zi, compositionSourceRefs as Zn, isHistoryHelper as Zo, interpolate as Zr, collectSecretLeaves as Zs, STREAM_PROFILE_META as Zt, CAMERA_SWITCH_ORDER as _, resolveAppConnections as _a, isCommand as _c, localNetworkCapability as _i, addonSettingsCapability as _n, validateSchedulerInput as _o, deviceExtensionCapability as _r, InvalidRecordError as _s, HvacModeSchema as _t, AGENT_MDNS_SERVICE_TYPE as a, projectDeviceRow as aa, defineCustomActions as ac, isInternalActionId as ai, EventCategory as al, StorageLocationTypeSchema as an, switchStateOfMode as ao, createDeviceExtensionProvider as ar, wattMillisecondsToKwh as as, FAN_CAPTURE_FIELDS as at, CATALOG_LANGS as b, resolveCoreBlockFiles as ba, isEvent as bc, lockDoorLinkOfComposition as bi, alertEpisodePayload as bn, vectorIndexDimConflictError as bo, deviceRemovalHookCapability as br, RECORD_BATCH_MAX as bs, KEYCHAIN_RESET_TRIGGER_ACTOR as bt, ActionError as c, readStoredRemoteConfig as ca, emitDownForOwnedCaps as cc, isSameAddonId as ci, TemplateKindSchema as cn, timedRunLimitOf as co, databaseSnapshotCapability as cr, CALLER_STAMPED_CAPABILITIES as cs, FanDirectionSchema as ct, ActionVariableSchema as d, reducePoints as da, expandCapMethods as dc, keychainAdminCapability as di, UserRecordSchema as dn, timedRunSeconds as do, decodeVectorBase64 as dr, DEVICE_STATUS_METHOD as ds, FieldClaimSchema as dt, powerSourceLinkOfComposition as ea, commandEffect as ec, isAppLinkBase as ei, DeviceFeature as el, ScopedTokenSchema as en, storageProviderCapability as eo, coreBlockComposition as er, openStatistic as es, DeviceTombstoneSchema as et, AlertSchema as f, remoteCapability as fa, formatSecretScope as fc, keychainCapability as fi, actionSourceCapability as fn, toTimings as fo, defineExtensionSlotProvider as fr, DeclarationRefusedError as fs, GroupCommandResultSchema as ft, BatteryStatusSchema as g, resolveActionVariables as ga, hydrateSchema as gc, localDateOf as gi, addonPagesCapability as gn, validateCustomAddress as go, deviceCredentialsCapability as gr, HISTORY_DEFAULT_MIN_INTERVAL_MS as gs, HUB_MDNS_TXT_KEYS as gt, BaseDevice as h, replacedFieldKeys as ha, historyUnitFor as hc, lifecycleJobSchema as hi, addonIdOfActionId as hn, validateComposition as ho, describeUnmet as hr, ForeignSecretMarkerError as hs, HUB_MDNS_SERVICE_TYPE as ht, ACTUATOR_TEMPLATE_IDS as i, processTimeZoneOr as ia, defineAddonMigrations as ic, isDefaultAppConnectionEndpoint as ii, featuresOfBoundCaps as il, StorageLocationModeSchema as in, switchCapability as io, coverCapability as ir, toExpressionValue as is, EMPTY_REMOTE_CONFIG as it, CoreBlockSchema as j, runFanOut as ja, nodeIdOfScopedKey as jc, migrationsCapability as ji, buildDeviceEnrollmentLink as jn, HISTORY_SLOW_MS as jo, evictionPolicyOfLocation as jr, RecordKindDeclarationSchema as js, NetworkTunnelStartedDataSchema as jt, ConsumableItemSchema as k, resolveStepArgs as ka, makeSecretMarker as kc, methodRefusal as ki, buildActionSteps as kn, DEFAULT_HISTORY_RETENTION as ko, evaluateStepCondition as kr, ReadinessTimeoutError as ks, MigrationLedgerEntrySchema as kt, ActionStepSchema as l, recordEntriesCapability as la, emitReadiness as lc, isVoidInput as li, TokenScopeSchema as ln, timedRunMaxIn as lo, declarationOwnerNodeId as lr, DATAPLANE_SECRET_HEADER as ls, FanPresetSchema as lt, BUILTIN_REMOTE_COMPONENTS as m, remoteSourceSteps as ma, historyItemFieldPath as mc, legacyModeOf as mi, actionsCapability as mn, userManagementCapability as mo, describeComposableCaps as mr, FilterRequiredError as ms, HISTORY_ITEM_CATALOG as mt, ACTION_TARGET_INVALIDATION_EVENTS as n, problemsBlockSave as na, createEvent as nc, isCollectionArrayMethod as ni, DeviceType as nl, SsoBridgeClaimsSchema as nn, streamQualityLabel as no, coreBlockSourceKind as nr, planStatisticTier as ns, EMPTY_AUTOMATION_STATE as nt, AGENT_MDNS_TXT_KEYS as o, proposeRunningThreshold as oa, defineEntryKind as oc, isLocationEnabled as oi, StorageMigrationJobSchema as on, templateCapability as oo, customKeyOfRole as or, BaseAddon as os, FIRST_LEVEL_MACRO_CLASSES as ot, AutomationStateDocSchema as p, remoteLayoutComponentsCapability as pa, getDebugInterest as pc, legacyAutoLinkIds as pi, actionWaitTotalMs as pn, unmetRequirements as po, deriveBatteryPresence as pr, DeviceTransitionSchema as ps, HISTORY_CATALOG as pt, DEVICE_TEMPLATE_MAX_LENGTH as q, snapshotCapability as qa, toNodeId as qc, parseStreamParamsFormPatch as qi, compareVersions as qn, helperMembers as qo, groupTemplate as qr, assertValidDeclaration as qs, RemoteLayoutPayloadSchema as qt, ACTUATOR_METHODS as r, procedureAuthKey as ra, customAction as rc, isCredentialTokenPayload as ri, errMsg as rl, StorageCleanupJobSchema as rn, supportedRuntimes as ro, coreBlocksCapability as rr, statisticCadenceMs as rs, EMPTY_REMOTE_ASSUMED_STATE as rt, ALL_CAPABILITY_DEFINITIONS as s, ptzAutotrackCapability as sa, defineRecordKinds as sc, isObjectInput as si, SwitchStatusSchema as sn, timedRunCapability as so, dataStoreProviderCapability as sr, BatchTooLargeError as ss, FanControlStatusSchema as st, ACTION_RUN_MAX_MS as t, preconditionOf as ta, commandOrigin as tc, isArrayOutputSchema as ti, DeviceRole as tl, ServerNameSchema as tn, streamCatalogCapability as to, coreBlockIdFromAddonId as tr, planResetTier as ts, DiscoveryProposalBodySchema as tt, ActionTargetResolver as u, recordsCapability as ua, entryBody as uc, kebabToCamel as ui, UNATTRIBUTED_BUCKET_KEY as un, timedRunQuickRun as uo, declaredSeriesKind as ur, DEVICE_SETTINGS_CONTRIBUTION_METHODS as us, FieldClaimModeSchema as ut, CAMSTACK_APP_LINK_ORIGIN as v, resolveBucketMs as va, isDebugChannelName as vc, locationIconKey as vi, addonWidgetsCapability as vn, valveCapability as vo, deviceHistoryCapability as vr, NoCallerError as vs, IDLE_ACTION_STATUS as vt, CORE_BLOCK_ADDON_PREFIX as w, resolveMethodAuth as wa, isSecretClear as wc, mayReadLocation as wi, authProviderCapability as wn, withLocationMode as wo, deviceTransitionsCapability as wr, RECORD_SWEEP_INTERVAL_MS as ws, METHOD_ACCESS_MAP as wt, COMPOSED_ITEM_FIXED_FIELDS as x, resolveHeroLayout as xa, isInstanceEnabled as xc, logDestinationCapability as xi, alertsCapability as xn, vectorStoreCapability as xo, deviceRunsCapability as xr, RECORD_BATCH_MAX_BYTES as xs, KeychainAuditEntrySchema as xt, CAP_NAMES_WITH_STATUS as y, resolveCoreBlockEntry as ya, isDeviceConfigCap as yc, lockControlCapability as yi, alertEpisodeId as yn, vectorDimFromBase64 as yo, deviceManagerCapability as yr, PlaintextSecretError as ys, INTERNAL_ACTION_PREFIX as yt, DERIVED_CAMERA_SILENCED_CAP_NAMES as z, seedInstanceOnce as za, recordSecretRef as zc, normalizeStepTargets as zi, catalogueIssues as zn, compositionFeatureEnabled as zo, filesystemBrowseCapability as zr, UnindexedFilterError as zs, PreferenceNamespaceSchema as zt };