@camstack/system 1.2.40 → 1.2.42

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.
Files changed (49) hide show
  1. package/dist/builtins/addon-pages-aggregator/addon-pages-aggregator.addon.js +1 -1
  2. package/dist/builtins/addon-pages-aggregator/addon-pages-aggregator.addon.mjs +1 -1
  3. package/dist/builtins/addon-widgets-aggregator/addon-widgets-aggregator.addon.js +1 -1
  4. package/dist/builtins/addon-widgets-aggregator/addon-widgets-aggregator.addon.mjs +1 -1
  5. package/dist/builtins/alerts/alerts.addon.js +1 -1
  6. package/dist/builtins/alerts/alerts.addon.mjs +1 -1
  7. package/dist/builtins/backup-orchestrator/backup-orchestrator.addon.js +1 -1
  8. package/dist/builtins/backup-orchestrator/backup-orchestrator.addon.mjs +1 -1
  9. package/dist/builtins/console-logging/index.js +1 -1
  10. package/dist/builtins/console-logging/index.mjs +1 -1
  11. package/dist/builtins/core-blocks/core-blocks.addon.js +1 -1
  12. package/dist/builtins/core-blocks/core-blocks.addon.mjs +1 -1
  13. package/dist/builtins/device-manager/device-manager.addon.js +1 -1
  14. package/dist/builtins/device-manager/device-manager.addon.mjs +1 -1
  15. package/dist/builtins/doorbell/virtual-doorbell.addon.js +1 -1
  16. package/dist/builtins/doorbell/virtual-doorbell.addon.mjs +1 -1
  17. package/dist/builtins/hub-forwarder/index.js +1 -1
  18. package/dist/builtins/hub-forwarder/index.mjs +1 -1
  19. package/dist/builtins/liveness-monitor/liveness-monitor.addon.js +1 -1
  20. package/dist/builtins/liveness-monitor/liveness-monitor.addon.mjs +1 -1
  21. package/dist/builtins/local-auth/local-auth.addon.js +1 -1
  22. package/dist/builtins/local-auth/local-auth.addon.mjs +1 -1
  23. package/dist/builtins/local-network/local-network.addon.js +1 -1
  24. package/dist/builtins/local-network/local-network.addon.mjs +1 -1
  25. package/dist/builtins/loki-logging/index.js +1 -1
  26. package/dist/builtins/loki-logging/index.mjs +1 -1
  27. package/dist/builtins/native-metrics/native-metrics.addon.js +1 -1
  28. package/dist/builtins/native-metrics/native-metrics.addon.mjs +1 -1
  29. package/dist/builtins/platform-probe/index.js +1 -1
  30. package/dist/builtins/platform-probe/index.mjs +1 -1
  31. package/dist/builtins/remote-access-orchestrator/remote-access-orchestrator.addon.js +1 -1
  32. package/dist/builtins/remote-access-orchestrator/remote-access-orchestrator.addon.mjs +1 -1
  33. package/dist/builtins/snapshot/index.js +1 -1
  34. package/dist/builtins/snapshot/index.mjs +1 -1
  35. package/dist/builtins/sqlite-storage/filesystem-storage.addon.js +1 -1
  36. package/dist/builtins/sqlite-storage/filesystem-storage.addon.mjs +1 -1
  37. package/dist/builtins/sqlite-storage/sqlite-settings.addon.js +1 -1
  38. package/dist/builtins/sqlite-storage/sqlite-settings.addon.mjs +1 -1
  39. package/dist/builtins/storage-orchestrator/storage-orchestrator.addon.js +1 -1
  40. package/dist/builtins/storage-orchestrator/storage-orchestrator.addon.mjs +1 -1
  41. package/dist/builtins/system-config/system-config.addon.js +1 -1
  42. package/dist/builtins/system-config/system-config.addon.mjs +1 -1
  43. package/dist/builtins/winston-logging/index.js +1 -1
  44. package/dist/builtins/winston-logging/index.mjs +1 -1
  45. package/dist/{dist-BXS0DP92.mjs → dist-BpVtesRV.mjs} +65 -0
  46. package/dist/{dist-Cj0LAuXi.js → dist-DBeh_RnY.js} +65 -0
  47. package/dist/index.js +1 -1
  48. package/dist/index.mjs +1 -1
  49. 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-Cj0LAuXi.js");
6
+ const require_dist = require("../../dist-DBeh_RnY.js");
7
7
  const require_settle_sources = require("../../settle-sources-Bhsy57y-.js");
8
8
  let node_fs = require("node:fs");
9
9
  node_fs = require_chunk.__toESM(node_fs);
