@camstack/system 1.2.306 → 1.2.308
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/autotrack/index.js +1 -1
- package/dist/builtins/autotrack/index.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/camera-grid/index.js +1 -1
- package/dist/builtins/camera-grid/index.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-vecbhDzu.js → dist-DGhk7Tay.js} +74 -4
- package/dist/{dist-CLfJMMdf.mjs → dist-DygWCI8k.mjs} +74 -4
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/dist/{retired-settings-keys-Bm2p0Rot.js → retired-settings-keys-IZ9MH0GO.js} +1 -1
- package/dist/{retired-settings-keys-C1ODcdnr.mjs → retired-settings-keys-z02aqTy7.mjs} +1 -1
- package/package.json +1 -1
|
@@ -3,7 +3,7 @@ Object.defineProperties(exports, {
|
|
|
3
3
|
[Symbol.toStringTag]: { value: "Module" }
|
|
4
4
|
});
|
|
5
5
|
const require_chunk = require("../../chunk-Cek0wNdY.js");
|
|
6
|
-
const require_dist = require("../../dist-
|
|
6
|
+
const require_dist = require("../../dist-DGhk7Tay.js");
|
|
7
7
|
const require_settle_sources = require("../../settle-sources-Bhsy57y-.js");
|
|
8
8
|
let node_crypto = require("node:crypto");
|
|
9
9
|
let node_path = require("node:path");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { I as addonPagesCapability, Un as EventCategory, gn as BaseAddon, mn as errMsg } from "../../dist-
|
|
1
|
+
import { I as addonPagesCapability, Un as EventCategory, gn as BaseAddon, mn as errMsg } from "../../dist-DygWCI8k.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-DGhk7Tay.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 { R as addonWidgetsCapability, Un as EventCategory, gn as BaseAddon, mn as errMsg } from "../../dist-
|
|
1
|
+
import { R as addonWidgetsCapability, Un as EventCategory, gn as BaseAddon, mn as errMsg } from "../../dist-DygWCI8k.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-DGhk7Tay.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 { Un as EventCategory, gn as BaseAddon, kn as createEvent, mn as errMsg, n as AlertSchema, z as alertsCapability } from "../../dist-
|
|
1
|
+
import { Un as EventCategory, gn as BaseAddon, kn as createEvent, mn as errMsg, n as AlertSchema, z as alertsCapability } from "../../dist-DygWCI8k.mjs";
|
|
2
2
|
//#region src/builtins/alerts/prune-policy.ts
|
|
3
3
|
/**
|
|
4
4
|
* Ids older than `cutoffMs`, oldest first.
|
|
@@ -3,7 +3,7 @@ Object.defineProperties(exports, {
|
|
|
3
3
|
[Symbol.toStringTag]: { value: "Module" }
|
|
4
4
|
});
|
|
5
5
|
require("../../chunk-Cek0wNdY.js");
|
|
6
|
-
const require_dist = require("../../dist-
|
|
6
|
+
const require_dist = require("../../dist-DGhk7Tay.js");
|
|
7
7
|
//#region src/builtins/autotrack/autotrack-config.ts
|
|
8
8
|
var DEFAULT_AUTOTRACK_LOOP_CONFIG = {
|
|
9
9
|
deadZoneFraction: .5,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Fn as isEvent, Gt as ptzAutotrackCapability, H as bareAddonId, Un as EventCategory, g as FIRST_LEVEL_MACRO_CLASSES, gn as BaseAddon, mn as errMsg } from "../../dist-
|
|
1
|
+
import { Fn as isEvent, Gt as ptzAutotrackCapability, H as bareAddonId, Un as EventCategory, g as FIRST_LEVEL_MACRO_CLASSES, gn as BaseAddon, mn as errMsg } from "../../dist-DygWCI8k.mjs";
|
|
2
2
|
//#region src/builtins/autotrack/autotrack-config.ts
|
|
3
3
|
var DEFAULT_AUTOTRACK_LOOP_CONFIG = {
|
|
4
4
|
deadZoneFraction: .5,
|
|
@@ -3,7 +3,7 @@ Object.defineProperties(exports, {
|
|
|
3
3
|
[Symbol.toStringTag]: { value: "Module" }
|
|
4
4
|
});
|
|
5
5
|
const require_chunk = require("../../chunk-Cek0wNdY.js");
|
|
6
|
-
const require_dist = require("../../dist-
|
|
6
|
+
const require_dist = require("../../dist-DGhk7Tay.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 { Ft as mayWriteToLocation, Un as EventCategory, V as backupCapability, an as storageOccupancyCapability, gn as BaseAddon } from "../../dist-
|
|
1
|
+
import { Ft as mayWriteToLocation, Un as EventCategory, V as backupCapability, an as storageOccupancyCapability, gn as BaseAddon } from "../../dist-DygWCI8k.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-DGhk7Tay.js");
|
|
7
7
|
let zod = require("zod");
|
|
8
8
|
let _camstack_types_node = require("@camstack/types/node");
|
|
9
9
|
let node_path = require("node:path");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { G as cameraGridLayoutCapability, Nn as hydrateSchema, Q as declarationOwnerNodeId, Rt as motionCapability, S as MOTION_CLOSE_AFTER_MS, Sn as DeviceType, Un as EventCategory, bn as DeviceFeature, gn as BaseAddon, hn as buildFfmpegArgs, i as BaseDevice, kn as createEvent, m as DeclaredDevices, mn as errMsg, nn as snapshotCapability, p as DERIVED_CAMERA_SILENCED_CAP_NAMES, sn as streamCatalogCapability } from "../../dist-
|
|
1
|
+
import { G as cameraGridLayoutCapability, Nn as hydrateSchema, Q as declarationOwnerNodeId, Rt as motionCapability, S as MOTION_CLOSE_AFTER_MS, Sn as DeviceType, Un as EventCategory, bn as DeviceFeature, gn as BaseAddon, hn as buildFfmpegArgs, i as BaseDevice, kn as createEvent, m as DeclaredDevices, mn as errMsg, nn as snapshotCapability, p as DERIVED_CAMERA_SILENCED_CAP_NAMES, sn as streamCatalogCapability } from "../../dist-DygWCI8k.mjs";
|
|
2
2
|
import { z } from "zod";
|
|
3
3
|
import { FfmpegProcess } from "@camstack/types/node";
|
|
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-DGhk7Tay.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 { gn as BaseAddon, jt as logDestinationCapability } from "../../dist-
|
|
1
|
+
import { gn as BaseAddon, jt as logDestinationCapability } from "../../dist-DygWCI8k.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-DGhk7Tay.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 { J as coreBlockIdFromAddonId, Y as coreBlocksCapability, c as CORE_BLOCKS_ADDON_ID, gn as BaseAddon, l as CORE_BLOCK_ADDON_PREFIX, m as DeclaredDevices, mn as errMsg, q as coreBlockAddonId, u as CoreBlockSchema } from "../../dist-
|
|
1
|
+
import { J as coreBlockIdFromAddonId, Y as coreBlocksCapability, c as CORE_BLOCKS_ADDON_ID, gn as BaseAddon, l as CORE_BLOCK_ADDON_PREFIX, m as DeclaredDevices, mn as errMsg, q as coreBlockAddonId, u as CoreBlockSchema } from "../../dist-DygWCI8k.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-DGhk7Tay.js");
|
|
7
|
+
const require_retired_settings_keys = require("../../retired-settings-keys-IZ9MH0GO.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 { At as locationIconKey, Et as legacyAutoLinkIds, Hn as sleep$1, Ht as parseStreamParamsFormPatch, Pn as isDeviceConfigCap, Sn as DeviceType, Tn as WELL_KNOWN_TAB_MAP, Un as EventCategory, W as buildStreamParamsConfigSchema, X as createDeviceExtensionProvider, Xt as runtimeStatePolicyFor, at as deviceStatusCapability, bn as DeviceFeature, ct as enumerateItemArrayFields, d as DAY_NAMES, et as defineExtensionSlotProvider, ft as expandContainer, gn as BaseAddon, gt as formatMinutes, h as DeviceStatusSchema, it as deviceStateCapability, k as STREAM_PROFILE_META, lt as enumerateSchemaFields, mn as errMsg, nt as deviceExtensionCapability, o as CAMERA_SWITCH_ORDER, rt as deviceManagerCapability, s as CAP_NAMES_WITH_STATUS, t as ALL_CAPABILITY_DEFINITIONS, tn as siteZoneKey, x as MINUTES_PER_DAY, xn as DeviceRole, y as LocationIconIdSchema, zt as normalizeUnit } from "../../dist-
|
|
2
|
-
import { n as purgeRetiredSettingsRows } from "../../retired-settings-keys-
|
|
1
|
+
import { At as locationIconKey, Et as legacyAutoLinkIds, Hn as sleep$1, Ht as parseStreamParamsFormPatch, Pn as isDeviceConfigCap, Sn as DeviceType, Tn as WELL_KNOWN_TAB_MAP, Un as EventCategory, W as buildStreamParamsConfigSchema, X as createDeviceExtensionProvider, Xt as runtimeStatePolicyFor, at as deviceStatusCapability, bn as DeviceFeature, ct as enumerateItemArrayFields, d as DAY_NAMES, et as defineExtensionSlotProvider, ft as expandContainer, gn as BaseAddon, gt as formatMinutes, h as DeviceStatusSchema, it as deviceStateCapability, k as STREAM_PROFILE_META, lt as enumerateSchemaFields, mn as errMsg, nt as deviceExtensionCapability, o as CAMERA_SWITCH_ORDER, rt as deviceManagerCapability, s as CAP_NAMES_WITH_STATUS, t as ALL_CAPABILITY_DEFINITIONS, tn as siteZoneKey, x as MINUTES_PER_DAY, xn as DeviceRole, y as LocationIconIdSchema, zt as normalizeUnit } from "../../dist-DygWCI8k.mjs";
|
|
2
|
+
import { n as purgeRetiredSettingsRows } from "../../retired-settings-keys-z02aqTy7.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-DGhk7Tay.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 { Ct as isSourceCap, D as SOURCE_CAPS, H as bareAddonId, Sn as DeviceType, St as isSameAddonId, Un as EventCategory, X as createDeviceExtensionProvider, et as defineExtensionSlotProvider, gn as BaseAddon, kn as createEvent, mn as errMsg, nt as deviceExtensionCapability, ot as doorbellCapability, ut as evaluateSensorEdge } from "../../dist-
|
|
1
|
+
import { Ct as isSourceCap, D as SOURCE_CAPS, H as bareAddonId, Sn as DeviceType, St as isSameAddonId, Un as EventCategory, X as createDeviceExtensionProvider, et as defineExtensionSlotProvider, gn as BaseAddon, kn as createEvent, mn as errMsg, nt as deviceExtensionCapability, ot as doorbellCapability, ut as evaluateSensorEdge } from "../../dist-DygWCI8k.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-DGhk7Tay.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 { gn as BaseAddon, jt as logDestinationCapability } from "../../dist-
|
|
1
|
+
import { gn as BaseAddon, jt as logDestinationCapability } from "../../dist-DygWCI8k.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-DGhk7Tay.js");
|
|
4
4
|
//#region src/builtins/liveness-monitor/liveness-checks.ts
|
|
5
5
|
var NO_DEVICES = "liveness:no-devices";
|
|
6
6
|
var ALL_OFFLINE = "liveness:all-devices-offline";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as RECORDING_SOURCE_CAMSTACK_ADDON, E as RecordingStatusSchema, Un as EventCategory, gn as BaseAddon, kn as createEvent, mn as errMsg } from "../../dist-
|
|
1
|
+
import { C as RECORDING_SOURCE_CAMSTACK_ADDON, E as RecordingStatusSchema, Un as EventCategory, gn as BaseAddon, kn as createEvent, mn as errMsg } from "../../dist-DygWCI8k.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-DGhk7Tay.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 { A as ScopedTokenSchema, B as authProviderCapability, F as UserRecordSchema, gn as BaseAddon, ln as userManagementCapability, r as ApiKeyRecordSchema } from "../../dist-
|
|
2
|
+
import { A as ScopedTokenSchema, B as authProviderCapability, F as UserRecordSchema, gn as BaseAddon, ln as userManagementCapability, r as ApiKeyRecordSchema } from "../../dist-DygWCI8k.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-DGhk7Tay.js");
|
|
4
4
|
const require_tls = require("../../tls-D_wUeOTD.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 { Un as EventCategory, gn as BaseAddon, kt as localNetworkCapability } from "../../dist-
|
|
1
|
+
import { Un as EventCategory, gn as BaseAddon, kt as localNetworkCapability } from "../../dist-DygWCI8k.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-IM-v7JV4.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-DGhk7Tay.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 { gn as BaseAddon, jt as logDestinationCapability } from "../../dist-
|
|
1
|
+
import { gn as BaseAddon, jt as logDestinationCapability } from "../../dist-DygWCI8k.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-DGhk7Tay.js");
|
|
7
7
|
let node_fs_promises = require("node:fs/promises");
|
|
8
8
|
let node_fs = require("node:fs");
|
|
9
9
|
node_fs = require_chunk.__toESM(node_fs);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { It as metricsProviderCapability, Kt as reducePoints, Un as EventCategory, gn as BaseAddon, ht as foldSnapshotByFunction, kn as createEvent, mn as errMsg, qt as resolveBucketMs } from "../../dist-
|
|
1
|
+
import { It as metricsProviderCapability, Kt as reducePoints, Un as EventCategory, gn as BaseAddon, ht as foldSnapshotByFunction, kn as createEvent, mn as errMsg, qt as resolveBucketMs } from "../../dist-DygWCI8k.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-DGhk7Tay.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 { $t as scoreRuntimes, Un as EventCategory, Ut as platformProbeCapability, gn as BaseAddon, jn as emitReadiness, mn as errMsg, st as enumerateInferenceDevices } from "../../dist-
|
|
2
|
+
import { $t as scoreRuntimes, Un as EventCategory, Ut as platformProbeCapability, gn as BaseAddon, jn as emitReadiness, mn as errMsg, st as enumerateInferenceDevices } from "../../dist-DygWCI8k.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-DGhk7Tay.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 { Un as EventCategory, gn as BaseAddon } from "../../dist-
|
|
1
|
+
import { Un as EventCategory, gn as BaseAddon } from "../../dist-DygWCI8k.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-DGhk7Tay.js");
|
|
7
7
|
const require_snapshot_courtesy = require("../../snapshot-courtesy-Cqs7GkOV.js");
|
|
8
8
|
let zod = require("zod");
|
|
9
9
|
let node_crypto = require("node:crypto");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { H as bareAddonId, In as nodePin, Sn as DeviceType, U as batteryCapability, Un as EventCategory, a as BatteryStatusSchema, bn as DeviceFeature, cn as streamQualityLabel, gn as BaseAddon, mn as errMsg, nn as snapshotCapability, tt as deriveBatteryPresence } from "../../dist-
|
|
1
|
+
import { H as bareAddonId, In as nodePin, Sn as DeviceType, U as batteryCapability, Un as EventCategory, a as BatteryStatusSchema, bn as DeviceFeature, cn as streamQualityLabel, gn as BaseAddon, mn as errMsg, nn as snapshotCapability, tt as deriveBatteryPresence } from "../../dist-DygWCI8k.mjs";
|
|
2
2
|
import { i as renderCourtesyOverlayJpeg, n as courtesyCacheKey, r as renderCourtesyJpeg } from "../../snapshot-courtesy-CZPvteq2.mjs";
|
|
3
3
|
import { z } from "zod";
|
|
4
4
|
import { randomUUID } from "node:crypto";
|
|
@@ -3,7 +3,7 @@ Object.defineProperties(exports, {
|
|
|
3
3
|
[Symbol.toStringTag]: { value: "Module" }
|
|
4
4
|
});
|
|
5
5
|
const require_chunk = require("../../chunk-Cek0wNdY.js");
|
|
6
|
-
const require_dist = require("../../dist-
|
|
6
|
+
const require_dist = require("../../dist-DGhk7Tay.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 { gn as BaseAddon, mt as filesystemBrowseCapability, on as storageProviderCapability } from "../../dist-
|
|
1
|
+
import { gn as BaseAddon, mt as filesystemBrowseCapability, on as storageProviderCapability } from "../../dist-DygWCI8k.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-DGhk7Tay.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 { Dt as legacyModeOf, Ft as mayWriteToLocation, Jt as resolveLocationMode, K as collectSecretConfigKeys, Ln as parseJsonObject, Lt as modeMayWrite, M as StorageLocationModeSchema, N as StorageLocationTypeSchema, P as StorageMigrationJobSchema, Pt as mayReadLocation, Un as EventCategory, _t as gbToBytes, bt as isLocationEnabled, dt as evictionPolicyOfLocation, en as settingsStoreCapability, gn as BaseAddon, in as storageMigrationCapability, j as StorageCleanupJobSchema, pn as withLocationMode, rn as storageCapability, v as LegacyStorageLocationDefaultSchema, w as REDACTED_SECRET } from "../../dist-
|
|
1
|
+
import { Dt as legacyModeOf, Ft as mayWriteToLocation, Jt as resolveLocationMode, K as collectSecretConfigKeys, Ln as parseJsonObject, Lt as modeMayWrite, M as StorageLocationModeSchema, N as StorageLocationTypeSchema, P as StorageMigrationJobSchema, Pt as mayReadLocation, Un as EventCategory, _t as gbToBytes, bt as isLocationEnabled, dt as evictionPolicyOfLocation, en as settingsStoreCapability, gn as BaseAddon, in as storageMigrationCapability, j as StorageCleanupJobSchema, pn as withLocationMode, rn as storageCapability, v as LegacyStorageLocationDefaultSchema, w as REDACTED_SECRET } from "../../dist-DygWCI8k.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-DGhk7Tay.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 { Nn as hydrateSchema, gn as BaseAddon, mn as errMsg } from "../../dist-
|
|
1
|
+
import { Nn as hydrateSchema, gn as BaseAddon, mn as errMsg } from "../../dist-DygWCI8k.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-DGhk7Tay.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 { gn as BaseAddon, jt as logDestinationCapability } from "../../dist-
|
|
1
|
+
import { gn as BaseAddon, jt as logDestinationCapability } from "../../dist-DygWCI8k.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";
|
|
@@ -6549,6 +6549,49 @@ var ModelProviderIdSchema = zod.z.enum([
|
|
|
6549
6549
|
"scrypted",
|
|
6550
6550
|
"custom"
|
|
6551
6551
|
]);
|
|
6552
|
+
var ModelLicenseRecordSchema = zod.z.object({
|
|
6553
|
+
/** SPDX id of the WEIGHTS' terms, a `LicenseRef-*` for non-SPDX terms, or `UNKNOWN`. */
|
|
6554
|
+
weights: zod.z.string().min(1),
|
|
6555
|
+
/** SPDX id of the upstream code that defines / trained the network. */
|
|
6556
|
+
code: zod.z.string().min(1).optional(),
|
|
6557
|
+
/** Training data whose terms add obligations (attribution, non-commercial). */
|
|
6558
|
+
data: zod.z.object({
|
|
6559
|
+
name: zod.z.string().min(1),
|
|
6560
|
+
terms: zod.z.string().min(1),
|
|
6561
|
+
url: zod.z.string().url().optional()
|
|
6562
|
+
}).optional(),
|
|
6563
|
+
/** The project the weights come from. Required on built-in entries (guard). */
|
|
6564
|
+
upstream: zod.z.object({
|
|
6565
|
+
name: zod.z.string().min(1),
|
|
6566
|
+
url: zod.z.string().url()
|
|
6567
|
+
}).optional(),
|
|
6568
|
+
/** Where the licence text governing the weights is published. */
|
|
6569
|
+
url: zod.z.string().url().optional(),
|
|
6570
|
+
/** Attribution the licence REQUIRES, verbatim. */
|
|
6571
|
+
attribution: zod.z.string().min(1).optional(),
|
|
6572
|
+
/** What CamStack changed. Required when `hosting` is `camstack-hf` (guard). */
|
|
6573
|
+
modifications: zod.z.string().min(1).optional(),
|
|
6574
|
+
/** Who serves the file a node downloads. */
|
|
6575
|
+
hosting: zod.z.enum([
|
|
6576
|
+
"camstack-hf",
|
|
6577
|
+
"third-party",
|
|
6578
|
+
"built-in"
|
|
6579
|
+
]).optional(),
|
|
6580
|
+
/** True when the weights or their data forbid commercial use. */
|
|
6581
|
+
nonCommercial: zod.z.boolean().optional()
|
|
6582
|
+
});
|
|
6583
|
+
/**
|
|
6584
|
+
* The licence of a model, as a record rather than a bare SPDX string: a
|
|
6585
|
+
* permissive CODE licence routinely sits on top of restrictive WEIGHTS or
|
|
6586
|
+
* DATA, and the obligations (attribution, modification notices, source offers)
|
|
6587
|
+
* are per upstream. A persisted custom-model row written when this field was a
|
|
6588
|
+
* string still parses — the string is lifted into `{ weights }`.
|
|
6589
|
+
*
|
|
6590
|
+
* Every licence surface (the admin "Models and licenses" page,
|
|
6591
|
+
* `THIRD_PARTY_MODELS.md`, the Hugging Face model table) is GENERATED from
|
|
6592
|
+
* these records by `scripts/gen-model-licenses.ts` (D661).
|
|
6593
|
+
*/
|
|
6594
|
+
var ModelLicenseSchema = zod.z.preprocess((value) => typeof value === "string" ? { weights: value } : value, ModelLicenseRecordSchema);
|
|
6552
6595
|
var ModelCatalogEntrySchema = zod.z.object({
|
|
6553
6596
|
id: zod.z.string(),
|
|
6554
6597
|
name: zod.z.string(),
|
|
@@ -6637,11 +6680,11 @@ var ModelCatalogEntrySchema = zod.z.object({
|
|
|
6637
6680
|
p95LatencyMs: zod.z.record(zod.z.string(), zod.z.number()).optional()
|
|
6638
6681
|
}).optional(),
|
|
6639
6682
|
/**
|
|
6640
|
-
*
|
|
6641
|
-
*
|
|
6642
|
-
*
|
|
6683
|
+
* The model's licence record — see {@link ModelLicenseSchema}. Optional in
|
|
6684
|
+
* the schema (a custom model's author may state none); REQUIRED and complete
|
|
6685
|
+
* on every built-in catalog entry (`scripts/check-catalog-licence.ts`).
|
|
6643
6686
|
*/
|
|
6644
|
-
license:
|
|
6687
|
+
license: ModelLicenseSchema.optional(),
|
|
6645
6688
|
/**
|
|
6646
6689
|
* Variant-selector grouping. The UI groups models by `family` + `tier` and
|
|
6647
6690
|
* offers `precision` / `optimization` as variant axes WITHIN a tier — so all
|
|
@@ -8144,12 +8187,32 @@ var AudioClassificationLabelSchema = zod.z.object({
|
|
|
8144
8187
|
originalClass: zod.z.string().optional(),
|
|
8145
8188
|
score: zod.z.number()
|
|
8146
8189
|
});
|
|
8190
|
+
/**
|
|
8191
|
+
* Did the classifier RUN on this window? (D660)
|
|
8192
|
+
*
|
|
8193
|
+
* `classified` with no labels means the model heard nothing above the
|
|
8194
|
+
* camera's floor. `not-classified` means nobody listened — and until D660 the
|
|
8195
|
+
* two were the same shape (`classification` absent), so a window the global
|
|
8196
|
+
* busy gate threw away read downstream exactly like a quiet one (D393).
|
|
8197
|
+
*/
|
|
8198
|
+
var AudioClassifyOutcomeSchema = zod.z.discriminatedUnion("state", [zod.z.object({ state: zod.z.literal("classified") }), zod.z.object({
|
|
8199
|
+
state: zod.z.literal("not-classified"),
|
|
8200
|
+
reason: zod.z.enum([
|
|
8201
|
+
"superseded",
|
|
8202
|
+
"error",
|
|
8203
|
+
"timeout",
|
|
8204
|
+
"disposed"
|
|
8205
|
+
])
|
|
8206
|
+
})]);
|
|
8147
8207
|
var AudioAnalysisResultSchema = zod.z.object({
|
|
8148
8208
|
level: AudioLevelSchema,
|
|
8209
|
+
/** Labels at or above the camera's floor. Absent = none — read `classifyOutcome` to know whether the model ran at all. */
|
|
8149
8210
|
classification: zod.z.object({
|
|
8150
8211
|
labels: zod.z.array(AudioClassificationLabelSchema).readonly(),
|
|
8151
8212
|
inferenceMs: zod.z.number()
|
|
8152
8213
|
}).optional(),
|
|
8214
|
+
/** Whether the classifier ran on this window (D660). */
|
|
8215
|
+
classifyOutcome: AudioClassifyOutcomeSchema,
|
|
8153
8216
|
timestamp: zod.z.number()
|
|
8154
8217
|
});
|
|
8155
8218
|
var AudioAnalysisSettingsSchema = zod.z.object({
|
|
@@ -20370,6 +20433,13 @@ var AudioEventSchema = zod.z.object({
|
|
|
20370
20433
|
originalClass: zod.z.string().optional(),
|
|
20371
20434
|
score: zod.z.number()
|
|
20372
20435
|
}).optional(),
|
|
20436
|
+
/**
|
|
20437
|
+
* Whether the classifier RAN on the window behind this row (D660). Absent
|
|
20438
|
+
* on rows written before D660 — unknown, NOT classified: until then a
|
|
20439
|
+
* window the analyzer's busy gate threw away was stored exactly like one
|
|
20440
|
+
* that heard nothing above the floor.
|
|
20441
|
+
*/
|
|
20442
|
+
classifyOutcome: AudioClassifyOutcomeSchema.optional(),
|
|
20373
20443
|
/** Populated by B5 (recording playback URL for this event). */
|
|
20374
20444
|
mediaUrl: zod.z.string().optional()
|
|
20375
20445
|
});
|
|
@@ -6549,6 +6549,49 @@ var ModelProviderIdSchema = z.enum([
|
|
|
6549
6549
|
"scrypted",
|
|
6550
6550
|
"custom"
|
|
6551
6551
|
]);
|
|
6552
|
+
var ModelLicenseRecordSchema = z.object({
|
|
6553
|
+
/** SPDX id of the WEIGHTS' terms, a `LicenseRef-*` for non-SPDX terms, or `UNKNOWN`. */
|
|
6554
|
+
weights: z.string().min(1),
|
|
6555
|
+
/** SPDX id of the upstream code that defines / trained the network. */
|
|
6556
|
+
code: z.string().min(1).optional(),
|
|
6557
|
+
/** Training data whose terms add obligations (attribution, non-commercial). */
|
|
6558
|
+
data: z.object({
|
|
6559
|
+
name: z.string().min(1),
|
|
6560
|
+
terms: z.string().min(1),
|
|
6561
|
+
url: z.string().url().optional()
|
|
6562
|
+
}).optional(),
|
|
6563
|
+
/** The project the weights come from. Required on built-in entries (guard). */
|
|
6564
|
+
upstream: z.object({
|
|
6565
|
+
name: z.string().min(1),
|
|
6566
|
+
url: z.string().url()
|
|
6567
|
+
}).optional(),
|
|
6568
|
+
/** Where the licence text governing the weights is published. */
|
|
6569
|
+
url: z.string().url().optional(),
|
|
6570
|
+
/** Attribution the licence REQUIRES, verbatim. */
|
|
6571
|
+
attribution: z.string().min(1).optional(),
|
|
6572
|
+
/** What CamStack changed. Required when `hosting` is `camstack-hf` (guard). */
|
|
6573
|
+
modifications: z.string().min(1).optional(),
|
|
6574
|
+
/** Who serves the file a node downloads. */
|
|
6575
|
+
hosting: z.enum([
|
|
6576
|
+
"camstack-hf",
|
|
6577
|
+
"third-party",
|
|
6578
|
+
"built-in"
|
|
6579
|
+
]).optional(),
|
|
6580
|
+
/** True when the weights or their data forbid commercial use. */
|
|
6581
|
+
nonCommercial: z.boolean().optional()
|
|
6582
|
+
});
|
|
6583
|
+
/**
|
|
6584
|
+
* The licence of a model, as a record rather than a bare SPDX string: a
|
|
6585
|
+
* permissive CODE licence routinely sits on top of restrictive WEIGHTS or
|
|
6586
|
+
* DATA, and the obligations (attribution, modification notices, source offers)
|
|
6587
|
+
* are per upstream. A persisted custom-model row written when this field was a
|
|
6588
|
+
* string still parses — the string is lifted into `{ weights }`.
|
|
6589
|
+
*
|
|
6590
|
+
* Every licence surface (the admin "Models and licenses" page,
|
|
6591
|
+
* `THIRD_PARTY_MODELS.md`, the Hugging Face model table) is GENERATED from
|
|
6592
|
+
* these records by `scripts/gen-model-licenses.ts` (D661).
|
|
6593
|
+
*/
|
|
6594
|
+
var ModelLicenseSchema = z.preprocess((value) => typeof value === "string" ? { weights: value } : value, ModelLicenseRecordSchema);
|
|
6552
6595
|
var ModelCatalogEntrySchema = z.object({
|
|
6553
6596
|
id: z.string(),
|
|
6554
6597
|
name: z.string(),
|
|
@@ -6637,11 +6680,11 @@ var ModelCatalogEntrySchema = z.object({
|
|
|
6637
6680
|
p95LatencyMs: z.record(z.string(), z.number()).optional()
|
|
6638
6681
|
}).optional(),
|
|
6639
6682
|
/**
|
|
6640
|
-
*
|
|
6641
|
-
*
|
|
6642
|
-
*
|
|
6683
|
+
* The model's licence record — see {@link ModelLicenseSchema}. Optional in
|
|
6684
|
+
* the schema (a custom model's author may state none); REQUIRED and complete
|
|
6685
|
+
* on every built-in catalog entry (`scripts/check-catalog-licence.ts`).
|
|
6643
6686
|
*/
|
|
6644
|
-
license:
|
|
6687
|
+
license: ModelLicenseSchema.optional(),
|
|
6645
6688
|
/**
|
|
6646
6689
|
* Variant-selector grouping. The UI groups models by `family` + `tier` and
|
|
6647
6690
|
* offers `precision` / `optimization` as variant axes WITHIN a tier — so all
|
|
@@ -8144,12 +8187,32 @@ var AudioClassificationLabelSchema = z.object({
|
|
|
8144
8187
|
originalClass: z.string().optional(),
|
|
8145
8188
|
score: z.number()
|
|
8146
8189
|
});
|
|
8190
|
+
/**
|
|
8191
|
+
* Did the classifier RUN on this window? (D660)
|
|
8192
|
+
*
|
|
8193
|
+
* `classified` with no labels means the model heard nothing above the
|
|
8194
|
+
* camera's floor. `not-classified` means nobody listened — and until D660 the
|
|
8195
|
+
* two were the same shape (`classification` absent), so a window the global
|
|
8196
|
+
* busy gate threw away read downstream exactly like a quiet one (D393).
|
|
8197
|
+
*/
|
|
8198
|
+
var AudioClassifyOutcomeSchema = z.discriminatedUnion("state", [z.object({ state: z.literal("classified") }), z.object({
|
|
8199
|
+
state: z.literal("not-classified"),
|
|
8200
|
+
reason: z.enum([
|
|
8201
|
+
"superseded",
|
|
8202
|
+
"error",
|
|
8203
|
+
"timeout",
|
|
8204
|
+
"disposed"
|
|
8205
|
+
])
|
|
8206
|
+
})]);
|
|
8147
8207
|
var AudioAnalysisResultSchema = z.object({
|
|
8148
8208
|
level: AudioLevelSchema,
|
|
8209
|
+
/** Labels at or above the camera's floor. Absent = none — read `classifyOutcome` to know whether the model ran at all. */
|
|
8149
8210
|
classification: z.object({
|
|
8150
8211
|
labels: z.array(AudioClassificationLabelSchema).readonly(),
|
|
8151
8212
|
inferenceMs: z.number()
|
|
8152
8213
|
}).optional(),
|
|
8214
|
+
/** Whether the classifier ran on this window (D660). */
|
|
8215
|
+
classifyOutcome: AudioClassifyOutcomeSchema,
|
|
8153
8216
|
timestamp: z.number()
|
|
8154
8217
|
});
|
|
8155
8218
|
var AudioAnalysisSettingsSchema = z.object({
|
|
@@ -20370,6 +20433,13 @@ var AudioEventSchema = z.object({
|
|
|
20370
20433
|
originalClass: z.string().optional(),
|
|
20371
20434
|
score: z.number()
|
|
20372
20435
|
}).optional(),
|
|
20436
|
+
/**
|
|
20437
|
+
* Whether the classifier RAN on the window behind this row (D660). Absent
|
|
20438
|
+
* on rows written before D660 — unknown, NOT classified: until then a
|
|
20439
|
+
* window the analyzer's busy gate threw away was stored exactly like one
|
|
20440
|
+
* that heard nothing above the floor.
|
|
20441
|
+
*/
|
|
20442
|
+
classifyOutcome: AudioClassifyOutcomeSchema.optional(),
|
|
20373
20443
|
/** Populated by B5 (recording playback URL for this event). */
|
|
20374
20444
|
mediaUrl: z.string().optional()
|
|
20375
20445
|
});
|
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-DGhk7Tay.js");
|
|
4
4
|
const require_builtins_alerts_alerts_addon = require("./builtins/alerts/alerts.addon.js");
|
|
5
5
|
require("./builtins/alerts/index.js");
|
|
6
6
|
const require_formatter = require("./formatter-DqAKDlvN.js");
|
package/dist/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { a as __toCommonJS, i as __require, n as __esmMin, o as __toESM$1, r as __exportAll, t as __commonJSMin$1 } from "./chunk-CNf5ZN-e.mjs";
|
|
2
|
-
import { An as emitDownForOwnedCaps, Bn as resolveCapMount, Bt as objectInputDeclaresAddonId, Cn as ReadinessRegistry, Dn as asNumber, En as asJsonObject$1, L as addonSettingsCapability, Ln as parseJsonObject, Mn as expandCapMethods, Mt as logLevelAtMost, Nt as looseSchema, On as asString$1, Ot as lifecycleJobSchema, Qt as scopesAllowDeviceCap, Rn as parseJsonUnknown, T as RUNTIME_DEFAULTS, Tt as kebabToCamel, Un as EventCategory$1, Vn as scopeKey, Vt as objectInputDeclaresRequiredDeviceId, Wt as procedureAuthKey, Yt as resolveMethodAuth, Zt as scopesAllowAddon, _ as LOG_LEVEL_RANK, _n as DATAPLANE_SECRET_HEADER$1, b as METHOD_ACCESS_MAP, kn as createEvent, mn as errMsg$1, pt as extractNestedAddonId, t as ALL_CAPABILITY_DEFINITIONS, vn as DEVICE_SETTINGS_CONTRIBUTION_METHODS, vt as isArrayOutputSchema, wn as ReadinessTimeoutError, wt as isVoidInput, xt as isObjectInput, yn as DEVICE_STATUS_METHOD, yt as isCollectionArrayMethod, zn as readinessKey } from "./dist-
|
|
2
|
+
import { An as emitDownForOwnedCaps, Bn as resolveCapMount, Bt as objectInputDeclaresAddonId, Cn as ReadinessRegistry, Dn as asNumber, En as asJsonObject$1, L as addonSettingsCapability, Ln as parseJsonObject, Mn as expandCapMethods, Mt as logLevelAtMost, Nt as looseSchema, On as asString$1, Ot as lifecycleJobSchema, Qt as scopesAllowDeviceCap, Rn as parseJsonUnknown, T as RUNTIME_DEFAULTS, Tt as kebabToCamel, Un as EventCategory$1, Vn as scopeKey, Vt as objectInputDeclaresRequiredDeviceId, Wt as procedureAuthKey, Yt as resolveMethodAuth, Zt as scopesAllowAddon, _ as LOG_LEVEL_RANK, _n as DATAPLANE_SECRET_HEADER$1, b as METHOD_ACCESS_MAP, kn as createEvent, mn as errMsg$1, pt as extractNestedAddonId, t as ALL_CAPABILITY_DEFINITIONS, vn as DEVICE_SETTINGS_CONTRIBUTION_METHODS, vt as isArrayOutputSchema, wn as ReadinessTimeoutError, wt as isVoidInput, xt as isObjectInput, yn as DEVICE_STATUS_METHOD, yt as isCollectionArrayMethod, zn as readinessKey } from "./dist-DygWCI8k.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";
|