@camstack/system 1.2.87 → 1.2.88

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 (49) hide show
  1. package/dist/builtins/addon-pages-aggregator/addon-pages-aggregator.addon.js +1 -1
  2. package/dist/builtins/addon-pages-aggregator/addon-pages-aggregator.addon.mjs +1 -1
  3. package/dist/builtins/addon-widgets-aggregator/addon-widgets-aggregator.addon.js +1 -1
  4. package/dist/builtins/addon-widgets-aggregator/addon-widgets-aggregator.addon.mjs +1 -1
  5. package/dist/builtins/alerts/alerts.addon.js +1 -1
  6. package/dist/builtins/alerts/alerts.addon.mjs +1 -1
  7. package/dist/builtins/backup-orchestrator/backup-orchestrator.addon.js +1 -1
  8. package/dist/builtins/backup-orchestrator/backup-orchestrator.addon.mjs +1 -1
  9. package/dist/builtins/console-logging/index.js +1 -1
  10. package/dist/builtins/console-logging/index.mjs +1 -1
  11. package/dist/builtins/core-blocks/core-blocks.addon.js +1 -1
  12. package/dist/builtins/core-blocks/core-blocks.addon.mjs +1 -1
  13. package/dist/builtins/device-manager/device-manager.addon.js +1 -1
  14. package/dist/builtins/device-manager/device-manager.addon.mjs +1 -1
  15. package/dist/builtins/doorbell/virtual-doorbell.addon.js +1 -1
  16. package/dist/builtins/doorbell/virtual-doorbell.addon.mjs +1 -1
  17. package/dist/builtins/hub-forwarder/index.js +1 -1
  18. package/dist/builtins/hub-forwarder/index.mjs +1 -1
  19. package/dist/builtins/liveness-monitor/liveness-monitor.addon.js +1 -1
  20. package/dist/builtins/liveness-monitor/liveness-monitor.addon.mjs +1 -1
  21. package/dist/builtins/local-auth/local-auth.addon.js +1 -1
  22. package/dist/builtins/local-auth/local-auth.addon.mjs +1 -1
  23. package/dist/builtins/local-network/local-network.addon.js +1 -1
  24. package/dist/builtins/local-network/local-network.addon.mjs +1 -1
  25. package/dist/builtins/loki-logging/index.js +1 -1
  26. package/dist/builtins/loki-logging/index.mjs +1 -1
  27. package/dist/builtins/native-metrics/native-metrics.addon.js +1 -1
  28. package/dist/builtins/native-metrics/native-metrics.addon.mjs +1 -1
  29. package/dist/builtins/platform-probe/index.js +1 -1
  30. package/dist/builtins/platform-probe/index.mjs +1 -1
  31. package/dist/builtins/remote-access-orchestrator/remote-access-orchestrator.addon.js +1 -1
  32. package/dist/builtins/remote-access-orchestrator/remote-access-orchestrator.addon.mjs +1 -1
  33. package/dist/builtins/snapshot/index.js +1 -1
  34. package/dist/builtins/snapshot/index.mjs +1 -1
  35. package/dist/builtins/sqlite-storage/filesystem-storage.addon.js +1 -1
  36. package/dist/builtins/sqlite-storage/filesystem-storage.addon.mjs +1 -1
  37. package/dist/builtins/sqlite-storage/sqlite-settings.addon.js +1 -1
  38. package/dist/builtins/sqlite-storage/sqlite-settings.addon.mjs +1 -1
  39. package/dist/builtins/storage-orchestrator/storage-orchestrator.addon.js +1 -1
  40. package/dist/builtins/storage-orchestrator/storage-orchestrator.addon.mjs +1 -1
  41. package/dist/builtins/system-config/system-config.addon.js +1 -1
  42. package/dist/builtins/system-config/system-config.addon.mjs +1 -1
  43. package/dist/builtins/winston-logging/index.js +1 -1
  44. package/dist/builtins/winston-logging/index.mjs +1 -1
  45. package/dist/{dist-D4nuaPdd.js → dist-B4WyhfjH.js} +76 -8
  46. package/dist/{dist-CuAaqtdt.mjs → dist-DlDY9mQO.mjs} +76 -8
  47. package/dist/index.js +1 -1
  48. package/dist/index.mjs +1 -1
  49. package/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-D4nuaPdd.js");
6
+ const require_dist = require("../../dist-B4WyhfjH.js");
7
7
  const require_settle_sources = require("../../settle-sources-Bhsy57y-.js");
8
8
  let node_crypto = require("node:crypto");
9
9
  let node_path = require("node:path");
@@ -1,4 +1,4 @@
1
- import { Ut as EventCategory, _t as BaseAddon, gt as errMsg, v as addonPagesCapability } from "../../dist-CuAaqtdt.mjs";
1
+ import { Ut as EventCategory, _t as BaseAddon, gt as errMsg, v as addonPagesCapability } from "../../dist-DlDY9mQO.mjs";
2
2
  import { t as settleSourcesWithTimeout } from "../../settle-sources-CDtNC8ub.mjs";
3
3
  import { createHash, randomUUID } from "node:crypto";
4
4
  import * as path$1 from "node:path";
@@ -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-D4nuaPdd.js");
6
+ const require_dist = require("../../dist-B4WyhfjH.js");
7
7
  const require_settle_sources = require("../../settle-sources-Bhsy57y-.js");
8
8
  let node_crypto = require("node:crypto");
9
9
  let node_path = require("node:path");
@@ -1,4 +1,4 @@
1
- import { Ut as EventCategory, _t as BaseAddon, b as addonWidgetsCapability, gt as errMsg } from "../../dist-CuAaqtdt.mjs";
1
+ import { Ut as EventCategory, _t as BaseAddon, b as addonWidgetsCapability, gt as errMsg } from "../../dist-DlDY9mQO.mjs";
2
2
  import { t as settleSourcesWithTimeout } from "../../settle-sources-CDtNC8ub.mjs";