@@ -1,4 +1,4 @@
1
- import { Pt as EventCategory, ct as BaseAddon, m as addonPagesCapability, st as errMsg } from "../../dist-BXS0DP92.mjs";
1
+ import { Pt as EventCategory, ct as BaseAddon, m as addonPagesCapability, st as errMsg } from "../../dist-BpVtesRV.mjs";
2
2
  import { t as settleSourcesWithTimeout } from "../../settle-sources-CDtNC8ub.mjs";
3
3
  import * as fs from "node:fs";
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-Cj0LAuXi.js");
6
+ const require_dist = require("../../dist-DBeh_RnY.js");
7
7
  const require_settle_sources = require("../../settle-sources-Bhsy57y-.js");
8
8
  let node_fs = require("node:fs");
9
9
  node_fs = require_chunk.__toESM(node_fs);
@@ -1,4 +1,4 @@
1
- import { Pt as EventCategory, ct as BaseAddon, g as addonWidgetsCapability, st as errMsg } from "../../dist-BXS0DP92.mjs";
1
+ import { Pt as EventCategory, ct as BaseAddon, g as addonWidgetsCapability, st as errMsg } from "../../dist-BpVtesRV.mjs";
2
2
  import { t as settleSourcesWithTimeout } from "../../settle-sources-CDtNC8ub.mjs";
3
3
  import * as fs from "node:fs";
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-Cj0LAuXi.js");
6
+ const require_dist = require("../../dist-DBeh_RnY.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 { Pt as EventCategory, _ as alertsCapability, ct as BaseAddon, n as AlertSchema, st as errMsg, xt as createEvent } from "../../dist-BXS0DP92.mjs";
1
+ import { Pt as EventCategory, _ as alertsCapability, ct as BaseAddon, n as AlertSchema, st as errMsg, xt as createEvent } from "../../dist-BpVtesRV.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-Cj0LAuXi.js");
6
+ const require_dist = require("../../dist-DBeh_RnY.js");
7
7
  let node_fs = require("node:fs");
8
8
  let node_fs$1 = require_chunk.__toESM(node_fs, 1);
9
9
  node_fs = require_chunk.__toESM(node_fs);
@@ -1,4 +1,4 @@
1
- import { Pt as EventCategory, b as backupCapability, ct as BaseAddon } from "../../dist-BXS0DP92.mjs";
1
+ import { Pt as EventCategory, b as backupCapability, ct as BaseAddon } from "../../dist-BpVtesRV.mjs";
2
2
  import * as fs from "node:fs";
3
3
  import Kt from "node:fs";
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-Cj0LAuXi.js");
6
+ const require_dist = require("../../dist-DBeh_RnY.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 { H as logDestinationCapability, ct as BaseAddon } from "../../dist-BXS0DP92.mjs";
1
+ import { H as logDestinationCapability, ct as BaseAddon } from "../../dist-BpVtesRV.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-Cj0LAuXi.js");
3
+ const require_dist = require("../../dist-DBeh_RnY.js");
4
4
  let node_path = require("node:path");
5
5
  node_path = require_chunk.__toESM(node_path);
6
6
  let node_crypto = require("node:crypto");
@@ -1,5 +1,5 @@
1
1
  import { o as __toESM } from "../../chunk-CNf5ZN-e.mjs";
2
- import { S as coreBlocksCapability, ct as BaseAddon, o as CoreBlockSchema } from "../../dist-BXS0DP92.mjs";
2
+ import { S as coreBlocksCapability, ct as BaseAddon, o as CoreBlockSchema } from "../../dist-BpVtesRV.mjs";
3
3
  import * as path$1 from "node:path";
4
4
  import { randomUUID } from "node:crypto";
5
5
  import * as fs 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-Cj0LAuXi.js");
6
+ const require_dist = require("../../dist-DBeh_RnY.js");
7
7
  let _camstack_types_node = require("@camstack/types/node");
8
8
  let zod = require("zod");
9
9
  let node_crypto = require("node:crypto");
