@camstack/system 1.2.251 → 1.2.253
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/builtins/addon-pages-aggregator/addon-pages-aggregator.addon.js +1 -1
- package/dist/builtins/addon-pages-aggregator/addon-pages-aggregator.addon.mjs +1 -1
- package/dist/builtins/addon-widgets-aggregator/addon-widgets-aggregator.addon.js +1 -1
- package/dist/builtins/addon-widgets-aggregator/addon-widgets-aggregator.addon.mjs +1 -1
- package/dist/builtins/alerts/alerts.addon.js +1 -1
- package/dist/builtins/alerts/alerts.addon.mjs +1 -1
- package/dist/builtins/backup-orchestrator/backup-orchestrator.addon.js +1 -1
- package/dist/builtins/backup-orchestrator/backup-orchestrator.addon.mjs +1 -1
- package/dist/builtins/console-logging/index.js +1 -1
- package/dist/builtins/console-logging/index.mjs +1 -1
- package/dist/builtins/core-blocks/core-blocks.addon.js +1 -1
- package/dist/builtins/core-blocks/core-blocks.addon.mjs +1 -1
- package/dist/builtins/device-manager/device-manager.addon.js +2 -2
- package/dist/builtins/device-manager/device-manager.addon.mjs +2 -2
- package/dist/builtins/doorbell/virtual-doorbell.addon.js +1 -1
- package/dist/builtins/doorbell/virtual-doorbell.addon.mjs +1 -1
- package/dist/builtins/hub-forwarder/index.js +1 -1
- package/dist/builtins/hub-forwarder/index.mjs +1 -1
- package/dist/builtins/liveness-monitor/liveness-monitor.addon.js +1 -1
- package/dist/builtins/liveness-monitor/liveness-monitor.addon.mjs +1 -1
- package/dist/builtins/local-auth/local-auth.addon.js +1 -1
- package/dist/builtins/local-auth/local-auth.addon.mjs +1 -1
- package/dist/builtins/local-network/local-network.addon.js +1 -1
- package/dist/builtins/local-network/local-network.addon.mjs +1 -1
- package/dist/builtins/loki-logging/index.js +1 -1
- package/dist/builtins/loki-logging/index.mjs +1 -1
- package/dist/builtins/native-metrics/native-metrics.addon.js +1 -1
- package/dist/builtins/native-metrics/native-metrics.addon.mjs +1 -1
- package/dist/builtins/platform-probe/index.js +1 -1
- package/dist/builtins/platform-probe/index.mjs +1 -1
- package/dist/builtins/remote-access-orchestrator/remote-access-orchestrator.addon.js +1 -1
- package/dist/builtins/remote-access-orchestrator/remote-access-orchestrator.addon.mjs +1 -1
- package/dist/builtins/snapshot/index.js +1 -1
- package/dist/builtins/snapshot/index.mjs +1 -1
- package/dist/builtins/sqlite-storage/filesystem-storage.addon.js +1 -1
- package/dist/builtins/sqlite-storage/filesystem-storage.addon.mjs +1 -1
- package/dist/builtins/sqlite-storage/sqlite-settings.addon.js +0 -0
- package/dist/builtins/sqlite-storage/sqlite-settings.addon.mjs +0 -0
- package/dist/builtins/storage-orchestrator/storage-orchestrator.addon.js +1 -1
- package/dist/builtins/storage-orchestrator/storage-orchestrator.addon.mjs +1 -1
- package/dist/builtins/system-config/system-config.addon.js +1 -1
- package/dist/builtins/system-config/system-config.addon.mjs +1 -1
- package/dist/builtins/winston-logging/index.js +1 -1
- package/dist/builtins/winston-logging/index.mjs +1 -1
- package/dist/{dist-BG0p9Azt.js → dist-B9y-3rme.js} +216 -10
- package/dist/{dist-DI5qYEgd.mjs → dist-DH6ThyTd.mjs} +216 -10
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/dist/{retired-settings-keys-Cmv1q2hJ.js → retired-settings-keys-CnMg7wvS.js} +1 -1
- package/dist/{retired-settings-keys-1TAMZuQD.mjs → retired-settings-keys-DNl1lrr_.mjs} +1 -1
- 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-
|
|
6
|
+
const require_dist = require("../../dist-B9y-3rme.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 { A as addonPagesCapability, Cn as EventCategory, Xt as errMsg, Zt as BaseAddon } from "../../dist-
|
|
1
|
+
import { A as addonPagesCapability, Cn as EventCategory, Xt as errMsg, Zt as BaseAddon } from "../../dist-DH6ThyTd.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-
|
|
6
|
+
const require_dist = require("../../dist-B9y-3rme.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 { Cn as EventCategory, M as addonWidgetsCapability, Xt as errMsg, Zt as BaseAddon } from "../../dist-
|
|
1
|
+
import { Cn as EventCategory, M as addonWidgetsCapability, Xt as errMsg, Zt as BaseAddon } from "../../dist-DH6ThyTd.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-
|
|
6
|
+
const require_dist = require("../../dist-B9y-3rme.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 { Cn as EventCategory, N as alertsCapability, Xt as errMsg, Zt as BaseAddon, n as AlertSchema, un as createEvent } from "../../dist-
|
|
1
|
+
import { Cn as EventCategory, N as alertsCapability, Xt as errMsg, Zt as BaseAddon, n as AlertSchema, un as createEvent } from "../../dist-DH6ThyTd.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-
|
|
6
|
+
const require_dist = require("../../dist-B9y-3rme.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 { Cn as EventCategory, F as backupCapability, Ut as storageOccupancyCapability, Zt as BaseAddon, xt as mayWriteToLocation } from "../../dist-
|
|
1
|
+
import { Cn as EventCategory, F as backupCapability, Ut as storageOccupancyCapability, Zt as BaseAddon, xt as mayWriteToLocation } from "../../dist-DH6ThyTd.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-
|
|
6
|
+
const require_dist = require("../../dist-B9y-3rme.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 { Zt as BaseAddon, _t as logDestinationCapability } from "../../dist-
|
|
1
|
+
import { Zt as BaseAddon, _t as logDestinationCapability } from "../../dist-DH6ThyTd.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-
|
|
3
|
+
const require_dist = require("../../dist-B9y-3rme.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 { B as coreBlockAddonId, H as coreBlocksCapability, V as coreBlockIdFromAddonId, Xt as errMsg, Zt as BaseAddon, c as CORE_BLOCK_ADDON_PREFIX, d as DeclaredDevices, l as CoreBlockSchema, s as CORE_BLOCKS_ADDON_ID } from "../../dist-
|
|
1
|
+
import { B as coreBlockAddonId, H as coreBlocksCapability, V as coreBlockIdFromAddonId, Xt as errMsg, Zt as BaseAddon, c as CORE_BLOCK_ADDON_PREFIX, d as DeclaredDevices, l as CoreBlockSchema, s as CORE_BLOCKS_ADDON_ID } from "../../dist-DH6ThyTd.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-
|
|
7
|
-
const require_retired_settings_keys = require("../../retired-settings-keys-
|
|
6
|
+
const require_dist = require("../../dist-B9y-3rme.js");
|
|
7
|
+
const require_retired_settings_keys = require("../../retired-settings-keys-CnMg7wvS.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 { C as STREAM_PROFILE_META, Cn as EventCategory, Et as parseStreamParamsFormPatch, J as deviceStatusCapability, K as deviceManagerCapability, Pt as runtimeStatePolicyFor, Q as enumerateSchemaFields, R as buildStreamParamsConfigSchema, Sn as sleep$1, Xt as errMsg, Z as enumerateItemArrayFields, Zt as BaseAddon, a as CAMERA_SWITCH_ORDER, f as DeviceStatusSchema, gt as locationIconKey, h as LocationIconIdSchema, hn as isDeviceConfigCap, jt as resolveContainerPrimaryChild, nn as DeviceRole, o as CAP_NAMES_WITH_STATUS, on as WELL_KNOWN_TAB_MAP, q as deviceStateCapability, rn as DeviceType, t as ALL_CAPABILITY_DEFINITIONS, tn as DeviceFeature, wt as normalizeUnit, zt as siteZoneKey } from "../../dist-
|
|
2
|
-
import { n as purgeRetiredSettingsRows } from "../../retired-settings-keys-
|
|
1
|
+
import { C as STREAM_PROFILE_META, Cn as EventCategory, Et as parseStreamParamsFormPatch, J as deviceStatusCapability, K as deviceManagerCapability, Pt as runtimeStatePolicyFor, Q as enumerateSchemaFields, R as buildStreamParamsConfigSchema, Sn as sleep$1, Xt as errMsg, Z as enumerateItemArrayFields, Zt as BaseAddon, a as CAMERA_SWITCH_ORDER, f as DeviceStatusSchema, gt as locationIconKey, h as LocationIconIdSchema, hn as isDeviceConfigCap, jt as resolveContainerPrimaryChild, nn as DeviceRole, o as CAP_NAMES_WITH_STATUS, on as WELL_KNOWN_TAB_MAP, q as deviceStateCapability, rn as DeviceType, t as ALL_CAPABILITY_DEFINITIONS, tn as DeviceFeature, wt as normalizeUnit, zt as siteZoneKey } from "../../dist-DH6ThyTd.mjs";
|
|
2
|
+
import { n as purgeRetiredSettingsRows } from "../../retired-settings-keys-DNl1lrr_.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-
|
|
6
|
+
const require_dist = require("../../dist-B9y-3rme.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 { $ as evaluateSensorEdge, Cn as EventCategory, I as bareAddonId, Xt as errMsg, Y as doorbellCapability, Zt as BaseAddon, b as SOURCE_CAPS, lt as isSameAddonId, rn as DeviceType, un as createEvent, ut as isSourceCap, x as SOURCE_DEVICE_TYPES } from "../../dist-
|
|
1
|
+
import { $ as evaluateSensorEdge, Cn as EventCategory, I as bareAddonId, Xt as errMsg, Y as doorbellCapability, Zt as BaseAddon, b as SOURCE_CAPS, lt as isSameAddonId, rn as DeviceType, un as createEvent, ut as isSourceCap, x as SOURCE_DEVICE_TYPES } from "../../dist-DH6ThyTd.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-
|
|
6
|
+
const require_dist = require("../../dist-B9y-3rme.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 { Zt as BaseAddon, _t as logDestinationCapability } from "../../dist-
|
|
1
|
+
import { Zt as BaseAddon, _t as logDestinationCapability } from "../../dist-DH6ThyTd.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-
|
|
3
|
+
const require_dist = require("../../dist-B9y-3rme.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 { Cn as EventCategory, Xt as errMsg, Zt as BaseAddon, un as createEvent, y as RecordingStatusSchema } from "../../dist-
|
|
1
|
+
import { Cn as EventCategory, Xt as errMsg, Zt as BaseAddon, un as createEvent, y as RecordingStatusSchema } from "../../dist-DH6ThyTd.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-
|
|
6
|
+
const require_dist = require("../../dist-B9y-3rme.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 { Kt as userManagementCapability, P as authProviderCapability, Zt as BaseAddon, k as UserRecordSchema, r as ApiKeyRecordSchema, w as ScopedTokenSchema } from "../../dist-
|
|
2
|
+
import { Kt as userManagementCapability, P as authProviderCapability, Zt as BaseAddon, k as UserRecordSchema, r as ApiKeyRecordSchema, w as ScopedTokenSchema } from "../../dist-DH6ThyTd.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-
|
|
3
|
+
const require_dist = require("../../dist-B9y-3rme.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 { Cn as EventCategory, Zt as BaseAddon, ht as localNetworkCapability } from "../../dist-
|
|
1
|
+
import { Cn as EventCategory, Zt as BaseAddon, ht as localNetworkCapability } from "../../dist-DH6ThyTd.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-
|
|
6
|
+
const require_dist = require("../../dist-B9y-3rme.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 { Zt as BaseAddon, _t as logDestinationCapability } from "../../dist-
|
|
1
|
+
import { Zt as BaseAddon, _t as logDestinationCapability } from "../../dist-DH6ThyTd.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-
|
|
6
|
+
const require_dist = require("../../dist-B9y-3rme.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 { At as resolveBucketMs, Cn as EventCategory, St as metricsProviderCapability, Xt as errMsg, Zt as BaseAddon, kt as reducePoints, rt as foldSnapshotByFunction, un as createEvent } from "../../dist-
|
|
1
|
+
import { At as resolveBucketMs, Cn as EventCategory, St as metricsProviderCapability, Xt as errMsg, Zt as BaseAddon, kt as reducePoints, rt as foldSnapshotByFunction, un as createEvent } from "../../dist-DH6ThyTd.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-
|
|
6
|
+
const require_dist = require("../../dist-B9y-3rme.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 { Cn as EventCategory, Dt as platformProbeCapability, Lt as scoreRuntimes, X as enumerateInferenceDevices, Xt as errMsg, Zt as BaseAddon, fn as emitReadiness } from "../../dist-
|
|
2
|
+
import { Cn as EventCategory, Dt as platformProbeCapability, Lt as scoreRuntimes, X as enumerateInferenceDevices, Xt as errMsg, Zt as BaseAddon, fn as emitReadiness } from "../../dist-DH6ThyTd.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-
|
|
6
|
+
const require_dist = require("../../dist-B9y-3rme.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 { Cn as EventCategory, Zt as BaseAddon } from "../../dist-
|
|
1
|
+
import { Cn as EventCategory, Zt as BaseAddon } from "../../dist-DH6ThyTd.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-
|
|
6
|
+
const require_dist = require("../../dist-B9y-3rme.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 { Bt as snapshotCapability, Cn as EventCategory, G as deriveBatteryPresence, Gt as streamQualityLabel, I as bareAddonId, L as batteryCapability, Xt as errMsg, Zt as BaseAddon, gn as nodePin, i as BatteryStatusSchema, rn as DeviceType, tn as DeviceFeature } from "../../dist-
|
|
1
|
+
import { Bt as snapshotCapability, Cn as EventCategory, G as deriveBatteryPresence, Gt as streamQualityLabel, I as bareAddonId, L as batteryCapability, Xt as errMsg, Zt as BaseAddon, gn as nodePin, i as BatteryStatusSchema, rn as DeviceType, tn as DeviceFeature } from "../../dist-DH6ThyTd.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-
|
|
6
|
+
const require_dist = require("../../dist-B9y-3rme.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 { Wt as storageProviderCapability, Zt as BaseAddon, nt as filesystemBrowseCapability } from "../../dist-
|
|
1
|
+
import { Wt as storageProviderCapability, Zt as BaseAddon, nt as filesystemBrowseCapability } from "../../dist-DH6ThyTd.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";
|
|
Binary file
|
|
Binary file
|
|
@@ -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-
|
|
6
|
+
const require_dist = require("../../dist-B9y-3rme.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 { Cn as EventCategory, Ct as modeMayWrite, D as StorageLocationTypeSchema, E as StorageLocationModeSchema, Ht as storageMigrationCapability, Mt as resolveLocationMode, O as StorageMigrationJobSchema, Rt as settingsStoreCapability, T as StorageCleanupJobSchema, Vt as storageCapability, Yt as withLocationMode, Zt as BaseAddon, _ as REDACTED_SECRET, _n as parseJsonObject, bt as mayReadLocation, et as evictionPolicyOfLocation, it as gbToBytes, m as LegacyStorageLocationDefaultSchema, pt as legacyModeOf, st as isLocationEnabled, xt as mayWriteToLocation, z as collectSecretConfigKeys } from "../../dist-
|
|
1
|
+
import { Cn as EventCategory, Ct as modeMayWrite, D as StorageLocationTypeSchema, E as StorageLocationModeSchema, Ht as storageMigrationCapability, Mt as resolveLocationMode, O as StorageMigrationJobSchema, Rt as settingsStoreCapability, T as StorageCleanupJobSchema, Vt as storageCapability, Yt as withLocationMode, Zt as BaseAddon, _ as REDACTED_SECRET, _n as parseJsonObject, bt as mayReadLocation, et as evictionPolicyOfLocation, it as gbToBytes, m as LegacyStorageLocationDefaultSchema, pt as legacyModeOf, st as isLocationEnabled, xt as mayWriteToLocation, z as collectSecretConfigKeys } from "../../dist-DH6ThyTd.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-
|
|
6
|
+
const require_dist = require("../../dist-B9y-3rme.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 { Xt as errMsg, Zt as BaseAddon, mn as hydrateSchema } from "../../dist-
|
|
1
|
+
import { Xt as errMsg, Zt as BaseAddon, mn as hydrateSchema } from "../../dist-DH6ThyTd.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-
|
|
6
|
+
const require_dist = require("../../dist-B9y-3rme.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 { Zt as BaseAddon, _t as logDestinationCapability } from "../../dist-
|
|
1
|
+
import { Zt as BaseAddon, _t as logDestinationCapability } from "../../dist-DH6ThyTd.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";
|
|
@@ -690,7 +690,7 @@ var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
|
690
690
|
return EventCategory;
|
|
691
691
|
}({});
|
|
692
692
|
//#endregion
|
|
693
|
-
//#region ../types/dist/sleep-
|
|
693
|
+
//#region ../types/dist/sleep-Bs3xPtSh.mjs
|
|
694
694
|
/**
|
|
695
695
|
* The audio chunk plane's byte format, and the ONE expansion from a coded
|
|
696
696
|
* window to float samples (D455).
|
|
@@ -8854,6 +8854,24 @@ var GetStreamWithCodecInputSchema = zod.z.object({
|
|
|
8854
8854
|
});
|
|
8855
8855
|
var RtpSourceSchema = zod.z.object({
|
|
8856
8856
|
url: zod.z.string(),
|
|
8857
|
+
/**
|
|
8858
|
+
* The SENTRY counterpart of {@link url} — the dial that asks for the stream
|
|
8859
|
+
* WITHOUT asking for the camera — or `null` when this camera offers none.
|
|
8860
|
+
*
|
|
8861
|
+
* The broker answers it because the broker is the only thing that can:
|
|
8862
|
+
* eligibility is `sentryEligible` (a BATTERY camera that DECLARES the signals
|
|
8863
|
+
* cap), asked of facts only the broker holds. A consumer re-deriving it from
|
|
8864
|
+
* cap bindings would be a second authority, and two authorities on the same
|
|
8865
|
+
* question is how a composite camera ends up dialling a sleeping camera
|
|
8866
|
+
* because its own copy of the rule was a release behind.
|
|
8867
|
+
*
|
|
8868
|
+
* `null` is a real answer and is never a live url in disguise: a consumer
|
|
8869
|
+
* that silently fell back to {@link url} would perform exactly the wake this
|
|
8870
|
+
* field exists to prevent. Only a PASSTHROUGH acquisition can offer one — a
|
|
8871
|
+
* transcode hands back an egress the broker is feeding itself, which has no
|
|
8872
|
+
* sentry counterpart.
|
|
8873
|
+
*/
|
|
8874
|
+
sentryUrl: zod.z.string().nullable().optional(),
|
|
8857
8875
|
videoCodec: zod.z.enum(["H264", "H265"]),
|
|
8858
8876
|
audioCodec: zod.z.string(),
|
|
8859
8877
|
resolution: zod.z.object({
|
|
@@ -30612,6 +30630,139 @@ var motionTriggerCapability = {
|
|
|
30612
30630
|
durability: "session"
|
|
30613
30631
|
};
|
|
30614
30632
|
/**
|
|
30633
|
+
* camera-grid-layout — the geometry of a COMPOSITE camera, on the camera's own
|
|
30634
|
+
* page.
|
|
30635
|
+
*
|
|
30636
|
+
* ## Why this is a capability and not an addon settings schema
|
|
30637
|
+
*
|
|
30638
|
+
* It was one, and it did not render. The addon declared the editor as a
|
|
30639
|
+
* `type: 'widget'` field inside its own `deviceSettingsSchema()`; the hub
|
|
30640
|
+
* returned that section correctly and `ConfigFormField` renders `type:'widget'`
|
|
30641
|
+
* perfectly well — and nothing ever asked camera-grid for it. The Cluster →
|
|
30642
|
+
* Pipeline → Device Overrides page interrogates a HAND-WRITTEN list of four
|
|
30643
|
+
* addons (`PIPELINE_CLUSTER_DEVICE_ADDONS`), whose own comment says an addon
|
|
30644
|
+
* not on it "falls off silently".
|
|
30645
|
+
*
|
|
30646
|
+
* Adding a fifth name to that list would have been the wrong fix twice over:
|
|
30647
|
+
* that page is per-camera DETECTION tuning, and a grid's geometry belongs
|
|
30648
|
+
* beside PTZ and motion zones on the camera itself — which is exactly where the
|
|
30649
|
+
* framework already puts a widget, when the widget is declared on a CAPABILITY.
|
|
30650
|
+
* `deviceConfig.ui` is the mechanism (`motion-zones`, `ptz`, `ptz-autotrack`
|
|
30651
|
+
* all use it): the framework emits the structural section and the widget
|
|
30652
|
+
* self-persists through the cap's own mutations.
|
|
30653
|
+
*
|
|
30654
|
+
* ## Why one addon may implement it
|
|
30655
|
+
*
|
|
30656
|
+
* It is a device-scoped NATIVE cap, registered by the grid camera device
|
|
30657
|
+
* itself. Nothing else declares a composite camera, so nothing else has a
|
|
30658
|
+
* layout — and the device-scoped route means the widget asks THE camera, not
|
|
30659
|
+
* "the camera-grid addon", which is what let the old custom-action pair be
|
|
30660
|
+
* reached only by a caller that already knew the addon id.
|
|
30661
|
+
*
|
|
30662
|
+
* ## The tab
|
|
30663
|
+
*
|
|
30664
|
+
* `streaming`, not a top-tab of its own. A grid's geometry IS what its stream
|
|
30665
|
+
* is, so the Streaming tab is where it belongs; a `grid` top-tab would need an
|
|
30666
|
+
* entry in `WELL_KNOWN_TAB_MAP` or the device page renders the raw id as the
|
|
30667
|
+
* label (measured on the robot camera, 2026-09-06 — a tab called "navigation"
|
|
30668
|
+
* next to "PTZ").
|
|
30669
|
+
*/
|
|
30670
|
+
/** A rectangle in normalized [0,1] coordinates of whatever contains it. */
|
|
30671
|
+
var GridNormalizedRectSchema = zod.z.object({
|
|
30672
|
+
x: zod.z.number().min(0).max(1),
|
|
30673
|
+
y: zod.z.number().min(0).max(1),
|
|
30674
|
+
width: zod.z.number().gt(0).max(1),
|
|
30675
|
+
height: zod.z.number().gt(0).max(1)
|
|
30676
|
+
});
|
|
30677
|
+
/**
|
|
30678
|
+
* One source camera, the part of its picture taken, and where that part lands.
|
|
30679
|
+
*
|
|
30680
|
+
* Both rectangles are NORMALIZED (D519): a source camera can change resolution
|
|
30681
|
+
* — a profile switch, a firmware update, a substream that comes back different
|
|
30682
|
+
* — and a stored PIXEL rectangle would quietly start cutting the wrong region,
|
|
30683
|
+
* which is the class of bug nobody files.
|
|
30684
|
+
*/
|
|
30685
|
+
var GridLayoutCellSchema = zod.z.object({
|
|
30686
|
+
deviceId: zod.z.number().int().positive(),
|
|
30687
|
+
/** The part of the SOURCE taken, normalized against the source. */
|
|
30688
|
+
source: GridNormalizedRectSchema,
|
|
30689
|
+
/** Where it lands, normalized against the CANVAS. */
|
|
30690
|
+
cell: GridNormalizedRectSchema
|
|
30691
|
+
});
|
|
30692
|
+
/**
|
|
30693
|
+
* Which profiles this grid can actually compose, and why not.
|
|
30694
|
+
*
|
|
30695
|
+
* A grid's `high` composes its sources' `high` and its `low` their `low`, so a
|
|
30696
|
+
* profile is on offer only when EVERY source can serve it. The refusal NAMES
|
|
30697
|
+
* the sources, because "this grid has no low" is not a finding — "615 has no
|
|
30698
|
+
* low" is, and it is the one an operator can act on.
|
|
30699
|
+
*/
|
|
30700
|
+
var GridProfileOfferSchema = zod.z.object({
|
|
30701
|
+
profile: zod.z.enum([
|
|
30702
|
+
"high",
|
|
30703
|
+
"mid",
|
|
30704
|
+
"low"
|
|
30705
|
+
]),
|
|
30706
|
+
offered: zod.z.boolean(),
|
|
30707
|
+
/** Sources that cannot serve it. Empty when it is offered, or when there are no cells. */
|
|
30708
|
+
missingSources: zod.z.array(zod.z.number().int().positive())
|
|
30709
|
+
});
|
|
30710
|
+
var GridLayoutViewSchema = zod.z.object({
|
|
30711
|
+
/** The persisted grid row this camera was declared from. */
|
|
30712
|
+
instanceId: zod.z.string(),
|
|
30713
|
+
deviceId: zod.z.number().int().nonnegative(),
|
|
30714
|
+
name: zod.z.string(),
|
|
30715
|
+
/** The canvas the operator laid out — this grid's `high`. mid/low are scaled from it. */
|
|
30716
|
+
width: zod.z.number().int(),
|
|
30717
|
+
height: zod.z.number().int(),
|
|
30718
|
+
fps: zod.z.number().int(),
|
|
30719
|
+
cells: zod.z.array(GridLayoutCellSchema),
|
|
30720
|
+
/** What the catalog will publish, and what it refuses to. Read-only. */
|
|
30721
|
+
profiles: zod.z.array(GridProfileOfferSchema)
|
|
30722
|
+
});
|
|
30723
|
+
var GridLayoutPatchSchema = zod.z.object({
|
|
30724
|
+
deviceId: zod.z.number().int().nonnegative(),
|
|
30725
|
+
name: zod.z.string().min(1).max(160).optional(),
|
|
30726
|
+
width: zod.z.number().int().min(160).max(7680).optional(),
|
|
30727
|
+
height: zod.z.number().int().min(120).max(4320).optional(),
|
|
30728
|
+
fps: zod.z.number().int().min(1).max(60).optional(),
|
|
30729
|
+
/**
|
|
30730
|
+
* The whole cell list at once. A per-cell patch would need an ordering the
|
|
30731
|
+
* editor does not have, and a half-applied layout is a picture nobody asked
|
|
30732
|
+
* for.
|
|
30733
|
+
*/
|
|
30734
|
+
cells: zod.z.array(GridLayoutCellSchema).max(16)
|
|
30735
|
+
});
|
|
30736
|
+
var cameraGridLayoutCapability = {
|
|
30737
|
+
name: "camera-grid-layout",
|
|
30738
|
+
scope: "device",
|
|
30739
|
+
deviceNative: true,
|
|
30740
|
+
mode: "singleton",
|
|
30741
|
+
deviceTypes: [DeviceType.Camera],
|
|
30742
|
+
deviceConfig: { ui: {
|
|
30743
|
+
kind: "widget",
|
|
30744
|
+
widgetId: "host/camera-grid-layout",
|
|
30745
|
+
tab: "streaming",
|
|
30746
|
+
label: "Grid layout",
|
|
30747
|
+
order: 20
|
|
30748
|
+
} },
|
|
30749
|
+
methods: {
|
|
30750
|
+
/**
|
|
30751
|
+
* The grid behind this device.
|
|
30752
|
+
*
|
|
30753
|
+
* `null` means ANSWERED and this camera is not a grid — not "not yet
|
|
30754
|
+
* known". The widget renders its "this is not a grid camera" state only
|
|
30755
|
+
* from this answer, never from an unresolved query (D315).
|
|
30756
|
+
*/
|
|
30757
|
+
getLayout: method(zod.z.object({ deviceId: zod.z.number().int().nonnegative() }), GridLayoutViewSchema.nullable(), { auth: "admin" }),
|
|
30758
|
+
/** Write the geometry back. Returns the grid as it now stands, profiles included. */
|
|
30759
|
+
saveLayout: method(GridLayoutPatchSchema, GridLayoutViewSchema, {
|
|
30760
|
+
kind: "mutation",
|
|
30761
|
+
auth: "admin"
|
|
30762
|
+
})
|
|
30763
|
+
}
|
|
30764
|
+
};
|
|
30765
|
+
/**
|
|
30615
30766
|
* Motion-zones share the same MaskShape vocabulary as privacy-mask — the
|
|
30616
30767
|
* on-camera motion-detection mask is a single `grid` region (a row-major
|
|
30617
30768
|
* boolean cell lattice the camera's onboard VMD evaluates). Composing it as
|
|
@@ -32967,6 +33118,26 @@ var PtzHomePresetSchema = zod.z.object({
|
|
|
32967
33118
|
"none"
|
|
32968
33119
|
])
|
|
32969
33120
|
});
|
|
33121
|
+
/**
|
|
33122
|
+
* The camera's own idle-return behaviour: whether it goes home by itself, and
|
|
33123
|
+
* after how long.
|
|
33124
|
+
*
|
|
33125
|
+
* ONE shape, not two scalars, because on the camera they are ONE fact —
|
|
33126
|
+
* Reolink's guard point carries `benable` and `timeout` in the same element,
|
|
33127
|
+
* written by the same command. Reading them apart means two round-trips that
|
|
33128
|
+
* can disagree.
|
|
33129
|
+
*
|
|
33130
|
+
* `enabled` and `seconds` are INDEPENDENT: a camera can hold a 68 s delay with
|
|
33131
|
+
* the behaviour switched off, which is exactly what the vendor app leaves when
|
|
33132
|
+
* you turn the guard point off without clearing it. The first version of this
|
|
33133
|
+
* cap reported only the delay, so that state was invisible — a camera could be
|
|
33134
|
+
* configured to return after 68 seconds with no way to say whether it should
|
|
33135
|
+
* return at all.
|
|
33136
|
+
*/
|
|
33137
|
+
var PtzHomeReturnSchema = zod.z.object({
|
|
33138
|
+
enabled: zod.z.boolean(),
|
|
33139
|
+
seconds: zod.z.number().int()
|
|
33140
|
+
});
|
|
32970
33141
|
var ptzCapability = {
|
|
32971
33142
|
name: "ptz",
|
|
32972
33143
|
scope: "device",
|
|
@@ -33049,18 +33220,25 @@ var ptzCapability = {
|
|
|
33049
33220
|
auth: "admin"
|
|
33050
33221
|
}),
|
|
33051
33222
|
/**
|
|
33052
|
-
*
|
|
33053
|
-
* `null` when it has no such behaviour.
|
|
33223
|
+
* Whether the camera returns home on its own when left idle, and after how
|
|
33224
|
+
* long. `null` when it has no such behaviour at all.
|
|
33054
33225
|
*
|
|
33055
33226
|
* Reolink's guard point carries one (`timeout`, freely settable in
|
|
33056
33227
|
* seconds). It is a real function of the camera that we did not expose at
|
|
33057
33228
|
* all, and it belongs next to the home it governs rather than in a vendor
|
|
33058
33229
|
* settings page nobody associates with Home.
|
|
33059
33230
|
*/
|
|
33060
|
-
|
|
33061
|
-
/**
|
|
33062
|
-
|
|
33231
|
+
getHomeReturn: method(zod.z.object({ deviceId: zod.z.number() }), PtzHomeReturnSchema.nullable()),
|
|
33232
|
+
/**
|
|
33233
|
+
* Set both together. Refused by a camera with no idle-return behaviour.
|
|
33234
|
+
*
|
|
33235
|
+
* They travel together for the same reason they are read together: the
|
|
33236
|
+
* underlying write carries both, so setting one alone means reading the
|
|
33237
|
+
* other back first and racing whoever else is writing.
|
|
33238
|
+
*/
|
|
33239
|
+
setHomeReturn: method(zod.z.object({
|
|
33063
33240
|
deviceId: zod.z.number(),
|
|
33241
|
+
enabled: zod.z.boolean(),
|
|
33064
33242
|
seconds: zod.z.number().int().min(0).max(3600)
|
|
33065
33243
|
}), zod.z.void(), {
|
|
33066
33244
|
kind: "mutation",
|
|
@@ -37871,6 +38049,7 @@ var ALL_CAPABILITY_DEFINITIONS = [
|
|
|
37871
38049
|
brokerCapability,
|
|
37872
38050
|
buttonCapability,
|
|
37873
38051
|
cameraCredentialsCapability,
|
|
38052
|
+
cameraGridLayoutCapability,
|
|
37874
38053
|
cameraPipelineConfigCapability,
|
|
37875
38054
|
cameraStreamsCapability,
|
|
37876
38055
|
carbonMonoxideCapability,
|
|
@@ -38724,6 +38903,18 @@ var METHOD_ACCESS_MAP = Object.freeze({
|
|
|
38724
38903
|
addonId: null,
|
|
38725
38904
|
access: "view"
|
|
38726
38905
|
},
|
|
38906
|
+
"cameraGridLayout.getLayout": {
|
|
38907
|
+
capName: "camera-grid-layout",
|
|
38908
|
+
capScope: "device",
|
|
38909
|
+
addonId: null,
|
|
38910
|
+
access: "view"
|
|
38911
|
+
},
|
|
38912
|
+
"cameraGridLayout.saveLayout": {
|
|
38913
|
+
capName: "camera-grid-layout",
|
|
38914
|
+
capScope: "device",
|
|
38915
|
+
addonId: null,
|
|
38916
|
+
access: "create"
|
|
38917
|
+
},
|
|
38727
38918
|
"cameraStreams.getBrokerStreams": {
|
|
38728
38919
|
capName: "camera-streams",
|
|
38729
38920
|
capScope: "device",
|
|
@@ -42474,7 +42665,7 @@ var METHOD_ACCESS_MAP = Object.freeze({
|
|
|
42474
42665
|
addonId: null,
|
|
42475
42666
|
access: "view"
|
|
42476
42667
|
},
|
|
42477
|
-
"ptz.
|
|
42668
|
+
"ptz.getHomeReturn": {
|
|
42478
42669
|
capName: "ptz",
|
|
42479
42670
|
capScope: "device",
|
|
42480
42671
|
addonId: null,
|
|
@@ -42534,7 +42725,7 @@ var METHOD_ACCESS_MAP = Object.freeze({
|
|
|
42534
42725
|
addonId: null,
|
|
42535
42726
|
access: "create"
|
|
42536
42727
|
},
|
|
42537
|
-
"ptz.
|
|
42728
|
+
"ptz.setHomeReturn": {
|
|
42538
42729
|
capName: "ptz",
|
|
42539
42730
|
capScope: "device",
|
|
42540
42731
|
addonId: null,
|
|
@@ -44423,6 +44614,21 @@ Object.freeze({
|
|
|
44423
44614
|
form: "single",
|
|
44424
44615
|
optional: false
|
|
44425
44616
|
}],
|
|
44617
|
+
"cameraGridLayout.getLayout": [{
|
|
44618
|
+
name: "deviceId",
|
|
44619
|
+
form: "single",
|
|
44620
|
+
optional: false
|
|
44621
|
+
}],
|
|
44622
|
+
"cameraGridLayout.saveLayout": [{
|
|
44623
|
+
name: "cells",
|
|
44624
|
+
form: "object-array",
|
|
44625
|
+
optional: false,
|
|
44626
|
+
itemField: "deviceId"
|
|
44627
|
+
}, {
|
|
44628
|
+
name: "deviceId",
|
|
44629
|
+
form: "single",
|
|
44630
|
+
optional: false
|
|
44631
|
+
}],
|
|
44426
44632
|
"cameraStreams.getBrokerStreams": [{
|
|
44427
44633
|
name: "deviceId",
|
|
44428
44634
|
form: "single",
|
|
@@ -45723,7 +45929,7 @@ Object.freeze({
|
|
|
45723
45929
|
form: "single",
|
|
45724
45930
|
optional: false
|
|
45725
45931
|
}],
|
|
45726
|
-
"ptz.
|
|
45932
|
+
"ptz.getHomeReturn": [{
|
|
45727
45933
|
name: "deviceId",
|
|
45728
45934
|
form: "single",
|
|
45729
45935
|
optional: false
|
|
@@ -45773,7 +45979,7 @@ Object.freeze({
|
|
|
45773
45979
|
form: "single",
|
|
45774
45980
|
optional: false
|
|
45775
45981
|
}],
|
|
45776
|
-
"ptz.
|
|
45982
|
+
"ptz.setHomeReturn": [{
|
|
45777
45983
|
name: "deviceId",
|
|
45778
45984
|
form: "single",
|
|
45779
45985
|
optional: false
|
|
@@ -690,7 +690,7 @@ var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
|
690
690
|
return EventCategory;
|
|
691
691
|
}({});
|
|
692
692
|
//#endregion
|
|
693
|
-
//#region ../types/dist/sleep-
|
|
693
|
+
//#region ../types/dist/sleep-Bs3xPtSh.mjs
|
|
694
694
|
/**
|
|
695
695
|
* The audio chunk plane's byte format, and the ONE expansion from a coded
|
|
696
696
|
* window to float samples (D455).
|
|
@@ -8854,6 +8854,24 @@ var GetStreamWithCodecInputSchema = z.object({
|
|
|
8854
8854
|
});
|
|
8855
8855
|
var RtpSourceSchema = z.object({
|
|
8856
8856
|
url: z.string(),
|
|
8857
|
+
/**
|
|
8858
|
+
* The SENTRY counterpart of {@link url} — the dial that asks for the stream
|
|
8859
|
+
* WITHOUT asking for the camera — or `null` when this camera offers none.
|
|
8860
|
+
*
|
|
8861
|
+
* The broker answers it because the broker is the only thing that can:
|
|
8862
|
+
* eligibility is `sentryEligible` (a BATTERY camera that DECLARES the signals
|
|
8863
|
+
* cap), asked of facts only the broker holds. A consumer re-deriving it from
|
|
8864
|
+
* cap bindings would be a second authority, and two authorities on the same
|
|
8865
|
+
* question is how a composite camera ends up dialling a sleeping camera
|
|
8866
|
+
* because its own copy of the rule was a release behind.
|
|
8867
|
+
*
|
|
8868
|
+
* `null` is a real answer and is never a live url in disguise: a consumer
|
|
8869
|
+
* that silently fell back to {@link url} would perform exactly the wake this
|
|
8870
|
+
* field exists to prevent. Only a PASSTHROUGH acquisition can offer one — a
|
|
8871
|
+
* transcode hands back an egress the broker is feeding itself, which has no
|
|
8872
|
+
* sentry counterpart.
|
|
8873
|
+
*/
|
|
8874
|
+
sentryUrl: z.string().nullable().optional(),
|
|
8857
8875
|
videoCodec: z.enum(["H264", "H265"]),
|
|
8858
8876
|
audioCodec: z.string(),
|
|
8859
8877
|
resolution: z.object({
|
|
@@ -30612,6 +30630,139 @@ var motionTriggerCapability = {
|
|
|
30612
30630
|
durability: "session"
|
|
30613
30631
|
};
|
|
30614
30632
|
/**
|
|
30633
|
+
* camera-grid-layout — the geometry of a COMPOSITE camera, on the camera's own
|
|
30634
|
+
* page.
|
|
30635
|
+
*
|
|
30636
|
+
* ## Why this is a capability and not an addon settings schema
|
|
30637
|
+
*
|
|
30638
|
+
* It was one, and it did not render. The addon declared the editor as a
|
|
30639
|
+
* `type: 'widget'` field inside its own `deviceSettingsSchema()`; the hub
|
|
30640
|
+
* returned that section correctly and `ConfigFormField` renders `type:'widget'`
|
|
30641
|
+
* perfectly well — and nothing ever asked camera-grid for it. The Cluster →
|
|
30642
|
+
* Pipeline → Device Overrides page interrogates a HAND-WRITTEN list of four
|
|
30643
|
+
* addons (`PIPELINE_CLUSTER_DEVICE_ADDONS`), whose own comment says an addon
|
|
30644
|
+
* not on it "falls off silently".
|
|
30645
|
+
*
|
|
30646
|
+
* Adding a fifth name to that list would have been the wrong fix twice over:
|
|
30647
|
+
* that page is per-camera DETECTION tuning, and a grid's geometry belongs
|
|
30648
|
+
* beside PTZ and motion zones on the camera itself — which is exactly where the
|
|
30649
|
+
* framework already puts a widget, when the widget is declared on a CAPABILITY.
|
|
30650
|
+
* `deviceConfig.ui` is the mechanism (`motion-zones`, `ptz`, `ptz-autotrack`
|
|
30651
|
+
* all use it): the framework emits the structural section and the widget
|
|
30652
|
+
* self-persists through the cap's own mutations.
|
|
30653
|
+
*
|
|
30654
|
+
* ## Why one addon may implement it
|
|
30655
|
+
*
|
|
30656
|
+
* It is a device-scoped NATIVE cap, registered by the grid camera device
|
|
30657
|
+
* itself. Nothing else declares a composite camera, so nothing else has a
|
|
30658
|
+
* layout — and the device-scoped route means the widget asks THE camera, not
|
|
30659
|
+
* "the camera-grid addon", which is what let the old custom-action pair be
|
|
30660
|
+
* reached only by a caller that already knew the addon id.
|
|
30661
|
+
*
|
|
30662
|
+
* ## The tab
|
|
30663
|
+
*
|
|
30664
|
+
* `streaming`, not a top-tab of its own. A grid's geometry IS what its stream
|
|
30665
|
+
* is, so the Streaming tab is where it belongs; a `grid` top-tab would need an
|
|
30666
|
+
* entry in `WELL_KNOWN_TAB_MAP` or the device page renders the raw id as the
|
|
30667
|
+
* label (measured on the robot camera, 2026-09-06 — a tab called "navigation"
|
|
30668
|
+
* next to "PTZ").
|
|
30669
|
+
*/
|
|
30670
|
+
/** A rectangle in normalized [0,1] coordinates of whatever contains it. */
|
|
30671
|
+
var GridNormalizedRectSchema = z.object({
|
|
30672
|
+
x: z.number().min(0).max(1),
|
|
30673
|
+
y: z.number().min(0).max(1),
|
|
30674
|
+
width: z.number().gt(0).max(1),
|
|
30675
|
+
height: z.number().gt(0).max(1)
|
|
30676
|
+
});
|
|
30677
|
+
/**
|
|
30678
|
+
* One source camera, the part of its picture taken, and where that part lands.
|
|
30679
|
+
*
|
|
30680
|
+
* Both rectangles are NORMALIZED (D519): a source camera can change resolution
|
|
30681
|
+
* — a profile switch, a firmware update, a substream that comes back different
|
|
30682
|
+
* — and a stored PIXEL rectangle would quietly start cutting the wrong region,
|
|
30683
|
+
* which is the class of bug nobody files.
|
|
30684
|
+
*/
|
|
30685
|
+
var GridLayoutCellSchema = z.object({
|
|
30686
|
+
deviceId: z.number().int().positive(),
|
|
30687
|
+
/** The part of the SOURCE taken, normalized against the source. */
|
|
30688
|
+
source: GridNormalizedRectSchema,
|
|
30689
|
+
/** Where it lands, normalized against the CANVAS. */
|
|
30690
|
+
cell: GridNormalizedRectSchema
|
|
30691
|
+
});
|
|
30692
|
+
/**
|
|
30693
|
+
* Which profiles this grid can actually compose, and why not.
|
|
30694
|
+
*
|
|
30695
|
+
* A grid's `high` composes its sources' `high` and its `low` their `low`, so a
|
|
30696
|
+
* profile is on offer only when EVERY source can serve it. The refusal NAMES
|
|
30697
|
+
* the sources, because "this grid has no low" is not a finding — "615 has no
|
|
30698
|
+
* low" is, and it is the one an operator can act on.
|
|
30699
|
+
*/
|
|
30700
|
+
var GridProfileOfferSchema = z.object({
|
|
30701
|
+
profile: z.enum([
|
|
30702
|
+
"high",
|
|
30703
|
+
"mid",
|
|
30704
|
+
"low"
|
|
30705
|
+
]),
|
|
30706
|
+
offered: z.boolean(),
|
|
30707
|
+
/** Sources that cannot serve it. Empty when it is offered, or when there are no cells. */
|
|
30708
|
+
missingSources: z.array(z.number().int().positive())
|
|
30709
|
+
});
|
|
30710
|
+
var GridLayoutViewSchema = z.object({
|
|
30711
|
+
/** The persisted grid row this camera was declared from. */
|
|
30712
|
+
instanceId: z.string(),
|
|
30713
|
+
deviceId: z.number().int().nonnegative(),
|
|
30714
|
+
name: z.string(),
|
|
30715
|
+
/** The canvas the operator laid out — this grid's `high`. mid/low are scaled from it. */
|
|
30716
|
+
width: z.number().int(),
|
|
30717
|
+
height: z.number().int(),
|
|
30718
|
+
fps: z.number().int(),
|
|
30719
|
+
cells: z.array(GridLayoutCellSchema),
|
|
30720
|
+
/** What the catalog will publish, and what it refuses to. Read-only. */
|
|
30721
|
+
profiles: z.array(GridProfileOfferSchema)
|
|
30722
|
+
});
|
|
30723
|
+
var GridLayoutPatchSchema = z.object({
|
|
30724
|
+
deviceId: z.number().int().nonnegative(),
|
|
30725
|
+
name: z.string().min(1).max(160).optional(),
|
|
30726
|
+
width: z.number().int().min(160).max(7680).optional(),
|
|
30727
|
+
height: z.number().int().min(120).max(4320).optional(),
|
|
30728
|
+
fps: z.number().int().min(1).max(60).optional(),
|
|
30729
|
+
/**
|
|
30730
|
+
* The whole cell list at once. A per-cell patch would need an ordering the
|
|
30731
|
+
* editor does not have, and a half-applied layout is a picture nobody asked
|
|
30732
|
+
* for.
|
|
30733
|
+
*/
|
|
30734
|
+
cells: z.array(GridLayoutCellSchema).max(16)
|
|
30735
|
+
});
|
|
30736
|
+
var cameraGridLayoutCapability = {
|
|
30737
|
+
name: "camera-grid-layout",
|
|
30738
|
+
scope: "device",
|
|
30739
|
+
deviceNative: true,
|
|
30740
|
+
mode: "singleton",
|
|
30741
|
+
deviceTypes: [DeviceType.Camera],
|
|
30742
|
+
deviceConfig: { ui: {
|
|
30743
|
+
kind: "widget",
|
|
30744
|
+
widgetId: "host/camera-grid-layout",
|
|
30745
|
+
tab: "streaming",
|
|
30746
|
+
label: "Grid layout",
|
|
30747
|
+
order: 20
|
|
30748
|
+
} },
|
|
30749
|
+
methods: {
|
|
30750
|
+
/**
|
|
30751
|
+
* The grid behind this device.
|
|
30752
|
+
*
|
|
30753
|
+
* `null` means ANSWERED and this camera is not a grid — not "not yet
|
|
30754
|
+
* known". The widget renders its "this is not a grid camera" state only
|
|
30755
|
+
* from this answer, never from an unresolved query (D315).
|
|
30756
|
+
*/
|
|
30757
|
+
getLayout: method(z.object({ deviceId: z.number().int().nonnegative() }), GridLayoutViewSchema.nullable(), { auth: "admin" }),
|
|
30758
|
+
/** Write the geometry back. Returns the grid as it now stands, profiles included. */
|
|
30759
|
+
saveLayout: method(GridLayoutPatchSchema, GridLayoutViewSchema, {
|
|
30760
|
+
kind: "mutation",
|
|
30761
|
+
auth: "admin"
|
|
30762
|
+
})
|
|
30763
|
+
}
|
|
30764
|
+
};
|
|
30765
|
+
/**
|
|
30615
30766
|
* Motion-zones share the same MaskShape vocabulary as privacy-mask — the
|
|
30616
30767
|
* on-camera motion-detection mask is a single `grid` region (a row-major
|
|
30617
30768
|
* boolean cell lattice the camera's onboard VMD evaluates). Composing it as
|
|
@@ -32967,6 +33118,26 @@ var PtzHomePresetSchema = z.object({
|
|
|
32967
33118
|
"none"
|
|
32968
33119
|
])
|
|
32969
33120
|
});
|
|
33121
|
+
/**
|
|
33122
|
+
* The camera's own idle-return behaviour: whether it goes home by itself, and
|
|
33123
|
+
* after how long.
|
|
33124
|
+
*
|
|
33125
|
+
* ONE shape, not two scalars, because on the camera they are ONE fact —
|
|
33126
|
+
* Reolink's guard point carries `benable` and `timeout` in the same element,
|
|
33127
|
+
* written by the same command. Reading them apart means two round-trips that
|
|
33128
|
+
* can disagree.
|
|
33129
|
+
*
|
|
33130
|
+
* `enabled` and `seconds` are INDEPENDENT: a camera can hold a 68 s delay with
|
|
33131
|
+
* the behaviour switched off, which is exactly what the vendor app leaves when
|
|
33132
|
+
* you turn the guard point off without clearing it. The first version of this
|
|
33133
|
+
* cap reported only the delay, so that state was invisible — a camera could be
|
|
33134
|
+
* configured to return after 68 seconds with no way to say whether it should
|
|
33135
|
+
* return at all.
|
|
33136
|
+
*/
|
|
33137
|
+
var PtzHomeReturnSchema = z.object({
|
|
33138
|
+
enabled: z.boolean(),
|
|
33139
|
+
seconds: z.number().int()
|
|
33140
|
+
});
|
|
32970
33141
|
var ptzCapability = {
|
|
32971
33142
|
name: "ptz",
|
|
32972
33143
|
scope: "device",
|
|
@@ -33049,18 +33220,25 @@ var ptzCapability = {
|
|
|
33049
33220
|
auth: "admin"
|
|
33050
33221
|
}),
|
|
33051
33222
|
/**
|
|
33052
|
-
*
|
|
33053
|
-
* `null` when it has no such behaviour.
|
|
33223
|
+
* Whether the camera returns home on its own when left idle, and after how
|
|
33224
|
+
* long. `null` when it has no such behaviour at all.
|
|
33054
33225
|
*
|
|
33055
33226
|
* Reolink's guard point carries one (`timeout`, freely settable in
|
|
33056
33227
|
* seconds). It is a real function of the camera that we did not expose at
|
|
33057
33228
|
* all, and it belongs next to the home it governs rather than in a vendor
|
|
33058
33229
|
* settings page nobody associates with Home.
|
|
33059
33230
|
*/
|
|
33060
|
-
|
|
33061
|
-
/**
|
|
33062
|
-
|
|
33231
|
+
getHomeReturn: method(z.object({ deviceId: z.number() }), PtzHomeReturnSchema.nullable()),
|
|
33232
|
+
/**
|
|
33233
|
+
* Set both together. Refused by a camera with no idle-return behaviour.
|
|
33234
|
+
*
|
|
33235
|
+
* They travel together for the same reason they are read together: the
|
|
33236
|
+
* underlying write carries both, so setting one alone means reading the
|
|
33237
|
+
* other back first and racing whoever else is writing.
|
|
33238
|
+
*/
|
|
33239
|
+
setHomeReturn: method(z.object({
|
|
33063
33240
|
deviceId: z.number(),
|
|
33241
|
+
enabled: z.boolean(),
|
|
33064
33242
|
seconds: z.number().int().min(0).max(3600)
|
|
33065
33243
|
}), z.void(), {
|
|
33066
33244
|
kind: "mutation",
|
|
@@ -37871,6 +38049,7 @@ var ALL_CAPABILITY_DEFINITIONS = [
|
|
|
37871
38049
|
brokerCapability,
|
|
37872
38050
|
buttonCapability,
|
|
37873
38051
|
cameraCredentialsCapability,
|
|
38052
|
+
cameraGridLayoutCapability,
|
|
37874
38053
|
cameraPipelineConfigCapability,
|
|
37875
38054
|
cameraStreamsCapability,
|
|
37876
38055
|
carbonMonoxideCapability,
|
|
@@ -38724,6 +38903,18 @@ var METHOD_ACCESS_MAP = Object.freeze({
|
|
|
38724
38903
|
addonId: null,
|
|
38725
38904
|
access: "view"
|
|
38726
38905
|
},
|
|
38906
|
+
"cameraGridLayout.getLayout": {
|
|
38907
|
+
capName: "camera-grid-layout",
|
|
38908
|
+
capScope: "device",
|
|
38909
|
+
addonId: null,
|
|
38910
|
+
access: "view"
|
|
38911
|
+
},
|
|
38912
|
+
"cameraGridLayout.saveLayout": {
|
|
38913
|
+
capName: "camera-grid-layout",
|
|
38914
|
+
capScope: "device",
|
|
38915
|
+
addonId: null,
|
|
38916
|
+
access: "create"
|
|
38917
|
+
},
|
|
38727
38918
|
"cameraStreams.getBrokerStreams": {
|
|
38728
38919
|
capName: "camera-streams",
|
|
38729
38920
|
capScope: "device",
|
|
@@ -42474,7 +42665,7 @@ var METHOD_ACCESS_MAP = Object.freeze({
|
|
|
42474
42665
|
addonId: null,
|
|
42475
42666
|
access: "view"
|
|
42476
42667
|
},
|
|
42477
|
-
"ptz.
|
|
42668
|
+
"ptz.getHomeReturn": {
|
|
42478
42669
|
capName: "ptz",
|
|
42479
42670
|
capScope: "device",
|
|
42480
42671
|
addonId: null,
|
|
@@ -42534,7 +42725,7 @@ var METHOD_ACCESS_MAP = Object.freeze({
|
|
|
42534
42725
|
addonId: null,
|
|
42535
42726
|
access: "create"
|
|
42536
42727
|
},
|
|
42537
|
-
"ptz.
|
|
42728
|
+
"ptz.setHomeReturn": {
|
|
42538
42729
|
capName: "ptz",
|
|
42539
42730
|
capScope: "device",
|
|
42540
42731
|
addonId: null,
|
|
@@ -44423,6 +44614,21 @@ Object.freeze({
|
|
|
44423
44614
|
form: "single",
|
|
44424
44615
|
optional: false
|
|
44425
44616
|
}],
|
|
44617
|
+
"cameraGridLayout.getLayout": [{
|
|
44618
|
+
name: "deviceId",
|
|
44619
|
+
form: "single",
|
|
44620
|
+
optional: false
|
|
44621
|
+
}],
|
|
44622
|
+
"cameraGridLayout.saveLayout": [{
|
|
44623
|
+
name: "cells",
|
|
44624
|
+
form: "object-array",
|
|
44625
|
+
optional: false,
|
|
44626
|
+
itemField: "deviceId"
|
|
44627
|
+
}, {
|
|
44628
|
+
name: "deviceId",
|
|
44629
|
+
form: "single",
|
|
44630
|
+
optional: false
|
|
44631
|
+
}],
|
|
44426
44632
|
"cameraStreams.getBrokerStreams": [{
|
|
44427
44633
|
name: "deviceId",
|
|
44428
44634
|
form: "single",
|
|
@@ -45723,7 +45929,7 @@ Object.freeze({
|
|
|
45723
45929
|
form: "single",
|
|
45724
45930
|
optional: false
|
|
45725
45931
|
}],
|
|
45726
|
-
"ptz.
|
|
45932
|
+
"ptz.getHomeReturn": [{
|
|
45727
45933
|
name: "deviceId",
|
|
45728
45934
|
form: "single",
|
|
45729
45935
|
optional: false
|
|
@@ -45773,7 +45979,7 @@ Object.freeze({
|
|
|
45773
45979
|
form: "single",
|
|
45774
45980
|
optional: false
|
|
45775
45981
|
}],
|
|
45776
|
-
"ptz.
|
|
45982
|
+
"ptz.setHomeReturn": [{
|
|
45777
45983
|
name: "deviceId",
|
|
45778
45984
|
form: "single",
|
|
45779
45985
|
optional: false
|
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-
|
|
3
|
+
const require_dist = require("./dist-B9y-3rme.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 { $t as DEVICE_SETTINGS_CONTRIBUTION_METHODS, Cn as EventCategory$1, Ft as scopesAllowAddon, It as scopesAllowDeviceCap, Nt as resolveMethodAuth, Ot as procedureAuthKey, Qt as DATAPLANE_SECRET_HEADER$1, Tt as objectInputDeclaresAddonId, Xt as errMsg$1, _n as parseJsonObject, an as ReadinessTimeoutError, at as isArrayOutputSchema, bn as resolveCapMount, cn as asNumber, ct as isObjectInput, dn as emitDownForOwnedCaps, dt as isVoidInput, en as DEVICE_STATUS_METHOD, ft as kebabToCamel, g as METHOD_ACCESS_MAP, in as ReadinessRegistry, j as addonSettingsCapability, ln as asString$1, mt as lifecycleJobSchema, ot as isCollectionArrayMethod, p as LOG_LEVEL_RANK, pn as expandCapMethods, sn as asJsonObject$1, t as ALL_CAPABILITY_DEFINITIONS, tt as extractNestedAddonId, un as createEvent, v as RUNTIME_DEFAULTS, vn as parseJsonUnknown, vt as logLevelAtMost, xn as scopeKey, yn as readinessKey, yt as looseSchema } from "./dist-
|
|
2
|
+
import { $t as DEVICE_SETTINGS_CONTRIBUTION_METHODS, Cn as EventCategory$1, Ft as scopesAllowAddon, It as scopesAllowDeviceCap, Nt as resolveMethodAuth, Ot as procedureAuthKey, Qt as DATAPLANE_SECRET_HEADER$1, Tt as objectInputDeclaresAddonId, Xt as errMsg$1, _n as parseJsonObject, an as ReadinessTimeoutError, at as isArrayOutputSchema, bn as resolveCapMount, cn as asNumber, ct as isObjectInput, dn as emitDownForOwnedCaps, dt as isVoidInput, en as DEVICE_STATUS_METHOD, ft as kebabToCamel, g as METHOD_ACCESS_MAP, in as ReadinessRegistry, j as addonSettingsCapability, ln as asString$1, mt as lifecycleJobSchema, ot as isCollectionArrayMethod, p as LOG_LEVEL_RANK, pn as expandCapMethods, sn as asJsonObject$1, t as ALL_CAPABILITY_DEFINITIONS, tt as extractNestedAddonId, un as createEvent, v as RUNTIME_DEFAULTS, vn as parseJsonUnknown, vt as logLevelAtMost, xn as scopeKey, yn as readinessKey, yt as looseSchema } from "./dist-DH6ThyTd.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";
|