@camstack/addon-provider-dreame 0.2.103 → 0.2.104

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
@@ -58033,7 +58033,7 @@ var ZodIssueCode = {
58033
58033
  var ZodFirstPartyTypeKind;
58034
58034
  ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
58035
58035
  //#endregion
58036
- //#region ../types/dist/sleep-DEuj7E3j.mjs
58036
+ //#region ../types/dist/sleep-BDR76Ykr.mjs
58037
58037
  /**
58038
58038
  * The audio chunk plane's byte format, and the ONE expansion from a coded
58039
58039
  * window to float samples (D455).
@@ -64235,6 +64235,21 @@ var streamSignalsCapability = {
64235
64235
  mode: "singleton",
64236
64236
  deviceTypes: Object.values(DeviceType),
64237
64237
  runtimeState: StreamSignalsStatusSchema,
64238
+ /**
64239
+ * Runtime-state durability: **session** — mirrored in RAM, never written.
64240
+ *
64241
+ * The slice holds what the DEVICE says it can emit. That is a probed fact,
64242
+ * not an operator choice: the provider re-declares it on every registration,
64243
+ * so losing it loses nothing and persisting it would freeze an answer the
64244
+ * camera is entitled to change. Measured the same day on the sibling case —
64245
+ * `native-object-detection.supportedClasses` was persisted, and a firmware
64246
+ * class the camera really detected stayed missing for the life of the row
64247
+ * because the fix could not reach it.
64248
+ *
64249
+ * See `RuntimeStateDurability`. Enforced by
64250
+ * `scripts/check-runtime-state-durability.ts`.
64251
+ */
64252
+ durability: "session",
64238
64253
  methods: {
64239
64254
  /**
64240
64255
  * What this device can emit. Empty is a valid and common answer — most
@@ -70866,6 +70881,48 @@ var NcAlarmConfigSchema = object({
70866
70881
  settings: NcAlarmSettingsSchema,
70867
70882
  coverage: array(NcAlarmModeCoverageSchema)
70868
70883
  });
70884
+ /**
70885
+ * ONE rule's demand on ONE camera's clip ring.
70886
+ *
70887
+ * A rule, not a camera: the broker takes the MAX over the asks that reach a
70888
+ * camera, so the answer stays a faithful description of the rules and the
70889
+ * bounding (the byte budget, the broker's own ceiling) stays where the cost
70890
+ * lives. A camera that appears in no ask is being told **nothing** — which is
70891
+ * a different thing from never having been told, and only the envelope
70892
+ * (`rulesLoaded`) can tell those apart.
70893
+ */
70894
+ var NcClipRetentionAskSchema = object({
70895
+ /**
70896
+ * The camera this ask is about. **Absent = every camera**, which is what a
70897
+ * rule with no `conditions.devices` means: it can fire anywhere, so it is
70898
+ * asking everywhere.
70899
+ */
70900
+ deviceId: number().int().nonnegative().optional(),
70901
+ /** Seconds of history the rule needs held for it. Never zero — a rule that
70902
+ * needs nothing produces no ask at all. */
70903
+ seconds: number().min(0).max(60),
70904
+ /** The profile the rule cuts from, when it named one. Absent = the cheapest
70905
+ * assigned, which is what the cut defaults to. */
70906
+ profile: CamProfileSchema.optional(),
70907
+ /** Who is asking — so a retention the operator did not expect names a rule. */
70908
+ ruleId: string(),
70909
+ ruleName: string(),
70910
+ /** Why this many seconds: the rule's own window, or the occupancy ceiling. */
70911
+ reason: _enum(["window", "occupancy"])
70912
+ });
70913
+ /**
70914
+ * The whole answer, with the one bit that keeps absence from reading as zero.
70915
+ *
70916
+ * `rulesLoaded` is false until the rule ledger has completed a load at least
70917
+ * once. A centre that is up but has not read its rules yet answers with an
70918
+ * empty ask list that means nothing at all — applying it would drop every
70919
+ * camera's ring to zero for the first events after a restart, which is the
70920
+ * footage this mechanism exists to keep.
70921
+ */
70922
+ var NcClipRetentionPlanSchema = object({
70923
+ rulesLoaded: boolean(),
70924
+ asks: array(NcClipRetentionAskSchema).readonly()
70925
+ });
70869
70926
  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 }), {
70870
70927
  kind: "mutation",
70871
70928
  auth: "admin",
@@ -70886,7 +70943,7 @@ method(object({}), object({ rules: array(NcRuleSchema) }), { auth: "admin" }), m
70886
70943
  }), object({ success: literal(true) }), {
70887
70944
  kind: "mutation",
70888
70945
  auth: "admin"
70889
- }), method(object({}), object({ mutedDeviceIds: array(number().int()).readonly() }), { auth: "admin" }), method(object({
70946
+ }), method(object({}), NcClipRetentionPlanSchema, { auth: "admin" }), method(object({}), object({ mutedDeviceIds: array(number().int()).readonly() }), { auth: "admin" }), method(object({
70890
70947
  deviceId: number().int(),
70891
70948
  muted: boolean()
70892
70949
  }), object({ success: literal(true) }), {
@@ -73460,6 +73517,33 @@ var RunReplayFrameProcessorResultSchema = object({ tracks: array(object({
73460
73517
  * solid is this track", cheaper than re-deriving it from a trajectory. */
73461
73518
  framesMatched: number().int()
73462
73519
  })).readonly() });
73520
+ /**
73521
+ * The long-term series a camera produces. A closed union so a typo cannot
73522
+ * invent one, and the ONE declaration of it — the addon's `AnalyticsLtsSeries`
73523
+ * is an alias of this, not a second list.
73524
+ */
73525
+ var AnalyticsLtsSeriesSchema = _enum([
73526
+ "motion",
73527
+ "audio-dbfs",
73528
+ "battery",
73529
+ "occupancy"
73530
+ ]);
73531
+ /**
73532
+ * One closed 5-minute bucket of a long-term series.
73533
+ *
73534
+ * `samples` is how many readings the bucket folded — it is the ACTIVITY for a
73535
+ * series like `motion`, and the confidence for one like `occupancy`. A bucket
73536
+ * that exists at all was measured; a bucket that is absent was not, which is a
73537
+ * different claim from zero and the reason this is a sparse series.
73538
+ */
73539
+ var LtsBucketSchema = object({
73540
+ scope: string(),
73541
+ bucketStart: number().int(),
73542
+ samples: number().int().nonnegative(),
73543
+ sum: number(),
73544
+ min: number(),
73545
+ max: number()
73546
+ });
73463
73547
  DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).readonly()), method(object({
73464
73548
  deviceId: number(),
73465
73549
  trackId: string()
@@ -73506,6 +73590,14 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
73506
73590
  kinds: array(string()).optional(),
73507
73591
  limit: number().int().min(1).max(MAX_EVENT_QUERY_LIMIT).default(DEFAULT_EVENT_QUERY_LIMIT)
73508
73592
  }), array(SensorEventSchema).readonly()), method(KeyEventQueryInput, array(KeyEventSchema).readonly()), method(KeyEventBatchQueryInput, array(KeyEventsForDeviceSchema).readonly()), method(object({
73593
+ deviceId: number(),
73594
+ series: AnalyticsLtsSeriesSchema,
73595
+ /** Omit for EVERY scope of this series in the range. */
73596
+ scope: string().optional(),
73597
+ from: number(),
73598
+ to: number(),
73599
+ limit: number().int().positive().optional()
73600
+ }), array(LtsBucketSchema).readonly()), method(object({
73509
73601
  deviceId: number(),
73510
73602
  since: number(),
73511
73603
  until: number(),
@@ -74124,6 +74216,14 @@ var MotionSourceEnum = _enum([
74124
74216
  */
74125
74217
  var MotionSourcesSchema = array(MotionSourceEnum);
74126
74218
  /**
74219
+ * Which root detectors a camera runs. Deliberately the SAME vocabulary
74220
+ * post-analysis already tags every detection with (`DetectionSource`) rather
74221
+ * than a second spelling of the same two ideas — the value an operator picks
74222
+ * here is the value that comes back on the track, the overlay and the debug
74223
+ * row.
74224
+ */
74225
+ var DetectionSourcesSchema = array(DetectionSourceSchema);
74226
+ /**
74127
74227
  * Input shape for `pipeline-runner.reportMotion` cap method. Exported
74128
74228
  * so cap-side consumers (the orchestrator forward, the runner addon's
74129
74229
  * cap implementation, tests) can reuse the type instead of redeclaring
@@ -74274,6 +74374,35 @@ var RunnerCameraConfigSchema = object({
74274
74374
  * events; the orchestrator forwards to `reportMotion`.
74275
74375
  */
74276
74376
  motionSources: MotionSourcesSchema.default(["analyzer"]),
74377
+ /**
74378
+ * WHICH root detector runs for this camera. The detection counterpart of
74379
+ * {@link motionSources}, same shape and same discipline: a per-camera list
74380
+ * of sources the system understands, vendor-agnostic, owned here.
74381
+ *
74382
+ * - `pipeline` — this runner's own root step on decoded pixels (`steps`).
74383
+ * - `onboard` — the CAMERA's own detector, admitted only when it is named
74384
+ * here. Its boxes reach post-analysis on the same
74385
+ * `PipelineInferenceResult` payload as the pipeline's, so an onboard-born
74386
+ * track gets the same tracker, the same overlay and the same detail
74387
+ * subtree (face / plate / embedding).
74388
+ *
74389
+ * `['onboard']` alone is the REPLACEMENT: this runner's root step does not
74390
+ * run, and that is where a camera with a usable onboard detector buys back
74391
+ * its share of the accelerator. It saves the root inference, not the decode
74392
+ * — the detail subtree still needs pixels to cut crops from.
74393
+ *
74394
+ * A camera whose onboard detections carry no geometry cannot serve as a root
74395
+ * step at all (there is nothing to track), and the cap that knows this says
74396
+ * so on `native-object-detection.getOptions().geometry`. On Reolink that is
74397
+ * every battery camera: the boxes ride a sub-stream a battery camera never
74398
+ * attaches, so such a camera stays on `['pipeline']` and its onboard AI is
74399
+ * worth exactly what it already is — a wake signal with a class.
74400
+ *
74401
+ * Defaults to `['pipeline']`, which is byte-for-byte today's behaviour: a
74402
+ * vendor never turns a detector on for the operator, and neither does a
74403
+ * default.
74404
+ */
74405
+ detectionSources: DetectionSourcesSchema.default(["pipeline"]),
74277
74406
  pipelineEnabled: boolean().default(true),
74278
74407
  /** Ordered tree of video steps. Absent → runner skips video detection. */
74279
74408
  steps: array(PipelineStepInputSchema).readonly().optional(),
@@ -74455,7 +74584,47 @@ var RunnerLocalMetricsSchema = object({
74455
74584
  queueDepth: number(),
74456
74585
  frameLazy: FrameLazyMetricsSchema.optional()
74457
74586
  });
74587
+ /**
74588
+ * Pipeline Runner capability — runtime detection workhorse.
74589
+ *
74590
+ * One instance per node. Receives camera assignments from
74591
+ * `addon-pipeline-orchestrator`, subscribes to the local stream-broker for
74592
+ * decoded frames, drains motion + detection queues, calls the local
74593
+ * `motion-detection` and `pipeline-executor` capabilities, and emits typed
74594
+ * `pipeline.inference-result` and `detection.motion-analysis` events on
74595
+ * the bus.
74596
+ *
74597
+ * Distinct from `pipeline-orchestrator` (the hub-side load balancer) — the
74598
+ * runner has zero knowledge of other agents, no global state, and never
74599
+ * makes assignment decisions itself.
74600
+ */
74601
+ /**
74602
+ * Why a runner declined to look at a camera out of band. Named rather than a
74603
+ * bare `false`: a camera asleep on battery (D173), one attached elsewhere, one
74604
+ * already mid-session and one already bursting are four different facts, and a
74605
+ * caller told only "no" cannot tell a protection from a bug.
74606
+ */
74607
+ var OccupancyBurstRefusalSchema = _enum([
74608
+ "not-attached",
74609
+ "battery-asleep",
74610
+ "not-watching",
74611
+ "already-bursting"
74612
+ ]);
74458
74613
  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({
74614
+ deviceId: number(),
74615
+ /** How many frames to collect. The caller sizes this against what its
74616
+ * own confirmation needs; the runner clamps it to the field's range. */
74617
+ frames: number().int().positive().optional(),
74618
+ /** Why, for the log. A burst nobody can attribute is a cost nobody can
74619
+ * defend — the periodic one at least has a timer to point at. */
74620
+ reason: string()
74621
+ }), object({
74622
+ started: boolean(),
74623
+ refusedBecause: OccupancyBurstRefusalSchema.optional()
74624
+ }), {
74625
+ auth: "admin",
74626
+ kind: "mutation"
74627
+ }), method(object({
74459
74628
  handle: FrameHandleSchema,
74460
74629
  bbox: NativeCropBboxSchema,
74461
74630
  maxWidth: number().int().positive().optional(),
@@ -81310,11 +81479,46 @@ var NativeObjectDetectionStatusSchema = object({
81310
81479
  supportedClasses: array(NativeObjectClassEnum).readonly(),
81311
81480
  /**
81312
81481
  * Whether forwarding of onboard AI detections is enabled for this device.
81313
- * Default FALSE (opt-in, cold-start) — onboard AI pushes are noisy/sparse and
81314
- * churn the tracker, so forwarding stays off until the operator enables it.
81482
+ *
81483
+ * Cold-start OFF on every camera. A vendor does not decide which detector a
81484
+ * camera runs — that is the operator's choice, and it is made where every
81485
+ * other detection choice is made. `geometry` on
81486
+ * {@link NativeObjectDetectionOptionsSchema} is how the form says what the
81487
+ * choice would buy this particular camera.
81315
81488
  */
81316
81489
  enabled: boolean()
81317
81490
  });
81491
+ /**
81492
+ * WHEN a camera's onboard detections carry geometry.
81493
+ *
81494
+ * - `boxed` — always. The provider holds a standing channel for the boxes, so
81495
+ * a detection is a trackable subject whenever the camera sees one.
81496
+ * - `while-streaming` — only while some stream of this camera is already open.
81497
+ * The boxes ride the video's own side-channel rather than a feed of their
81498
+ * own, so they cost nothing and they exist only when something is pulling.
81499
+ * On Reolink this is every BATTERY camera: a persistent second feed is real
81500
+ * radio drain, but a camera that is awake is awake precisely because
81501
+ * something is in front of it, and its stream is already being pulled.
81502
+ * - `flag-only` — never. The firmware ships the class and nothing else; the
81503
+ * pipeline needs geometry to make a subject, so such a push reaches the
81504
+ * tracker as motion and no further.
81505
+ *
81506
+ * Reported and not inferred, because the operator's question in front of the
81507
+ * picker is "what do I get", and these are three different answers (D14: the
81508
+ * derived form is only as honest as `getOptions`).
81509
+ */
81510
+ var NativeObjectGeometryEnum = _enum([
81511
+ "boxed",
81512
+ "while-streaming",
81513
+ "flag-only"
81514
+ ]);
81515
+ var NativeObjectDetectionOptionsSchema = object({
81516
+ /** Classes this firmware can detect — the same list the status reports. */
81517
+ supportedClasses: array(NativeObjectClassEnum).readonly(),
81518
+ /** What a detection from this camera carries. */
81519
+ geometry: NativeObjectGeometryEnum
81520
+ });
81521
+ var NativeObjectDetectionSettingsPatchSchema = object({ enabled: boolean().optional() });
81318
81522
  var NativeObjectDetectionRuntimeStateSchema = NativeObjectDetectionStatusSchema.extend({
81319
81523
  /** Required by createRuntimeStateBridge — epoch ms of last refresh. */
81320
81524
  lastFetchedAt: number() });
@@ -81324,13 +81528,23 @@ var nativeObjectDetectionCapability = {
81324
81528
  deviceNative: true,
81325
81529
  mode: "singleton",
81326
81530
  deviceTypes: [DeviceType.Camera],
81327
- methods: { setEnabled: method(object({
81328
- deviceId: number(),
81329
- enabled: boolean()
81330
- }), _void(), {
81331
- kind: "mutation",
81332
- auth: "admin"
81333
- }) },
81531
+ methods: {
81532
+ getOptions: method(object({ deviceId: number() }), NativeObjectDetectionOptionsSchema),
81533
+ setSettings: method(object({
81534
+ deviceId: number(),
81535
+ settings: NativeObjectDetectionSettingsPatchSchema
81536
+ }), _void(), {
81537
+ kind: "mutation",
81538
+ auth: "admin"
81539
+ }),
81540
+ setEnabled: method(object({
81541
+ deviceId: number(),
81542
+ enabled: boolean()
81543
+ }), _void(), {
81544
+ kind: "mutation",
81545
+ auth: "admin"
81546
+ })
81547
+ },
81334
81548
  events: { onDetected: { data: object({
81335
81549
  deviceId: number(),
81336
81550
  detection: NativeDetectionSchema
@@ -86326,7 +86540,28 @@ var PerScopeBreakdownSchema = object({
86326
86540
  /** Total tracked objects in this scope (frame / zone / unzoned). */
86327
86541
  totalObjects: number().int().nonnegative(),
86328
86542
  /** Per-class count. Keys are macro class names (e.g. `person`, `car`). */
86329
- byClass: record(string(), number().int().nonnegative())
86543
+ byClass: record(string(), number().int().nonnegative()),
86544
+ /**
86545
+ * Of `totalObjects`, how many are STANDING — objects the census holds,
86546
+ * present but not going anywhere (a parked car, a bin, a statue).
86547
+ *
86548
+ * The operator's question about a scene has two halves and they answer
86549
+ * different things: "what is parked here" is stable for hours and must not
86550
+ * flap, while "who is walking through" is the thing an alert is about. One
86551
+ * number could only serve one of them, and `totalObjects` served the first
86552
+ * badly — a passer-by moved it and every occupancy rule saw a change.
86553
+ *
86554
+ * `standing + transient === totalObjects`, always. The total keeps its old
86555
+ * meaning exactly, so no rule written against it changes behaviour.
86556
+ *
86557
+ * ABSENT means UNKNOWN, never zero (D393): a snapshot from a node older than
86558
+ * this field cannot say, and a reader that folds absence in as 0 reports "no
86559
+ * parked objects here" about a camera whose lot is full.
86560
+ */
86561
+ standingObjects: number().int().nonnegative().optional(),
86562
+ /** Of `totalObjects`, how many are passing through. See `standingObjects` —
86563
+ * same absence rule. */
86564
+ transientObjects: number().int().nonnegative().optional()
86330
86565
  });
86331
86566
  var ZoneScopeBreakdownSchema = PerScopeBreakdownSchema.extend({
86332
86567
  zoneId: string(),
@@ -86449,6 +86684,23 @@ var HistoryPointSchema = object({
86449
86684
  * triple covers the three spatial scopes (per-zone, frame-wide,
86450
86685
  * outside-any-zone). Crossing them with `className?` gives the full
86451
86686
  * combinatorial coverage the operator UI requested.
86687
+ *
86688
+ * ## ⚠️ The three history methods are DEPRECATED
86689
+ *
86690
+ * They are served from a 60-MINUTE in-memory ring. It dies with the process,
86691
+ * so after a restart they report nothing about a night that did happen, and any
86692
+ * window past an hour is silently clamped — a caller cannot tell a clamp from
86693
+ * an empty scene. The presets in the occupancy chart existed to hide that
86694
+ * horizon rather than to answer a question.
86695
+ *
86696
+ * Use `pipelineAnalytics.readLongTermSeries({ series: 'occupancy', scope })`
86697
+ * instead. Those rows are already written for every camera, ~60 bytes per
86698
+ * (camera, scope, 5-minute bucket), kept for a year, and survive a restart.
86699
+ * Spell the scope with `occupancyScope(zoneId?, className?)` — the same
86700
+ * function the writer uses, so the two cannot drift.
86701
+ *
86702
+ * The ring stays until these three go, and it is the only thing left reading
86703
+ * it. Do not add a fourth caller.
86452
86704
  */
86453
86705
  var zoneAnalyticsCapability = {
86454
86706
  name: "zone-analytics",
@@ -90848,12 +91100,24 @@ Object.freeze({
90848
91100
  addonId: null,
90849
91101
  access: "create"
90850
91102
  },
91103
+ "nativeObjectDetection.getOptions": {
91104
+ capName: "native-object-detection",
91105
+ capScope: "device",
91106
+ addonId: null,
91107
+ access: "view"
91108
+ },
90851
91109
  "nativeObjectDetection.setEnabled": {
90852
91110
  capName: "native-object-detection",
90853
91111
  capScope: "device",
90854
91112
  addonId: null,
90855
91113
  access: "create"
90856
91114
  },
91115
+ "nativeObjectDetection.setSettings": {
91116
+ capName: "native-object-detection",
91117
+ capScope: "device",
91118
+ addonId: null,
91119
+ access: "create"
91120
+ },
90857
91121
  "navigation.getFeatures": {
90858
91122
  capName: "navigation",
90859
91123
  capScope: "device",
@@ -91118,6 +91382,12 @@ Object.freeze({
91118
91382
  addonId: null,
91119
91383
  access: "view"
91120
91384
  },
91385
+ "notificationRules.getClipRetentionAsks": {
91386
+ capName: "notification-rules",
91387
+ capScope: "system",
91388
+ addonId: null,
91389
+ access: "view"
91390
+ },
91121
91391
  "notificationRules.getConditionCatalog": {
91122
91392
  capName: "notification-rules",
91123
91393
  capScope: "system",
@@ -91628,6 +91898,12 @@ Object.freeze({
91628
91898
  addonId: null,
91629
91899
  access: "create"
91630
91900
  },
91901
+ "pipelineAnalytics.readLongTermSeries": {
91902
+ capName: "pipeline-analytics",
91903
+ capScope: "device",
91904
+ addonId: null,
91905
+ access: "view"
91906
+ },
91631
91907
  "pipelineAnalytics.rebuildObjectEmbeddings": {
91632
91908
  capName: "pipeline-analytics",
91633
91909
  capScope: "device",
@@ -92300,6 +92576,12 @@ Object.freeze({
92300
92576
  addonId: null,
92301
92577
  access: "create"
92302
92578
  },
92579
+ "pipelineRunner.requestOccupancyBurst": {
92580
+ capName: "pipeline-runner",
92581
+ capScope: "system",
92582
+ addonId: null,
92583
+ access: "create"
92584
+ },
92303
92585
  "pipelineRunner.runDetailSubtree": {
92304
92586
  capName: "pipeline-runner",
92305
92587
  capScope: "system",
@@ -95080,11 +95362,21 @@ Object.freeze({
95080
95362
  form: "single",
95081
95363
  optional: false
95082
95364
  }],
95365
+ "nativeObjectDetection.getOptions": [{
95366
+ name: "deviceId",
95367
+ form: "single",
95368
+ optional: false
95369
+ }],
95083
95370
  "nativeObjectDetection.setEnabled": [{
95084
95371
  name: "deviceId",
95085
95372
  form: "single",
95086
95373
  optional: false
95087
95374
  }],
95375
+ "nativeObjectDetection.setSettings": [{
95376
+ name: "deviceId",
95377
+ form: "single",
95378
+ optional: false
95379
+ }],
95088
95380
  "navigation.getFeatures": [{
95089
95381
  name: "deviceId",
95090
95382
  form: "single",
@@ -95434,6 +95726,11 @@ Object.freeze({
95434
95726
  form: "single",
95435
95727
  optional: false
95436
95728
  }],
95729
+ "pipelineAnalytics.readLongTermSeries": [{
95730
+ name: "deviceId",
95731
+ form: "single",
95732
+ optional: false
95733
+ }],
95437
95734
  "pipelineAnalytics.rebuildObjectEmbeddings": [{
95438
95735
  name: "deviceId",
95439
95736
  form: "single",
@@ -95624,6 +95921,11 @@ Object.freeze({
95624
95921
  form: "single",
95625
95922
  optional: false
95626
95923
  }],
95924
+ "pipelineRunner.requestOccupancyBurst": [{
95925
+ name: "deviceId",
95926
+ form: "single",
95927
+ optional: false
95928
+ }],
95627
95929
  "pipelineRunner.runDetailSubtree": [{
95628
95930
  name: "deviceId",
95629
95931
  form: "single",
package/dist/addon.mjs CHANGED
@@ -58030,7 +58030,7 @@ var ZodIssueCode = {
58030
58030
  var ZodFirstPartyTypeKind;
58031
58031
  ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
58032
58032
  //#endregion
58033
- //#region ../types/dist/sleep-DEuj7E3j.mjs
58033
+ //#region ../types/dist/sleep-BDR76Ykr.mjs
58034
58034
  /**
58035
58035
  * The audio chunk plane's byte format, and the ONE expansion from a coded
58036
58036
  * window to float samples (D455).
@@ -64232,6 +64232,21 @@ var streamSignalsCapability = {
64232
64232
  mode: "singleton",
64233
64233
  deviceTypes: Object.values(DeviceType),
64234
64234
  runtimeState: StreamSignalsStatusSchema,
64235
+ /**
64236
+ * Runtime-state durability: **session** — mirrored in RAM, never written.
64237
+ *
64238
+ * The slice holds what the DEVICE says it can emit. That is a probed fact,
64239
+ * not an operator choice: the provider re-declares it on every registration,
64240
+ * so losing it loses nothing and persisting it would freeze an answer the
64241
+ * camera is entitled to change. Measured the same day on the sibling case —
64242
+ * `native-object-detection.supportedClasses` was persisted, and a firmware
64243
+ * class the camera really detected stayed missing for the life of the row
64244
+ * because the fix could not reach it.
64245
+ *
64246
+ * See `RuntimeStateDurability`. Enforced by
64247
+ * `scripts/check-runtime-state-durability.ts`.
64248
+ */
64249
+ durability: "session",
64235
64250
  methods: {
64236
64251
  /**
64237
64252
  * What this device can emit. Empty is a valid and common answer — most
@@ -70863,6 +70878,48 @@ var NcAlarmConfigSchema = object({
70863
70878
  settings: NcAlarmSettingsSchema,
70864
70879
  coverage: array(NcAlarmModeCoverageSchema)
70865
70880
  });
70881
+ /**
70882
+ * ONE rule's demand on ONE camera's clip ring.
70883
+ *
70884
+ * A rule, not a camera: the broker takes the MAX over the asks that reach a
70885
+ * camera, so the answer stays a faithful description of the rules and the
70886
+ * bounding (the byte budget, the broker's own ceiling) stays where the cost
70887
+ * lives. A camera that appears in no ask is being told **nothing** — which is
70888
+ * a different thing from never having been told, and only the envelope
70889
+ * (`rulesLoaded`) can tell those apart.
70890
+ */
70891
+ var NcClipRetentionAskSchema = object({
70892
+ /**
70893
+ * The camera this ask is about. **Absent = every camera**, which is what a
70894
+ * rule with no `conditions.devices` means: it can fire anywhere, so it is
70895
+ * asking everywhere.
70896
+ */
70897
+ deviceId: number().int().nonnegative().optional(),
70898
+ /** Seconds of history the rule needs held for it. Never zero — a rule that
70899
+ * needs nothing produces no ask at all. */
70900
+ seconds: number().min(0).max(60),
70901
+ /** The profile the rule cuts from, when it named one. Absent = the cheapest
70902
+ * assigned, which is what the cut defaults to. */
70903
+ profile: CamProfileSchema.optional(),
70904
+ /** Who is asking — so a retention the operator did not expect names a rule. */
70905
+ ruleId: string(),
70906
+ ruleName: string(),
70907
+ /** Why this many seconds: the rule's own window, or the occupancy ceiling. */
70908
+ reason: _enum(["window", "occupancy"])
70909
+ });
70910
+ /**
70911
+ * The whole answer, with the one bit that keeps absence from reading as zero.
70912
+ *
70913
+ * `rulesLoaded` is false until the rule ledger has completed a load at least
70914
+ * once. A centre that is up but has not read its rules yet answers with an
70915
+ * empty ask list that means nothing at all — applying it would drop every
70916
+ * camera's ring to zero for the first events after a restart, which is the
70917
+ * footage this mechanism exists to keep.
70918
+ */
70919
+ var NcClipRetentionPlanSchema = object({
70920
+ rulesLoaded: boolean(),
70921
+ asks: array(NcClipRetentionAskSchema).readonly()
70922
+ });
70866
70923
  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 }), {
70867
70924
  kind: "mutation",
70868
70925
  auth: "admin",
@@ -70883,7 +70940,7 @@ method(object({}), object({ rules: array(NcRuleSchema) }), { auth: "admin" }), m
70883
70940
  }), object({ success: literal(true) }), {
70884
70941
  kind: "mutation",
70885
70942
  auth: "admin"
70886
- }), method(object({}), object({ mutedDeviceIds: array(number().int()).readonly() }), { auth: "admin" }), method(object({
70943
+ }), method(object({}), NcClipRetentionPlanSchema, { auth: "admin" }), method(object({}), object({ mutedDeviceIds: array(number().int()).readonly() }), { auth: "admin" }), method(object({
70887
70944
  deviceId: number().int(),
70888
70945
  muted: boolean()
70889
70946
  }), object({ success: literal(true) }), {
@@ -73457,6 +73514,33 @@ var RunReplayFrameProcessorResultSchema = object({ tracks: array(object({
73457
73514
  * solid is this track", cheaper than re-deriving it from a trajectory. */
73458
73515
  framesMatched: number().int()
73459
73516
  })).readonly() });
73517
+ /**
73518
+ * The long-term series a camera produces. A closed union so a typo cannot
73519
+ * invent one, and the ONE declaration of it — the addon's `AnalyticsLtsSeries`
73520
+ * is an alias of this, not a second list.
73521
+ */
73522
+ var AnalyticsLtsSeriesSchema = _enum([
73523
+ "motion",
73524
+ "audio-dbfs",
73525
+ "battery",
73526
+ "occupancy"
73527
+ ]);
73528
+ /**
73529
+ * One closed 5-minute bucket of a long-term series.
73530
+ *
73531
+ * `samples` is how many readings the bucket folded — it is the ACTIVITY for a
73532
+ * series like `motion`, and the confidence for one like `occupancy`. A bucket
73533
+ * that exists at all was measured; a bucket that is absent was not, which is a
73534
+ * different claim from zero and the reason this is a sparse series.
73535
+ */
73536
+ var LtsBucketSchema = object({
73537
+ scope: string(),
73538
+ bucketStart: number().int(),
73539
+ samples: number().int().nonnegative(),
73540
+ sum: number(),
73541
+ min: number(),
73542
+ max: number()
73543
+ });
73460
73544
  DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).readonly()), method(object({
73461
73545
  deviceId: number(),
73462
73546
  trackId: string()
@@ -73503,6 +73587,14 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
73503
73587
  kinds: array(string()).optional(),
73504
73588
  limit: number().int().min(1).max(MAX_EVENT_QUERY_LIMIT).default(DEFAULT_EVENT_QUERY_LIMIT)
73505
73589
  }), array(SensorEventSchema).readonly()), method(KeyEventQueryInput, array(KeyEventSchema).readonly()), method(KeyEventBatchQueryInput, array(KeyEventsForDeviceSchema).readonly()), method(object({
73590
+ deviceId: number(),
73591
+ series: AnalyticsLtsSeriesSchema,
73592
+ /** Omit for EVERY scope of this series in the range. */
73593
+ scope: string().optional(),
73594
+ from: number(),
73595
+ to: number(),
73596
+ limit: number().int().positive().optional()
73597
+ }), array(LtsBucketSchema).readonly()), method(object({
73506
73598
  deviceId: number(),
73507
73599
  since: number(),
73508
73600
  until: number(),
@@ -74121,6 +74213,14 @@ var MotionSourceEnum = _enum([
74121
74213
  */
74122
74214
  var MotionSourcesSchema = array(MotionSourceEnum);
74123
74215
  /**
74216
+ * Which root detectors a camera runs. Deliberately the SAME vocabulary
74217
+ * post-analysis already tags every detection with (`DetectionSource`) rather
74218
+ * than a second spelling of the same two ideas — the value an operator picks
74219
+ * here is the value that comes back on the track, the overlay and the debug
74220
+ * row.
74221
+ */
74222
+ var DetectionSourcesSchema = array(DetectionSourceSchema);
74223
+ /**
74124
74224
  * Input shape for `pipeline-runner.reportMotion` cap method. Exported
74125
74225
  * so cap-side consumers (the orchestrator forward, the runner addon's
74126
74226
  * cap implementation, tests) can reuse the type instead of redeclaring
@@ -74271,6 +74371,35 @@ var RunnerCameraConfigSchema = object({
74271
74371
  * events; the orchestrator forwards to `reportMotion`.
74272
74372
  */
74273
74373
  motionSources: MotionSourcesSchema.default(["analyzer"]),
74374
+ /**
74375
+ * WHICH root detector runs for this camera. The detection counterpart of
74376
+ * {@link motionSources}, same shape and same discipline: a per-camera list
74377
+ * of sources the system understands, vendor-agnostic, owned here.
74378
+ *
74379
+ * - `pipeline` — this runner's own root step on decoded pixels (`steps`).
74380
+ * - `onboard` — the CAMERA's own detector, admitted only when it is named
74381
+ * here. Its boxes reach post-analysis on the same
74382
+ * `PipelineInferenceResult` payload as the pipeline's, so an onboard-born
74383
+ * track gets the same tracker, the same overlay and the same detail
74384
+ * subtree (face / plate / embedding).
74385
+ *
74386
+ * `['onboard']` alone is the REPLACEMENT: this runner's root step does not
74387
+ * run, and that is where a camera with a usable onboard detector buys back
74388
+ * its share of the accelerator. It saves the root inference, not the decode
74389
+ * — the detail subtree still needs pixels to cut crops from.
74390
+ *
74391
+ * A camera whose onboard detections carry no geometry cannot serve as a root
74392
+ * step at all (there is nothing to track), and the cap that knows this says
74393
+ * so on `native-object-detection.getOptions().geometry`. On Reolink that is
74394
+ * every battery camera: the boxes ride a sub-stream a battery camera never
74395
+ * attaches, so such a camera stays on `['pipeline']` and its onboard AI is
74396
+ * worth exactly what it already is — a wake signal with a class.
74397
+ *
74398
+ * Defaults to `['pipeline']`, which is byte-for-byte today's behaviour: a
74399
+ * vendor never turns a detector on for the operator, and neither does a
74400
+ * default.
74401
+ */
74402
+ detectionSources: DetectionSourcesSchema.default(["pipeline"]),
74274
74403
  pipelineEnabled: boolean().default(true),
74275
74404
  /** Ordered tree of video steps. Absent → runner skips video detection. */
74276
74405
  steps: array(PipelineStepInputSchema).readonly().optional(),
@@ -74452,7 +74581,47 @@ var RunnerLocalMetricsSchema = object({
74452
74581
  queueDepth: number(),
74453
74582
  frameLazy: FrameLazyMetricsSchema.optional()
74454
74583
  });
74584
+ /**
74585
+ * Pipeline Runner capability — runtime detection workhorse.
74586
+ *
74587
+ * One instance per node. Receives camera assignments from
74588
+ * `addon-pipeline-orchestrator`, subscribes to the local stream-broker for
74589
+ * decoded frames, drains motion + detection queues, calls the local
74590
+ * `motion-detection` and `pipeline-executor` capabilities, and emits typed
74591
+ * `pipeline.inference-result` and `detection.motion-analysis` events on
74592
+ * the bus.
74593
+ *
74594
+ * Distinct from `pipeline-orchestrator` (the hub-side load balancer) — the
74595
+ * runner has zero knowledge of other agents, no global state, and never
74596
+ * makes assignment decisions itself.
74597
+ */
74598
+ /**
74599
+ * Why a runner declined to look at a camera out of band. Named rather than a
74600
+ * bare `false`: a camera asleep on battery (D173), one attached elsewhere, one
74601
+ * already mid-session and one already bursting are four different facts, and a
74602
+ * caller told only "no" cannot tell a protection from a bug.
74603
+ */
74604
+ var OccupancyBurstRefusalSchema = _enum([
74605
+ "not-attached",
74606
+ "battery-asleep",
74607
+ "not-watching",
74608
+ "already-bursting"
74609
+ ]);
74455
74610
  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({
74611
+ deviceId: number(),
74612
+ /** How many frames to collect. The caller sizes this against what its
74613
+ * own confirmation needs; the runner clamps it to the field's range. */
74614
+ frames: number().int().positive().optional(),
74615
+ /** Why, for the log. A burst nobody can attribute is a cost nobody can
74616
+ * defend — the periodic one at least has a timer to point at. */
74617
+ reason: string()
74618
+ }), object({
74619
+ started: boolean(),
74620
+ refusedBecause: OccupancyBurstRefusalSchema.optional()
74621
+ }), {
74622
+ auth: "admin",
74623
+ kind: "mutation"
74624
+ }), method(object({
74456
74625
  handle: FrameHandleSchema,
74457
74626
  bbox: NativeCropBboxSchema,
74458
74627
  maxWidth: number().int().positive().optional(),
@@ -81307,11 +81476,46 @@ var NativeObjectDetectionStatusSchema = object({
81307
81476
  supportedClasses: array(NativeObjectClassEnum).readonly(),
81308
81477
  /**
81309
81478
  * Whether forwarding of onboard AI detections is enabled for this device.
81310
- * Default FALSE (opt-in, cold-start) — onboard AI pushes are noisy/sparse and
81311
- * churn the tracker, so forwarding stays off until the operator enables it.
81479
+ *
81480
+ * Cold-start OFF on every camera. A vendor does not decide which detector a
81481
+ * camera runs — that is the operator's choice, and it is made where every
81482
+ * other detection choice is made. `geometry` on
81483
+ * {@link NativeObjectDetectionOptionsSchema} is how the form says what the
81484
+ * choice would buy this particular camera.
81312
81485
  */
81313
81486
  enabled: boolean()
81314
81487
  });
81488
+ /**
81489
+ * WHEN a camera's onboard detections carry geometry.
81490
+ *
81491
+ * - `boxed` — always. The provider holds a standing channel for the boxes, so
81492
+ * a detection is a trackable subject whenever the camera sees one.
81493
+ * - `while-streaming` — only while some stream of this camera is already open.
81494
+ * The boxes ride the video's own side-channel rather than a feed of their
81495
+ * own, so they cost nothing and they exist only when something is pulling.
81496
+ * On Reolink this is every BATTERY camera: a persistent second feed is real
81497
+ * radio drain, but a camera that is awake is awake precisely because
81498
+ * something is in front of it, and its stream is already being pulled.
81499
+ * - `flag-only` — never. The firmware ships the class and nothing else; the
81500
+ * pipeline needs geometry to make a subject, so such a push reaches the
81501
+ * tracker as motion and no further.
81502
+ *
81503
+ * Reported and not inferred, because the operator's question in front of the
81504
+ * picker is "what do I get", and these are three different answers (D14: the
81505
+ * derived form is only as honest as `getOptions`).
81506
+ */
81507
+ var NativeObjectGeometryEnum = _enum([
81508
+ "boxed",
81509
+ "while-streaming",
81510
+ "flag-only"
81511
+ ]);
81512
+ var NativeObjectDetectionOptionsSchema = object({
81513
+ /** Classes this firmware can detect — the same list the status reports. */
81514
+ supportedClasses: array(NativeObjectClassEnum).readonly(),
81515
+ /** What a detection from this camera carries. */
81516
+ geometry: NativeObjectGeometryEnum
81517
+ });
81518
+ var NativeObjectDetectionSettingsPatchSchema = object({ enabled: boolean().optional() });
81315
81519
  var NativeObjectDetectionRuntimeStateSchema = NativeObjectDetectionStatusSchema.extend({
81316
81520
  /** Required by createRuntimeStateBridge — epoch ms of last refresh. */
81317
81521
  lastFetchedAt: number() });
@@ -81321,13 +81525,23 @@ var nativeObjectDetectionCapability = {
81321
81525
  deviceNative: true,
81322
81526
  mode: "singleton",
81323
81527
  deviceTypes: [DeviceType.Camera],
81324
- methods: { setEnabled: method(object({
81325
- deviceId: number(),
81326
- enabled: boolean()
81327
- }), _void(), {
81328
- kind: "mutation",
81329
- auth: "admin"
81330
- }) },
81528
+ methods: {
81529
+ getOptions: method(object({ deviceId: number() }), NativeObjectDetectionOptionsSchema),
81530
+ setSettings: method(object({
81531
+ deviceId: number(),
81532
+ settings: NativeObjectDetectionSettingsPatchSchema
81533
+ }), _void(), {
81534
+ kind: "mutation",
81535
+ auth: "admin"
81536
+ }),
81537
+ setEnabled: method(object({
81538
+ deviceId: number(),
81539
+ enabled: boolean()
81540
+ }), _void(), {
81541
+ kind: "mutation",
81542
+ auth: "admin"
81543
+ })
81544
+ },
81331
81545
  events: { onDetected: { data: object({
81332
81546
  deviceId: number(),
81333
81547
  detection: NativeDetectionSchema
@@ -86323,7 +86537,28 @@ var PerScopeBreakdownSchema = object({
86323
86537
  /** Total tracked objects in this scope (frame / zone / unzoned). */
86324
86538
  totalObjects: number().int().nonnegative(),
86325
86539
  /** Per-class count. Keys are macro class names (e.g. `person`, `car`). */
86326
- byClass: record(string(), number().int().nonnegative())
86540
+ byClass: record(string(), number().int().nonnegative()),
86541
+ /**
86542
+ * Of `totalObjects`, how many are STANDING — objects the census holds,
86543
+ * present but not going anywhere (a parked car, a bin, a statue).
86544
+ *
86545
+ * The operator's question about a scene has two halves and they answer
86546
+ * different things: "what is parked here" is stable for hours and must not
86547
+ * flap, while "who is walking through" is the thing an alert is about. One
86548
+ * number could only serve one of them, and `totalObjects` served the first
86549
+ * badly — a passer-by moved it and every occupancy rule saw a change.
86550
+ *
86551
+ * `standing + transient === totalObjects`, always. The total keeps its old
86552
+ * meaning exactly, so no rule written against it changes behaviour.
86553
+ *
86554
+ * ABSENT means UNKNOWN, never zero (D393): a snapshot from a node older than
86555
+ * this field cannot say, and a reader that folds absence in as 0 reports "no
86556
+ * parked objects here" about a camera whose lot is full.
86557
+ */
86558
+ standingObjects: number().int().nonnegative().optional(),
86559
+ /** Of `totalObjects`, how many are passing through. See `standingObjects` —
86560
+ * same absence rule. */
86561
+ transientObjects: number().int().nonnegative().optional()
86327
86562
  });
86328
86563
  var ZoneScopeBreakdownSchema = PerScopeBreakdownSchema.extend({
86329
86564
  zoneId: string(),
@@ -86446,6 +86681,23 @@ var HistoryPointSchema = object({
86446
86681
  * triple covers the three spatial scopes (per-zone, frame-wide,
86447
86682
  * outside-any-zone). Crossing them with `className?` gives the full
86448
86683
  * combinatorial coverage the operator UI requested.
86684
+ *
86685
+ * ## ⚠️ The three history methods are DEPRECATED
86686
+ *
86687
+ * They are served from a 60-MINUTE in-memory ring. It dies with the process,
86688
+ * so after a restart they report nothing about a night that did happen, and any
86689
+ * window past an hour is silently clamped — a caller cannot tell a clamp from
86690
+ * an empty scene. The presets in the occupancy chart existed to hide that
86691
+ * horizon rather than to answer a question.
86692
+ *
86693
+ * Use `pipelineAnalytics.readLongTermSeries({ series: 'occupancy', scope })`
86694
+ * instead. Those rows are already written for every camera, ~60 bytes per
86695
+ * (camera, scope, 5-minute bucket), kept for a year, and survive a restart.
86696
+ * Spell the scope with `occupancyScope(zoneId?, className?)` — the same
86697
+ * function the writer uses, so the two cannot drift.
86698
+ *
86699
+ * The ring stays until these three go, and it is the only thing left reading
86700
+ * it. Do not add a fourth caller.
86449
86701
  */
86450
86702
  var zoneAnalyticsCapability = {
86451
86703
  name: "zone-analytics",
@@ -90845,12 +91097,24 @@ Object.freeze({
90845
91097
  addonId: null,
90846
91098
  access: "create"
90847
91099
  },
91100
+ "nativeObjectDetection.getOptions": {
91101
+ capName: "native-object-detection",
91102
+ capScope: "device",
91103
+ addonId: null,
91104
+ access: "view"
91105
+ },
90848
91106
  "nativeObjectDetection.setEnabled": {
90849
91107
  capName: "native-object-detection",
90850
91108
  capScope: "device",
90851
91109
  addonId: null,
90852
91110
  access: "create"
90853
91111
  },
91112
+ "nativeObjectDetection.setSettings": {
91113
+ capName: "native-object-detection",
91114
+ capScope: "device",
91115
+ addonId: null,
91116
+ access: "create"
91117
+ },
90854
91118
  "navigation.getFeatures": {
90855
91119
  capName: "navigation",
90856
91120
  capScope: "device",
@@ -91115,6 +91379,12 @@ Object.freeze({
91115
91379
  addonId: null,
91116
91380
  access: "view"
91117
91381
  },
91382
+ "notificationRules.getClipRetentionAsks": {
91383
+ capName: "notification-rules",
91384
+ capScope: "system",
91385
+ addonId: null,
91386
+ access: "view"
91387
+ },
91118
91388
  "notificationRules.getConditionCatalog": {
91119
91389
  capName: "notification-rules",
91120
91390
  capScope: "system",
@@ -91625,6 +91895,12 @@ Object.freeze({
91625
91895
  addonId: null,
91626
91896
  access: "create"
91627
91897
  },
91898
+ "pipelineAnalytics.readLongTermSeries": {
91899
+ capName: "pipeline-analytics",
91900
+ capScope: "device",
91901
+ addonId: null,
91902
+ access: "view"
91903
+ },
91628
91904
  "pipelineAnalytics.rebuildObjectEmbeddings": {
91629
91905
  capName: "pipeline-analytics",
91630
91906
  capScope: "device",
@@ -92297,6 +92573,12 @@ Object.freeze({
92297
92573
  addonId: null,
92298
92574
  access: "create"
92299
92575
  },
92576
+ "pipelineRunner.requestOccupancyBurst": {
92577
+ capName: "pipeline-runner",
92578
+ capScope: "system",
92579
+ addonId: null,
92580
+ access: "create"
92581
+ },
92300
92582
  "pipelineRunner.runDetailSubtree": {
92301
92583
  capName: "pipeline-runner",
92302
92584
  capScope: "system",
@@ -95077,11 +95359,21 @@ Object.freeze({
95077
95359
  form: "single",
95078
95360
  optional: false
95079
95361
  }],
95362
+ "nativeObjectDetection.getOptions": [{
95363
+ name: "deviceId",
95364
+ form: "single",
95365
+ optional: false
95366
+ }],
95080
95367
  "nativeObjectDetection.setEnabled": [{
95081
95368
  name: "deviceId",
95082
95369
  form: "single",
95083
95370
  optional: false
95084
95371
  }],
95372
+ "nativeObjectDetection.setSettings": [{
95373
+ name: "deviceId",
95374
+ form: "single",
95375
+ optional: false
95376
+ }],
95085
95377
  "navigation.getFeatures": [{
95086
95378
  name: "deviceId",
95087
95379
  form: "single",
@@ -95431,6 +95723,11 @@ Object.freeze({
95431
95723
  form: "single",
95432
95724
  optional: false
95433
95725
  }],
95726
+ "pipelineAnalytics.readLongTermSeries": [{
95727
+ name: "deviceId",
95728
+ form: "single",
95729
+ optional: false
95730
+ }],
95434
95731
  "pipelineAnalytics.rebuildObjectEmbeddings": [{
95435
95732
  name: "deviceId",
95436
95733
  form: "single",
@@ -95621,6 +95918,11 @@ Object.freeze({
95621
95918
  form: "single",
95622
95919
  optional: false
95623
95920
  }],
95921
+ "pipelineRunner.requestOccupancyBurst": [{
95922
+ name: "deviceId",
95923
+ form: "single",
95924
+ optional: false
95925
+ }],
95624
95926
  "pipelineRunner.runDetailSubtree": [{
95625
95927
  name: "deviceId",
95626
95928
  form: "single",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-provider-dreame",
3
- "version": "0.2.103",
3
+ "version": "0.2.104",
4
4
  "description": "Dreame robot-vacuum / lawn-mower device-provider addon for CamStack — wraps the @apocaliss92/nodedreame Dreamehome cloud client",
5
5
  "keywords": [
6
6
  "camstack",
@@ -77,7 +77,7 @@
77
77
  "dev": "vite build --watch",
78
78
  "typecheck": "tsc --noEmit",
79
79
  "test": "vitest run",
80
- "publish": "npm publish --access public"
80
+ "publish:npm": "npm publish --access public"
81
81
  },
82
82
  "devDependencies": {
83
83
  "@apocaliss92/nodedreame": "^1.12.0",