@camstack/system 1.2.257 → 1.2.259

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 (56) 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/autotrack/index.js +1 -1
  8. package/dist/builtins/autotrack/index.mjs +1 -1
  9. package/dist/builtins/backup-orchestrator/backup-orchestrator.addon.js +1 -1
  10. package/dist/builtins/backup-orchestrator/backup-orchestrator.addon.mjs +1 -1
  11. package/dist/builtins/camera-grid/grid-sentry-sources.d.ts +16 -4
  12. package/dist/builtins/camera-grid/index.js +3 -2
  13. package/dist/builtins/camera-grid/index.mjs +3 -2
  14. package/dist/builtins/console-logging/index.js +1 -1
  15. package/dist/builtins/console-logging/index.mjs +1 -1
  16. package/dist/builtins/core-blocks/core-blocks.addon.js +1 -1
  17. package/dist/builtins/core-blocks/core-blocks.addon.mjs +1 -1
  18. package/dist/builtins/device-manager/device-manager.addon.js +2 -2
  19. package/dist/builtins/device-manager/device-manager.addon.mjs +2 -2
  20. package/dist/builtins/doorbell/virtual-doorbell.addon.js +1 -1
  21. package/dist/builtins/doorbell/virtual-doorbell.addon.mjs +1 -1
  22. package/dist/builtins/hub-forwarder/index.js +1 -1
  23. package/dist/builtins/hub-forwarder/index.mjs +1 -1
  24. package/dist/builtins/liveness-monitor/liveness-monitor.addon.js +1 -1
  25. package/dist/builtins/liveness-monitor/liveness-monitor.addon.mjs +1 -1
  26. package/dist/builtins/local-auth/local-auth.addon.js +1 -1
  27. package/dist/builtins/local-auth/local-auth.addon.mjs +1 -1
  28. package/dist/builtins/local-network/local-network.addon.js +1 -1
  29. package/dist/builtins/local-network/local-network.addon.mjs +1 -1
  30. package/dist/builtins/loki-logging/index.js +1 -1
  31. package/dist/builtins/loki-logging/index.mjs +1 -1
  32. package/dist/builtins/native-metrics/native-metrics.addon.js +1 -1
  33. package/dist/builtins/native-metrics/native-metrics.addon.mjs +1 -1
  34. package/dist/builtins/platform-probe/index.js +1 -1
  35. package/dist/builtins/platform-probe/index.mjs +1 -1
  36. package/dist/builtins/remote-access-orchestrator/remote-access-orchestrator.addon.js +1 -1
  37. package/dist/builtins/remote-access-orchestrator/remote-access-orchestrator.addon.mjs +1 -1
  38. package/dist/builtins/snapshot/index.js +1 -1
  39. package/dist/builtins/snapshot/index.mjs +1 -1
  40. package/dist/builtins/sqlite-storage/filesystem-storage.addon.js +1 -1
  41. package/dist/builtins/sqlite-storage/filesystem-storage.addon.mjs +1 -1
  42. package/dist/builtins/sqlite-storage/sqlite-settings.addon.js +0 -0
  43. package/dist/builtins/sqlite-storage/sqlite-settings.addon.mjs +0 -0
  44. package/dist/builtins/storage-orchestrator/storage-orchestrator.addon.js +1 -1
  45. package/dist/builtins/storage-orchestrator/storage-orchestrator.addon.mjs +1 -1
  46. package/dist/builtins/system-config/system-config.addon.js +1 -1
  47. package/dist/builtins/system-config/system-config.addon.mjs +1 -1
  48. package/dist/builtins/winston-logging/index.js +1 -1
  49. package/dist/builtins/winston-logging/index.mjs +1 -1
  50. package/dist/{dist-BJj6Akye.js → dist-6hiXbrNY.js} +2 -1
  51. package/dist/{dist-Ch93tyHB.mjs → dist-CQ7ItBIG.mjs} +2 -1
  52. package/dist/index.js +1 -1
  53. package/dist/index.mjs +1 -1
  54. package/dist/{retired-settings-keys-BRCn6-mt.js → retired-settings-keys-AmmGrCp1.js} +1 -1
  55. package/dist/{retired-settings-keys-uCaSKuwd.mjs → retired-settings-keys-CCXmaFTK.mjs} +1 -1
  56. 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-BJj6Akye.js");
