@camstack/addon-provider-rademacher 0.2.101 → 0.2.102

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 (3) hide show
  1. package/dist/addon.js +314 -12
  2. package/dist/addon.mjs +314 -12
  3. package/package.json +2 -2
package/dist/addon.js CHANGED
@@ -6345,7 +6345,7 @@ var ZodIssueCode = {
6345
6345
  var ZodFirstPartyTypeKind;
6346
6346
  ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
6347
6347
  //#endregion
6348
- //#region ../types/dist/sleep-DEuj7E3j.mjs
6348
+ //#region ../types/dist/sleep-BDR76Ykr.mjs
6349
6349
  /**
6350
6350
  * The audio chunk plane's byte format, and the ONE expansion from a coded
6351
6351
  * window to float samples (D455).
@@ -12547,6 +12547,21 @@ var streamSignalsCapability = {
12547
12547
  mode: "singleton",
12548
12548
  deviceTypes: Object.values(DeviceType),
12549
12549
  runtimeState: StreamSignalsStatusSchema,
12550
+ /**
12551
+ * Runtime-state durability: **session** — mirrored in RAM, never written.
12552
+ *
12553
+ * The slice holds what the DEVICE says it can emit. That is a probed fact,
12554
+ * not an operator choice: the provider re-declares it on every registration,
12555
+ * so losing it loses nothing and persisting it would freeze an answer the
12556
+ * camera is entitled to change. Measured the same day on the sibling case —
12557
+ * `native-object-detection.supportedClasses` was persisted, and a firmware
12558
+ * class the camera really detected stayed missing for the life of the row
12559
+ * because the fix could not reach it.
12560
+ *
12561
+ * See `RuntimeStateDurability`. Enforced by
12562
+ * `scripts/check-runtime-state-durability.ts`.
12563
+ */
12564
+ durability: "session",
12550
12565
  methods: {
12551
12566
  /**
12552
12567
  * What this device can emit. Empty is a valid and common answer — most
@@ -19161,6 +19176,48 @@ var NcAlarmConfigSchema = object({
19161
19176
  settings: NcAlarmSettingsSchema,
19162
19177
  coverage: array(NcAlarmModeCoverageSchema)
19163
19178
  });
19179
+ /**
19180
+ * ONE rule's demand on ONE camera's clip ring.
19181
+ *
19182
+ * A rule, not a camera: the broker takes the MAX over the asks that reach a
19183
+ * camera, so the answer stays a faithful description of the rules and the
19184
+ * bounding (the byte budget, the broker's own ceiling) stays where the cost
19185
+ * lives. A camera that appears in no ask is being told **nothing** — which is
19186
+ * a different thing from never having been told, and only the envelope
19187
+ * (`rulesLoaded`) can tell those apart.
19188
+ */
19189
+ var NcClipRetentionAskSchema = object({
19190
+ /**
19191
+ * The camera this ask is about. **Absent = every camera**, which is what a
19192
+ * rule with no `conditions.devices` means: it can fire anywhere, so it is
19193
+ * asking everywhere.
19194
+ */
19195
+ deviceId: number().int().nonnegative().optional(),
19196
+ /** Seconds of history the rule needs held for it. Never zero — a rule that
19197
+ * needs nothing produces no ask at all. */
19198
+ seconds: number().min(0).max(60),
19199
+ /** The profile the rule cuts from, when it named one. Absent = the cheapest
19200
+ * assigned, which is what the cut defaults to. */
19201
+ profile: CamProfileSchema.optional(),
19202
+ /** Who is asking — so a retention the operator did not expect names a rule. */
19203
+ ruleId: string(),
19204
+ ruleName: string(),
19205
+ /** Why this many seconds: the rule's own window, or the occupancy ceiling. */
19206
+ reason: _enum(["window", "occupancy"])
19207
+ });
19208
+ /**
19209
+ * The whole answer, with the one bit that keeps absence from reading as zero.
19210
+ *
19211
+ * `rulesLoaded` is false until the rule ledger has completed a load at least
19212
+ * once. A centre that is up but has not read its rules yet answers with an
19213
+ * empty ask list that means nothing at all — applying it would drop every
19214
+ * camera's ring to zero for the first events after a restart, which is the
19215
+ * footage this mechanism exists to keep.
19216
+ */
19217
+ var NcClipRetentionPlanSchema = object({
19218
+ rulesLoaded: boolean(),
19219
+ asks: array(NcClipRetentionAskSchema).readonly()
19220
+ });
19164
19221
  method(object({}), object({ rules: array(NcRuleSchema) }), { auth: "admin" }), method(object({ ruleId: string() }), object({ rule: NcRuleSchema.nullable() }), { auth: "admin" }), method(object({ rule: NcRuleInputSchema }), object({ rule: NcRuleSchema }), {
19165
19222
  kind: "mutation",
19166
19223
  auth: "admin",
@@ -19181,7 +19238,7 @@ method(object({}), object({ rules: array(NcRuleSchema) }), { auth: "admin" }), m
19181
19238
  }), object({ success: literal(true) }), {
19182
19239
  kind: "mutation",
19183
19240
  auth: "admin"
19184
- }), method(object({}), object({ mutedDeviceIds: array(number().int()).readonly() }), { auth: "admin" }), method(object({
19241
+ }), method(object({}), NcClipRetentionPlanSchema, { auth: "admin" }), method(object({}), object({ mutedDeviceIds: array(number().int()).readonly() }), { auth: "admin" }), method(object({
19185
19242
  deviceId: number().int(),
19186
19243
  muted: boolean()
19187
19244
  }), object({ success: literal(true) }), {
@@ -21755,6 +21812,33 @@ var RunReplayFrameProcessorResultSchema = object({ tracks: array(object({
21755
21812
  * solid is this track", cheaper than re-deriving it from a trajectory. */
21756
21813
  framesMatched: number().int()
21757
21814
  })).readonly() });
21815
+ /**
21816
+ * The long-term series a camera produces. A closed union so a typo cannot
21817
+ * invent one, and the ONE declaration of it — the addon's `AnalyticsLtsSeries`
21818
+ * is an alias of this, not a second list.
21819
+ */
21820
+ var AnalyticsLtsSeriesSchema = _enum([
21821
+ "motion",
21822
+ "audio-dbfs",
21823
+ "battery",
21824
+ "occupancy"
21825
+ ]);
21826
+ /**
21827
+ * One closed 5-minute bucket of a long-term series.
21828
+ *
21829
+ * `samples` is how many readings the bucket folded — it is the ACTIVITY for a
21830
+ * series like `motion`, and the confidence for one like `occupancy`. A bucket
21831
+ * that exists at all was measured; a bucket that is absent was not, which is a
21832
+ * different claim from zero and the reason this is a sparse series.
21833
+ */
21834
+ var LtsBucketSchema = object({
21835
+ scope: string(),
21836
+ bucketStart: number().int(),
21837
+ samples: number().int().nonnegative(),
21838
+ sum: number(),
21839
+ min: number(),
21840
+ max: number()
21841
+ });
21758
21842
  DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).readonly()), method(object({
21759
21843
  deviceId: number(),
21760
21844
  trackId: string()
@@ -21801,6 +21885,14 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
21801
21885
  kinds: array(string()).optional(),
21802
21886
  limit: number().int().min(1).max(MAX_EVENT_QUERY_LIMIT).default(DEFAULT_EVENT_QUERY_LIMIT)
21803
21887
  }), array(SensorEventSchema).readonly()), method(KeyEventQueryInput, array(KeyEventSchema).readonly()), method(KeyEventBatchQueryInput, array(KeyEventsForDeviceSchema).readonly()), method(object({
21888
+ deviceId: number(),
21889
+ series: AnalyticsLtsSeriesSchema,
21890
+ /** Omit for EVERY scope of this series in the range. */
21891
+ scope: string().optional(),
21892
+ from: number(),
21893
+ to: number(),
21894
+ limit: number().int().positive().optional()
21895
+ }), array(LtsBucketSchema).readonly()), method(object({
21804
21896
  deviceId: number(),
21805
21897
  since: number(),
21806
21898
  until: number(),
@@ -22419,6 +22511,14 @@ var MotionSourceEnum = _enum([
22419
22511
  */
22420
22512
  var MotionSourcesSchema = array(MotionSourceEnum);
22421
22513
  /**
22514
+ * Which root detectors a camera runs. Deliberately the SAME vocabulary
22515
+ * post-analysis already tags every detection with (`DetectionSource`) rather
22516
+ * than a second spelling of the same two ideas — the value an operator picks
22517
+ * here is the value that comes back on the track, the overlay and the debug
22518
+ * row.
22519
+ */
22520
+ var DetectionSourcesSchema = array(DetectionSourceSchema);
22521
+ /**
22422
22522
  * Input shape for `pipeline-runner.reportMotion` cap method. Exported
22423
22523
  * so cap-side consumers (the orchestrator forward, the runner addon's
22424
22524
  * cap implementation, tests) can reuse the type instead of redeclaring
@@ -22569,6 +22669,35 @@ var RunnerCameraConfigSchema = object({
22569
22669
  * events; the orchestrator forwards to `reportMotion`.
22570
22670
  */
22571
22671
  motionSources: MotionSourcesSchema.default(["analyzer"]),
22672
+ /**
22673
+ * WHICH root detector runs for this camera. The detection counterpart of
22674
+ * {@link motionSources}, same shape and same discipline: a per-camera list
22675
+ * of sources the system understands, vendor-agnostic, owned here.
22676
+ *
22677
+ * - `pipeline` — this runner's own root step on decoded pixels (`steps`).
22678
+ * - `onboard` — the CAMERA's own detector, admitted only when it is named
22679
+ * here. Its boxes reach post-analysis on the same
22680
+ * `PipelineInferenceResult` payload as the pipeline's, so an onboard-born
22681
+ * track gets the same tracker, the same overlay and the same detail
22682
+ * subtree (face / plate / embedding).
22683
+ *
22684
+ * `['onboard']` alone is the REPLACEMENT: this runner's root step does not
22685
+ * run, and that is where a camera with a usable onboard detector buys back
22686
+ * its share of the accelerator. It saves the root inference, not the decode
22687
+ * — the detail subtree still needs pixels to cut crops from.
22688
+ *
22689
+ * A camera whose onboard detections carry no geometry cannot serve as a root
22690
+ * step at all (there is nothing to track), and the cap that knows this says
22691
+ * so on `native-object-detection.getOptions().geometry`. On Reolink that is
22692
+ * every battery camera: the boxes ride a sub-stream a battery camera never
22693
+ * attaches, so such a camera stays on `['pipeline']` and its onboard AI is
22694
+ * worth exactly what it already is — a wake signal with a class.
22695
+ *
22696
+ * Defaults to `['pipeline']`, which is byte-for-byte today's behaviour: a
22697
+ * vendor never turns a detector on for the operator, and neither does a
22698
+ * default.
22699
+ */
22700
+ detectionSources: DetectionSourcesSchema.default(["pipeline"]),
22572
22701
  pipelineEnabled: boolean().default(true),
22573
22702
  /** Ordered tree of video steps. Absent → runner skips video detection. */
22574
22703
  steps: array(PipelineStepInputSchema).readonly().optional(),
@@ -22750,7 +22879,47 @@ var RunnerLocalMetricsSchema = object({
22750
22879
  queueDepth: number(),
22751
22880
  frameLazy: FrameLazyMetricsSchema.optional()
22752
22881
  });
22882
+ /**
22883
+ * Pipeline Runner capability — runtime detection workhorse.
22884
+ *
22885
+ * One instance per node. Receives camera assignments from
22886
+ * `addon-pipeline-orchestrator`, subscribes to the local stream-broker for
22887
+ * decoded frames, drains motion + detection queues, calls the local
22888
+ * `motion-detection` and `pipeline-executor` capabilities, and emits typed
22889
+ * `pipeline.inference-result` and `detection.motion-analysis` events on
22890
+ * the bus.
22891
+ *
22892
+ * Distinct from `pipeline-orchestrator` (the hub-side load balancer) — the
22893
+ * runner has zero knowledge of other agents, no global state, and never
22894
+ * makes assignment decisions itself.
22895
+ */
22896
+ /**
22897
+ * Why a runner declined to look at a camera out of band. Named rather than a
22898
+ * bare `false`: a camera asleep on battery (D173), one attached elsewhere, one
22899
+ * already mid-session and one already bursting are four different facts, and a
22900
+ * caller told only "no" cannot tell a protection from a bug.
22901
+ */
22902
+ var OccupancyBurstRefusalSchema = _enum([
22903
+ "not-attached",
22904
+ "battery-asleep",
22905
+ "not-watching",
22906
+ "already-bursting"
22907
+ ]);
22753
22908
  method(RunnerCameraConfigSchema, object({ success: literal(true) }), { kind: "mutation" }), method(object({ deviceId: number() }), object({ success: literal(true) }), { kind: "mutation" }), method(ReportMotionInputSchema, object({ success: literal(true) }), { kind: "mutation" }), method(_void(), RunnerLocalLoadSchema), method(_void(), RunnerLocalMetricsSchema), method(object({ deviceId: number() }), CameraMetricsSchema.nullable()), method(_void(), array(CameraMetricsWithDeviceIdSchema).readonly()), method(_void(), array(number()).readonly()), method(object({
22909
+ deviceId: number(),
22910
+ /** How many frames to collect. The caller sizes this against what its
22911
+ * own confirmation needs; the runner clamps it to the field's range. */
22912
+ frames: number().int().positive().optional(),
22913
+ /** Why, for the log. A burst nobody can attribute is a cost nobody can
22914
+ * defend — the periodic one at least has a timer to point at. */
22915
+ reason: string()
22916
+ }), object({
22917
+ started: boolean(),
22918
+ refusedBecause: OccupancyBurstRefusalSchema.optional()
22919
+ }), {
22920
+ auth: "admin",
22921
+ kind: "mutation"
22922
+ }), method(object({
22754
22923
  handle: FrameHandleSchema,
22755
22924
  bbox: NativeCropBboxSchema,
22756
22925
  maxWidth: number().int().positive().optional(),
@@ -29580,11 +29749,46 @@ var NativeObjectDetectionStatusSchema = object({
29580
29749
  supportedClasses: array(NativeObjectClassEnum).readonly(),
29581
29750
  /**
29582
29751
  * Whether forwarding of onboard AI detections is enabled for this device.
29583
- * Default FALSE (opt-in, cold-start) — onboard AI pushes are noisy/sparse and
29584
- * churn the tracker, so forwarding stays off until the operator enables it.
29752
+ *
29753
+ * Cold-start OFF on every camera. A vendor does not decide which detector a
29754
+ * camera runs — that is the operator's choice, and it is made where every
29755
+ * other detection choice is made. `geometry` on
29756
+ * {@link NativeObjectDetectionOptionsSchema} is how the form says what the
29757
+ * choice would buy this particular camera.
29585
29758
  */
29586
29759
  enabled: boolean()
29587
29760
  });
29761
+ /**
29762
+ * WHEN a camera's onboard detections carry geometry.
29763
+ *
29764
+ * - `boxed` — always. The provider holds a standing channel for the boxes, so
29765
+ * a detection is a trackable subject whenever the camera sees one.
29766
+ * - `while-streaming` — only while some stream of this camera is already open.
29767
+ * The boxes ride the video's own side-channel rather than a feed of their
29768
+ * own, so they cost nothing and they exist only when something is pulling.
29769
+ * On Reolink this is every BATTERY camera: a persistent second feed is real
29770
+ * radio drain, but a camera that is awake is awake precisely because
29771
+ * something is in front of it, and its stream is already being pulled.
29772
+ * - `flag-only` — never. The firmware ships the class and nothing else; the
29773
+ * pipeline needs geometry to make a subject, so such a push reaches the
29774
+ * tracker as motion and no further.
29775
+ *
29776
+ * Reported and not inferred, because the operator's question in front of the
29777
+ * picker is "what do I get", and these are three different answers (D14: the
29778
+ * derived form is only as honest as `getOptions`).
29779
+ */
29780
+ var NativeObjectGeometryEnum = _enum([
29781
+ "boxed",
29782
+ "while-streaming",
29783
+ "flag-only"
29784
+ ]);
29785
+ var NativeObjectDetectionOptionsSchema = object({
29786
+ /** Classes this firmware can detect — the same list the status reports. */
29787
+ supportedClasses: array(NativeObjectClassEnum).readonly(),
29788
+ /** What a detection from this camera carries. */
29789
+ geometry: NativeObjectGeometryEnum
29790
+ });
29791
+ var NativeObjectDetectionSettingsPatchSchema = object({ enabled: boolean().optional() });
29588
29792
  var NativeObjectDetectionRuntimeStateSchema = NativeObjectDetectionStatusSchema.extend({
29589
29793
  /** Required by createRuntimeStateBridge — epoch ms of last refresh. */
29590
29794
  lastFetchedAt: number() });
@@ -29594,13 +29798,23 @@ var nativeObjectDetectionCapability = {
29594
29798
  deviceNative: true,
29595
29799
  mode: "singleton",
29596
29800
  deviceTypes: [DeviceType.Camera],
29597
- methods: { setEnabled: method(object({
29598
- deviceId: number(),
29599
- enabled: boolean()
29600
- }), _void(), {
29601
- kind: "mutation",
29602
- auth: "admin"
29603
- }) },
29801
+ methods: {
29802
+ getOptions: method(object({ deviceId: number() }), NativeObjectDetectionOptionsSchema),
29803
+ setSettings: method(object({
29804
+ deviceId: number(),
29805
+ settings: NativeObjectDetectionSettingsPatchSchema
29806
+ }), _void(), {
29807
+ kind: "mutation",
29808
+ auth: "admin"
29809
+ }),
29810
+ setEnabled: method(object({
29811
+ deviceId: number(),
29812
+ enabled: boolean()
29813
+ }), _void(), {
29814
+ kind: "mutation",
29815
+ auth: "admin"
29816
+ })
29817
+ },
29604
29818
  events: { onDetected: { data: object({
29605
29819
  deviceId: number(),
29606
29820
  detection: NativeDetectionSchema
@@ -34448,7 +34662,28 @@ var PerScopeBreakdownSchema = object({
34448
34662
  /** Total tracked objects in this scope (frame / zone / unzoned). */
34449
34663
  totalObjects: number().int().nonnegative(),
34450
34664
  /** Per-class count. Keys are macro class names (e.g. `person`, `car`). */
34451
- byClass: record(string(), number().int().nonnegative())
34665
+ byClass: record(string(), number().int().nonnegative()),
34666
+ /**
34667
+ * Of `totalObjects`, how many are STANDING — objects the census holds,
34668
+ * present but not going anywhere (a parked car, a bin, a statue).
34669
+ *
34670
+ * The operator's question about a scene has two halves and they answer
34671
+ * different things: "what is parked here" is stable for hours and must not
34672
+ * flap, while "who is walking through" is the thing an alert is about. One
34673
+ * number could only serve one of them, and `totalObjects` served the first
34674
+ * badly — a passer-by moved it and every occupancy rule saw a change.
34675
+ *
34676
+ * `standing + transient === totalObjects`, always. The total keeps its old
34677
+ * meaning exactly, so no rule written against it changes behaviour.
34678
+ *
34679
+ * ABSENT means UNKNOWN, never zero (D393): a snapshot from a node older than
34680
+ * this field cannot say, and a reader that folds absence in as 0 reports "no
34681
+ * parked objects here" about a camera whose lot is full.
34682
+ */
34683
+ standingObjects: number().int().nonnegative().optional(),
34684
+ /** Of `totalObjects`, how many are passing through. See `standingObjects` —
34685
+ * same absence rule. */
34686
+ transientObjects: number().int().nonnegative().optional()
34452
34687
  });
34453
34688
  var ZoneScopeBreakdownSchema = PerScopeBreakdownSchema.extend({
34454
34689
  zoneId: string(),
@@ -34571,6 +34806,23 @@ var HistoryPointSchema = object({
34571
34806
  * triple covers the three spatial scopes (per-zone, frame-wide,
34572
34807
  * outside-any-zone). Crossing them with `className?` gives the full
34573
34808
  * combinatorial coverage the operator UI requested.
34809
+ *
34810
+ * ## ⚠️ The three history methods are DEPRECATED
34811
+ *
34812
+ * They are served from a 60-MINUTE in-memory ring. It dies with the process,
34813
+ * so after a restart they report nothing about a night that did happen, and any
34814
+ * window past an hour is silently clamped — a caller cannot tell a clamp from
34815
+ * an empty scene. The presets in the occupancy chart existed to hide that
34816
+ * horizon rather than to answer a question.
34817
+ *
34818
+ * Use `pipelineAnalytics.readLongTermSeries({ series: 'occupancy', scope })`
34819
+ * instead. Those rows are already written for every camera, ~60 bytes per
34820
+ * (camera, scope, 5-minute bucket), kept for a year, and survive a restart.
34821
+ * Spell the scope with `occupancyScope(zoneId?, className?)` — the same
34822
+ * function the writer uses, so the two cannot drift.
34823
+ *
34824
+ * The ring stays until these three go, and it is the only thing left reading
34825
+ * it. Do not add a fourth caller.
34574
34826
  */
34575
34827
  var zoneAnalyticsCapability = {
34576
34828
  name: "zone-analytics",
@@ -38970,12 +39222,24 @@ Object.freeze({
38970
39222
  addonId: null,
38971
39223
  access: "create"
38972
39224
  },
39225
+ "nativeObjectDetection.getOptions": {
39226
+ capName: "native-object-detection",
39227
+ capScope: "device",
39228
+ addonId: null,
39229
+ access: "view"
39230
+ },
38973
39231
  "nativeObjectDetection.setEnabled": {
38974
39232
  capName: "native-object-detection",
38975
39233
  capScope: "device",
38976
39234
  addonId: null,
38977
39235
  access: "create"
38978
39236
  },
39237
+ "nativeObjectDetection.setSettings": {
39238
+ capName: "native-object-detection",
39239
+ capScope: "device",
39240
+ addonId: null,
39241
+ access: "create"
39242
+ },
38979
39243
  "navigation.getFeatures": {
38980
39244
  capName: "navigation",
38981
39245
  capScope: "device",
@@ -39240,6 +39504,12 @@ Object.freeze({
39240
39504
  addonId: null,
39241
39505
  access: "view"
39242
39506
  },
39507
+ "notificationRules.getClipRetentionAsks": {
39508
+ capName: "notification-rules",
39509
+ capScope: "system",
39510
+ addonId: null,
39511
+ access: "view"
39512
+ },
39243
39513
  "notificationRules.getConditionCatalog": {
39244
39514
  capName: "notification-rules",
39245
39515
  capScope: "system",
@@ -39750,6 +40020,12 @@ Object.freeze({
39750
40020
  addonId: null,
39751
40021
  access: "create"
39752
40022
  },
40023
+ "pipelineAnalytics.readLongTermSeries": {
40024
+ capName: "pipeline-analytics",
40025
+ capScope: "device",
40026
+ addonId: null,
40027
+ access: "view"
40028
+ },
39753
40029
  "pipelineAnalytics.rebuildObjectEmbeddings": {
39754
40030
  capName: "pipeline-analytics",
39755
40031
  capScope: "device",
@@ -40422,6 +40698,12 @@ Object.freeze({
40422
40698
  addonId: null,
40423
40699
  access: "create"
40424
40700
  },
40701
+ "pipelineRunner.requestOccupancyBurst": {
40702
+ capName: "pipeline-runner",
40703
+ capScope: "system",
40704
+ addonId: null,
40705
+ access: "create"
40706
+ },
40425
40707
  "pipelineRunner.runDetailSubtree": {
40426
40708
  capName: "pipeline-runner",
40427
40709
  capScope: "system",
@@ -43202,11 +43484,21 @@ Object.freeze({
43202
43484
  form: "single",
43203
43485
  optional: false
43204
43486
  }],
43487
+ "nativeObjectDetection.getOptions": [{
43488
+ name: "deviceId",
43489
+ form: "single",
43490
+ optional: false
43491
+ }],
43205
43492
  "nativeObjectDetection.setEnabled": [{
43206
43493
  name: "deviceId",
43207
43494
  form: "single",
43208
43495
  optional: false
43209
43496
  }],
43497
+ "nativeObjectDetection.setSettings": [{
43498
+ name: "deviceId",
43499
+ form: "single",
43500
+ optional: false
43501
+ }],
43210
43502
  "navigation.getFeatures": [{
43211
43503
  name: "deviceId",
43212
43504
  form: "single",
@@ -43556,6 +43848,11 @@ Object.freeze({
43556
43848
  form: "single",
43557
43849
  optional: false
43558
43850
  }],
43851
+ "pipelineAnalytics.readLongTermSeries": [{
43852
+ name: "deviceId",
43853
+ form: "single",
43854
+ optional: false
43855
+ }],
43559
43856
  "pipelineAnalytics.rebuildObjectEmbeddings": [{
43560
43857
  name: "deviceId",
43561
43858
  form: "single",
@@ -43746,6 +44043,11 @@ Object.freeze({
43746
44043
  form: "single",
43747
44044
  optional: false
43748
44045
  }],
44046
+ "pipelineRunner.requestOccupancyBurst": [{
44047
+ name: "deviceId",
44048
+ form: "single",
44049
+ optional: false
44050
+ }],
43749
44051
  "pipelineRunner.runDetailSubtree": [{
43750
44052
  name: "deviceId",
43751
44053
  form: "single",
package/dist/addon.mjs CHANGED
@@ -6344,7 +6344,7 @@ var ZodIssueCode = {
6344
6344
  var ZodFirstPartyTypeKind;
6345
6345
  ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
6346
6346
  //#endregion
6347
- //#region ../types/dist/sleep-DEuj7E3j.mjs
6347
+ //#region ../types/dist/sleep-BDR76Ykr.mjs
6348
6348
  /**
6349
6349
  * The audio chunk plane's byte format, and the ONE expansion from a coded
6350
6350
  * window to float samples (D455).
@@ -12546,6 +12546,21 @@ var streamSignalsCapability = {
12546
12546
  mode: "singleton",
12547
12547
  deviceTypes: Object.values(DeviceType),
12548
12548
  runtimeState: StreamSignalsStatusSchema,
12549
+ /**
12550
+ * Runtime-state durability: **session** — mirrored in RAM, never written.
12551
+ *
12552
+ * The slice holds what the DEVICE says it can emit. That is a probed fact,
12553
+ * not an operator choice: the provider re-declares it on every registration,
12554
+ * so losing it loses nothing and persisting it would freeze an answer the
12555
+ * camera is entitled to change. Measured the same day on the sibling case —
12556
+ * `native-object-detection.supportedClasses` was persisted, and a firmware
12557
+ * class the camera really detected stayed missing for the life of the row
12558
+ * because the fix could not reach it.
12559
+ *
12560
+ * See `RuntimeStateDurability`. Enforced by
12561
+ * `scripts/check-runtime-state-durability.ts`.
12562
+ */
12563
+ durability: "session",
12549
12564
  methods: {
12550
12565
  /**
12551
12566
  * What this device can emit. Empty is a valid and common answer — most
@@ -19160,6 +19175,48 @@ var NcAlarmConfigSchema = object({
19160
19175
  settings: NcAlarmSettingsSchema,
19161
19176
  coverage: array(NcAlarmModeCoverageSchema)
19162
19177
  });
19178
+ /**
19179
+ * ONE rule's demand on ONE camera's clip ring.
19180
+ *
19181
+ * A rule, not a camera: the broker takes the MAX over the asks that reach a
19182
+ * camera, so the answer stays a faithful description of the rules and the
19183
+ * bounding (the byte budget, the broker's own ceiling) stays where the cost
19184
+ * lives. A camera that appears in no ask is being told **nothing** — which is
19185
+ * a different thing from never having been told, and only the envelope
19186
+ * (`rulesLoaded`) can tell those apart.
19187
+ */
19188
+ var NcClipRetentionAskSchema = object({
19189
+ /**
19190
+ * The camera this ask is about. **Absent = every camera**, which is what a
19191
+ * rule with no `conditions.devices` means: it can fire anywhere, so it is
19192
+ * asking everywhere.
19193
+ */
19194
+ deviceId: number().int().nonnegative().optional(),
19195
+ /** Seconds of history the rule needs held for it. Never zero — a rule that
19196
+ * needs nothing produces no ask at all. */
19197
+ seconds: number().min(0).max(60),
19198
+ /** The profile the rule cuts from, when it named one. Absent = the cheapest
19199
+ * assigned, which is what the cut defaults to. */
19200
+ profile: CamProfileSchema.optional(),
19201
+ /** Who is asking — so a retention the operator did not expect names a rule. */
19202
+ ruleId: string(),
19203
+ ruleName: string(),
19204
+ /** Why this many seconds: the rule's own window, or the occupancy ceiling. */
19205
+ reason: _enum(["window", "occupancy"])
19206
+ });
19207
+ /**
19208
+ * The whole answer, with the one bit that keeps absence from reading as zero.
19209
+ *
19210
+ * `rulesLoaded` is false until the rule ledger has completed a load at least
19211
+ * once. A centre that is up but has not read its rules yet answers with an
19212
+ * empty ask list that means nothing at all — applying it would drop every
19213
+ * camera's ring to zero for the first events after a restart, which is the
19214
+ * footage this mechanism exists to keep.
19215
+ */
19216
+ var NcClipRetentionPlanSchema = object({
19217
+ rulesLoaded: boolean(),
19218
+ asks: array(NcClipRetentionAskSchema).readonly()
19219
+ });
19163
19220
  method(object({}), object({ rules: array(NcRuleSchema) }), { auth: "admin" }), method(object({ ruleId: string() }), object({ rule: NcRuleSchema.nullable() }), { auth: "admin" }), method(object({ rule: NcRuleInputSchema }), object({ rule: NcRuleSchema }), {
19164
19221
  kind: "mutation",
19165
19222
  auth: "admin",
@@ -19180,7 +19237,7 @@ method(object({}), object({ rules: array(NcRuleSchema) }), { auth: "admin" }), m
19180
19237
  }), object({ success: literal(true) }), {
19181
19238
  kind: "mutation",
19182
19239
  auth: "admin"
19183
- }), method(object({}), object({ mutedDeviceIds: array(number().int()).readonly() }), { auth: "admin" }), method(object({
19240
+ }), method(object({}), NcClipRetentionPlanSchema, { auth: "admin" }), method(object({}), object({ mutedDeviceIds: array(number().int()).readonly() }), { auth: "admin" }), method(object({
19184
19241
  deviceId: number().int(),
19185
19242
  muted: boolean()
19186
19243
  }), object({ success: literal(true) }), {
@@ -21754,6 +21811,33 @@ var RunReplayFrameProcessorResultSchema = object({ tracks: array(object({
21754
21811
  * solid is this track", cheaper than re-deriving it from a trajectory. */
21755
21812
  framesMatched: number().int()
21756
21813
  })).readonly() });
21814
+ /**
21815
+ * The long-term series a camera produces. A closed union so a typo cannot
21816
+ * invent one, and the ONE declaration of it — the addon's `AnalyticsLtsSeries`
21817
+ * is an alias of this, not a second list.
21818
+ */
21819
+ var AnalyticsLtsSeriesSchema = _enum([
21820
+ "motion",
21821
+ "audio-dbfs",
21822
+ "battery",
21823
+ "occupancy"
21824
+ ]);
21825
+ /**
21826
+ * One closed 5-minute bucket of a long-term series.
21827
+ *
21828
+ * `samples` is how many readings the bucket folded — it is the ACTIVITY for a
21829
+ * series like `motion`, and the confidence for one like `occupancy`. A bucket
21830
+ * that exists at all was measured; a bucket that is absent was not, which is a
21831
+ * different claim from zero and the reason this is a sparse series.
21832
+ */
21833
+ var LtsBucketSchema = object({
21834
+ scope: string(),
21835
+ bucketStart: number().int(),
21836
+ samples: number().int().nonnegative(),
21837
+ sum: number(),
21838
+ min: number(),
21839
+ max: number()
21840
+ });
21757
21841
  DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).readonly()), method(object({
21758
21842
  deviceId: number(),
21759
21843
  trackId: string()
@@ -21800,6 +21884,14 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
21800
21884
  kinds: array(string()).optional(),
21801
21885
  limit: number().int().min(1).max(MAX_EVENT_QUERY_LIMIT).default(DEFAULT_EVENT_QUERY_LIMIT)
21802
21886
  }), array(SensorEventSchema).readonly()), method(KeyEventQueryInput, array(KeyEventSchema).readonly()), method(KeyEventBatchQueryInput, array(KeyEventsForDeviceSchema).readonly()), method(object({
21887
+ deviceId: number(),
21888
+ series: AnalyticsLtsSeriesSchema,
21889
+ /** Omit for EVERY scope of this series in the range. */
21890
+ scope: string().optional(),
21891
+ from: number(),
21892
+ to: number(),
21893
+ limit: number().int().positive().optional()
21894
+ }), array(LtsBucketSchema).readonly()), method(object({
21803
21895
  deviceId: number(),
21804
21896
  since: number(),
21805
21897
  until: number(),
@@ -22418,6 +22510,14 @@ var MotionSourceEnum = _enum([
22418
22510
  */
22419
22511
  var MotionSourcesSchema = array(MotionSourceEnum);
22420
22512
  /**
22513
+ * Which root detectors a camera runs. Deliberately the SAME vocabulary
22514
+ * post-analysis already tags every detection with (`DetectionSource`) rather
22515
+ * than a second spelling of the same two ideas — the value an operator picks
22516
+ * here is the value that comes back on the track, the overlay and the debug
22517
+ * row.
22518
+ */
22519
+ var DetectionSourcesSchema = array(DetectionSourceSchema);
22520
+ /**
22421
22521
  * Input shape for `pipeline-runner.reportMotion` cap method. Exported
22422
22522
  * so cap-side consumers (the orchestrator forward, the runner addon's
22423
22523
  * cap implementation, tests) can reuse the type instead of redeclaring
@@ -22568,6 +22668,35 @@ var RunnerCameraConfigSchema = object({
22568
22668
  * events; the orchestrator forwards to `reportMotion`.
22569
22669
  */
22570
22670
  motionSources: MotionSourcesSchema.default(["analyzer"]),
22671
+ /**
22672
+ * WHICH root detector runs for this camera. The detection counterpart of
22673
+ * {@link motionSources}, same shape and same discipline: a per-camera list
22674
+ * of sources the system understands, vendor-agnostic, owned here.
22675
+ *
22676
+ * - `pipeline` — this runner's own root step on decoded pixels (`steps`).
22677
+ * - `onboard` — the CAMERA's own detector, admitted only when it is named
22678
+ * here. Its boxes reach post-analysis on the same
22679
+ * `PipelineInferenceResult` payload as the pipeline's, so an onboard-born
22680
+ * track gets the same tracker, the same overlay and the same detail
22681
+ * subtree (face / plate / embedding).
22682
+ *
22683
+ * `['onboard']` alone is the REPLACEMENT: this runner's root step does not
22684
+ * run, and that is where a camera with a usable onboard detector buys back
22685
+ * its share of the accelerator. It saves the root inference, not the decode
22686
+ * — the detail subtree still needs pixels to cut crops from.
22687
+ *
22688
+ * A camera whose onboard detections carry no geometry cannot serve as a root
22689
+ * step at all (there is nothing to track), and the cap that knows this says
22690
+ * so on `native-object-detection.getOptions().geometry`. On Reolink that is
22691
+ * every battery camera: the boxes ride a sub-stream a battery camera never
22692
+ * attaches, so such a camera stays on `['pipeline']` and its onboard AI is
22693
+ * worth exactly what it already is — a wake signal with a class.
22694
+ *
22695
+ * Defaults to `['pipeline']`, which is byte-for-byte today's behaviour: a
22696
+ * vendor never turns a detector on for the operator, and neither does a
22697
+ * default.
22698
+ */
22699
+ detectionSources: DetectionSourcesSchema.default(["pipeline"]),
22571
22700
  pipelineEnabled: boolean().default(true),
22572
22701
  /** Ordered tree of video steps. Absent → runner skips video detection. */
22573
22702
  steps: array(PipelineStepInputSchema).readonly().optional(),
@@ -22749,7 +22878,47 @@ var RunnerLocalMetricsSchema = object({
22749
22878
  queueDepth: number(),
22750
22879
  frameLazy: FrameLazyMetricsSchema.optional()
22751
22880
  });
22881
+ /**
22882
+ * Pipeline Runner capability — runtime detection workhorse.
22883
+ *
22884
+ * One instance per node. Receives camera assignments from
22885
+ * `addon-pipeline-orchestrator`, subscribes to the local stream-broker for
22886
+ * decoded frames, drains motion + detection queues, calls the local
22887
+ * `motion-detection` and `pipeline-executor` capabilities, and emits typed
22888
+ * `pipeline.inference-result` and `detection.motion-analysis` events on
22889
+ * the bus.
22890
+ *
22891
+ * Distinct from `pipeline-orchestrator` (the hub-side load balancer) — the
22892
+ * runner has zero knowledge of other agents, no global state, and never
22893
+ * makes assignment decisions itself.
22894
+ */
22895
+ /**
22896
+ * Why a runner declined to look at a camera out of band. Named rather than a
22897
+ * bare `false`: a camera asleep on battery (D173), one attached elsewhere, one
22898
+ * already mid-session and one already bursting are four different facts, and a
22899
+ * caller told only "no" cannot tell a protection from a bug.
22900
+ */
22901
+ var OccupancyBurstRefusalSchema = _enum([
22902
+ "not-attached",
22903
+ "battery-asleep",
22904
+ "not-watching",
22905
+ "already-bursting"
22906
+ ]);
22752
22907
  method(RunnerCameraConfigSchema, object({ success: literal(true) }), { kind: "mutation" }), method(object({ deviceId: number() }), object({ success: literal(true) }), { kind: "mutation" }), method(ReportMotionInputSchema, object({ success: literal(true) }), { kind: "mutation" }), method(_void(), RunnerLocalLoadSchema), method(_void(), RunnerLocalMetricsSchema), method(object({ deviceId: number() }), CameraMetricsSchema.nullable()), method(_void(), array(CameraMetricsWithDeviceIdSchema).readonly()), method(_void(), array(number()).readonly()), method(object({
22908
+ deviceId: number(),
22909
+ /** How many frames to collect. The caller sizes this against what its
22910
+ * own confirmation needs; the runner clamps it to the field's range. */
22911
+ frames: number().int().positive().optional(),
22912
+ /** Why, for the log. A burst nobody can attribute is a cost nobody can
22913
+ * defend — the periodic one at least has a timer to point at. */
22914
+ reason: string()
22915
+ }), object({
22916
+ started: boolean(),
22917
+ refusedBecause: OccupancyBurstRefusalSchema.optional()
22918
+ }), {
22919
+ auth: "admin",
22920
+ kind: "mutation"
22921
+ }), method(object({
22753
22922
  handle: FrameHandleSchema,
22754
22923
  bbox: NativeCropBboxSchema,
22755
22924
  maxWidth: number().int().positive().optional(),
@@ -29579,11 +29748,46 @@ var NativeObjectDetectionStatusSchema = object({
29579
29748
  supportedClasses: array(NativeObjectClassEnum).readonly(),
29580
29749
  /**
29581
29750
  * Whether forwarding of onboard AI detections is enabled for this device.
29582
- * Default FALSE (opt-in, cold-start) — onboard AI pushes are noisy/sparse and
29583
- * churn the tracker, so forwarding stays off until the operator enables it.
29751
+ *
29752
+ * Cold-start OFF on every camera. A vendor does not decide which detector a
29753
+ * camera runs — that is the operator's choice, and it is made where every
29754
+ * other detection choice is made. `geometry` on
29755
+ * {@link NativeObjectDetectionOptionsSchema} is how the form says what the
29756
+ * choice would buy this particular camera.
29584
29757
  */
29585
29758
  enabled: boolean()
29586
29759
  });
29760
+ /**
29761
+ * WHEN a camera's onboard detections carry geometry.
29762
+ *
29763
+ * - `boxed` — always. The provider holds a standing channel for the boxes, so
29764
+ * a detection is a trackable subject whenever the camera sees one.
29765
+ * - `while-streaming` — only while some stream of this camera is already open.
29766
+ * The boxes ride the video's own side-channel rather than a feed of their
29767
+ * own, so they cost nothing and they exist only when something is pulling.
29768
+ * On Reolink this is every BATTERY camera: a persistent second feed is real
29769
+ * radio drain, but a camera that is awake is awake precisely because
29770
+ * something is in front of it, and its stream is already being pulled.
29771
+ * - `flag-only` — never. The firmware ships the class and nothing else; the
29772
+ * pipeline needs geometry to make a subject, so such a push reaches the
29773
+ * tracker as motion and no further.
29774
+ *
29775
+ * Reported and not inferred, because the operator's question in front of the
29776
+ * picker is "what do I get", and these are three different answers (D14: the
29777
+ * derived form is only as honest as `getOptions`).
29778
+ */
29779
+ var NativeObjectGeometryEnum = _enum([
29780
+ "boxed",
29781
+ "while-streaming",
29782
+ "flag-only"
29783
+ ]);
29784
+ var NativeObjectDetectionOptionsSchema = object({
29785
+ /** Classes this firmware can detect — the same list the status reports. */
29786
+ supportedClasses: array(NativeObjectClassEnum).readonly(),
29787
+ /** What a detection from this camera carries. */
29788
+ geometry: NativeObjectGeometryEnum
29789
+ });
29790
+ var NativeObjectDetectionSettingsPatchSchema = object({ enabled: boolean().optional() });
29587
29791
  var NativeObjectDetectionRuntimeStateSchema = NativeObjectDetectionStatusSchema.extend({
29588
29792
  /** Required by createRuntimeStateBridge — epoch ms of last refresh. */
29589
29793
  lastFetchedAt: number() });
@@ -29593,13 +29797,23 @@ var nativeObjectDetectionCapability = {
29593
29797
  deviceNative: true,
29594
29798
  mode: "singleton",
29595
29799
  deviceTypes: [DeviceType.Camera],
29596
- methods: { setEnabled: method(object({
29597
- deviceId: number(),
29598
- enabled: boolean()
29599
- }), _void(), {
29600
- kind: "mutation",
29601
- auth: "admin"
29602
- }) },
29800
+ methods: {
29801
+ getOptions: method(object({ deviceId: number() }), NativeObjectDetectionOptionsSchema),
29802
+ setSettings: method(object({
29803
+ deviceId: number(),
29804
+ settings: NativeObjectDetectionSettingsPatchSchema
29805
+ }), _void(), {
29806
+ kind: "mutation",
29807
+ auth: "admin"
29808
+ }),
29809
+ setEnabled: method(object({
29810
+ deviceId: number(),
29811
+ enabled: boolean()
29812
+ }), _void(), {
29813
+ kind: "mutation",
29814
+ auth: "admin"
29815
+ })
29816
+ },
29603
29817
  events: { onDetected: { data: object({
29604
29818
  deviceId: number(),
29605
29819
  detection: NativeDetectionSchema
@@ -34447,7 +34661,28 @@ var PerScopeBreakdownSchema = object({
34447
34661
  /** Total tracked objects in this scope (frame / zone / unzoned). */
34448
34662
  totalObjects: number().int().nonnegative(),
34449
34663
  /** Per-class count. Keys are macro class names (e.g. `person`, `car`). */
34450
- byClass: record(string(), number().int().nonnegative())
34664
+ byClass: record(string(), number().int().nonnegative()),
34665
+ /**
34666
+ * Of `totalObjects`, how many are STANDING — objects the census holds,
34667
+ * present but not going anywhere (a parked car, a bin, a statue).
34668
+ *
34669
+ * The operator's question about a scene has two halves and they answer
34670
+ * different things: "what is parked here" is stable for hours and must not
34671
+ * flap, while "who is walking through" is the thing an alert is about. One
34672
+ * number could only serve one of them, and `totalObjects` served the first
34673
+ * badly — a passer-by moved it and every occupancy rule saw a change.
34674
+ *
34675
+ * `standing + transient === totalObjects`, always. The total keeps its old
34676
+ * meaning exactly, so no rule written against it changes behaviour.
34677
+ *
34678
+ * ABSENT means UNKNOWN, never zero (D393): a snapshot from a node older than
34679
+ * this field cannot say, and a reader that folds absence in as 0 reports "no
34680
+ * parked objects here" about a camera whose lot is full.
34681
+ */
34682
+ standingObjects: number().int().nonnegative().optional(),
34683
+ /** Of `totalObjects`, how many are passing through. See `standingObjects` —
34684
+ * same absence rule. */
34685
+ transientObjects: number().int().nonnegative().optional()
34451
34686
  });
34452
34687
  var ZoneScopeBreakdownSchema = PerScopeBreakdownSchema.extend({
34453
34688
  zoneId: string(),
@@ -34570,6 +34805,23 @@ var HistoryPointSchema = object({
34570
34805
  * triple covers the three spatial scopes (per-zone, frame-wide,
34571
34806
  * outside-any-zone). Crossing them with `className?` gives the full
34572
34807
  * combinatorial coverage the operator UI requested.
34808
+ *
34809
+ * ## ⚠️ The three history methods are DEPRECATED
34810
+ *
34811
+ * They are served from a 60-MINUTE in-memory ring. It dies with the process,
34812
+ * so after a restart they report nothing about a night that did happen, and any
34813
+ * window past an hour is silently clamped — a caller cannot tell a clamp from
34814
+ * an empty scene. The presets in the occupancy chart existed to hide that
34815
+ * horizon rather than to answer a question.
34816
+ *
34817
+ * Use `pipelineAnalytics.readLongTermSeries({ series: 'occupancy', scope })`
34818
+ * instead. Those rows are already written for every camera, ~60 bytes per
34819
+ * (camera, scope, 5-minute bucket), kept for a year, and survive a restart.
34820
+ * Spell the scope with `occupancyScope(zoneId?, className?)` — the same
34821
+ * function the writer uses, so the two cannot drift.
34822
+ *
34823
+ * The ring stays until these three go, and it is the only thing left reading
34824
+ * it. Do not add a fourth caller.
34573
34825
  */
34574
34826
  var zoneAnalyticsCapability = {
34575
34827
  name: "zone-analytics",
@@ -38969,12 +39221,24 @@ Object.freeze({
38969
39221
  addonId: null,
38970
39222
  access: "create"
38971
39223
  },
39224
+ "nativeObjectDetection.getOptions": {
39225
+ capName: "native-object-detection",
39226
+ capScope: "device",
39227
+ addonId: null,
39228
+ access: "view"
39229
+ },
38972
39230
  "nativeObjectDetection.setEnabled": {
38973
39231
  capName: "native-object-detection",
38974
39232
  capScope: "device",
38975
39233
  addonId: null,
38976
39234
  access: "create"
38977
39235
  },
39236
+ "nativeObjectDetection.setSettings": {
39237
+ capName: "native-object-detection",
39238
+ capScope: "device",
39239
+ addonId: null,
39240
+ access: "create"
39241
+ },
38978
39242
  "navigation.getFeatures": {
38979
39243
  capName: "navigation",
38980
39244
  capScope: "device",
@@ -39239,6 +39503,12 @@ Object.freeze({
39239
39503
  addonId: null,
39240
39504
  access: "view"
39241
39505
  },
39506
+ "notificationRules.getClipRetentionAsks": {
39507
+ capName: "notification-rules",
39508
+ capScope: "system",
39509
+ addonId: null,
39510
+ access: "view"
39511
+ },
39242
39512
  "notificationRules.getConditionCatalog": {
39243
39513
  capName: "notification-rules",
39244
39514
  capScope: "system",
@@ -39749,6 +40019,12 @@ Object.freeze({
39749
40019
  addonId: null,
39750
40020
  access: "create"
39751
40021
  },
40022
+ "pipelineAnalytics.readLongTermSeries": {
40023
+ capName: "pipeline-analytics",
40024
+ capScope: "device",
40025
+ addonId: null,
40026
+ access: "view"
40027
+ },
39752
40028
  "pipelineAnalytics.rebuildObjectEmbeddings": {
39753
40029
  capName: "pipeline-analytics",
39754
40030
  capScope: "device",
@@ -40421,6 +40697,12 @@ Object.freeze({
40421
40697
  addonId: null,
40422
40698
  access: "create"
40423
40699
  },
40700
+ "pipelineRunner.requestOccupancyBurst": {
40701
+ capName: "pipeline-runner",
40702
+ capScope: "system",
40703
+ addonId: null,
40704
+ access: "create"
40705
+ },
40424
40706
  "pipelineRunner.runDetailSubtree": {
40425
40707
  capName: "pipeline-runner",
40426
40708
  capScope: "system",
@@ -43201,11 +43483,21 @@ Object.freeze({
43201
43483
  form: "single",
43202
43484
  optional: false
43203
43485
  }],
43486
+ "nativeObjectDetection.getOptions": [{
43487
+ name: "deviceId",
43488
+ form: "single",
43489
+ optional: false
43490
+ }],
43204
43491
  "nativeObjectDetection.setEnabled": [{
43205
43492
  name: "deviceId",
43206
43493
  form: "single",
43207
43494
  optional: false
43208
43495
  }],
43496
+ "nativeObjectDetection.setSettings": [{
43497
+ name: "deviceId",
43498
+ form: "single",
43499
+ optional: false
43500
+ }],
43209
43501
  "navigation.getFeatures": [{
43210
43502
  name: "deviceId",
43211
43503
  form: "single",
@@ -43555,6 +43847,11 @@ Object.freeze({
43555
43847
  form: "single",
43556
43848
  optional: false
43557
43849
  }],
43850
+ "pipelineAnalytics.readLongTermSeries": [{
43851
+ name: "deviceId",
43852
+ form: "single",
43853
+ optional: false
43854
+ }],
43558
43855
  "pipelineAnalytics.rebuildObjectEmbeddings": [{
43559
43856
  name: "deviceId",
43560
43857
  form: "single",
@@ -43745,6 +44042,11 @@ Object.freeze({
43745
44042
  form: "single",
43746
44043
  optional: false
43747
44044
  }],
44045
+ "pipelineRunner.requestOccupancyBurst": [{
44046
+ name: "deviceId",
44047
+ form: "single",
44048
+ optional: false
44049
+ }],
43748
44050
  "pipelineRunner.runDetailSubtree": [{
43749
44051
  name: "deviceId",
43750
44052
  form: "single",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-provider-rademacher",
3
- "version": "0.2.101",
3
+ "version": "0.2.102",
4
4
  "description": "Rademacher HomePilot device-provider addon for CamStack — wraps the @apocaliss92/noderademacher local-hub client (roller shutters over the cover cap)",
5
5
  "keywords": [
6
6
  "camstack",
@@ -63,7 +63,7 @@
63
63
  "dev": "vite build --watch",
64
64
  "typecheck": "tsc --noEmit",
65
65
  "test": "vitest run",
66
- "publish": "npm publish --access public"
66
+ "publish:npm": "npm publish --access public"
67
67
  },
68
68
  "devDependencies": {
69
69
  "@apocaliss92/noderademacher": "0.1.0",