@camstack/addon-post-analysis 1.2.242 → 1.2.244

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.
@@ -5359,7 +5359,7 @@ var ZodIssueCode = {
5359
5359
  var ZodFirstPartyTypeKind;
5360
5360
  ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
5361
5361
  //#endregion
5362
- //#region ../types/dist/sleep-BEyvfshj.mjs
5362
+ //#region ../types/dist/sleep-B9qx0cEV.mjs
5363
5363
  /**
5364
5364
  * The audio chunk plane's byte format, and the ONE expansion from a coded
5365
5365
  * window to float samples (D455).
@@ -7303,6 +7303,28 @@ var DeviceRole = /* @__PURE__ */ function(DeviceRole) {
7303
7303
  DeviceRole["GenericNotifier"] = "generic-notifier";
7304
7304
  return DeviceRole;
7305
7305
  }({});
7306
+ /**
7307
+ * Identity — preserves literal types for downstream inference.
7308
+ *
7309
+ * The constraint is `Record<string, unknown>` (not `CustomActionsSpec`) so
7310
+ * TypeScript does not widen each entry's literal `kind`/`auth` fields to
7311
+ * the broader unions declared on `CustomActionSpec`'s default generics.
7312
+ * Shape validity is enforced separately by the `customAction(...)` helper
7313
+ * whose return type is already a `CustomActionSpec<...>`.
7314
+ */
7315
+ function defineCustomActions(spec) {
7316
+ return spec;
7317
+ }
7318
+ function customAction(input, output, options) {
7319
+ return {
7320
+ input,
7321
+ output,
7322
+ kind: options?.kind ?? "query",
7323
+ auth: options?.auth ?? "protected",
7324
+ scope: options?.scope ?? { kind: "system" },
7325
+ ...options?.caller ? { caller: "required" } : {}
7326
+ };
7327
+ }
7306
7328
  var StaticDirOutputSchema = object({ staticDir: string() });
7307
7329
  var VersionOutputSchema = object({ version: string() });
7308
7330
  method(_void(), StaticDirOutputSchema, { auth: "admin" }), method(_void(), VersionOutputSchema, { auth: "admin" });
@@ -12146,6 +12168,21 @@ var streamSignalsCapability = {
12146
12168
  mode: "singleton",
12147
12169
  deviceTypes: Object.values(DeviceType),
12148
12170
  runtimeState: StreamSignalsStatusSchema,
12171
+ /**
12172
+ * Runtime-state durability: **session** — mirrored in RAM, never written.
12173
+ *
12174
+ * The slice holds what the DEVICE says it can emit. That is a probed fact,
12175
+ * not an operator choice: the provider re-declares it on every registration,
12176
+ * so losing it loses nothing and persisting it would freeze an answer the
12177
+ * camera is entitled to change. Measured the same day on the sibling case —
12178
+ * `native-object-detection.supportedClasses` was persisted, and a firmware
12179
+ * class the camera really detected stayed missing for the life of the row
12180
+ * because the fix could not reach it.
12181
+ *
12182
+ * See `RuntimeStateDurability`. Enforced by
12183
+ * `scripts/check-runtime-state-durability.ts`.
12184
+ */
12185
+ durability: "session",
12149
12186
  methods: {
12150
12187
  /**
12151
12188
  * What this device can emit. Empty is a valid and common answer — most
@@ -13124,28 +13161,6 @@ method(object({}), object({ blocks: array(CoreBlockSchema) }), { auth: "admin" }
13124
13161
  content: string()
13125
13162
  })) }), { auth: "admin" });
13126
13163
  /**
13127
- * Identity — preserves literal types for downstream inference.
13128
- *
13129
- * The constraint is `Record<string, unknown>` (not `CustomActionsSpec`) so
13130
- * TypeScript does not widen each entry's literal `kind`/`auth` fields to
13131
- * the broader unions declared on `CustomActionSpec`'s default generics.
13132
- * Shape validity is enforced separately by the `customAction(...)` helper
13133
- * whose return type is already a `CustomActionSpec<...>`.
13134
- */
13135
- function defineCustomActions(spec) {
13136
- return spec;
13137
- }
13138
- function customAction(input, output, options) {
13139
- return {
13140
- input,
13141
- output,
13142
- kind: options?.kind ?? "query",
13143
- auth: options?.auth ?? "protected",
13144
- scope: options?.scope ?? { kind: "system" },
13145
- ...options?.caller ? { caller: "required" } : {}
13146
- };
13147
- }
13148
- /**
13149
13164
  * `custom-model-registry` — collection cap exposing operator-registered
13150
13165
  * custom detection models. Each provider (today: `addon-model-studio`)
13151
13166
  * contributes a list of `CustomModelDescriptor`s; the hub auto-concatenates
@@ -46398,4 +46413,4 @@ function vectorDimFromBase64(encoded) {
46398
46413
  return Math.floor(Buffer.from(encoded, "base64").byteLength / 4);
46399
46414
  }
46400
46415
  //#endregion
46401
- export { TimelapseRuleSchema as $, boolean as $t, NcConditionDescriptorSchema as A, plateGalleryCapability as At, NcTaxonomySchema as B, videoclipsCapability as Bt, MOTION_CLOSE_AFTER_MS as C, isSourceCap as Ct, NC_DEFAULT_SNOOZE_MINUTES as D, parseProcStatus as Dt, NC_CONDITION_CATALOG as E, notificationRulesCapability as Et, NcScheduleSchema as F, sceneMonitorCapability as Ft, SCENE_CONFIRM_DEFAULT_TIMEOUT_MS as G, DeviceType as Gt, PoolMemoryWatchdog as H, errMsg as Ht, NcSnoozeInputSchema as I, storageOccupancyCapability as It, SCENE_DIVERGED as J, isDeviceScopedCap as Jt, SCENE_DEFAULT_ANCHOR_THRESHOLD as K, createEvent as Kt, NcSnoozeSchema as L, subKindsOf as Lt, NcRulePatchSchema as M, readTimelapseGeneratedAt as Mt, NcRuleSchema as N, resolveLocationMode as Nt, NC_SNOOZE_MAX_MINUTES as O, pickClusterStepModels as Ot, NcRuleTargetSchema as P, resolvePoolMemoryPolicy as Pt, TimelapseRulePatchSchema as Q, array as Qt, NcSnoozeSuppressedSchema as R, systemEventFilterApplies as Rt, MAX_BIRTH_LATENCY_PROXY_MS as S, isScheduleActive as St, NC_ALARM_SYSTEM_EVENT_KINDS as T, mayWriteToLocation as Tt, RECORDING_EXPORT_MAX_READ_BYTES as U, BaseAddon as Ut, OpsLogEntrySchema as V, zoneAnalyticsCapability as Vt, RetrainStatusSchema as W, CamProfileSchema as Wt, TIMELAPSE_DENSE_FLOOR_SEC as X, sleep as Xt, SceneMonitorSchema as Y, nodePin as Yt, TimelapseRuleInputSchema as Z, _enum as Zt, FULL_IMAGE_BBOX as _, failureContributionCapability as _t, CLUSTER_MODEL_SCOPED_STEPS as a, record as an, audioMetricsCapability as at, MAX_ARCHIVED_DEBUG_NOTES as b, isEventOwnerType as bt, DEFAULT_FIRST_SIGHTING_FRESHNESS_MS as c, EventCategory as cn, cosineSimilarity as ct, DETECTION_PIPELINE_CAP_NAME as d, deriveRecordingMode as dt, discriminatedUnion as en, TrackSourceSchema as et, DeclaredDevices as f, embeddingEncoderCapability as ft, FIRST_LEVEL_MACRO_CLASSES as g, faceGalleryCapability as gt, EVENT_PAD_MS as h, evictionPolicyOfLocation as ht, BirthDecisionRecordSchema as i, partialRecord as in, assertTimelapseCadences as it, NcRuleInputSchema as j, readDeviceStateFrom as jt, NC_TAXONOMY as k, pipelineAnalyticsCapability as kt, DEFAULT_TIMELAPSE_PREVIEW_TEXT as l, customAction as lt, EVENT_OWNER_TYPES as m, evaluateSensorEdge as mt, ArchivedDebugNoteSchema as n, number as nn, addonWidgetsSourceCapability as nt, COCO_TO_MACRO as o, string as on, audioModeOf as ot, EVENT_KIND_BY_CAP as p, encodeVectorBase64 as pt, SCENE_DEFAULT_UNCOVERED_POLICY as q, hydrateSchema as qt, BaseDevice as r, object as rn, alarmPanelCapability as rt, DEFAULT_EVENT_COLOR as s, unknown as sn, buildEventKindDescriptor as st, AUDIO_MACRO_LABELS as t, literal as tn, VISIT_MERGE_GAP_MS as tt, DETECTION_MACRO_CLASSES as u, defineCustomActions as ut, FailureCounters as v, hfModelUrl as vt, MediaFileKindEnum as w, kebabToCamel as wt, MAX_BIRTH_DECISION_RECORDS as x, isMediaOwnerType as xt, LabelAttributionSchema as y, isDetectionMacroClass as yt, NcSystemEventKindSchema as z, vectorDimFromBase64 as zt };
46416
+ export { TimelapseRuleSchema as $, boolean as $t, NcConditionDescriptorSchema as A, readTimelapseGeneratedAt as At, NcTaxonomySchema as B, errMsg as Bt, MOTION_CLOSE_AFTER_MS as C, mayWriteToLocation as Ct, NC_DEFAULT_SNOOZE_MINUTES as D, pipelineAnalyticsCapability as Dt, NC_CONDITION_CATALOG as E, pickClusterStepModels as Et, NcScheduleSchema as F, subKindsOf as Ft, SCENE_CONFIRM_DEFAULT_TIMEOUT_MS as G, customAction as Gt, PoolMemoryWatchdog as H, CamProfileSchema as Ht, NcSnoozeInputSchema as I, systemEventFilterApplies as It, SCENE_DIVERGED as J, isDeviceScopedCap as Jt, SCENE_DEFAULT_ANCHOR_THRESHOLD as K, defineCustomActions as Kt, NcSnoozeSchema as L, vectorDimFromBase64 as Lt, NcRulePatchSchema as M, resolvePoolMemoryPolicy as Mt, NcRuleSchema as N, sceneMonitorCapability as Nt, NC_SNOOZE_MAX_MINUTES as O, plateGalleryCapability as Ot, NcRuleTargetSchema as P, storageOccupancyCapability as Pt, TimelapseRulePatchSchema as Q, array as Qt, NcSnoozeSuppressedSchema as R, videoclipsCapability as Rt, MAX_BIRTH_LATENCY_PROXY_MS as S, kebabToCamel as St, NC_ALARM_SYSTEM_EVENT_KINDS as T, parseProcStatus as Tt, RECORDING_EXPORT_MAX_READ_BYTES as U, DeviceType as Ut, OpsLogEntrySchema as V, BaseAddon as Vt, RetrainStatusSchema as W, createEvent as Wt, TIMELAPSE_DENSE_FLOOR_SEC as X, sleep as Xt, SceneMonitorSchema as Y, nodePin as Yt, TimelapseRuleInputSchema as Z, _enum as Zt, FULL_IMAGE_BBOX as _, isDetectionMacroClass as _t, CLUSTER_MODEL_SCOPED_STEPS as a, record as an, audioMetricsCapability as at, MAX_ARCHIVED_DEBUG_NOTES as b, isScheduleActive as bt, DEFAULT_FIRST_SIGHTING_FRESHNESS_MS as c, EventCategory as cn, cosineSimilarity as ct, DETECTION_PIPELINE_CAP_NAME as d, encodeVectorBase64 as dt, discriminatedUnion as en, TrackSourceSchema as et, DeclaredDevices as f, evaluateSensorEdge as ft, FIRST_LEVEL_MACRO_CLASSES as g, hfModelUrl as gt, EVENT_PAD_MS as h, failureContributionCapability as ht, BirthDecisionRecordSchema as i, partialRecord as in, assertTimelapseCadences as it, NcRuleInputSchema as j, resolveLocationMode as jt, NC_TAXONOMY as k, readDeviceStateFrom as kt, DEFAULT_TIMELAPSE_PREVIEW_TEXT as l, deriveRecordingMode as lt, EVENT_OWNER_TYPES as m, faceGalleryCapability as mt, ArchivedDebugNoteSchema as n, number as nn, addonWidgetsSourceCapability as nt, COCO_TO_MACRO as o, string as on, audioModeOf as ot, EVENT_KIND_BY_CAP as p, evictionPolicyOfLocation as pt, SCENE_DEFAULT_UNCOVERED_POLICY as q, hydrateSchema as qt, BaseDevice as r, object as rn, alarmPanelCapability as rt, DEFAULT_EVENT_COLOR as s, unknown as sn, buildEventKindDescriptor as st, AUDIO_MACRO_LABELS as t, literal as tn, VISIT_MERGE_GAP_MS as tt, DETECTION_MACRO_CLASSES as u, embeddingEncoderCapability as ut, FailureCounters as v, isEventOwnerType as vt, MediaFileKindEnum as w, notificationRulesCapability as wt, MAX_BIRTH_DECISION_RECORDS as x, isSourceCap as xt, LabelAttributionSchema as y, isMediaOwnerType as yt, NcSystemEventKindSchema as z, zoneAnalyticsCapability as zt };
@@ -5390,7 +5390,7 @@ var ZodIssueCode = {
5390
5390
  var ZodFirstPartyTypeKind;
5391
5391
  ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
5392
5392
  //#endregion
5393
- //#region ../types/dist/sleep-BEyvfshj.mjs
5393
+ //#region ../types/dist/sleep-B9qx0cEV.mjs
5394
5394
  /**
5395
5395
  * The audio chunk plane's byte format, and the ONE expansion from a coded
5396
5396
  * window to float samples (D455).
@@ -7334,6 +7334,28 @@ var DeviceRole = /* @__PURE__ */ function(DeviceRole) {
7334
7334
  DeviceRole["GenericNotifier"] = "generic-notifier";
7335
7335
  return DeviceRole;
7336
7336
  }({});
7337
+ /**
7338
+ * Identity — preserves literal types for downstream inference.
7339
+ *
7340
+ * The constraint is `Record<string, unknown>` (not `CustomActionsSpec`) so
7341
+ * TypeScript does not widen each entry's literal `kind`/`auth` fields to
7342
+ * the broader unions declared on `CustomActionSpec`'s default generics.
7343
+ * Shape validity is enforced separately by the `customAction(...)` helper
7344
+ * whose return type is already a `CustomActionSpec<...>`.
7345
+ */
7346
+ function defineCustomActions(spec) {
7347
+ return spec;
7348
+ }
7349
+ function customAction(input, output, options) {
7350
+ return {
7351
+ input,
7352
+ output,
7353
+ kind: options?.kind ?? "query",
7354
+ auth: options?.auth ?? "protected",
7355
+ scope: options?.scope ?? { kind: "system" },
7356
+ ...options?.caller ? { caller: "required" } : {}
7357
+ };
7358
+ }
7337
7359
  var StaticDirOutputSchema = object({ staticDir: string() });
7338
7360
  var VersionOutputSchema = object({ version: string() });
7339
7361
  method(_void(), StaticDirOutputSchema, { auth: "admin" }), method(_void(), VersionOutputSchema, { auth: "admin" });
@@ -12177,6 +12199,21 @@ var streamSignalsCapability = {
12177
12199
  mode: "singleton",
12178
12200
  deviceTypes: Object.values(DeviceType),
12179
12201
  runtimeState: StreamSignalsStatusSchema,
12202
+ /**
12203
+ * Runtime-state durability: **session** — mirrored in RAM, never written.
12204
+ *
12205
+ * The slice holds what the DEVICE says it can emit. That is a probed fact,
12206
+ * not an operator choice: the provider re-declares it on every registration,
12207
+ * so losing it loses nothing and persisting it would freeze an answer the
12208
+ * camera is entitled to change. Measured the same day on the sibling case —
12209
+ * `native-object-detection.supportedClasses` was persisted, and a firmware
12210
+ * class the camera really detected stayed missing for the life of the row
12211
+ * because the fix could not reach it.
12212
+ *
12213
+ * See `RuntimeStateDurability`. Enforced by
12214
+ * `scripts/check-runtime-state-durability.ts`.
12215
+ */
12216
+ durability: "session",
12180
12217
  methods: {
12181
12218
  /**
12182
12219
  * What this device can emit. Empty is a valid and common answer — most
@@ -13155,28 +13192,6 @@ method(object({}), object({ blocks: array(CoreBlockSchema) }), { auth: "admin" }
13155
13192
  content: string()
13156
13193
  })) }), { auth: "admin" });
13157
13194
  /**
13158
- * Identity — preserves literal types for downstream inference.
13159
- *
13160
- * The constraint is `Record<string, unknown>` (not `CustomActionsSpec`) so
13161
- * TypeScript does not widen each entry's literal `kind`/`auth` fields to
13162
- * the broader unions declared on `CustomActionSpec`'s default generics.
13163
- * Shape validity is enforced separately by the `customAction(...)` helper
13164
- * whose return type is already a `CustomActionSpec<...>`.
13165
- */
13166
- function defineCustomActions(spec) {
13167
- return spec;
13168
- }
13169
- function customAction(input, output, options) {
13170
- return {
13171
- input,
13172
- output,
13173
- kind: options?.kind ?? "query",
13174
- auth: options?.auth ?? "protected",
13175
- scope: options?.scope ?? { kind: "system" },
13176
- ...options?.caller ? { caller: "required" } : {}
13177
- };
13178
- }
13179
- /**
13180
13195
  * `custom-model-registry` — collection cap exposing operator-registered
13181
13196
  * custom detection models. Each provider (today: `addon-model-studio`)
13182
13197
  * contributes a list of `CustomModelDescriptor`s; the hub auto-concatenates
@@ -2,7 +2,7 @@ Object.defineProperties(exports, {
2
2
  __esModule: { value: true },
3
3
  [Symbol.toStringTag]: { value: "Module" }
4
4
  });
5
- const require_dist = require("../dist-DjW7k4lv.js");
5
+ const require_dist = require("../dist-DxZAf0Hs.js");
6
6
  let node_fs = require("node:fs");
7
7
  node_fs = require_dist.__toESM(node_fs);
8
8
  let node_path = require("node:path");
@@ -1,4 +1,4 @@
1
- import { Dt as parseProcStatus, H as PoolMemoryWatchdog, Pt as resolvePoolMemoryPolicy, Ut as BaseAddon, ft as embeddingEncoderCapability, vt as hfModelUrl } from "../dist-CCw4SKRp.mjs";
1
+ import { H as PoolMemoryWatchdog, Mt as resolvePoolMemoryPolicy, Tt as parseProcStatus, Vt as BaseAddon, gt as hfModelUrl, ut as embeddingEncoderCapability } from "../dist-C-1xTyB-.mjs";
2
2
  import { createRequire } from "node:module";
3
3
  import * as fs from "node:fs";
4
4
  import * as path$1 from "node:path";
@@ -18,7 +18,7 @@ var e = {
18
18
  },
19
19
  "@camstack/types": {
20
20
  name: "@camstack/types",
21
- version: "1.2.194",
21
+ version: "1.2.196",
22
22
  scope: ["default"],
23
23
  loaded: !1,
24
24
  from: "addon_pipeline_analytics_widgets",
@@ -33,7 +33,7 @@ var e = {
33
33
  },
34
34
  "@camstack/ui-library": {
35
35
  name: "@camstack/ui-library",
36
- version: "1.2.159",
36
+ version: "1.2.161",
37
37
  scope: ["default"],
38
38
  loaded: !1,
39
39
  from: "addon_pipeline_analytics_widgets",
@@ -36,7 +36,7 @@ async function r() {
36
36
  }
37
37
  },
38
38
  "@camstack/types": {
39
- version: "1.2.194",
39
+ version: "1.2.196",
40
40
  scope: "default",
41
41
  shareConfig: {
42
42
  singleton: !0,
@@ -81,7 +81,7 @@ async function r() {
81
81
  }
82
82
  },
83
83
  "@camstack/ui-library": {
84
- version: "1.2.159",
84
+ version: "1.2.161",
85
85
  scope: "default",
86
86
  shareConfig: {
87
87
  singleton: !0,