@camstack/system 1.2.250 → 1.2.252
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-BHlcm97I.mjs → dist-Ckt1zSiL.mjs} +102 -1
- package/dist/{dist-BW7x4kAI.js → dist-Htt-fKD5.js} +102 -1
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/dist/{retired-settings-keys-CeaYCDU4.js → retired-settings-keys-CaGqdEsM.js} +1 -1
- package/dist/{retired-settings-keys-lPlv147H.mjs → retired-settings-keys-Dj4kwrSo.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-Htt-fKD5.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-Ckt1zSiL.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-Htt-fKD5.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-Ckt1zSiL.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-Htt-fKD5.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-Ckt1zSiL.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-Htt-fKD5.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-Ckt1zSiL.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-Htt-fKD5.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-Ckt1zSiL.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-Htt-fKD5.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-Ckt1zSiL.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-Htt-fKD5.js");
|
|
7
|
+
const require_retired_settings_keys = require("../../retired-settings-keys-CaGqdEsM.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-Ckt1zSiL.mjs";
|
|
2
|
+
import { n as purgeRetiredSettingsRows } from "../../retired-settings-keys-Dj4kwrSo.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-Htt-fKD5.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-Ckt1zSiL.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-Htt-fKD5.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-Ckt1zSiL.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-Htt-fKD5.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-Ckt1zSiL.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-Htt-fKD5.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-Ckt1zSiL.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-Htt-fKD5.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-Ckt1zSiL.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-Htt-fKD5.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-Ckt1zSiL.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-Htt-fKD5.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-Ckt1zSiL.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-Htt-fKD5.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-Ckt1zSiL.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-Htt-fKD5.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-Ckt1zSiL.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-Htt-fKD5.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-Ckt1zSiL.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-Htt-fKD5.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-Ckt1zSiL.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-Htt-fKD5.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-Ckt1zSiL.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-Htt-fKD5.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-Ckt1zSiL.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-Htt-fKD5.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-Ckt1zSiL.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-Dk-BdnBf.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).
|
|
@@ -32967,6 +32967,26 @@ var PtzHomePresetSchema = z.object({
|
|
|
32967
32967
|
"none"
|
|
32968
32968
|
])
|
|
32969
32969
|
});
|
|
32970
|
+
/**
|
|
32971
|
+
* The camera's own idle-return behaviour: whether it goes home by itself, and
|
|
32972
|
+
* after how long.
|
|
32973
|
+
*
|
|
32974
|
+
* ONE shape, not two scalars, because on the camera they are ONE fact —
|
|
32975
|
+
* Reolink's guard point carries `benable` and `timeout` in the same element,
|
|
32976
|
+
* written by the same command. Reading them apart means two round-trips that
|
|
32977
|
+
* can disagree.
|
|
32978
|
+
*
|
|
32979
|
+
* `enabled` and `seconds` are INDEPENDENT: a camera can hold a 68 s delay with
|
|
32980
|
+
* the behaviour switched off, which is exactly what the vendor app leaves when
|
|
32981
|
+
* you turn the guard point off without clearing it. The first version of this
|
|
32982
|
+
* cap reported only the delay, so that state was invisible — a camera could be
|
|
32983
|
+
* configured to return after 68 seconds with no way to say whether it should
|
|
32984
|
+
* return at all.
|
|
32985
|
+
*/
|
|
32986
|
+
var PtzHomeReturnSchema = z.object({
|
|
32987
|
+
enabled: z.boolean(),
|
|
32988
|
+
seconds: z.number().int()
|
|
32989
|
+
});
|
|
32970
32990
|
var ptzCapability = {
|
|
32971
32991
|
name: "ptz",
|
|
32972
32992
|
scope: "device",
|
|
@@ -33026,6 +33046,54 @@ var ptzCapability = {
|
|
|
33026
33046
|
auth: "admin"
|
|
33027
33047
|
}),
|
|
33028
33048
|
/**
|
|
33049
|
+
* Make WHERE THE HEAD IS POINTING RIGHT NOW this camera's home.
|
|
33050
|
+
*
|
|
33051
|
+
* `setHomePreset` takes a preset id, and a preset id is the wrong shape for
|
|
33052
|
+
* the most natural thing an operator does: aim the camera, then say "here".
|
|
33053
|
+
* It is also the only shape a camera whose home is NOT a preset can accept
|
|
33054
|
+
* -- Reolink's home is a guard point, a stored position with no id at all,
|
|
33055
|
+
* and hiding the control for that case (as the UI briefly did) left the one
|
|
33056
|
+
* vendor with a native home unable to set it.
|
|
33057
|
+
*
|
|
33058
|
+
* Each provider does it its own way:
|
|
33059
|
+
* reolink `setGrd` with `needSetPos`, pinning the guard point here
|
|
33060
|
+
* hikvision / amcrest save a preset, then pin it as home
|
|
33061
|
+
* onvif REFUSES -- its home is the PTZ origin and cannot be moved
|
|
33062
|
+
*
|
|
33063
|
+
* A provider that cannot honour it throws rather than silently doing
|
|
33064
|
+
* nothing: an operator who pressed "set home here" and saw no error would
|
|
33065
|
+
* believe it took.
|
|
33066
|
+
*/
|
|
33067
|
+
captureHomeHere: method(z.object({ deviceId: z.number() }), z.void(), {
|
|
33068
|
+
kind: "mutation",
|
|
33069
|
+
auth: "admin"
|
|
33070
|
+
}),
|
|
33071
|
+
/**
|
|
33072
|
+
* Whether the camera returns home on its own when left idle, and after how
|
|
33073
|
+
* long. `null` when it has no such behaviour at all.
|
|
33074
|
+
*
|
|
33075
|
+
* Reolink's guard point carries one (`timeout`, freely settable in
|
|
33076
|
+
* seconds). It is a real function of the camera that we did not expose at
|
|
33077
|
+
* all, and it belongs next to the home it governs rather than in a vendor
|
|
33078
|
+
* settings page nobody associates with Home.
|
|
33079
|
+
*/
|
|
33080
|
+
getHomeReturn: method(z.object({ deviceId: z.number() }), PtzHomeReturnSchema.nullable()),
|
|
33081
|
+
/**
|
|
33082
|
+
* Set both together. Refused by a camera with no idle-return behaviour.
|
|
33083
|
+
*
|
|
33084
|
+
* They travel together for the same reason they are read together: the
|
|
33085
|
+
* underlying write carries both, so setting one alone means reading the
|
|
33086
|
+
* other back first and racing whoever else is writing.
|
|
33087
|
+
*/
|
|
33088
|
+
setHomeReturn: method(z.object({
|
|
33089
|
+
deviceId: z.number(),
|
|
33090
|
+
enabled: z.boolean(),
|
|
33091
|
+
seconds: z.number().int().min(0).max(3600)
|
|
33092
|
+
}), z.void(), {
|
|
33093
|
+
kind: "mutation",
|
|
33094
|
+
auth: "admin"
|
|
33095
|
+
}),
|
|
33096
|
+
/**
|
|
33029
33097
|
* Pull the current PTZ position. Redundant with the auto-injected
|
|
33030
33098
|
* `getStatus` method (see `status` below); kept for callers that
|
|
33031
33099
|
* haven't migrated. Will be folded into `getStatus` in a future
|
|
@@ -42409,6 +42477,12 @@ var METHOD_ACCESS_MAP = Object.freeze({
|
|
|
42409
42477
|
addonId: null,
|
|
42410
42478
|
access: "create"
|
|
42411
42479
|
},
|
|
42480
|
+
"ptz.captureHomeHere": {
|
|
42481
|
+
capName: "ptz",
|
|
42482
|
+
capScope: "device",
|
|
42483
|
+
addonId: null,
|
|
42484
|
+
access: "create"
|
|
42485
|
+
},
|
|
42412
42486
|
"ptz.continuousMove": {
|
|
42413
42487
|
capName: "ptz",
|
|
42414
42488
|
capScope: "device",
|
|
@@ -42427,6 +42501,12 @@ var METHOD_ACCESS_MAP = Object.freeze({
|
|
|
42427
42501
|
addonId: null,
|
|
42428
42502
|
access: "view"
|
|
42429
42503
|
},
|
|
42504
|
+
"ptz.getHomeReturn": {
|
|
42505
|
+
capName: "ptz",
|
|
42506
|
+
capScope: "device",
|
|
42507
|
+
addonId: null,
|
|
42508
|
+
access: "view"
|
|
42509
|
+
},
|
|
42430
42510
|
"ptz.getOptions": {
|
|
42431
42511
|
capName: "ptz",
|
|
42432
42512
|
capScope: "device",
|
|
@@ -42481,6 +42561,12 @@ var METHOD_ACCESS_MAP = Object.freeze({
|
|
|
42481
42561
|
addonId: null,
|
|
42482
42562
|
access: "create"
|
|
42483
42563
|
},
|
|
42564
|
+
"ptz.setHomeReturn": {
|
|
42565
|
+
capName: "ptz",
|
|
42566
|
+
capScope: "device",
|
|
42567
|
+
addonId: null,
|
|
42568
|
+
access: "create"
|
|
42569
|
+
},
|
|
42484
42570
|
"ptz.stop": {
|
|
42485
42571
|
capName: "ptz",
|
|
42486
42572
|
capScope: "device",
|
|
@@ -45644,6 +45730,11 @@ Object.freeze({
|
|
|
45644
45730
|
form: "single",
|
|
45645
45731
|
optional: false
|
|
45646
45732
|
}],
|
|
45733
|
+
"ptz.captureHomeHere": [{
|
|
45734
|
+
name: "deviceId",
|
|
45735
|
+
form: "single",
|
|
45736
|
+
optional: false
|
|
45737
|
+
}],
|
|
45647
45738
|
"ptz.continuousMove": [{
|
|
45648
45739
|
name: "deviceId",
|
|
45649
45740
|
form: "single",
|
|
@@ -45659,6 +45750,11 @@ Object.freeze({
|
|
|
45659
45750
|
form: "single",
|
|
45660
45751
|
optional: false
|
|
45661
45752
|
}],
|
|
45753
|
+
"ptz.getHomeReturn": [{
|
|
45754
|
+
name: "deviceId",
|
|
45755
|
+
form: "single",
|
|
45756
|
+
optional: false
|
|
45757
|
+
}],
|
|
45662
45758
|
"ptz.getOptions": [{
|
|
45663
45759
|
name: "deviceId",
|
|
45664
45760
|
form: "single",
|
|
@@ -45704,6 +45800,11 @@ Object.freeze({
|
|
|
45704
45800
|
form: "single",
|
|
45705
45801
|
optional: false
|
|
45706
45802
|
}],
|
|
45803
|
+
"ptz.setHomeReturn": [{
|
|
45804
|
+
name: "deviceId",
|
|
45805
|
+
form: "single",
|
|
45806
|
+
optional: false
|
|
45807
|
+
}],
|
|
45707
45808
|
"ptz.stop": [{
|
|
45708
45809
|
name: "deviceId",
|
|
45709
45810
|
form: "single",
|
|
@@ -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-Dk-BdnBf.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).
|
|
@@ -32967,6 +32967,26 @@ var PtzHomePresetSchema = zod.z.object({
|
|
|
32967
32967
|
"none"
|
|
32968
32968
|
])
|
|
32969
32969
|
});
|
|
32970
|
+
/**
|
|
32971
|
+
* The camera's own idle-return behaviour: whether it goes home by itself, and
|
|
32972
|
+
* after how long.
|
|
32973
|
+
*
|
|
32974
|
+
* ONE shape, not two scalars, because on the camera they are ONE fact —
|
|
32975
|
+
* Reolink's guard point carries `benable` and `timeout` in the same element,
|
|
32976
|
+
* written by the same command. Reading them apart means two round-trips that
|
|
32977
|
+
* can disagree.
|
|
32978
|
+
*
|
|
32979
|
+
* `enabled` and `seconds` are INDEPENDENT: a camera can hold a 68 s delay with
|
|
32980
|
+
* the behaviour switched off, which is exactly what the vendor app leaves when
|
|
32981
|
+
* you turn the guard point off without clearing it. The first version of this
|
|
32982
|
+
* cap reported only the delay, so that state was invisible — a camera could be
|
|
32983
|
+
* configured to return after 68 seconds with no way to say whether it should
|
|
32984
|
+
* return at all.
|
|
32985
|
+
*/
|
|
32986
|
+
var PtzHomeReturnSchema = zod.z.object({
|
|
32987
|
+
enabled: zod.z.boolean(),
|
|
32988
|
+
seconds: zod.z.number().int()
|
|
32989
|
+
});
|
|
32970
32990
|
var ptzCapability = {
|
|
32971
32991
|
name: "ptz",
|
|
32972
32992
|
scope: "device",
|
|
@@ -33026,6 +33046,54 @@ var ptzCapability = {
|
|
|
33026
33046
|
auth: "admin"
|
|
33027
33047
|
}),
|
|
33028
33048
|
/**
|
|
33049
|
+
* Make WHERE THE HEAD IS POINTING RIGHT NOW this camera's home.
|
|
33050
|
+
*
|
|
33051
|
+
* `setHomePreset` takes a preset id, and a preset id is the wrong shape for
|
|
33052
|
+
* the most natural thing an operator does: aim the camera, then say "here".
|
|
33053
|
+
* It is also the only shape a camera whose home is NOT a preset can accept
|
|
33054
|
+
* -- Reolink's home is a guard point, a stored position with no id at all,
|
|
33055
|
+
* and hiding the control for that case (as the UI briefly did) left the one
|
|
33056
|
+
* vendor with a native home unable to set it.
|
|
33057
|
+
*
|
|
33058
|
+
* Each provider does it its own way:
|
|
33059
|
+
* reolink `setGrd` with `needSetPos`, pinning the guard point here
|
|
33060
|
+
* hikvision / amcrest save a preset, then pin it as home
|
|
33061
|
+
* onvif REFUSES -- its home is the PTZ origin and cannot be moved
|
|
33062
|
+
*
|
|
33063
|
+
* A provider that cannot honour it throws rather than silently doing
|
|
33064
|
+
* nothing: an operator who pressed "set home here" and saw no error would
|
|
33065
|
+
* believe it took.
|
|
33066
|
+
*/
|
|
33067
|
+
captureHomeHere: method(zod.z.object({ deviceId: zod.z.number() }), zod.z.void(), {
|
|
33068
|
+
kind: "mutation",
|
|
33069
|
+
auth: "admin"
|
|
33070
|
+
}),
|
|
33071
|
+
/**
|
|
33072
|
+
* Whether the camera returns home on its own when left idle, and after how
|
|
33073
|
+
* long. `null` when it has no such behaviour at all.
|
|
33074
|
+
*
|
|
33075
|
+
* Reolink's guard point carries one (`timeout`, freely settable in
|
|
33076
|
+
* seconds). It is a real function of the camera that we did not expose at
|
|
33077
|
+
* all, and it belongs next to the home it governs rather than in a vendor
|
|
33078
|
+
* settings page nobody associates with Home.
|
|
33079
|
+
*/
|
|
33080
|
+
getHomeReturn: method(zod.z.object({ deviceId: zod.z.number() }), PtzHomeReturnSchema.nullable()),
|
|
33081
|
+
/**
|
|
33082
|
+
* Set both together. Refused by a camera with no idle-return behaviour.
|
|
33083
|
+
*
|
|
33084
|
+
* They travel together for the same reason they are read together: the
|
|
33085
|
+
* underlying write carries both, so setting one alone means reading the
|
|
33086
|
+
* other back first and racing whoever else is writing.
|
|
33087
|
+
*/
|
|
33088
|
+
setHomeReturn: method(zod.z.object({
|
|
33089
|
+
deviceId: zod.z.number(),
|
|
33090
|
+
enabled: zod.z.boolean(),
|
|
33091
|
+
seconds: zod.z.number().int().min(0).max(3600)
|
|
33092
|
+
}), zod.z.void(), {
|
|
33093
|
+
kind: "mutation",
|
|
33094
|
+
auth: "admin"
|
|
33095
|
+
}),
|
|
33096
|
+
/**
|
|
33029
33097
|
* Pull the current PTZ position. Redundant with the auto-injected
|
|
33030
33098
|
* `getStatus` method (see `status` below); kept for callers that
|
|
33031
33099
|
* haven't migrated. Will be folded into `getStatus` in a future
|
|
@@ -42409,6 +42477,12 @@ var METHOD_ACCESS_MAP = Object.freeze({
|
|
|
42409
42477
|
addonId: null,
|
|
42410
42478
|
access: "create"
|
|
42411
42479
|
},
|
|
42480
|
+
"ptz.captureHomeHere": {
|
|
42481
|
+
capName: "ptz",
|
|
42482
|
+
capScope: "device",
|
|
42483
|
+
addonId: null,
|
|
42484
|
+
access: "create"
|
|
42485
|
+
},
|
|
42412
42486
|
"ptz.continuousMove": {
|
|
42413
42487
|
capName: "ptz",
|
|
42414
42488
|
capScope: "device",
|
|
@@ -42427,6 +42501,12 @@ var METHOD_ACCESS_MAP = Object.freeze({
|
|
|
42427
42501
|
addonId: null,
|
|
42428
42502
|
access: "view"
|
|
42429
42503
|
},
|
|
42504
|
+
"ptz.getHomeReturn": {
|
|
42505
|
+
capName: "ptz",
|
|
42506
|
+
capScope: "device",
|
|
42507
|
+
addonId: null,
|
|
42508
|
+
access: "view"
|
|
42509
|
+
},
|
|
42430
42510
|
"ptz.getOptions": {
|
|
42431
42511
|
capName: "ptz",
|
|
42432
42512
|
capScope: "device",
|
|
@@ -42481,6 +42561,12 @@ var METHOD_ACCESS_MAP = Object.freeze({
|
|
|
42481
42561
|
addonId: null,
|
|
42482
42562
|
access: "create"
|
|
42483
42563
|
},
|
|
42564
|
+
"ptz.setHomeReturn": {
|
|
42565
|
+
capName: "ptz",
|
|
42566
|
+
capScope: "device",
|
|
42567
|
+
addonId: null,
|
|
42568
|
+
access: "create"
|
|
42569
|
+
},
|
|
42484
42570
|
"ptz.stop": {
|
|
42485
42571
|
capName: "ptz",
|
|
42486
42572
|
capScope: "device",
|
|
@@ -45644,6 +45730,11 @@ Object.freeze({
|
|
|
45644
45730
|
form: "single",
|
|
45645
45731
|
optional: false
|
|
45646
45732
|
}],
|
|
45733
|
+
"ptz.captureHomeHere": [{
|
|
45734
|
+
name: "deviceId",
|
|
45735
|
+
form: "single",
|
|
45736
|
+
optional: false
|
|
45737
|
+
}],
|
|
45647
45738
|
"ptz.continuousMove": [{
|
|
45648
45739
|
name: "deviceId",
|
|
45649
45740
|
form: "single",
|
|
@@ -45659,6 +45750,11 @@ Object.freeze({
|
|
|
45659
45750
|
form: "single",
|
|
45660
45751
|
optional: false
|
|
45661
45752
|
}],
|
|
45753
|
+
"ptz.getHomeReturn": [{
|
|
45754
|
+
name: "deviceId",
|
|
45755
|
+
form: "single",
|
|
45756
|
+
optional: false
|
|
45757
|
+
}],
|
|
45662
45758
|
"ptz.getOptions": [{
|
|
45663
45759
|
name: "deviceId",
|
|
45664
45760
|
form: "single",
|
|
@@ -45704,6 +45800,11 @@ Object.freeze({
|
|
|
45704
45800
|
form: "single",
|
|
45705
45801
|
optional: false
|
|
45706
45802
|
}],
|
|
45803
|
+
"ptz.setHomeReturn": [{
|
|
45804
|
+
name: "deviceId",
|
|
45805
|
+
form: "single",
|
|
45806
|
+
optional: false
|
|
45807
|
+
}],
|
|
45707
45808
|
"ptz.stop": [{
|
|
45708
45809
|
name: "deviceId",
|
|
45709
45810
|
form: "single",
|
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-Htt-fKD5.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-Ckt1zSiL.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";
|