@camstack/system 1.2.141 → 1.2.142
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-6mn3LQvB.mjs → dist-XjWZZYr9.mjs} +96 -1
- package/dist/{dist-BNhvXrQk.js → dist-jRSrzoXr.js} +96 -1
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/dist/{retired-settings-keys-SYwVv_Ym.mjs → retired-settings-keys-C8FeTH36.mjs} +1 -1
- package/dist/{retired-settings-keys-DVgdWTd7.js → retired-settings-keys-ovd_DQzc.js} +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-jRSrzoXr.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 { Kt as EventCategory, bt as BaseAddon, v as addonPagesCapability, yt as errMsg } from "../../dist-
|
|
1
|
+
import { Kt as EventCategory, bt as BaseAddon, v as addonPagesCapability, yt as errMsg } from "../../dist-XjWZZYr9.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-jRSrzoXr.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 { Kt as EventCategory, b as addonWidgetsCapability, bt as BaseAddon, yt as errMsg } from "../../dist-
|
|
1
|
+
import { Kt as EventCategory, b as addonWidgetsCapability, bt as BaseAddon, yt as errMsg } from "../../dist-XjWZZYr9.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-jRSrzoXr.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 { Kt as EventCategory, Nt as createEvent, bt as BaseAddon, n as AlertSchema, x as alertsCapability, yt as errMsg } from "../../dist-
|
|
1
|
+
import { Kt as EventCategory, Nt as createEvent, bt as BaseAddon, n as AlertSchema, x as alertsCapability, yt as errMsg } from "../../dist-XjWZZYr9.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-jRSrzoXr.js");
|
|
7
7
|
let node_crypto = require("node:crypto");
|
|
8
8
|
let buffer = require("buffer");
|
|
9
9
|
let node_fs_promises = require("node:fs/promises");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as backupCapability, Kt as EventCategory, bt as BaseAddon } from "../../dist-
|
|
1
|
+
import { C as backupCapability, Kt as EventCategory, bt as BaseAddon } from "../../dist-XjWZZYr9.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-jRSrzoXr.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 { X as logDestinationCapability, bt as BaseAddon } from "../../dist-
|
|
1
|
+
import { X as logDestinationCapability, bt as BaseAddon } from "../../dist-XjWZZYr9.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-jRSrzoXr.js");
|
|
4
4
|
let node_crypto = require("node:crypto");
|
|
5
5
|
let node_fs_promises = require("node:fs/promises");
|
|
6
6
|
node_fs_promises = require_chunk.__toESM(node_fs_promises);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { D as coreBlockAddonId, O as coreBlockIdFromAddonId, bt as BaseAddon, c as CoreBlockSchema, k as coreBlocksCapability, l as DeclaredDevices, o as CORE_BLOCKS_ADDON_ID, s as CORE_BLOCK_ADDON_PREFIX, yt as errMsg } from "../../dist-
|
|
1
|
+
import { D as coreBlockAddonId, O as coreBlockIdFromAddonId, bt as BaseAddon, c as CoreBlockSchema, k as coreBlocksCapability, l as DeclaredDevices, o as CORE_BLOCKS_ADDON_ID, s as CORE_BLOCK_ADDON_PREFIX, yt as errMsg } from "../../dist-XjWZZYr9.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-jRSrzoXr.js");
|
|
7
|
+
const require_retired_settings_keys = require("../../retired-settings-keys-ovd_DQzc.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 { E as buildStreamParamsConfigSchema, Et as DeviceType, F as deviceStatusCapability, Gt as sleep, Kt as EventCategory, N as deviceManagerCapability, P as deviceStateCapability, R as enumerateItemArrayFields, Rt as isDeviceConfigCap, Tt as DeviceRole, a as CAP_NAMES_WITH_STATUS, bt as BaseAddon, et as normalizeUnit, kt as WELL_KNOWN_TAB_MAP, nt as parseStreamParamsFormPatch, ot as runtimeStatePolicyFor, p as STREAM_PROFILE_META, t as ALL_CAPABILITY_DEFINITIONS, u as DeviceStatusSchema, wt as DeviceFeature, yt as errMsg, z as enumerateSchemaFields } from "../../dist-
|
|
2
|
-
import { n as purgeRetiredSettingsRows } from "../../retired-settings-keys-
|
|
1
|
+
import { E as buildStreamParamsConfigSchema, Et as DeviceType, F as deviceStatusCapability, Gt as sleep, Kt as EventCategory, N as deviceManagerCapability, P as deviceStateCapability, R as enumerateItemArrayFields, Rt as isDeviceConfigCap, Tt as DeviceRole, a as CAP_NAMES_WITH_STATUS, bt as BaseAddon, et as normalizeUnit, kt as WELL_KNOWN_TAB_MAP, nt as parseStreamParamsFormPatch, ot as runtimeStatePolicyFor, p as STREAM_PROFILE_META, t as ALL_CAPABILITY_DEFINITIONS, u as DeviceStatusSchema, wt as DeviceFeature, yt as errMsg, z as enumerateSchemaFields } from "../../dist-XjWZZYr9.mjs";
|
|
2
|
+
import { n as purgeRetiredSettingsRows } from "../../retired-settings-keys-C8FeTH36.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-jRSrzoXr.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 { Et as DeviceType, G as isSameAddonId, I as doorbellCapability, Kt as EventCategory, Nt as createEvent, bt as BaseAddon, w as bareAddonId, yt as errMsg } from "../../dist-
|
|
1
|
+
import { Et as DeviceType, G as isSameAddonId, I as doorbellCapability, Kt as EventCategory, Nt as createEvent, bt as BaseAddon, w as bareAddonId, yt as errMsg } from "../../dist-XjWZZYr9.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-jRSrzoXr.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 { X as logDestinationCapability, bt as BaseAddon } from "../../dist-
|
|
1
|
+
import { X as logDestinationCapability, bt as BaseAddon } from "../../dist-XjWZZYr9.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-jRSrzoXr.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 { Kt as EventCategory, Nt as createEvent, bt as BaseAddon, yt as errMsg } from "../../dist-
|
|
1
|
+
import { Kt as EventCategory, Nt as createEvent, bt as BaseAddon, yt as errMsg } from "../../dist-XjWZZYr9.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-jRSrzoXr.js");
|
|
7
7
|
let node_crypto = require("node:crypto");
|
|
8
8
|
node_crypto = require_chunk.__toESM(node_crypto);
|
|
9
9
|
let crypto$1 = require("crypto");
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { i as __require, o as __toESM, t as __commonJSMin } from "../../chunk-CNf5ZN-e.mjs";
|
|
2
|
-
import { S as authProviderCapability, _ as UserRecordSchema, bt as BaseAddon, gt as userManagementCapability, m as ScopedTokenSchema, r as ApiKeyRecordSchema } from "../../dist-
|
|
2
|
+
import { S as authProviderCapability, _ as UserRecordSchema, bt as BaseAddon, gt as userManagementCapability, m as ScopedTokenSchema, r as ApiKeyRecordSchema } from "../../dist-XjWZZYr9.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-jRSrzoXr.js");
|
|
4
4
|
const require_tls = require("../../tls-u8QCJCFE.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 { Kt as EventCategory, Y as localNetworkCapability, bt as BaseAddon } from "../../dist-
|
|
1
|
+
import { Kt as EventCategory, Y as localNetworkCapability, bt as BaseAddon } from "../../dist-XjWZZYr9.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-CQhPGSJm.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-jRSrzoXr.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 { X as logDestinationCapability, bt as BaseAddon } from "../../dist-
|
|
1
|
+
import { X as logDestinationCapability, bt as BaseAddon } from "../../dist-XjWZZYr9.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-jRSrzoXr.js");
|
|
7
7
|
let node_child_process = require("node:child_process");
|
|
8
8
|
let node_util = require("node:util");
|
|
9
9
|
let node_os = require("node:os");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $ as metricsProviderCapability, Kt as EventCategory, Nt as createEvent, bt as BaseAddon } from "../../dist-
|
|
1
|
+
import { $ as metricsProviderCapability, Kt as EventCategory, Nt as createEvent, bt as BaseAddon } from "../../dist-XjWZZYr9.mjs";
|
|
2
2
|
import { execFile, execFileSync } from "node:child_process";
|
|
3
3
|
import { promisify } from "node:util";
|
|
4
4
|
import * as os from "node:os";
|
|
@@ -3,7 +3,7 @@ Object.defineProperties(exports, {
|
|
|
3
3
|
[Symbol.toStringTag]: { value: "Module" }
|
|
4
4
|
});
|
|
5
5
|
const require_chunk = require("../../chunk-Cek0wNdY.js");
|
|
6
|
-
const require_dist = require("../../dist-
|
|
6
|
+
const require_dist = require("../../dist-jRSrzoXr.js");
|
|
7
7
|
let node_child_process = require("node:child_process");
|
|
8
8
|
let node_util = require("node:util");
|
|
9
9
|
let node_os = require("node:os");
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { o as __toESM } from "../../chunk-CNf5ZN-e.mjs";
|
|
2
|
-
import { Ft as emitReadiness, Kt as EventCategory, L as enumerateInferenceDevices, bt as BaseAddon, lt as scoreRuntimes, rt as platformProbeCapability, yt as errMsg } from "../../dist-
|
|
2
|
+
import { Ft as emitReadiness, Kt as EventCategory, L as enumerateInferenceDevices, bt as BaseAddon, lt as scoreRuntimes, rt as platformProbeCapability, yt as errMsg } from "../../dist-XjWZZYr9.mjs";
|
|
3
3
|
import { execFile } from "node:child_process";
|
|
4
4
|
import { promisify } from "node:util";
|
|
5
5
|
import * as os from "node:os";
|
|
@@ -3,7 +3,7 @@ Object.defineProperties(exports, {
|
|
|
3
3
|
[Symbol.toStringTag]: { value: "Module" }
|
|
4
4
|
});
|
|
5
5
|
require("../../chunk-Cek0wNdY.js");
|
|
6
|
-
const require_dist = require("../../dist-
|
|
6
|
+
const require_dist = require("../../dist-jRSrzoXr.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 { Kt as EventCategory, bt as BaseAddon } from "../../dist-
|
|
1
|
+
import { Kt as EventCategory, bt as BaseAddon } from "../../dist-XjWZZYr9.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-jRSrzoXr.js");
|
|
7
7
|
let zod = require("zod");
|
|
8
8
|
let node_crypto = require("node:crypto");
|
|
9
9
|
let _camstack_types_node = require("@camstack/types/node");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Et as DeviceType, Kt as EventCategory, M as deriveBatteryPresence, T as batteryCapability, bt as BaseAddon, dt as snapshotCapability, ht as streamQualityLabel, i as BatteryStatusSchema, w as bareAddonId, wt as DeviceFeature, yt as errMsg, zt as nodePin } from "../../dist-
|
|
1
|
+
import { Et as DeviceType, Kt as EventCategory, M as deriveBatteryPresence, T as batteryCapability, bt as BaseAddon, dt as snapshotCapability, ht as streamQualityLabel, i as BatteryStatusSchema, w as bareAddonId, wt as DeviceFeature, yt as errMsg, zt as nodePin } from "../../dist-XjWZZYr9.mjs";
|
|
2
2
|
import { z } from "zod";
|
|
3
3
|
import { randomUUID } from "node:crypto";
|
|
4
4
|
import { signExpiringUrl, verifyExpiringUrl } from "@camstack/types/node";
|
|
@@ -3,7 +3,7 @@ Object.defineProperties(exports, {
|
|
|
3
3
|
[Symbol.toStringTag]: { value: "Module" }
|
|
4
4
|
});
|
|
5
5
|
const require_chunk = require("../../chunk-Cek0wNdY.js");
|
|
6
|
-
const require_dist = require("../../dist-
|
|
6
|
+
const require_dist = require("../../dist-jRSrzoXr.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 { V as filesystemBrowseCapability, bt as BaseAddon, mt as storageProviderCapability } from "../../dist-
|
|
1
|
+
import { V as filesystemBrowseCapability, bt as BaseAddon, mt as storageProviderCapability } from "../../dist-XjWZZYr9.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-jRSrzoXr.js");
|
|
7
7
|
let node_crypto = require("node:crypto");
|
|
8
8
|
let node_fs_promises = require("node:fs/promises");
|
|
9
9
|
node_fs_promises = require_chunk.__toESM(node_fs_promises);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Bt as parseJsonObject, bt as BaseAddon, ft as storageCapability, g as StorageMigrationJobSchema, h as StorageLocationTypeSchema, pt as storageMigrationCapability, ut as settingsStoreCapability } from "../../dist-
|
|
1
|
+
import { Bt as parseJsonObject, bt as BaseAddon, ft as storageCapability, g as StorageMigrationJobSchema, h as StorageLocationTypeSchema, pt as storageMigrationCapability, ut as settingsStoreCapability } from "../../dist-XjWZZYr9.mjs";
|
|
2
2
|
import { randomUUID } from "node:crypto";
|
|
3
3
|
import * as fs from "node:fs/promises";
|
|
4
4
|
import * as path$1 from "node:path";
|
|
@@ -3,7 +3,7 @@ Object.defineProperties(exports, {
|
|
|
3
3
|
[Symbol.toStringTag]: { value: "Module" }
|
|
4
4
|
});
|
|
5
5
|
require("../../chunk-Cek0wNdY.js");
|
|
6
|
-
const require_dist = require("../../dist-
|
|
6
|
+
const require_dist = require("../../dist-jRSrzoXr.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 { Lt as hydrateSchema, bt as BaseAddon, yt as errMsg } from "../../dist-
|
|
1
|
+
import { Lt as hydrateSchema, bt as BaseAddon, yt as errMsg } from "../../dist-XjWZZYr9.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-jRSrzoXr.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 { X as logDestinationCapability, bt as BaseAddon } from "../../dist-
|
|
1
|
+
import { X as logDestinationCapability, bt as BaseAddon } from "../../dist-XjWZZYr9.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";
|
|
@@ -13849,7 +13849,23 @@ var NcHistoryEntrySchema = z.object({
|
|
|
13849
13849
|
updatedAt: z.number(),
|
|
13850
13850
|
/** Failure detail — present on a `dead` row. */
|
|
13851
13851
|
error: z.string().optional(),
|
|
13852
|
-
subject: NcHistorySubjectSchema
|
|
13852
|
+
subject: NcHistorySubjectSchema,
|
|
13853
|
+
/**
|
|
13854
|
+
* Ids of the artefacts (still, then gif, then clip) this row's successful
|
|
13855
|
+
* delivery indexed in the artefact library — a REFERENCE, never the bytes
|
|
13856
|
+
* (an artefact is often megabytes; this row is durable JSON rewritten on
|
|
13857
|
+
* every delivery attempt). Absent on a row still pending/dead, a row
|
|
13858
|
+
* delivered before this field shipped, or a wiring with no artefact index.
|
|
13859
|
+
*
|
|
13860
|
+
* Resolve one to a fetchable URL with `resolveArtifactUrl` — an id
|
|
13861
|
+
* outlives any one URL's TTL, so a caller mints a fresh link on demand
|
|
13862
|
+
* rather than trusting one frozen at delivery time. `resolveArtifactUrl`
|
|
13863
|
+
* also answers `null` for an id whose artefact has since expired past the
|
|
13864
|
+
* retained shelf's own age bound — the degrade a caller (the Home
|
|
13865
|
+
* Assistant export) must render as "no image right now", never as a
|
|
13866
|
+
* broken link.
|
|
13867
|
+
*/
|
|
13868
|
+
artifactIds: z.array(z.string().min(1)).optional()
|
|
13853
13869
|
});
|
|
13854
13870
|
/**
|
|
13855
13871
|
* Query filter for `getHistory` (spec §4.2). Every field is a narrowing
|
|
@@ -14138,6 +14154,20 @@ var notificationRulesCapability = {
|
|
|
14138
14154
|
*/
|
|
14139
14155
|
getHistory: method(z.object({ filter: NcHistoryFilterSchema.default({ limit: 100 }) }), z.object({ entries: z.array(NcHistoryEntrySchema) }), { auth: "admin" }),
|
|
14140
14156
|
/**
|
|
14157
|
+
* Mint a fresh, externally-reachable URL for one artefact a history row
|
|
14158
|
+
* named in {@link NcHistoryEntrySchema.shape.artifactIds} — the SAME
|
|
14159
|
+
* signed-link mechanism the dispatcher uses to attach media to an
|
|
14160
|
+
* outgoing notification (one derivation; this never re-implements it).
|
|
14161
|
+
*
|
|
14162
|
+
* `url: null` on THREE causes a caller must treat identically ("no image
|
|
14163
|
+
* right now", never a broken link): the id is unknown, its artefact has
|
|
14164
|
+
* expired past the retained shelf's own age bound, or this install has no
|
|
14165
|
+
* externally-reachable base URL. A caller that received a URL on a
|
|
14166
|
+
* previous call and now gets `null` must stop showing it — a link that
|
|
14167
|
+
* worked five minutes ago is not proof it works now.
|
|
14168
|
+
*/
|
|
14169
|
+
resolveArtifactUrl: method(z.object({ artifactId: z.string().min(1) }), z.object({ url: z.string().nullable() }), { auth: "admin" }),
|
|
14170
|
+
/**
|
|
14141
14171
|
* Snooze windows currently in effect, plus any whose digest has not yet
|
|
14142
14172
|
* gone out. `caller: 'required'`: a user sees their OWN windows and the
|
|
14143
14173
|
* global ones that silence them, never another person's private silence.
|
|
@@ -27773,6 +27803,39 @@ var ReadGopBytesResultSchema = z.object({
|
|
|
27773
27803
|
/** Media ms the returned fragment covers. */
|
|
27774
27804
|
gopDurMs: z.number()
|
|
27775
27805
|
});
|
|
27806
|
+
/**
|
|
27807
|
+
* A time WINDOW of one finalized segment, cut by byte range — the multi-GOP
|
|
27808
|
+
* twin of {@link ReadGopBytesResultSchema}'s single instant. Built for the
|
|
27809
|
+
* replay clip's `recording` source (`docs/design/plans/2026-08-26-replay-clip-su-pipeline.md`):
|
|
27810
|
+
* a replay needs several seconds of native pixels, not one frame.
|
|
27811
|
+
*
|
|
27812
|
+
* `ok.data` is standalone-demuxable, same as a GOP read. `ok.reachesRequestedEnd`
|
|
27813
|
+
* is `false` when the returned bytes were cut short by the read's own safety
|
|
27814
|
+
* byte cap before covering `[fromMs, toMs)` — a truncation, reported, not a
|
|
27815
|
+
* silently shorter answer. `spans-multiple-segments` is a REFUSAL, not a
|
|
27816
|
+
* degradation: a window whose end falls past the covering segment would need
|
|
27817
|
+
* bytes stitched from a second segment file (its own `ftyp`+`moov`), which is
|
|
27818
|
+
* not one standalone-demuxable stream — the caller's answer is to request a
|
|
27819
|
+
* shorter window or one aligned to a single segment, not to receive spliced
|
|
27820
|
+
* bytes nothing has proven decodable.
|
|
27821
|
+
*/
|
|
27822
|
+
var ReadWindowBytesResultSchema = z.discriminatedUnion("kind", [z.object({
|
|
27823
|
+
kind: z.literal("ok"),
|
|
27824
|
+
data: z.instanceof(Uint8Array),
|
|
27825
|
+
/** Absolute epoch ms of the returned bytes' first sample — at or before
|
|
27826
|
+
* the requested `fromMs` (anchored on the nearest keyframe). */
|
|
27827
|
+
gopStartMs: z.number(),
|
|
27828
|
+
/** Media ms the returned bytes cover, from `gopStartMs`. */
|
|
27829
|
+
gopDurMs: z.number(),
|
|
27830
|
+
/** `false` ⇒ the safety byte cap cut the read short before it reached
|
|
27831
|
+
* the requested `toMs`; the caller got fewer frames than asked for. */
|
|
27832
|
+
reachesRequestedEnd: z.boolean()
|
|
27833
|
+
}), z.object({
|
|
27834
|
+
kind: z.literal("spans-multiple-segments"),
|
|
27835
|
+
/** Where the covering segment's own footage runs out — informational,
|
|
27836
|
+
* not a retry hint (retrying the same window would refuse again). */
|
|
27837
|
+
segmentEndMs: z.number()
|
|
27838
|
+
})]);
|
|
27776
27839
|
var recordingCapability = {
|
|
27777
27840
|
name: "recording",
|
|
27778
27841
|
scope: "system",
|
|
@@ -27852,6 +27915,21 @@ var recordingCapability = {
|
|
|
27852
27915
|
kind: "query",
|
|
27853
27916
|
auth: "admin"
|
|
27854
27917
|
}),
|
|
27918
|
+
/** Read a WINDOW `[fromMs, toMs)` of segment `startMs`, by mfra byte
|
|
27919
|
+
* range — the multi-GOP twin of `readGopBytes`. Refuses (does not
|
|
27920
|
+
* degrade) when the window runs past the covering segment. Used by the
|
|
27921
|
+
* replay clip's `recording` source to fetch several seconds of native
|
|
27922
|
+
* footage for its single ffmpeg decode pass. */
|
|
27923
|
+
readWindowBytes: method(z.object({
|
|
27924
|
+
deviceId: z.number(),
|
|
27925
|
+
profile: z.string(),
|
|
27926
|
+
startMs: z.number(),
|
|
27927
|
+
fromMs: z.number(),
|
|
27928
|
+
toMs: z.number()
|
|
27929
|
+
}), ReadWindowBytesResultSchema, {
|
|
27930
|
+
kind: "query",
|
|
27931
|
+
auth: "admin"
|
|
27932
|
+
}),
|
|
27855
27933
|
setDeviceConfig: method(z.object({
|
|
27856
27934
|
deviceId: z.number(),
|
|
27857
27935
|
config: RecordingConfigSchema
|
|
@@ -33957,6 +34035,12 @@ var METHOD_ACCESS_MAP = Object.freeze({
|
|
|
33957
34035
|
addonId: null,
|
|
33958
34036
|
access: "view"
|
|
33959
34037
|
},
|
|
34038
|
+
"notificationRules.resolveArtifactUrl": {
|
|
34039
|
+
capName: "notification-rules",
|
|
34040
|
+
capScope: "system",
|
|
34041
|
+
addonId: null,
|
|
34042
|
+
access: "view"
|
|
34043
|
+
},
|
|
33960
34044
|
"notificationRules.setAlarmConfig": {
|
|
33961
34045
|
capName: "notification-rules",
|
|
33962
34046
|
capScope: "system",
|
|
@@ -35361,6 +35445,12 @@ var METHOD_ACCESS_MAP = Object.freeze({
|
|
|
35361
35445
|
addonId: null,
|
|
35362
35446
|
access: "view"
|
|
35363
35447
|
},
|
|
35448
|
+
"recording.readWindowBytes": {
|
|
35449
|
+
capName: "recording",
|
|
35450
|
+
capScope: "system",
|
|
35451
|
+
addonId: null,
|
|
35452
|
+
access: "view"
|
|
35453
|
+
},
|
|
35364
35454
|
"recording.refreshStorageLocationsForMigration": {
|
|
35365
35455
|
capName: "recording",
|
|
35366
35456
|
capScope: "system",
|
|
@@ -38191,6 +38281,11 @@ Object.freeze({
|
|
|
38191
38281
|
form: "single",
|
|
38192
38282
|
optional: false
|
|
38193
38283
|
}],
|
|
38284
|
+
"recording.readWindowBytes": [{
|
|
38285
|
+
name: "deviceId",
|
|
38286
|
+
form: "single",
|
|
38287
|
+
optional: false
|
|
38288
|
+
}],
|
|
38194
38289
|
"recording.relocateFootage": [{
|
|
38195
38290
|
name: "deviceId",
|
|
38196
38291
|
form: "single",
|
|
@@ -13849,7 +13849,23 @@ var NcHistoryEntrySchema = zod.z.object({
|
|
|
13849
13849
|
updatedAt: zod.z.number(),
|
|
13850
13850
|
/** Failure detail — present on a `dead` row. */
|
|
13851
13851
|
error: zod.z.string().optional(),
|
|
13852
|
-
subject: NcHistorySubjectSchema
|
|
13852
|
+
subject: NcHistorySubjectSchema,
|
|
13853
|
+
/**
|
|
13854
|
+
* Ids of the artefacts (still, then gif, then clip) this row's successful
|
|
13855
|
+
* delivery indexed in the artefact library — a REFERENCE, never the bytes
|
|
13856
|
+
* (an artefact is often megabytes; this row is durable JSON rewritten on
|
|
13857
|
+
* every delivery attempt). Absent on a row still pending/dead, a row
|
|
13858
|
+
* delivered before this field shipped, or a wiring with no artefact index.
|
|
13859
|
+
*
|
|
13860
|
+
* Resolve one to a fetchable URL with `resolveArtifactUrl` — an id
|
|
13861
|
+
* outlives any one URL's TTL, so a caller mints a fresh link on demand
|
|
13862
|
+
* rather than trusting one frozen at delivery time. `resolveArtifactUrl`
|
|
13863
|
+
* also answers `null` for an id whose artefact has since expired past the
|
|
13864
|
+
* retained shelf's own age bound — the degrade a caller (the Home
|
|
13865
|
+
* Assistant export) must render as "no image right now", never as a
|
|
13866
|
+
* broken link.
|
|
13867
|
+
*/
|
|
13868
|
+
artifactIds: zod.z.array(zod.z.string().min(1)).optional()
|
|
13853
13869
|
});
|
|
13854
13870
|
/**
|
|
13855
13871
|
* Query filter for `getHistory` (spec §4.2). Every field is a narrowing
|
|
@@ -14138,6 +14154,20 @@ var notificationRulesCapability = {
|
|
|
14138
14154
|
*/
|
|
14139
14155
|
getHistory: method(zod.z.object({ filter: NcHistoryFilterSchema.default({ limit: 100 }) }), zod.z.object({ entries: zod.z.array(NcHistoryEntrySchema) }), { auth: "admin" }),
|
|
14140
14156
|
/**
|
|
14157
|
+
* Mint a fresh, externally-reachable URL for one artefact a history row
|
|
14158
|
+
* named in {@link NcHistoryEntrySchema.shape.artifactIds} — the SAME
|
|
14159
|
+
* signed-link mechanism the dispatcher uses to attach media to an
|
|
14160
|
+
* outgoing notification (one derivation; this never re-implements it).
|
|
14161
|
+
*
|
|
14162
|
+
* `url: null` on THREE causes a caller must treat identically ("no image
|
|
14163
|
+
* right now", never a broken link): the id is unknown, its artefact has
|
|
14164
|
+
* expired past the retained shelf's own age bound, or this install has no
|
|
14165
|
+
* externally-reachable base URL. A caller that received a URL on a
|
|
14166
|
+
* previous call and now gets `null` must stop showing it — a link that
|
|
14167
|
+
* worked five minutes ago is not proof it works now.
|
|
14168
|
+
*/
|
|
14169
|
+
resolveArtifactUrl: method(zod.z.object({ artifactId: zod.z.string().min(1) }), zod.z.object({ url: zod.z.string().nullable() }), { auth: "admin" }),
|
|
14170
|
+
/**
|
|
14141
14171
|
* Snooze windows currently in effect, plus any whose digest has not yet
|
|
14142
14172
|
* gone out. `caller: 'required'`: a user sees their OWN windows and the
|
|
14143
14173
|
* global ones that silence them, never another person's private silence.
|
|
@@ -27773,6 +27803,39 @@ var ReadGopBytesResultSchema = zod.z.object({
|
|
|
27773
27803
|
/** Media ms the returned fragment covers. */
|
|
27774
27804
|
gopDurMs: zod.z.number()
|
|
27775
27805
|
});
|
|
27806
|
+
/**
|
|
27807
|
+
* A time WINDOW of one finalized segment, cut by byte range — the multi-GOP
|
|
27808
|
+
* twin of {@link ReadGopBytesResultSchema}'s single instant. Built for the
|
|
27809
|
+
* replay clip's `recording` source (`docs/design/plans/2026-08-26-replay-clip-su-pipeline.md`):
|
|
27810
|
+
* a replay needs several seconds of native pixels, not one frame.
|
|
27811
|
+
*
|
|
27812
|
+
* `ok.data` is standalone-demuxable, same as a GOP read. `ok.reachesRequestedEnd`
|
|
27813
|
+
* is `false` when the returned bytes were cut short by the read's own safety
|
|
27814
|
+
* byte cap before covering `[fromMs, toMs)` — a truncation, reported, not a
|
|
27815
|
+
* silently shorter answer. `spans-multiple-segments` is a REFUSAL, not a
|
|
27816
|
+
* degradation: a window whose end falls past the covering segment would need
|
|
27817
|
+
* bytes stitched from a second segment file (its own `ftyp`+`moov`), which is
|
|
27818
|
+
* not one standalone-demuxable stream — the caller's answer is to request a
|
|
27819
|
+
* shorter window or one aligned to a single segment, not to receive spliced
|
|
27820
|
+
* bytes nothing has proven decodable.
|
|
27821
|
+
*/
|
|
27822
|
+
var ReadWindowBytesResultSchema = zod.z.discriminatedUnion("kind", [zod.z.object({
|
|
27823
|
+
kind: zod.z.literal("ok"),
|
|
27824
|
+
data: zod.z.instanceof(Uint8Array),
|
|
27825
|
+
/** Absolute epoch ms of the returned bytes' first sample — at or before
|
|
27826
|
+
* the requested `fromMs` (anchored on the nearest keyframe). */
|
|
27827
|
+
gopStartMs: zod.z.number(),
|
|
27828
|
+
/** Media ms the returned bytes cover, from `gopStartMs`. */
|
|
27829
|
+
gopDurMs: zod.z.number(),
|
|
27830
|
+
/** `false` ⇒ the safety byte cap cut the read short before it reached
|
|
27831
|
+
* the requested `toMs`; the caller got fewer frames than asked for. */
|
|
27832
|
+
reachesRequestedEnd: zod.z.boolean()
|
|
27833
|
+
}), zod.z.object({
|
|
27834
|
+
kind: zod.z.literal("spans-multiple-segments"),
|
|
27835
|
+
/** Where the covering segment's own footage runs out — informational,
|
|
27836
|
+
* not a retry hint (retrying the same window would refuse again). */
|
|
27837
|
+
segmentEndMs: zod.z.number()
|
|
27838
|
+
})]);
|
|
27776
27839
|
var recordingCapability = {
|
|
27777
27840
|
name: "recording",
|
|
27778
27841
|
scope: "system",
|
|
@@ -27852,6 +27915,21 @@ var recordingCapability = {
|
|
|
27852
27915
|
kind: "query",
|
|
27853
27916
|
auth: "admin"
|
|
27854
27917
|
}),
|
|
27918
|
+
/** Read a WINDOW `[fromMs, toMs)` of segment `startMs`, by mfra byte
|
|
27919
|
+
* range — the multi-GOP twin of `readGopBytes`. Refuses (does not
|
|
27920
|
+
* degrade) when the window runs past the covering segment. Used by the
|
|
27921
|
+
* replay clip's `recording` source to fetch several seconds of native
|
|
27922
|
+
* footage for its single ffmpeg decode pass. */
|
|
27923
|
+
readWindowBytes: method(zod.z.object({
|
|
27924
|
+
deviceId: zod.z.number(),
|
|
27925
|
+
profile: zod.z.string(),
|
|
27926
|
+
startMs: zod.z.number(),
|
|
27927
|
+
fromMs: zod.z.number(),
|
|
27928
|
+
toMs: zod.z.number()
|
|
27929
|
+
}), ReadWindowBytesResultSchema, {
|
|
27930
|
+
kind: "query",
|
|
27931
|
+
auth: "admin"
|
|
27932
|
+
}),
|
|
27855
27933
|
setDeviceConfig: method(zod.z.object({
|
|
27856
27934
|
deviceId: zod.z.number(),
|
|
27857
27935
|
config: RecordingConfigSchema
|
|
@@ -33957,6 +34035,12 @@ var METHOD_ACCESS_MAP = Object.freeze({
|
|
|
33957
34035
|
addonId: null,
|
|
33958
34036
|
access: "view"
|
|
33959
34037
|
},
|
|
34038
|
+
"notificationRules.resolveArtifactUrl": {
|
|
34039
|
+
capName: "notification-rules",
|
|
34040
|
+
capScope: "system",
|
|
34041
|
+
addonId: null,
|
|
34042
|
+
access: "view"
|
|
34043
|
+
},
|
|
33960
34044
|
"notificationRules.setAlarmConfig": {
|
|
33961
34045
|
capName: "notification-rules",
|
|
33962
34046
|
capScope: "system",
|
|
@@ -35361,6 +35445,12 @@ var METHOD_ACCESS_MAP = Object.freeze({
|
|
|
35361
35445
|
addonId: null,
|
|
35362
35446
|
access: "view"
|
|
35363
35447
|
},
|
|
35448
|
+
"recording.readWindowBytes": {
|
|
35449
|
+
capName: "recording",
|
|
35450
|
+
capScope: "system",
|
|
35451
|
+
addonId: null,
|
|
35452
|
+
access: "view"
|
|
35453
|
+
},
|
|
35364
35454
|
"recording.refreshStorageLocationsForMigration": {
|
|
35365
35455
|
capName: "recording",
|
|
35366
35456
|
capScope: "system",
|
|
@@ -38191,6 +38281,11 @@ Object.freeze({
|
|
|
38191
38281
|
form: "single",
|
|
38192
38282
|
optional: false
|
|
38193
38283
|
}],
|
|
38284
|
+
"recording.readWindowBytes": [{
|
|
38285
|
+
name: "deviceId",
|
|
38286
|
+
form: "single",
|
|
38287
|
+
optional: false
|
|
38288
|
+
}],
|
|
38194
38289
|
"recording.relocateFootage": [{
|
|
38195
38290
|
name: "deviceId",
|
|
38196
38291
|
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-jRSrzoXr.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 { At as asJsonObject$1, B as extractNestedAddonId, Bt as parseJsonObject, Ct as DEVICE_STATUS_METHOD, Dt as ReadinessRegistry, H as isArrayOutputSchema, Ht as readinessKey, It as expandCapMethods, J as lifecycleJobSchema, K as isVoidInput, Kt as EventCategory$1, Mt as asString$1, Nt as createEvent, Ot as ReadinessTimeoutError, Pt as emitDownForOwnedCaps, Q as looseSchema, St as DEVICE_SETTINGS_CONTRIBUTION_METHODS, U as isCollectionArrayMethod, Ut as resolveCapMount, Vt as parseJsonUnknown$1, W as isObjectInput, Wt as scopeKey, Z as logLevelAtMost, at as resolveMethodAuth, ct as scopesAllowDeviceCap, d as METHOD_ACCESS_MAP, f as RUNTIME_DEFAULTS, it as procedureAuthKey, jt as asNumber, q as kebabToCamel, st as scopesAllowAddon, t as ALL_CAPABILITY_DEFINITIONS, tt as objectInputDeclaresAddonId, xt as DATAPLANE_SECRET_HEADER$1, y as addonSettingsCapability, yt as errMsg$1 } from "./dist-
|
|
2
|
+
import { At as asJsonObject$1, B as extractNestedAddonId, Bt as parseJsonObject, Ct as DEVICE_STATUS_METHOD, Dt as ReadinessRegistry, H as isArrayOutputSchema, Ht as readinessKey, It as expandCapMethods, J as lifecycleJobSchema, K as isVoidInput, Kt as EventCategory$1, Mt as asString$1, Nt as createEvent, Ot as ReadinessTimeoutError, Pt as emitDownForOwnedCaps, Q as looseSchema, St as DEVICE_SETTINGS_CONTRIBUTION_METHODS, U as isCollectionArrayMethod, Ut as resolveCapMount, Vt as parseJsonUnknown$1, W as isObjectInput, Wt as scopeKey, Z as logLevelAtMost, at as resolveMethodAuth, ct as scopesAllowDeviceCap, d as METHOD_ACCESS_MAP, f as RUNTIME_DEFAULTS, it as procedureAuthKey, jt as asNumber, q as kebabToCamel, st as scopesAllowAddon, t as ALL_CAPABILITY_DEFINITIONS, tt as objectInputDeclaresAddonId, xt as DATAPLANE_SECRET_HEADER$1, y as addonSettingsCapability, yt as errMsg$1 } from "./dist-XjWZZYr9.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";
|