@camstack/addon-provider-amcrest 0.2.104 → 0.2.105

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
@@ -5367,7 +5367,7 @@ var ZodIssueCode = {
5367
5367
  var ZodFirstPartyTypeKind;
5368
5368
  ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
5369
5369
  //#endregion
5370
- //#region ../types/dist/sleep-DEuj7E3j.mjs
5370
+ //#region ../types/dist/sleep-BDR76Ykr.mjs
5371
5371
  /**
5372
5372
  * The audio chunk plane's byte format, and the ONE expansion from a coded
5373
5373
  * window to float samples (D455).
@@ -11557,6 +11557,21 @@ var streamSignalsCapability = {
11557
11557
  mode: "singleton",
11558
11558
  deviceTypes: Object.values(DeviceType),
11559
11559
  runtimeState: StreamSignalsStatusSchema,
11560
+ /**
11561
+ * Runtime-state durability: **session** — mirrored in RAM, never written.
11562
+ *
11563
+ * The slice holds what the DEVICE says it can emit. That is a probed fact,
11564
+ * not an operator choice: the provider re-declares it on every registration,
11565
+ * so losing it loses nothing and persisting it would freeze an answer the
11566
+ * camera is entitled to change. Measured the same day on the sibling case —
11567
+ * `native-object-detection.supportedClasses` was persisted, and a firmware
11568
+ * class the camera really detected stayed missing for the life of the row
11569
+ * because the fix could not reach it.
11570
+ *
11571
+ * See `RuntimeStateDurability`. Enforced by
11572
+ * `scripts/check-runtime-state-durability.ts`.
11573
+ */
11574
+ durability: "session",
11560
11575
  methods: {
11561
11576
  /**
11562
11577
  * What this device can emit. Empty is a valid and common answer — most
@@ -18171,6 +18186,48 @@ var NcAlarmConfigSchema = object({
18171
18186
  settings: NcAlarmSettingsSchema,
18172
18187
  coverage: array(NcAlarmModeCoverageSchema)
18173
18188
  });
18189
+ /**
18190
+ * ONE rule's demand on ONE camera's clip ring.
18191
+ *
18192
+ * A rule, not a camera: the broker takes the MAX over the asks that reach a
18193
+ * camera, so the answer stays a faithful description of the rules and the
18194
+ * bounding (the byte budget, the broker's own ceiling) stays where the cost
18195
+ * lives. A camera that appears in no ask is being told **nothing** — which is
18196
+ * a different thing from never having been told, and only the envelope
18197
+ * (`rulesLoaded`) can tell those apart.
18198
+ */
18199
+ var NcClipRetentionAskSchema = object({
18200
+ /**
18201
+ * The camera this ask is about. **Absent = every camera**, which is what a
18202
+ * rule with no `conditions.devices` means: it can fire anywhere, so it is
18203
+ * asking everywhere.
18204
+ */
18205
+ deviceId: number().int().nonnegative().optional(),
18206
+ /** Seconds of history the rule needs held for it. Never zero — a rule that
18207
+ * needs nothing produces no ask at all. */
18208
+ seconds: number().min(0).max(60),
18209
+ /** The profile the rule cuts from, when it named one. Absent = the cheapest
18210
+ * assigned, which is what the cut defaults to. */
18211
+ profile: CamProfileSchema.optional(),
18212
+ /** Who is asking — so a retention the operator did not expect names a rule. */
18213
+ ruleId: string(),
18214
+ ruleName: string(),
18215
+ /** Why this many seconds: the rule's own window, or the occupancy ceiling. */
18216
+ reason: _enum(["window", "occupancy"])
18217
+ });
18218
+ /**
18219
+ * The whole answer, with the one bit that keeps absence from reading as zero.
18220
+ *
18221
+ * `rulesLoaded` is false until the rule ledger has completed a load at least
18222
+ * once. A centre that is up but has not read its rules yet answers with an
18223
+ * empty ask list that means nothing at all — applying it would drop every
18224
+ * camera's ring to zero for the first events after a restart, which is the
18225
+ * footage this mechanism exists to keep.
18226
+ */
18227
+ var NcClipRetentionPlanSchema = object({
18228
+ rulesLoaded: boolean(),
18229
+ asks: array(NcClipRetentionAskSchema).readonly()
18230
+ });
18174
18231
  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 }), {
18175
18232
  kind: "mutation",
18176
18233
  auth: "admin",
@@ -18191,7 +18248,7 @@ method(object({}), object({ rules: array(NcRuleSchema) }), { auth: "admin" }), m
18191
18248
  }), object({ success: literal(true) }), {
18192
18249
  kind: "mutation",
18193
18250
  auth: "admin"
18194
- }), method(object({}), object({ mutedDeviceIds: array(number().int()).readonly() }), { auth: "admin" }), method(object({
18251
+ }), method(object({}), NcClipRetentionPlanSchema, { auth: "admin" }), method(object({}), object({ mutedDeviceIds: array(number().int()).readonly() }), { auth: "admin" }), method(object({
18195
18252
  deviceId: number().int(),
18196
18253
  muted: boolean()
18197
18254
  }), object({ success: literal(true) }), {
@@ -20765,6 +20822,33 @@ var RunReplayFrameProcessorResultSchema = object({ tracks: array(object({
20765
20822
  * solid is this track", cheaper than re-deriving it from a trajectory. */
20766
20823
  framesMatched: number().int()
20767
20824
  })).readonly() });
20825
+ /**
20826
+ * The long-term series a camera produces. A closed union so a typo cannot
20827
+ * invent one, and the ONE declaration of it — the addon's `AnalyticsLtsSeries`
20828
+ * is an alias of this, not a second list.
20829
+ */
20830
+ var AnalyticsLtsSeriesSchema = _enum([
20831
+ "motion",
20832
+ "audio-dbfs",
20833
+ "battery",
20834
+ "occupancy"
20835
+ ]);
20836
+ /**
20837
+ * One closed 5-minute bucket of a long-term series.
20838
+ *
20839
+ * `samples` is how many readings the bucket folded — it is the ACTIVITY for a
20840
+ * series like `motion`, and the confidence for one like `occupancy`. A bucket
20841
+ * that exists at all was measured; a bucket that is absent was not, which is a
20842
+ * different claim from zero and the reason this is a sparse series.
20843
+ */
20844
+ var LtsBucketSchema = object({
20845
+ scope: string(),
20846
+ bucketStart: number().int(),
20847
+ samples: number().int().nonnegative(),
20848
+ sum: number(),
20849
+ min: number(),
20850
+ max: number()
20851
+ });
20768
20852
  DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).readonly()), method(object({
20769
20853
  deviceId: number(),
20770
20854
  trackId: string()
@@ -20811,6 +20895,14 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
20811
20895
  kinds: array(string()).optional(),
20812
20896
  limit: number().int().min(1).max(MAX_EVENT_QUERY_LIMIT).default(DEFAULT_EVENT_QUERY_LIMIT)
20813
20897
  }), array(SensorEventSchema).readonly()), method(KeyEventQueryInput, array(KeyEventSchema).readonly()), method(KeyEventBatchQueryInput, array(KeyEventsForDeviceSchema).readonly()), method(object({
20898
+ deviceId: number(),
20899
+ series: AnalyticsLtsSeriesSchema,
20900
+ /** Omit for EVERY scope of this series in the range. */
20901
+ scope: string().optional(),
20902
+ from: number(),
20903
+ to: number(),
20904
+ limit: number().int().positive().optional()
20905
+ }), array(LtsBucketSchema).readonly()), method(object({
20814
20906
  deviceId: number(),
20815
20907
  since: number(),
20816
20908
  until: number(),
@@ -21429,6 +21521,14 @@ var MotionSourceEnum = _enum([
21429
21521
  */
21430
21522
  var MotionSourcesSchema = array(MotionSourceEnum);
21431
21523
  /**
21524
+ * Which root detectors a camera runs. Deliberately the SAME vocabulary
21525
+ * post-analysis already tags every detection with (`DetectionSource`) rather
21526
+ * than a second spelling of the same two ideas — the value an operator picks
21527
+ * here is the value that comes back on the track, the overlay and the debug
21528
+ * row.
21529
+ */
21530
+ var DetectionSourcesSchema = array(DetectionSourceSchema);
21531
+ /**
21432
21532
  * Input shape for `pipeline-runner.reportMotion` cap method. Exported
21433
21533
  * so cap-side consumers (the orchestrator forward, the runner addon's
21434
21534
  * cap implementation, tests) can reuse the type instead of redeclaring
@@ -21579,6 +21679,35 @@ var RunnerCameraConfigSchema = object({
21579
21679
  * events; the orchestrator forwards to `reportMotion`.
21580
21680
  */
21581
21681
  motionSources: MotionSourcesSchema.default(["analyzer"]),
21682
+ /**
21683
+ * WHICH root detector runs for this camera. The detection counterpart of
21684
+ * {@link motionSources}, same shape and same discipline: a per-camera list
21685
+ * of sources the system understands, vendor-agnostic, owned here.
21686
+ *
21687
+ * - `pipeline` — this runner's own root step on decoded pixels (`steps`).
21688
+ * - `onboard` — the CAMERA's own detector, admitted only when it is named
21689
+ * here. Its boxes reach post-analysis on the same
21690
+ * `PipelineInferenceResult` payload as the pipeline's, so an onboard-born
21691
+ * track gets the same tracker, the same overlay and the same detail
21692
+ * subtree (face / plate / embedding).
21693
+ *
21694
+ * `['onboard']` alone is the REPLACEMENT: this runner's root step does not
21695
+ * run, and that is where a camera with a usable onboard detector buys back
21696
+ * its share of the accelerator. It saves the root inference, not the decode
21697
+ * — the detail subtree still needs pixels to cut crops from.
21698
+ *
21699
+ * A camera whose onboard detections carry no geometry cannot serve as a root
21700
+ * step at all (there is nothing to track), and the cap that knows this says
21701
+ * so on `native-object-detection.getOptions().geometry`. On Reolink that is
21702
+ * every battery camera: the boxes ride a sub-stream a battery camera never
21703
+ * attaches, so such a camera stays on `['pipeline']` and its onboard AI is
21704
+ * worth exactly what it already is — a wake signal with a class.
21705
+ *
21706
+ * Defaults to `['pipeline']`, which is byte-for-byte today's behaviour: a
21707
+ * vendor never turns a detector on for the operator, and neither does a
21708
+ * default.
21709
+ */
21710
+ detectionSources: DetectionSourcesSchema.default(["pipeline"]),
21582
21711
  pipelineEnabled: boolean().default(true),
21583
21712
  /** Ordered tree of video steps. Absent → runner skips video detection. */
21584
21713
  steps: array(PipelineStepInputSchema).readonly().optional(),
@@ -21760,7 +21889,47 @@ var RunnerLocalMetricsSchema = object({
21760
21889
  queueDepth: number(),
21761
21890
  frameLazy: FrameLazyMetricsSchema.optional()
21762
21891
  });
21892
+ /**
21893
+ * Pipeline Runner capability — runtime detection workhorse.
21894
+ *
21895
+ * One instance per node. Receives camera assignments from
21896
+ * `addon-pipeline-orchestrator`, subscribes to the local stream-broker for
21897
+ * decoded frames, drains motion + detection queues, calls the local
21898
+ * `motion-detection` and `pipeline-executor` capabilities, and emits typed
21899
+ * `pipeline.inference-result` and `detection.motion-analysis` events on
21900
+ * the bus.
21901
+ *
21902
+ * Distinct from `pipeline-orchestrator` (the hub-side load balancer) — the
21903
+ * runner has zero knowledge of other agents, no global state, and never
21904
+ * makes assignment decisions itself.
21905
+ */
21906
+ /**
21907
+ * Why a runner declined to look at a camera out of band. Named rather than a
21908
+ * bare `false`: a camera asleep on battery (D173), one attached elsewhere, one
21909
+ * already mid-session and one already bursting are four different facts, and a
21910
+ * caller told only "no" cannot tell a protection from a bug.
21911
+ */
21912
+ var OccupancyBurstRefusalSchema = _enum([
21913
+ "not-attached",
21914
+ "battery-asleep",
21915
+ "not-watching",
21916
+ "already-bursting"
21917
+ ]);
21763
21918
  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({
21919
+ deviceId: number(),
21920
+ /** How many frames to collect. The caller sizes this against what its
21921
+ * own confirmation needs; the runner clamps it to the field's range. */
21922
+ frames: number().int().positive().optional(),
21923
+ /** Why, for the log. A burst nobody can attribute is a cost nobody can
21924
+ * defend — the periodic one at least has a timer to point at. */
21925
+ reason: string()
21926
+ }), object({
21927
+ started: boolean(),
21928
+ refusedBecause: OccupancyBurstRefusalSchema.optional()
21929
+ }), {
21930
+ auth: "admin",
21931
+ kind: "mutation"
21932
+ }), method(object({
21764
21933
  handle: FrameHandleSchema,
21765
21934
  bbox: NativeCropBboxSchema,
21766
21935
  maxWidth: number().int().positive().optional(),
@@ -28719,11 +28888,46 @@ var NativeObjectDetectionStatusSchema = object({
28719
28888
  supportedClasses: array(NativeObjectClassEnum).readonly(),
28720
28889
  /**
28721
28890
  * Whether forwarding of onboard AI detections is enabled for this device.
28722
- * Default FALSE (opt-in, cold-start) — onboard AI pushes are noisy/sparse and
28723
- * churn the tracker, so forwarding stays off until the operator enables it.
28891
+ *
28892
+ * Cold-start OFF on every camera. A vendor does not decide which detector a
28893
+ * camera runs — that is the operator's choice, and it is made where every
28894
+ * other detection choice is made. `geometry` on
28895
+ * {@link NativeObjectDetectionOptionsSchema} is how the form says what the
28896
+ * choice would buy this particular camera.
28724
28897
  */
28725
28898
  enabled: boolean()
28726
28899
  });
28900
+ /**
28901
+ * WHEN a camera's onboard detections carry geometry.
28902
+ *
28903
+ * - `boxed` — always. The provider holds a standing channel for the boxes, so
28904
+ * a detection is a trackable subject whenever the camera sees one.
28905
+ * - `while-streaming` — only while some stream of this camera is already open.
28906
+ * The boxes ride the video's own side-channel rather than a feed of their
28907
+ * own, so they cost nothing and they exist only when something is pulling.
28908
+ * On Reolink this is every BATTERY camera: a persistent second feed is real
28909
+ * radio drain, but a camera that is awake is awake precisely because
28910
+ * something is in front of it, and its stream is already being pulled.
28911
+ * - `flag-only` — never. The firmware ships the class and nothing else; the
28912
+ * pipeline needs geometry to make a subject, so such a push reaches the
28913
+ * tracker as motion and no further.
28914
+ *
28915
+ * Reported and not inferred, because the operator's question in front of the
28916
+ * picker is "what do I get", and these are three different answers (D14: the
28917
+ * derived form is only as honest as `getOptions`).
28918
+ */
28919
+ var NativeObjectGeometryEnum = _enum([
28920
+ "boxed",
28921
+ "while-streaming",
28922
+ "flag-only"
28923
+ ]);
28924
+ var NativeObjectDetectionOptionsSchema = object({
28925
+ /** Classes this firmware can detect — the same list the status reports. */
28926
+ supportedClasses: array(NativeObjectClassEnum).readonly(),
28927
+ /** What a detection from this camera carries. */
28928
+ geometry: NativeObjectGeometryEnum
28929
+ });
28930
+ var NativeObjectDetectionSettingsPatchSchema = object({ enabled: boolean().optional() });
28727
28931
  var NativeObjectDetectionRuntimeStateSchema = NativeObjectDetectionStatusSchema.extend({
28728
28932
  /** Required by createRuntimeStateBridge — epoch ms of last refresh. */
28729
28933
  lastFetchedAt: number() });
@@ -28733,13 +28937,23 @@ var nativeObjectDetectionCapability = {
28733
28937
  deviceNative: true,
28734
28938
  mode: "singleton",
28735
28939
  deviceTypes: [DeviceType.Camera],
28736
- methods: { setEnabled: method(object({
28737
- deviceId: number(),
28738
- enabled: boolean()
28739
- }), _void(), {
28740
- kind: "mutation",
28741
- auth: "admin"
28742
- }) },
28940
+ methods: {
28941
+ getOptions: method(object({ deviceId: number() }), NativeObjectDetectionOptionsSchema),
28942
+ setSettings: method(object({
28943
+ deviceId: number(),
28944
+ settings: NativeObjectDetectionSettingsPatchSchema
28945
+ }), _void(), {
28946
+ kind: "mutation",
28947
+ auth: "admin"
28948
+ }),
28949
+ setEnabled: method(object({
28950
+ deviceId: number(),
28951
+ enabled: boolean()
28952
+ }), _void(), {
28953
+ kind: "mutation",
28954
+ auth: "admin"
28955
+ })
28956
+ },
28743
28957
  events: { onDetected: { data: object({
28744
28958
  deviceId: number(),
28745
28959
  detection: NativeDetectionSchema
@@ -33893,7 +34107,28 @@ var PerScopeBreakdownSchema = object({
33893
34107
  /** Total tracked objects in this scope (frame / zone / unzoned). */
33894
34108
  totalObjects: number().int().nonnegative(),
33895
34109
  /** Per-class count. Keys are macro class names (e.g. `person`, `car`). */
33896
- byClass: record(string(), number().int().nonnegative())
34110
+ byClass: record(string(), number().int().nonnegative()),
34111
+ /**
34112
+ * Of `totalObjects`, how many are STANDING — objects the census holds,
34113
+ * present but not going anywhere (a parked car, a bin, a statue).
34114
+ *
34115
+ * The operator's question about a scene has two halves and they answer
34116
+ * different things: "what is parked here" is stable for hours and must not
34117
+ * flap, while "who is walking through" is the thing an alert is about. One
34118
+ * number could only serve one of them, and `totalObjects` served the first
34119
+ * badly — a passer-by moved it and every occupancy rule saw a change.
34120
+ *
34121
+ * `standing + transient === totalObjects`, always. The total keeps its old
34122
+ * meaning exactly, so no rule written against it changes behaviour.
34123
+ *
34124
+ * ABSENT means UNKNOWN, never zero (D393): a snapshot from a node older than
34125
+ * this field cannot say, and a reader that folds absence in as 0 reports "no
34126
+ * parked objects here" about a camera whose lot is full.
34127
+ */
34128
+ standingObjects: number().int().nonnegative().optional(),
34129
+ /** Of `totalObjects`, how many are passing through. See `standingObjects` —
34130
+ * same absence rule. */
34131
+ transientObjects: number().int().nonnegative().optional()
33897
34132
  });
33898
34133
  var ZoneScopeBreakdownSchema = PerScopeBreakdownSchema.extend({
33899
34134
  zoneId: string(),
@@ -34016,6 +34251,23 @@ var HistoryPointSchema = object({
34016
34251
  * triple covers the three spatial scopes (per-zone, frame-wide,
34017
34252
  * outside-any-zone). Crossing them with `className?` gives the full
34018
34253
  * combinatorial coverage the operator UI requested.
34254
+ *
34255
+ * ## ⚠️ The three history methods are DEPRECATED
34256
+ *
34257
+ * They are served from a 60-MINUTE in-memory ring. It dies with the process,
34258
+ * so after a restart they report nothing about a night that did happen, and any
34259
+ * window past an hour is silently clamped — a caller cannot tell a clamp from
34260
+ * an empty scene. The presets in the occupancy chart existed to hide that
34261
+ * horizon rather than to answer a question.
34262
+ *
34263
+ * Use `pipelineAnalytics.readLongTermSeries({ series: 'occupancy', scope })`
34264
+ * instead. Those rows are already written for every camera, ~60 bytes per
34265
+ * (camera, scope, 5-minute bucket), kept for a year, and survive a restart.
34266
+ * Spell the scope with `occupancyScope(zoneId?, className?)` — the same
34267
+ * function the writer uses, so the two cannot drift.
34268
+ *
34269
+ * The ring stays until these three go, and it is the only thing left reading
34270
+ * it. Do not add a fourth caller.
34019
34271
  */
34020
34272
  var zoneAnalyticsCapability = {
34021
34273
  name: "zone-analytics",
@@ -38621,12 +38873,24 @@ Object.freeze({
38621
38873
  addonId: null,
38622
38874
  access: "create"
38623
38875
  },
38876
+ "nativeObjectDetection.getOptions": {
38877
+ capName: "native-object-detection",
38878
+ capScope: "device",
38879
+ addonId: null,
38880
+ access: "view"
38881
+ },
38624
38882
  "nativeObjectDetection.setEnabled": {
38625
38883
  capName: "native-object-detection",
38626
38884
  capScope: "device",
38627
38885
  addonId: null,
38628
38886
  access: "create"
38629
38887
  },
38888
+ "nativeObjectDetection.setSettings": {
38889
+ capName: "native-object-detection",
38890
+ capScope: "device",
38891
+ addonId: null,
38892
+ access: "create"
38893
+ },
38630
38894
  "navigation.getFeatures": {
38631
38895
  capName: "navigation",
38632
38896
  capScope: "device",
@@ -38891,6 +39155,12 @@ Object.freeze({
38891
39155
  addonId: null,
38892
39156
  access: "view"
38893
39157
  },
39158
+ "notificationRules.getClipRetentionAsks": {
39159
+ capName: "notification-rules",
39160
+ capScope: "system",
39161
+ addonId: null,
39162
+ access: "view"
39163
+ },
38894
39164
  "notificationRules.getConditionCatalog": {
38895
39165
  capName: "notification-rules",
38896
39166
  capScope: "system",
@@ -39401,6 +39671,12 @@ Object.freeze({
39401
39671
  addonId: null,
39402
39672
  access: "create"
39403
39673
  },
39674
+ "pipelineAnalytics.readLongTermSeries": {
39675
+ capName: "pipeline-analytics",
39676
+ capScope: "device",
39677
+ addonId: null,
39678
+ access: "view"
39679
+ },
39404
39680
  "pipelineAnalytics.rebuildObjectEmbeddings": {
39405
39681
  capName: "pipeline-analytics",
39406
39682
  capScope: "device",
@@ -40073,6 +40349,12 @@ Object.freeze({
40073
40349
  addonId: null,
40074
40350
  access: "create"
40075
40351
  },
40352
+ "pipelineRunner.requestOccupancyBurst": {
40353
+ capName: "pipeline-runner",
40354
+ capScope: "system",
40355
+ addonId: null,
40356
+ access: "create"
40357
+ },
40076
40358
  "pipelineRunner.runDetailSubtree": {
40077
40359
  capName: "pipeline-runner",
40078
40360
  capScope: "system",
@@ -42853,11 +43135,21 @@ Object.freeze({
42853
43135
  form: "single",
42854
43136
  optional: false
42855
43137
  }],
43138
+ "nativeObjectDetection.getOptions": [{
43139
+ name: "deviceId",
43140
+ form: "single",
43141
+ optional: false
43142
+ }],
42856
43143
  "nativeObjectDetection.setEnabled": [{
42857
43144
  name: "deviceId",
42858
43145
  form: "single",
42859
43146
  optional: false
42860
43147
  }],
43148
+ "nativeObjectDetection.setSettings": [{
43149
+ name: "deviceId",
43150
+ form: "single",
43151
+ optional: false
43152
+ }],
42861
43153
  "navigation.getFeatures": [{
42862
43154
  name: "deviceId",
42863
43155
  form: "single",
@@ -43207,6 +43499,11 @@ Object.freeze({
43207
43499
  form: "single",
43208
43500
  optional: false
43209
43501
  }],
43502
+ "pipelineAnalytics.readLongTermSeries": [{
43503
+ name: "deviceId",
43504
+ form: "single",
43505
+ optional: false
43506
+ }],
43210
43507
  "pipelineAnalytics.rebuildObjectEmbeddings": [{
43211
43508
  name: "deviceId",
43212
43509
  form: "single",
@@ -43397,6 +43694,11 @@ Object.freeze({
43397
43694
  form: "single",
43398
43695
  optional: false
43399
43696
  }],
43697
+ "pipelineRunner.requestOccupancyBurst": [{
43698
+ name: "deviceId",
43699
+ form: "single",
43700
+ optional: false
43701
+ }],
43400
43702
  "pipelineRunner.runDetailSubtree": [{
43401
43703
  name: "deviceId",
43402
43704
  form: "single",
package/dist/addon.mjs CHANGED
@@ -5368,7 +5368,7 @@ var ZodIssueCode = {
5368
5368
  var ZodFirstPartyTypeKind;
5369
5369
  ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
5370
5370
  //#endregion
5371
- //#region ../types/dist/sleep-DEuj7E3j.mjs
5371
+ //#region ../types/dist/sleep-BDR76Ykr.mjs
5372
5372
  /**
5373
5373
  * The audio chunk plane's byte format, and the ONE expansion from a coded
5374
5374
  * window to float samples (D455).
@@ -11558,6 +11558,21 @@ var streamSignalsCapability = {
11558
11558
  mode: "singleton",
11559
11559
  deviceTypes: Object.values(DeviceType),
11560
11560
  runtimeState: StreamSignalsStatusSchema,
11561
+ /**
11562
+ * Runtime-state durability: **session** — mirrored in RAM, never written.
11563
+ *
11564
+ * The slice holds what the DEVICE says it can emit. That is a probed fact,
11565
+ * not an operator choice: the provider re-declares it on every registration,
11566
+ * so losing it loses nothing and persisting it would freeze an answer the
11567
+ * camera is entitled to change. Measured the same day on the sibling case —
11568
+ * `native-object-detection.supportedClasses` was persisted, and a firmware
11569
+ * class the camera really detected stayed missing for the life of the row
11570
+ * because the fix could not reach it.
11571
+ *
11572
+ * See `RuntimeStateDurability`. Enforced by
11573
+ * `scripts/check-runtime-state-durability.ts`.
11574
+ */
11575
+ durability: "session",
11561
11576
  methods: {
11562
11577
  /**
11563
11578
  * What this device can emit. Empty is a valid and common answer — most
@@ -18172,6 +18187,48 @@ var NcAlarmConfigSchema = object({
18172
18187
  settings: NcAlarmSettingsSchema,
18173
18188
  coverage: array(NcAlarmModeCoverageSchema)
18174
18189
  });
18190
+ /**
18191
+ * ONE rule's demand on ONE camera's clip ring.
18192
+ *
18193
+ * A rule, not a camera: the broker takes the MAX over the asks that reach a
18194
+ * camera, so the answer stays a faithful description of the rules and the
18195
+ * bounding (the byte budget, the broker's own ceiling) stays where the cost
18196
+ * lives. A camera that appears in no ask is being told **nothing** — which is
18197
+ * a different thing from never having been told, and only the envelope
18198
+ * (`rulesLoaded`) can tell those apart.
18199
+ */
18200
+ var NcClipRetentionAskSchema = object({
18201
+ /**
18202
+ * The camera this ask is about. **Absent = every camera**, which is what a
18203
+ * rule with no `conditions.devices` means: it can fire anywhere, so it is
18204
+ * asking everywhere.
18205
+ */
18206
+ deviceId: number().int().nonnegative().optional(),
18207
+ /** Seconds of history the rule needs held for it. Never zero — a rule that
18208
+ * needs nothing produces no ask at all. */
18209
+ seconds: number().min(0).max(60),
18210
+ /** The profile the rule cuts from, when it named one. Absent = the cheapest
18211
+ * assigned, which is what the cut defaults to. */
18212
+ profile: CamProfileSchema.optional(),
18213
+ /** Who is asking — so a retention the operator did not expect names a rule. */
18214
+ ruleId: string(),
18215
+ ruleName: string(),
18216
+ /** Why this many seconds: the rule's own window, or the occupancy ceiling. */
18217
+ reason: _enum(["window", "occupancy"])
18218
+ });
18219
+ /**
18220
+ * The whole answer, with the one bit that keeps absence from reading as zero.
18221
+ *
18222
+ * `rulesLoaded` is false until the rule ledger has completed a load at least
18223
+ * once. A centre that is up but has not read its rules yet answers with an
18224
+ * empty ask list that means nothing at all — applying it would drop every
18225
+ * camera's ring to zero for the first events after a restart, which is the
18226
+ * footage this mechanism exists to keep.
18227
+ */
18228
+ var NcClipRetentionPlanSchema = object({
18229
+ rulesLoaded: boolean(),
18230
+ asks: array(NcClipRetentionAskSchema).readonly()
18231
+ });
18175
18232
  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 }), {
18176
18233
  kind: "mutation",
18177
18234
  auth: "admin",
@@ -18192,7 +18249,7 @@ method(object({}), object({ rules: array(NcRuleSchema) }), { auth: "admin" }), m
18192
18249
  }), object({ success: literal(true) }), {
18193
18250
  kind: "mutation",
18194
18251
  auth: "admin"
18195
- }), method(object({}), object({ mutedDeviceIds: array(number().int()).readonly() }), { auth: "admin" }), method(object({
18252
+ }), method(object({}), NcClipRetentionPlanSchema, { auth: "admin" }), method(object({}), object({ mutedDeviceIds: array(number().int()).readonly() }), { auth: "admin" }), method(object({
18196
18253
  deviceId: number().int(),
18197
18254
  muted: boolean()
18198
18255
  }), object({ success: literal(true) }), {
@@ -20766,6 +20823,33 @@ var RunReplayFrameProcessorResultSchema = object({ tracks: array(object({
20766
20823
  * solid is this track", cheaper than re-deriving it from a trajectory. */
20767
20824
  framesMatched: number().int()
20768
20825
  })).readonly() });
20826
+ /**
20827
+ * The long-term series a camera produces. A closed union so a typo cannot
20828
+ * invent one, and the ONE declaration of it — the addon's `AnalyticsLtsSeries`
20829
+ * is an alias of this, not a second list.
20830
+ */
20831
+ var AnalyticsLtsSeriesSchema = _enum([
20832
+ "motion",
20833
+ "audio-dbfs",
20834
+ "battery",
20835
+ "occupancy"
20836
+ ]);
20837
+ /**
20838
+ * One closed 5-minute bucket of a long-term series.
20839
+ *
20840
+ * `samples` is how many readings the bucket folded — it is the ACTIVITY for a
20841
+ * series like `motion`, and the confidence for one like `occupancy`. A bucket
20842
+ * that exists at all was measured; a bucket that is absent was not, which is a
20843
+ * different claim from zero and the reason this is a sparse series.
20844
+ */
20845
+ var LtsBucketSchema = object({
20846
+ scope: string(),
20847
+ bucketStart: number().int(),
20848
+ samples: number().int().nonnegative(),
20849
+ sum: number(),
20850
+ min: number(),
20851
+ max: number()
20852
+ });
20769
20853
  DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).readonly()), method(object({
20770
20854
  deviceId: number(),
20771
20855
  trackId: string()
@@ -20812,6 +20896,14 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
20812
20896
  kinds: array(string()).optional(),
20813
20897
  limit: number().int().min(1).max(MAX_EVENT_QUERY_LIMIT).default(DEFAULT_EVENT_QUERY_LIMIT)
20814
20898
  }), array(SensorEventSchema).readonly()), method(KeyEventQueryInput, array(KeyEventSchema).readonly()), method(KeyEventBatchQueryInput, array(KeyEventsForDeviceSchema).readonly()), method(object({
20899
+ deviceId: number(),
20900
+ series: AnalyticsLtsSeriesSchema,
20901
+ /** Omit for EVERY scope of this series in the range. */
20902
+ scope: string().optional(),
20903
+ from: number(),
20904
+ to: number(),
20905
+ limit: number().int().positive().optional()
20906
+ }), array(LtsBucketSchema).readonly()), method(object({
20815
20907
  deviceId: number(),
20816
20908
  since: number(),
20817
20909
  until: number(),
@@ -21430,6 +21522,14 @@ var MotionSourceEnum = _enum([
21430
21522
  */
21431
21523
  var MotionSourcesSchema = array(MotionSourceEnum);
21432
21524
  /**
21525
+ * Which root detectors a camera runs. Deliberately the SAME vocabulary
21526
+ * post-analysis already tags every detection with (`DetectionSource`) rather
21527
+ * than a second spelling of the same two ideas — the value an operator picks
21528
+ * here is the value that comes back on the track, the overlay and the debug
21529
+ * row.
21530
+ */
21531
+ var DetectionSourcesSchema = array(DetectionSourceSchema);
21532
+ /**
21433
21533
  * Input shape for `pipeline-runner.reportMotion` cap method. Exported
21434
21534
  * so cap-side consumers (the orchestrator forward, the runner addon's
21435
21535
  * cap implementation, tests) can reuse the type instead of redeclaring
@@ -21580,6 +21680,35 @@ var RunnerCameraConfigSchema = object({
21580
21680
  * events; the orchestrator forwards to `reportMotion`.
21581
21681
  */
21582
21682
  motionSources: MotionSourcesSchema.default(["analyzer"]),
21683
+ /**
21684
+ * WHICH root detector runs for this camera. The detection counterpart of
21685
+ * {@link motionSources}, same shape and same discipline: a per-camera list
21686
+ * of sources the system understands, vendor-agnostic, owned here.
21687
+ *
21688
+ * - `pipeline` — this runner's own root step on decoded pixels (`steps`).
21689
+ * - `onboard` — the CAMERA's own detector, admitted only when it is named
21690
+ * here. Its boxes reach post-analysis on the same
21691
+ * `PipelineInferenceResult` payload as the pipeline's, so an onboard-born
21692
+ * track gets the same tracker, the same overlay and the same detail
21693
+ * subtree (face / plate / embedding).
21694
+ *
21695
+ * `['onboard']` alone is the REPLACEMENT: this runner's root step does not
21696
+ * run, and that is where a camera with a usable onboard detector buys back
21697
+ * its share of the accelerator. It saves the root inference, not the decode
21698
+ * — the detail subtree still needs pixels to cut crops from.
21699
+ *
21700
+ * A camera whose onboard detections carry no geometry cannot serve as a root
21701
+ * step at all (there is nothing to track), and the cap that knows this says
21702
+ * so on `native-object-detection.getOptions().geometry`. On Reolink that is
21703
+ * every battery camera: the boxes ride a sub-stream a battery camera never
21704
+ * attaches, so such a camera stays on `['pipeline']` and its onboard AI is
21705
+ * worth exactly what it already is — a wake signal with a class.
21706
+ *
21707
+ * Defaults to `['pipeline']`, which is byte-for-byte today's behaviour: a
21708
+ * vendor never turns a detector on for the operator, and neither does a
21709
+ * default.
21710
+ */
21711
+ detectionSources: DetectionSourcesSchema.default(["pipeline"]),
21583
21712
  pipelineEnabled: boolean().default(true),
21584
21713
  /** Ordered tree of video steps. Absent → runner skips video detection. */
21585
21714
  steps: array(PipelineStepInputSchema).readonly().optional(),
@@ -21761,7 +21890,47 @@ var RunnerLocalMetricsSchema = object({
21761
21890
  queueDepth: number(),
21762
21891
  frameLazy: FrameLazyMetricsSchema.optional()
21763
21892
  });
21893
+ /**
21894
+ * Pipeline Runner capability — runtime detection workhorse.
21895
+ *
21896
+ * One instance per node. Receives camera assignments from
21897
+ * `addon-pipeline-orchestrator`, subscribes to the local stream-broker for
21898
+ * decoded frames, drains motion + detection queues, calls the local
21899
+ * `motion-detection` and `pipeline-executor` capabilities, and emits typed
21900
+ * `pipeline.inference-result` and `detection.motion-analysis` events on
21901
+ * the bus.
21902
+ *
21903
+ * Distinct from `pipeline-orchestrator` (the hub-side load balancer) — the
21904
+ * runner has zero knowledge of other agents, no global state, and never
21905
+ * makes assignment decisions itself.
21906
+ */
21907
+ /**
21908
+ * Why a runner declined to look at a camera out of band. Named rather than a
21909
+ * bare `false`: a camera asleep on battery (D173), one attached elsewhere, one
21910
+ * already mid-session and one already bursting are four different facts, and a
21911
+ * caller told only "no" cannot tell a protection from a bug.
21912
+ */
21913
+ var OccupancyBurstRefusalSchema = _enum([
21914
+ "not-attached",
21915
+ "battery-asleep",
21916
+ "not-watching",
21917
+ "already-bursting"
21918
+ ]);
21764
21919
  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({
21920
+ deviceId: number(),
21921
+ /** How many frames to collect. The caller sizes this against what its
21922
+ * own confirmation needs; the runner clamps it to the field's range. */
21923
+ frames: number().int().positive().optional(),
21924
+ /** Why, for the log. A burst nobody can attribute is a cost nobody can
21925
+ * defend — the periodic one at least has a timer to point at. */
21926
+ reason: string()
21927
+ }), object({
21928
+ started: boolean(),
21929
+ refusedBecause: OccupancyBurstRefusalSchema.optional()
21930
+ }), {
21931
+ auth: "admin",
21932
+ kind: "mutation"
21933
+ }), method(object({
21765
21934
  handle: FrameHandleSchema,
21766
21935
  bbox: NativeCropBboxSchema,
21767
21936
  maxWidth: number().int().positive().optional(),
@@ -28720,11 +28889,46 @@ var NativeObjectDetectionStatusSchema = object({
28720
28889
  supportedClasses: array(NativeObjectClassEnum).readonly(),
28721
28890
  /**
28722
28891
  * Whether forwarding of onboard AI detections is enabled for this device.
28723
- * Default FALSE (opt-in, cold-start) — onboard AI pushes are noisy/sparse and
28724
- * churn the tracker, so forwarding stays off until the operator enables it.
28892
+ *
28893
+ * Cold-start OFF on every camera. A vendor does not decide which detector a
28894
+ * camera runs — that is the operator's choice, and it is made where every
28895
+ * other detection choice is made. `geometry` on
28896
+ * {@link NativeObjectDetectionOptionsSchema} is how the form says what the
28897
+ * choice would buy this particular camera.
28725
28898
  */
28726
28899
  enabled: boolean()
28727
28900
  });
28901
+ /**
28902
+ * WHEN a camera's onboard detections carry geometry.
28903
+ *
28904
+ * - `boxed` — always. The provider holds a standing channel for the boxes, so
28905
+ * a detection is a trackable subject whenever the camera sees one.
28906
+ * - `while-streaming` — only while some stream of this camera is already open.
28907
+ * The boxes ride the video's own side-channel rather than a feed of their
28908
+ * own, so they cost nothing and they exist only when something is pulling.
28909
+ * On Reolink this is every BATTERY camera: a persistent second feed is real
28910
+ * radio drain, but a camera that is awake is awake precisely because
28911
+ * something is in front of it, and its stream is already being pulled.
28912
+ * - `flag-only` — never. The firmware ships the class and nothing else; the
28913
+ * pipeline needs geometry to make a subject, so such a push reaches the
28914
+ * tracker as motion and no further.
28915
+ *
28916
+ * Reported and not inferred, because the operator's question in front of the
28917
+ * picker is "what do I get", and these are three different answers (D14: the
28918
+ * derived form is only as honest as `getOptions`).
28919
+ */
28920
+ var NativeObjectGeometryEnum = _enum([
28921
+ "boxed",
28922
+ "while-streaming",
28923
+ "flag-only"
28924
+ ]);
28925
+ var NativeObjectDetectionOptionsSchema = object({
28926
+ /** Classes this firmware can detect — the same list the status reports. */
28927
+ supportedClasses: array(NativeObjectClassEnum).readonly(),
28928
+ /** What a detection from this camera carries. */
28929
+ geometry: NativeObjectGeometryEnum
28930
+ });
28931
+ var NativeObjectDetectionSettingsPatchSchema = object({ enabled: boolean().optional() });
28728
28932
  var NativeObjectDetectionRuntimeStateSchema = NativeObjectDetectionStatusSchema.extend({
28729
28933
  /** Required by createRuntimeStateBridge — epoch ms of last refresh. */
28730
28934
  lastFetchedAt: number() });
@@ -28734,13 +28938,23 @@ var nativeObjectDetectionCapability = {
28734
28938
  deviceNative: true,
28735
28939
  mode: "singleton",
28736
28940
  deviceTypes: [DeviceType.Camera],
28737
- methods: { setEnabled: method(object({
28738
- deviceId: number(),
28739
- enabled: boolean()
28740
- }), _void(), {
28741
- kind: "mutation",
28742
- auth: "admin"
28743
- }) },
28941
+ methods: {
28942
+ getOptions: method(object({ deviceId: number() }), NativeObjectDetectionOptionsSchema),
28943
+ setSettings: method(object({
28944
+ deviceId: number(),
28945
+ settings: NativeObjectDetectionSettingsPatchSchema
28946
+ }), _void(), {
28947
+ kind: "mutation",
28948
+ auth: "admin"
28949
+ }),
28950
+ setEnabled: method(object({
28951
+ deviceId: number(),
28952
+ enabled: boolean()
28953
+ }), _void(), {
28954
+ kind: "mutation",
28955
+ auth: "admin"
28956
+ })
28957
+ },
28744
28958
  events: { onDetected: { data: object({
28745
28959
  deviceId: number(),
28746
28960
  detection: NativeDetectionSchema
@@ -33894,7 +34108,28 @@ var PerScopeBreakdownSchema = object({
33894
34108
  /** Total tracked objects in this scope (frame / zone / unzoned). */
33895
34109
  totalObjects: number().int().nonnegative(),
33896
34110
  /** Per-class count. Keys are macro class names (e.g. `person`, `car`). */
33897
- byClass: record(string(), number().int().nonnegative())
34111
+ byClass: record(string(), number().int().nonnegative()),
34112
+ /**
34113
+ * Of `totalObjects`, how many are STANDING — objects the census holds,
34114
+ * present but not going anywhere (a parked car, a bin, a statue).
34115
+ *
34116
+ * The operator's question about a scene has two halves and they answer
34117
+ * different things: "what is parked here" is stable for hours and must not
34118
+ * flap, while "who is walking through" is the thing an alert is about. One
34119
+ * number could only serve one of them, and `totalObjects` served the first
34120
+ * badly — a passer-by moved it and every occupancy rule saw a change.
34121
+ *
34122
+ * `standing + transient === totalObjects`, always. The total keeps its old
34123
+ * meaning exactly, so no rule written against it changes behaviour.
34124
+ *
34125
+ * ABSENT means UNKNOWN, never zero (D393): a snapshot from a node older than
34126
+ * this field cannot say, and a reader that folds absence in as 0 reports "no
34127
+ * parked objects here" about a camera whose lot is full.
34128
+ */
34129
+ standingObjects: number().int().nonnegative().optional(),
34130
+ /** Of `totalObjects`, how many are passing through. See `standingObjects` —
34131
+ * same absence rule. */
34132
+ transientObjects: number().int().nonnegative().optional()
33898
34133
  });
33899
34134
  var ZoneScopeBreakdownSchema = PerScopeBreakdownSchema.extend({
33900
34135
  zoneId: string(),
@@ -34017,6 +34252,23 @@ var HistoryPointSchema = object({
34017
34252
  * triple covers the three spatial scopes (per-zone, frame-wide,
34018
34253
  * outside-any-zone). Crossing them with `className?` gives the full
34019
34254
  * combinatorial coverage the operator UI requested.
34255
+ *
34256
+ * ## ⚠️ The three history methods are DEPRECATED
34257
+ *
34258
+ * They are served from a 60-MINUTE in-memory ring. It dies with the process,
34259
+ * so after a restart they report nothing about a night that did happen, and any
34260
+ * window past an hour is silently clamped — a caller cannot tell a clamp from
34261
+ * an empty scene. The presets in the occupancy chart existed to hide that
34262
+ * horizon rather than to answer a question.
34263
+ *
34264
+ * Use `pipelineAnalytics.readLongTermSeries({ series: 'occupancy', scope })`
34265
+ * instead. Those rows are already written for every camera, ~60 bytes per
34266
+ * (camera, scope, 5-minute bucket), kept for a year, and survive a restart.
34267
+ * Spell the scope with `occupancyScope(zoneId?, className?)` — the same
34268
+ * function the writer uses, so the two cannot drift.
34269
+ *
34270
+ * The ring stays until these three go, and it is the only thing left reading
34271
+ * it. Do not add a fourth caller.
34020
34272
  */
34021
34273
  var zoneAnalyticsCapability = {
34022
34274
  name: "zone-analytics",
@@ -38622,12 +38874,24 @@ Object.freeze({
38622
38874
  addonId: null,
38623
38875
  access: "create"
38624
38876
  },
38877
+ "nativeObjectDetection.getOptions": {
38878
+ capName: "native-object-detection",
38879
+ capScope: "device",
38880
+ addonId: null,
38881
+ access: "view"
38882
+ },
38625
38883
  "nativeObjectDetection.setEnabled": {
38626
38884
  capName: "native-object-detection",
38627
38885
  capScope: "device",
38628
38886
  addonId: null,
38629
38887
  access: "create"
38630
38888
  },
38889
+ "nativeObjectDetection.setSettings": {
38890
+ capName: "native-object-detection",
38891
+ capScope: "device",
38892
+ addonId: null,
38893
+ access: "create"
38894
+ },
38631
38895
  "navigation.getFeatures": {
38632
38896
  capName: "navigation",
38633
38897
  capScope: "device",
@@ -38892,6 +39156,12 @@ Object.freeze({
38892
39156
  addonId: null,
38893
39157
  access: "view"
38894
39158
  },
39159
+ "notificationRules.getClipRetentionAsks": {
39160
+ capName: "notification-rules",
39161
+ capScope: "system",
39162
+ addonId: null,
39163
+ access: "view"
39164
+ },
38895
39165
  "notificationRules.getConditionCatalog": {
38896
39166
  capName: "notification-rules",
38897
39167
  capScope: "system",
@@ -39402,6 +39672,12 @@ Object.freeze({
39402
39672
  addonId: null,
39403
39673
  access: "create"
39404
39674
  },
39675
+ "pipelineAnalytics.readLongTermSeries": {
39676
+ capName: "pipeline-analytics",
39677
+ capScope: "device",
39678
+ addonId: null,
39679
+ access: "view"
39680
+ },
39405
39681
  "pipelineAnalytics.rebuildObjectEmbeddings": {
39406
39682
  capName: "pipeline-analytics",
39407
39683
  capScope: "device",
@@ -40074,6 +40350,12 @@ Object.freeze({
40074
40350
  addonId: null,
40075
40351
  access: "create"
40076
40352
  },
40353
+ "pipelineRunner.requestOccupancyBurst": {
40354
+ capName: "pipeline-runner",
40355
+ capScope: "system",
40356
+ addonId: null,
40357
+ access: "create"
40358
+ },
40077
40359
  "pipelineRunner.runDetailSubtree": {
40078
40360
  capName: "pipeline-runner",
40079
40361
  capScope: "system",
@@ -42854,11 +43136,21 @@ Object.freeze({
42854
43136
  form: "single",
42855
43137
  optional: false
42856
43138
  }],
43139
+ "nativeObjectDetection.getOptions": [{
43140
+ name: "deviceId",
43141
+ form: "single",
43142
+ optional: false
43143
+ }],
42857
43144
  "nativeObjectDetection.setEnabled": [{
42858
43145
  name: "deviceId",
42859
43146
  form: "single",
42860
43147
  optional: false
42861
43148
  }],
43149
+ "nativeObjectDetection.setSettings": [{
43150
+ name: "deviceId",
43151
+ form: "single",
43152
+ optional: false
43153
+ }],
42862
43154
  "navigation.getFeatures": [{
42863
43155
  name: "deviceId",
42864
43156
  form: "single",
@@ -43208,6 +43500,11 @@ Object.freeze({
43208
43500
  form: "single",
43209
43501
  optional: false
43210
43502
  }],
43503
+ "pipelineAnalytics.readLongTermSeries": [{
43504
+ name: "deviceId",
43505
+ form: "single",
43506
+ optional: false
43507
+ }],
43211
43508
  "pipelineAnalytics.rebuildObjectEmbeddings": [{
43212
43509
  name: "deviceId",
43213
43510
  form: "single",
@@ -43398,6 +43695,11 @@ Object.freeze({
43398
43695
  form: "single",
43399
43696
  optional: false
43400
43697
  }],
43698
+ "pipelineRunner.requestOccupancyBurst": [{
43699
+ name: "deviceId",
43700
+ form: "single",
43701
+ optional: false
43702
+ }],
43401
43703
  "pipelineRunner.runDetailSubtree": [{
43402
43704
  name: "deviceId",
43403
43705
  form: "single",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-provider-amcrest",
3
- "version": "0.2.104",
3
+ "version": "0.2.105",
4
4
  "description": "Amcrest/Dahua camera device provider addon for CamStack — Dahua CGI over HTTP(S) with digest auth (snapshot, RTSP catalog, PTZ, image/day-night config)",
5
5
  "keywords": [
6
6
  "camstack",
@@ -80,7 +80,7 @@
80
80
  "build": "vite build",
81
81
  "dev": "vite build --watch",
82
82
  "typecheck": "tsc --noEmit",
83
- "publish": "npm publish --access public"
83
+ "publish:npm": "npm publish --access public"
84
84
  },
85
85
  "peerDependencies": {
86
86
  "@camstack/types": "*",