3
3
  import { createHash, randomUUID } from "node:crypto";
4
4
  import * as path$1 from "node:path";
@@ -3,7 +3,7 @@ Object.defineProperties(exports, {
3
3
  [Symbol.toStringTag]: { value: "Module" }
4
4
  });
5
5
  require("../../chunk-Cek0wNdY.js");
6
- const require_dist = require("../../dist-D4nuaPdd.js");
6
+ const require_dist = require("../../dist-B4WyhfjH.js");
7
7
  //#region src/builtins/alerts/prune-policy.ts
8
8
  /**
9
9
  * Ids older than `cutoffMs`, oldest first.
@@ -1,4 +1,4 @@
1
- import { At as createEvent, Ut as EventCategory, _t as BaseAddon, gt as errMsg, n as AlertSchema, x as alertsCapability } from "../../dist-CuAaqtdt.mjs";
1
+ import { At as createEvent, Ut as EventCategory, _t as BaseAddon, gt as errMsg, n as AlertSchema, x as alertsCapability } from "../../dist-DlDY9mQO.mjs";
2
2
  //#region src/builtins/alerts/prune-policy.ts
3
3
  /**
4
4
  * Ids older than `cutoffMs`, oldest first.
@@ -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-D4nuaPdd.js");
6
+ const require_dist = require("../../dist-B4WyhfjH.js");
7
7
  let node_crypto = require("node:crypto");
8
8
  let buffer = require("buffer");
9
9
  let node_fs_promises = require("node:fs/promises");
@@ -1,4 +1,4 @@
1
- import { C as backupCapability, Ut as EventCategory, _t as BaseAddon } from "../../dist-CuAaqtdt.mjs";
1
+ import { C as backupCapability, Ut as EventCategory, _t as BaseAddon } from "../../dist-DlDY9mQO.mjs";
2
2
  import { randomBytes, randomUUID } from "node:crypto";
3
3
  import { Buffer as Buffer$1 } from "buffer";
4
4
  import * as fsp from "node:fs/promises";
@@ -3,7 +3,7 @@ Object.defineProperties(exports, {
3
3
  [Symbol.toStringTag]: { value: "Module" }
4
4
  });
5
5
  require("../../chunk-Cek0wNdY.js");
6
- const require_dist = require("../../dist-D4nuaPdd.js");
6
+ const require_dist = require("../../dist-B4WyhfjH.js");
7
7
  const require_formatter = require("../../formatter-DqAKDlvN.js");
8
8
  //#region src/builtins/console-logging/console-destination.ts
9
9
  var LEVEL_RANK = {
@@ -1,4 +1,4 @@
1
- import { J as logDestinationCapability, _t as BaseAddon } from "../../dist-CuAaqtdt.mjs";
1
+ import { J as logDestinationCapability, _t as BaseAddon } from "../../dist-DlDY9mQO.mjs";
2
2
  import { t as formatLogLine } from "../../formatter-B7qW8bPJ.mjs";
3
3
  //#region src/builtins/console-logging/console-destination.ts
4
4
  var LEVEL_RANK = {
@@ -1,6 +1,6 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
2
  const require_chunk = require("../../chunk-Cek0wNdY.js");
3
- const require_dist = require("../../dist-D4nuaPdd.js");
3
+ const require_dist = require("../../dist-B4WyhfjH.js");
4
4
  let node_crypto = require("node:crypto");
5
5
  let node_fs_promises = require("node:fs/promises");
6
6
  node_fs_promises = require_chunk.__toESM(node_fs_promises);
@@ -1,4 +1,4 @@
1
- import { D as coreBlockIdFromAddonId, E as coreBlockAddonId, O as coreBlocksCapability, _t as BaseAddon, c as CoreBlockSchema, l as DeclaredDevices, o as CORE_BLOCKS_ADDON_ID, s as CORE_BLOCK_ADDON_PREFIX } from "../../dist-CuAaqtdt.mjs";
1
+ import { D as coreBlockIdFromAddonId, E as coreBlockAddonId, O as coreBlocksCapability, _t as BaseAddon, c as CoreBlockSchema, l as DeclaredDevices, o as CORE_BLOCKS_ADDON_ID, s as CORE_BLOCK_ADDON_PREFIX } from "../../dist-DlDY9mQO.mjs";
2
2
  import { randomUUID } from "node:crypto";
3
3
  import * as fs from "node:fs/promises";
4
4
  import * as path$1 from "node:path";
@@ -3,7 +3,7 @@ Object.defineProperties(exports, {
3
3
  [Symbol.toStringTag]: { value: "Module" }
4
4
  });
5
5
  require("../../chunk-Cek0wNdY.js");
6
- const require_dist = require("../../dist-D4nuaPdd.js");
6
+ const require_dist = require("../../dist-B4WyhfjH.js");
7
7
  let node_crypto = require("node:crypto");
8
8
  let _camstack_types_node = require("@camstack/types/node");
9
9
  //#region src/builtins/device-manager/adoption-job-engine.ts
@@ -1,4 +1,4 @@
1
- import { Ct as DeviceType, Et as WELL_KNOWN_TAB_MAP, Ft as isDeviceConfigCap, Ht as sleep, I as enumerateItemArrayFields, L as enumerateSchemaFields, M as deviceStateCapability, N as deviceStatusCapability, Q as normalizeUnit, St as DeviceRole, T as buildStreamParamsConfigSchema, Ut as EventCategory, _t as BaseAddon, a as CAP_NAMES_WITH_STATUS, et as parseStreamParamsFormPatch, gt as errMsg, j as deviceManagerCapability, p as STREAM_PROFILE_META, rt as runtimeStatePolicyFor, t as ALL_CAPABILITY_DEFINITIONS, u as DeviceStatusSchema, xt as DeviceFeature } from "../../dist-CuAaqtdt.mjs";
1
+ import { Ct as DeviceType, Et as WELL_KNOWN_TAB_MAP, Ft as isDeviceConfigCap, Ht as sleep, I as enumerateItemArrayFields, L as enumerateSchemaFields, M as deviceStateCapability, N as deviceStatusCapability, Q as normalizeUnit, St as DeviceRole, T as buildStreamParamsConfigSchema, Ut as EventCategory, _t as BaseAddon, a as CAP_NAMES_WITH_STATUS, et as parseStreamParamsFormPatch, gt as errMsg, j as deviceManagerCapability, p as STREAM_PROFILE_META, rt as runtimeStatePolicyFor, t as ALL_CAPABILITY_DEFINITIONS, u as DeviceStatusSchema, xt as DeviceFeature } from "../../dist-DlDY9mQO.mjs";
2
2
  import { randomUUID } from "node:crypto";
3
3
  import { canonicalDeviceFingerprint } from "@camstack/types/node";
4
4
  //#region src/builtins/device-manager/adoption-job-engine.ts
@@ -3,7 +3,7 @@ Object.defineProperties(exports, {
3
3
  [Symbol.toStringTag]: { value: "Module" }
4
4
  });
5
5
  require("../../chunk-Cek0wNdY.js");
6
- const require_dist = require("../../dist-D4nuaPdd.js");
6
+ const require_dist = require("../../dist-B4WyhfjH.js");
7
7
  //#region src/builtins/doorbell/trigger-engine.ts
8
8
  /**
9
9
  * Pure trigger logic for the virtual-doorbell builtin — edge detection over
@@ -1,4 +1,4 @@
1
- import { At as createEvent, Ct as DeviceType, P as doorbellCapability, U as isSameAddonId, Ut as EventCategory, _t as BaseAddon, gt as errMsg, w as bareAddonId } from "../../dist-CuAaqtdt.mjs";
1
+ import { At as createEvent, Ct as DeviceType, P as doorbellCapability, U as isSameAddonId, Ut as EventCategory, _t as BaseAddon, gt as errMsg, w as bareAddonId } from "../../dist-DlDY9mQO.mjs";
2
2
  //#region src/builtins/doorbell/trigger-engine.ts
3
3
  /**
4
4
  * Pure trigger logic for the virtual-doorbell builtin — edge detection over
@@ -3,7 +3,7 @@ Object.defineProperties(exports, {
3
3
  [Symbol.toStringTag]: { value: "Module" }
4
4
  });
5
5
  require("../../chunk-Cek0wNdY.js");
6
- const require_dist = require("../../dist-D4nuaPdd.js");
6
+ const require_dist = require("../../dist-B4WyhfjH.js");
7
7
  const require_formatter = require("../../formatter-DqAKDlvN.js");
8
8
  //#region src/builtins/hub-forwarder/hub-forwarder-destination.ts
9
9
  var DEFAULT_OUTBOUND_BUFFER_SIZE = 500;
@@ -1,4 +1,4 @@
1
- import { J as logDestinationCapability, _t as BaseAddon } from "../../dist-CuAaqtdt.mjs";
1
+ import { J as logDestinationCapability, _t as BaseAddon } from "../../dist-DlDY9mQO.mjs";
2
2
  import { t as formatLogLine } from "../../formatter-B7qW8bPJ.mjs";
3
3
  //#region src/builtins/hub-forwarder/hub-forwarder-destination.ts
4
4
  var DEFAULT_OUTBOUND_BUFFER_SIZE = 500;
@@ -1,6 +1,6 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
2
  require("../../chunk-Cek0wNdY.js");
3
- const require_dist = require("../../dist-D4nuaPdd.js");
3
+ const require_dist = require("../../dist-B4WyhfjH.js");
4
4
  //#region src/builtins/liveness-monitor/liveness-checks.ts
5
5
  var NO_DEVICES = "liveness:no-devices";
6
6
  var ALL_OFFLINE = "liveness:all-devices-offline";
@@ -1,4 +1,4 @@
1
- import { At as createEvent, Ut as EventCategory, _t as BaseAddon, gt as errMsg } from "../../dist-CuAaqtdt.mjs";
1
+ import { At as createEvent, Ut as EventCategory, _t as BaseAddon, gt as errMsg } from "../../dist-DlDY9mQO.mjs";
2
2
  //#region src/builtins/liveness-monitor/liveness-checks.ts
3
3
  var NO_DEVICES = "liveness:no-devices";
4
4
  var ALL_OFFLINE = "liveness:all-devices-offline";
@@ -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-D4nuaPdd.js");
6
+ const require_dist = require("../../dist-B4WyhfjH.js");
7
7
  let node_crypto = require("node:crypto");
8
8
  node_crypto = require_chunk.__toESM(node_crypto);
9
9
  let crypto$1 = require("crypto");
@@ -1,5 +1,5 @@
1
1
  import { i as __require, o as __toESM, t as __commonJSMin } from "../../chunk-CNf5ZN-e.mjs";
2
- import { S as authProviderCapability, _ as UserRecordSchema, _t as BaseAddon, m as ScopedTokenSchema, pt as userManagementCapability, r as ApiKeyRecordSchema } from "../../dist-CuAaqtdt.mjs";
2
+ import { S as authProviderCapability, _ as UserRecordSchema, _t as BaseAddon, m as ScopedTokenSchema, pt as userManagementCapability, r as ApiKeyRecordSchema } from "../../dist-DlDY9mQO.mjs";
3
3
  import * as crypto$2 from "node:crypto";
4
4
  import { createHash, randomUUID, timingSafeEqual } from "node:crypto";
5
5
  import nodeCrypto from "crypto";
@@ -1,6 +1,6 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
2
  const require_chunk = require("../../chunk-Cek0wNdY.js");
3
- const require_dist = require("../../dist-D4nuaPdd.js");
3
+ const require_dist = require("../../dist-B4WyhfjH.js");
4
4
  let node_os = require("node:os");
5
5
  node_os = require_chunk.__toESM(node_os);
6
6
  //#region src/builtins/local-network/local-network.addon.ts
@@ -1,4 +1,4 @@
1
- import { Ut as EventCategory, _t as BaseAddon, q as localNetworkCapability } from "../../dist-CuAaqtdt.mjs";
1
+ import { Ut as EventCategory, _t as BaseAddon, q as localNetworkCapability } from "../../dist-DlDY9mQO.mjs";
2
2
  import * as os from "node:os";
3
3
  //#region src/builtins/local-network/local-network.addon.ts
4
4
  /**
@@ -3,7 +3,7 @@ Object.defineProperties(exports, {
3
3
  [Symbol.toStringTag]: { value: "Module" }
4
4
  });
5
5
  require("../../chunk-Cek0wNdY.js");
6
- const require_dist = require("../../dist-D4nuaPdd.js");
6
+ const require_dist = require("../../dist-B4WyhfjH.js");
7
7
  //#region src/builtins/loki-logging/loki-payload.ts
8
8
  /**
9
9
  * Loki rejects a label name that is not a valid Prometheus label
@@ -1,4 +1,4 @@
1
- import { J as logDestinationCapability, _t as BaseAddon } from "../../dist-CuAaqtdt.mjs";
1
+ import { J as logDestinationCapability, _t as BaseAddon } from "../../dist-DlDY9mQO.mjs";
2
2
  //#region src/builtins/loki-logging/loki-payload.ts
3
3
  /**
4
4
  * Loki rejects a label name that is not a valid Prometheus label
@@ -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-D4nuaPdd.js");
6
+ const require_dist = require("../../dist-B4WyhfjH.js");
7
7
  let node_child_process = require("node:child_process");
8
8
  let node_util = require("node:util");
9
9
  let node_os = require("node:os");
@@ -1,4 +1,4 @@
1
- import { At as createEvent, Ut as EventCategory, Z as metricsProviderCapability, _t as BaseAddon } from "../../dist-CuAaqtdt.mjs";
1
+ import { At as createEvent, Ut as EventCategory, Z as metricsProviderCapability, _t as BaseAddon } from "../../dist-DlDY9mQO.mjs";
2
2
  import { execFile, execFileSync } from "node:child_process";
3
3
  import { promisify } from "node:util";
4
4
  import * as os from "node:os";
@@ -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-D4nuaPdd.js");
6
+ const require_dist = require("../../dist-B4WyhfjH.js");
7
7
  let node_child_process = require("node:child_process");
8
8
  let node_util = require("node:util");
9
9
  let node_os = require("node:os");
@@ -1,5 +1,5 @@
1
1
  import { o as __toESM } from "../../chunk-CNf5ZN-e.mjs";
2
- import { F as enumerateInferenceDevices, Mt as emitReadiness, Ut as EventCategory, _t as BaseAddon, gt as errMsg, ot as scoreRuntimes, tt as platformProbeCapability } from "../../dist-CuAaqtdt.mjs";
2
+ import { F as enumerateInferenceDevices, Mt as emitReadiness, Ut as EventCategory, _t as BaseAddon, gt as errMsg, ot as scoreRuntimes, tt as platformProbeCapability } from "../../dist-DlDY9mQO.mjs";
3
3
  import { execFile } from "node:child_process";
4
4
  import { promisify } from "node:util";
5
5
  import * as os from "node:os";
@@ -3,7 +3,7 @@ Object.defineProperties(exports, {
3
3
  [Symbol.toStringTag]: { value: "Module" }
4
4
  });
5
5
  require("../../chunk-Cek0wNdY.js");
6
- const require_dist = require("../../dist-D4nuaPdd.js");
6
+ const require_dist = require("../../dist-B4WyhfjH.js");
7
7
  //#region src/builtins/remote-access-orchestrator/enabled-providers-reconcile.ts
8
8
  /**
9
9
  * Reconcile the durable `enabledProviders` set against authoritative
@@ -1,4 +1,4 @@
1
- import { Ut as EventCategory, _t as BaseAddon } from "../../dist-CuAaqtdt.mjs";
1
+ import { Ut as EventCategory, _t as BaseAddon } from "../../dist-DlDY9mQO.mjs";
2
2
  //#region src/builtins/remote-access-orchestrator/enabled-providers-reconcile.ts
3
3
  /**
4
4
  * Reconcile the durable `enabledProviders` set against authoritative
@@ -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-D4nuaPdd.js");
6
+ const require_dist = require("../../dist-B4WyhfjH.js");
7
7
  let zod = require("zod");
8
8
  let node_crypto = require("node:crypto");
9
9
  let _camstack_types_node = require("@camstack/types/node");
@@ -1,4 +1,4 @@
1
- import { Ct as DeviceType, It as nodePin, Ut as EventCategory, _t as BaseAddon, ct as snapshotCapability, ft as streamQualityLabel, gt as errMsg, i as BatteryStatusSchema, w as bareAddonId, xt as DeviceFeature } from "../../dist-CuAaqtdt.mjs";
1
+ import { Ct as DeviceType, It as nodePin, Ut as EventCategory, _t as BaseAddon, ct as snapshotCapability, ft as streamQualityLabel, gt as errMsg, i as BatteryStatusSchema, w as bareAddonId, xt as DeviceFeature } from "../../dist-DlDY9mQO.mjs";
2
2
  import { z } from "zod";
3
3
  import { randomUUID } from "node:crypto";
4
4
  import { signExpiringUrl, verifyExpiringUrl } from "@camstack/types/node";
@@ -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-D4nuaPdd.js");
6
+ const require_dist = require("../../dist-B4WyhfjH.js");
7
7
  let node_crypto = require("node:crypto");
8
8
  let node_fs_promises = require("node:fs/promises");
9
9
  let node_path = require("node:path");
@@ -1,4 +1,4 @@
1
- import { _t as BaseAddon, dt as storageProviderCapability, z as filesystemBrowseCapability } from "../../dist-CuAaqtdt.mjs";
1
+ import { _t as BaseAddon, dt as storageProviderCapability, z as filesystemBrowseCapability } from "../../dist-DlDY9mQO.mjs";
2
2
  import { randomUUID } from "node:crypto";
3
3
  import { mkdir, readdir, realpath, statfs } from "node:fs/promises";
4
4
  import * as path$1 from "node:path";
@@ -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-D4nuaPdd.js");
6
+ const require_dist = require("../../dist-B4WyhfjH.js");
7
7
  let node_crypto = require("node:crypto");
8
8
  let node_fs = require("node:fs");
9
9
  let node_module = require("node:module");
@@ -1,4 +1,4 @@
1
- import { A as decodeVectorBase64, Dt as asJsonObject, Rt as parseJsonUnknown, _t as BaseAddon, f as RUNTIME_DEFAULTS, gt as errMsg, ht as vectorStoreCapability, k as dataStoreProviderCapability, mt as vectorDimFromBase64, w as bareAddonId } from "../../dist-CuAaqtdt.mjs";
1
+ import { A as decodeVectorBase64, Dt as asJsonObject, Rt as parseJsonUnknown, _t as BaseAddon, f as RUNTIME_DEFAULTS, gt as errMsg, ht as vectorStoreCapability, k as dataStoreProviderCapability, mt as vectorDimFromBase64, w as bareAddonId } from "../../dist-DlDY9mQO.mjs";
2
2
  import { createRequire } from "node:module";
3
3
  import { randomUUID } from "node:crypto";
4
4
  import { statSync } from "node:fs";
@@ -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-D4nuaPdd.js");
6
+ const require_dist = require("../../dist-B4WyhfjH.js");
7
7
  let node_crypto = require("node:crypto");
8
8
  let node_fs_promises = require("node:fs/promises");
9
9
  node_fs_promises = require_chunk.__toESM(node_fs_promises);
@@ -1,4 +1,4 @@
1
- import { Lt as parseJsonObject, _t as BaseAddon, g as StorageMigrationJobSchema, h as StorageLocationTypeSchema, lt as storageCapability, st as settingsStoreCapability, ut as storageMigrationCapability } from "../../dist-CuAaqtdt.mjs";
1
+ import { Lt as parseJsonObject, _t as BaseAddon, g as StorageMigrationJobSchema, h as StorageLocationTypeSchema, lt as storageCapability, st as settingsStoreCapability, ut as storageMigrationCapability } from "../../dist-DlDY9mQO.mjs";
2
2
  import { randomUUID } from "node:crypto";
3
3
  import * as fs from "node:fs/promises";
4
4
  import * as path$1 from "node:path";
@@ -3,7 +3,7 @@ Object.defineProperties(exports, {
3
3
  [Symbol.toStringTag]: { value: "Module" }
4
4
  });
5
5
  require("../../chunk-Cek0wNdY.js");
6
- const require_dist = require("../../dist-D4nuaPdd.js");
6
+ const require_dist = require("../../dist-B4WyhfjH.js");
7
7
  //#region src/builtins/system-config/system-config.addon.ts
8
8
  /**
9
9
  * Built-in `system-config` addon — Phase 4 of the settings redesign.
@@ -1,4 +1,4 @@
1
- import { Pt as hydrateSchema, _t as BaseAddon, gt as errMsg } from "../../dist-CuAaqtdt.mjs";
1
+ import { Pt as hydrateSchema, _t as BaseAddon, gt as errMsg } from "../../dist-DlDY9mQO.mjs";
2
2
  //#region src/builtins/system-config/system-config.addon.ts
3
3
  /**
4
4
  * Built-in `system-config` addon — Phase 4 of the settings redesign.
@@ -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-D4nuaPdd.js");
6
+ const require_dist = require("../../dist-B4WyhfjH.js");
7
7
  const require_formatter = require("../../formatter-DqAKDlvN.js");
8
8
  let node_path = require("node:path");
9
9
  node_path = require_chunk.__toESM(node_path);
@@ -1,4 +1,4 @@
1
- import { J as logDestinationCapability, _t as BaseAddon } from "../../dist-CuAaqtdt.mjs";
1
+ import { J as logDestinationCapability, _t as BaseAddon } from "../../dist-DlDY9mQO.mjs";
2
2
  import { t as formatLogLine } from "../../formatter-B7qW8bPJ.mjs";
3
3
  import * as path$1 from "node:path";
4
4
  import path from "node:path";
@@ -11065,11 +11065,33 @@ var NotificationFormatSchema = zod.z.enum([
11065
11065
  * Named by INTENT, never by glyph. "check" would tie the vocabulary to one
11066
11066
  * renderer's icon set; "acknowledge" survives an adapter that draws it
11067
11067
  * differently.
11068
+ *
11069
+ * ── A TOKEN IS NOT A WIRE VALUE ─────────────────────────────────────
11070
+ *
11071
+ * These names are for US. **No adapter may forward one verbatim.** Each maps
11072
+ * the whole set onto its own renderer's vocabulary through a
11073
+ * `Record<NotificationActionIcon, string>` — a Record, never a lookup with a
11074
+ * fallback, so adding a member here fails every adapter's build until someone
11075
+ * decides its glyph, which is the only place that decision can be made
11076
+ * honestly.
11077
+ *
11078
+ * This paragraph is the bug. Zentik declared `actionIcons: true` and passed
11079
+ * `disarm` straight through; iOS feeds that string to
11080
+ * `UNNotificationActionIcon(systemImageName:)`, `disarm` is not an SF Symbol,
11081
+ * and every snooze and alarm button arrived BLANK. A pass-through is not a
11082
+ * mapping, and "the field is documented" is not "the value renders".
11083
+ *
11084
+ * Adding a member is TRAIN-BOUND. The enum lives in the published
11085
+ * `@camstack/server` closure and the cap seam validates against the HUB's copy,
11086
+ * so an addon that emits a token the running hub does not know does not lose an
11087
+ * icon — its whole `send` fails Zod validation and the notification never
11088
+ * arrives. Never emit a new token from an addon before the train carrying it.
11068
11089
  */