@@ -1,4 +1,4 @@
1
- import { A as enumerateSchemaFields, E as deviceStatusCapability, Et as isDeviceConfigCap, J as parseStreamParamsFormPatch, K as normalizeUnit, Nt as sleep, P as getByPath, Pt as EventCategory, Q as setByPath, T as deviceStateCapability, _t as WELL_KNOWN_TAB_MAP, a as CAP_NAMES_WITH_STATUS, ct as BaseAddon, ft as DeviceFeature, it as toExpressionValue, j as evaluateLinkExpression, k as enumerateItemArrayFields, mt as DeviceType, ot as validateExpressionSource, pt as DeviceRole, s as DeviceStatusSchema, st as errMsg, t as ALL_CAPABILITY_DEFINITIONS, u as STREAM_PROFILE_META, v as applyTransform, w as deviceManagerCapability, x as buildStreamParamsConfigSchema } from "../../dist-BXS0DP92.mjs";
1
+ import { A as enumerateSchemaFields, E as deviceStatusCapability, Et as isDeviceConfigCap, J as parseStreamParamsFormPatch, K as normalizeUnit, Nt as sleep, P as getByPath, Pt as EventCategory, Q as setByPath, T as deviceStateCapability, _t as WELL_KNOWN_TAB_MAP, a as CAP_NAMES_WITH_STATUS, ct as BaseAddon, ft as DeviceFeature, it as toExpressionValue, j as evaluateLinkExpression, k as enumerateItemArrayFields, mt as DeviceType, ot as validateExpressionSource, pt as DeviceRole, s as DeviceStatusSchema, st as errMsg, t as ALL_CAPABILITY_DEFINITIONS, u as STREAM_PROFILE_META, v as applyTransform, w as deviceManagerCapability, x as buildStreamParamsConfigSchema } from "../../dist-BpVtesRV.mjs";
2
2
  import { canonicalDeviceFingerprint } from "@camstack/types/node";
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-Cj0LAuXi.js");
6
+ const require_dist = require("../../dist-DBeh_RnY.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 { D as doorbellCapability, Pt as EventCategory, ct as BaseAddon, mt as DeviceType, st as errMsg, xt as createEvent } from "../../dist-BXS0DP92.mjs";
1
+ import { D as doorbellCapability, Pt as EventCategory, ct as BaseAddon, mt as DeviceType, st as errMsg, xt as createEvent } from "../../dist-BpVtesRV.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-Cj0LAuXi.js");
6
+ const require_dist = require("../../dist-DBeh_RnY.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 { H as logDestinationCapability, ct as BaseAddon } from "../../dist-BXS0DP92.mjs";
1
+ import { H as logDestinationCapability, ct as BaseAddon } from "../../dist-BpVtesRV.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-Cj0LAuXi.js");
3
+ const require_dist = require("../../dist-DBeh_RnY.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 { Pt as EventCategory, ct as BaseAddon, st as errMsg, xt as createEvent } from "../../dist-BXS0DP92.mjs";
1
+ import { Pt as EventCategory, ct as BaseAddon, st as errMsg, xt as createEvent } from "../../dist-BpVtesRV.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-Cj0LAuXi.js");
6
+ const require_dist = require("../../dist-DBeh_RnY.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 { at as userManagementCapability, ct as BaseAddon, d as ScopedTokenSchema, p as UserRecordSchema, r as ApiKeyRecordSchema, y as authProviderCapability } from "../../dist-BXS0DP92.mjs";
2
+ import { at as userManagementCapability, ct as BaseAddon, d as ScopedTokenSchema, p as UserRecordSchema, r as ApiKeyRecordSchema, y as authProviderCapability } from "../../dist-BpVtesRV.mjs";
3
3
  import * as crypto$1 from "node:crypto";
4
4
  import { randomUUID } 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-Cj0LAuXi.js");
3
+ const require_dist = require("../../dist-DBeh_RnY.js");
4
4
  let node_os = require("node:os");
5
5
  node_os = require_chunk.__toESM(node_os);
6
6
  //#region src/builtins/local-network/local-network.addon.ts
@@ -1,4 +1,4 @@
1
- import { Pt as EventCategory, V as localNetworkCapability, ct as BaseAddon } from "../../dist-BXS0DP92.mjs";
1
+ import { Pt as EventCategory, V as localNetworkCapability, ct as BaseAddon } from "../../dist-BpVtesRV.mjs";
2
2
  import * as os from "node:os";
3
3
  //#region src/builtins/local-network/local-network.addon.ts
4
4
  /**
@@ -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-Cj0LAuXi.js");
6
+ const require_dist = require("../../dist-DBeh_RnY.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 { H as logDestinationCapability, ct as BaseAddon } from "../../dist-BXS0DP92.mjs";
1
+ import { H as logDestinationCapability, ct as BaseAddon } from "../../dist-BpVtesRV.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-Cj0LAuXi.js");
6
+ const require_dist = require("../../dist-DBeh_RnY.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,4 +1,4 @@
1
- import { G as metricsProviderCapability, Pt as EventCategory, ct as BaseAddon, xt as createEvent } from "../../dist-BXS0DP92.mjs";
1
+ import { G as metricsProviderCapability, Pt as EventCategory, ct as BaseAddon, xt as createEvent } from "../../dist-BpVtesRV.mjs";
2
2
  import * as fs from "node:fs";
3
3
  import { execFile, execFileSync } from "node:child_process";
4
4
  import { promisify } from "node:util";
@@ -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-Cj0LAuXi.js");
6
+ const require_dist = require("../../dist-DBeh_RnY.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 { Ct as emitReadiness, O as enumerateInferenceDevices, Pt as EventCategory, Y as platformProbeCapability, Z as scoreRuntimes, ct as BaseAddon, st as errMsg } from "../../dist-BXS0DP92.mjs";
2
+ import { Ct as emitReadiness, O as enumerateInferenceDevices, Pt as EventCategory, Y as platformProbeCapability, Z as scoreRuntimes, ct as BaseAddon, st as errMsg } from "../../dist-BpVtesRV.mjs";
3
3
  import * as fs from "node:fs";
4
4
  import { execFile } from "node:child_process";
5
5
  import { promisify } from "node:util";
@@ -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-Cj0LAuXi.js");
6
+ const require_dist = require("../../dist-DBeh_RnY.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 { Pt as EventCategory, ct as BaseAddon } from "../../dist-BXS0DP92.mjs";
1
+ import { Pt as EventCategory, ct as BaseAddon } from "../../dist-BpVtesRV.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
  require("../../chunk-Cek0wNdY.js");
6
- const require_dist = require("../../dist-Cj0LAuXi.js");
6
+ const require_dist = require("../../dist-DBeh_RnY.js");
7
7
  let node_child_process = require("node:child_process");
8
8
  //#region src/builtins/snapshot/snapshot-coalescing.ts
9
9
  /**
@@ -1,4 +1,4 @@
1
- import { Dt as nodePin, ct as BaseAddon, et as snapshotCapability, ft as DeviceFeature, i as BatteryStatusSchema, mt as DeviceType, rt as streamQualityLabel, st as errMsg } from "../../dist-BXS0DP92.mjs";
1
+ import { Dt as nodePin, ct as BaseAddon, et as snapshotCapability, ft as DeviceFeature, i as BatteryStatusSchema, mt as DeviceType, rt as streamQualityLabel, st as errMsg } from "../../dist-BpVtesRV.mjs";
2
2
  import { execFile, spawn } from "node:child_process";
3
3
  //#region src/builtins/snapshot/snapshot-coalescing.ts
4
4
  /**
@@ -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-Cj0LAuXi.js");
6
+ const require_dist = require("../../dist-DBeh_RnY.js");
7
7
  let node_fs = require("node:fs");
8
8
  node_fs = require_chunk.__toESM(node_fs);
9
9
  let node_path = require("node:path");
@@ -1,4 +1,4 @@
1
- import { N as filesystemBrowseCapability, ct as BaseAddon, nt as storageProviderCapability } from "../../dist-BXS0DP92.mjs";
1
+ import { N as filesystemBrowseCapability, ct as BaseAddon, nt as storageProviderCapability } from "../../dist-BpVtesRV.mjs";
2
2
  import * as fs from "node:fs";
3
3
  import * as path$1 from "node:path";
4
4
  import { basename, dirname, join, resolve, sep } 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-Cj0LAuXi.js");
6
+ const require_dist = require("../../dist-DBeh_RnY.js");
7
7
  let node_crypto = require("node:crypto");
8
8
  let better_sqlite3 = require("better-sqlite3");
9
9
  better_sqlite3 = require_chunk.__toESM(better_sqlite3);
@@ -1,4 +1,4 @@
1
- import { C as dataStoreProviderCapability, ct as BaseAddon, kt as parseJsonUnknown, l as RUNTIME_DEFAULTS, st as errMsg, vt as asJsonObject } from "../../dist-BXS0DP92.mjs";
1
+ import { C as dataStoreProviderCapability, ct as BaseAddon, kt as parseJsonUnknown, l as RUNTIME_DEFAULTS, st as errMsg, vt as asJsonObject } from "../../dist-BpVtesRV.mjs";
2
2
  import { randomUUID } from "node:crypto";
3
3
  import Database from "better-sqlite3";
4
4
  //#region src/builtins/sqlite-storage/filter-compiler.ts
@@ -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-Cj0LAuXi.js");
6
+ const require_dist = require("../../dist-DBeh_RnY.js");
7
7
  let node_path = require("node:path");
8
8
  node_path = require_chunk.__toESM(node_path);
9
9
  let node_fs_promises = require("node:fs/promises");
@@ -1,4 +1,4 @@
1
- import { $ as settingsStoreCapability, Ot as parseJsonObject, ct as BaseAddon, f as StorageLocationTypeSchema, tt as storageCapability } from "../../dist-BXS0DP92.mjs";
1
+ import { $ as settingsStoreCapability, Ot as parseJsonObject, ct as BaseAddon, f as StorageLocationTypeSchema, tt as storageCapability } from "../../dist-BpVtesRV.mjs";
2
2
  import * as path$1 from "node:path";
3
3
  import * as fs from "node:fs/promises";
4
4
  import { buildStorageLocationRegistry } from "@camstack/system";
@@ -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-Cj0LAuXi.js");
6
+ const require_dist = require("../../dist-DBeh_RnY.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 { Tt as hydrateSchema, ct as BaseAddon, st as errMsg } from "../../dist-BXS0DP92.mjs";
1
+ import { Tt as hydrateSchema, ct as BaseAddon, st as errMsg } from "../../dist-BpVtesRV.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-Cj0LAuXi.js");
6
+ const require_dist = require("../../dist-DBeh_RnY.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 { H as logDestinationCapability, ct as BaseAddon } from "../../dist-BXS0DP92.mjs";
1
+ import { H as logDestinationCapability, ct as BaseAddon } from "../../dist-BpVtesRV.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";
@@ -18132,6 +18132,11 @@ var EventKindDescriptorSchema = z.object({
18132
18132
  deviceId: z.number()
18133
18133
  })
18134
18134
  });
18135
+ /** One camera's event vocabulary, as returned by `listEventKindsBatch`. */
18136
+ var EventKindsForDeviceSchema = z.object({
18137
+ deviceId: z.number(),
18138
+ kinds: z.array(EventKindDescriptorSchema).readonly()
18139
+ });
18135
18140
  var SensorEventSchema = z.object({
18136
18141
  id: z.string(),
18137
18142
  /** The CAMERA the event is attributed to (a sensor linked to N cameras
@@ -18396,6 +18401,19 @@ var MediaFileSchema = z.object({
18396
18401
  sizeBytes: z.number(),
18397
18402
  timestamp: z.number()
18398
18403
  });
18404
+ /**
18405
+ * One media row WITHOUT its bytes.
18406
+ *
18407
+ * A track's media is 5-8 MB of base64 (measured: 7.67 MB across 23 files for a
18408
+ * 140 s track), and a client that renders tiles from the media data plane needs
18409
+ * to know only WHAT EXISTS — the bytes then arrive per tile, lazily, over HTTP
18410
+ * with an immutable cache, instead of all at once inside a tRPC response that
18411
+ * blocks the whole view.
18412
+ *
18413
+ * `sizeBytes` is carried because it is what lets a client decide between the
18414
+ * stored blob and a `?variant=thumb` rendering without fetching either.
18415
+ */
18416
+ var MediaFileInfoSchema = MediaFileSchema.omit({ base64: true });
18399
18417
  var DEFAULT_EVENT_QUERY_LIMIT = 1e3;
18400
18418
  var MAX_EVENT_QUERY_LIMIT = 5e3;
18401
18419
  var DeviceEventQueryInput = z.object({
@@ -18583,6 +18601,25 @@ var pipelineAnalyticsCapability = {
18583
18601
  */
18584
18602
  listEventKinds: method(z.object({ deviceId: z.number() }), z.array(EventKindDescriptorSchema).readonly()),
18585
18603
  /**
18604
+ * The same answer for many cameras in ONE call.
18605
+ *
18606
+ * `listEventKinds` is the slowest per-device query on the hub — measured
18607
+ * at ~100 ms against 6-11 ms for its neighbours — because composing it
18608
+ * costs a `getCameraStatus`, a `getLinkedDevices` and one `getBindings`
18609
+ * per linked device. The viewer asks for it once per camera at first
18610
+ * paint, so twelve cameras paid twelve of those round-trips on top of the
18611
+ * per-camera cost.
18612
+ *
18613
+ * Batched, the camera statuses come from ONE `getCameraStatuses` instead
18614
+ * of N, and the per-device composition runs concurrently.
18615
+ *
18616
+ * Per-device rather than pre-merged on purpose: a caller that renders one
18617
+ * camera's lanes needs to know WHICH camera a kind came from, and merging
18618
+ * is three lines the caller can do. `listEventKinds` stays for
18619
+ * single-device callers.
18620
+ */
18621
+ listEventKindsBatch: method(z.object({ deviceIds: z.array(z.number()).min(1).max(200) }), z.array(EventKindsForDeviceSchema).readonly()),
18622
+ /**
18586
18623
  * Sensor-event history for a camera: state changes of LINKED sensor
18587
18624
  * devices, attributed to the camera at ingest time (one row per linked
18588
18625
  * camera). Mirrors `getAudioEvents` query semantics; `kinds` narrows to
@@ -18756,6 +18793,22 @@ var pipelineAnalyticsCapability = {
18756
18793
  kinds: z.array(MediaFileKindEnum).optional()
18757
18794
  }), z.array(MediaFileSchema).readonly()),
18758
18795
  /**
18796
+ * What media a track HAS, without any of it.
18797
+ *
18798
+ * The detail view needs the shape of a track's media to build its strip —
18799
+ * which kinds exist, in what order, at what size — and then wants each tile
18800
+ * fetched as an image, not as base64 inside this response. Measured: the
18801
+ * full `getTrackMedia` is 5.3-7.7 MB and blocks the view; this manifest is
18802
+ * ~2 KB.
18803
+ *
18804
+ * It also restores a fact a `kinds` filter destroys: filtering
18805
+ * `getTrackMedia` drops whole ROWS, taking `kind` and `sizeBytes` with
18806
+ * them, so a client that fetched only the small variants could no longer
18807
+ * tell a full-resolution variant existed — and the affordance that opens it
18808
+ * would silently disappear.
18809
+ */
18810
+ listTrackMedia: method(z.object({ trackId: z.string() }), z.array(MediaFileInfoSchema).readonly()),
18811
+ /**
18759
18812
  * Search object events by text query using CLIP cosine similarity.
18760
18813
  * Encodes `text` via the `embedding-encoder` cap, queries the
18761
18814
  * `ObjectEmbeddingStore` with optional prefilters, ranks all matching
@@ -27601,6 +27654,12 @@ var METHOD_ACCESS_MAP = Object.freeze({
27601
27654
  addonId: null,
27602
27655
  access: "view"
27603
27656
  },
27657
+ "pipelineAnalytics.listEventKindsBatch": {
27658
+ capName: "pipeline-analytics",
27659
+ capScope: "device",
27660
+ addonId: null,
27661
+ access: "view"
27662
+ },
27604
27663
  "pipelineAnalytics.listOpsLog": {
27605
27664
  capName: "pipeline-analytics",
27606
27665
  capScope: "device",
@@ -27613,6 +27672,12 @@ var METHOD_ACCESS_MAP = Object.freeze({
27613
27672
  addonId: null,
27614
27673
  access: "view"
27615
27674
  },
27675
+ "pipelineAnalytics.listTrackMedia": {
27676
+ capName: "pipeline-analytics",
27677
+ capScope: "device",
27678
+ addonId: null,
27679
+ access: "view"
27680
+ },
27616
27681
  "pipelineAnalytics.listTracks": {
27617
27682
  capName: "pipeline-analytics",
27618
27683
  capScope: "device",
@@ -18132,6 +18132,11 @@ var EventKindDescriptorSchema = zod.z.object({
18132
18132
  deviceId: zod.z.number()
18133
18133
  })
18134
18134
  });
18135
+ /** One camera's event vocabulary, as returned by `listEventKindsBatch`. */
18136
+ var EventKindsForDeviceSchema = zod.z.object({
18137
+ deviceId: zod.z.number(),
18138
+ kinds: zod.z.array(EventKindDescriptorSchema).readonly()
18139
+ });
18135
18140
  var SensorEventSchema = zod.z.object({
18136
18141
  id: zod.z.string(),
18137
18142
  /** The CAMERA the event is attributed to (a sensor linked to N cameras
@@ -18396,6 +18401,19 @@ var MediaFileSchema = zod.z.object({
18396
18401
  sizeBytes: zod.z.number(),
18397
18402
  timestamp: zod.z.number()
18398
18403
  });
18404
+ /**
18405
+ * One media row WITHOUT its bytes.
18406
+ *
18407
+ * A track's media is 5-8 MB of base64 (measured: 7.67 MB across 23 files for a
18408
+ * 140 s track), and a client that renders tiles from the media data plane needs
18409
+ * to know only WHAT EXISTS — the bytes then arrive per tile, lazily, over HTTP
18410
+ * with an immutable cache, instead of all at once inside a tRPC response that
18411
+ * blocks the whole view.
18412
+ *
18413
+ * `sizeBytes` is carried because it is what lets a client decide between the
18414
+ * stored blob and a `?variant=thumb` rendering without fetching either.
18415
+ */
18416
+ var MediaFileInfoSchema = MediaFileSchema.omit({ base64: true });
18399
18417
  var DEFAULT_EVENT_QUERY_LIMIT = 1e3;
18400
18418
  var MAX_EVENT_QUERY_LIMIT = 5e3;
18401
18419
  var DeviceEventQueryInput = zod.z.object({
@@ -18583,6 +18601,25 @@ var pipelineAnalyticsCapability = {
18583
18601
  */
18584
18602
  listEventKinds: method(zod.z.object({ deviceId: zod.z.number() }), zod.z.array(EventKindDescriptorSchema).readonly()),
18585
18603
  /**
18604
+ * The same answer for many cameras in ONE call.
18605
+ *
18606
+ * `listEventKinds` is the slowest per-device query on the hub — measured
18607
+ * at ~100 ms against 6-11 ms for its neighbours — because composing it
18608
+ * costs a `getCameraStatus`, a `getLinkedDevices` and one `getBindings`
18609
+ * per linked device. The viewer asks for it once per camera at first
18610
+ * paint, so twelve cameras paid twelve of those round-trips on top of the
18611
+ * per-camera cost.
18612
+ *
18613
+ * Batched, the camera statuses come from ONE `getCameraStatuses` instead
18614
+ * of N, and the per-device composition runs concurrently.
18615
+ *
18616
+ * Per-device rather than pre-merged on purpose: a caller that renders one
18617
+ * camera's lanes needs to know WHICH camera a kind came from, and merging
18618
+ * is three lines the caller can do. `listEventKinds` stays for
18619
+ * single-device callers.
18620
+ */
18621
+ listEventKindsBatch: method(zod.z.object({ deviceIds: zod.z.array(zod.z.number()).min(1).max(200) }), zod.z.array(EventKindsForDeviceSchema).readonly()),
18622
+ /**
18586
18623
  * Sensor-event history for a camera: state changes of LINKED sensor
18587
18624
  * devices, attributed to the camera at ingest time (one row per linked
18588
18625
  * camera). Mirrors `getAudioEvents` query semantics; `kinds` narrows to
@@ -18756,6 +18793,22 @@ var pipelineAnalyticsCapability = {
18756
18793
  kinds: zod.z.array(MediaFileKindEnum).optional()
18757
18794
  }), zod.z.array(MediaFileSchema).readonly()),
18758
18795
  /**
18796
+ * What media a track HAS, without any of it.
18797
+ *
18798
+ * The detail view needs the shape of a track's media to build its strip —
18799
+ * which kinds exist, in what order, at what size — and then wants each tile
18800
+ * fetched as an image, not as base64 inside this response. Measured: the
18801
+ * full `getTrackMedia` is 5.3-7.7 MB and blocks the view; this manifest is
18802
+ * ~2 KB.
18803
+ *
18804
+ * It also restores a fact a `kinds` filter destroys: filtering
18805
+ * `getTrackMedia` drops whole ROWS, taking `kind` and `sizeBytes` with
18806
+ * them, so a client that fetched only the small variants could no longer
18807
+ * tell a full-resolution variant existed — and the affordance that opens it
18808
+ * would silently disappear.
18809
+ */
18810
+ listTrackMedia: method(zod.z.object({ trackId: zod.z.string() }), zod.z.array(MediaFileInfoSchema).readonly()),
18811
+ /**
18759
18812
  * Search object events by text query using CLIP cosine similarity.
18760
18813
  * Encodes `text` via the `embedding-encoder` cap, queries the
18761
18814
  * `ObjectEmbeddingStore` with optional prefilters, ranks all matching
@@ -27601,6 +27654,12 @@ var METHOD_ACCESS_MAP = Object.freeze({
27601
27654
  addonId: null,
27602
27655
  access: "view"
27603
27656
  },
27657
+ "pipelineAnalytics.listEventKindsBatch": {
27658
+ capName: "pipeline-analytics",
27659
+ capScope: "device",
27660
+ addonId: null,
27661
+ access: "view"
27662
+ },
27604
27663
  "pipelineAnalytics.listOpsLog": {
27605
27664
  capName: "pipeline-analytics",
27606
27665
  capScope: "device",
@@ -27613,6 +27672,12 @@ var METHOD_ACCESS_MAP = Object.freeze({
27613
27672
  addonId: null,
27614
27673
  access: "view"
27615
27674
  },
27675
+ "pipelineAnalytics.listTrackMedia": {
27676
+ capName: "pipeline-analytics",
27677
+ capScope: "device",
27678
+ addonId: null,
27679
+ access: "view"
27680
+ },
27616
27681
  "pipelineAnalytics.listTracks": {
27617
27682
  capName: "pipeline-analytics",
27618
27683
  capScope: "device",
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-Cj0LAuXi.js");
3
+ const require_dist = require("./dist-DBeh_RnY.js");
4
4
  const require_model_download_service = require("./model-download-service-hf0ookyy.js");
5
5
  const require_manifest_python_deps = require("./manifest-python-deps-BqE5j0-O.js");
6
6
  const require_resource_monitor = require("./resource-monitor-DNNomR-i.js");
package/dist/index.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  import { a as __toCommonJS, i as __require, n as __esmMin, o as __toESM$1, r as __exportAll, t as __commonJSMin$1 } from "./chunk-CNf5ZN-e.mjs";
2
- import { At as readinessKey, B as lifecycleJobSchema, F as isArrayOutputSchema, I as isCollectionArrayMethod, L as isObjectInput, M as extractNestedAddonId, Mt as scopeKey, Ot as parseJsonObject, Pt as EventCategory$1, R as isVoidInput, St as emitDownForOwnedCaps, U as logLevelAtMost, W as looseSchema, X as procedureAuthKey, bt as asString$1, c as METHOD_ACCESS_MAP, dt as DEVICE_STATUS_METHOD, gt as ReadinessTimeoutError, h as addonSettingsCapability, ht as ReadinessRegistry, jt as resolveCapMount, kt as parseJsonUnknown$1, l as RUNTIME_DEFAULTS, lt as DATAPLANE_SECRET_HEADER$1, q as objectInputDeclaresAddonId, st as errMsg$1, t as ALL_CAPABILITY_DEFINITIONS, ut as DEVICE_SETTINGS_CONTRIBUTION_METHODS, vt as asJsonObject$1, wt as expandCapMethods, xt as createEvent, yt as asNumber, z as kebabToCamel } from "./dist-BXS0DP92.mjs";
2
+ import { At as readinessKey, B as lifecycleJobSchema, F as isArrayOutputSchema, I as isCollectionArrayMethod, L as isObjectInput, M as extractNestedAddonId, Mt as scopeKey, Ot as parseJsonObject, Pt as EventCategory$1, R as isVoidInput, St as emitDownForOwnedCaps, U as logLevelAtMost, W as looseSchema, X as procedureAuthKey, bt as asString$1, c as METHOD_ACCESS_MAP, dt as DEVICE_STATUS_METHOD, gt as ReadinessTimeoutError, h as addonSettingsCapability, ht as ReadinessRegistry, jt as resolveCapMount, kt as parseJsonUnknown$1, l as RUNTIME_DEFAULTS, lt as DATAPLANE_SECRET_HEADER$1, q as objectInputDeclaresAddonId, st as errMsg$1, t as ALL_CAPABILITY_DEFINITIONS, ut as DEVICE_SETTINGS_CONTRIBUTION_METHODS, vt as asJsonObject$1, wt as expandCapMethods, xt as createEvent, yt as asNumber, z as kebabToCamel } from "./dist-BpVtesRV.mjs";
3
3
  import { a as downloadModel, c as getModelFilePath, d as contentTypeFor, f as createAuthenticatedFileServer, h as resolveFilePath, i as downloadFile, l as isModelDownloaded, m as parseTokenizedUrl, n as collectModelFiles, o as ensureModel, p as parseRangeHeader, r as deleteModelFromDisk, s as fetchJson, t as ModelDownloadService, u as createFileDataPlaneHandler } from "./model-download-service-Cp9f4dk6.mjs";
4
4
  import { $ as buildNativeCapProxy, A as createHubCapForwardService, B as AGENT_CAP_FWD_ACTION, C as brokerTransportLink, Ct as resolveAddonClass, D as localProviderLink, E as ipcParentLink, F as createUdsLogger, G as callWithServiceDiscovery, H as CapRouteResolver, I as createUdsLoggerWithControl, J as UdsLocalTransportServer, K as createLocalTransport, L as LocalChildClient, M as createUdsEventBridge, N as createUdsEventBus, O as HUB_CAP_FWD_ACTION, P as udsChildLogToWorkerEntry, Q as encodeFrame, R as LocalChildRegistry, S as brokerCallForCap, St as runNpm, T as ipcChildLink, U as CapRouteError, V as AGENT_CAP_FWD_SERVICE, W as classifyCapRoute, X as localEndpointPath, Y as SocketChannel, Z as FrameDecoder, _ as createKernelHwAccel, _t as CapabilityHandle, a as getWorkerDeviceRegistry, b as __resetCapUsageRegistryForTests, bt as installManifestNativeDeps, c as setHubConnected, ct as NATIVE_PROVIDER_SERVICE_INFIX, d as getBrokerEventBus, dt as capBareAction, et as buildUdsNativeCapProxy, f as getMoleculerEventStats, ft as capServiceName, g as AddonDepsManager, gt as DeviceRegistry, h as subscribePassthrough, ht as serializeTypedArrays, i as createUdsAddonContext, it as mountNativeCapService, j as createParentUnownedCallHandler, k as HUB_CAP_FWD_SERVICE, l as EVENT_TOPIC_PREFIX, lt as capActionName, m as setNodeEventInterest, mt as deserializeTypedArrays, n as adaptBrokerToCluster, o as getOrInitReadinessRegistry, ot as createAddonService, p as registerEventBusService, pt as parseCapAction, q as UdsLocalTransportClient, r as createAddonContext, s as getOrInitReadinessRegistryForClient, st as validateProviderRegistrations, t as installManifestPythonDeps, tt as createBrokerDeviceManagerApi, u as clusterEventTopic, ut as capActionSuffix, v as resolveHwAccel, vt as CapabilityUnavailableError, w as buildLinkChain, wt as createAddonDataPlaneFacility, x as getCapUsageRegistry, xt as resolveNpmInvocation, y as CapUsageRegistry, yt as copyBundledNativeModules, z as UDS_NO_ROUTE_PREFIX } from "./manifest-python-deps-Ck4-9K9m.mjs";
5
5
  import { n as getSinglePidStats, t as getPidStats } from "./resource-monitor-BkP504Vq.mjs";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/system",
3
- "version": "1.2.40",
3
+ "version": "1.2.42",
4
4
  "description": "Core addon for CamStack — builtins, pipeline, process management, auth, logging, events",
5
5
  "keywords": [
6
6
  "camstack",