@camstack/addon-provider-rtsp 1.2.102 → 1.2.103

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
@@ -5384,7 +5384,7 @@ var ZodIssueCode = {
5384
5384
  var ZodFirstPartyTypeKind;
5385
5385
  ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
5386
5386
  //#endregion
5387
- //#region ../types/dist/sleep-DEuj7E3j.mjs
5387
+ //#region ../types/dist/sleep-BDR76Ykr.mjs
5388
5388
  /**
5389
5389
  * The audio chunk plane's byte format, and the ONE expansion from a coded
5390
5390
  * window to float samples (D455).
@@ -11618,6 +11618,21 @@ var streamSignalsCapability = {
11618
11618
  mode: "singleton",
11619
11619
  deviceTypes: Object.values(DeviceType),
11620
11620
  runtimeState: StreamSignalsStatusSchema,
11621
+ /**
11622
+ * Runtime-state durability: **session** — mirrored in RAM, never written.
11623
+ *
11624
+ * The slice holds what the DEVICE says it can emit. That is a probed fact,
11625
+ * not an operator choice: the provider re-declares it on every registration,
11626
+ * so losing it loses nothing and persisting it would freeze an answer the
11627
+ * camera is entitled to change. Measured the same day on the sibling case —
11628
+ * `native-object-detection.supportedClasses` was persisted, and a firmware
11629
+ * class the camera really detected stayed missing for the life of the row
11630
+ * because the fix could not reach it.
11631
+ *
11632
+ * See `RuntimeStateDurability`. Enforced by
11633
+ * `scripts/check-runtime-state-durability.ts`.
11634
+ */
11635
+ durability: "session",
11621
11636
  methods: {
11622
11637
  /**
11623
11638
  * What this device can emit. Empty is a valid and common answer — most
@@ -18232,6 +18247,48 @@ var NcAlarmConfigSchema = object({
18232
18247
  settings: NcAlarmSettingsSchema,
18233
18248
  coverage: array(NcAlarmModeCoverageSchema)
18234
18249
  });
18250
+ /**
18251
+ * ONE rule's demand on ONE camera's clip ring.
18252
+ *
18253
+ * A rule, not a camera: the broker takes the MAX over the asks that reach a
18254
+ * camera, so the answer stays a faithful description of the rules and the
18255
+ * bounding (the byte budget, the broker's own ceiling) stays where the cost
18256
+ * lives. A camera that appears in no ask is being told **nothing** — which is
18257
+ * a different thing from never having been told, and only the envelope
18258
+ * (`rulesLoaded`) can tell those apart.
18259
+ */
18260
+ var NcClipRetentionAskSchema = object({
18261
+ /**
18262
+ * The camera this ask is about. **Absent = every camera**, which is what a
18263
+ * rule with no `conditions.devices` means: it can fire anywhere, so it is
18264
+ * asking everywhere.
18265
+ */
18266
+ deviceId: number().int().nonnegative().optional(),
18267
+ /** Seconds of history the rule needs held for it. Never zero — a rule that
18268
+ * needs nothing produces no ask at all. */
18269
+ seconds: number().min(0).max(60),
18270
+ /** The profile the rule cuts from, when it named one. Absent = the cheapest
18271
+ * assigned, which is what the cut defaults to. */
18272
+ profile: CamProfileSchema.optional(),
18273
+ /** Who is asking — so a retention the operator did not expect names a rule. */
18274
+ ruleId: string(),
18275
+ ruleName: string(),
18276
+ /** Why this many seconds: the rule's own window, or the occupancy ceiling. */
18277
+ reason: _enum(["window", "occupancy"])
18278
+ });
18279
+ /**
18280
+ * The whole answer, with the one bit that keeps absence from reading as zero.
18281
+ *
18282
+ * `rulesLoaded` is false until the rule ledger has completed a load at least
18283
+ * once. A centre that is up but has not read its rules yet answers with an
18284
+ * empty ask list that means nothing at all — applying it would drop every
18285
+ * camera's ring to zero for the first events after a restart, which is the
18286
+ * footage this mechanism exists to keep.
18287
+ */
18288
+ var NcClipRetentionPlanSchema = object({
18289
+ rulesLoaded: boolean(),
18290
+ asks: array(NcClipRetentionAskSchema).readonly()
18291
+ });
18235
18292
  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 }), {
18236
18293
  kind: "mutation",
18237
18294
  auth: "admin",
@@ -18252,7 +18309,7 @@ method(object({}), object({ rules: array(NcRuleSchema) }), { auth: "admin" }), m
18252
18309
  }), object({ success: literal(true) }), {
18253
18310
  kind: "mutation",
18254
18311
  auth: "admin"
18255
- }), method(object({}), object({ mutedDeviceIds: array(number().int()).readonly() }), { auth: "admin" }), method(object({
18312
+ }), method(object({}), NcClipRetentionPlanSchema, { auth: "admin" }), method(object({}), object({ mutedDeviceIds: array(number().int()).readonly() }), { auth: "admin" }), method(object({
18256
18313
  deviceId: number().int(),
18257
18314
  muted: boolean()
18258
18315
  }), object({ success: literal(true) }), {
@@ -20826,6 +20883,33 @@ var RunReplayFrameProcessorResultSchema = object({ tracks: array(object({
20826
20883
  * solid is this track", cheaper than re-deriving it from a trajectory. */
20827
20884
  framesMatched: number().int()
20828
20885
  })).readonly() });
20886
+ /**
20887
+ * The long-term series a camera produces. A closed union so a typo cannot
20888
+ * invent one, and the ONE declaration of it — the addon's `AnalyticsLtsSeries`
20889
+ * is an alias of this, not a second list.
20890
+ */
20891
+ var AnalyticsLtsSeriesSchema = _enum([
20892
+ "motion",
20893
+ "audio-dbfs",
20894
+ "battery",
20895
+ "occupancy"
20896
+ ]);
20897
+ /**
20898
+ * One closed 5-minute bucket of a long-term series.
20899
+ *
20900
+ * `samples` is how many readings the bucket folded — it is the ACTIVITY for a
20901
+ * series like `motion`, and the confidence for one like `occupancy`. A bucket
20902
+ * that exists at all was measured; a bucket that is absent was not, which is a
20903
+ * different claim from zero and the reason this is a sparse series.
20904
+ */
20905
+ var LtsBucketSchema = object({
20906
+ scope: string(),
20907
+ bucketStart: number().int(),
20908
+ samples: number().int().nonnegative(),
20909
+ sum: number(),
20910
+ min: number(),
20911
+ max: number()
20912
+ });
20829
20913
  DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).readonly()), method(object({
20830
20914
  deviceId: number(),
20831
20915
  trackId: string()
@@ -20872,6 +20956,14 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
20872
20956
  kinds: array(string()).optional(),
20873
20957
  limit: number().int().min(1).max(MAX_EVENT_QUERY_LIMIT).default(DEFAULT_EVENT_QUERY_LIMIT)
20874
20958
  }), array(SensorEventSchema).readonly()), method(KeyEventQueryInput, array(KeyEventSchema).readonly()), method(KeyEventBatchQueryInput, array(KeyEventsForDeviceSchema).readonly()), method(object({
20959
+ deviceId: number(),
20960
+ series: AnalyticsLtsSeriesSchema,
20961
+ /** Omit for EVERY scope of this series in the range. */
20962
+ scope: string().optional(),
20963
+ from: number(),
20964
+ to: number(),
20965
+ limit: number().int().positive().optional()
20966
+ }), array(LtsBucketSchema).readonly()), method(object({
20875
20967
  deviceId: number(),
20876
20968
  since: number(),
20877
20969
  until: number(),
@@ -21490,6 +21582,14 @@ var MotionSourceEnum = _enum([
21490
21582
  */
21491
21583
  var MotionSourcesSchema = array(MotionSourceEnum);
21492
21584
  /**
21585
+ * Which root detectors a camera runs. Deliberately the SAME vocabulary
21586
+ * post-analysis already tags every detection with (`DetectionSource`) rather
21587
+ * than a second spelling of the same two ideas — the value an operator picks
21588
+ * here is the value that comes back on the track, the overlay and the debug
21589
+ * row.
21590
+ */
21591
+ var DetectionSourcesSchema = array(DetectionSourceSchema);
21592
+ /**
21493
21593
  * Input shape for `pipeline-runner.reportMotion` cap method. Exported
21494
21594
  * so cap-side consumers (the orchestrator forward, the runner addon's
21495
21595
  * cap implementation, tests) can reuse the type instead of redeclaring
@@ -21640,6 +21740,35 @@ var RunnerCameraConfigSchema = object({
21640
21740
  * events; the orchestrator forwards to `reportMotion`.
21641
21741
  */
21642
21742
  motionSources: MotionSourcesSchema.default(["analyzer"]),
21743
+ /**
21744
+ * WHICH root detector runs for this camera. The detection counterpart of
21745
+ * {@link motionSources}, same shape and same discipline: a per-camera list
21746
+ * of sources the system understands, vendor-agnostic, owned here.
21747
+ *
21748
+ * - `pipeline` — this runner's own root step on decoded pixels (`steps`).
21749
+ * - `onboard` — the CAMERA's own detector, admitted only when it is named
21750
+ * here. Its boxes reach post-analysis on the same
21751
+ * `PipelineInferenceResult` payload as the pipeline's, so an onboard-born
21752
+ * track gets the same tracker, the same overlay and the same detail
21753
+ * subtree (face / plate / embedding).
21754
+ *
21755
+ * `['onboard']` alone is the REPLACEMENT: this runner's root step does not
21756
+ * run, and that is where a camera with a usable onboard detector buys back
21757
+ * its share of the accelerator. It saves the root inference, not the decode
21758
+ * — the detail subtree still needs pixels to cut crops from.
21759
+ *
21760
+ * A camera whose onboard detections carry no geometry cannot serve as a root
21761
+ * step at all (there is nothing to track), and the cap that knows this says
21762
+ * so on `native-object-detection.getOptions().geometry`. On Reolink that is
21763
+ * every battery camera: the boxes ride a sub-stream a battery camera never
21764
+ * attaches, so such a camera stays on `['pipeline']` and its onboard AI is
21765
+ * worth exactly what it already is — a wake signal with a class.
21766
+ *
21767
+ * Defaults to `['pipeline']`, which is byte-for-byte today's behaviour: a
21768
+ * vendor never turns a detector on for the operator, and neither does a
21769
+ * default.
21770
+ */
21771
+ detectionSources: DetectionSourcesSchema.default(["pipeline"]),
21643
21772
  pipelineEnabled: boolean().default(true),
21644
21773
  /** Ordered tree of video steps. Absent → runner skips video detection. */
21645
21774
  steps: array(PipelineStepInputSchema).readonly().optional(),
@@ -21821,7 +21950,47 @@ var RunnerLocalMetricsSchema = object({
21821
21950
  queueDepth: number(),
21822
21951
  frameLazy: FrameLazyMetricsSchema.optional()
21823
21952
  });
21953
+ /**
21954
+ * Pipeline Runner capability — runtime detection workhorse.
21955
+ *
21956
+ * One instance per node. Receives camera assignments from
21957
+ * `addon-pipeline-orchestrator`, subscribes to the local stream-broker for
21958
+ * decoded frames, drains motion + detection queues, calls the local
21959
+ * `motion-detection` and `pipeline-executor` capabilities, and emits typed
21960
+ * `pipeline.inference-result` and `detection.motion-analysis` events on
21961
+ * the bus.
21962
+ *
21963
+ * Distinct from `pipeline-orchestrator` (the hub-side load balancer) — the
21964
+ * runner has zero knowledge of other agents, no global state, and never
21965
+ * makes assignment decisions itself.
21966
+ */
21967
+ /**
21968
+ * Why a runner declined to look at a camera out of band. Named rather than a
21969
+ * bare `false`: a camera asleep on battery (D173), one attached elsewhere, one
21970
+ * already mid-session and one already bursting are four different facts, and a
21971
+ * caller told only "no" cannot tell a protection from a bug.
21972
+ */
21973
+ var OccupancyBurstRefusalSchema = _enum([
21974
+ "not-attached",
21975
+ "battery-asleep",
21976
+ "not-watching",
21977
+ "already-bursting"
21978
+ ]);
21824
21979
  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({
21980
+ deviceId: number(),
21981
+ /** How many frames to collect. The caller sizes this against what its
21982
+ * own confirmation needs; the runner clamps it to the field's range. */
21983
+ frames: number().int().positive().optional(),
21984
+ /** Why, for the log. A burst nobody can attribute is a cost nobody can
21985
+ * defend — the periodic one at least has a timer to point at. */
21986
+ reason: string()
21987
+ }), object({
21988
+ started: boolean(),
21989
+ refusedBecause: OccupancyBurstRefusalSchema.optional()
21990
+ }), {
21991
+ auth: "admin",
21992
+ kind: "mutation"
21993
+ }), method(object({
21825
21994
  handle: FrameHandleSchema,
21826
21995
  bbox: NativeCropBboxSchema,
21827
21996
  maxWidth: number().int().positive().optional(),
@@ -28763,11 +28932,46 @@ var NativeObjectDetectionStatusSchema = object({
28763
28932
  supportedClasses: array(NativeObjectClassEnum).readonly(),
28764
28933
  /**
28765
28934
  * Whether forwarding of onboard AI detections is enabled for this device.
28766
- * Default FALSE (opt-in, cold-start) — onboard AI pushes are noisy/sparse and
28767
- * churn the tracker, so forwarding stays off until the operator enables it.
28935
+ *
28936
+ * Cold-start OFF on every camera. A vendor does not decide which detector a
28937
+ * camera runs — that is the operator's choice, and it is made where every
28938
+ * other detection choice is made. `geometry` on
28939
+ * {@link NativeObjectDetectionOptionsSchema} is how the form says what the
28940
+ * choice would buy this particular camera.
28768
28941
  */
28769
28942
  enabled: boolean()
28770
28943
  });
28944
+ /**
28945
+ * WHEN a camera's onboard detections carry geometry.
28946
+ *
28947
+ * - `boxed` — always. The provider holds a standing channel for the boxes, so
28948
+ * a detection is a trackable subject whenever the camera sees one.
28949
+ * - `while-streaming` — only while some stream of this camera is already open.
28950
+ * The boxes ride the video's own side-channel rather than a feed of their
28951
+ * own, so they cost nothing and they exist only when something is pulling.
28952
+ * On Reolink this is every BATTERY camera: a persistent second feed is real
28953
+ * radio drain, but a camera that is awake is awake precisely because
28954
+ * something is in front of it, and its stream is already being pulled.
28955
+ * - `flag-only` — never. The firmware ships the class and nothing else; the
28956
+ * pipeline needs geometry to make a subject, so such a push reaches the
28957
+ * tracker as motion and no further.
28958
+ *
28959
+ * Reported and not inferred, because the operator's question in front of the
28960
+ * picker is "what do I get", and these are three different answers (D14: the
28961
+ * derived form is only as honest as `getOptions`).
28962
+ */
28963
+ var NativeObjectGeometryEnum = _enum([
28964
+ "boxed",
28965
+ "while-streaming",
28966
+ "flag-only"
28967
+ ]);
28968
+ var NativeObjectDetectionOptionsSchema = object({
28969
+ /** Classes this firmware can detect — the same list the status reports. */
28970
+ supportedClasses: array(NativeObjectClassEnum).readonly(),
28971
+ /** What a detection from this camera carries. */
28972
+ geometry: NativeObjectGeometryEnum
28973
+ });
28974
+ var NativeObjectDetectionSettingsPatchSchema = object({ enabled: boolean().optional() });
28771
28975
  var NativeObjectDetectionRuntimeStateSchema = NativeObjectDetectionStatusSchema.extend({
28772
28976
  /** Required by createRuntimeStateBridge — epoch ms of last refresh. */
28773
28977
  lastFetchedAt: number() });
@@ -28777,13 +28981,23 @@ var nativeObjectDetectionCapability = {
28777
28981
  deviceNative: true,
28778
28982
  mode: "singleton",
28779
28983
  deviceTypes: [DeviceType.Camera],
28780
- methods: { setEnabled: method(object({
28781
- deviceId: number(),
28782
- enabled: boolean()
28783
- }), _void(), {
28784
- kind: "mutation",
28785
- auth: "admin"
28786
- }) },
28984
+ methods: {
28985
+ getOptions: method(object({ deviceId: number() }), NativeObjectDetectionOptionsSchema),
28986
+ setSettings: method(object({
28987
+ deviceId: number(),
28988
+ settings: NativeObjectDetectionSettingsPatchSchema
28989
+ }), _void(), {
28990
+ kind: "mutation",
28991
+ auth: "admin"
28992
+ }),
28993
+ setEnabled: method(object({
28994
+ deviceId: number(),
28995
+ enabled: boolean()
28996
+ }), _void(), {
28997
+ kind: "mutation",
28998
+ auth: "admin"
28999
+ })
29000
+ },
28787
29001
  events: { onDetected: { data: object({
28788
29002
  deviceId: number(),
28789
29003
  detection: NativeDetectionSchema
@@ -33631,7 +33845,28 @@ var PerScopeBreakdownSchema = object({
33631
33845
  /** Total tracked objects in this scope (frame / zone / unzoned). */
33632
33846
  totalObjects: number().int().nonnegative(),
33633
33847
  /** Per-class count. Keys are macro class names (e.g. `person`, `car`). */
33634
- byClass: record(string(), number().int().nonnegative())
33848
+ byClass: record(string(), number().int().nonnegative()),
33849
+ /**
33850
+ * Of `totalObjects`, how many are STANDING — objects the census holds,
33851
+ * present but not going anywhere (a parked car, a bin, a statue).
33852
+ *
33853
+ * The operator's question about a scene has two halves and they answer
33854
+ * different things: "what is parked here" is stable for hours and must not
33855
+ * flap, while "who is walking through" is the thing an alert is about. One
33856
+ * number could only serve one of them, and `totalObjects` served the first
33857
+ * badly — a passer-by moved it and every occupancy rule saw a change.
33858
+ *
33859
+ * `standing + transient === totalObjects`, always. The total keeps its old
33860
+ * meaning exactly, so no rule written against it changes behaviour.
33861
+ *
33862
+ * ABSENT means UNKNOWN, never zero (D393): a snapshot from a node older than
33863
+ * this field cannot say, and a reader that folds absence in as 0 reports "no
33864
+ * parked objects here" about a camera whose lot is full.
33865
+ */
33866
+ standingObjects: number().int().nonnegative().optional(),
33867
+ /** Of `totalObjects`, how many are passing through. See `standingObjects` —
33868
+ * same absence rule. */
33869
+ transientObjects: number().int().nonnegative().optional()
33635
33870
  });
33636
33871
  var ZoneScopeBreakdownSchema = PerScopeBreakdownSchema.extend({
33637
33872
  zoneId: string(),
@@ -33754,6 +33989,23 @@ var HistoryPointSchema = object({
33754
33989
  * triple covers the three spatial scopes (per-zone, frame-wide,
33755
33990
  * outside-any-zone). Crossing them with `className?` gives the full
33756
33991
  * combinatorial coverage the operator UI requested.
33992
+ *
33993
+ * ## ⚠️ The three history methods are DEPRECATED
33994
+ *
33995
+ * They are served from a 60-MINUTE in-memory ring. It dies with the process,
33996
+ * so after a restart they report nothing about a night that did happen, and any
33997
+ * window past an hour is silently clamped — a caller cannot tell a clamp from
33998
+ * an empty scene. The presets in the occupancy chart existed to hide that
33999
+ * horizon rather than to answer a question.
34000
+ *
34001
+ * Use `pipelineAnalytics.readLongTermSeries({ series: 'occupancy', scope })`
34002
+ * instead. Those rows are already written for every camera, ~60 bytes per
34003
+ * (camera, scope, 5-minute bucket), kept for a year, and survive a restart.
34004
+ * Spell the scope with `occupancyScope(zoneId?, className?)` — the same
34005
+ * function the writer uses, so the two cannot drift.
34006
+ *
34007
+ * The ring stays until these three go, and it is the only thing left reading
34008
+ * it. Do not add a fourth caller.
33757
34009
  */
33758
34010
  var zoneAnalyticsCapability = {
33759
34011
  name: "zone-analytics",
@@ -38219,12 +38471,24 @@ Object.freeze({
38219
38471
  addonId: null,
38220
38472
  access: "create"
38221
38473
  },
38474
+ "nativeObjectDetection.getOptions": {
38475
+ capName: "native-object-detection",
38476
+ capScope: "device",
38477
+ addonId: null,
38478
+ access: "view"
38479
+ },
38222
38480
  "nativeObjectDetection.setEnabled": {
38223
38481
  capName: "native-object-detection",
38224
38482
  capScope: "device",
38225
38483
  addonId: null,
38226
38484
  access: "create"
38227
38485
  },
38486
+ "nativeObjectDetection.setSettings": {
38487
+ capName: "native-object-detection",
38488
+ capScope: "device",
38489
+ addonId: null,
38490
+ access: "create"
38491
+ },
38228
38492
  "navigation.getFeatures": {
38229
38493
  capName: "navigation",
38230
38494
  capScope: "device",
@@ -38489,6 +38753,12 @@ Object.freeze({
38489
38753
  addonId: null,
38490
38754
  access: "view"
38491
38755
  },
38756
+ "notificationRules.getClipRetentionAsks": {
38757
+ capName: "notification-rules",
38758
+ capScope: "system",
38759
+ addonId: null,
38760
+ access: "view"
38761
+ },
38492
38762
  "notificationRules.getConditionCatalog": {
38493
38763
  capName: "notification-rules",
38494
38764
  capScope: "system",
@@ -38999,6 +39269,12 @@ Object.freeze({
38999
39269
  addonId: null,
39000
39270
  access: "create"
39001
39271
  },
39272
+ "pipelineAnalytics.readLongTermSeries": {
39273
+ capName: "pipeline-analytics",
39274
+ capScope: "device",
39275
+ addonId: null,
39276
+ access: "view"
39277
+ },
39002
39278
  "pipelineAnalytics.rebuildObjectEmbeddings": {
39003
39279
  capName: "pipeline-analytics",
39004
39280
  capScope: "device",
@@ -39671,6 +39947,12 @@ Object.freeze({
39671
39947
  addonId: null,
39672
39948
  access: "create"
39673
39949
  },
39950
+ "pipelineRunner.requestOccupancyBurst": {
39951
+ capName: "pipeline-runner",
39952
+ capScope: "system",
39953
+ addonId: null,
39954
+ access: "create"
39955
+ },
39674
39956
  "pipelineRunner.runDetailSubtree": {
39675
39957
  capName: "pipeline-runner",
39676
39958
  capScope: "system",
@@ -42451,11 +42733,21 @@ Object.freeze({
42451
42733
  form: "single",
42452
42734
  optional: false
42453
42735
  }],
42736
+ "nativeObjectDetection.getOptions": [{
42737
+ name: "deviceId",
42738
+ form: "single",
42739
+ optional: false
42740
+ }],
42454
42741
  "nativeObjectDetection.setEnabled": [{
42455
42742
  name: "deviceId",
42456
42743
  form: "single",
42457
42744
  optional: false
42458
42745
  }],
42746
+ "nativeObjectDetection.setSettings": [{
42747
+ name: "deviceId",
42748
+ form: "single",
42749
+ optional: false
42750
+ }],
42459
42751
  "navigation.getFeatures": [{
42460
42752
  name: "deviceId",
42461
42753
  form: "single",
@@ -42805,6 +43097,11 @@ Object.freeze({
42805
43097
  form: "single",
42806
43098
  optional: false
42807
43099
  }],
43100
+ "pipelineAnalytics.readLongTermSeries": [{
43101
+ name: "deviceId",
43102
+ form: "single",
43103
+ optional: false
43104
+ }],
42808
43105
  "pipelineAnalytics.rebuildObjectEmbeddings": [{
42809
43106
  name: "deviceId",
42810
43107
  form: "single",
@@ -42995,6 +43292,11 @@ Object.freeze({
42995
43292
  form: "single",
42996
43293
  optional: false
42997
43294
  }],
43295
+ "pipelineRunner.requestOccupancyBurst": [{
43296
+ name: "deviceId",
43297
+ form: "single",
43298
+ optional: false
43299
+ }],
42998
43300
  "pipelineRunner.runDetailSubtree": [{
42999
43301
  name: "deviceId",
43000
43302
  form: "single",
package/dist/addon.mjs CHANGED
@@ -5360,7 +5360,7 @@ var ZodIssueCode = {
5360
5360
  var ZodFirstPartyTypeKind;
5361
5361
  ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
5362
5362
  //#endregion
5363
- //#region ../types/dist/sleep-DEuj7E3j.mjs
5363
+ //#region ../types/dist/sleep-BDR76Ykr.mjs
5364
5364
  /**
5365
5365
  * The audio chunk plane's byte format, and the ONE expansion from a coded
5366
5366
  * window to float samples (D455).
@@ -11594,6 +11594,21 @@ var streamSignalsCapability = {
11594
11594
  mode: "singleton",
11595
11595
  deviceTypes: Object.values(DeviceType),
11596
11596
  runtimeState: StreamSignalsStatusSchema,
11597
+ /**
11598
+ * Runtime-state durability: **session** — mirrored in RAM, never written.
11599
+ *
11600
+ * The slice holds what the DEVICE says it can emit. That is a probed fact,
11601
+ * not an operator choice: the provider re-declares it on every registration,
11602
+ * so losing it loses nothing and persisting it would freeze an answer the
11603
+ * camera is entitled to change. Measured the same day on the sibling case —
11604
+ * `native-object-detection.supportedClasses` was persisted, and a firmware
11605
+ * class the camera really detected stayed missing for the life of the row
11606
+ * because the fix could not reach it.
11607
+ *
11608
+ * See `RuntimeStateDurability`. Enforced by
11609
+ * `scripts/check-runtime-state-durability.ts`.
11610
+ */
11611
+ durability: "session",
11597
11612
  methods: {
11598
11613
  /**
11599
11614
  * What this device can emit. Empty is a valid and common answer — most
@@ -18208,6 +18223,48 @@ var NcAlarmConfigSchema = object({
18208
18223
  settings: NcAlarmSettingsSchema,
18209
18224
  coverage: array(NcAlarmModeCoverageSchema)
18210
18225
  });
18226
+ /**
18227
+ * ONE rule's demand on ONE camera's clip ring.
18228
+ *
18229
+ * A rule, not a camera: the broker takes the MAX over the asks that reach a
18230
+ * camera, so the answer stays a faithful description of the rules and the
18231
+ * bounding (the byte budget, the broker's own ceiling) stays where the cost
18232
+ * lives. A camera that appears in no ask is being told **nothing** — which is
18233
+ * a different thing from never having been told, and only the envelope
18234
+ * (`rulesLoaded`) can tell those apart.
18235
+ */
18236
+ var NcClipRetentionAskSchema = object({
18237
+ /**
18238
+ * The camera this ask is about. **Absent = every camera**, which is what a
18239
+ * rule with no `conditions.devices` means: it can fire anywhere, so it is
18240
+ * asking everywhere.
18241
+ */
18242
+ deviceId: number().int().nonnegative().optional(),
18243
+ /** Seconds of history the rule needs held for it. Never zero — a rule that
18244
+ * needs nothing produces no ask at all. */
18245
+ seconds: number().min(0).max(60),
18246
+ /** The profile the rule cuts from, when it named one. Absent = the cheapest
18247
+ * assigned, which is what the cut defaults to. */
18248
+ profile: CamProfileSchema.optional(),
18249
+ /** Who is asking — so a retention the operator did not expect names a rule. */
18250
+ ruleId: string(),
18251
+ ruleName: string(),
18252
+ /** Why this many seconds: the rule's own window, or the occupancy ceiling. */
18253
+ reason: _enum(["window", "occupancy"])
18254
+ });
18255
+ /**
18256
+ * The whole answer, with the one bit that keeps absence from reading as zero.
18257
+ *
18258
+ * `rulesLoaded` is false until the rule ledger has completed a load at least
18259
+ * once. A centre that is up but has not read its rules yet answers with an
18260
+ * empty ask list that means nothing at all — applying it would drop every
18261
+ * camera's ring to zero for the first events after a restart, which is the
18262
+ * footage this mechanism exists to keep.
18263
+ */
18264
+ var NcClipRetentionPlanSchema = object({
18265
+ rulesLoaded: boolean(),
18266
+ asks: array(NcClipRetentionAskSchema).readonly()
18267
+ });
18211
18268
  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 }), {
18212
18269
  kind: "mutation",
18213
18270
  auth: "admin",
@@ -18228,7 +18285,7 @@ method(object({}), object({ rules: array(NcRuleSchema) }), { auth: "admin" }), m
18228
18285
  }), object({ success: literal(true) }), {
18229
18286
  kind: "mutation",
18230
18287
  auth: "admin"
18231
- }), method(object({}), object({ mutedDeviceIds: array(number().int()).readonly() }), { auth: "admin" }), method(object({
18288
+ }), method(object({}), NcClipRetentionPlanSchema, { auth: "admin" }), method(object({}), object({ mutedDeviceIds: array(number().int()).readonly() }), { auth: "admin" }), method(object({
18232
18289
  deviceId: number().int(),
18233
18290
  muted: boolean()
18234
18291
  }), object({ success: literal(true) }), {
@@ -20802,6 +20859,33 @@ var RunReplayFrameProcessorResultSchema = object({ tracks: array(object({
20802
20859
  * solid is this track", cheaper than re-deriving it from a trajectory. */
20803
20860
  framesMatched: number().int()
20804
20861
  })).readonly() });
20862
+ /**
20863
+ * The long-term series a camera produces. A closed union so a typo cannot
20864
+ * invent one, and the ONE declaration of it — the addon's `AnalyticsLtsSeries`
20865
+ * is an alias of this, not a second list.
20866
+ */
20867
+ var AnalyticsLtsSeriesSchema = _enum([
20868
+ "motion",
20869
+ "audio-dbfs",
20870
+ "battery",
20871
+ "occupancy"
20872
+ ]);
20873
+ /**
20874
+ * One closed 5-minute bucket of a long-term series.
20875
+ *
20876
+ * `samples` is how many readings the bucket folded — it is the ACTIVITY for a
20877
+ * series like `motion`, and the confidence for one like `occupancy`. A bucket
20878
+ * that exists at all was measured; a bucket that is absent was not, which is a
20879
+ * different claim from zero and the reason this is a sparse series.
20880
+ */
20881
+ var LtsBucketSchema = object({
20882
+ scope: string(),
20883
+ bucketStart: number().int(),
20884
+ samples: number().int().nonnegative(),
20885
+ sum: number(),
20886
+ min: number(),
20887
+ max: number()
20888
+ });
20805
20889
  DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).readonly()), method(object({
20806
20890
  deviceId: number(),
20807
20891
  trackId: string()
@@ -20848,6 +20932,14 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
20848
20932
  kinds: array(string()).optional(),
20849
20933
  limit: number().int().min(1).max(MAX_EVENT_QUERY_LIMIT).default(DEFAULT_EVENT_QUERY_LIMIT)
20850
20934
  }), array(SensorEventSchema).readonly()), method(KeyEventQueryInput, array(KeyEventSchema).readonly()), method(KeyEventBatchQueryInput, array(KeyEventsForDeviceSchema).readonly()), method(object({
20935
+ deviceId: number(),
20936
+ series: AnalyticsLtsSeriesSchema,
20937
+ /** Omit for EVERY scope of this series in the range. */
20938
+ scope: string().optional(),
20939
+ from: number(),
20940
+ to: number(),
20941
+ limit: number().int().positive().optional()
20942
+ }), array(LtsBucketSchema).readonly()), method(object({
20851
20943
  deviceId: number(),
20852
20944
  since: number(),
20853
20945
  until: number(),
@@ -21466,6 +21558,14 @@ var MotionSourceEnum = _enum([
21466
21558
  */
21467
21559
  var MotionSourcesSchema = array(MotionSourceEnum);
21468
21560
  /**
21561
+ * Which root detectors a camera runs. Deliberately the SAME vocabulary
21562
+ * post-analysis already tags every detection with (`DetectionSource`) rather
21563
+ * than a second spelling of the same two ideas — the value an operator picks
21564
+ * here is the value that comes back on the track, the overlay and the debug
21565
+ * row.
21566
+ */
21567
+ var DetectionSourcesSchema = array(DetectionSourceSchema);
21568
+ /**
21469
21569
  * Input shape for `pipeline-runner.reportMotion` cap method. Exported
21470
21570
  * so cap-side consumers (the orchestrator forward, the runner addon's
21471
21571
  * cap implementation, tests) can reuse the type instead of redeclaring
@@ -21616,6 +21716,35 @@ var RunnerCameraConfigSchema = object({
21616
21716
  * events; the orchestrator forwards to `reportMotion`.
21617
21717
  */
21618
21718
  motionSources: MotionSourcesSchema.default(["analyzer"]),
21719
+ /**
21720
+ * WHICH root detector runs for this camera. The detection counterpart of
21721
+ * {@link motionSources}, same shape and same discipline: a per-camera list
21722
+ * of sources the system understands, vendor-agnostic, owned here.
21723
+ *
21724
+ * - `pipeline` — this runner's own root step on decoded pixels (`steps`).
21725
+ * - `onboard` — the CAMERA's own detector, admitted only when it is named
21726
+ * here. Its boxes reach post-analysis on the same
21727
+ * `PipelineInferenceResult` payload as the pipeline's, so an onboard-born
21728
+ * track gets the same tracker, the same overlay and the same detail
21729
+ * subtree (face / plate / embedding).
21730
+ *
21731
+ * `['onboard']` alone is the REPLACEMENT: this runner's root step does not
21732
+ * run, and that is where a camera with a usable onboard detector buys back
21733
+ * its share of the accelerator. It saves the root inference, not the decode
21734
+ * — the detail subtree still needs pixels to cut crops from.
21735
+ *
21736
+ * A camera whose onboard detections carry no geometry cannot serve as a root
21737
+ * step at all (there is nothing to track), and the cap that knows this says
21738
+ * so on `native-object-detection.getOptions().geometry`. On Reolink that is
21739
+ * every battery camera: the boxes ride a sub-stream a battery camera never
21740
+ * attaches, so such a camera stays on `['pipeline']` and its onboard AI is
21741
+ * worth exactly what it already is — a wake signal with a class.
21742
+ *
21743
+ * Defaults to `['pipeline']`, which is byte-for-byte today's behaviour: a
21744
+ * vendor never turns a detector on for the operator, and neither does a
21745
+ * default.
21746
+ */
21747
+ detectionSources: DetectionSourcesSchema.default(["pipeline"]),
21619
21748
  pipelineEnabled: boolean().default(true),
21620
21749
  /** Ordered tree of video steps. Absent → runner skips video detection. */
21621
21750
  steps: array(PipelineStepInputSchema).readonly().optional(),
@@ -21797,7 +21926,47 @@ var RunnerLocalMetricsSchema = object({
21797
21926
  queueDepth: number(),
21798
21927
  frameLazy: FrameLazyMetricsSchema.optional()
21799
21928
  });
21929
+ /**
21930
+ * Pipeline Runner capability — runtime detection workhorse.
21931
+ *
21932
+ * One instance per node. Receives camera assignments from
21933
+ * `addon-pipeline-orchestrator`, subscribes to the local stream-broker for
21934
+ * decoded frames, drains motion + detection queues, calls the local
21935
+ * `motion-detection` and `pipeline-executor` capabilities, and emits typed
21936
+ * `pipeline.inference-result` and `detection.motion-analysis` events on
21937
+ * the bus.
21938
+ *
21939
+ * Distinct from `pipeline-orchestrator` (the hub-side load balancer) — the
21940
+ * runner has zero knowledge of other agents, no global state, and never
21941
+ * makes assignment decisions itself.
21942
+ */
21943
+ /**
21944
+ * Why a runner declined to look at a camera out of band. Named rather than a
21945
+ * bare `false`: a camera asleep on battery (D173), one attached elsewhere, one
21946
+ * already mid-session and one already bursting are four different facts, and a
21947
+ * caller told only "no" cannot tell a protection from a bug.
21948
+ */
21949
+ var OccupancyBurstRefusalSchema = _enum([
21950
+ "not-attached",
21951
+ "battery-asleep",
21952
+ "not-watching",
21953
+ "already-bursting"
21954
+ ]);
21800
21955
  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({
21956
+ deviceId: number(),
21957
+ /** How many frames to collect. The caller sizes this against what its
21958
+ * own confirmation needs; the runner clamps it to the field's range. */
21959
+ frames: number().int().positive().optional(),
21960
+ /** Why, for the log. A burst nobody can attribute is a cost nobody can
21961
+ * defend — the periodic one at least has a timer to point at. */
21962
+ reason: string()
21963
+ }), object({
21964
+ started: boolean(),
21965
+ refusedBecause: OccupancyBurstRefusalSchema.optional()
21966
+ }), {
21967
+ auth: "admin",
21968
+ kind: "mutation"
21969
+ }), method(object({
21801
21970
  handle: FrameHandleSchema,
21802
21971
  bbox: NativeCropBboxSchema,
21803
21972
  maxWidth: number().int().positive().optional(),
@@ -28739,11 +28908,46 @@ var NativeObjectDetectionStatusSchema = object({
28739
28908
  supportedClasses: array(NativeObjectClassEnum).readonly(),
28740
28909
  /**
28741
28910
  * Whether forwarding of onboard AI detections is enabled for this device.
28742
- * Default FALSE (opt-in, cold-start) — onboard AI pushes are noisy/sparse and
28743
- * churn the tracker, so forwarding stays off until the operator enables it.
28911
+ *
28912
+ * Cold-start OFF on every camera. A vendor does not decide which detector a
28913
+ * camera runs — that is the operator's choice, and it is made where every
28914
+ * other detection choice is made. `geometry` on
28915
+ * {@link NativeObjectDetectionOptionsSchema} is how the form says what the
28916
+ * choice would buy this particular camera.
28744
28917
  */
28745
28918
  enabled: boolean()
28746
28919
  });
28920
+ /**
28921
+ * WHEN a camera's onboard detections carry geometry.
28922
+ *
28923
+ * - `boxed` — always. The provider holds a standing channel for the boxes, so
28924
+ * a detection is a trackable subject whenever the camera sees one.
28925
+ * - `while-streaming` — only while some stream of this camera is already open.
28926
+ * The boxes ride the video's own side-channel rather than a feed of their
28927
+ * own, so they cost nothing and they exist only when something is pulling.
28928
+ * On Reolink this is every BATTERY camera: a persistent second feed is real
28929
+ * radio drain, but a camera that is awake is awake precisely because
28930
+ * something is in front of it, and its stream is already being pulled.
28931
+ * - `flag-only` — never. The firmware ships the class and nothing else; the
28932
+ * pipeline needs geometry to make a subject, so such a push reaches the
28933
+ * tracker as motion and no further.
28934
+ *
28935
+ * Reported and not inferred, because the operator's question in front of the
28936
+ * picker is "what do I get", and these are three different answers (D14: the
28937
+ * derived form is only as honest as `getOptions`).
28938
+ */
28939
+ var NativeObjectGeometryEnum = _enum([
28940
+ "boxed",
28941
+ "while-streaming",
28942
+ "flag-only"
28943
+ ]);
28944
+ var NativeObjectDetectionOptionsSchema = object({
28945
+ /** Classes this firmware can detect — the same list the status reports. */
28946
+ supportedClasses: array(NativeObjectClassEnum).readonly(),
28947
+ /** What a detection from this camera carries. */
28948
+ geometry: NativeObjectGeometryEnum
28949
+ });
28950
+ var NativeObjectDetectionSettingsPatchSchema = object({ enabled: boolean().optional() });
28747
28951
  var NativeObjectDetectionRuntimeStateSchema = NativeObjectDetectionStatusSchema.extend({
28748
28952
  /** Required by createRuntimeStateBridge — epoch ms of last refresh. */
28749
28953
  lastFetchedAt: number() });
@@ -28753,13 +28957,23 @@ var nativeObjectDetectionCapability = {
28753
28957
  deviceNative: true,
28754
28958
  mode: "singleton",
28755
28959
  deviceTypes: [DeviceType.Camera],
28756
- methods: { setEnabled: method(object({
28757
- deviceId: number(),
28758
- enabled: boolean()
28759
- }), _void(), {
28760
- kind: "mutation",
28761
- auth: "admin"
28762
- }) },
28960
+ methods: {
28961
+ getOptions: method(object({ deviceId: number() }), NativeObjectDetectionOptionsSchema),
28962
+ setSettings: method(object({
28963
+ deviceId: number(),
28964
+ settings: NativeObjectDetectionSettingsPatchSchema
28965
+ }), _void(), {
28966
+ kind: "mutation",
28967
+ auth: "admin"
28968
+ }),
28969
+ setEnabled: method(object({
28970
+ deviceId: number(),
28971
+ enabled: boolean()
28972
+ }), _void(), {
28973
+ kind: "mutation",
28974
+ auth: "admin"
28975
+ })
28976
+ },
28763
28977
  events: { onDetected: { data: object({
28764
28978
  deviceId: number(),
28765
28979
  detection: NativeDetectionSchema
@@ -33607,7 +33821,28 @@ var PerScopeBreakdownSchema = object({
33607
33821
  /** Total tracked objects in this scope (frame / zone / unzoned). */
33608
33822
  totalObjects: number().int().nonnegative(),
33609
33823
  /** Per-class count. Keys are macro class names (e.g. `person`, `car`). */
33610
- byClass: record(string(), number().int().nonnegative())
33824
+ byClass: record(string(), number().int().nonnegative()),
33825
+ /**
33826
+ * Of `totalObjects`, how many are STANDING — objects the census holds,
33827
+ * present but not going anywhere (a parked car, a bin, a statue).
33828
+ *
33829
+ * The operator's question about a scene has two halves and they answer
33830
+ * different things: "what is parked here" is stable for hours and must not
33831
+ * flap, while "who is walking through" is the thing an alert is about. One
33832
+ * number could only serve one of them, and `totalObjects` served the first
33833
+ * badly — a passer-by moved it and every occupancy rule saw a change.
33834
+ *
33835
+ * `standing + transient === totalObjects`, always. The total keeps its old
33836
+ * meaning exactly, so no rule written against it changes behaviour.
33837
+ *
33838
+ * ABSENT means UNKNOWN, never zero (D393): a snapshot from a node older than
33839
+ * this field cannot say, and a reader that folds absence in as 0 reports "no
33840
+ * parked objects here" about a camera whose lot is full.
33841
+ */
33842
+ standingObjects: number().int().nonnegative().optional(),
33843
+ /** Of `totalObjects`, how many are passing through. See `standingObjects` —
33844
+ * same absence rule. */
33845
+ transientObjects: number().int().nonnegative().optional()
33611
33846
  });
33612
33847
  var ZoneScopeBreakdownSchema = PerScopeBreakdownSchema.extend({
33613
33848
  zoneId: string(),
@@ -33730,6 +33965,23 @@ var HistoryPointSchema = object({
33730
33965
  * triple covers the three spatial scopes (per-zone, frame-wide,
33731
33966
  * outside-any-zone). Crossing them with `className?` gives the full
33732
33967
  * combinatorial coverage the operator UI requested.
33968
+ *
33969
+ * ## ⚠️ The three history methods are DEPRECATED
33970
+ *
33971
+ * They are served from a 60-MINUTE in-memory ring. It dies with the process,
33972
+ * so after a restart they report nothing about a night that did happen, and any
33973
+ * window past an hour is silently clamped — a caller cannot tell a clamp from
33974
+ * an empty scene. The presets in the occupancy chart existed to hide that
33975
+ * horizon rather than to answer a question.
33976
+ *
33977
+ * Use `pipelineAnalytics.readLongTermSeries({ series: 'occupancy', scope })`
33978
+ * instead. Those rows are already written for every camera, ~60 bytes per
33979
+ * (camera, scope, 5-minute bucket), kept for a year, and survive a restart.
33980
+ * Spell the scope with `occupancyScope(zoneId?, className?)` — the same
33981
+ * function the writer uses, so the two cannot drift.
33982
+ *
33983
+ * The ring stays until these three go, and it is the only thing left reading
33984
+ * it. Do not add a fourth caller.
33733
33985
  */
33734
33986
  var zoneAnalyticsCapability = {
33735
33987
  name: "zone-analytics",
@@ -38195,12 +38447,24 @@ Object.freeze({
38195
38447
  addonId: null,
38196
38448
  access: "create"
38197
38449
  },
38450
+ "nativeObjectDetection.getOptions": {
38451
+ capName: "native-object-detection",
38452
+ capScope: "device",
38453
+ addonId: null,
38454
+ access: "view"
38455
+ },
38198
38456
  "nativeObjectDetection.setEnabled": {
38199
38457
  capName: "native-object-detection",
38200
38458
  capScope: "device",
38201
38459
  addonId: null,
38202
38460
  access: "create"
38203
38461
  },
38462
+ "nativeObjectDetection.setSettings": {
38463
+ capName: "native-object-detection",
38464
+ capScope: "device",
38465
+ addonId: null,
38466
+ access: "create"
38467
+ },
38204
38468
  "navigation.getFeatures": {
38205
38469
  capName: "navigation",
38206
38470
  capScope: "device",
@@ -38465,6 +38729,12 @@ Object.freeze({
38465
38729
  addonId: null,
38466
38730
  access: "view"
38467
38731
  },
38732
+ "notificationRules.getClipRetentionAsks": {
38733
+ capName: "notification-rules",
38734
+ capScope: "system",
38735
+ addonId: null,
38736
+ access: "view"
38737
+ },
38468
38738
  "notificationRules.getConditionCatalog": {
38469
38739
  capName: "notification-rules",
38470
38740
  capScope: "system",
@@ -38975,6 +39245,12 @@ Object.freeze({
38975
39245
  addonId: null,
38976
39246
  access: "create"
38977
39247
  },
39248
+ "pipelineAnalytics.readLongTermSeries": {
39249
+ capName: "pipeline-analytics",
39250
+ capScope: "device",
39251
+ addonId: null,
39252
+ access: "view"
39253
+ },
38978
39254
  "pipelineAnalytics.rebuildObjectEmbeddings": {
38979
39255
  capName: "pipeline-analytics",
38980
39256
  capScope: "device",
@@ -39647,6 +39923,12 @@ Object.freeze({
39647
39923
  addonId: null,
39648
39924
  access: "create"
39649
39925
  },
39926
+ "pipelineRunner.requestOccupancyBurst": {
39927
+ capName: "pipeline-runner",
39928
+ capScope: "system",
39929
+ addonId: null,
39930
+ access: "create"
39931
+ },
39650
39932
  "pipelineRunner.runDetailSubtree": {
39651
39933
  capName: "pipeline-runner",
39652
39934
  capScope: "system",
@@ -42427,11 +42709,21 @@ Object.freeze({
42427
42709
  form: "single",
42428
42710
  optional: false
42429
42711
  }],
42712
+ "nativeObjectDetection.getOptions": [{
42713
+ name: "deviceId",
42714
+ form: "single",
42715
+ optional: false
42716
+ }],
42430
42717
  "nativeObjectDetection.setEnabled": [{
42431
42718
  name: "deviceId",
42432
42719
  form: "single",
42433
42720
  optional: false
42434
42721
  }],
42722
+ "nativeObjectDetection.setSettings": [{
42723
+ name: "deviceId",
42724
+ form: "single",
42725
+ optional: false
42726
+ }],
42435
42727
  "navigation.getFeatures": [{
42436
42728
  name: "deviceId",
42437
42729
  form: "single",
@@ -42781,6 +43073,11 @@ Object.freeze({
42781
43073
  form: "single",
42782
43074
  optional: false
42783
43075
  }],
43076
+ "pipelineAnalytics.readLongTermSeries": [{
43077
+ name: "deviceId",
43078
+ form: "single",
43079
+ optional: false
43080
+ }],
42784
43081
  "pipelineAnalytics.rebuildObjectEmbeddings": [{
42785
43082
  name: "deviceId",
42786
43083
  form: "single",
@@ -42971,6 +43268,11 @@ Object.freeze({
42971
43268
  form: "single",
42972
43269
  optional: false
42973
43270
  }],
43271
+ "pipelineRunner.requestOccupancyBurst": [{
43272
+ name: "deviceId",
43273
+ form: "single",
43274
+ optional: false
43275
+ }],
42974
43276
  "pipelineRunner.runDetailSubtree": [{
42975
43277
  name: "deviceId",
42976
43278
  form: "single",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-provider-rtsp",
3
- "version": "1.2.102",
3
+ "version": "1.2.103",
4
4
  "description": "Generic RTSP camera device provider addon for CamStack",
5
5
  "keywords": [
6
6
  "camstack",
@@ -63,7 +63,7 @@
63
63
  "build": "vite build",
64
64
  "dev": "vite build --watch",
65
65
  "typecheck": "tsc --noEmit",
66
- "publish": "npm publish --access public"
66
+ "publish:npm": "npm publish --access public"
67
67
  },
68
68
  "peerDependencies": {
69
69
  "@camstack/types": "*",