11069
11090
  var NotificationActionIconSchema = zod.z.enum([
11070
11091
  "acknowledge",
11071
11092
  "dismiss",
11072
11093
  "silence",
11094
+ "snooze",
11073
11095
  "view",
11074
11096
  "play",
11075
11097
  "open",
@@ -11077,9 +11099,13 @@ var NotificationActionIconSchema = zod.z.enum([
11077
11099
  "lock",
11078
11100
  "unlock",
11079
11101
  "arm",
11102
+ "arm-home",
11103
+ "arm-away",
11104
+ "arm-night",
11080
11105
  "disarm",
11081
11106
  "light",
11082
- "alert"
11107
+ "alert",
11108
+ "camera"
11083
11109
  ]);
11084
11110
  /** A single tap-through action button. */
11085
11111
  var NotificationActionSchema = zod.z.object({
@@ -11295,6 +11321,24 @@ var notificationOutputCapability = {
11295
11321
  }), zod.z.void(), { kind: "mutation" })
11296
11322
  }
11297
11323
  };
11324
+ new Set([
11325
+ {
11326
+ id: "person",
11327
+ name: "Person"
11328
+ },
11329
+ {
11330
+ id: "vehicle",
11331
+ name: "Vehicle"
11332
+ },
11333
+ {
11334
+ id: "animal",
11335
+ name: "Animal"
11336
+ },
11337
+ {
11338
+ id: "package",
11339
+ name: "Package"
11340
+ }
11341
+ ].map((l) => l.id));
11298
11342
  var COCO_TO_MACRO = {
11299
11343
  mapping: {
11300
11344
  person: "person",
@@ -12132,6 +12176,8 @@ var NcSystemEventKindSchema = zod.z.enum([
12132
12176
  "alarm-triggered",
12133
12177
  "alarm-armed",
12134
12178
  "alarm-disarmed",
12179
+ "alarm-arming",
12180
+ "alarm-arm-refused",
12135
12181
  "camera-online",
12136
12182
  "camera-offline",
12137
12183
  "camera-disabled",
@@ -16079,6 +16125,22 @@ var detectionFpsField = {
16079
16125
  default: 10,
16080
16126
  step: 1
16081
16127
  };
16128
+ /**
16129
+ * The occupancy re-check interval. DEFAULT 300 s (2026-08-13 — was 30 s).
16130
+ *
16131
+ * The recheck is now on by default (a parked car is invisible to occupancy
16132
+ * rules until the stationary registry has been rebuilt by motion, which after a
16133
+ * restart may be never on a quiet camera). Each cycle re-subscribes a detection
16134
+ * session — an RTSP re-dial — so the switch is only affordable at a WIDE
16135
+ * interval: 300 s is ~12 re-dials an hour per camera, against 120 at the old
16136
+ * 30 s. A parked car is therefore counted within 5 minutes of a restart.
16137
+ *
16138
+ * Why not wider: `max` is 300 and raising it is TRAIN-BOUND, not addon-bound —
16139
+ * the host validates `attachCamera` against ITS copy of this schema, so a
16140
+ * runner asked for 600 would be rejected by the hub until a `@camstack/server`
16141
+ * carrying the wider bound is installed everywhere. 300 is the widest value
16142
+ * that ships with an addon deploy.
16143
+ */
16082
16144
  var occupancyRecheckSecField = {
16083
16145
  min: 0,
16084
16146
  max: 300,
@@ -16280,15 +16342,21 @@ var RunnerCameraConfigSchema = zod.z.object({
16280
16342
  */
16281
16343
  onboardMotionDrivesAnalyzer: zod.z.boolean().default(true),
16282
16344
  /**
16283
- * Master toggle for the occupancy re-check. When `false` (DEFAULT) the runner
16284
- * never arms the periodic recheck timer, regardless of `occupancyRecheckSec`
16285
- * this is off by default because the recheck re-subscribes a detection session
16286
- * every N seconds while `watching`, a major source of pull-decoder re-dial
16287
- * churn (each cycle creates+tears a session → RTSP re-dial → latency). The
16345
+ * Master toggle for the occupancy re-check. When `false` the runner never arms
16346
+ * the periodic recheck timer, regardless of `occupancyRecheckSec`; the
16288
16347
  * `occupancyRecheckSec` / `occupancyRecheckFrames` sliders only take effect
16289
16348
  * (and only render) when this is enabled.
16290
- */
16291
- occupancyRecheckEnabled: zod.z.boolean().default(false),
16349
+ *
16350
+ * DEFAULT `true` since 2026-08-13 (was `false`). It was off because the
16351
+ * recheck re-subscribes a detection session every N seconds while `watching`
16352
+ * — each cycle creates+tears a session ⇒ an RTSP re-dial ⇒ latency, a major
16353
+ * pull-decoder churn source. What that bought was a blind spot: a STATIONARY
16354
+ * object is counted only while the stationary registry holds it, and the
16355
+ * registry rebuilds from motion, so after a restart a parked car was invisible
16356
+ * to every occupancy rule until something moved in front of it. The churn is
16357
+ * now paid on the interval instead — see `occupancyRecheckSecField`.
16358
+ */
16359
+ occupancyRecheckEnabled: zod.z.boolean().default(true),
16292
16360
  occupancyRecheckSec: zod.z.number().min(occupancyRecheckSecField.min).max(occupancyRecheckSecField.max).default(occupancyRecheckSecField.default),
16293
16361
  occupancyRecheckFrames: zod.z.number().min(occupancyRecheckFramesField.min).max(occupancyRecheckFramesField.max).default(occupancyRecheckFramesField.default),
16294
16362
  /**
@@ -11065,11 +11065,33 @@ var NotificationFormatSchema = z.enum([
11065
11065
  * Named by INTENT, never by glyph. "check" would tie the vocabulary to one
11066
11066
  * renderer's icon set; "acknowledge" survives an adapter that draws it
11067
11067
  * differently.
11068
+ *
11069
+ * ── A TOKEN IS NOT A WIRE VALUE ─────────────────────────────────────
11070
+ *
11071
+ * These names are for US. **No adapter may forward one verbatim.** Each maps
11072
+ * the whole set onto its own renderer's vocabulary through a
11073
+ * `Record<NotificationActionIcon, string>` — a Record, never a lookup with a
11074
+ * fallback, so adding a member here fails every adapter's build until someone
11075
+ * decides its glyph, which is the only place that decision can be made
11076
+ * honestly.
11077
+ *
11078
+ * This paragraph is the bug. Zentik declared `actionIcons: true` and passed
11079
+ * `disarm` straight through; iOS feeds that string to
11080
+ * `UNNotificationActionIcon(systemImageName:)`, `disarm` is not an SF Symbol,
11081
+ * and every snooze and alarm button arrived BLANK. A pass-through is not a
11082
+ * mapping, and "the field is documented" is not "the value renders".
11083
+ *
11084
+ * Adding a member is TRAIN-BOUND. The enum lives in the published
11085
+ * `@camstack/server` closure and the cap seam validates against the HUB's copy,
11086
+ * so an addon that emits a token the running hub does not know does not lose an
11087
+ * icon — its whole `send` fails Zod validation and the notification never
11088
+ * arrives. Never emit a new token from an addon before the train carrying it.
11068
11089
  */
11069
11090
  var NotificationActionIconSchema = z.enum([
11070
11091
  "acknowledge",
11071
11092
  "dismiss",
11072
11093
  "silence",
11094
+ "snooze",
11073
11095
  "view",
11074
11096
  "play",
11075
11097
  "open",
@@ -11077,9 +11099,13 @@ var NotificationActionIconSchema = z.enum([
11077
11099
  "lock",
11078
11100
  "unlock",
11079
11101
  "arm",
11102
+ "arm-home",
11103
+ "arm-away",
11104
+ "arm-night",
11080
11105
  "disarm",
11081
11106
  "light",
11082
- "alert"
11107
+ "alert",
11108
+ "camera"
11083
11109
  ]);
11084
11110
  /** A single tap-through action button. */
11085
11111
  var NotificationActionSchema = z.object({
@@ -11295,6 +11321,24 @@ var notificationOutputCapability = {
11295
11321
  }), z.void(), { kind: "mutation" })
11296
11322
  }
11297
11323
  };
11324
+ new Set([
11325
+ {
11326
+ id: "person",
11327
+ name: "Person"
11328
+ },
11329
+ {
11330
+ id: "vehicle",
11331
+ name: "Vehicle"
11332
+ },
11333
+ {
11334
+ id: "animal",
11335
+ name: "Animal"
11336
+ },
11337
+ {
11338
+ id: "package",
11339
+ name: "Package"
11340
+ }
11341
+ ].map((l) => l.id));
11298
11342
  var COCO_TO_MACRO = {
11299
11343
  mapping: {
11300
11344
  person: "person",
@@ -12132,6 +12176,8 @@ var NcSystemEventKindSchema = z.enum([
12132
12176
  "alarm-triggered",
12133
12177
  "alarm-armed",
12134
12178
  "alarm-disarmed",
12179
+ "alarm-arming",
12180
+ "alarm-arm-refused",
12135
12181
  "camera-online",
12136
12182
  "camera-offline",
12137
12183
  "camera-disabled",
@@ -16079,6 +16125,22 @@ var detectionFpsField = {
16079
16125
  default: 10,
16080
16126
  step: 1
16081
16127
  };
16128
+ /**
16129
+ * The occupancy re-check interval. DEFAULT 300 s (2026-08-13 — was 30 s).
16130
+ *
16131
+ * The recheck is now on by default (a parked car is invisible to occupancy
16132
+ * rules until the stationary registry has been rebuilt by motion, which after a
16133
+ * restart may be never on a quiet camera). Each cycle re-subscribes a detection
16134
+ * session — an RTSP re-dial — so the switch is only affordable at a WIDE
16135
+ * interval: 300 s is ~12 re-dials an hour per camera, against 120 at the old
16136
+ * 30 s. A parked car is therefore counted within 5 minutes of a restart.
16137
+ *
16138
+ * Why not wider: `max` is 300 and raising it is TRAIN-BOUND, not addon-bound —
16139
+ * the host validates `attachCamera` against ITS copy of this schema, so a
16140
+ * runner asked for 600 would be rejected by the hub until a `@camstack/server`
16141
+ * carrying the wider bound is installed everywhere. 300 is the widest value
16142
+ * that ships with an addon deploy.
16143
+ */
16082
16144
  var occupancyRecheckSecField = {
16083
16145
  min: 0,
16084
16146
  max: 300,
@@ -16280,15 +16342,21 @@ var RunnerCameraConfigSchema = z.object({
16280
16342
  */
16281
16343
  onboardMotionDrivesAnalyzer: z.boolean().default(true),
16282
16344
  /**
16283
- * Master toggle for the occupancy re-check. When `false` (DEFAULT) the runner
16284
- * never arms the periodic recheck timer, regardless of `occupancyRecheckSec`
16285
- * this is off by default because the recheck re-subscribes a detection session
16286
- * every N seconds while `watching`, a major source of pull-decoder re-dial
16287
- * churn (each cycle creates+tears a session → RTSP re-dial → latency). The
16345
+ * Master toggle for the occupancy re-check. When `false` the runner never arms
16346
+ * the periodic recheck timer, regardless of `occupancyRecheckSec`; the
16288
16347
  * `occupancyRecheckSec` / `occupancyRecheckFrames` sliders only take effect
16289
16348
  * (and only render) when this is enabled.
16290
- */
16291
- occupancyRecheckEnabled: z.boolean().default(false),
16349
+ *
16350
+ * DEFAULT `true` since 2026-08-13 (was `false`). It was off because the
16351
+ * recheck re-subscribes a detection session every N seconds while `watching`
16352
+ * — each cycle creates+tears a session ⇒ an RTSP re-dial ⇒ latency, a major
16353
+ * pull-decoder churn source. What that bought was a blind spot: a STATIONARY
16354
+ * object is counted only while the stationary registry holds it, and the
16355
+ * registry rebuilds from motion, so after a restart a parked car was invisible
16356
+ * to every occupancy rule until something moved in front of it. The churn is
16357
+ * now paid on the interval instead — see `occupancyRecheckSecField`.
16358
+ */
16359
+ occupancyRecheckEnabled: z.boolean().default(true),
16292
16360
  occupancyRecheckSec: z.number().min(occupancyRecheckSecField.min).max(occupancyRecheckSecField.max).default(occupancyRecheckSecField.default),
16293
16361
  occupancyRecheckFrames: z.number().min(occupancyRecheckFramesField.min).max(occupancyRecheckFramesField.max).default(occupancyRecheckFramesField.default),
16294
16362
  /**
package/dist/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
2
  const require_chunk = require("./chunk-Cek0wNdY.js");
3
- const require_dist = require("./dist-D4nuaPdd.js");
3
+ const require_dist = require("./dist-B4WyhfjH.js");
4
4
  const require_builtins_alerts_alerts_addon = require("./builtins/alerts/alerts.addon.js");
5
5
  require("./builtins/alerts/index.js");
6
6
  const require_formatter = require("./formatter-DqAKDlvN.js");
package/dist/index.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  import { a as __toCommonJS, i as __require, n as __esmMin, o as __toESM$1, r as __exportAll, t as __commonJSMin$1 } from "./chunk-CNf5ZN-e.mjs";
2
- import { $ as objectInputDeclaresAddonId, At as createEvent, B as isArrayOutputSchema, Bt as resolveCapMount, Dt as asJsonObject$1, G as kebabToCamel, H as isObjectInput, K as lifecycleJobSchema, Lt as parseJsonObject, Nt as expandCapMethods, Ot as asNumber, R as extractNestedAddonId, Rt as parseJsonUnknown$1, Tt as ReadinessTimeoutError, Ut as EventCategory$1, V as isCollectionArrayMethod, Vt as scopeKey, W as isVoidInput, X as looseSchema, Y as logLevelAtMost, at as scopesAllowDeviceCap, bt as DEVICE_STATUS_METHOD, d as METHOD_ACCESS_MAP, f as RUNTIME_DEFAULTS, gt as errMsg$1, it as scopesAllowAddon, jt as emitDownForOwnedCaps, kt as asString$1, nt as procedureAuthKey, t as ALL_CAPABILITY_DEFINITIONS, vt as DATAPLANE_SECRET_HEADER$1, wt as ReadinessRegistry, y as addonSettingsCapability, yt as DEVICE_SETTINGS_CONTRIBUTION_METHODS, zt as readinessKey } from "./dist-CuAaqtdt.mjs";
2
+ import { $ as objectInputDeclaresAddonId, At as createEvent, B as isArrayOutputSchema, Bt as resolveCapMount, Dt as asJsonObject$1, G as kebabToCamel, H as isObjectInput, K as lifecycleJobSchema, Lt as parseJsonObject, Nt as expandCapMethods, Ot as asNumber, R as extractNestedAddonId, Rt as parseJsonUnknown$1, Tt as ReadinessTimeoutError, Ut as EventCategory$1, V as isCollectionArrayMethod, Vt as scopeKey, W as isVoidInput, X as looseSchema, Y as logLevelAtMost, at as scopesAllowDeviceCap, bt as DEVICE_STATUS_METHOD, d as METHOD_ACCESS_MAP, f as RUNTIME_DEFAULTS, gt as errMsg$1, it as scopesAllowAddon, jt as emitDownForOwnedCaps, kt as asString$1, nt as procedureAuthKey, t as ALL_CAPABILITY_DEFINITIONS, vt as DATAPLANE_SECRET_HEADER$1, wt as ReadinessRegistry, y as addonSettingsCapability, yt as DEVICE_SETTINGS_CONTRIBUTION_METHODS, zt as readinessKey } from "./dist-DlDY9mQO.mjs";
3
3
  import { AlertCenterAddon } from "./builtins/alerts/alerts.addon.mjs";
4
4
  import "./builtins/alerts/index.mjs";
5
5
  import { t as formatLogLine } from "./formatter-B7qW8bPJ.mjs";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/system",
3
- "version": "1.2.87",
3
+ "version": "1.2.88",
4
4
  "description": "Core addon for CamStack — builtins, pipeline, process management, auth, logging, events",
5
5
  "keywords": [
6
6
  "camstack",