6
+ const require_dist = require("../../dist-6hiXbrNY.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 { Nn as EventCategory, P as addonPagesCapability, in as errMsg, on as BaseAddon } from "../../dist-Ch93tyHB.mjs";
1
+ import { Nn as EventCategory, P as addonPagesCapability, in as errMsg, on as BaseAddon } from "../../dist-CQ7ItBIG.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-BJj6Akye.js");
6
+ const require_dist = require("../../dist-6hiXbrNY.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 { I as addonWidgetsCapability, Nn as EventCategory, in as errMsg, on as BaseAddon } from "../../dist-Ch93tyHB.mjs";
1
+ import { I as addonWidgetsCapability, Nn as EventCategory, in as errMsg, on as BaseAddon } from "../../dist-CQ7ItBIG.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-BJj6Akye.js");
6
+ const require_dist = require("../../dist-6hiXbrNY.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 { L as alertsCapability, Nn as EventCategory, in as errMsg, on as BaseAddon, r as AlertSchema, yn as createEvent } from "../../dist-Ch93tyHB.mjs";
1
+ import { L as alertsCapability, Nn as EventCategory, in as errMsg, on as BaseAddon, r as AlertSchema, yn as createEvent } from "../../dist-CQ7ItBIG.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
  require("../../chunk-Cek0wNdY.js");
6
- const require_dist = require("../../dist-BJj6Akye.js");
6
+ const require_dist = require("../../dist-6hiXbrNY.js");
7
7
  //#region src/builtins/autotrack/autotrack-config.ts
8
8
  var DEFAULT_AUTOTRACK_LOOP_CONFIG = {
9
9
  deadZoneFraction: .5,
@@ -1,4 +1,4 @@
1
- import { B as bareAddonId, Ft as ptzAutotrackCapability, Nn as EventCategory, Tn as isEvent, g as FIRST_LEVEL_MACRO_CLASSES, in as errMsg, on as BaseAddon } from "../../dist-Ch93tyHB.mjs";
1
+ import { B as bareAddonId, Ft as ptzAutotrackCapability, Nn as EventCategory, Tn as isEvent, g as FIRST_LEVEL_MACRO_CLASSES, in as errMsg, on as BaseAddon } from "../../dist-CQ7ItBIG.mjs";
2
2
  //#region src/builtins/autotrack/autotrack-config.ts
3
3
  var DEFAULT_AUTOTRACK_LOOP_CONFIG = {
4
4
  deadZoneFraction: .5,
@@ -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-BJj6Akye.js");
6
+ const require_dist = require("../../dist-6hiXbrNY.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 { Dt as mayWriteToLocation, Nn as EventCategory, Xt as storageOccupancyCapability, on as BaseAddon, z as backupCapability } from "../../dist-Ch93tyHB.mjs";
1
+ import { Dt as mayWriteToLocation, Nn as EventCategory, Xt as storageOccupancyCapability, on as BaseAddon, z as backupCapability } from "../../dist-CQ7ItBIG.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";
@@ -4,15 +4,27 @@
4
4
  * ## What "sentryMuted" turned out to be
5
5
  *
6
6
  * The operator asked for a stream that *"non esiste ancora"*. It half did.
7
- * `SENTRY_PATH_SUFFIX` has existed since the sentry shipped, and
8
- * `parseRestreamPath` already answers `muted: true` for it — the sentry path IS
9
- * the muted one, by construction, because an `m=audio` nobody fills stalls a
10
- * consumer for the hours a camera may sit asleep. What did not exist is the
7
+ * `SENTRY_PATH_SUFFIX` has existed since the sentry shipped. What did not exist is the
11
8
  * WRITER that turns an acquired restream url into that dial, and the broker
12
9
  * telling a consumer whether one is on offer. Both are now in
13
10
  * `addon-pipeline/src/stream-broker`: `withSentryIntent`, and `sentryUrl` on
14
11
  * the `getStreamWithCodec` result.
15
12
  *
13
+ * ## It is NOT muted, and this comment used to say it was
14
+ *
15
+ * `parseRestreamPath` answered `muted: true` for `/sentry` when this was
16
+ * written, and D525 changed it to `false` the next day: the mute belonged to
17
+ * the PLACEHOLDER, not to the path. The track is announced and FILLED — silence
18
+ * while the still picture is served, the camera's own RTP the instant media
19
+ * flows — because a decision taken from a string is taken once and RTSP cannot
20
+ * renegotiate, so `true` there meant a sentry consumer could never receive
21
+ * audio, awake or asleep.
22
+ *
23
+ * A grid takes no audio from any source (`audio: 'none'`), so nothing about the
24
+ * composite changes either way. The correction is here because the old sentence
25
+ * described the design that was REPLACED, which is the one kind of comment that
26
+ * reads as verification.
27
+ *
16
28
  * ## The rule, and the fallback it refuses
17
29
  *
18
30
  * An offered sentry is TAKEN. There is no sleep check and no fallback, and that
@@ -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-BJj6Akye.js");
6
+ const require_dist = require("../../dist-6hiXbrNY.js");
7
7
  let zod = require("zod");
8
8
  let _camstack_types_node = require("@camstack/types/node");
9
9
  let node_path = require("node:path");
@@ -1588,8 +1588,9 @@ function inputPlanFor(source) {
1588
1588
  return {
1589
1589
  url: source.url,
1590
1590
  rtspTransport: "tcp",
1591
- fflags: ["+discardcorrupt+nobuffer"],
1591
+ fflags: ["+discardcorrupt"],
1592
1592
  lowDelay: true,
1593
+ useWallclockTimestamps: true,
1593
1594
  analyzeDurationUs: ANALYZE_DURATION_US,
1594
1595
  probeSizeBytes: PROBE_SIZE_BYTES
1595
1596
  };
@@ -1,4 +1,4 @@
1
- import { Cn as hydrateSchema, Qt as streamCatalogCapability, U as cameraGridLayoutCapability, Y as declarationOwnerNodeId, a as BaseDevice, an as buildFfmpegArgs, fn as DeviceType, in as errMsg, m as DeclaredDevices, n as AUDIO_ANALYSIS_CAP_NAME, on as BaseAddon, p as DETECTION_PIPELINE_CAP_NAME, qt as snapshotCapability, un as DeviceFeature } from "../../dist-Ch93tyHB.mjs";
1
+ import { Cn as hydrateSchema, Qt as streamCatalogCapability, U as cameraGridLayoutCapability, Y as declarationOwnerNodeId, a as BaseDevice, an as buildFfmpegArgs, fn as DeviceType, in as errMsg, m as DeclaredDevices, n as AUDIO_ANALYSIS_CAP_NAME, on as BaseAddon, p as DETECTION_PIPELINE_CAP_NAME, qt as snapshotCapability, un as DeviceFeature } from "../../dist-CQ7ItBIG.mjs";
2
2
  import { z } from "zod";
3
3
  import { FfmpegProcess } from "@camstack/types/node";
4
4
  import { join } from "node:path";
@@ -1583,8 +1583,9 @@ function inputPlanFor(source) {
1583
1583
  return {
1584
1584
  url: source.url,
1585
1585
  rtspTransport: "tcp",
1586
- fflags: ["+discardcorrupt+nobuffer"],
1586
+ fflags: ["+discardcorrupt"],
1587
1587
  lowDelay: true,
1588
+ useWallclockTimestamps: true,
1588
1589
  analyzeDurationUs: ANALYZE_DURATION_US,
1589
1590
  probeSizeBytes: PROBE_SIZE_BYTES
1590
1591
  };
@@ -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-BJj6Akye.js");
6
+ const require_dist = require("../../dist-6hiXbrNY.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 { Ct as logDestinationCapability, on as BaseAddon } from "../../dist-Ch93tyHB.mjs";
1
+ import { Ct as logDestinationCapability, on as BaseAddon } from "../../dist-CQ7ItBIG.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-BJj6Akye.js");
3
+ const require_dist = require("../../dist-6hiXbrNY.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 { G as coreBlockAddonId, K as coreBlockIdFromAddonId, d as CoreBlockSchema, in as errMsg, l as CORE_BLOCKS_ADDON_ID, m as DeclaredDevices, on as BaseAddon, q as coreBlocksCapability, u as CORE_BLOCK_ADDON_PREFIX } from "../../dist-Ch93tyHB.mjs";
1
+ import { G as coreBlockAddonId, K as coreBlockIdFromAddonId, d as CoreBlockSchema, in as errMsg, l as CORE_BLOCKS_ADDON_ID, m as DeclaredDevices, on as BaseAddon, q as coreBlocksCapability, u as CORE_BLOCK_ADDON_PREFIX } from "../../dist-CQ7ItBIG.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,8 +3,8 @@ Object.defineProperties(exports, {
3
3
  [Symbol.toStringTag]: { value: "Module" }
4
4
  });
5
5
  require("../../chunk-Cek0wNdY.js");
6
- const require_dist = require("../../dist-BJj6Akye.js");
7
- const require_retired_settings_keys = require("../../retired-settings-keys-BRCn6-mt.js");
6
+ const require_dist = require("../../dist-6hiXbrNY.js");
7
+ const require_retired_settings_keys = require("../../retired-settings-keys-AmmGrCp1.js");
8
8
  let node_crypto = require("node:crypto");
9
9
  let _camstack_types_node = require("@camstack/types/node");
10
10
  //#region src/builtins/device-manager/adoption-job-engine.ts
@@ -1,5 +1,5 @@
1
- import { $ as deviceStateCapability, At as normalizeUnit, D as STREAM_PROFILE_META, H as buildStreamParamsConfigSchema, Kt as siteZoneKey, Mn as sleep$1, Mt as parseStreamParamsFormPatch, Nn as EventCategory, Q as deviceManagerCapability, Rt as resolveContainerPrimaryChild, St as locationIconKey, Vt as runtimeStatePolicyFor, c as CAP_NAMES_WITH_STATUS, dn as DeviceRole, et as deviceStatusCapability, fn as DeviceType, h as DeviceStatusSchema, hn as WELL_KNOWN_TAB_MAP, in as errMsg, it as enumerateSchemaFields, on as BaseAddon, rt as enumerateItemArrayFields, s as CAMERA_SWITCH_ORDER, t as ALL_CAPABILITY_DEFINITIONS, un as DeviceFeature, wn as isDeviceConfigCap, y as LocationIconIdSchema } from "../../dist-Ch93tyHB.mjs";
2
- import { n as purgeRetiredSettingsRows } from "../../retired-settings-keys-uCaSKuwd.mjs";
1
+ import { $ as deviceStateCapability, At as normalizeUnit, D as STREAM_PROFILE_META, H as buildStreamParamsConfigSchema, Kt as siteZoneKey, Mn as sleep$1, Mt as parseStreamParamsFormPatch, Nn as EventCategory, Q as deviceManagerCapability, Rt as resolveContainerPrimaryChild, St as locationIconKey, Vt as runtimeStatePolicyFor, c as CAP_NAMES_WITH_STATUS, dn as DeviceRole, et as deviceStatusCapability, fn as DeviceType, h as DeviceStatusSchema, hn as WELL_KNOWN_TAB_MAP, in as errMsg, it as enumerateSchemaFields, on as BaseAddon, rt as enumerateItemArrayFields, s as CAMERA_SWITCH_ORDER, t as ALL_CAPABILITY_DEFINITIONS, un as DeviceFeature, wn as isDeviceConfigCap, y as LocationIconIdSchema } from "../../dist-CQ7ItBIG.mjs";
2
+ import { n as purgeRetiredSettingsRows } from "../../retired-settings-keys-CCXmaFTK.mjs";
3
3
  import { randomUUID } from "node:crypto";
4
4
  import { canonicalDeviceFingerprint } from "@camstack/types/node";
5
5
  //#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-BJj6Akye.js");
6
+ const require_dist = require("../../dist-6hiXbrNY.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 { B as bareAddonId, Nn as EventCategory, T as SOURCE_DEVICE_TYPES, at as evaluateSensorEdge, fn as DeviceType, gt as isSourceCap, ht as isSameAddonId, in as errMsg, on as BaseAddon, tt as doorbellCapability, w as SOURCE_CAPS, yn as createEvent } from "../../dist-Ch93tyHB.mjs";
1
+ import { B as bareAddonId, Nn as EventCategory, T as SOURCE_DEVICE_TYPES, at as evaluateSensorEdge, fn as DeviceType, gt as isSourceCap, ht as isSameAddonId, in as errMsg, on as BaseAddon, tt as doorbellCapability, w as SOURCE_CAPS, yn as createEvent } from "../../dist-CQ7ItBIG.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-BJj6Akye.js");
6
+ const require_dist = require("../../dist-6hiXbrNY.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 { Ct as logDestinationCapability, on as BaseAddon } from "../../dist-Ch93tyHB.mjs";
1
+ import { Ct as logDestinationCapability, on as BaseAddon } from "../../dist-CQ7ItBIG.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-BJj6Akye.js");
3
+ const require_dist = require("../../dist-6hiXbrNY.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 { C as RecordingStatusSchema, Nn as EventCategory, in as errMsg, on as BaseAddon, yn as createEvent } from "../../dist-Ch93tyHB.mjs";
1
+ import { C as RecordingStatusSchema, Nn as EventCategory, in as errMsg, on as BaseAddon, yn as createEvent } from "../../dist-CQ7ItBIG.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-BJj6Akye.js");
6
+ const require_dist = require("../../dist-6hiXbrNY.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 { N as UserRecordSchema, O as ScopedTokenSchema, R as authProviderCapability, en as userManagementCapability, i as ApiKeyRecordSchema, on as BaseAddon } from "../../dist-Ch93tyHB.mjs";
2
+ import { N as UserRecordSchema, O as ScopedTokenSchema, R as authProviderCapability, en as userManagementCapability, i as ApiKeyRecordSchema, on as BaseAddon } from "../../dist-CQ7ItBIG.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-BJj6Akye.js");
3
+ const require_dist = require("../../dist-6hiXbrNY.js");
4
4
  const require_tls = require("../../tls-BFs4PzoW.js");
5
5
  let node_fs_promises = require("node:fs/promises");
6
6
  let node_path = require("node:path");
@@ -1,4 +1,4 @@
1
- import { Nn as EventCategory, on as BaseAddon, xt as localNetworkCapability } from "../../dist-Ch93tyHB.mjs";
1
+ import { Nn as EventCategory, on as BaseAddon, xt as localNetworkCapability } from "../../dist-CQ7ItBIG.mjs";
2
2
  import { S as readLanHttpState, _ as DEFAULT_LAN_HTTP_PORT, a as writeTlsMode, i as writeExtraSans, l as reissueTlsLeaf, n as readTlsAccessStatus, o as validateUploadedTls, r as readTlsMode, s as ensureTlsCert, t as readExtraSans, y as applyLanHttp } from "../../tls-2xbgg78V.mjs";
3
3
  import { mkdir, writeFile } from "node:fs/promises";
4
4
  import { join } 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-BJj6Akye.js");
6
+ const require_dist = require("../../dist-6hiXbrNY.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 { Ct as logDestinationCapability, on as BaseAddon } from "../../dist-Ch93tyHB.mjs";
1
+ import { Ct as logDestinationCapability, on as BaseAddon } from "../../dist-CQ7ItBIG.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-BJj6Akye.js");
6
+ const require_dist = require("../../dist-6hiXbrNY.js");
7
7
  let node_fs_promises = require("node:fs/promises");
8
8
  let node_fs = require("node:fs");
9
9
  node_fs = require_chunk.__toESM(node_fs);
@@ -1,4 +1,4 @@
1
- import { It as reducePoints, Lt as resolveBucketMs, Nn as EventCategory, Ot as metricsProviderCapability, in as errMsg, lt as foldSnapshotByFunction, on as BaseAddon, yn as createEvent } from "../../dist-Ch93tyHB.mjs";
1
+ import { It as reducePoints, Lt as resolveBucketMs, Nn as EventCategory, Ot as metricsProviderCapability, in as errMsg, lt as foldSnapshotByFunction, on as BaseAddon, yn as createEvent } from "../../dist-CQ7ItBIG.mjs";
2
2
  import { access, readFile, readdir } from "node:fs/promises";
3
3
  import * as fs from "node:fs";
4
4
  import { constants, readFileSync } 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-BJj6Akye.js");
6
+ const require_dist = require("../../dist-6hiXbrNY.js");
7
7
  let node_fs = require("node:fs");
8
8
  node_fs = require_chunk.__toESM(node_fs);
9
9
  let node_child_process = require("node:child_process");
@@ -1,5 +1,5 @@
1
1
  import { o as __toESM } from "../../chunk-CNf5ZN-e.mjs";
2
- import { Nn as EventCategory, Nt as platformProbeCapability, Wt as scoreRuntimes, in as errMsg, nt as enumerateInferenceDevices, on as BaseAddon, xn as emitReadiness } from "../../dist-Ch93tyHB.mjs";
2
+ import { Nn as EventCategory, Nt as platformProbeCapability, Wt as scoreRuntimes, in as errMsg, nt as enumerateInferenceDevices, on as BaseAddon, xn as emitReadiness } from "../../dist-CQ7ItBIG.mjs";
3
3
  import * as fs from "node:fs";
4
4
  import { execFile } from "node:child_process";
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-BJj6Akye.js");
6
+ const require_dist = require("../../dist-6hiXbrNY.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 { Nn as EventCategory, on as BaseAddon } from "../../dist-Ch93tyHB.mjs";
1
+ import { Nn as EventCategory, on as BaseAddon } from "../../dist-CQ7ItBIG.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-BJj6Akye.js");
6
+ const require_dist = require("../../dist-6hiXbrNY.js");
7
7
  const require_snapshot_courtesy = require("../../snapshot-courtesy-Cqs7GkOV.js");
8
8
  let zod = require("zod");
9
9
  let node_crypto = require("node:crypto");
@@ -1,4 +1,4 @@
1
- import { $t as streamQualityLabel, B as bareAddonId, En as nodePin, Nn as EventCategory, V as batteryCapability, Z as deriveBatteryPresence, fn as DeviceType, in as errMsg, o as BatteryStatusSchema, on as BaseAddon, qt as snapshotCapability, un as DeviceFeature } from "../../dist-Ch93tyHB.mjs";
1
+ import { $t as streamQualityLabel, B as bareAddonId, En as nodePin, Nn as EventCategory, V as batteryCapability, Z as deriveBatteryPresence, fn as DeviceType, in as errMsg, o as BatteryStatusSchema, on as BaseAddon, qt as snapshotCapability, un as DeviceFeature } from "../../dist-CQ7ItBIG.mjs";
2
2
  import { i as renderCourtesyOverlayJpeg, n as courtesyCacheKey, r as renderCourtesyJpeg } from "../../snapshot-courtesy-CZPvteq2.mjs";
3
3
  import { z } from "zod";
4
4
  import { randomUUID } from "node:crypto";
@@ -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-BJj6Akye.js");
6
+ const require_dist = require("../../dist-6hiXbrNY.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 { Zt as storageProviderCapability, ct as filesystemBrowseCapability, on as BaseAddon } from "../../dist-Ch93tyHB.mjs";
1
+ import { Zt as storageProviderCapability, ct as filesystemBrowseCapability, on as BaseAddon } from "../../dist-CQ7ItBIG.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-BJj6Akye.js");
6
+ const require_dist = require("../../dist-6hiXbrNY.js");
7
7
  const require_hub_cap_forward = require("../../hub-cap-forward-DmHNjbB0.js");
8
8
  let zod = require("zod");
9
9
  let node_crypto = require("node:crypto");
@@ -1,4 +1,4 @@
1
- import { A as StorageLocationModeSchema, Dn as parseJsonObject, Dt as mayWriteToLocation, Et as mayReadLocation, Gt as settingsStoreCapability, Jt as storageCapability, M as StorageMigrationJobSchema, Nn as EventCategory, W as collectSecretConfigKeys, Yt as storageMigrationCapability, j as StorageLocationTypeSchema, k as StorageCleanupJobSchema, kt as modeMayWrite, on as BaseAddon, ot as evictionPolicyOfLocation, pt as isLocationEnabled, rn as withLocationMode, ut as gbToBytes, v as LegacyStorageLocationDefaultSchema, x as REDACTED_SECRET, yt as legacyModeOf, zt as resolveLocationMode } from "../../dist-Ch93tyHB.mjs";
1
+ import { A as StorageLocationModeSchema, Dn as parseJsonObject, Dt as mayWriteToLocation, Et as mayReadLocation, Gt as settingsStoreCapability, Jt as storageCapability, M as StorageMigrationJobSchema, Nn as EventCategory, W as collectSecretConfigKeys, Yt as storageMigrationCapability, j as StorageLocationTypeSchema, k as StorageCleanupJobSchema, kt as modeMayWrite, on as BaseAddon, ot as evictionPolicyOfLocation, pt as isLocationEnabled, rn as withLocationMode, ut as gbToBytes, v as LegacyStorageLocationDefaultSchema, x as REDACTED_SECRET, yt as legacyModeOf, zt as resolveLocationMode } from "../../dist-CQ7ItBIG.mjs";
2
2
  import { t as HUB_CAP_FWD_ACTION } from "../../hub-cap-forward-BdT320dq.mjs";
3
3
  import { z } from "zod";
4
4
  import { randomUUID } from "node:crypto";
@@ -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-BJj6Akye.js");
6
+ const require_dist = require("../../dist-6hiXbrNY.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 { Cn as hydrateSchema, in as errMsg, on as BaseAddon } from "../../dist-Ch93tyHB.mjs";
1
+ import { Cn as hydrateSchema, in as errMsg, on as BaseAddon } from "../../dist-CQ7ItBIG.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-BJj6Akye.js");
6
+ const require_dist = require("../../dist-6hiXbrNY.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 { Ct as logDestinationCapability, on as BaseAddon } from "../../dist-Ch93tyHB.mjs";
1
+ import { Ct as logDestinationCapability, on as BaseAddon } from "../../dist-CQ7ItBIG.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";
@@ -3404,7 +3404,7 @@ function sleep(ms) {
3404
3404
  return new Promise((resolve) => setTimeout(resolve, Math.max(0, ms)));
3405
3405
  }
3406
3406
  //#endregion
3407
- //#region ../types/dist/canonical-hash-biq7T_dN.mjs
3407
+ //#region ../types/dist/canonical-hash-DI7tT-zZ.mjs
3408
3408
  var AUDIO_ENCODER_BY_CODEC = {
3409
3409
  opus: "libopus",
3410
3410
  aac: "aac",
@@ -3465,6 +3465,7 @@ function buildInputArgs(input, decodeHwAccel) {
3465
3465
  if (input.analyzeDurationUs !== void 0) args.push("-analyzeduration", String(input.analyzeDurationUs));
3466
3466
  if (input.probeSizeBytes !== void 0) args.push("-probesize", String(input.probeSizeBytes));
3467
3467
  if (input.lowDelay === true) args.push("-flags", "low_delay");
3468
+ if (input.useWallclockTimestamps === true) args.push("-use_wallclock_as_timestamps", "1");
3468
3469
  if (input.fflags?.length) for (const flag of input.fflags) args.push("-fflags", flag);
3469
3470
  if (input.rtspTransport) args.push("-rtsp_transport", input.rtspTransport);
3470
3471
  args.push("-i", input.url);
@@ -3404,7 +3404,7 @@ function sleep(ms) {
3404
3404
  return new Promise((resolve) => setTimeout(resolve, Math.max(0, ms)));
3405
3405
  }
3406
3406
  //#endregion
3407
- //#region ../types/dist/canonical-hash-biq7T_dN.mjs
3407
+ //#region ../types/dist/canonical-hash-DI7tT-zZ.mjs
3408
3408
  var AUDIO_ENCODER_BY_CODEC = {
3409
3409
  opus: "libopus",
3410
3410
  aac: "aac",
@@ -3465,6 +3465,7 @@ function buildInputArgs(input, decodeHwAccel) {
3465
3465
  if (input.analyzeDurationUs !== void 0) args.push("-analyzeduration", String(input.analyzeDurationUs));
3466
3466
  if (input.probeSizeBytes !== void 0) args.push("-probesize", String(input.probeSizeBytes));
3467
3467
  if (input.lowDelay === true) args.push("-flags", "low_delay");
3468
+ if (input.useWallclockTimestamps === true) args.push("-use_wallclock_as_timestamps", "1");
3468
3469
  if (input.fflags?.length) for (const flag of input.fflags) args.push("-fflags", flag);
3469
3470
  if (input.rtspTransport) args.push("-rtsp_transport", input.rtspTransport);
3470
3471
  args.push("-i", input.url);
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-BJj6Akye.js");
3
+ const require_dist = require("./dist-6hiXbrNY.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 { An as resolveCapMount, Bt as resolveMethodAuth, Dn as parseJsonObject, F as addonSettingsCapability, Ht as scopesAllowAddon, Nn as EventCategory$1, On as parseJsonUnknown, Pt as procedureAuthKey, S as RUNTIME_DEFAULTS, Sn as expandCapMethods, Tt as looseSchema, Ut as scopesAllowDeviceCap, _ as LOG_LEVEL_RANK, _n as asNumber, _t as isVoidInput, b as METHOD_ACCESS_MAP, bn as emitDownForOwnedCaps, bt as lifecycleJobSchema, cn as DEVICE_SETTINGS_CONTRIBUTION_METHODS, dt as isArrayOutputSchema, ft as isCollectionArrayMethod, gn as asJsonObject$1, in as errMsg$1, jn as scopeKey, jt as objectInputDeclaresAddonId, kn as readinessKey, ln as DEVICE_STATUS_METHOD, mn as ReadinessTimeoutError, mt as isObjectInput, pn as ReadinessRegistry, sn as DATAPLANE_SECRET_HEADER$1, st as extractNestedAddonId, t as ALL_CAPABILITY_DEFINITIONS, vn as asString$1, vt as kebabToCamel, wt as logLevelAtMost, yn as createEvent } from "./dist-Ch93tyHB.mjs";
2
+ import { An as resolveCapMount, Bt as resolveMethodAuth, Dn as parseJsonObject, F as addonSettingsCapability, Ht as scopesAllowAddon, Nn as EventCategory$1, On as parseJsonUnknown, Pt as procedureAuthKey, S as RUNTIME_DEFAULTS, Sn as expandCapMethods, Tt as looseSchema, Ut as scopesAllowDeviceCap, _ as LOG_LEVEL_RANK, _n as asNumber, _t as isVoidInput, b as METHOD_ACCESS_MAP, bn as emitDownForOwnedCaps, bt as lifecycleJobSchema, cn as DEVICE_SETTINGS_CONTRIBUTION_METHODS, dt as isArrayOutputSchema, ft as isCollectionArrayMethod, gn as asJsonObject$1, in as errMsg$1, jn as scopeKey, jt as objectInputDeclaresAddonId, kn as readinessKey, ln as DEVICE_STATUS_METHOD, mn as ReadinessTimeoutError, mt as isObjectInput, pn as ReadinessRegistry, sn as DATAPLANE_SECRET_HEADER$1, st as extractNestedAddonId, t as ALL_CAPABILITY_DEFINITIONS, vn as asString$1, vt as kebabToCamel, wt as logLevelAtMost, yn as createEvent } from "./dist-CQ7ItBIG.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";
@@ -1,4 +1,4 @@
1
- const require_dist = require("./dist-BJj6Akye.js");
1
+ const require_dist = require("./dist-6hiXbrNY.js");
2
2
  //#region src/builtins/sqlite-storage/retired-settings-keys.ts
3
3
  /**
4
4
  * Is THIS node the one whose settings store is the cluster's authority?
@@ -1,4 +1,4 @@
1
- import { gn as asJsonObject } from "./dist-Ch93tyHB.mjs";
1
+ import { gn as asJsonObject } from "./dist-CQ7ItBIG.mjs";
2
2
  //#region src/builtins/sqlite-storage/retired-settings-keys.ts
3
3
  /**
4
4
  * Is THIS node the one whose settings store is the cluster's authority?
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/system",
3
- "version": "1.2.257",
3
+ "version": "1.2.259",
4
4
  "description": "Core addon for CamStack — builtins, pipeline, process management, auth, logging, events",
5
5
  "keywords": [
6
6
  "camstack",