@camstack/system 1.2.244 → 1.2.246
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/addon-utils.js +1 -1
- package/dist/addon-utils.mjs +1 -1
- 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 +2 -2
- package/dist/builtins/snapshot/index.mjs +2 -2
- package/dist/builtins/snapshot/snapshot-courtesy.d.ts +12 -2
- 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-4MS1GNc8.mjs → dist-C8v6cK8N.mjs} +54 -2
- package/dist/{dist-Cz6h6Nc3.js → dist-CpXBoZOv.js} +54 -2
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/dist/{retired-settings-keys-DBrIdOQp.js → retired-settings-keys-1sEBolVU.js} +1 -1
- package/dist/{retired-settings-keys-D_5MkKII.mjs → retired-settings-keys-Dv044bmH.mjs} +1 -1
- package/dist/{snapshot-courtesy-LoJNgHHZ.mjs → snapshot-courtesy-CZPvteq2.mjs} +34 -7
- package/dist/{snapshot-courtesy-oeTWCXPv.js → snapshot-courtesy-Cqs7GkOV.js} +34 -7
- package/package.json +1 -1
package/dist/addon-utils.js
CHANGED
|
@@ -2,7 +2,7 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
|
2
2
|
require("./chunk-Cek0wNdY.js");
|
|
3
3
|
const require_event_loop_stall_monitor = require("./event-loop-stall-monitor-CAsHdMwP.js");
|
|
4
4
|
const require_custom_action_registry = require("./custom-action-registry-acBY3mHA.js");
|
|
5
|
-
const require_snapshot_courtesy = require("./snapshot-courtesy-
|
|
5
|
+
const require_snapshot_courtesy = require("./snapshot-courtesy-Cqs7GkOV.js");
|
|
6
6
|
exports.COURTESY_DEFAULT_WIDTH = require_snapshot_courtesy.COURTESY_DEFAULT_WIDTH;
|
|
7
7
|
exports.CustomActionRegistry = require_custom_action_registry.CustomActionRegistry;
|
|
8
8
|
exports.ModelDownloadService = require_event_loop_stall_monitor.ModelDownloadService;
|
package/dist/addon-utils.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { a as createFileDataPlaneHandler, c as parseRangeHeader, d as ModelDownloadService, f as collectModelFiles, g as ensureModel, i as startEventLoopStallMonitor, m as downloadFile, n as STALL_TICK_MS, o as contentTypeFor, p as deleteModelFromDisk, r as attributeStall, t as STALL_REPORT_MS, v as getModelFilePath, y as isModelDownloaded } from "./event-loop-stall-monitor-GPrVvx14.mjs";
|
|
2
2
|
import { t as CustomActionRegistry } from "./custom-action-registry-B4Cf4O_X.mjs";
|
|
3
|
-
import { i as renderCourtesyOverlayJpeg, n as courtesyCacheKey, r as renderCourtesyJpeg, t as COURTESY_DEFAULT_WIDTH } from "./snapshot-courtesy-
|
|
3
|
+
import { i as renderCourtesyOverlayJpeg, n as courtesyCacheKey, r as renderCourtesyJpeg, t as COURTESY_DEFAULT_WIDTH } from "./snapshot-courtesy-CZPvteq2.mjs";
|
|
4
4
|
export { COURTESY_DEFAULT_WIDTH, CustomActionRegistry, ModelDownloadService, STALL_REPORT_MS, STALL_TICK_MS, attributeStall, collectModelFiles, contentTypeFor, courtesyCacheKey, createFileDataPlaneHandler, deleteModelFromDisk, downloadFile, ensureModel, getModelFilePath, isModelDownloaded, parseRangeHeader, renderCourtesyJpeg, renderCourtesyOverlayJpeg, startEventLoopStallMonitor };
|
|
@@ -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-CpXBoZOv.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-C8v6cK8N.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-CpXBoZOv.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-C8v6cK8N.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-CpXBoZOv.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-C8v6cK8N.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-CpXBoZOv.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-C8v6cK8N.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-CpXBoZOv.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-C8v6cK8N.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-CpXBoZOv.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-C8v6cK8N.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-CpXBoZOv.js");
|
|
7
|
+
const require_retired_settings_keys = require("../../retired-settings-keys-1sEBolVU.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-C8v6cK8N.mjs";
|
|
2
|
+
import { n as purgeRetiredSettingsRows } from "../../retired-settings-keys-Dv044bmH.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-CpXBoZOv.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-C8v6cK8N.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-CpXBoZOv.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-C8v6cK8N.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-CpXBoZOv.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-C8v6cK8N.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-CpXBoZOv.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-C8v6cK8N.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-CpXBoZOv.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-C8v6cK8N.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-CpXBoZOv.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-C8v6cK8N.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-CpXBoZOv.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-C8v6cK8N.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-CpXBoZOv.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-C8v6cK8N.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-CpXBoZOv.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-C8v6cK8N.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,8 +3,8 @@ 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-
|
|
7
|
-
const require_snapshot_courtesy = require("../../snapshot-courtesy-
|
|
6
|
+
const require_dist = require("../../dist-CpXBoZOv.js");
|
|
7
|
+
const require_snapshot_courtesy = require("../../snapshot-courtesy-Cqs7GkOV.js");
|
|
8
8
|
let zod = require("zod");
|
|
9
9
|
let node_crypto = require("node:crypto");
|
|
10
10
|
let _camstack_types_node = require("@camstack/types/node");
|
|
@@ -1,5 +1,5 @@
|
|
|
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-
|
|
2
|
-
import { i as renderCourtesyOverlayJpeg, n as courtesyCacheKey, r as renderCourtesyJpeg } from "../../snapshot-courtesy-
|
|
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-C8v6cK8N.mjs";
|
|
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";
|
|
5
5
|
import { signExpiringUrl, verifyExpiringUrl } from "@camstack/types/node";
|
|
@@ -36,8 +36,18 @@ export interface CourtesyFrameSpec {
|
|
|
36
36
|
*/
|
|
37
37
|
export declare function buildCourtesySvg(spec: CourtesyFrameSpec): string;
|
|
38
38
|
/**
|
|
39
|
-
* The
|
|
40
|
-
*
|
|
39
|
+
* The state treatment for a frame that HAS a picture under it: a band along the
|
|
40
|
+
* bottom, and nothing else touched.
|
|
41
|
+
*
|
|
42
|
+
* It was a full-frame wash at 0.62 opacity, under a docblock claiming the frame
|
|
43
|
+
* "remains visible underneath". A 38 % view of a dark room is not a view of it,
|
|
44
|
+
* and the operator read the result as a placeholder rather than as their own
|
|
45
|
+
* camera: *"ma perché Waking? Dovremmo mostrare l'ultimo snapshot
|
|
46
|
+
* disponibile"* (Baby monitor, 2026-09-16).
|
|
47
|
+
*
|
|
48
|
+
* The marker still has to earn its place — a stale frame shown clean gets
|
|
49
|
+
* mistaken for live, which is the reason the treatment exists at all. A band
|
|
50
|
+
* says the same thing a wash said. Covering the picture was never the message.
|
|
41
51
|
*/
|
|
42
52
|
export declare function buildCourtesyOverlaySvg(spec: CourtesyFrameSpec): string;
|
|
43
53
|
/** Cache key — a courtesy frame is a pure function of these four. */
|
|
@@ -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-CpXBoZOv.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-C8v6cK8N.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-CpXBoZOv.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-C8v6cK8N.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-CpXBoZOv.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-C8v6cK8N.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-CpXBoZOv.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-C8v6cK8N.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";
|
|
@@ -9548,7 +9548,23 @@ var PickStreamRequirementsSchema = z.object({
|
|
|
9548
9548
|
* This is what lets one picker serve both the bypass and the full source
|
|
9549
9549
|
* choice, instead of a consumer scoring privately when the bypass misses.
|
|
9550
9550
|
*/
|
|
9551
|
-
allowTranscode: z.boolean().optional()
|
|
9551
|
+
allowTranscode: z.boolean().optional(),
|
|
9552
|
+
/**
|
|
9553
|
+
* Consider ONLY streams the broker has bound to a profile slot.
|
|
9554
|
+
*
|
|
9555
|
+
* A consumer that dials the broker — which is every exporter, since none
|
|
9556
|
+
* of them may open the camera's own URL — can do nothing with a source
|
|
9557
|
+
* that has no slot: there is no restream to dial. Without this the picker
|
|
9558
|
+
* can name such a stream, and each consumer discovers the dead end for
|
|
9559
|
+
* itself: Alexa's `profileForCamStream` returns `null` and it quietly
|
|
9560
|
+
* falls back, and HomeKit would have had to grow the same function again.
|
|
9561
|
+
*
|
|
9562
|
+
* Default `false`, and deliberately so: the BROKER itself picks through
|
|
9563
|
+
* here when it decides which source to BIND to a slot
|
|
9564
|
+
* (`computeInitialAssignment`), and it must see the unbound ones or it
|
|
9565
|
+
* could never bind them.
|
|
9566
|
+
*/
|
|
9567
|
+
requireProfileBound: z.boolean().optional()
|
|
9552
9568
|
}).readonly();
|
|
9553
9569
|
var PickStreamPreferencesSchema = z.object({
|
|
9554
9570
|
/**
|
|
@@ -9589,7 +9605,43 @@ var PickedCamStreamSchema = z.object({
|
|
|
9589
9605
|
*/
|
|
9590
9606
|
transcodes: z.boolean(),
|
|
9591
9607
|
/** One-line explanation of why this stream won — for logs / debug UI. */
|
|
9592
|
-
reason: z.string()
|
|
9608
|
+
reason: z.string(),
|
|
9609
|
+
/**
|
|
9610
|
+
* The broker profile slot this source is bound to, when it is bound.
|
|
9611
|
+
*
|
|
9612
|
+
* Answered HERE because every consumer needs it and none of them can get it
|
|
9613
|
+
* from the `camStreamId` alone. Alexa wrote `profileForCamStream` for it —
|
|
9614
|
+
* a second cap read plus a `null` branch — and HomeKit was about to write
|
|
9615
|
+
* the same function a second time.
|
|
9616
|
+
*
|
|
9617
|
+
* Absent when the source has no slot, which a caller passing
|
|
9618
|
+
* `requireProfileBound` can never see.
|
|
9619
|
+
*/
|
|
9620
|
+
profile: CamProfileSchema.optional(),
|
|
9621
|
+
/** The broker id of that slot, for logs that must name what was dialled. */
|
|
9622
|
+
brokerId: z.string().optional(),
|
|
9623
|
+
/**
|
|
9624
|
+
* The broker restream URL to dial for this stream.
|
|
9625
|
+
*
|
|
9626
|
+
* An exporter must never open the camera's own URL — the broker is the one
|
|
9627
|
+
* that dials the camera, and every consumer goes through its restream. So
|
|
9628
|
+
* the picker answers with the thing a consumer may actually use, instead of
|
|
9629
|
+
* naming a source and leaving each caller to look the URL up.
|
|
9630
|
+
*/
|
|
9631
|
+
url: z.string().optional(),
|
|
9632
|
+
/**
|
|
9633
|
+
* Frames per second this stream really delivers, and where the number came
|
|
9634
|
+
* from.
|
|
9635
|
+
*
|
|
9636
|
+
* It is here because getting it wrong is expensive and silent: a HomeKit
|
|
9637
|
+
* accessory advertised 720p at 24 fps while the slot serving it ran at 9,
|
|
9638
|
+
* and the controller rendered nothing at all. The source is carried with the
|
|
9639
|
+
* value for the same reason the bitrate evidence is: `published` is what the
|
|
9640
|
+
* publisher declares and `measured` is what the broker observed, and they
|
|
9641
|
+
* are not interchangeable.
|
|
9642
|
+
*/
|
|
9643
|
+
fps: z.number().positive().optional(),
|
|
9644
|
+
fpsSource: z.enum(["published", "measured"]).optional()
|
|
9593
9645
|
});
|
|
9594
9646
|
/**
|
|
9595
9647
|
* Camera streams — device-scoped facade over the system `stream-broker`.
|
|
@@ -9548,7 +9548,23 @@ var PickStreamRequirementsSchema = zod.z.object({
|
|
|
9548
9548
|
* This is what lets one picker serve both the bypass and the full source
|
|
9549
9549
|
* choice, instead of a consumer scoring privately when the bypass misses.
|
|
9550
9550
|
*/
|
|
9551
|
-
allowTranscode: zod.z.boolean().optional()
|
|
9551
|
+
allowTranscode: zod.z.boolean().optional(),
|
|
9552
|
+
/**
|
|
9553
|
+
* Consider ONLY streams the broker has bound to a profile slot.
|
|
9554
|
+
*
|
|
9555
|
+
* A consumer that dials the broker — which is every exporter, since none
|
|
9556
|
+
* of them may open the camera's own URL — can do nothing with a source
|
|
9557
|
+
* that has no slot: there is no restream to dial. Without this the picker
|
|
9558
|
+
* can name such a stream, and each consumer discovers the dead end for
|
|
9559
|
+
* itself: Alexa's `profileForCamStream` returns `null` and it quietly
|
|
9560
|
+
* falls back, and HomeKit would have had to grow the same function again.
|
|
9561
|
+
*
|
|
9562
|
+
* Default `false`, and deliberately so: the BROKER itself picks through
|
|
9563
|
+
* here when it decides which source to BIND to a slot
|
|
9564
|
+
* (`computeInitialAssignment`), and it must see the unbound ones or it
|
|
9565
|
+
* could never bind them.
|
|
9566
|
+
*/
|
|
9567
|
+
requireProfileBound: zod.z.boolean().optional()
|
|
9552
9568
|
}).readonly();
|
|
9553
9569
|
var PickStreamPreferencesSchema = zod.z.object({
|
|
9554
9570
|
/**
|
|
@@ -9589,7 +9605,43 @@ var PickedCamStreamSchema = zod.z.object({
|
|
|
9589
9605
|
*/
|
|
9590
9606
|
transcodes: zod.z.boolean(),
|
|
9591
9607
|
/** One-line explanation of why this stream won — for logs / debug UI. */
|
|
9592
|
-
reason: zod.z.string()
|
|
9608
|
+
reason: zod.z.string(),
|
|
9609
|
+
/**
|
|
9610
|
+
* The broker profile slot this source is bound to, when it is bound.
|
|
9611
|
+
*
|
|
9612
|
+
* Answered HERE because every consumer needs it and none of them can get it
|
|
9613
|
+
* from the `camStreamId` alone. Alexa wrote `profileForCamStream` for it —
|
|
9614
|
+
* a second cap read plus a `null` branch — and HomeKit was about to write
|
|
9615
|
+
* the same function a second time.
|
|
9616
|
+
*
|
|
9617
|
+
* Absent when the source has no slot, which a caller passing
|
|
9618
|
+
* `requireProfileBound` can never see.
|
|
9619
|
+
*/
|
|
9620
|
+
profile: CamProfileSchema.optional(),
|
|
9621
|
+
/** The broker id of that slot, for logs that must name what was dialled. */
|
|
9622
|
+
brokerId: zod.z.string().optional(),
|
|
9623
|
+
/**
|
|
9624
|
+
* The broker restream URL to dial for this stream.
|
|
9625
|
+
*
|
|
9626
|
+
* An exporter must never open the camera's own URL — the broker is the one
|
|
9627
|
+
* that dials the camera, and every consumer goes through its restream. So
|
|
9628
|
+
* the picker answers with the thing a consumer may actually use, instead of
|
|
9629
|
+
* naming a source and leaving each caller to look the URL up.
|
|
9630
|
+
*/
|
|
9631
|
+
url: zod.z.string().optional(),
|
|
9632
|
+
/**
|
|
9633
|
+
* Frames per second this stream really delivers, and where the number came
|
|
9634
|
+
* from.
|
|
9635
|
+
*
|
|
9636
|
+
* It is here because getting it wrong is expensive and silent: a HomeKit
|
|
9637
|
+
* accessory advertised 720p at 24 fps while the slot serving it ran at 9,
|
|
9638
|
+
* and the controller rendered nothing at all. The source is carried with the
|
|
9639
|
+
* value for the same reason the bitrate evidence is: `published` is what the
|
|
9640
|
+
* publisher declares and `measured` is what the broker observed, and they
|
|
9641
|
+
* are not interchangeable.
|
|
9642
|
+
*/
|
|
9643
|
+
fps: zod.z.number().positive().optional(),
|
|
9644
|
+
fpsSource: zod.z.enum(["published", "measured"]).optional()
|
|
9593
9645
|
});
|
|
9594
9646
|
/**
|
|
9595
9647
|
* Camera streams — device-scoped facade over the system `stream-broker`.
|
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-CpXBoZOv.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-C8v6cK8N.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";
|
|
@@ -76,26 +76,53 @@ function escapeCourtesyText(value) {
|
|
|
76
76
|
* frame read the same, with a floor so a thumbnail stays legible.
|
|
77
77
|
*/
|
|
78
78
|
function buildCourtesySvg(spec) {
|
|
79
|
-
return buildStateSvg(spec
|
|
79
|
+
return buildStateSvg(spec);
|
|
80
80
|
}
|
|
81
81
|
/**
|
|
82
|
-
* The
|
|
83
|
-
*
|
|
82
|
+
* The state treatment for a frame that HAS a picture under it: a band along the
|
|
83
|
+
* bottom, and nothing else touched.
|
|
84
|
+
*
|
|
85
|
+
* It was a full-frame wash at 0.62 opacity, under a docblock claiming the frame
|
|
86
|
+
* "remains visible underneath". A 38 % view of a dark room is not a view of it,
|
|
87
|
+
* and the operator read the result as a placeholder rather than as their own
|
|
88
|
+
* camera: *"ma perché Waking? Dovremmo mostrare l'ultimo snapshot
|
|
89
|
+
* disponibile"* (Baby monitor, 2026-09-16).
|
|
90
|
+
*
|
|
91
|
+
* The marker still has to earn its place — a stale frame shown clean gets
|
|
92
|
+
* mistaken for live, which is the reason the treatment exists at all. A band
|
|
93
|
+
* says the same thing a wash said. Covering the picture was never the message.
|
|
84
94
|
*/
|
|
85
95
|
function buildCourtesyOverlaySvg(spec) {
|
|
86
|
-
|
|
96
|
+
const state = escapeCourtesyText(courtesyLabel(spec.reason));
|
|
97
|
+
const name = escapeCourtesyText(spec.deviceName);
|
|
98
|
+
const stateSize = Math.max(11, Math.round(spec.width / 34));
|
|
99
|
+
const bandHeight = Math.max(26, Math.round(stateSize * 2.2));
|
|
100
|
+
const bandTop = Math.max(0, spec.height - bandHeight);
|
|
101
|
+
const baselineY = Math.round(bandTop + bandHeight * .68);
|
|
102
|
+
const textStroke = Math.max(1, Math.round(spec.width / 320));
|
|
103
|
+
return [
|
|
104
|
+
`<svg xmlns="http://www.w3.org/2000/svg" width="${String(spec.width)}" height="${String(spec.height)}">`,
|
|
105
|
+
`<rect x="0" y="${String(bandTop)}" width="${String(spec.width)}" height="${String(bandHeight)}" fill="${courtesyBackground(spec.reason)}" fill-opacity="0.82"/>`,
|
|
106
|
+
`<g font-family="${COURTESY_FONT_STACK}" text-anchor="middle" paint-order="stroke" stroke="#111118" stroke-width="${String(textStroke)}">`,
|
|
107
|
+
`<text x="50%" y="${String(baselineY)}" font-size="${String(stateSize)}" fill="#e8e8ee">${state}`,
|
|
108
|
+
`<tspan fill="#9a9aa8"> · ${name}</tspan>`,
|
|
109
|
+
`</text></g></svg>`
|
|
110
|
+
].join("");
|
|
87
111
|
}
|
|
88
|
-
|
|
112
|
+
/**
|
|
113
|
+
* The GENERATED card: no picture exists, so this IS the picture. Opaque by
|
|
114
|
+
* necessity — anything translucent here shows black through it.
|
|
115
|
+
*/
|
|
116
|
+
function buildStateSvg(spec) {
|
|
89
117
|
const stateSize = Math.max(12, Math.round(spec.width / 12));
|
|
90
118
|
const nameSize = Math.max(9, Math.round(spec.width / 26));
|
|
91
119
|
const state = escapeCourtesyText(courtesyLabel(spec.reason));
|
|
92
120
|
const name = escapeCourtesyText(spec.deviceName);
|
|
93
121
|
const midY = spec.height / 2;
|
|
94
|
-
const washOpacity = overlay ? "0.62" : "1";
|
|
95
122
|
const textStroke = Math.max(1, Math.round(spec.width / 320));
|
|
96
123
|
return [
|
|
97
124
|
`<svg xmlns="http://www.w3.org/2000/svg" width="${String(spec.width)}" height="${String(spec.height)}">`,
|
|
98
|
-
`<rect width="100%" height="100%" fill="${courtesyBackground(spec.reason)}" fill-opacity="
|
|
125
|
+
`<rect width="100%" height="100%" fill="${courtesyBackground(spec.reason)}" fill-opacity="1"/>`,
|
|
99
126
|
`<g font-family="${COURTESY_FONT_STACK}" text-anchor="middle" paint-order="stroke" stroke="#111118" stroke-width="${String(textStroke)}">`,
|
|
100
127
|
`<text x="50%" y="${String(Math.round(midY))}" font-size="${String(stateSize)}" fill="#e8e8ee">${state}</text>`,
|
|
101
128
|
`<text x="50%" y="${String(Math.round(midY + stateSize))}" font-size="${String(nameSize)}" fill="#9a9aa8">${name}</text>`,
|
|
@@ -78,26 +78,53 @@ function escapeCourtesyText(value) {
|
|
|
78
78
|
* frame read the same, with a floor so a thumbnail stays legible.
|
|
79
79
|
*/
|
|
80
80
|
function buildCourtesySvg(spec) {
|
|
81
|
-
return buildStateSvg(spec
|
|
81
|
+
return buildStateSvg(spec);
|
|
82
82
|
}
|
|
83
83
|
/**
|
|
84
|
-
* The
|
|
85
|
-
*
|
|
84
|
+
* The state treatment for a frame that HAS a picture under it: a band along the
|
|
85
|
+
* bottom, and nothing else touched.
|
|
86
|
+
*
|
|
87
|
+
* It was a full-frame wash at 0.62 opacity, under a docblock claiming the frame
|
|
88
|
+
* "remains visible underneath". A 38 % view of a dark room is not a view of it,
|
|
89
|
+
* and the operator read the result as a placeholder rather than as their own
|
|
90
|
+
* camera: *"ma perché Waking? Dovremmo mostrare l'ultimo snapshot
|
|
91
|
+
* disponibile"* (Baby monitor, 2026-09-16).
|
|
92
|
+
*
|
|
93
|
+
* The marker still has to earn its place — a stale frame shown clean gets
|
|
94
|
+
* mistaken for live, which is the reason the treatment exists at all. A band
|
|
95
|
+
* says the same thing a wash said. Covering the picture was never the message.
|
|
86
96
|
*/
|
|
87
97
|
function buildCourtesyOverlaySvg(spec) {
|
|
88
|
-
|
|
98
|
+
const state = escapeCourtesyText(courtesyLabel(spec.reason));
|
|
99
|
+
const name = escapeCourtesyText(spec.deviceName);
|
|
100
|
+
const stateSize = Math.max(11, Math.round(spec.width / 34));
|
|
101
|
+
const bandHeight = Math.max(26, Math.round(stateSize * 2.2));
|
|
102
|
+
const bandTop = Math.max(0, spec.height - bandHeight);
|
|
103
|
+
const baselineY = Math.round(bandTop + bandHeight * .68);
|
|
104
|
+
const textStroke = Math.max(1, Math.round(spec.width / 320));
|
|
105
|
+
return [
|
|
106
|
+
`<svg xmlns="http://www.w3.org/2000/svg" width="${String(spec.width)}" height="${String(spec.height)}">`,
|
|
107
|
+
`<rect x="0" y="${String(bandTop)}" width="${String(spec.width)}" height="${String(bandHeight)}" fill="${courtesyBackground(spec.reason)}" fill-opacity="0.82"/>`,
|
|
108
|
+
`<g font-family="${COURTESY_FONT_STACK}" text-anchor="middle" paint-order="stroke" stroke="#111118" stroke-width="${String(textStroke)}">`,
|
|
109
|
+
`<text x="50%" y="${String(baselineY)}" font-size="${String(stateSize)}" fill="#e8e8ee">${state}`,
|
|
110
|
+
`<tspan fill="#9a9aa8"> · ${name}</tspan>`,
|
|
111
|
+
`</text></g></svg>`
|
|
112
|
+
].join("");
|
|
89
113
|
}
|
|
90
|
-
|
|
114
|
+
/**
|
|
115
|
+
* The GENERATED card: no picture exists, so this IS the picture. Opaque by
|
|
116
|
+
* necessity — anything translucent here shows black through it.
|
|
117
|
+
*/
|
|
118
|
+
function buildStateSvg(spec) {
|
|
91
119
|
const stateSize = Math.max(12, Math.round(spec.width / 12));
|
|
92
120
|
const nameSize = Math.max(9, Math.round(spec.width / 26));
|
|
93
121
|
const state = escapeCourtesyText(courtesyLabel(spec.reason));
|
|
94
122
|
const name = escapeCourtesyText(spec.deviceName);
|
|
95
123
|
const midY = spec.height / 2;
|
|
96
|
-
const washOpacity = overlay ? "0.62" : "1";
|
|
97
124
|
const textStroke = Math.max(1, Math.round(spec.width / 320));
|
|
98
125
|
return [
|
|
99
126
|
`<svg xmlns="http://www.w3.org/2000/svg" width="${String(spec.width)}" height="${String(spec.height)}">`,
|
|
100
|
-
`<rect width="100%" height="100%" fill="${courtesyBackground(spec.reason)}" fill-opacity="
|
|
127
|
+
`<rect width="100%" height="100%" fill="${courtesyBackground(spec.reason)}" fill-opacity="1"/>`,
|
|
101
128
|
`<g font-family="${COURTESY_FONT_STACK}" text-anchor="middle" paint-order="stroke" stroke="#111118" stroke-width="${String(textStroke)}">`,
|
|
102
129
|
`<text x="50%" y="${String(Math.round(midY))}" font-size="${String(stateSize)}" fill="#e8e8ee">${state}</text>`,
|
|
103
130
|
`<text x="50%" y="${String(Math.round(midY + stateSize))}" font-size="${String(nameSize)}" fill="#9a9aa8">${name}</text>`,
|